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.

Newcomers AppGameKit Corner / Short tutorial in making rewarded video ads work

Author
Message
Midget Blaster
AGK Developer
10
Years of Service
User Offline
Joined: 7th May 2016
Location:
Posted: 12th Apr 2017 17:23
Finally now that it has been added, developers can create more money from their games but allowing the player to watch a video in return for in game Items. Here is an example on how to make this within AGK



Hope this helped someone!
PSY
Developer
9
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 12th Apr 2017 17:51
Thanks !

Since when is there a command SetAdMobTesting()? Can't remember having seen that before...
PSY LABS Games
Coders don't die, they just gosub without return
Midget Blaster
AGK Developer
10
Years of Service
User Offline
Joined: 7th May 2016
Location:
Posted: 12th Apr 2017 18:56
@PSY here is the link to the AppGameKit page that explains it https://www.appgamekit.com/documentation/Reference/Advert/SetAdMobTesting.htm
PSY
Developer
9
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 12th Apr 2017 18:59
Cool, appreciated !!
PSY LABS Games
Coders don't die, they just gosub without return
Midget Blaster
AGK Developer
10
Years of Service
User Offline
Joined: 7th May 2016
Location:
Posted: 12th Apr 2017 19:42
A problem I have with this code though is that 99% of the time GetRewardAdLoadedAdMob() = 0.
JohnnyMeek
13
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 13th Apr 2017 09:24
There's also a demo included with the AppGameKit examples that shows how to use it.
Midget Blaster
AGK Developer
10
Years of Service
User Offline
Joined: 7th May 2016
Location:
Posted: 13th Apr 2017 10:02
@JohnnyMeek Thank you! I was not aware of that. However, I still cannot get an ad to show up
Blendman
12
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 20th Apr 2017 14:47
HI

I guess this isn't working in broadcast mode ?

Because, I have tried and GetRewardAdLoadedAdMob() is always = 0 with my admob ID.
AGK2 tier1 - http://www.dracaena-studio.com
PSY
Developer
9
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 20th Apr 2017 18:15
Hmm...

haven't tried that command in broadcast mode yet

I know the leaderboard has issues when accessing via broadcast
PSY LABS Games
Coders don't die, they just gosub without return
Midget Blaster
AGK Developer
10
Years of Service
User Offline
Joined: 7th May 2016
Location:
Posted: 21st Apr 2017 00:27
Ive had the same problem but it randomly fixed itself, I cant really help with how I made it work. In broadcast mode it works just fine
PSY
Developer
9
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 21st Apr 2017 04:02
@Midget Blaster
You mean you had the same problem with leaderboards?
PSY LABS Games
Coders don't die, they just gosub without return
Blendman
12
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 21st Apr 2017 11:19
Hi
Adverts classic (admob ) and interstitial admob works with boradcast, but not rewards, when I test it with broadcast.
AGK2 tier1 - http://www.dracaena-studio.com

Login to post a reply

Server time is: 2026-06-13 14:50:27
Your offset time is: 2026-06-13 14:50:27