enum CustomFieldError.Reason (v202505)

  • CustomFieldError.Reason lists potential reasons for errors related to the CustomFieldService.

  • An error occurs if you try to create a CustomFieldOption for a CustomField that is not of the DROPDOWN data type.

  • The UNKNOWN value indicates an error reason not exposed in the requested API version.

The reasons for the target error.


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