type AdUnitTargeting (v202411)

  • The AdUnitTargeting object represents targeted or excluded ad units within various services.

  • It includes fields for the ad unit ID and a flag to indicate whether descendant ad units are included or excluded.

  • The default behavior is to include all descendants when an ad unit is targeted.

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.