AI-generated Key Takeaways
-
AdUnitHierarchyError
is an error caused by creating anAdUnit
object with an invalid hierarchy. -
This error can occur due to an invalid depth of the
AdUnit
in the hierarchy or an invalid parent ID. -
The maximum allowed depth for an
AdUnit
varies between Ad Manager 360 accounts and Ad Manager accounts. -
This error inherits properties from
ApiError
such asfieldPath
,fieldPathElements
,trigger
, anderrorString
. -
The specific reason for the
AdUnitHierarchyError
is provided by thereason
field, which can indicateINVALID_DEPTH
orINVALID_PARENT
.
Caused by creating an AdUnit object with an invalid hierarchy.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
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
|