[Solved] How can I randomize when an interstitial ad is displayed?

hello
im creating a database app that leads to a single info screen and would like to put an interstitial ad there. However I don’t want it to pop up every single time they go to the screen just every 3 or so times.Does anyone know of a way to code that
thank you in advance

Pick a random number between 1 and 100. If it’s less than 34 then show the ad.

this is what i ended up doing and it seems to work fine

1 Like

That’s fine too. It basically the same thing, as long as the number is less than or equal to a third.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.