type StatementError (v202411)Stay organized with collectionsSave and categorize content based on your preferences.
AI-generated Key Takeaways
StatementError occurs when parsing Statement objects and has a reason field indicating the specific error.
StatementError inherits fields from ApiError, including fieldPath, fieldPathElements, trigger, and errorString to identify the cause and context of the error.
The possible reasons for a StatementError are VARIABLE_NOT_BOUND_TO_VALUE and UNKNOWN.
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.
[[["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 2025-08-06 UTC."],[],["This document details various services and associated errors within an ad management system, likely for API interactions. Services include ad rules, adjustments, audience segments, content management, and creative handling. Errors stem from `ApiError`, encompassing version issues, authentication failures, and data-specific problems like invalid URLs. `StatementError` specifically relates to errors parsing statement objects, such as unbound variables. A list of errors are described in the document with an explanation.\n"]]