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 for targeting or excluding specific inventory URLs within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt utilizes two main fields: \u003ccode\u003etargetedUrls\u003c/code\u003e and \u003ccode\u003eexcludedUrls\u003c/code\u003e to specify which URLs to include or exclude.\u003c/p\u003e\n"],["\u003cp\u003eEach field utilizes the \u003ccode\u003eInventoryUrl\u003c/code\u003e object to define individual web page URLs for targeting.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting method applies across multiple Google Ad Manager services, including AdRuleService, ForecastService, and ProposalService.\u003c/p\u003e\n"],["\u003cp\u003eInventoryUrlTargeting utilizes the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e for its operations.\u003c/p\u003e\n"]]],["The content details `InventoryUrlTargeting`, a feature within the `v202411` version of the ad manager API. This functionality is used by multiple services like `AdRuleService`, `AdjustmentService`, `ForecastService`, etc. It manages targeted and excluded inventory URLs, defined as `InventoryUrl`. The core function involves specifying lists of `targetedUrls` and `excludedUrls` to control which inventory URLs are included or excluded. It operates within the `https://www.google.com/apis/ads/publisher/v202411` namespace.\n"],null,["# type InventoryUrlTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.InventoryUrlTargeting) **AdjustmentService** [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](/ad-manager/api/reference/v202411/YieldGroupService.InventoryUrlTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/AdjustmentService.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/AdjustmentService.InventoryUrl)`[]` \u003cbr /\u003e |\n| ### `excludedUrls` | ` `[InventoryUrl](/ad-manager/api/reference/v202411/AdjustmentService.InventoryUrl)`[]` \u003cbr /\u003e |"]]