AI-generated Key Takeaways
- 
          AdUnitHierarchyError is caused by creating an AdUnit object with an invalid hierarchy. 
- 
          The error indicates issues related to the depth or parent of an AdUnit within the inventory hierarchy. 
- 
          Possible reasons for the error include invalid depth or invalid parent ID for the AdUnit. 
- 
          The maximum allowed hierarchy depth varies between Ad Manager 360 and Ad Manager accounts. 
Caused by creating an AdUnit object with an invalid hierarchy.
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202502
| Field | |
|---|---|
| ApiError(inherited) | |
| 
                            | 
                            The OGNL field path to identify cause of error. | 
| 
                            | A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. | 
| 
                            | 
                            The data that caused the error. | 
| 
                            | 
                            A simple string representation of the error and reason. | 
| AdUnitHierarchyError | |
| 
                            | 
 Enumerations 
 |