type AppliedLabel (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Label that can be applied to an entity. To negate an inherited label, create
an AppliedLabel
with labelId
as the inherited label's ID and isNegated
set to true.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
labelId
|
xsd:long
The ID of a created Label.
|
isNegated
|
xsd:boolean
isNegated should be set to true to negate the effects of labelId .
|
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."],[[["\u003cp\u003eAn AppliedLabel represents a Label that can be applied to an entity in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt allows negating inherited labels by setting \u003ccode\u003eisNegated\u003c/code\u003e to true.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003elabelId\u003c/code\u003e, identifying the applied Label, and \u003ccode\u003eisNegated\u003c/code\u003e, controlling label negation.\u003c/p\u003e\n"]]],["The core content describes the `AppliedLabel` entity, used to associate a `Label` with various services like `CompanyService`, `CreativeService`, `ForecastService`, `InventoryService`, `LineItemService`, `OrderService`, `ProposalLineItemService`, and `ProposalService`. It specifies a `labelId` to identify a created label and an `isNegated` boolean field. Setting `isNegated` to `true` reverses the effect of the label, effectively negating an inherited label. The namespace for these entities is provided.\n"],null,["# type AppliedLabel (v202411)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202411/CompanyService.AppliedLabel) [CreativeService](/ad-manager/api/reference/v202411/CreativeService.AppliedLabel) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.AppliedLabel) **InventoryService** [LineItemService](/ad-manager/api/reference/v202411/LineItemService.AppliedLabel) [OrderService](/ad-manager/api/reference/v202411/OrderService.AppliedLabel) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.AppliedLabel) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.AppliedLabel) **Dependencies** \n[AdUnit](/ad-manager/api/reference/v202411/InventoryService.AdUnit) \n▼\n**AppliedLabel**\n\nRepresents a [Label](/ad-manager/api/reference/v202411/LabelService.Label) that can be applied to an entity. To negate an inherited label, create\nan `AppliedLabel` with `labelId` as the inherited label's ID and `isNegated`\nset to true.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-----------------|--------------------------------------------------------------------------------------------------|\n| ### `labelId` | ` `xsd:`long` The ID of a created [Label](/ad-manager/api/reference/v202411/LabelService.Label). |\n| ### `isNegated` | ` `xsd:`boolean` `isNegated` should be set to `true` to negate the effects of `labelId`. |"]]