type UserDomainTargeting (v202402)
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 .
|
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-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["UserDomainTargeting allows line items to target or exclude users based on the domains they visit."],["It uses a list of domains or subdomains, with a maximum length of 67 characters per domain."],["Advertisers can choose to either target or exclude users from the specified domains."],["This targeting feature is available across various services within Google Ad Manager, including LineItemService, ProposalService, and YieldGroupService."]]],["The core content describes `UserDomainTargeting`, a feature allowing line items to target or exclude users based on domains or subdomains they visit. Key actions include defining a list of `domains` (up to 67 characters each) and specifying whether they are `targeted` or excluded, where true indicates targeting and false exclusion. The service is part of several services like `AdRuleService`, `LineItemService`, and `ProposalService`, with `Targeting` as its dependency.\n"]]