type StringLengthError (v202502)

  • StringLengthError is a type of ApiError that can occur in various Ad Manager services, including AdRuleService, AdjustmentService, and AdsTxtService.

  • StringLengthError indicates that a string value provided in a request is either too long or too short.

  • The error includes information about the specific field path, the trigger value, and the reason for the error.

  • StringLengthError has a specific reason field that can be TOO_LONG, TOO_SHORT, or UNKNOWN.


Namespace
https://www.google.com/apis/ads/publisher/v202502

Field

ApiError (inherited)

fieldPath

xsd:string

fieldPathElements

FieldPathElement[]

trigger

xsd:string

errorString

xsd:string

StringLengthError

reason

StringLengthError.Reason


Enumerations
TOO_LONG
TOO_SHORT
UNKNOWN