enum ApiVersionError.Reason (v202508)

  • ApiVersionError is an enumeration with two possible reasons: UPDATE_TO_NEWER_VERSION and UNKNOWN.

  • The UPDATE_TO_NEWER_VERSION reason indicates an operation is not permitted in the current API version, requiring an update.

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


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