type UserDomainTargeting (v202411)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
UserDomainTargeting provides line items the ability to target or exclude users based on the domains or subdomains they are visiting.
Thedomainsfield is a required attribute specifying the list of domains or subdomains for targeting or exclusion, with a maximum length of 67 characters per domain.
The optionaltargetedattribute, which defaults totrue, indicates whether the listed domains should be targeted or excluded.
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/v202411
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 `UserDomainTargeting` feature allows line items to target or exclude users based on website domains or subdomains they visit. It's implemented across multiple services, including `AdRuleService`, `AdjustmentService`, and `YieldGroupService`. Key attributes are `domains`, a required list of strings (max 67 characters each) specifying the targeted domains, and `targeted`, a boolean indicating inclusion or exclusion (defaults to true). This is within the `v202411` namespace.\n"]]