# type AdUnitTargeting (v202511)

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

Represents targeted or excluded ad units.

*** ** * ** ***

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

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