How do I get interstitial ads not to show up every time?

Get help using Construct 2

Post » Sun Sep 11, 2016 12:54 am

Hi, I want to put interstitial ads when the player dies but I don't want them to pop up every time it happens.
B
8
S
3
Posts: 8
Reputation: 622

Post » Sun Sep 11, 2016 1:19 am

What in the game will determine if it appears? If it's just randomly then you can set a global variable to a random number in a range and if it's a particular number or range then display the interstitial ad.
B
46
S
16
G
74
Posts: 2,089
Reputation: 44,187

Post » Mon Sep 12, 2016 5:16 pm

Global variable: Interstitial=0

When player dies > set interstitial=choose(0,1,2,3,4)
(This will have 1 out of 5 chance to display ad)

If interstitial=1 > show ad
B
9
S
2
Posts: 76
Reputation: 739

Post » Tue Sep 13, 2016 5:15 pm

Thanks, but I have another problem. I wasn't able to see the ads through test mode.
B
8
S
3
Posts: 8
Reputation: 622

Post » Tue Sep 13, 2016 8:28 pm

Have you added the proper IDs to the C2 admob plugin ?
B
9
S
2
Posts: 76
Reputation: 739


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests