enum StringFormatError.Reason (v202411)

  • This page documents the StringFormatError.Reason enumeration, which identifies the cause of string formatting errors in the Google Ad Manager API.

  • The enumeration provides three reasons: UNKNOWN, ILLEGAL_CHARS, and INVALID_FORMAT, indicating an unknown error, illegal characters, or an invalid format, respectively.

  • This error type is used across various Ad Manager services such as AdRuleService, AdjustmentService, AdsTxtService, and many more, as listed on the page.

  • Developers using the Ad Manager API should consult this documentation to understand and handle string formatting errors that may arise during API interactions.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
UNKNOWN
ILLEGAL_CHARS The input string value contains disallowed characters.
INVALID_FORMAT The input string value is invalid for the associated field.