type LabelError (v202508)

  • The CreativeWrapperService is associated with LabelService and inherits from ApiError.

  • This service includes various errors related to API versions, authentication, collection sizes, common issues, and creative wrappers, among others.

  • LabelError, specific to labels, is part of the inheritance chain and includes reasons such as invalid prefixes and unsupported characters in label names.

  • The namespace for this service is https://www.google.com/apis/ads/publisher/v202508.

  • The LabelError includes a reason field, an enum detailing specific label-related errors like INVALID_PREFIX and NAME_INVALID_CHARS.

Errors specific to labels.


Namespace
https://www.google.com/apis/ads/publisher/v202508

Field

ApiError (inherited)

fieldPath

xsd:string

The OGNL field path to identify cause of error.

fieldPathElements

FieldPathElement[]

A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.

trigger

xsd:string

The data that caused the error.

errorString

xsd:string

A simple string representation of the error and reason.

LabelError

reason

LabelError.Reason

The error reason represented by an enum.


Enumerations
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.