About HTML5 for Universal App campaigns

HTML5 assets capture the attention of app users in a unique way by being interactive and entertaining. This article describes where HTML5 assets can appear and the sizes and formats you can upload for your Universal App campaign.

Where and how your ads may appear

Your HTML5 assets may be paired with other assets such as your app icon, app description, or description text when they are displayed on the Google Display Network. Universal App campaigns respect your account settings regarding any exclusions you’ve set for webpages and apps. Learn about how you can exclude webpages and apps.

HTML5 sizes and formats

Before you create a Universal App campaign, consider the following tips for creating your HTML5 assets:

If you want to make sure users can click only on your call to action button (for example, “Download”), follow these instructions to include the exitapi.js script. If you don't include the exitapi.js script, AdWords will make your entire asset clickable.

Instructions

Include the following script in your HTML <head> tag: <scripttype="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: