type InventoryUrlTargeting (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
A collection of targeted inventory urls.
- 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 inventory URLs within your ad campaigns.\u003c/p\u003e\n"],["\u003cp\u003eIt encompasses two main fields: \u003ccode\u003etargetedUrls\u003c/code\u003e for inclusion and \u003ccode\u003eexcludedUrls\u003c/code\u003e for exclusion of web page URLs.\u003c/p\u003e\n"],["\u003cp\u003eBoth fields utilize the \u003ccode\u003eInventoryUrl\u003c/code\u003e object to specify the web addresses.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is part of the Proposal service and is defined within the Google Ad Manager API namespace.\u003c/p\u003e\n"]]],["The content details `InventoryUrlTargeting`, a collection for targeting inventory URLs, within the Google Ad Manager API (v202411). It's used across several services, including AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. The namespace is `https://www.google.com/apis/ads/publisher/v202411`. `InventoryUrlTargeting` contains two fields :`targetedUrls`, and `excludedUrls`, both consisting of an array of `InventoryUrl`.\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** [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.InventoryUrlTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.InventoryUrlTargeting) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.InventoryUrlTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/ProposalService.Targeting) \n▼\n**InventoryUrlTargeting**\n\nA collection of targeted inventory urls.\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/ProposalService.InventoryUrl)`[]` \u003cbr /\u003e |\n| ### `excludedUrls` | ` `[InventoryUrl](/ad-manager/api/reference/v202411/ProposalService.InventoryUrl)`[]` \u003cbr /\u003e |"]]