You Have Been Approved to use H5 Games Ads!

You would be a good candidate for the new H5 Games Ads beta

Your Publisher ID: pub-1234567890
You have been approved to use H5 Games Ads.
Implement H5 Games Ads into your game and benefit from new higher performing formats
Watch a video of the Implementation steps*
* Turn on auto-translated captions to watch the video with captions in your own language
Get started with H5 Games Ads to potentially grow your revenue
Implement H5 Games Ads into your game and benefit from new higher performing formats
Watch a video of the Implementation steps*
* Turn on auto-translated captions to watch the video with captions in your own language
We have approved your application to join the H5 Games Ads Beta as we believe your site would be a good candidate for the new H5 Games Ads beta. The solution provides higher performing formats and increased simplicity.
What is the new H5 Games Ads opportunity?
Your account has been approved for the new H5 Games Ads beta. The beta is a new AdSense product that lets you grow your earnings by showing ads in your HTML5 games. It allows you to integrate the Google Ad Placement API into your H5 Games and shows ads at the best moments for your users.
How do I implement H5 Games Ads into my game?
Here’s a video* to walk you through the implementation process of H5 Games Ads. We’ve also written the implementation steps below.
*make sure you turn on auto-translated captions to watch the video with captions in your own language
Before you start: Make sure you have an active AdSense account and that your domain is approved within this AdSense account. You can check this by going to your AdSense account
Now, to show ads in your H5 Games, you need to follow 3 simple steps:
Step 1: Open your H5 Game in your favorite editor and implement the following code into the head section of the index HTML file:


Make sure you replace "ca-pub-xxxxxxxxxxxxxxxx" with your own Publisher ID
The second line will limit how often we will show an ad (the default is 120s).
The final line loads our Ads By Google Javascript.
Step 2: Next, you need to call adBreak() at natural breaks of the game where you would like ads to display by the ad tag (e.g. next level, game over). This is done inside your game JS file. Look for a good moment in your game (example: at the restart of the game when the "restart" button is pressed) and add the following code there:  

Finally you can upload this to your site.
Important points to look out for:
Make sure you're not using any ad blockers when looking for the ads
Make sure to add any sub-domains to your AdSense account that the game might be on
It can take a few days before we start showing ads.
Watch a video of the implementation steps*
* Turn on auto-translated captions to watch the video with captions in your own language
Watch a video of the implementation steps*
* Turn on auto-translated captions to watch the video with captions in your own language
Was this email useful?
Yes
No
Need help?
AdSense forum
My AdSense help page
 
Get started with H5 Games Ads (beta)  
Google Ad Placement API  
Add the AdSense code to your game page   
 
AdSense forum
My AdSense help page
Follow us
Twitter YouTube Facebook