enum ApiVersionError.Reason (v202505)

  • The content provides a list of various Ad Manager API services, each linked to its ApiVersionError.Reason documentation.

  • It details the ApiVersionError.Reason enumeration within the CustomTargetingService, specifying UPDATE_TO_NEWER_VERSION and UNKNOWN as possible reasons.

  • UPDATE_TO_NEWER_VERSION signifies that the operation requires a newer API version, while UNKNOWN is used when the actual reason isn't available in the requested API version.


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