enum ApiVersionError.Reason (v202411)

  • This page provides information on the ApiVersionError.Reason enumeration within Google Ad Manager's API.

  • ApiVersionError.Reason helps to identify issues related to the API version being used, such as using an outdated version for a specific operation.

  • It defines two possible reasons: UPDATE_TO_NEWER_VERSION for operations requiring a newer API version, and UNKNOWN for cases where the reason is not exposed by the requested 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.