enum RequiredNumberError.Reason (v202411)

  • This documentation details the RequiredNumberError.Reason enum within the Google Ad Manager API.

  • RequiredNumberError.Reason is used to explain why a given number value is considered invalid, such as being too large or too small.

  • The enum includes values like REQUIRED, TOO_LARGE, TOO_SMALL, TOO_LARGE_WITH_DETAILS, TOO_SMALL_WITH_DETAILS, and UNKNOWN to indicate the specific reason for the error.

  • The UNKNOWN value is returned if the actual reason for the error is not exposed by the version of the API being used.

  • Developers can use this information to understand and handle number-related errors when interacting with the Google Ad Manager API.

Describes reasons for a number to be invalid.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
REQUIRED
TOO_LARGE
TOO_SMALL
TOO_LARGE_WITH_DETAILS
TOO_SMALL_WITH_DETAILS
UNKNOWN The value returned if the actual value is not exposed by the requested API version.