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

CanadianHobo

  • Posts: 24
For the Initialize Admob block, it says "Initialize AdMob ads with BannerID: ____ at ...".  I was wondering what do you fill in: Ad unit name or Ad unit ID or something else?

Also in the Monetization, are we still using the Ad Unit ID for AdMob Publisher Key?
Stencyl Build: 8734

Thanks

EDIT:
I have the Ad Unit ID in this format:
ca-app-pub-****/****

« Last Edit: November 07, 2015, 12:19:22 am by CanadianHobo »

robinschaafsma

  • *
  • Posts: 714
You fill in the AdUnitID.

If you use this extension you don't have to fill anything in Monetization settings. That's only use for build-in use of Admob(Android) and here you also fill in the AdUnitID.

The AdUnitID of banner and Interstial ads are different.

CanadianHobo

  • Posts: 24
Does this extension work Build 8734 (because it is still in beta)? 

Thanks

robinschaafsma

  • *
  • Posts: 714
Does this extension work Build 8734 (because it is still in beta)? 

Thanks

Yes it should be work in build 8734

CanadianHobo

  • Posts: 24
I am still not sure what is wrong.  I will attach my logs. 

Thanks

robinschaafsma

  • *
  • Posts: 714
Can you explane what is wrong?

Post screenshot of your code you'r using.

CanadianHobo

  • Posts: 24

robinschaafsma

  • *
  • Posts: 714
Ok with this code the banner will not appear.

sceneEvents_8: Is this your First scene?
- Init in When Created is OK
- "Admob banner/Interstitial did successfully load" blocks calls only once when init is succesful.
- So replace if "Admob Interstitial ad did successfull load" for "Admob banner did successfully load" (because you don't use interstital ad because you don't have a InterstitialID filled in.
- and replace Hide Admob banner for Show Admob banner

sceneEvents_9:
 What do you want to do here?
- First If "Admob banner did successfully load" does not work because its already called in SceneEvents_8 and 6 seconds later you go to the next scene.
- Delete all blocks in When created (banner is already showing).
- When you want to Hide the banner, don't use Hide Admob banner between a If  "AdMob banner did successfully load" statement, is already called in SceneEvent_8 and will not called again.
- Anf don't put Hide Banner in Always Event.

If you want to use Insterstitial ads, fill in you InsterstitialID and do the same.

TIP:
If the banner failed to load, you game will never go to the next scene, so do somthing with the block if banner failed to load, so the player can always play you game even if banner is failed to load.

Hope this helps you a bit.

joacocarp

  • Posts: 9
Hello, first of all thanks for the extension !!

I was not entirely clear how to use the admob insterstitial block. I put it as shown in the attached picture and I do not see the ad.

From the way you have configured the death of the Actor should appear in fullscreen interstitial ad and not displayed.


As it should do?


Greetings and thanks  :)

« Last Edit: November 11, 2015, 12:39:09 pm by joacocarp »

robinschaafsma

  • *
  • Posts: 714
Try to show the interstitial ad before you switch scene.

Or better but the show block in the When Created Event of the scene you switch to.

AdventureIslands

  • *
  • Posts: 728
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?

luismp

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

robinschaafsma

  • *
  • Posts: 714
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


offproduction1

  • Posts: 9
ok guys, i read all the post and nothing... i'm really worn-out with my games...
I miss only this thing, make a banner in every scene and stop.
I download the extension and i created the admob profile... Can you post the "final solution" please?
i'm really upset...

Thanks

dtrungle

  • *
  • Posts: 1938
Where are you having problems? What's your Stencyl build? What OS are you on and what device?