# type AdUnitTargeting (v202605)

**Service** [AdRuleService](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.AdUnitTargeting.md.txt) [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202605/AdjustmentService.AdUnitTargeting.md.txt) [AudienceSegmentService](https://developers.google.com/ad-manager/api/reference/v202605/AudienceSegmentService.AdUnitTargeting.md.txt) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.AdUnitTargeting.md.txt) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202605/LineItemService.AdUnitTargeting.md.txt) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202605/NativeStyleService.AdUnitTargeting.md.txt) **ProposalLineItemService** [ProposalService](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.AdUnitTargeting.md.txt) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202605/PublisherQueryLanguageService.AdUnitTargeting.md.txt) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202605/TargetingPresetService.AdUnitTargeting.md.txt) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202605/YieldGroupService.AdUnitTargeting.md.txt) **Dependencies** [InventoryTargeting](https://developers.google.com/ad-manager/api/reference/v202605/ProposalLineItemService.InventoryTargeting.md.txt) ▼ **AdUnitTargeting**

Represents targeted or excluded ad units.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202605`

| ## 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. |