[[["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 you to target or exclude specific inventory sizes for ad delivery.\u003c/p\u003e\n"],["\u003cp\u003eIt's currently applicable to YieldGroups and TrafficDataRequests within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThis targeting method uses a list of TargetedSize objects to define the desired or excluded sizes.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify whether the defined sizes should be targeted or excluded using the \u003ccode\u003eisTargeted\u003c/code\u003e field.\u003c/p\u003e\n"]]],["The content outlines `InventorySizeTargeting`, a feature for specifying targeted or excluded inventory sizes, available for `YieldGroup` and `TrafficDataRequest`. It includes two fields: `isTargeted`, a boolean to indicate targeting or exclusion, and `targetedSizes`, a list of `TargetedSize` objects. This functionality is accessible via various services like `AdRuleService`, `ForecastService`, `LineItemService`, `NativeStyleService`, `ProposalLineItemService`, `ProposalService`, `PublisherQueryLanguageService`, `TargetingPresetService`, and `YieldGroupService`.\n"],null,["# type InventorySizeTargeting (v202408)\n\n**Service** \n**AdRuleService** [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.InventorySizeTargeting) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.InventorySizeTargeting) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.InventorySizeTargeting) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.InventorySizeTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.InventorySizeTargeting) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.InventorySizeTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.InventorySizeTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.InventorySizeTargeting) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.InventorySizeTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202408/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/v202408/YieldGroupService.YieldGroup) and [TrafficDataRequest](/ad-manager/api/reference/v202408/ForecastService.TrafficDataRequest).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------|\n| ### `isTargeted` | ` `xsd:`boolean` Whether the inventory sizes should be targeted or excluded. |\n| ### `targetedSizes` | ` `[TargetedSize](/ad-manager/api/reference/v202408/AdRuleService.TargetedSize)`[]` A list of `TargetedSizeDto`s. |"]]