enum CustomFieldError.Reason (v202502)

  • CustomFieldError.Reason indicates the reasons for an error related to the CustomFieldService.

  • INVALID_CUSTOM_FIELD_FOR_OPTION occurs when attempting to create a CustomFieldOption for a CustomField that isn't a dropdown type.

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

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202502
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.