type AdUnitHierarchyError (v201705)

Caused by creating an AdUnit object with an invalid hierarchy.


Namespace
https://www.google.com/apis/ads/publisher/v201705

Field

ApiError (inherited)

fieldPath

xsd:string

The OGNL field path to identify cause of error.

fieldPathElements

FieldPathElement[]

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)}.

trigger

xsd:string

The data that caused the error.

errorString

xsd:string

A simple string representation of the error and reason.

AdUnitHierarchyError

reason

AdUnitHierarchyError.Reason


Enumerations
INVALID_DEPTH
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 Premium accounts and one level below effective root ad unit for Small Business accounts.
INVALID_PARENT
The only valid AdUnit.parentId for a DFP Small Business account is the Network.effectiveRootAdUnitId.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.

Send feedback about...

DoubleClick for Publishers
DoubleClick for Publishers
Need help? Visit our support page.