enum ApiVersionError.Reason (v202411)

  • The SuggestedAdUnitService helps manage suggested ad units within Google Ad Manager.

  • ApiVersionError indicates an issue with the API version used in the request.

  • ApiVersionError.Reason further clarifies the error, such as needing to update to a newer API version or encountering an unknown issue.

  • The namespace for this service is https://www.google.com/apis/ads/publisher/v202411.

  • This documentation provides details on the ApiVersionError.Reason enumeration for the SuggestedAdUnitService in Google Ad Manager.


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.