type StatementError (v202502)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
StatementError is an error that occurs when parsing Statement objects within the LabelService.
StatementError inherits from ApiError and includes fields like fieldPath, fieldPathElements, trigger, and errorString.
StatementError has its own specific field called reason, which is an enum representing the error reason, such as VARIABLE_NOT_BOUND_TO_VALUE or 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 errors within an ad management API (v202502). It lists services like AdRuleService, AudienceSegmentService, CreativeService, and many others related to ad management. Key actions involve utilizing these services and managing potential errors. The information specifies that the **StatementError** object occurs when parsing `Statement` objects, including reasons like `VARIABLE_NOT_BOUND_TO_VALUE` and `UNKNOWN`. The error details are: the `ApiError` class with `fieldPath`, `fieldPathElements`, `trigger` and `errorString`, and the `StatementError` with `reason`.\n"]]