HTML, CSS and JavaScript are supported, but to make sure your code does not conflict with any publisher code please refrain from using <iframe> tags. Since the ad code will be minified to one line, semicolons must be used to separate statements, and JavaScript comments must be closed; /* comment */ (i.e not closing a comment will result in all code after it being commented out).

  Click Macro

To track clicks make sure you include the Widespace click macro; WS_DYN_INS_LINKURL.
You can either use the Widespace click macro on its own and provide us with your URL, or you can make the click macro redirect to your URL by adding a GET parameter named “url” with an encoded URL value, see example code. Setting target to top ensures that your landing page does not open in any iframes.

<!-- Use Widespace click macro (WS_DYN_INS_LINKURL) and send us your URL -->
<a href="WS_DYN_INS_LINKURL" target="_top">Click Here</a>

<!-- Use Widespace click macro (WS_DYN_INS_LINKURL) with encoded URL -->
<a href="WS_DYN_INS_LINKURL&" target="_top">Click Here</a>


For your ad to support all device widths and orientations, make sure your ad is responsive / scalable by setting all sizing and positioning in percentage (%). See ad format ratios on separate format specifications. Make sure your code supports HTTPS.

All code (HTML, CSS, JavaScript) should be delivered in one single HTML-file.

Please send your code no later than 6 working days before the campaign start to

Was this article helpful to you?

L:3 | D:5