enum ApiVersionError.Reason (v202411)

  • This documentation details the ApiVersionError.Reason enumeration within the Google Ad Manager API.

  • ApiVersionError.Reason provides specific reasons for API version errors, such as needing to update to a newer version.

  • Two potential reasons are listed: UPDATE_TO_NEWER_VERSION and UNKNOWN, indicating an outdated request or an unspecified error.

  • This enumeration helps developers understand and troubleshoot version compatibility issues when interacting with the Ad Manager API.


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.