type AdUnitTargeting (v202408)
Represents targeted or excluded ad units.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
adUnitId
|
xsd:string
Included or excluded ad unit id.
|
includeDescendants
|
xsd:boolean
Whether or not all descendants are included (or excluded) as part of including (or excluding)
this ad unit. By default, the value is true which means targeting this ad unit will
target all of its descendants.
|
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-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["AdUnitTargeting is used to target or exclude specific ad units and their descendants within Google Ad Manager."],["This feature allows for granular control over ad delivery by including or excluding ad units based on their unique IDs."],["AdUnitTargeting utilizes ad unit IDs and a boolean value to determine if descendants should be included in the targeting."],["It is part of the Google Ad Manager API and operates within the specified namespace."]]],["The document defines `AdUnitTargeting`, which specifies ad units to be included or excluded. Key fields include `adUnitId`, a string for the ad unit's ID, and `includeDescendants`, a boolean determining if the targeting applies to all descendant ad units (defaulting to true). Several services interact with this targeting, like AdRuleService, LineItemService, and YieldGroupService, alongside others for adjustment, audience segments, forecasting, native styles, and proposals. The namespace for these is `https://www.google.com/apis/ads/publisher/v202408`.\n"]]