> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v24** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/reference/rpc/latest/ShareablePreviewService).

Service to generate Shareable Previews.

Only Performance Max asset groups and certain YouTube video/audio ad formats are supported. Other ad types, such as Responsive Search Ads or Responsive Display Ads, are not supported and return an `UNSUPPORTED_AD_TYPE` error.

By default, the generated preview URLs cannot be embedded in an iframe because the response headers include `X-Frame-Options: deny`. Embedding in an iframe is only supported for allowlisted domains when the `origin` query parameter is appended to the preview URL.

[Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v24/services/shareable_preview_service.proto)
The following methods are available for this service:

- [GenerateShareablePreviews](https://developers.google.com/google-ads/api/reference/rpc/v24/ShareablePreviewService/GenerateShareablePreviews.md.txt)