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 / Ad Coding

Author
Message
Jumbly
2
Years of Service
User Offline
Joined: 4th Nov 2015
Location:
Posted: 30th Jan 2017 20:53
In my program I put the following code at the very beginning (obviously edited my details out!)

if AdSupported$ = "Y"
SetAdMobDetails("ca-app-pub-xxxxxxxxxxx/yyyyyyyyyy")
endif

Then, whenever I want to display a full screen ad, I have...

if AdSupported$ = "Y"
ShowFullscreenAdvertAdMob()
endif

Is this the correct way of doing things? Or, should the SetAdMobDetails be just before, and executed before the ShowFullscreenAdvertAdMob?

Thanks
I miss my ZX Spectrum
PSY
1
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 2nd Feb 2017 14:58
Maybe this is helpful:

https://forum.thegamecreators.com/thread/218073
PSY LABS Games
Coders don't die, they just gosub without return

Login to post a reply

Server time is: 2018-01-21 12:07:22
Your offset time is: 2018-01-21 12:07:22