type UserDomainTargeting (v202408)
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/v202408
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-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["UserDomainTargeting allows line items to target or exclude users based on the domains they visit."],["Domains or subdomains are used for targeting, with a maximum length of 67 characters per domain."],["Targeting can be set to include or exclude specific domains, with inclusion being the default behavior."]]],["The core content describes `UserDomainTargeting`, which enables targeting or excluding users based on the domains they visit. This functionality is applicable to several services, including `AdRuleService`, `AdjustmentService`, `ForecastService`, and others, as well as the `TargetingPresetService`. Key information includes specifying a list of `domains` (maximum 67 characters each) and setting whether to target or exclude via the `targeted` boolean, which defaults to true. The relevant namespace for this is `https://www.google.com/apis/ads/publisher/v202408`.\n"]]