type UserDomainTargeting (v202502)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
UserDomainTargeting allows line items to target or exclude users based on a list of domains or subdomains they are visiting.
The domains attribute is a required list of strings representing the domains or subdomains, with a maximum length of 67 characters per domain.
The targeted attribute is an optional boolean that indicates whether the specified domains should be targeted (true) or excluded (false), defaulting to true.
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/v202502
Field
domains
xsd:string[]
The domains or subdomains that are being targeted or excluded by theLineItem. 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 totrue.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The content details `UserDomainTargeting`, a feature for line items to target or exclude users based on website domains. Key actions include specifying a list of `domains` (up to 67 characters each) and setting the `targeted` attribute. `Targeted` determines whether users from specified domains are included or excluded, defaulting to true. The service is linked to several other services such as AdRule, Adjustment, Forecast, LineItem, NativeStyle, ProposalLineItem, Proposal, PublisherQueryLanguage, TargetingPreset and YieldGroup.\n"]]