enum ApiVersionError.Reason (v202411)

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

  • ApiVersionError.Reason indicates potential errors related to the API version being used for a request.

  • The enumeration includes reasons such as requests needing to be updated to a newer version or encountering unknown errors in the requested API version.

  • Developers can use this information to troubleshoot and resolve issues stemming from API version incompatibility.


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.