type AppliedLabel (v202408)
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/v202408
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\u003eTo negate an inherited label, set \u003ccode\u003eisNegated\u003c/code\u003e to true in the AppliedLabel with the inherited label's ID.\u003c/p\u003e\n"],["\u003cp\u003eAppliedLabel uses \u003ccode\u003elabelId\u003c/code\u003e to identify the associated Label and \u003ccode\u003eisNegated\u003c/code\u003e to indicate whether the label's effects are negated.\u003c/p\u003e\n"],["\u003cp\u003eThis object is defined within the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],["The core content describes the `AppliedLabel` entity, used to associate a `Label` with another entity. Key information includes: `labelId`, representing the ID of a `Label`, and `isNegated`, a boolean indicating if the label's effect should be reversed. Creating an `AppliedLabel` with `isNegated` as `true` negates an inherited label's impact. This is in the context of several services like `CompanyService`, `CreativeService`, `ForecastService`, `InventoryService`, `LineItemService`, `OrderService`, `ProposalLineItemService`, and `ProposalService`.\n"],null,["# type AppliedLabel (v202408)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202408/CompanyService.AppliedLabel) **CreativeService** [ForecastService](/ad-manager/api/reference/v202408/ForecastService.AppliedLabel) [InventoryService](/ad-manager/api/reference/v202408/InventoryService.AppliedLabel) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.AppliedLabel) [OrderService](/ad-manager/api/reference/v202408/OrderService.AppliedLabel) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.AppliedLabel) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.AppliedLabel) **Dependencies** \n[Creative](/ad-manager/api/reference/v202408/CreativeService.Creative) \n▼\n**AppliedLabel**\n\nRepresents a [Label](/ad-manager/api/reference/v202408/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/v202408`\n\n| Field ----- ||\n|-----------------|--------------------------------------------------------------------------------------------------|\n| ### `labelId` | ` `xsd:`long` The ID of a created [Label](/ad-manager/api/reference/v202408/LabelService.Label). |\n| ### `isNegated` | ` `xsd:`boolean` `isNegated` should be set to `true` to negate the effects of `labelId`. |"]]