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.

Android / Adding banner adds to a game

Author
Message
Meebthenerd
User Offline
Joined: 19th Aug 2018
Location:
Posted: 19th Aug 2018 12:23
I need help. I made a game and want to add a banner app to it. However, I have no idea how to do that and my googling has come up with nothing. Does anyone have a super simple tutorial for an apsolute begininger on how to add banner ads to their AppGameKit game?
Meebthenerd
User Offline
Joined: 19th Aug 2018
Location:
Posted: 19th Aug 2018 12:41 Edited at: 19th Aug 2018 15:33
so far I have this down
SetAdMobTesting(1)
SetAdmobDetails("ca-app-pub-XXXXXXXXXXXXXXXXXXX")
CreateAdvert(0,1,2,0)
SetAdvertVisible(1)

okay so I get this error message now


Failed to create ad, no ad provider details set in main.agc at line 3
smallg
Valued Member
13
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 20th Aug 2018 22:28
looks ok but your code should look like this
SetAdMobDetails("ca-app-pub-xxxxxxxxxxxxxxxx/xxxxxxxxxx")
copy it from the "ad units" page in admob
they will only show up in mobile, not pc (you can test via the agk player on your android)
life's one big game
spec= 4ghz, 16gb ram, AMD R9 2700 gpu
thegamedeveloper
User Offline
Joined: 24th Nov 2018
Location:
Posted: 24th Nov 2018 10:21
Hi Meebthenerd,
I read your nead and undersand too. I would like to suggest the script. you can use and soulve your query Thank You.

Check the Script: [href=Hi Meebthenerd, I read your nead and undersand too. I would like to suggest the script. you can use and soulve your query Thank You. Check the Script: https://developers.google.com/admob/android/banner]https://developers.google.com/admob/android/banner[/href]

Login to post a reply

Server time is: 2018-12-19 00:29:55
Your offset time is: 2018-12-19 00:29:55