enum StringLengthError.Reason (v202411)

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

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

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

  • UNKNOWN is returned when the actual reason for the error isn't exposed by the API version being used.

  • This error is commonly encountered across various Ad Manager services, like UserService, AdRuleService, AdjustmentService, etc.


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.