How can I control the appearance of unity ads ?

Hi, I have added unity ads to my game so they appears when the game is over. It’s working fine so every time the player lose, the ads is shown. But I feel that will be a little bit boring for players and I want the ads to be shown when the player loses twice or three, but I don’t know how. So I need your help.

use userprefs to save/update total games played.

to play every 3 games, something like this… (pseudo code)

if (gamesplayed % 3 == 0) playad()

1 Like