I'm trying to get access to Display Ad images via the Google Ads API. At the moment, my code doesn't seem to be working for certain ads. As near as I can tell from my debugging efforts so far, the issue is that it's not working for HTML5 ads.
Here is the query I'm using :
SELECT
ad_group.name,
campaign.name,
ad_group_ad.ad.responsive_display_ad.logo_images,
ad_group_ad.ad.responsive_display_ad.marketing_images,
ad_group_ad.ad.image_ad.preview_image_url,
ad_group_ad.ad.image_ad.image_url
FROM
ad_group_ad
WHERE
campaign.advertising_channel_type = \'DISPLAY\'
LIMIT
100
For accounts using HTML5 ads, there is nothing returned for any of the last (4) fields. For other accounts, I'm using the "ad_group_ad.ad.image_ad.image_url" field to get the ad image.
What am I missing?