- [Resource: CustomTargetingValue](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues#CustomTargetingValue)
  - [JSON representation](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues#CustomTargetingValue.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues#METHODS_SUMMARY)

## Resource: CustomTargetingValue

The `CustomTargetingValue` resource.

| JSON representation |
|---|
| ``` { "name": string, "customTargetingKey": string, "adTagName": string, "displayName": string, "matchType": enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingKeys.customTargetingValues#CustomTargetingValue.CustomTargetingValueMatchType`), "status": enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingKeys.customTargetingValues#CustomTargetingValue.CustomTargetingValueStatus`) } ``` |

| 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 (`https://developers.google.com/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. |
| `status` | ``enum (`https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingKeys.customTargetingValues#CustomTargetingValue.CustomTargetingValueStatus`)`` Output only. Status of the `CustomTargetingValue`. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues/batchActivate` | Batch activates `CustomTargetingValue` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues/batchCreate` | Creates `CustomTargetingValue` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues/batchDeactivate` | Deactivates a list of `CustomTargetingValue` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues/batchUpdate` | Batch updates `CustomTargetingValue` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues/create` | Creates a `CustomTargetingValue` object. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues/get` | Retrieves a `CustomTargetingValue` object. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues/list` | Lists `CustomTargetingValue` objects. |
| ### `https://developers.google.com/ad-manager/api/beta/reference/rest/v1/networks.customTargetingValues/patch` | Updates a `CustomTargetingValue` object. |