HTML5 banner ads - Double Click


When it comes to publishing the assets for double click there is a few things you need to do. This is a useful resource - How to prepare HTML5 assets for DCM

Preparing your links

// this needs to be in the head
<script type="text/javascript">var clickTag = ""; </script>

// the href of the links to your site need to have this js snippet instead of the hard coded link to your ad target
<a href="">
  <img src="images/dclk.png" border=0>

Hosting the js animation libraries

Double click do not let you link to js cdn files you need to use there hosted versions.

DoubleClick hosted JavaScript libraries

Dimensions of ad

The dimensions of the add need to be added as a meta to the head.

  <meta name="ad.size" content="height=0,width=0">


The script tag for double clicks enabler also needs to be added.

  <script src=""></script>