enum LabelError.Reason (v202502)

  • LabelError.Reason lists the possible reasons for errors related to labels in the Ad Manager API.

  • Reasons for LabelError include using an invalid prefix, having unsupported characters in the label name, or encountering an unknown error.

  • The INVALID_PREFIX reason indicates a user-created label started with a reserved Google system prefix.

  • The NAME_INVALID_CHARS reason means the Label.name field contains invalid characters.

  • The UNKNOWN reason is returned when the actual error value is not available in the API version used.

The reasons for the target error.


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