# type UserDomainTargeting (v202508)

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

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