enum ApiVersionError.Reason (v202502)

  • The provided content lists various services available through the Ad Manager API, including services for managing ads, audiences, content, creative assets, and more.

  • It details the ApiVersionError.Reason enumeration, which indicates why an API request might fail due to versioning issues or an unknown error.

  • The UPDATE_TO_NEWER_VERSION reason suggests that the requested operation is not supported in the API version used, requiring an update.

  • The UNKNOWN reason is used when the actual error value is not exposed in the specific API version being utilized.


Namespace
https://www.google.com/apis/ads/publisher/v202502
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.