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-05-15 UTC."],[[["AdUnitHierarchyError.Reason outlines potential errors when setting up ad unit hierarchies in Google Ad Manager."],["Errors can arise from exceeding the maximum allowed depth in the hierarchy or specifying an invalid parent ad unit."],["The maximum depth for Ad Manager 360 accounts is two levels below the effective root, while Ad Manager accounts are limited to one level below."],["`INVALID_DEPTH` and `INVALID_PARENT` are specific error reasons, while `UNKNOWN` indicates an undefined error in the current API version."]]],["The `AdUnitHierarchyError.Reason` enumeration defines potential issues within the ad unit hierarchy in the Ad Manager service. `INVALID_DEPTH` signifies that an ad unit's depth exceeds the allowable limit (two levels for Ad Manager 360, one for standard accounts). `INVALID_PARENT` indicates an incorrect parent ad unit specified. `UNKNOWN` is returned when the true value isn't available in the current API version. These errors are applicable to `InventoryService` and `PublisherQueryLanguageService`.\n"]]