Join us
live on Discord on the Google Advertising and Measurement Community server on October 16th! We will discuss the new features added in V22 of the Google Ads API.
ImageAdInfo
Stay organized with collections Save and categorize content based on your preferences.
Fields |
mime_type
| MimeType The mime type of the image. |
pixel_width
| int64 Width in pixels of the full size image. |
pixel_height
| int64 Height in pixels of the full size image. |
image_url
| string URL of the full size image. |
preview_pixel_width
| int64 Width in pixels of the preview size image. |
preview_pixel_height
| int64 Height in pixels of the preview size image. |
preview_image_url
| string URL of the preview size 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. |
Union field image
image . 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: |
image_asset
| AdImageAsset The image assets used for the ad. |
data
| bytes Raw image data as bytes. |
ad_id_to_copy_image_from
| int64 An ad ID to copy the image from. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]