Enable Ads In Unity!

addam davis
3 min readDec 28, 2021


Objective: Set up ads for our game!

Ads are a good way to add some revenue to your game, so long are you are responsible with your implementation. In this tutorial I will show you how to implement ads into your game.

To begin, create a button on the shop panel that says “Click here for 100G”

We are going to make it so when the player selects this an ad will play and when finished reward the player with in-game currency. But don’t worry about that for now.

For now, we need to enable ads. To do this navigate to the service panel. Window > General > Services

Toggle ads on. Unity will as kif this is targeted to kids under 13. For me, that’s a no.

Enable test mode and built-in ads extension.

Select ‘Go to Dashboard’ this will open a web page on the unity site that is going to have your project name and your app. In this page you can monitor and track the performance of your ads.

Select ad units under monetization and under platform select android.

There are 3 types of ads by default. Rewarded (this is what we are going to focus on), interstitial, and banner. Under the rewarded ad you see an ID. It is very important to pay special attention to this. when we use this id later it will need to be an exact copy of the ID.

We need to create an ads manager and ads initializer scripts as well as an empty object to hold those scripts.

This is where we will break for now. We learned how to enable ads for our games, next we will cover the coding involved to load ads, track ads, and reward the player. I’ll see you in the next tutorial!