Plugin ADS CocoonJs for Construct 2

Discussion and feedback on Construct 2

Post » Tue Jan 28, 2014 3:31 pm

But a good tutorial for Construct+AdMob+MoPub... not? It is impossible to know if It need download a plugin ads di CocoonJs for C2 or if there really!!!
B
6
S
1
Posts: 33
Reputation: 535

Post » Tue Jan 28, 2014 4:09 pm

there is only bad tutorial:

https://www.scirra.com/tutorials/781/how-to-setup-admob-ads-on-construct-2-mopub-cocoonjs
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Tue Jan 28, 2014 4:31 pm

Oh Well... and Where Do I download the plugins ads cocoojs for Construct 2?
B
6
S
1
Posts: 33
Reputation: 535

Post » Tue Jan 28, 2014 5:55 pm

It's already part of the CocoonJS object in Construct 2, you don't need to download it.
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,727

Post » Tue Jan 28, 2014 5:58 pm

it's actually not too bad to set up, the tutorial szymek posted should get you through
B
63
S
12
G
6
Posts: 456
Reputation: 8,985

Post » Tue Jan 28, 2014 7:07 pm

You have to insert a few lines of code? For example here it is not clear if you have to put the Id of the publisher or the ad unit Id (web site MoPub)



In addition, proceeds from where the ad unit Id created on MoPub to insert it here (Cocoonjs):

B
6
S
1
Posts: 33
Reputation: 535

Post » Tue Jan 28, 2014 11:55 pm

Between the tutorial and the documentation on the MoPub site you should be able to work it out pretty easily.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,603

Post » Wed Jan 29, 2014 4:00 am

Publisher ID from AdMob goes into mopub (your first screenshot).

The mopub adunit goes into the Cocoon Cloud Compiler.
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,727

Post » Wed Jan 29, 2014 6:05 am

Yeah thanks for the tutorial I got it to work flawlessly.. using CocoonJS trigger to disable ads during gameplay but have it display only in menus etc.

https://play.google.com/store/apps/details?id=com.anhhuyphan.ninjalegacy&hl=en

Tip for someone doing something like this, if you trigger hide ad banner with "on start of layout", it will hide it.. until the ad refreshes itself (30 to 60s) then it pop up again.

Need to use an actual trigger: CocoonJS "on ad shown", hide it so it repeats itself whenever the ad refreshes and auto hide.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Wed Jan 29, 2014 6:23 am

@Silverforce

little off-topic: did you put ads in Chrome Webstore version? if yes what kind (AdSense?) and how
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 14 guests