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.
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 occurs when creating an AdUnit with an invalid hierarchy in the inventory."],["This error can be caused by exceeding the maximum allowed depth in the hierarchy or specifying an invalid parent."],["The maximum depth for Ad Manager 360 accounts is two levels below the effective root, while for Ad Manager accounts, it is one level below."],["AdUnitHierarchyError is part of the PublisherQueryLanguageService and inherits from ApiError."],["Reasons for the error include `INVALID_DEPTH`, `INVALID_PARENT`, and `UNKNOWN`, providing specific insights into the cause."]]],["The provided content outlines errors within the `PublisherQueryLanguageService`, specifically `AdUnitHierarchyError` related to creating invalid `AdUnit` objects. These errors stem from issues like incorrect depth or invalid parent IDs within the inventory hierarchy. `AdUnitHierarchyError` has reasons such as `INVALID_DEPTH` (exceeding allowed hierarchy levels), `INVALID_PARENT` (incorrect parent), and `UNKNOWN` (unspecified error). Additionally, it details inherited `ApiError` fields, including `fieldPath`, `fieldPathElements`, `trigger`, and `errorString` to pinpoint the cause of any error.\n"]]