# type UserDomainTargeting (v202511)

**Service** **AdRuleService** [AdjustmentService](https://developers.google.com/ad-manager/api/reference/v202511/AdjustmentService.UserDomainTargeting) [ForecastService](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.UserDomainTargeting) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202511/LineItemService.UserDomainTargeting) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202511/NativeStyleService.UserDomainTargeting) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202511/ProposalLineItemService.UserDomainTargeting) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202511/ProposalService.UserDomainTargeting) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202511/PublisherQueryLanguageService.UserDomainTargeting) [TargetingPresetService](https://developers.google.com/ad-manager/api/reference/v202511/TargetingPresetService.UserDomainTargeting) [YieldGroupService](https://developers.google.com/ad-manager/api/reference/v202511/YieldGroupService.UserDomainTargeting) **Dependencies** [Targeting](https://developers.google.com/ad-manager/api/reference/v202511/AdRuleService.Targeting) ▼ **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/v202511`

| ## 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/v202511/ForecastService.LineItem). 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`. |