type DropDownCustomFieldValue (v202411)

  • DropDownCustomFieldValue is a type of CustomFieldValue used for custom fields with a drop-down data type.

  • It inherits from BaseCustomFieldValue and includes a customFieldOptionId to specify the selected option from the drop-down.

  • This object is used within various services like ForecastService, LineItemService, OrderService, ProposalLineItemService, and ProposalService.

  • It's crucial to provide both customFieldId (inherited) and customFieldOptionId to correctly associate the value with the custom field and its selected option.

A CustomFieldValue for a CustomField that has a CustomField.dataType of CustomFieldDataType.DROP_DOWN


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

BaseCustomFieldValue (inherited)

customFieldId

xsd:long

Id of the CustomField to which this value belongs. This attribute is required.

DropDownCustomFieldValue

customFieldOptionId

xsd:long

The ID of the CustomFieldOption for this value.