Manager mopub ads via cocoonjs

Discussion and feedback on Construct 2

Post » Sat Nov 03, 2012 7:44 am

I have a game about to release on google play, but i can't get mopub banner show up after compile using ludei cloud system, i'm ludei's premium user and i have permission to use Ads extentions, but i don't understand how to work with it... Anyone in our forum used to get the job done well please advise me.
B
50
S
12
G
7
Posts: 259
Reputation: 10,371

Post » Sat Nov 03, 2012 8:11 am

Embed the cocoon ad object in your game and create the action 'on ad available' 'show ad size xxx at position yyy'. Then in the cloud compiler modify the example json code and add your mopub id. Ads take a few minutes to show at first. That's all I did.
B
31
S
11
G
7
Posts: 197
Reputation: 6,682

Post » Sat Nov 03, 2012 8:20 am

Okay, i forget to add the action " on ad avaiable", i'll try again and tell you if it's work.
Thank you verymuch @AndyWatson :X
B
50
S
12
G
7
Posts: 259
Reputation: 10,371

Post » Sat Nov 03, 2012 10:27 am

@Andywatson, i use event "onstart of layout" > on ad available > show banner... And edit the json like this.

{
    "moPubFullscreenUnitAndroid": "@@@@@@@@@@@@@DQsSBFNpdGUY-_i_Fgw",
    "moPubBannerUnitAndroid": "@@@@@@@@@@@@@@@DQsSBFNpdGUY-_i_Fgw"
}

Is this correct ??? In my mopub account , i find " code integration" , enter it and it's show "Ad Unit ID", i'm copy and paste it's in json.

Can you advise me a little bit detail :)) farsmile902012-11-03 10:28:15
B
50
S
12
G
7
Posts: 259
Reputation: 10,371

Post » Sat Nov 03, 2012 1:19 pm

You might want to ask Ludei about this, or ask on their forums, since the question is to do with their system.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610

Post » Sat Nov 03, 2012 6:02 pm

@farsmile90 yes, that's correct, though my ads aren't showing on a new app I built in Cocoon today for some reason. Mopub's website security certificate expired today(!?), so I don't know whether that's connected...
B
31
S
11
G
7
Posts: 197
Reputation: 6,682

Post » Sat Nov 03, 2012 6:18 pm

sorry @ashley and thank @AndyWatson, i'll mail for you if i'm get stuck or try to contact ludei, And the mopub website getting error today, i think it's a reason ads won't show.
B
50
S
12
G
7
Posts: 259
Reputation: 10,371

Post » Fri May 03, 2013 11:32 pm

I don't see the "on ad available" condition available anymore, is this something that has been removed?
B
57
S
10
G
6
Posts: 455
Reputation: 8,530

Post » Thu Nov 21, 2013 11:45 am

i have done everything but stuck to one thing........sorry but can anyone tell me where is the JSON configuration??? mopub or in cocoonjs cloud compiling tool??? where i have to add the code
B
5
Posts: 49
Reputation: 323


Return to Construct 2 General

Who is online

Users browsing this forum: shinichild and 12 guests