Enum CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType (0.1.0)

public enum CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType extends Enum<CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType> implements ProtocolMessageEnum

Match type of the custom targeting value.

Protobuf enum google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType

Implements

ProtocolMessageEnum

Static Fields

Name Description
BROAD

Used for lenient matching when at least one of the words in the ad request matches the targeted value. The targeting value car=honda will match to ad requests containing the word honda. So ad requests car=honda or car=honda civic or car=buy honda or car=how much does a honda cost will all have the line item delivered. This match type can not be used within an audience segment rule.

BROAD = 2;

BROAD_PREFIX

This is a combination of MatchType#BROAD and MatchType#PREFIX matching. The targeting value car=honda will match to ad requests that contain words that start with the characters in the targeted value, for example with car=civic hondas. This match type can not be used within an audience segment rule.

BROAD_PREFIX = 4;

BROAD_PREFIX_VALUE

This is a combination of MatchType#BROAD and MatchType#PREFIX matching. The targeting value car=honda will match to ad requests that contain words that start with the characters in the targeted value, for example with car=civic hondas. This match type can not be used within an audience segment rule.

BROAD_PREFIX = 4;

BROAD_VALUE

Used for lenient matching when at least one of the words in the ad request matches the targeted value. The targeting value car=honda will match to ad requests containing the word honda. So ad requests car=honda or car=honda civic or car=buy honda or car=how much does a honda cost will all have the line item delivered. This match type can not be used within an audience segment rule.

BROAD = 2;

CONTAINS

Used for 'within' matching when the string in the ad request contains the string in the targeted value. The targeting value car=honda will match with ad requests car=honda, car=I want a honda, and also with car=hondas for sale, but not with car=misspelled hond a. This match type can not be used within line item targeting.

CONTAINS = 6;

CONTAINS_VALUE

Used for 'within' matching when the string in the ad request contains the string in the targeted value. The targeting value car=honda will match with ad requests car=honda, car=I want a honda, and also with car=hondas for sale, but not with car=misspelled hond a. This match type can not be used within line item targeting.

CONTAINS = 6;

CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED

Not specified value.

CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED = 0;

CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED_VALUE

Not specified value.

CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED = 0;

EXACT

Used for exact matching. For example, the targeting value car=honda will only match to the ad request car=honda.

EXACT = 1;

EXACT_VALUE

Used for exact matching. For example, the targeting value car=honda will only match to the ad request car=honda.

EXACT = 1;

PREFIX

Used for 'starts with' matching when the first few characters in the ad request match all of the characters in the targeted value. The targeting value car=honda will match to ad requests car=honda or car=hondas for sale but not to car=I want a honda.

PREFIX = 3;

PREFIX_VALUE

Used for 'starts with' matching when the first few characters in the ad request match all of the characters in the targeted value. The targeting value car=honda will match to ad requests car=honda or car=hondas for sale but not to car=I want a honda.

PREFIX = 3;

SUFFIX

Used for 'ends with' matching when the last characters in the ad request match all of the characters in the targeted value. The targeting value car=honda will match with ad requests car=honda or car=I want a honda but not to car=hondas for sale. This match type can not be used within line item targeting.

SUFFIX = 5;

SUFFIX_VALUE

Used for 'ends with' matching when the last characters in the ad request match all of the characters in the targeted value. The targeting value car=honda will match with ad requests car=honda or car=I want a honda but not to car=hondas for sale. This match type can not be used within line item targeting.

SUFFIX = 5;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()