Title says it all. Here is the flow in more detail:
1. Admob "smart_banner" and Chartboost "interstitial" are loaded when app starts.
2. After a certain amount of sprites have been added to the stage the Admob banner is unloaded and trigger Event.AD_DISMISSED. If no sprites are added to the stage this doesn't happen.
3. Once the banner has been dismissed it cannot be shown again without first loading it again.
Notes:
- If no interstitial is loaded the banners work as expected
- If the banner load is delayed to after the interstitial has loaded it works as expected UNTIL the interstitial is shown and dismissed. After this happens it is again unloaded when a certain amount of sprites are added to the stage.
- If Admob test ads are used the banners work as expected
Has anyone seen this before? Could it be that, because the test ads work, this would work in production? Any thoughts on this would be great.
Cheers,
Niclas
Comments
Could that be it?
Likes: ar2rsawseen
Any chance you could share more of your code on this please?
I just found this thread through googling the exact same problem.
Loading an interstitual ad between banners causes the second banner to disappear.
Thanks!!
My guess is that you create a separate instance of Admob for banners and interstitials. Although this would make sense, it doesn't work. Instead you have to use only one instance of each ad network and check whether it's an interstitial or banner when an event is returned.
Likes: Tom2012
Thanks very much Totebo! Working fine now. Making more than one instance of adMob causes weird bugs.
I did come across an issue when showing Applovin banners. The ad refresh would sometimes show a new ad and blank the rest of the screen. The app was running underneath though. I decided to remove Applovin banners as it was only a temporary fix until we get our Admob account issues resolved!!
I've since restructured how I serve ads a few times, and I'm now running a system where I have each network as a separate class, so I can easily load one and when that fails fall back on another network. Another benefit is that I can change the order in which the ad networks load easily, to maximise profit.
I'm using scene manager...
in main.lua:
In my case, I didn't want to change scene after a banner is shown.