type InventoryUrlTargeting (v202408)
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/v202408
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 specify a collection of targeted and excluded inventory URLs for ad delivery.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting feature utilizes \u003ccode\u003etargetedUrls\u003c/code\u003e and \u003ccode\u003eexcludedUrls\u003c/code\u003e fields, both of which accept arrays of \u003ccode\u003eInventoryUrl\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInventoryUrlTargeting\u003c/code\u003e object is defined within the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eIt is used in conjunction with services such as AdRuleService, AdjustmentService, ForecastService, LineItemService, and others for refined ad targeting.\u003c/p\u003e\n"]]],["The document outlines services within a publisher API, including AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. A key dependency is `Targeting`, which leads to `InventoryUrlTargeting`. This feature allows targeting specific inventory URLs, categorized into `targetedUrls` and `excludedUrls`, both referencing the `InventoryUrl` type. The namespace is defined as `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# type InventoryUrlTargeting (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.InventoryUrlTargeting) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.InventoryUrlTargeting) **ForecastService** [LineItemService](/ad-manager/api/reference/v202408/LineItemService.InventoryUrlTargeting) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.InventoryUrlTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.InventoryUrlTargeting) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.InventoryUrlTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.InventoryUrlTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.InventoryUrlTargeting) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.InventoryUrlTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202408/ForecastService.Targeting) \n▼\n**InventoryUrlTargeting**\n\nA collection of targeted inventory urls.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|--------------------|----------------------------------------------------------------------------------------------|\n| ### `targetedUrls` | ` `[InventoryUrl](/ad-manager/api/reference/v202408/ForecastService.InventoryUrl)`[]` \u003cbr /\u003e |\n| ### `excludedUrls` | ` `[InventoryUrl](/ad-manager/api/reference/v202408/ForecastService.InventoryUrl)`[]` \u003cbr /\u003e |"]]