AI-generated Key Takeaways
-
StringLengthError is an error type used when strings do not meet specified length constraints.
-
This error type inherits properties from ApiError, including fieldPath, fieldPathElements, trigger, and errorString.
-
The StringLengthError specifically includes a 'reason' field, which can be TOO_LONG, TOO_SHORT, or UNKNOWN, indicating why the string length was invalid.
-
This error is part of the TargetingPresetService within the Google Ad Manager API v202502.
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
|