Hi ,

This is Fan assisting you on Nadine's behalf as she's on vacation.



1. As Nadine mentioned, you can download media images on the AdWords API if you 
do a query with Media.Image.urls field. If possible, I would recommend using 
the AdWords API to get this information and attached is a Java code sample.



2. In the Google Ads API, this field(image url) is not yet available. We will 
prioritize but there is not a timeline of when it will be available. You can 
watch our release notes for a future release when we may add it.


Besides, if you issue an GAQL like below, a "PROHIBITED_FIELD_IN_SELECT_CLAUSE" 
error is returned which means reading MEDIA image data directly is not 
supported. a.k.a it's impossible to download media image via Google Ads API in 
the interim.




SELECT media_file.resource_name, media_file.type, media_file.source_url, 
media_file.file_size, media_file.image.data FROM media_file





3. On the Google Ads API, most ad formats have migrated to image ASSET instead 
of image MEDIA, e.g. the Responsive Display Ad and App Ad. Please checkout the 
code samples about how to upload and read image and video assets, and attach to 
the newly created ads.


Thanks and regards

Fan, Google Ads API Team
ref:_00D1U1174p._5001UOEI65:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/-gbBB000000000000000000000000000000000000000000000Q341VD00TuIMmHsiTY2n3-fBVWR3FA%40sfdc.net.

Attachment: MediaService.java
Description: application/java-source

Reply via email to