enum ApiVersionError.Reason (v202505)

  • The page lists numerous Ad Manager API services and their associated ApiVersionError, indicating potential issues with the API version used in requests.

  • ApiVersionError.Reason provides specific details when an API version issue occurs, such as requiring an update to a newer version or encountering an unknown error.

  • The UPDATE_TO_NEWER_VERSION reason signifies that the requested operation is restricted in the current API version.

  • The UNKNOWN reason is used when the actual error value is not exposed by 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.