type LabelEntityAssociationError (v202508)

  • LabelEntityAssociationError is an error type specific to issues when creating label entity associations.

  • This error inherits from ApiError and includes fields such as fieldPath, fieldPathElements, trigger, and errorString.

  • Key reasons for this error include duplicate associations, invalid associations, negation not being allowed for the entity type, and the same label being applied and negated to the same entity.

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

  • Several services, such as CompanyService, CreativeService, and OrderService, can encounter LabelEntityAssociationError.

Errors specific to creating label entity associations.


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.

LabelEntityAssociationError

reason

LabelEntityAssociationError...

The error reason represented by an enum.


Enumerations
DUPLICATE_ASSOCIATION
The label has already been attached to the entity.
INVALID_ASSOCIATION
A label is being applied to an entity that does not support that entity type.
NEGATION_NOT_ALLOWED
Label negation cannot be applied to the entity type.
DUPLICATE_ASSOCIATION_WITH_NEGATION
The same label is being applied and negated to the same entity.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.