Reference documentation and code samples for the Google Ads Ad Manager V1 Client class CustomTargetingValueMatchType.
Match type of the custom targeting value.
Protobuf type google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType
Namespace
Google \ Ads \ AdManager \ V1 \ CustomTargetingValueMatchTypeEnum
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED
Value: 0
Not specified value.
Generated from protobuf enum CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED = 0;
EXACT
Value: 1
Used for exact matching. For example, the targeting value car=honda will
only match to the ad request car=honda.
Generated from protobuf enum EXACT = 1;
BROAD
Value: 2
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.
Generated from protobuf enum BROAD = 2;
PREFIX
Value: 3
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.
Generated from protobuf enum PREFIX = 3;
BROAD_PREFIX
Value: 4
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.
Generated from protobuf enum BROAD_PREFIX = 4;
SUFFIX
Value: 5
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.
Generated from protobuf enum SUFFIX = 5;
CONTAINS
Value: 6
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Ads Ad Manager V1 Client - Class CustomTargetingValueMatchType (0.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.1 (latest)](/php/docs/reference/googleads/ad-manager/latest/V1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType)\n- [0.1.0](/php/docs/reference/googleads/ad-manager/0.1.0/V1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType) \nReference documentation and code samples for the Google Ads Ad Manager V1 Client class CustomTargetingValueMatchType.\n\nMatch type of the custom targeting value.\n\nProtobuf type `google.ads.admanager.v1.CustomTargetingValueMatchTypeEnum.CustomTargetingValueMatchType`\n\nNamespace\n---------\n\nGoogle \\\\ Ads \\\\ AdManager \\\\ V1 \\\\ CustomTargetingValueMatchTypeEnum\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED\n\n Value: 0\n\nNot specified value.\n\nGenerated from protobuf enum `CUSTOM_TARGETING_VALUE_MATCH_TYPE_UNSPECIFIED = 0;`\n\n### EXACT\n\n Value: 1\n\nUsed for exact matching. For example, the targeting value car=honda will\nonly match to the ad request car=honda.\n\nGenerated from protobuf enum `EXACT = 1;`\n\n### BROAD\n\n Value: 2\n\nUsed for lenient matching when at least one of the words in the ad\nrequest matches the targeted value. The targeting value car=honda will\nmatch to ad requests containing the word honda. So ad requests car=honda\nor car=honda civic or car=buy honda or car=how much does a honda cost\nwill all have the line item delivered.\n\nThis match type can not be used within an audience segment rule.\n\nGenerated from protobuf enum `BROAD = 2;`\n\n### PREFIX\n\n Value: 3\n\nUsed for 'starts with' matching when the first few characters in the ad\nrequest match all of the characters in the targeted value. The targeting\nvalue car=honda will match to ad requests car=honda or car=hondas for\nsale but not to car=I want a honda.\n\nGenerated from protobuf enum `PREFIX = 3;`\n\n### BROAD_PREFIX\n\n Value: 4\n\nThis is a combination of MatchType#BROAD and MatchType#PREFIX matching.\n\nThe targeting value car=honda will match to ad requests that contain\nwords that start with the characters in the targeted value, for example\nwith car=civic hondas.\nThis match type can not be used within an audience segment rule.\n\nGenerated from protobuf enum `BROAD_PREFIX = 4;`\n\n### SUFFIX\n\n Value: 5\n\nUsed for 'ends with' matching when the last characters in the ad request\nmatch all of the characters in the targeted value. The targeting value\ncar=honda will match with ad requests car=honda or car=I want a honda but\nnot to car=hondas for sale.\n\nThis match type can not be used within line item targeting.\n\nGenerated from protobuf enum `SUFFIX = 5;`\n\n### CONTAINS\n\n Value: 6\n\nUsed for 'within' matching when the string in the ad request contains the\nstring in the targeted value. The targeting value car=honda will match\nwith ad requests car=honda, car=I want a honda, and also with car=hondas\nfor sale, but not with car=misspelled hond a. This match type can not be\nused within line item targeting.\n\nGenerated from protobuf enum `CONTAINS = 6;`"]]