type DropDownCustomFieldValue (v202408)
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 represents a value for a custom field with a drop-down data type.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from CustomFieldValue and BaseCustomFieldValue, providing essential properties.\u003c/p\u003e\n"],["\u003cp\u003eThis object includes customFieldId (inherited) and customFieldOptionId for identifying the custom field and selected option.\u003c/p\u003e\n"],["\u003cp\u003eIt's used within various Google Ad Manager services like CreativeService, ForecastService, etc.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this object is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The content defines `DropDownCustomFieldValue`, a type of `CustomFieldValue` used with `CustomField` when its data type is `DROP_DOWN`. Key information includes: `customFieldId`, which is a required long representing the `CustomField`'s ID, and `customFieldOptionId`, a long representing the `CustomFieldOption`'s ID. The namespace is provided for reference and it shows which services are included: `CreativeService`, `ForecastService`, `LineItemService`, `OrderService`, `ProposalLineItemService` and `ProposalService`.\n"],null,["# type DropDownCustomFieldValue (v202408)\n\n**Service** \n[CreativeService](/ad-manager/api/reference/v202408/CreativeService.DropDownCustomFieldValue) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.DropDownCustomFieldValue) **LineItemService** [OrderService](/ad-manager/api/reference/v202408/OrderService.DropDownCustomFieldValue) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.DropDownCustomFieldValue) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.DropDownCustomFieldValue) **Inheritance** \n[BaseCustomFieldValue](/ad-manager/api/reference/v202408/LineItemService.BaseCustomFieldValue) \n▼\n[CustomFieldValue](/ad-manager/api/reference/v202408/LineItemService.CustomFieldValue) **DropDownCustomFieldValue**\n\nA [CustomFieldValue](/ad-manager/api/reference/v202408/LineItemService.CustomFieldValue) for a [CustomField](/ad-manager/api/reference/v202408/CustomFieldService.CustomField) that has a [CustomField.dataType](/ad-manager/api/reference/v202408/CustomFieldService.CustomField#dataType) of\n[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| **`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/v202408/CustomFieldService.CustomFieldOption#id) of the [CustomFieldOption](/ad-manager/api/reference/v202408/CustomFieldService.CustomFieldOption) for this value. |"]]