- Resource: CustomTargetingKey
- CustomTargetingKeyType
- CustomTargetingKeyStatus
- CustomTargetingKeyReportableType
- Methods
Resource: CustomTargetingKey
The CustomTargetingKey
resource.
JSON representation |
---|
{ "name": string, "customTargetingKeyId": string, "adTagName": string, "displayName": string, "type": enum ( |
Fields | |
---|---|
name |
Identifier. The resource name of the |
customTargetingKeyId |
Output only. |
adTagName |
Immutable. 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. |
displayName |
Optional. Descriptive name for the |
type |
Required. Indicates whether users will select from predefined values or create new targeting values, while specifying targeting criteria for a line item. |
status |
Output only. Status of the |
reportableType |
Required. Reportable state of the |
CustomTargetingKeyType
Type of the custom targeting key.
Enums | |
---|---|
CUSTOM_TARGETING_KEY_TYPE_UNSPECIFIED |
Not specified value. |
PREDEFINED |
Key with a fixed set of values. |
FREEFORM |
Key without a fixed set of values |
CustomTargetingKeyStatus
Status of the custom targeting key.
Enums | |
---|---|
CUSTOM_TARGETING_KEY_STATUS_UNSPECIFIED |
Not specified value. |
ACTIVE |
Custom targeting key is active. |
INACTIVE |
Custom targeting key is inactive. |
CustomTargetingKeyReportableType
Reportable type of the custom targeting key.
Enums | |
---|---|
CUSTOM_TARGETING_KEY_REPORTABLE_TYPE_UNSPECIFIED |
Not specified value. |
OFF |
Not available for reporting in the Ad Manager query tool. |
ON |
Available for reporting in the Ad Manager query tool. |
CUSTOM_DIMENSION |
Custom dimension available for reporting in the AdManager query tool. |
Methods |
|
---|---|
|
API to retrieve a CustomTargetingKey object. |
|
API to retrieve a list of CustomTargetingKey objects. |