# type UserDomainTargeting (v202608)

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

Provides line items the ability to target or exclude users visiting their websites from a list of
domains or subdomains.

*** ** * ** ***

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

| ## Field ||
|---|---|
| ### `domains` | ` xsd:string[]` The domains or subdomains that are being targeted or excluded by the [LineItem](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.LineItem.md.txt). This attribute is required and the maximum length of each domain is 67 characters. |
| ### `targeted` | ` xsd:boolean` Indicates whether domains should be targeted or excluded. This attribute is optional and defaults to `true`. |