enum StringLengthError.Reason (v202411)

  • This documentation details the StringLengthError.Reason enumeration within the Google Ad Manager API.

  • StringLengthError.Reason is used to indicate why a string value is invalid, either due to exceeding the maximum length or falling short of the minimum length.

  • The enumeration includes three possible values: TOO_LONG, TOO_SHORT, and UNKNOWN.

  • UNKNOWN is returned when the specific reason for the error is not available in the current API version.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
TOO_LONG
TOO_SHORT
UNKNOWN The value returned if the actual value is not exposed by the requested API version.