enum StringLengthError.Reason (v202411)

  • The StringLengthError.Reason enumeration, within the https://www.google.com/apis/ads/publisher/v202411 namespace, defines reasons for string length errors in Google Ad Manager API.

  • This enumeration includes reasons such as TOO_LONG, TOO_SHORT, and UNKNOWN to indicate if a string value exceeds the maximum length, is shorter than the minimum length, or if the reason is undetermined in the current API version.

  • Various Google Ad Manager services, including AdRuleService, AdjustmentService, and AdsTxtService, utilize this enumeration to provide specific error information when string length constraints are violated.


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.