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 identifies potential errors in the ad unit hierarchy within Google Ad Manager."],["The errors mainly revolve around exceeding the maximum allowed depth or assigning an invalid parent to an ad unit."],["Ad Manager 360 accounts have a deeper ad unit hierarchy compared to standard Ad Manager accounts."],["The `UNKNOWN` enumeration is returned when the actual error reason is not available in the requested API version."]]],["The core content details the `AdUnitHierarchyError.Reason` enumeration within the `InventoryService`. It defines error conditions related to ad unit hierarchy in Google Ad Manager. `INVALID_DEPTH` indicates an ad unit's hierarchy exceeds the allowed depth (two levels for Ad Manager 360, one for others). `INVALID_PARENT` means the parent ID is incorrect, only `Network.effectiveRootAdUnitId` is valid for Ad Manager, unlike Ad Manager 360. `UNKNOWN` denotes an unexposed API value. These are within namespace `https://www.google.com/apis/ads/publisher/v202405`.\n"]]