type UserDomainTargeting (v202411)
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 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 .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 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 `domains` field specifies the domains to target or exclude, while the `targeted` field indicates whether to target or exclude."]]],["The core content details the `UserDomainTargeting` feature within an ad management system. It allows line items to include or exclude users based on their website visits from specific domains or subdomains. This targeting is managed via `domains`, which is a mandatory field specifying the domains (up to 67 characters each). The `targeted` attribute determines if the domains are included or excluded, defaulting to `true` (included). It lists available services that support this function, like AdRuleService and NativeStyleService.\n"]]