enum LabelError.Reason (v202411)

  • LabelError.Reason lists possible reasons for errors related to labels in the CreativeWrapperService and LabelService.

  • Reasons include labels starting with an invalid prefix, label names containing unsupported characters, and an unknown error.

  • The UNKNOWN reason indicates the actual error value is not exposed in the current API version.

The reasons for the target error.


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