enum LabelEntityAssociationError.Reason (v202411)

  • This documentation outlines the LabelEntityAssociationError in Google Ad Manager, which occurs when there are issues associating labels with entities.

  • It explains the different reasons for this error, such as duplicate associations, invalid associations based on entity type, and limitations on label negation.

  • The documentation provides a namespace for the error and an enumeration of potential error reasons with their descriptions.

  • It covers the specific error reasons, including when a label is already attached, when a label is used with an unsupported entity type, when negation is applied incorrectly, or when the same label is applied and negated to the same entity.

  • The LabelEntityAssociationError affects various services in Google Ad Manager, including CompanyService, CreativeService, CreativeSetService, and others listed in the documentation.

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.