enum ApiVersionError.Reason (v202411)

  • The provided content focuses on the ApiVersionError.Reason enumeration within the Google Ad Manager API.

  • This enumeration outlines reasons for API version errors, including requests made with outdated versions.

  • Two specific reasons are detailed: UPDATE_TO_NEWER_VERSION and UNKNOWN, indicating the need for version updates or an unrecognized error.

  • The namespace for this enumeration is https://www.google.com/apis/ads/publisher/v202411.


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.