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 / Issues with AdMob in code...

Author
Message
sovr
14
Years of Service
User Offline
Joined: 2nd Jan 2010
Location: USA
Posted: 12th Feb 2016 02:21
Hey everyone! I have been getting back into the coding world of AppGameKit and I have been trying to get the advert feature working... but nothing shows up. Here is my code:



When I start the program, nothing shows up except the black screen with fps showing. I did setup my admit account and app, thanks in advance!
website: http://worksimpleintelligen.wix.com/parkers-apps
facebook: https://www.facebook.com/ParkersApps
youtube: http://www.youtube.com/user/mrsovr
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 12th Feb 2016 08:09
Make sure the SetAdMobDetails number doesn't have any typo's. To test on Android, you'll need to export an APK and install it on the test device (you can't test ads via broadcast as far as I'm aware).
V2 T1 (Mostly)
Phone Tap!
Uzmadesign
Preben
AGK Studio Developer
19
Years of Service
User Offline
Joined: 30th Jun 2004
Location:
Posted: 12th Feb 2016 08:56
I have tested this , and it do display the banner , but if you just created the admob channel , you should wait some time before you test , sometimes it can take many many hours before you can use it.

I also tested using "broadcast" and it do work.

But you should add RequestAdvertRefresh() to your code , so:



best regards Preben Eriksen,
sovr
14
Years of Service
User Offline
Joined: 2nd Jan 2010
Location: USA
Posted: 12th Feb 2016 18:53
Ok so I added the requestAdvertRefresh() along with checking the app id for the advert and nothing still! I tried with interactive and still does not work. I am running a mac using tier 1 running OS X Wl Capitan (10.11.13). I am really confused why this is happening! Again thank you in advance.
website: http://worksimpleintelligen.wix.com/parkers-apps
facebook: https://www.facebook.com/ParkersApps
youtube: http://www.youtube.com/user/mrsovr

Login to post a reply

Server time is: 2024-04-23 10:51:10
Your offset time is: 2024-04-23 10:51:10