enum CustomFieldError.Reason (v202508)

  • CustomFieldError.Reason indicates the reasons for a target error within the CustomFieldService.

  • INVALID_CUSTOM_FIELD_FOR_OPTION occurs when trying to create a CustomFieldOption for a CustomField that is not of the DROPDOWN data type.

  • UNKNOWN is the reason returned when the actual error value is not available in the requested API version.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202508
Enumeration Description
INVALID_CUSTOM_FIELD_FOR_OPTION An attempt was made to create a CustomFieldOption for a CustomField that does not have CustomFieldDataType.DROPDOWN.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.