[[["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 content details the `InventoryTargetingError.Reason` enumeration, which outlines potential errors when targeting inventory within several ad management services such as `AdRuleService`, `AdjustmentService`, `ForecastService`, `LineItemService` among others. Key error reasons include requiring at least one placement or inventory unit, preventing simultaneous targeting and exclusion, ancestor/descendant targeting conflicts, and restrictions on landing page-only units and YouTube segments. The full list contains 11 errors that are defined.\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** [NativeStyleService](/ad-manager/api/reference/v202502/NativeStyleService.InventoryTargetingError.Reason) [OrderService](/ad-manager/api/reference/v202502/OrderService.InventoryTargetingError.Reason) [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/LineItemTemplateService.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. |"]]