[[["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 `InventoryUnitSizesError.Reason` enumeration lists possible errors related to ad unit sizes within the `AdjustmentService`, `InventoryService`, and `SuggestedAdUnitService`. Errors include `INVALID_SIZES`, `INVALID_SIZE_FOR_PLATFORM`, and issues with video features (`VIDEO_FEATURE_MISSING`, `VIDEO_MOBILE_LINE_ITEM_FEATURE_MISSING`). Further reasons address video ad sizes including `INVALID_SIZE_FOR_MASTER`, `INVALID_SIZE_FOR_COMPANION`, and `DUPLICATE_MASTER_SIZES`. Aspect ratio and companion restrictions are represented by `ASPECT_RATIO_NOT_SUPPORTED` and `VIDEO_COMPANIONS_NOT_SUPPORTED` respectively. `UNKNOWN` signifies an unexposed API value.\n"],null,["# enum InventoryUnitSizesError.Reason (v202502)\n\n**Service** \n**AdjustmentService** [InventoryService](/ad-manager/api/reference/v202502/InventoryService.InventoryUnitSizesError.Reason) [SuggestedAdUnitService](/ad-manager/api/reference/v202502/SuggestedAdUnitService.InventoryUnitSizesError.Reason) **Dependencies** \n[InventoryUnitSizesError](/ad-manager/api/reference/v202502/AdjustmentService.InventoryUnitSizesError) \n▼\n**InventoryUnitSizesError.Reason**\n\nAll possible reasons the error can be thrown.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|------------------------------------------|-------------------------------------------------------------------------------------|\n| `INVALID_SIZES` | A size in the ad unit is too large or too small. |\n| `INVALID_SIZE_FOR_PLATFORM` | A size is an aspect ratio, but the ad unit is not a mobile ad unit. |\n| `VIDEO_FEATURE_MISSING` | A size is video, but the video feature is not enabled. |\n| `VIDEO_MOBILE_LINE_ITEM_FEATURE_MISSING` | A size is video in a mobile ad unit, but the mobile video feature is not enabled. |\n| `INVALID_SIZE_FOR_MASTER` | A size that has companions must have an environment of VIDEO_PLAYER. |\n| `INVALID_SIZE_FOR_COMPANION` | A size that is a companion must have an environment of BROWSER. |\n| `DUPLICATE_MASTER_SIZES` | Duplicate video master sizes are not allowed. |\n| `ASPECT_RATIO_NOT_SUPPORTED` | A size is an aspect ratio, but aspect ratio sizes are not enabled. |\n| `VIDEO_COMPANIONS_NOT_SUPPORTED` | A video size has companions, but companions are not allowed for the network |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]