type CustomFieldOption (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CustomFieldService
An option represents a permitted value for a custom field that has a CustomField.dataType
of CustomFieldDataType.DROP_DOWN.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
id
|
xsd:long
Unique ID of this option. This value is readonly and is assigned by Google.
|
customFieldId
|
xsd:long
The id of the custom field this option belongs to.
|
displayName
|
xsd:string
The display name of this option.
|
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-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eA CustomFieldOption represents a value for a custom field with a drop-down data type.\u003c/p\u003e\n"],["\u003cp\u003eEach option has a unique ID, the ID of the associated custom field, and a display name.\u003c/p\u003e\n"],["\u003cp\u003eThe ID of a CustomFieldOption is read-only and assigned by Google.\u003c/p\u003e\n"]]],["The `CustomFieldService` manages `DropDownCustomField` options. Key actions include `createCustomFieldOptions()`, `getCustomFieldOption()`, and `updateCustomFieldOptions()`. A `CustomFieldOption` represents a permitted value for a `DROP_DOWN` type custom field. Each option has a unique `id` assigned by Google, a `customFieldId` linking it to the parent field, and a `displayName`. This functionality allows defining and manipulating allowed values for custom fields.\n"],null,["# type CustomFieldOption (v202408)\n\n**Service** \n**CustomFieldService** **Dependencies** \n[DropDownCustomField](/ad-manager/api/reference/v202408/CustomFieldService.DropDownCustomField) [createCustomFieldOptions()](/ad-manager/api/reference/v202408/CustomFieldService#createCustomFieldOptions) [getCustomFieldOption()](/ad-manager/api/reference/v202408/CustomFieldService#getCustomFieldOption) [updateCustomFieldOptions()](/ad-manager/api/reference/v202408/CustomFieldService#updateCustomFieldOptions) \n▼\n**CustomFieldOption**\n\nAn option represents a permitted value for a custom field that has a [CustomField.dataType](/ad-manager/api/reference/v202408/CustomFieldService.CustomField#dataType)\nof [CustomFieldDataType.DROP_DOWN](/ad-manager/api/reference/v202408/CustomFieldService.CustomFieldDataType#DROP_DOWN).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---------------------|-------------------------------------------------------------------------------------------|\n| ### `id` | ` `xsd:`long` Unique ID of this option. This value is readonly and is assigned by Google. |\n| ### `customFieldId` | ` `xsd:`long` The id of the custom field this option belongs to. |\n| ### `displayName` | ` `xsd:`string` The display name of this option. |"]]