> [!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/ImageAdInfo).

An image ad.

[Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v24/common/ad_type_infos.proto)

| Fields ||
|---|---|
| ## `image` Union field. The image to create the ImageAd from. This can be specified in one of two ways. 1. An existing MediaFile resource. 2. The raw image data as bytes. `image` can be only one of the following: ||
| ### `ad_id_to_copy_image_from` | `int64` An ad ID to copy the image from. |
| ### `data` | `bytes` Raw image data as bytes. |
| ### `image_asset` | `AdImageAsset` The image assets used for the ad. |
| ## `image_url` | `string` URL of the full size image. |
| ## `mime_type` | `MimeType` The mime type of the image. |
| ## `name` | `string` The name of the image. If the image was created from a MediaFile, this is the MediaFile's name. If the image was created from bytes, this is empty. |
| ## `pixel_height` | `int64` Height in pixels of the full size image. |
| ## `pixel_width` | `int64` Width in pixels of the full size image. |
| ## `preview_image_url` | `string` URL of the preview size image. |
| ## `preview_pixel_height` | `int64` Height in pixels of the preview size image. |
| ## `preview_pixel_width` | `int64` Width in pixels of the preview size image. |