AI-generated Key Takeaways
- 
          CustomTargetingValue.MatchType defines how CustomTargetingValue.name strings are matched with ad requests. 
- 
          There are several match types including EXACT, BROAD, PREFIX, BROAD_PREFIX, SUFFIX, and CONTAINS, each with distinct matching behaviors. 
- 
          Some match types, like BROAD, BROAD_PREFIX, SUFFIX, and CONTAINS, have limitations on where they can be used. 
- 
          The UNKNOWN match type is used when the actual value is not exposed by the requested API version. 
Represents the ways in which CustomTargetingValue.name strings will be matched with ad requests.
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202502
| Enumeration | Description | 
|---|---|
| EXACT | Used for exact matching. For example, the targeting value car=hondawill only match
                to the ad requestcar=honda. | 
| BROAD | Used for lenient matching when at least one of the words in the ad
request matches the targeted value. The targeting value car=hondawill match to ad
requests containing the wordhonda. So ad requestscar=hondaorcar=honda
civicorcar=buy
hondaorcar=how much does a
honda costwill all have the line item delivered.This match type can not be used within an audience segment rule. | 
| 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=hondawill match to ad
                requestscar=hondaorcar=hondas for salebut not tocar=I want a
                honda. | 
| BROAD_PREFIX | This is a combination of MatchType#BROADandMatchType#PREFIXmatching. The targeting valuecar=hondawill match to ad
requests that contain words that start with the characters in the
targeted value, for example withcar=civic
hondas.This match type can not be used within an audience segment rule. | 
| 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=hondawill
match with ad requestscar=hondaorcar=I want a hondabut not tocar=hondas for sale.This match type can not be used within line item targeting. | 
| CONTAINS | Used for 'within' matching when the string in the ad request
contains the string in the targeted value. The targeting value car=hondawill match with ad
requestscar=honda,car=I want a honda, and also
withcar=hondas for sale, but
not withcar=misspelled hond a.This match type can not be used within line item targeting. | 
| UNKNOWN | The value returned if the actual value is not exposed by the requested API version. |