Admob banner ads still not showing well?!

Neotron

  • Posts: 475
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
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
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
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

Neotron

  • Posts: 475
Ok, thank you. This way working fine.

stefan

  • *
  • Posts: 2263
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
@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
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
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
is anybody was able to resolve it?
ads showing for me only if close and reopen the game

Neotron

  • Posts: 475
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.