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/v202402
Field
domains
xsd:string[]
The domains or subdomains that are being targeted or excluded by the 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.
[[["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 2024-02-13 UTC."],[[["UserDomainTargeting allows line items to target or exclude users based on the domains they visit."],["It utilizes a list of domains or subdomains, with a maximum length of 67 characters per domain."],["Domains can be either targeted or excluded, with targeting being the default behavior."]]],["The content details the `UserDomainTargeting` feature, enabling line items to target or exclude users based on visited domains or subdomains. Key information includes the `domains` field, a required list of strings with a 67-character limit per domain, and the `targeted` field, a boolean indicating whether to target (true by default) or exclude the specified domains. This is a dependency used in various services such as `AdRuleService`, `NativeStyleService` etc..\n"]]