download ads image error code 400

14 views
Skip to first unread message

Will Yun

unread,
Aug 8, 2019, 3:33:36 AM8/8/19
to AdWords API and Google Ads API Forum
I want to download ad images using the url https://tpc.googlesyndication.com/pageadimg/imgad?id=xxx,but it does not work, it return 400 bad request,  how can i download the ad images not only the id but the really image file?

Google Ads API Forum Advisor Prod

unread,
Aug 8, 2019, 6:40:43 AM8/8/19
to adwor...@googlegroups.com
Hi Will,

Thank you for contacting support.

Could you confirm if you wish to get the downloadable image URLs of your account? If yes, then you can use the MediaService.get() to get the sourceUrl of all the Image Media. You can refer to this sample code (also available in different languages) on how to do so.

You may also use the AssetService.get() which will return all the image assets. You may refer to this sample code (also available in different languages) on how to use this service.

If this does not address your concern, could you further elaborate your issue so I can better assist you?

Regards,
Dannison
Google Ads API Team

ref:_00D1U1174p._5001UEILWp:ref
Reply all
Reply to author
Forward
0 new messages