Notification

Get personalised optimisation tips, understand your account health and set up completion on the improved 'My AdMob page'.

Get started

How to test your ads

Test that your ads are working properly with demo ads, test devices or ad inspector. #testads

Testing that your ads are implemented correctly is an important step in your app development. However, publishers may not click on their own production ads, even for testing purposes. Clicking on production ads can result in a policy violation for invalid traffic

During app development and testing, use demo ads or test devices to verify your implementation code without violating AdMob policy.

Demo ads

The quickest way to enable testing is to use the Google-provided demo ad units. With demo ads, you don’t have to create your own ad unit to test your app. The Google-provided demo ad units are not associated with your AdMob account, so there's no risk of your account generating invalid traffic when using these ad units. 


When you use the Google-provided ad unit IDs, demo ads will always fill. The demo ad unit IDs are available on Google Developer for Android and iOS.

Click to view an example demo ad

Example of an Ad Mob interstitial demo ad.

Test devices

Test devices allow you to more rigorously test your implementation code by returning production-looking ads in test mode to your app. You can configure your device as a test device and use your own ad unit IDs that you've created in your AdMob account. 

When you enable a test device, the AdMob Network sends production ads in test mode to your device using the ad unit IDs that you've created in your AdMob account. This lets you safely test production ads and verify your implementation code without violating AdMob’s invalid traffic policy. 

Learn how to set up a test device.   

Was this helpful?

How can we improve it?
true
Show your support to promote DEI in Gaming by turning intentions into action!

Check out the newly launched Diversity in Gaming website, where you can find video stories and written pledges from global gaming developers. This campaign centers on 3 pillars: diverse teams, diverse games and diverse audiences showing how diversity is not just good for gamers, but for business as well. Show your support by taking the pledge to promote DEI in Gaming and share it on social!

Learn More

Search
Clear search
Close search
Google apps
Main menu
17142990839176893102
true
Search Help Centre
true
true
true
true
true
73175
false
false