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 / Multiple Adverts

Author
Message
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 17th Jun 2015 16:44
Can I use banner ads, and fullscreen ads in the same game? I want a banner on the main game screen, but a fullscreen interstitial when you go into a particular menu. (I can't get them both to work together for some reason. If the banner is visible, the fullscreen does nothing, but if I comment out the banner add code, the fullscreen works fine).

Thanks!

V2 T1 (Mostly)
Uzmadesign
Funnell7
13
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 17th Jun 2015 16:51
I've thought about this myself, but never tried. Are you trying to have both on screen simultaneously? If not, could you not just set the advert setup details each time you switch between the two?

Using AppGameKit V2 Tier 1
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 17th Jun 2015 17:00
I'll try a few different things tonight to see what works best. I don't want both ads on screen simultaneously, just though I'd ask to see if anyone had already done something similar.

V2 T1 (Mostly)
Uzmadesign
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 18th Jun 2015 01:52 Edited at: 18th Jun 2015 01:53
I'm stuck and I need help!

I've tried deleting advert before calling createfullscreenadvert.

I've tried setting the chartboost details after deleting the banner advert.

I've tried calling createfullscreenadvert and then requestadvertrefresh.

I've tried quite a few things to be honest, but I still can't get both types of advert to work in the same app.

This is really upsetting as I NEED to be able to switch between banner ads and fullscreen interstitials (at a minimum) to successfully monetise my new game. I hadn't even considered not being able to achieve this when I started.

I have wasted two whole evenings of precious development time trying to get these working. I would be SO happy if someone can post a little example of how to do it.

V2 T1 (Mostly)
Uzmadesign
Wilf
Valued Member
18
Years of Service
User Offline
Joined: 1st Jun 2006
Location: Gone to Unity.
Posted: 18th Jun 2015 09:59 Edited at: 18th Jun 2015 10:06
Heres my adverts lib, which works in Pushdown Lite using AGK_V2_14b, Tier 1.



This uses Admob though, I'd suggest using that first before adding setChartboostDetails in the LIBinitAds() function.

Twitter: @itanican
Facebook: https://www.facebook.com/PushdownGame
Website: www.push-down.com
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 18th Jun 2015 12:40
Thanks Wilf. The problem I'm getting is only when trying to swap between admob and chartboost. I will try using just one provider for both ad formats as you have suggested...

V2 T1 (Mostly)
Uzmadesign
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 18th Jun 2015 13:43
Using one provider is working fine, so I will stick with that for now (although the interstitials aren't quite as pretty).

Thanks Wilf! I can move on now! Woohoo!!!

V2 T1 (Mostly)
Uzmadesign
Wilf
Valued Member
18
Years of Service
User Offline
Joined: 1st Jun 2006
Location: Gone to Unity.
Posted: 18th Jun 2015 17:11
Woo!

Twitter: @itanican
Facebook: https://www.facebook.com/PushdownGame
Website: www.push-down.com
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 18th Jun 2015 19:37
If you want to display a Chartboost advert whilst also having AdMob banners you could try clearing out the AdMob details just before showing the fullscreen ad using SetAdMobDetails("") which will ensure the Chartboost details are used. You can then set the AdMob details back again to show banner ads. No need to clear the Chartboost settings as they won't interfere with banner ads.
CJB
Valued Member
20
Years of Service
User Offline
Joined: 10th Feb 2004
Location: Essex, UK
Posted: 19th Jun 2015 02:53 Edited at: 19th Jun 2015 02:59
Fantastic Paul! I'll try that now


...It works! Thank you SO much Paul and Wilf! I owe you both a

V2 T1 (Mostly)
Uzmadesign

Login to post a reply

Server time is: 2024-11-25 21:25:39
Your offset time is: 2024-11-25 21:25:39