enum StringLengthError.Reason (v202411)

  • This page provides details on the StringLengthError.Reason enumeration within the Google Ad Manager API.

  • The enumeration outlines potential reasons for string length errors, such as exceeding maximum length (TOO_LONG) or falling below minimum length (TOO_SHORT).

  • It also includes an UNKNOWN reason for cases where the specific error cause is not exposed by the API version.

  • Developers can utilize this information to understand and handle string length validation issues when interacting with the Ad Manager API.


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.