[IOS/Android] Google AdMob Extension [3.3.7][DEPRECATED]

NeoCHI

  • Posts: 523
What's the best way to avoid lagging ads from showing in the middle of gameplay? http://community.stencyl.com/index.php/topic,41992.0.html

dariolessa

  • Posts: 72
For wich stencyl version works this stension? I have 8398 and not work, thanks.

Blaziken8x

  • Posts: 192
^It should be working on that build. I guess by "not work" you mean that you get an error?
   

dariolessa

  • Posts: 72
^It should be working on that build. I guess by "not work" you mean that you get an error?


Only not show ads.

dtrungle

  • Posts: 1938
Make sure you set it up correctly. Write down your steps and/or show us what you've done.

Also, you should use this admob extension instead of the other one.

dariolessa

  • Posts: 72
This is the screenshot of admob banner, I downloaded the last stencyl version, all works ok but no show ads.

dtrungle

  • Posts: 1938
If you're on Android I think you need the publisher key inside settings for stencyl. If you're on iOS then you'll need to check the logs of the device or use xcode > instruments and check console.

luciasp

  • Posts: 21
Hi!

Fullscreen ads are not showing in the iOS simulator and the banners are showing but i will like to know how to show fullscreen ads in the simulator

thanks!

dtrungle

  • Posts: 1938
Admob doesn't work in the simulator for me. ???

I get banners and inter ads on my device though. There is a block for inter ads.

robinschaafsma

  • *
  • Posts: 714
The test ads does not work on simulator. I only had write the code to test on device.

NeoCHI

  • Posts: 523
It seems like depending on the device, the admob banner's height changes? If this is true, is there a way to get the banner's height?

RulezTeam

  • *
  • Posts: 319
Hi robinschaafsma,

I'm trying to use the condition "when adblock interstitial is cliked", but it seems it doesn't work.

I've upload the code I'm using.

robinschaafsma

  • *
  • Posts: 714
You are using the block incorrect.

Remove the " IF Admob interstitial  ad is cliked"  and anything in it, and put it in the When Updated Event.

RulezTeam

  • *
  • Posts: 319
Thanks robinschaafsma,

but it still doesn't work.
I click on ad, then when I return in my game I must click to close the ad (it's still present) but the condition IF isn't fulfilled.
Why ?

P.S.: I'm on Android
P.P.S.: the if condition is apply on an actor. Is this correct ? Or I must apply it on a scene ?

robinschaafsma

  • *
  • Posts: 714
Hi,

The ad is alway present even if you click the add. Because the ad is not closed.

I see that you are switch scene when you pressed the actor.
Do the following:
- move show admon interstitial to "When Updated" Event in scene "Result" (Not in the IF statement ofcourse)
- set the IF statement when clicked also in the "When Updated " Event in scene "Result", not on the actor, because the actor is disappeared from the scene when you pressed it(switch to scene Result).

Now when the Ad is clicked, IF statement will call.

Hope this helps.
Regards,
Robin