enum ApiVersionError.Reason (v202505)

  • The content lists numerous Ad Manager API services including AdRuleService, AdjustmentService, AdsTxtService, and many others.

  • A dependency is mentioned, ApiVersionError, which includes the enumeration reasons UPDATE_TO_NEWER_VERSION and UNKNOWN.

  • The UPDATE_TO_NEWER_VERSION reason indicates that an operation is not allowed in the current API version, suggesting a need to upgrade.

  • The UNKNOWN reason is used when the actual value of an ApiVersionError is not available in the requested API version.


Namespace
https://www.google.com/apis/ads/publisher/v202505
Enumeration Description
UPDATE_TO_NEWER_VERSION Indicates that the operation is not allowed in the version the request was made in.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.