Download HTML5 ad zip file

1,646 views
Skip to first unread message

Wizzard

unread,
Feb 25, 2016, 6:02:47 PM2/25/16
to AdWords API Forum
Morning,

With the API I can get the file name (eg GB-300x600-Apple.zip) however I can't seem to find any server/path information to actually download it.

I want to preview the ads in our application since the API doesn't return a link I can embed I figure I can download the zip and iframe it so show in our app.

With images you can use the ID as the parameter to
which allows you to fetch the image.

ie;
With the API, how can I retrieve the HTML5 ad zip files?

Thanks

Umesh Dengale

unread,
Feb 26, 2016, 9:54:10 AM2/26/16
to AdWords API Forum
Hello,

The AdWords API (v201509 and v201601) can be used to create HTML5 ads. The HTML5 ads can now be added as TemplateAds with templateId 419, and HTML5 media bundles, such as ZIP files containing HTML5 content, can now be uploaded as MediaBundles via theMediaService. Please refer sample SOAP request for creating an HTML5 ad using a ZIP file as the source. Please check out AddHtml5Ad Java example code from the client library. Other languages client libraries example code could be found here.

Thanks,
Umesh, AdWords API Team.

Wizzard

unread,
Feb 27, 2016, 4:24:26 AM2/27/16
to AdWords API Forum
Thanks for the reply.
Once the ad is created, how can I download the zip file again if needed?

Thanks

Robert Rodakowski

unread,
Feb 29, 2016, 3:13:40 AM2/29/16
to AdWords API Forum
When downloading TemplateAd (419), a link to zip file is located in one of template elements (Media.Type' => 'MediaBundle'). Moreover, there is a link to preview, file name, dimensions and more...

Cheers!

Umesh Dengale

unread,
Feb 29, 2016, 12:38:10 PM2/29/16
to AdWords API Forum
Hello,

For HTML5 TemplateAd(419), you could download the zip file using TemplateElementField.fieldMedia. Please check out TemplateElementField document for more details.

Robert- Thanks for your post.
Reply all
Reply to author
Forward
0 new messages