Hello Everyone,
Please help me with advice / best practice for html5 ad development. I have been trying to find some "summ-up post" showing "what goes where", but could not find any, I appologize.
My trouble:
I convinced the client to move from swf to html5 banners, followed Chris Gannon's example and developed html5 ads for Google AdWords.
When uploading the ads data, client got the error: "Uploaded ad includes html5 code we can not approve: script. Please …"
The error call is not very helpful for me, I don't see clearly where to fix this.
I am using svg file, hosted image, GSAP TweenMax,
I followed google image ads guidelines, wrapped svg in html file, then put svg, minified TweenMax.js and html file in *.zip
Here is code I use for html wrapper:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="ad.size" content="width=300,height=250">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>IDSYS</title>
<style>
.banner {position: relative}
.banner300x250{width: 300px; height: 250px}
.banner120x600 {width: 120px; height: 600px}
.banner160x600 {width: 160px; height: 600px}
.banner728x90 {width: 728px; height: 90px}
</style>
</head>
<body>
<object type="image/svg+xml" data="IDSYS_a300x250.svg" class="banner banner300x250">
<!-- <param id="clickTag" value="www.idsys.cz" /> -->
</object>
</body>
</html>
sample zip with SVG, html and js files attached to this post:
IDSYS_a300x250.zip
If anyone could find some time, please help.
Best wishes,
kuba