type AdUnitTargeting (v202411)
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
adUnitId
|
xsd:string
|
includeDescendants
|
xsd:boolean
|
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."],[[["The YieldGroupService uses AdUnitTargeting to define targeting criteria based on ad units."],["AdUnitTargeting allows specifying an ad unit ID (`adUnitId`) and whether to include its descendants (`includeDescendants`)."],["The namespace for AdUnitTargeting is `https://www.google.com/apis/ads/publisher/v202411`."]]],["The content details the services within a publisher API, specifically version 202411. It lists core services like AdRuleService, AdjustmentService, AudienceSegmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. YieldGroupService has an InventoryTargeting dependency. The AdUnitTargeting element within these services has two fields: `adUnitId` (string) and `includeDescendants` (boolean). The namespace is defined as `https://www.google.com/apis/ads/publisher/v202411`.\n"]]