enum LabelEntityAssociationError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The document defines the `LabelEntityAssociationError` and its reasons within the Google Ad Manager API. This error relates to label associations across various services like Company, Creative, Forecast, Inventory, LineItem, Order, and Proposal. Possible reasons include `DUPLICATE_ASSOCIATION`, where a label is already attached; `INVALID_ASSOCIATION`, where the entity type doesn't support the label; `NEGATION_NOT_ALLOWED`; `DUPLICATE_ASSOCIATION_WITH_NEGATION`; and `UNKNOWN` for unexposed values. These errors are grouped under namespace: `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum LabelEntityAssociationError.Reason (v202502)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202502/CompanyService.LabelEntityAssociationError.Reason) [CreativeService](/ad-manager/api/reference/v202502/CreativeService.LabelEntityAssociationError.Reason) [CreativeSetService](/ad-manager/api/reference/v202502/CreativeSetService.LabelEntityAssociationError.Reason) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.LabelEntityAssociationError.Reason) [InventoryService](/ad-manager/api/reference/v202502/InventoryService.LabelEntityAssociationError.Reason) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202502/LineItemCreativeAssociationService.LabelEntityAssociationError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.LabelEntityAssociationError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.LabelEntityAssociationError.Reason) [OrderService](/ad-manager/api/reference/v202502/OrderService.LabelEntityAssociationError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.LabelEntityAssociationError.Reason) **ProposalService** [SuggestedAdUnitService](/ad-manager/api/reference/v202502/SuggestedAdUnitService.LabelEntityAssociationError.Reason) **Dependencies** \n[LabelEntityAssociationError](/ad-manager/api/reference/v202502/ProposalService.LabelEntityAssociationError) \n▼\n**LabelEntityAssociationError...**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|---------------------------------------|-------------------------------------------------------------------------------------|\n| `DUPLICATE_ASSOCIATION` | The label has already been attached to the entity. |\n| `INVALID_ASSOCIATION` | A label is being applied to an entity that does not support that entity type. |\n| `NEGATION_NOT_ALLOWED` | Label negation cannot be applied to the entity type. |\n| `DUPLICATE_ASSOCIATION_WITH_NEGATION` | The same label is being applied and negated to the same entity. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]