enum ApiVersionError.Reason (v202411)

  • This page provides an overview of the ApiVersionError.Reason enumeration within the Google Ad Manager API.

  • ApiVersionError.Reason helps to identify issues related to the API version being used, such as incompatibility with the requested operation.

  • Two possible reasons are listed: UPDATE_TO_NEWER_VERSION, indicating the need for a newer API version, and UNKNOWN for unspecified cases.


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.