enum ApiVersionError.Reason (v202411)

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

  • ApiVersionError.Reason helps to identify issues related to the compatibility of the requested operation with the API version being used.

  • Two specific reasons are detailed: UPDATE_TO_NEWER_VERSION, signifying that the operation isn't supported in the requested API version, and UNKNOWN, indicating an unrecognized error within the given API 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.