enum ApiVersionError.Reason (v202505)

  • The content lists numerous Ad Manager API services and their associated ApiVersionError reasons.

  • ApiVersionError can occur if an operation is attempted in an unsupported API version or if the actual error reason is not exposed by the requested version.

  • The ApiVersionError.Reason enumeration defines specific reasons for these errors, including UPDATE_TO_NEWER_VERSION and UNKNOWN.


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.