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."],["It provides control over targeting by including or excluding descendant ad units with the `includeDescendants` field."],["AdUnitTargeting is part of the Google Ad Manager API and uses a specific namespace for identification."],["Two key fields, `adUnitId` and `includeDescendants`, define the targeted or excluded ad unit and whether to include its descendants."]]],["The content defines `AdUnitTargeting`, which represents targeted or excluded ad units within the namespace `https://www.google.com/apis/ads/publisher/v202411`. Key fields include `adUnitId`, specifying the targeted ad unit, and `includeDescendants`, a boolean indicating whether descendant ad units are included. Several services such as `AdRuleService`, `AdjustmentService`, `ForecastService`, and others are associated with targeting.\n"]]