enum ApiVersionError.Reason (v202411)

  • This page provides a reference for ApiVersionError.Reason within the Google Ad Manager API.

  • ApiVersionError.Reason indicates potential errors due to the API version used in the request.

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

  • Two reasons are currently documented: UPDATE_TO_NEWER_VERSION (operation not allowed in the request version) and UNKNOWN (actual value not exposed by the requested 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.