enum ApiVersionError.Reason (v202411)

  • This documentation details the ApiVersionError.Reason enumeration for the CreativeWrapperService in Google Ad Manager API.

  • ApiVersionError.Reason provides context for errors related to the API version being used, like operations not allowed in the current version.

  • Two possible reasons are outlined: UPDATE_TO_NEWER_VERSION and UNKNOWN, indicating either a need for version update or an unrecognized error.


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.