enum LabelError.Reason (v202505)

  • LabelError.Reason provides reasons for errors related to labels within the CreativeWrapperService.

  • Error reasons include INVALID_PREFIX for user-created labels starting with a reserved prefix, NAME_INVALID_CHARS for invalid characters in the label name, and UNKNOWN for unexposed values in the requested API version.

  • The enumeration values and their descriptions help understand specific label validation issues.

The reasons for the target error.


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