[[["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\u003eInventoryTargeting allows you to define a collection of targeted and excluded ad units and placements for more refined ad delivery.\u003c/p\u003e\n"],["\u003cp\u003eYou can target or exclude specific ad units by using AdUnitTargeting.\u003c/p\u003e\n"],["\u003cp\u003ePlacement IDs can be utilized to further refine targeting for specific placements within your inventory.\u003c/p\u003e\n"],["\u003cp\u003eInventoryTargeting operates within the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e, which is important for API interactions.\u003c/p\u003e\n"]]],["The core content outlines `InventoryTargeting`, which manages targeted and excluded ad units and placements within the `https://www.google.com/apis/ads/publisher/v202411` namespace. It details fields for `targetedAdUnits` and `excludedAdUnits`, both referencing `AdUnitTargeting`, to define which ad units are included or excluded. `targetedPlacementIds`, a list of `Placement` IDs, are also detailed as part of targeting options. Several services like `AdRuleService`, `ForecastService` and `YieldGroupService` are mentioned as available services.\n"],null,["# type InventoryTargeting (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.InventoryTargeting) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.InventoryTargeting) [AudienceSegmentService](/ad-manager/api/reference/v202411/AudienceSegmentService.InventoryTargeting) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.InventoryTargeting) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.InventoryTargeting) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.InventoryTargeting) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.InventoryTargeting) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.InventoryTargeting) **PublisherQueryLanguageService** [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.InventoryTargeting) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.InventoryTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.Targeting) \n▼\n**InventoryTargeting**\n\nA collection of targeted and excluded ad units and placements.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `targetedAdUnits` | ` `[AdUnitTargeting](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.AdUnitTargeting)`[]` A list of targeted [AdUnitTargeting](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.AdUnitTargeting). |\n| ### `excludedAdUnits` | ` `[AdUnitTargeting](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.AdUnitTargeting)`[]` A list of excluded [AdUnitTargeting](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.AdUnitTargeting). |\n| ### `targetedPlacementIds` | ` `xsd:`long[]` A list of targeted [Placement](/ad-manager/api/reference/v202411/PlacementService.Placement) ids. |"]]