enum ApiVersionError.Reason (v202411)

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

  • It includes reasons like UPDATE_TO_NEWER_VERSION for operations not allowed in the requested version.

  • UNKNOWN is returned if the actual reason is not exposed by the API version.

  • 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.