# type UserDomainTargeting (v202505)

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

| ## 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/v202505/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`. |