enum LabelError.Reason (v202508)

  • LabelError.Reason lists the possible reasons for a target error in the LabelService.

  • INVALID_PREFIX indicates a user-created label starts with an internal Google system label prefix.

  • NAME_INVALID_CHARS means the label name contains unsupported or reserved characters.

  • UNKNOWN is returned when the actual error value is not exposed by the requested API version.

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.