enum ApiVersionError.Reason (v202411)

  • The ApiVersionError.Reason enumeration provides reasons for API version errors in Google Ad Manager.

  • UPDATE_TO_NEWER_VERSION signals that the requested operation is incompatible with the API version used.

  • UNKNOWN is returned when the specific reason for the error is not available in 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.