enum ApiVersionError.Reason (v202411)

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

  • ApiVersionError.Reason provides context for errors related to the API version being used.

  • The enumeration includes reasons such as needing to update to a newer API version or encountering an unknown error.

  • Developers can use these reasons to troubleshoot and resolve API version-related issues in their Ad Manager integrations.


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.