enum ApiVersionError.Reason (v202411)

  • This documentation details the ApiVersionError.Reason enumeration within Google Ad Manager's API.

  • ApiVersionError.Reason helps identify issues where the requested operation is incompatible with the API version being used.

  • Two reasons are defined: UPDATE_TO_NEWER_VERSION (operation requires a newer API version) and UNKNOWN (reason not exposed in the current 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.