CustomTargetingKey represents a key used for custom targeting.
Namespace
https://www.google.com/apis/ads/publisher/v202411
Field
id
xsd:long
The ID of the CustomTargetingKey. This value is readonly and is populated by Google.
name
xsd:string
Name of the key. Keys can contain up to 10 characters each. You can use alphanumeric characters
and symbols other than the following: ", ', =, !, +, #, *, ~, ;, ^, (, ), <, >, [, ], the white
space character.
[[["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 2024-11-19 UTC."],[[["`CustomTargetingKey` objects represent keys used for custom targeting, allowing for the creation of specific criteria to target ads."],["These keys have properties like `name`, `displayName`, and `type` which determine their functionality and how they are used in targeting."],["`CustomTargetingKey` can be either `PREDEFINED`, where targeting values are set in advance, or `FREEFORM`, where values are added when creating line items."],["The `status` property, which can be `ACTIVE` or `INACTIVE`, indicates whether the key is currently in use for targeting."],["`reportableType` determines whether a `CustomTargetingKey` is available for reporting in the Ad Manager query tool, with options including `ON`, `OFF`, and `CUSTOM_DIMENSION`."]]],["The `CustomTargetingService` manages `CustomTargetingKey` objects, which are used for ad targeting. Key actions include creating and updating these keys via `createCustomTargetingKeys()` and `updateCustomTargetingKeys()`. Each key has properties like `id`, `name`, `displayName`, `type` (PREDEFINED/FREEFORM), `status` (ACTIVE/INACTIVE/UNKNOWN), and `reportableType` (UNKNOWN/ON/OFF/CUSTOM_DIMENSION). `performCustomTargetingKeyAction` can activate or deactivate a key. Keys can be predefined or allow freeform value creation.\n"]]