type StringLengthError (v202411)

  • StringLengthError is a type of ApiError that can be inherited by various services such as AdRuleService, AdjustmentService, and AdsTxtService.

  • The StringLengthError has a 'reason' field which can indicate if a string is TOO_LONG, TOO_SHORT, or if the reason is UNKNOWN.

  • StringLengthError also inherits fields from ApiError, including fieldPath, fieldPathElements, trigger, and errorString.

  • The namespace for StringLengthError and related services is https://www.google.com/apis/ads/publisher/v202411.


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

Field

ApiError (inherited)

fieldPath

xsd:string

fieldPathElements

FieldPathElement[]

trigger

xsd:string

errorString

xsd:string

StringLengthError

reason

StringLengthError.Reason


Enumerations
TOO_LONG
TOO_SHORT
UNKNOWN