enum CustomFieldValueError.Reason (v202411)

  • CustomFieldValueError.Reason describes the reasons for a target error related to custom fields in Google Ad Manager.

  • This error can arise due to issues such as referencing a non-existent or inactive custom field, or using an incorrect custom field option.

  • It can also occur when attempting to associate a custom field value with an incompatible entity type.

  • The namespace for this error is https://www.google.com/apis/ads/publisher/v202411.

  • If the specific reason for the error is not exposed in the current API version, the UNKNOWN reason is returned.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
CUSTOM_FIELD_NOT_FOUND An attempt was made to modify or create a CustomFieldValue for a CustomField that does not exist.
CUSTOM_FIELD_INACTIVE An attempt was made to create a new value for a custom field that is inactive.
CUSTOM_FIELD_OPTION_NOT_FOUND An attempt was made to modify or create a CustomFieldValue corresponding to a CustomFieldOption that could not be found.
INVALID_ENTITY_TYPE An attempt was made to modify or create a CustomFieldValue with an association to an entity of the wrong type for its field.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.