CustomTargetingValue represents a value used for custom targeting.
Namespace
https://www.google.com/apis/ads/publisher/v202308
Field
customTargetingKeyId
xsd:long
The ID of the CustomTargetingKey for which this is the value.
id
xsd:long
The ID of the CustomTargetingValue. This value is readonly and is populated by Google.
name
xsd:string
Name of the value. This can be used for encoding . If you don't want users to be able to see
potentially sensitive targeting information in the ad tags of your site, you can encode your
key/values. For example, you can create key/value g1=abc to represent gender=female. Values can
contain up to 40 characters each. You can use alphanumeric characters and symbols other than
the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ]. Values are not data-specific;
all values are treated as string. For example, instead of using "age>=18 AND <=34", try "18-34"
Used for exact matching. For example, the targeting value car=honda will only match
to the ad request car=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=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.
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.
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.
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.
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.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-08-22 UTC."],[[["`CustomTargetingValue` objects represent values used for custom targeting, allowing publishers to define specific audience segments."],["Each `CustomTargetingValue` is associated with a `CustomTargetingKey` and has a unique ID, name, display name, match type, and status."],["The `matchType` determines how the `CustomTargetingValue` name is compared to ad requests, offering options like `EXACT`, `BROAD`, `PREFIX`, and more."],["The `status` indicates whether the value is `ACTIVE` or `INACTIVE`, controlled through `CustomTargetingService` actions."],["Values can be encoded to protect sensitive information and support alphanumeric characters and certain symbols, with limitations on length and disallowed characters."]]],[]]