Requirements for third-party banner htm5 ads with adwords

November 11, 2016 - By 

HTML5 ads must include:

  • <!DOCTYPE html> declaration
  • <html> tag
  • <body>tag
  • Ad format size meta tag within the <head> tag. For example:
    <meta name=”ad.size” content=”width=300,height=250″>

All code and assets must be referenced using a relative path to resources included in the .ZIP file. No external references are allowed except references to:

HTML5 ads that are not created in Google Web Designer are, by default, clickable on the entire area of the ad. If you wish to limit the clickable area to specific elements, you will need to include the exitapi.js script.To use exitapi.js, include the following script in your HTML <head> tag:

<script type=”text/javascript” src=”https://tpc.googlesyndication.com/pagead/
gadgets/html5/api/exitapi.js”> </script>

Then make the following JavaScript call to enable your final URL:

ExitApi.exit()For example, send a consumer to the final URL, using a standard anchor:

<a onclick=”ExitApi.exit()”>Learn more</a>

If you don’t include the extiapi.js script, AdWords will make the entire ad clickable, and you won’t need the exit() call.

For ads created in Google Web Designer, you don’t need to add this script.

 

Posted In:  banner html5 feature
0  comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Search

Archives

Blog Categories

Blog Calendar

August 2017
M T W T F S S
« Nov    
 123456
78910111213
14151617181920
21222324252627
28293031