type StatementError (v202502)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
StatementError is an error that occurs while parsing Statement objects.
It includes inherited fields like fieldPath, trigger, and errorString from ApiError.
The StatementError specifically includes a 'reason' field indicating the cause of the error with possible values like 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."],[],["The content details various services and their associated errors within an API framework, specifically referencing version `v202502`. These services include AdRule, Adjustment, AdsTxt, AudienceSegment, and many more related to ad management. The `StatementError` is highlighted, focusing on errors in parsing `Statement` objects. Key fields within errors are `fieldPath`, `trigger`, and `reason`, which indicate the cause and location of the error, and its underlying error value, respectively.\n"]]