[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eInventorySizeTargeting allows for targeting or excluding specific inventory sizes within ad campaigns.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is currently supported for YieldGroups and TrafficDataRequests.\u003c/p\u003e\n"],["\u003cp\u003eInventorySizeTargeting uses a boolean \u003ccode\u003eisTargeted\u003c/code\u003e field to specify whether the sizes are targeted or excluded, and a list of \u003ccode\u003eTargetedSize\u003c/code\u003e objects to define the sizes themselves.\u003c/p\u003e\n"],["\u003cp\u003eThe InventorySizeTargeting object is defined within the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The core content defines `InventorySizeTargeting`, used in `YieldGroup` and `TrafficDataRequest`. It manages targeted and excluded inventory sizes. Key actions involve setting whether sizes are targeted or excluded via the `isTargeted` boolean. The `targetedSizes` field contains a list of `TargetedSize` objects, detailing the specific inventory dimensions. This feature is accessible through various services such as `AdRuleService`, `ForecastService`, `YieldGroupService` and `ProposalLineItemService` with related `Targeting` dependency.\n"],null,["# type InventorySizeTargeting (v202411)\n\n**Service** \n**AdRuleService** [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](/ad-manager/api/reference/v202411/YieldGroupService.InventorySizeTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/AdRuleService.Targeting) \n▼\n**InventorySizeTargeting**\n\nRepresents a collection of targeted and excluded inventory sizes. This is currently only\navailable on [YieldGroup](/ad-manager/api/reference/v202411/YieldGroupService.YieldGroup) and [TrafficDataRequest](/ad-manager/api/reference/v202411/ForecastService.TrafficDataRequest).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------|\n| ### `isTargeted` | ` `xsd:`boolean` Whether the inventory sizes should be targeted or excluded. |\n| ### `targetedSizes` | ` `[TargetedSize](/ad-manager/api/reference/v202411/AdRuleService.TargetedSize)`[]` A list of `TargetedSizeDto`s. |"]]