type UserDomainTargeting (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
domains
|
xsd:string[]
|
targeted
|
xsd:boolean
|
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eUserDomainTargeting allows publishers to target or exclude users based on their domain.\u003c/p\u003e\n"],["\u003cp\u003eIt's a component within the YieldGroupService, enabling customized ad delivery.\u003c/p\u003e\n"],["\u003cp\u003eIt involves specifying domains and whether they are targeted or excluded, using the \u003ccode\u003edomains\u003c/code\u003e and \u003ccode\u003etargeted\u003c/code\u003e fields respectively.\u003c/p\u003e\n"],["\u003cp\u003eIt falls under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e within the Google Ad Manager API.\u003c/p\u003e\n"]]],["The content outlines the `UserDomainTargeting` feature within an ad management system, accessible through multiple services such as `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`. It specifies that targeting involves a list of `domains` (strings) and a boolean `targeted` flag. This is under the namespace `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type UserDomainTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.UserDomainTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.UserDomainTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.UserDomainTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.UserDomainTargeting) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.UserDomainTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.UserDomainTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.UserDomainTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.UserDomainTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.UserDomainTargeting) **YieldGroupService** **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/YieldGroupService.Targeting) \n▼\n**UserDomainTargeting**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|----------------|--------------------------|\n| ### `domains` | ` `xsd:`string[]` \u003cbr /\u003e |\n| ### `targeted` | ` `xsd:`boolean` \u003cbr /\u003e |"]]