type AdUnitTargeting (v202508)

  • The content provides details about the AdUnitTargeting object and its usage within various Ad Manager API services.

  • AdUnitTargeting is used to represent targeted or excluded ad units.

  • The AdUnitTargeting object has two fields: adUnitId (the ID of the ad unit) and includeDescendants (a boolean indicating whether to include or exclude descendants).

Represents targeted or excluded ad units.


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

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.