Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

The AdWords API will sunset on April 27, 2022. Migrate to the Google Ads API to take advantage of the latest Google Ads features.

type LabelServiceError (v201809)

Errors for LabelService.


Namespace
https://adwords.google.com/api/adwords/mcm/v201809

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.

ApiError.Type

xsd:string

Indicates that this instance is a subtype of ApiError. Although this field is returned in the response, it is ignored on input and cannot be selected. Specify xsi:type instead.

LabelServiceError

reason

LabelServiceError.Reason


Enumerations
EMPTY_LABEL_NAME
The label name is empty.
LABEL_NAME_TOO_LONG
The label name is longer than max allowed size.
DUPLICATE_LABEL_NAME
The customer already has an active label with the same name.
RESERVED_LABEL_NAME
The label name is reserved by the system.
CANNOT_BE_DELETED
The label cannot be deleted
TOO_MANY_LABELS
A customer cannot own more than 200 labels.
INVALID_LABEL_ID
Label id was not found.
CUSTOMER_CANNOT_CREATE_LABELS
This customer cannot create labels. Only manager customers may create labels.
SERVER_CLIENT_VERSION_MISMATCH
An unknown enum value has been given for this error reason.