AI-generated Key Takeaways
-
AdUnitTargeting object defines targeting criteria for ad units, enabling inclusion or exclusion of specific ad units and their descendants.
-
It utilizes
adUnitId
to identify the targeted or excluded ad unit andincludeDescendants
to determine if targeting should apply to its descendants as well. -
By default, targeting an ad unit includes all of its descendants, which can be modified by setting
includeDescendants
tofalse
.
Represents targeted or excluded ad units.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field |
|
---|---|
|
Included or excluded ad unit id. |
|
Whether or not all descendants are included (or excluded) as part of including (or excluding)
this ad unit. By default, the value is |