enum StringLengthError.Reason (v202411)

  • This page documents the StringLengthError.Reason enumeration for the Google Ad Manager API.

  • StringLengthError.Reason indicates why a string value is invalid, either being too long or too short.

  • The enumeration includes TOO_LONG, TOO_SHORT, and UNKNOWN as possible reasons for the error.

  • UNKNOWN is returned when the API version does not provide the specific reason for the error.


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.