enum ApiVersionError.Reason (v202411)

  • This page documents the ApiVersionError.Reason enumeration within Google Ad Manager's API.

  • ApiVersionError.Reason outlines reasons for API version errors, such as requests made with outdated versions.

  • Two specific reasons are detailed: UPDATE_TO_NEWER_VERSION and UNKNOWN.

  • This enumeration is part of the broader Google Ad Manager API namespace, enabling programmatic management of ad inventory and delivery.


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.