type AdUnitTargeting (v202502)

  • AdUnitTargeting represents targeted or excluded ad units within the AdRuleService.

  • The adUnitId field specifies the ID of the ad unit to be included or excluded.

  • The includeDescendants field determines if descendants of the targeted ad unit are also included or excluded.

Represents targeted or excluded ad units.


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

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.