enum LabelEntityAssociationError.Reason (v202508)

  • This document outlines the possible reasons for a LabelEntityAssociationError across various Ad Manager services.

  • Reasons for the error include duplicate label associations, applying labels to unsupported entity types, inability to negate labels for certain entities, and attempting to both apply and negate the same label on an entity.

  • The UNKNOWN reason is used when the actual error value is not available in the requested API version.

The reasons for the target error.


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