enum LabelEntityAssociationError.Reason (v202411)

  • The content lists various Google Ad Manager services related to label and entity associations.

  • The LabelEntityAssociationError provides reasons for errors when associating labels with entities in these services.

  • Common error reasons include duplicate associations, invalid associations, negation not being allowed, and duplicate associations with negation.

  • An "UNKNOWN" error reason is included for values not exposed by the requested API version.

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.