I did a simple app to test admob plugin, but it doesn't work. I tried everything, using Intel XDK, PhoneGap,Cocoon, but "On banner ad received" and "On interstitial received" never triggers. After some tests I got an error report using Intel XDK emulator that says
UNHANDLED EXEC CALL
There is no handler for the following exec call AdMobPlugin.setUp
I think this is caused by C2 action "Preload banner ad", maybe is this the problem? I'm expert in C2 and there are no error in the code, and BannerID is correct.
Can you help me?
I tried adding different plugins, finally I found the correct one!
Here are the procedure:
1) In Google AdMob I created a banner and interstitial. I took their ID (app ID is not necessary)
2) In C2 I've imported AdMob plugin and setted banner and interstitial ID
3) Exported using cordova
5)Using cocoon.io, I've uploaded my app in .zip
6)Added plugin cocoon-plugin-ads-android-admob and cordova-plugin-ad-admob
(I think the last one is the correct plugin, but I prefer to keep the first too)
7)Built the app for android and installed in my phone