AI-generated Key Takeaways
-
The image ad includes fields for mime type, pixel dimensions (width and height), and image URLs for both full and preview sizes.
-
The ad also has a field for its name, which is derived from the MediaFile name if applicable, or is empty if created from bytes.
-
The image content for the ad can be provided either through existing image assets, raw image data bytes, or by copying from an existing ad ID.
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. |