type AppliedLabel (v202411)
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 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["An AppliedLabel represents a Label that can be applied to an entity in Google Ad Manager."],["To negate an inherited label, create an AppliedLabel with the inherited label's ID and set isNegated to true."],["AppliedLabels include a labelId and isNegated field, allowing for flexible label application and management."]]],["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 two key fields: `labelId`, the identifier of the applied `Label`, and `isNegated`, a boolean to negate the effects of the associated label. `Order` depends on `AppliedLabel`. Negating an inherited label requires setting `isNegated` to `true`.\n"]]