enum RequiredNumberError.Reason (v202411)

  • The RequiredNumberError.Reason enumeration describes why a number might be invalid within the Google Ad Manager API.

  • It includes reasons like REQUIRED, TOO_LARGE, TOO_SMALL, along with variations that provide more details.

  • This enumeration is used across various Google Ad Manager services, such as AdRuleService, CompanyService, and others, ensuring consistent error handling for numerical values.

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

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.