type DropDownCustomFieldValue (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
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\u003eDropDownCustomFieldValue is a type of CustomFieldValue used for custom fields with a drop-down data type.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from BaseCustomFieldValue and includes a customFieldOptionId to specify the selected option from the drop-down.\u003c/p\u003e\n"],["\u003cp\u003eThis object is used within various services like ForecastService, LineItemService, OrderService, ProposalLineItemService, and ProposalService.\u003c/p\u003e\n"],["\u003cp\u003eIt's crucial to provide both customFieldId (inherited) and customFieldOptionId to correctly associate the value with the custom field and its selected option.\u003c/p\u003e\n"]]],["The content details `DropDownCustomFieldValue`, a specific type of `CustomFieldValue` used with `CustomField` that have a `DROP_DOWN` data type. Key information includes: it inherits from `BaseCustomFieldValue`; requires a `customFieldId`; and has a `customFieldOptionId` representing the ID of the selected `CustomFieldOption`. This value is used in various services: `ForecastService`, `LineItemService`, `OrderService`, `ProposalLineItemService`, and `ProposalService`. The namespace is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type DropDownCustomFieldValue (v202411)\n\n**Service** \n**CreativeService** [ForecastService](/ad-manager/api/reference/v202411/ForecastService.DropDownCustomFieldValue) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.DropDownCustomFieldValue) [OrderService](/ad-manager/api/reference/v202411/OrderService.DropDownCustomFieldValue) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.DropDownCustomFieldValue) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.DropDownCustomFieldValue) **Inheritance** \n[BaseCustomFieldValue](/ad-manager/api/reference/v202411/CreativeService.BaseCustomFieldValue) \n▼\n[CustomFieldValue](/ad-manager/api/reference/v202411/CreativeService.CustomFieldValue) **DropDownCustomFieldValue**\n\nA [CustomFieldValue](/ad-manager/api/reference/v202411/CreativeService.CustomFieldValue) for a [CustomField](/ad-manager/api/reference/v202411/CustomFieldService.CustomField) that has a [CustomField.dataType](/ad-manager/api/reference/v202411/CustomFieldService.CustomField#dataType) of\n[CustomFieldDataType.DROP_DOWN](/ad-manager/api/reference/v202411/CustomFieldService.CustomFieldDataType#DROP_DOWN)\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|---------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`BaseCustomFieldValue` (inherited)** ||\n| ### `customFieldId` | ` `xsd:`long` Id of the `CustomField` to which this value belongs. This attribute is required. |\n| **`DropDownCustomFieldValue`** ||\n| ### `customFieldOptionId` | ` `xsd:`long` The [ID](/ad-manager/api/reference/v202411/CustomFieldService.CustomFieldOption#id) of the [CustomFieldOption](/ad-manager/api/reference/v202411/CustomFieldService.CustomFieldOption) for this value. |"]]