enum ApiVersionError.Reason (v202502)

  • The content provides a list of various services available, each linked to its respective API reference documentation for version v202502, and indicates that these services can return an ApiVersionError.

  • The ApiVersionError.Reason enumeration defines possible reasons for this error, including UPDATE_TO_NEWER_VERSION and UNKNOWN.

  • The UPDATE_TO_NEWER_VERSION reason suggests that the attempted operation requires a newer API version than the one used in the request.

  • The UNKNOWN reason is used when the actual error reason is not exposed by the API version being requested.


Namespace
https://www.google.com/apis/ads/publisher/v202502
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.