AI-generated Key Takeaways
-
StringLengthError represents errors where a string does not meet specified length requirements.
-
This error inherits from ApiError and includes fields like
fieldPath
,trigger
, anderrorString
to identify the error's cause and location. -
Specific reasons for StringLengthError include "TOO_LONG" and "TOO_SHORT".
-
The
reason
field indicates why the string length constraint was violated.
Errors for Strings which do not meet given length constraints.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field |
|
---|---|
ApiError (inherited)
|
|
|
The OGNL field path to identify cause of error. |
|
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)}. |
|
The data that caused the error. |
|
A simple string representation of the error and reason. |
StringLengthError
|
|
|
Enumerations
|