How to link Admob with Android application
Monkey Targets Forums/Android/How to link Admob with Android application
| ||
Hello! I can not make admob work with an android application. Can you help me? I followed the google steps of this link https://firebase.google.com/docs/admob/android/interstitial but I could not make it work. Monkey gives me this error: http://es.zimagez.com/zimage/screenshot1e8e7d12046b763d55963ec388bd85889.php |
| ||
I never got interstitials to work either. But does "normal" Admob banners work for you? Actually they should work out of the box. |
| ||
to normal banners, all you have to do is import brl.admob Then call Admob.GetAdmob.ShowAd() and Admob.GetAdmob.HideAd() (wrote it from memory, look at modules/brl/admob.monkey to see the correct calls) And don't forget to place the ad id somewhere. Look at the admob example in /bananas for help. Also, to see whats wrong with your code, you have to actually see whats ABOVE that "build failed" message. |