Summary
With that, we’ve got a good foundation of how to add ads to our game. Hopefully, you can see how easy it is to implement and can think of new ways to engage players to have the best experience possible. Over the course of this chapter, we discovered how to set up Unity Ads. We then saw how we could create simple ads and learned how to react to the player’s actions by implementing the IUnityAdsShowListener
interface. Afterward, we saw how we can add rewards for players using opt-in advertisements in the game, and we added a cooldown to the system to make the game less annoying for players. With these newly acquired skills, you should be able to add advertisements and gain additional revenue from your own games that you create in the future.
Important note
By default, ads should be in test mode. It is against Unity Ads’ terms of service to distribute live ads to beta testers. If they were to click on or install any of the advertised games, their activity...