AI-generated Key Takeaways
-
The AdUnitHierarchyError is an ApiError that occurs when creating an AdUnit with an invalid hierarchy.
-
This error can be caused by an invalid depth or an invalid parent for the AdUnit.
-
The fieldPath, fieldPathElements, trigger, and errorString are inherited fields from ApiError providing details about the error.
-
The reason field specifically indicates the cause of the AdUnit hierarchy error, such as INVALID_DEPTH, INVALID_PARENT, or UNKNOWN.
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
|