REST Resource: networks.customTargetingValues
Stay organized with collections
Save and categorize content based on your preferences.
Resource: CustomTargetingValue
The CustomTargetingValue
resource.
Fields |
name |
string
Identifier. The resource name of the CustomTargetingValue . Format: networks/{networkCode}/customTargetingValues/{customTargetingValueId}
|
customTargetingKey |
string
Required. Immutable. The resource name of the CustomTargetingKey . Format: networks/{networkCode}/customTargetingKeys/{customTargetingKeyId}
|
adTagName |
string
Immutable. Name of the CustomTargetingValue . 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 strings. For example, instead of using "age>=18 AND <=34", try "18-34"
|
displayName |
string
Optional. Descriptive name for the CustomTargetingValue .
|
matchType |
enum (CustomTargetingValueMatchType )
Required. Immutable. The way in which the CustomTargetingValue.name strings will be matched.
|
status |
enum (CustomTargetingValueStatus )
Output only. Status of the CustomTargetingValue .
|
Methods |
|
API to retrieve a CustomTargetingValue object. |
|
API to retrieve a list of CustomTargetingValue objects. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[],[],null,["# REST Resource: networks.customTargetingValues\n\n- [Resource: CustomTargetingValue](#CustomTargetingValue)\n - [JSON representation](#CustomTargetingValue.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: CustomTargetingValue\n------------------------------\n\nThe `CustomTargetingValue` resource.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"customTargetingKey\": string, \"adTagName\": string, \"displayName\": string, \"matchType\": enum (/ad-manager/api/beta/reference/rest/v1/networks.customTargetingKeys.customTargetingValues#CustomTargetingValue.CustomTargetingValueMatchType), \"status\": enum (/ad-manager/api/beta/reference/rest/v1/networks.customTargetingKeys.customTargetingValues#CustomTargetingValue.CustomTargetingValueStatus) } ``` |\n\n| Fields ||\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. The resource name of the `CustomTargetingValue`. Format: `networks/{networkCode}/customTargetingValues/{customTargetingValueId}` |\n| `customTargetingKey` | `string` Required. Immutable. The resource name of the `CustomTargetingKey`. Format: `networks/{networkCode}/customTargetingKeys/{customTargetingKeyId}` |\n| `adTagName` | `string` Immutable. Name of the `CustomTargetingValue`. Values can contain up to 40 characters each. You can use alphanumeric characters and symbols other than the following: \", ', =, !, +, #, \\*, \\~, ;, \\^, (, ), \\\u003c, \\\u003e, \\[, \\]. Values are not data-specific; all values are treated as strings. For example, instead of using \"age\\\u003e=18 AND \\\u003c=34\", try \"18-34\" |\n| `displayName` | `string` Optional. Descriptive name for the `CustomTargetingValue`. |\n| `matchType` | `enum (`[CustomTargetingValueMatchType](/ad-manager/api/beta/reference/rest/v1/networks.customTargetingKeys.customTargetingValues#CustomTargetingValue.CustomTargetingValueMatchType)`)` Required. Immutable. The way in which the CustomTargetingValue.name strings will be matched. |\n| `status` | `enum (`[CustomTargetingValueStatus](/ad-manager/api/beta/reference/rest/v1/networks.customTargetingKeys.customTargetingValues#CustomTargetingValue.CustomTargetingValueStatus)`)` Output only. Status of the `CustomTargetingValue`. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| ### [get](/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues/get) | API to retrieve a `CustomTargetingValue` object. |\n| ### [list](/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues/list) | API to retrieve a list of `CustomTargetingValue` objects. |"]]