enum LabelEntityAssociationError.Reason (v202411)

  • LabelEntityAssociationError outlines potential errors when associating labels with entities in Google Ad Manager.

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

  • This error applies to various services, including ProposalLineItemService and others listed, and it's part of the v202411 API version.

  • Each error reason is represented by a specific enumeration value, like DUPLICATE_ASSOCIATION or INVALID_ASSOCIATION, providing detailed error information.

  • Developers using the Ad Manager API should refer to these error reasons to handle label association issues and ensure proper functionality.

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.