How do I get Admobs banner to show up?

Get help using Construct 2

Post » Fri May 27, 2016 10:43 am

Hi all,

Really appreciate any help you can give me here, as I'm tearing my hair out with this. I've put together a game and am trying to get Admobs ads to show up without any luck. I've tried every combination of things I can think of, and the ads won't show up in the .apk.

Here's what I've done so far:

Created Admob account
Created 1 banner and 1 interstitial ad
Added AdmobAds objects to my CS2 project
Copied full ad id codes into relevant fields in AdmobAds object

Set banner to preload when my main game layout starts
Set banner to display once loaded
(I've tried a variety of combinations for this, too, including setting it to display on layout start, setting it to display on first touch, etc - nothing works)

In Intel XDX added AdMob plugin (I've tried pretty much all of those found here: http://cordova.apache.org/plugins/?q=ad ... va-android)

I then build the app, download and run it... and there are no ads anywhere. I've tried with Test Ads set to true and false, I've tried creating a blank project designed to do nothing but load an ad when a button is clicked - none of it works. It's driving me insane. Please... someone... help me!

I'm using Release 227 of CS2 and the latest version of XDX (says 3357 in the top right corner)
B
4
Posts: 7
Reputation: 200

Post » Fri May 27, 2016 10:53 am

Message: Josek5494 can only post plain text URLS until they have 500 rep. 2 URLS modified. Why?
Try with one of these two plugins (C2 and Cordova):

First, completely free: http://tinyurl.com/hcjxmtx

Second, 2% traffic to cordova plugin devs (Liming Xie): http://tinyurl.com/hb2245q
B
19
S
6
G
2
Posts: 260
Reputation: 2,648

Post » Fri May 27, 2016 10:57 am

By the way, if youre using native C2 admob plugin, you can try this plugin in cordova too: cordova-plugin-ad-admob
B
19
S
6
G
2
Posts: 260
Reputation: 2,648

Post » Fri May 27, 2016 11:04 am

I use this plugin in Intel XDK and it works.

cordova-plugin-ad-admob
B
21
S
9
G
8
Posts: 188
Reputation: 6,069

Post » Fri May 27, 2016 11:54 am

Josek5494 wrote:Try with one of these two plugins (C2 and Cordova):

First, completely free: http://tinyurl.com/hcjxmtx

Second, 2% traffic to cordova plugin devs (Liming Xie): http://tinyurl.com/hb2245q


You are an absolute legend, my friend! I replaced the official CS2 AdMob plugin with your first plugin and it all just worked! Thank you so much :)
B
4
Posts: 7
Reputation: 200

Post » Fri May 27, 2016 2:13 pm

Message: Josek5494 can only post plain text URLS until they have 500 rep. 2 URLS modified. Why?
barryhutchison wrote:
Josek5494 wrote:Try with one of these two plugins (C2 and Cordova):

First, completely free: http://tinyurl.com/hcjxmtx

Second, 2% traffic to cordova plugin devs (Liming Xie): http://tinyurl.com/hb2245q


You are an absolute legend, my friend! I replaced the official CS2 AdMob plugin with your first plugin and it all just worked! Thank you so much :)


Nice mate ^^
B
19
S
6
G
2
Posts: 260
Reputation: 2,648

Post » Fri May 27, 2016 7:06 pm

Hey guys. Is it working on iOS too? I heard it only works for iOS on Intel XDK release 2866. Is this true?
Image Image Image
B
31
S
11
G
27
Posts: 748
Reputation: 17,093

Post » Sat May 28, 2016 10:55 am

MPPlantOfficial wrote:Hey guys. Is it working on iOS too? I heard it only works for iOS on Intel XDK release 2866. Is this true?


Works in last XDK update. IOS, Android and Windows Phone.
B
19
S
6
G
2
Posts: 260
Reputation: 2,648

Post » Sat May 28, 2016 5:41 pm

Josek5494 wrote:
MPPlantOfficial wrote:Hey guys. Is it working on iOS too? I heard it only works for iOS on Intel XDK release 2866. Is this true?


Works in last XDK update. IOS, Android and Windows Phone.

Great. Will be trying that out.
Image Image Image
B
31
S
11
G
27
Posts: 748
Reputation: 17,093

Post » Thu Oct 06, 2016 12:51 pm

Josek5494 wrote:Try with one of these two plugins (C2 and Cordova):

First, completely free: http://tinyurl.com/hcjxmtx

Second, 2% traffic to cordova plugin devs (Liming Xie): http://tinyurl.com/hb2245q


I'm having the same issue. I'll give this suggestion a try tonight.
B
9
S
2
Posts: 104
Reputation: 975


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 36 guests