- [JSON representation](https://developers.google.com/ad-manager/api/reference/rest/v1/CustomFieldValue.md.txt#SCHEMA_REPRESENTATION)
- [Value](https://developers.google.com/ad-manager/api/reference/rest/v1/CustomFieldValue.md.txt#Value)
  - [JSON representation](https://developers.google.com/ad-manager/api/reference/rest/v1/CustomFieldValue.md.txt#Value.SCHEMA_REPRESENTATION)

A value for a CustomField on a resource.

| JSON representation |
|---|
| ``` { "customField": string, "value": { object (`Value`) } } ``` |

| Fields ||
|---|---|
| `customField` | `string` Required. The custom field for which this is a value. Format: "networks/{networkCode}/customFields/{customFieldId}" |
| `value` | ``object (`Value`)`` Required. A typed value representation of the value. |

## Value

Represent custom field value type.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "dropdownValue": string, "stringValue": string, "numberValue": number, "toggleValue": boolean // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| The value of this field. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `dropdownValue` | `string (int64 format)` The customFieldOptionId, if the `CustomFieldDataType` is \[DROPDOWN\]\[CustomFieldDataTypeEnum.CustomFieldDataType.DROPDOWN\]. |
| `stringValue` | `string` The value, if the `CustomFieldDataType` is `STRING`. |
| `numberValue` | `number` The value, if the `CustomFieldDataType` is `NUMBER`. |
| `toggleValue` | `boolean` The value, if the `CustomFieldDataType` is `TOGGLE`. |
| End of mutually exclusive fields. ||