type StringLengthError (v202508)

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

  • StringLengthError indicates issues related to the length of string inputs, with possible reasons being TOO_LONG, TOO_SHORT, or UNKNOWN.

  • StringLengthError inherits properties from ApiError such as fieldPath, fieldPathElements, trigger, and errorString.

  • The specific reason for a StringLengthError is provided by the 'reason' field, which is of the type StringLengthError.Reason.


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

Field

ApiError (inherited)

fieldPath

xsd:string

fieldPathElements

FieldPathElement[]

trigger

xsd:string

errorString

xsd:string

StringLengthError

reason

StringLengthError.Reason


Enumerations
TOO_LONG
TOO_SHORT
UNKNOWN