[[["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."],[],["The provided content outlines the `InventoryTargetingError.Reason` enumeration within the Google Ad Manager API (v202502). This specifies reasons for inventory targeting errors. Key actions are targeting or excluding inventory units, which must adhere to constraints like not targeting/excluding the same unit simultaneously. It also dictates limitations on targeting child or landing-page-only units and YouTube audience segments. Services that utilize these reasons include AdRuleService, AdjustmentService, ForecastService, etc.\n"],null,["# enum InventoryTargetingError.Reason (v202502)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.InventoryTargetingError.Reason) [AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.InventoryTargetingError.Reason) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.InventoryTargetingError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.InventoryTargetingError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.InventoryTargetingError.Reason) [NativeStyleService](/ad-manager/api/reference/v202502/NativeStyleService.InventoryTargetingError.Reason) **OrderService** [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.InventoryTargetingError.Reason) [PublisherQueryLanguageService](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.InventoryTargetingError.Reason) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.InventoryTargetingError.Reason) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.InventoryTargetingError.Reason) **Dependencies** \n[InventoryTargetingError](/ad-manager/api/reference/v202502/OrderService.InventoryTargetingError) \n▼\n**InventoryTargetingError.Reason**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|--------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| `AT_LEAST_ONE_PLACEMENT_OR_INVENTORY_UNIT_REQUIRED` | At least one placement or inventory unit is required |\n| `INVENTORY_CANNOT_BE_TARGETED_AND_EXCLUDED` | The same inventory unit or placement cannot be targeted and excluded at the same time |\n| `INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_TARGETED` | A child inventory unit cannot be targeted if its ancestor inventory unit is also targeted. |\n| `INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_EXCLUDED` | A child inventory unit cannot be targeted if its ancestor inventory unit is excluded. |\n| `INVENTORY_UNIT_CANNOT_BE_EXCLUDED_IF_ANCESTOR_IS_EXCLUDED` | A child inventory unit cannot be excluded if its ancestor inventory unit is also excluded. |\n| `EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_TARGETED` | An explicitly targeted inventory unit cannot be targeted. |\n| `EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_EXCLUDED` | An explicitly targeted inventory unit cannot be excluded. |\n| `SELF_ONLY_INVENTORY_UNIT_NOT_ALLOWED` | A landing page-only ad unit cannot be targeted. |\n| `SELF_ONLY_INVENTORY_UNIT_WITHOUT_DESCENDANTS` | A landing page-only ad unit cannot be targeted if it doesn't have any children. |\n| `YOUTUBE_AUDIENCE_SEGMENTS_CAN_ONLY_BE_TARGETED_WITH_YOUTUBE_SHARED_INVENTORY` | Audience segments shared from YouTube can only be targeted with inventory shared from YouTube for cross selling. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]