type LabelEntityAssociationError (v202411)

  • The ForecastService API allows for forecasting inventory availability and potential revenue.

  • This reference documents the LabelEntityAssociationError specific to the ForecastService.

  • This error type provides details when issues arise during the association of labels with entities within the ForecastService.

  • LabelEntityAssociationError includes reasons like duplicate associations, invalid associations, and negation restrictions.

  • The error details include a reason code, field path, and trigger data to assist in troubleshooting.

Errors specific to creating label entity associations.


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

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.