Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / New AdMob Interface

Author
Message
Funnell7
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 3rd Sep 2013 12:07
Has anyone created and successfully displayed ads using the new AdMob Interface? I have a sneaky feeling something has changed and an update will be required by Paul...

It works fine for all Ad Units which were transferred over from the legacy interface, but I cannot get any new Ad Units to work. It looks like they have changed the way you call the Ad Unit from within your app, i.e.

New Publisher ID: ca-app-pub-164746815*******/177*******
Legacy Publisher ID: a151cc07*******

I have tried several combinations of the new ID but nothing seems to work. Has anyone else had any success?
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 3rd Sep 2013 14:52
When did it change? I created a new admob ad a couple of days ago and that works ok

Funnell7
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 3rd Sep 2013 15:04
It changed a while ago... Whats the URL for AdMob that you use? Is it admob.com or apps.admob.com (the latter is the new one)? Would you also mind sharing what you have in SetAdmobDetails().

Thanks!
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 3rd Sep 2013 16:50
I have it working just fine on Android and iOS, and even integrated iAds with it (Tier 1) for iOS. You do have to update the Admob framework manually so it supports the latest features. I wrote a full guide on the topic not too long ago:

http://forum.thegamecreators.com/?m=forum_view&t=207370&b=41
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 3rd Sep 2013 17:02 Edited at: 3rd Sep 2013 17:04
The url is https://apps.admob.com/#home, and my SetAdMobDetails() are in the newer format.



I've made no updates to anything, I simply wrote it with beta 18 and compiled it to Apk using TGC's online tool.

I did have to force it to refresh the advert for it to display on my Android 2.3 device. Otherwise it took several minutes to appear.

Funnell7
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 3rd Sep 2013 17:40
Doh

I tried these scenarios;

SetAdMobDetails("45788xxxxxxxxxxx")
SetAdMobDetails("xxxxxxxxxx")
SetAdMobDetails("457883xxxxxxxxxx/xxxxxxxxxx")

But didn't think to try with the ca-app-pub bit also... Thanks so much Prof, that's all I needed to know...
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 3rd Sep 2013 18:12

Login to post a reply

Server time is: 2024-05-09 04:03:32
Your offset time is: 2024-05-09 04:03:32