The depth of the AdUnit in the inventory hierarchy is greater
than is allowed. The maximum allowed depth is two below the effective
root ad unit for Ad Manager 360 accounts and is one level below the
effective root ad unit for Ad Manager accounts.
INVALID_PARENT
The only valid AdUnit.parentId for an Ad Manager account is the
Network.effectiveRootAdUnitId, Ad Manager 360 accounts can specify an ad unit
hierarchy with more than two levels.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
[[["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 2024-08-20 UTC."],[[["AdUnitHierarchyError.Reason identifies potential errors in the structure of your ad units within the Google Ad Manager inventory hierarchy."],["Errors can occur if the ad unit depth exceeds the allowed limit, which is two levels below the effective root for Ad Manager 360 and one level below for Ad Manager accounts."],["An invalid parent error is triggered when an Ad Manager account attempts to assign a parent other than the network's effective root, while Ad Manager 360 allows for more complex hierarchies."],["The `UNKNOWN` reason is a placeholder for errors that the current API version doesn't explicitly define."]]],["The core content details the `AdUnitHierarchyError.Reason` enumeration within the `InventoryService`. It defines error conditions related to ad unit hierarchy in the Google Ad Manager API. Key actions include specifying the `INVALID_DEPTH`, where an ad unit's depth exceeds the allowed limit (two levels for Ad Manager 360, one level for Ad Manager accounts), and `INVALID_PARENT`, which indicates an incorrect parent ID. `UNKNOWN` represents cases where the API version does not expose the actual error value.\n"]]