TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Admob banner ads still not showing well?!
Pages:
1
Admob banner ads still not showing well?!
Neotron
Posts: 475
March 03, 2017, 06:41:18 am
I tried STencyl latest and older versions but admob banner ads usually only show when i unfocus the game (presss mobile home button) and press again to reenter the game.
Any idea why is this bug on certain mobiles and tablets? This bug exists with the old Admob estension too. (I think that was implemented so now built in admob also bugged).
It is really annoying because half of the time admob banner not show well, so users cannot see it, so cannot click on it and that.
Maybe the bug is that if we use "Show Admob banner" block before the banner really loaded the banner not show at all until I refocus the game.
But If I wait many seconds after the game start and only after use the block admob banner show well.
So the block doesn't recognize the ad loaded or not meantime.
« Last Edit: March 03, 2017, 07:33:13 am by Neotron »
stefan
Posts: 2263
March 03, 2017, 09:16:29 am
Banners always take a couple of seconds to load. So it might just be a coincedent that they only appear after reopening the game.
Neotron
Posts: 475
March 03, 2017, 09:26:57 am
No, not a coincedent, I tried many times with different time intervals , banner was already loaded long time ago, but not shown until I reopened the game (android 6.0 I don't know is matter or not).
robinschaafsma
Posts: 714
March 04, 2017, 04:12:02 am
try to put the showbanner block inside the "when the banner ad area loads" event.
This will show the banner when it's loaded after initialize
https://byrobingames.github.io
Issues? Create an issue on
https://github.com/byrobingames
Neotron
Posts: 475
March 04, 2017, 08:50:35 am
Ok, thank you. This way working fine.
stefan
Posts: 2263
March 05, 2017, 11:18:07 am
This is what I am using now and it loads the banners instantly:
(In a preloader scene)
When created
- Initialize Admob ads with app ID ....
- Reinitialize Admob banner
- DO AFTER 3 SECONDS
(3 seconds was as low as I could go. Lower will result in the banner not showing up instantly in the next scene)
- - Switch to next scene ...
(In the next scene)
When created
- Show Admob banner ad
stefan
Posts: 2263
March 05, 2017, 12:20:19 pm
@robinschaafsma would you have an explanation why your example does not work for me, while it seems to be working fine for Neotron? I tried to include it into my mobile game kit, but using your example, I get the same problem as Neotron where the banners only show after I re-focus on the game.
Edit: yes, the boolean is set to True btw.
Neotron
Posts: 475
March 06, 2017, 01:14:32 am
Oh, very clear TheIndieStation. Thank you for the help!
Btw, "when the banner ad area loads" method only working for me if I use after 10-15 seconds after the game launch if i use before it is not working..somehow banner ad not showing anymore in the game(only after refocus) if i try to show it before the load.
stefan
Posts: 2263
March 06, 2017, 02:53:08 am
It does not work me me neither unfortunately, so i am beginning to think its a Bug, considering they load instantly with my previous example.
1MrPaul1
Posts: 1285
May 04, 2017, 07:47:46 am
is anybody was able to resolve it?
ads showing for me only if close and reopen the game
Neotron
Posts: 475
May 07, 2017, 12:15:21 am
Well, the TheIndieStation method working for me:
"When created
- Initialize Admob ads with app ID ....
- Reinitialize Admob banner
- DO AFTER 3 SECONDS (3 seconds was as low as I could go. Lower will result in the banner not showing up instantly in the next scene)
- - Switch to next scene ..."
(In the next scene)
When created
- Show Admob banner ad
Sometimes I put the Show Admob banner ad in the third+ screen just in case.
Pages:
1