type AdUnitTargeting (v202505)

  • AdUnitTargeting represents targeted or excluded ad units.

  • Each AdUnitTargeting specifies an ad unit ID and whether its descendants are included or excluded.

  • The includeDescendants field defaults to true, meaning targeting an ad unit includes all its descendants.

Represents targeted or excluded ad units.


Namespace
https://www.google.com/apis/ads/publisher/v202505

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.