enum LabelEntityAssociationError.Reason (v202411)

  • LabelEntityAssociationError indicates why a label couldn't be associated with an entity in Google Ad Manager.

  • Reasons include duplicate associations, invalid associations based on entity type, and issues with label negation.

  • It is part of the Google Ad Manager API and is used across various services like CreativeService, ForecastService, and OrderService.

  • The error reasons are represented by enumerations such as DUPLICATE_ASSOCIATION, INVALID_ASSOCIATION, and NEGATION_NOT_ALLOWED.

  • This error helps developers understand and resolve issues when associating labels with entities in their Ad Manager workflows.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
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.