type AdUnitTargeting (v202411)

  • AdUnitTargeting represents targeted or excluded ad units.

  • The adUnitId field is a string that represents the included or excluded ad unit ID.

  • The includeDescendants field is a boolean that determines if all descendants are included or excluded when targeting or excluding an ad unit.

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.