type StringLengthError (v202502)Stay organized with collectionsSave and categorize content based on your preferences.
Page Summary
StringLengthError is an error type in the CreativeSetService that occurs when strings do not meet specified length requirements.
This error inherits properties from ApiError, including fieldPath, fieldPathElements, trigger, and errorString to help identify the cause of the error.
The specific reason for a StringLengthError can be too long, too short, or unknown, as defined by the StringLengthError.Reason enumeration.
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 outlines services and errors within an ad management API (v202502). It details numerous services like AdRuleService, AdjustmentService, and others, which are used for different ad management tasks. Additionally, it specifies a hierarchy of error types, inheriting from `ApiError`. Specifically, `StringLengthError` is detailed, indicating errors when string values are too long or too short, including reasons like `TOO_LONG`, `TOO_SHORT`, or `UNKNOWN` for unspecified API values.\n"]]