How to randomly show interstitial ad without using clock

Hi everyone,

Is it possible that when any user clicks on a button then we use some blocks to pick any random number for example between 1 to 5 & then if random number picked = 2 then show interstitial ad.

I saw this type of logic in one of the post in this community but I didn’t understand so is it possible? If it is then please help me choosing the right blocks for it… & by the way is this method safe if I want to publish my app on playstore?

When button clicked
set local variable to random integer from 1 to 5 or your desire

If this variable = 2
Then - show the ad
Else - do yhe rest


Thank you again :blush: btw is this method safe for my app if I want to publish it in playstore?

1 Like

Of course…

1 Like

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