enum ApiVersionError.Reason (v202411)

  • This page documents the ApiVersionError.Reason enumeration for the Google Ad Manager API.

  • ApiVersionError.Reason provides two reasons for errors: UPDATE_TO_NEWER_VERSION and UNKNOWN.

  • UPDATE_TO_NEWER_VERSION signals that the requested operation isn't supported by the API version used.

  • UNKNOWN indicates that the specific reason for the error isn't revealed in the requested API version.


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