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\u003eAppliedLabel represents a label that can be applied to an entity in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for negating inherited labels by setting the \u003ccode\u003eisNegated\u003c/code\u003e field to true.\u003c/p\u003e\n"],["\u003cp\u003eAppliedLabel uses \u003ccode\u003elabelId\u003c/code\u003e to identify the label and \u003ccode\u003eisNegated\u003c/code\u003e to specify whether it's negated.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for AppliedLabel is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The content details the `AppliedLabel` entity, used across multiple services like `CompanyService`, `CreativeService`, and `LineItemService`. An `AppliedLabel` represents a `Label` applied to an entity. It contains two fields: `labelId`, which is the ID of a created `Label`, and `isNegated`, a boolean to negate the effects of the `labelId`. Negation is achieved by setting `isNegated` to true with the inherited label's ID.\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](/ad-manager/api/reference/v202411/InventoryService.AppliedLabel) **LineItemService** [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[CreativePlaceholder](/ad-manager/api/reference/v202411/LineItemService.CreativePlaceholder) [LineItemSummary](/ad-manager/api/reference/v202411/LineItemService.LineItemSummary) \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`. |"]]