type InventorySizeTargeting (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\u003eInventorySizeTargeting allows publishers to target or exclude specific inventory sizes for their yield groups.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the \u003ccode\u003eisTargeted\u003c/code\u003e field to specify whether to target (\u003ccode\u003etrue\u003c/code\u003e) or exclude (\u003ccode\u003efalse\u003c/code\u003e) the defined sizes, and the \u003ccode\u003etargetedSizes\u003c/code\u003e field to list the specific sizes being targeted or excluded.\u003c/p\u003e\n"],["\u003cp\u003eThe InventorySizeTargeting is a part of the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e within Google Ad Manager's YieldGroupService.\u003c/p\u003e\n"]]],["The content details `InventorySizeTargeting` within the `https://www.google.com/apis/ads/publisher/v202411` namespace. It highlights that this targeting is a dependency for various services, including AdRuleService, AdjustmentService, and YieldGroupService. The key fields within `InventorySizeTargeting` are `isTargeted`, a boolean value, and `targetedSizes`, an array of `TargetedSize` objects. It also lists other services such as `LineItemService` and `NativeStyleService` in its main content.\n"],null,["# type InventorySizeTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.InventorySizeTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.InventorySizeTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.InventorySizeTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.InventorySizeTargeting) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.InventorySizeTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.InventorySizeTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.InventorySizeTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.InventorySizeTargeting) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.InventorySizeTargeting) **YieldGroupService** **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/YieldGroupService.Targeting) \n▼\n**InventorySizeTargeting**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|---------------------|------------------------------------------------------------------------------------------------|\n| ### `isTargeted` | ` `xsd:`boolean` \u003cbr /\u003e |\n| ### `targetedSizes` | ` `[TargetedSize](/ad-manager/api/reference/v202411/YieldGroupService.TargetedSize)`[]` \u003cbr /\u003e |"]]