AI-generated Key Takeaways
-
The
image ad
includes fields describing the mime type, pixel dimensions, and URLs for both the full size and preview images. -
It also contains fields for the name of the image and a union field
image
for specifying the image data or an existing image asset. -
The
image
field allows you to use animage_asset
, raw imagedata
as bytes, or copy from another ad usingad_id_to_copy_image_from
.
An image ad.
Fields | |
---|---|
|
The mime type of the image. |
|
Width in pixels of the full size image. |
|
Height in pixels of the full size image. |
|
URL of the full size image. |
|
Width in pixels of the preview size image. |
|
Height in pixels of the preview size image. |
|
URL of the preview size image. |
|
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. |
Union field
|
|
|
The image assets used for the ad. |
|
Raw image data as bytes. |
|
An ad ID to copy the image from. |