enum LabelError.Reason (v202508)

  • CreativeWrapperService and LabelService have dependencies related to LabelError.

  • LabelError.Reason provides reasons for errors related to labels.

  • Common reasons for LabelError include invalid prefixes, invalid characters in the label name, and unknown errors.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202508
Enumeration Description
INVALID_PREFIX A user created label cannot begin with the Google internal system label prefix.
NAME_INVALID_CHARS Label.name contains unsupported or reserved characters.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.