How do I create an AMP HTML5 ad? Any examples?

254 views
Skip to first unread message

Paul

unread,
Jul 26, 2019, 11:05:21 AM7/26/19
to AdWords API and Google Ads API Forum
This blog post suggests using AMPHTML instead of HTML5 ads. I tried to come up with the simplest possible AMPHTML ad to test this out. I used a boilerplate AMPHTML template that passes validation using the HTML5 ad testing tool.  The HTML of the ad is below: 

<!doctype html>
<html ⚡4ads>
<head>
  <meta charset="utf-8">
  <meta name="ad.size" content="width=300,height=250">
  <meta name="viewport" content="width=device-width,minimum-scale=1">
  <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
</head>
<body>Hello, AMP world.</body>
</html>

However, I get this error when trying to upload this content: 

MediaBundleError.INVALID_MEDIA_BUNDLE

Are there any examples of how to create an AMPHTML ad? Am I doing anything wrong here? 

Google Ads API Forum Advisor Prod

unread,
Jul 29, 2019, 2:18:12 AM7/29/19
to adwor...@googlegroups.com
Hi Paul,

Based on the blog post you provided, could you confirm if my understanding is correct that you are encountering issues when uploading HTML5 ads and now you are considering instead to upload AMPTHML ads?

If my understanding is correct, my apologies as creation of AMPHTML ads is out of our scope already and with this reason, you can post your concern on Google Ads Community forum as they are more equipped to provide support on product level related questions.

As for the HTML5 ads, could you provide more details such as the SOAP request and response logs if you are indeed encountering issues when creating them?

Regards,
Ejay
Google Ads API Team

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