type AdUnitTargeting (v202411)
Represents targeted or excluded ad units.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["AdUnitTargeting allows publishers to include or exclude specific ad units for targeting."],["This targeting can be further refined by including or excluding all descendant ad units of a selected ad unit."],["AdUnitTargeting utilizes ad unit IDs (`adUnitId`) and a boolean value (`includeDescendants`) to manage targeting scope."]]],["The core content describes the `AdUnitTargeting` service within the namespace `https://www.google.com/apis/ads/publisher/v202411`. It defines targeting or excluding ad units using `adUnitId`, a string identifier. The `includeDescendants` boolean field determines if targeting a specific ad unit includes all its child units. The service has dependencies with the InventoryTargeting service and is related to multiple services, including AdRule, Adjustment, AudienceSegment, and others.\n"]]