enum ApiVersionError.Reason (v202502)

  • The ApiVersionError.Reason enumeration is used to indicate errors related to the API version used in a request.

  • The UPDATE_TO_NEWER_VERSION reason signifies that an operation is not permitted in the current API version.

  • The UNKNOWN reason is returned when the actual value is not accessible in the requested API version.


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.