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

The following methods are available for this service: