type AdUnitTargeting (v202405)
Represents targeted or excluded ad units.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
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-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["AdUnitTargeting represents the ad units that are either targeted or excluded in Google Ad Manager."],["It uses adUnitId to specify the included or excluded ad unit ID."],["It utilizes includeDescendants, a boolean, to determine if targeting should include all descendant ad units, defaulting to true for inclusion."]]],["The document defines `AdUnitTargeting`, which specifies included or excluded ad units within various services. Key fields include `adUnitId`, representing the unit's ID, and `includeDescendants`, a boolean indicating whether to include all descendant units. Services using this include AdRuleService, AdjustmentService, AudienceSegmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService, with InventoryTargeting as a dependency. The namespace is `https://www.google.com/apis/ads/publisher/v202405`.\n"]]