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

offproduction1

  • Posts: 9
Thanks for the attention, i'm using the 8734 build with windows 7. The device is Android.
My game is a platform with 30 levels. I need a banner in every level.
The problem is that when i put an event in the scene:
-when created
-initialize admob ads with...........
-if admob banner did succesfully load
-show banner ads
And i send tha game in the device, i can't see the banner... So i don't know what i have to do!
Thanks for the asnwer

dtrungle

  • *
  • Posts: 1938
Create a 'setup' scene that has the initialize admob block. This scene will be the starting scene, and make sure this scene does not get loaded again. Make sure your ID is correct, and that you choose Test Mode. Now in your level scene just show admob banner. If something is available it will appear.

offproduction1

  • Posts: 9
ok thank you for the help, now the admob works!!

Dieko

  • Posts: 5
Hi there,

After a few of days trying to solve this, with no success, I would like to ask you a question. Thank you in advanced.

I'm trying to add the interstitial ad to an android app, (banner admob works very well) but I still can't figure out what am I missing to make interstitial appear.

I've created two scenes, with the next codes shared in the attachment (SceneEvents_1 is the load Scene). Many thanks.

Edit: I'm on it Robin, thank you very much for your assistance.

« Last Edit: December 17, 2015, 12:53:32 pm by Dieko »

robinschaafsma

  • *
  • Posts: 714
Hi there,

After a few of days trying to solve this, with no success, I would like to ask you a question. Thank you in advanced.

I'm trying to add the interstitial ad to an android app, (banner admob works very well) but I still can't figure out what am I missing to make interstitial appear.

I've created two scenes, with the next codes shared in the attachment (SceneEvents_1 is the load Scene). Many thanks.



Hi,

The code seems OK, is the ID correct? Did you also try in Test Mode

EfrenStudios

  • Posts: 283
Is there a way to safely remove this extension?

I get the app rejected on app store because there some code containing ads.

I use the ads for android, but I remove all the ads functions for ios, and also disabled the extensions and I got all kind of errors because the game is still moving this extension (and also chartboots). 

Is there a way to remove this extension for good?  (terrific extension by the way, I just don't need it for ios :) )
Everything is good if have pixel art on it...

rob1221

  • *
  • Posts: 9448
Did you do Run > Clean Project after disabling the extension?

Konig Studios

  • Posts: 76
Same Problem here even after swapping out latest SDK. Running and testing on iOS video ads.
I've been using this extension and it's otherwise working just fine, but I'm getting reports that the insterstitial ads crash the game. I tried playing on my iPod Touch 4 and when video ad popped up, it didn't fill the entire screen, and was very laggy and the skip timer moved really slowly, when it eventually let me press skip the game crashed. Do you have any solution to this?
i also had those problems and i just unchecked video ads on admob..i just use regular interstitials and i have no crashes.

Ok witch version of AdMob IOS SDK are you using? The latest is 7.5.2.
You can update the framework your self by doing this steps:

•Go to "YOURDOCUMENTFOLDER"/stencylworks/engine-extensions/admob-master/frameworks
 •Delete GoogleMobileAds.framework
 •Download the googlemobileadssdkios.zip Framework from https://developers.google.com/admob/ios/download
 •Unzip googlemobileadssdkios.zip
 •Open the folder you unzipt, and copy GoogleMobileAds.framework
 •Go to "YOURDOCUMENTFOLDER"/stencylworks/engine-extensions/admob-master/frameworks again
 •and paste the GoogleMobileAds.framework you just copied.
 •Run clean project and try to compile



hairyfingers

  • Posts: 110
Hi

can I just check the usage of the 'Show admob interstitial with minimum time' block

I'm unclear what the 2 parameters will do.

is the time intervals entered in seconds or minutes or other?

so lets say it's minutes, if I enter 5 is there a timer set and  each time the block is triggered if the timer hasn't reached 5 minutes then the block is ignored and the game continues?

if not how does it work?

thanks

rob1221

  • *
  • Posts: 9448
The time is in seconds, and nothing happens if that time hasn't been reached yet.

robinschaafsma

  • *
  • Posts: 714
See: https://github.com/byrobingames/admob/wiki/3.-Using-the-Admob-Extension#32-how-to-use-the-blocks

Once the inisterstitial is loaded, you can " show Admob insterstitial". You can use this under a actor when pressed of when the fist scene is created.
  • It allows you to specify min amount of time between interstitial displays (to avoid annoying your users).
  • It allows you to specify min amount of calls to interstitial before it actually gets displayed (to avoid annoying your users).
The insterstitial will load automaticly after it is shows

noxtudios

  • Posts: 293
I have just downloaded this and the version in extensions says 3.3.5. The original post says it should be 3.3.6 now?
All i did was click the download button, can anyone confirm the same?

robinschaafsma

  • *
  • Posts: 714
I have just downloaded this and the version in extensions says 3.3.5. The original post says it should be 3.3.6 now?
All i did was click the download button, can anyone confirm the same?

Yep forgot to change that in the info.txt file. I fix this now. Try to download and install it again.

colburt187

  • *
  • Posts: 2402
*I just switched back to the old admob extension i was using and the black screen gone and its showing adverts. So ill stick with that for now.

I'm on build 8733, I just downloaded the Admob-master as i was just getting a black screen when testing, not sure how old my last admob version was. I have the extension enabled but i don't see any blocks? I've tried closing and opening the game.

« Last Edit: January 16, 2016, 04:48:14 am by colburt187 »

Rectrogames

  • Posts: 27
Hey, im getting an error "unknown identifier admob"