How do I put ads in my game

Get help using Construct 2

Post » Mon Jun 16, 2014 5:34 pm

I'm using CocoonJS to export to Google Play. I tried to use the tutorial by Andreas which uses AdMob and MoPub. But when I launch my game (using ludei's game testing app on android) the ad doesn't show up.

1. Do I need to compile an APK and sign it / zipalign it to make it work? Or should it work by directly playing the .zip file using Ludei's testing app?

2. Will the ads show on a game which is not published on Google Play but is in beta release in Google Play Console?

3. Also, can you just explain how to add events for full screen ads?
Like:
Mainmenu event sheet
When touched Play -> Go to Layout Ads

Layout Ads Event Sheet
In in CocoonJS -> show full screen ad
System: Wait 5 sec
Go to Layout "Start Game"

Should it work? I want it so that when player touches Play he is shown a full screen ad for 5 sec then he is redirected to the main game.
B
10
S
2
Posts: 79
Reputation: 1,122

Post » Tue Jun 17, 2014 4:20 pm

Anyone?
B
10
S
2
Posts: 79
Reputation: 1,122

Post » Tue Jun 17, 2014 4:28 pm

1. Do I need to compile an APK and sign it / zipalign it to make it work? Or should it work by directly playing the .zip file using Ludei's testing app?

You only need to compile it to APK using Cocoon JS
Dont forget to set it to 1.4.7 compiler since 2.0 is not working
Also, don't minify it


2. Will the ads show on a game which is not published on Google Play but is in beta release in Google Play Console?
From my experience, the ads only showing up in the compiled APK

3. Also, can you just explain how to add events for full screen ads?
Like:
Mainmenu event sheet
When touched Play -> Go to Layout Ads

Layout Ads Event Sheet
In in CocoonJS -> show full screen ad
System: Wait 5 sec
Go to Layout "Start Game"

Should it work? I want it so that when player touches Play he is shown a full screen ad for 5 sec then he is redirected to the main game.

Theoritically, it will work
B
8
S
2
Posts: 203
Reputation: 1,169


Return to How do I....?

Who is online

Users browsing this forum: David181, OBLIVION, tarek2 and 18 guests