enum ApiVersionError.Reason (v202411)

  • This page provides information on the ApiVersionError.Reason enumeration, which is used by the Google Ad Manager API.

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

  • It has two possible values: UPDATE_TO_NEWER_VERSION and UNKNOWN, which are explained in the table.

  • These values signal if an operation is incompatible with the requested API version or if the error reason is undefined in that 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.