type InventoryUrlTargeting (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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\u003eInventoryUrlTargeting allows you to target or exclude specific web page URLs for yield groups.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes two main fields: \u003ccode\u003etargetedUrls\u003c/code\u003e for inclusion and \u003ccode\u003eexcludedUrls\u003c/code\u003e for exclusion, both accepting arrays of InventoryUrl objects.\u003c/p\u003e\n"],["\u003cp\u003eInventoryUrlTargeting is part of the YieldGroupService within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting method enables refined control over ad delivery based on the URLs of your web inventory.\u003c/p\u003e\n"]]],["The core content details services related to ad management and targeting, specifically focusing on `InventoryUrlTargeting`. Key services include AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. `InventoryUrlTargeting` allows for defining `targetedUrls` and `excludedUrls` using the `InventoryUrl` type. The namespace for these services is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# type InventoryUrlTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.InventoryUrlTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.InventoryUrlTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.InventoryUrlTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.InventoryUrlTargeting) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.InventoryUrlTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.InventoryUrlTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.InventoryUrlTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.InventoryUrlTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.InventoryUrlTargeting) **YieldGroupService** **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/YieldGroupService.Targeting) \n▼\n**InventoryUrlTargeting**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|--------------------|------------------------------------------------------------------------------------------------|\n| ### `targetedUrls` | ` `[InventoryUrl](/ad-manager/api/reference/v202411/YieldGroupService.InventoryUrl)`[]` \u003cbr /\u003e |\n| ### `excludedUrls` | ` `[InventoryUrl](/ad-manager/api/reference/v202411/YieldGroupService.InventoryUrl)`[]` \u003cbr /\u003e |"]]