Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
AdUnitTargeting is used to include or exclude ad units for targeting.
It utilizes adUnitId to specify the targeted or excluded ad unit and includeDescendants to control whether targeting should include descendants of the specified ad unit.
By default, targeting an ad unit will also target all of its descendants.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The provided content details services and their dependencies, specifically focusing on `AdUnitTargeting`. Key services include `AdRuleService`, `AdjustmentService`, `AudienceSegmentService`, `ForecastService`, `LineItemService`, and others. `AdUnitTargeting` represents targeted or excluded ad units, utilizing `adUnitId` to specify units. The `includeDescendants` field indicates if all child ad units are targeted, defaulting to `true`. The `namespace` used is provided.\n"]]