- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used the AdMob template to build 3 simple HTML eBooks. I inserted my AdMob codes, and I clicked the AdMob plugin on the build page. But ads are not showing on these apps, and these are the only 3 on my AdMob that show no activity. So what is going wrong?
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you testing on emulator or app preview? If yes then try building your project and install it on device because it has plugin. And which version of XDK you are using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try the simpler example on the plugin author's page. I just checked it yesterday and it worked. Those samples you are trying need to be updated, unfortunately, the plugins have been changed since they were written.
https://github.com/cranberrygame/cordova-plugin-ad-admob see the Example directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have installed it on devices, and uploaded it to Google Play. Doesn't show, and these are the only apps on my AdMob that show no activity. I'll check out the new version, I'm new to all this, so not sure about how to install these new plugins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
But I believe the admob plugin you are using is the problem Try to use this admob plugin. So I have tested this admob plugins with both Android and ios and it worked fine. I would strongly recommend you using this plugins
https://github.com/floatinghotpot/cordova-plugin-admob. Let me know if you have any other questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Amrita, I am using the floatinghotspot plugin, the one built into the AdMob template. I have 4 apps built with this, and none show ads, and none of these show any activity on my AdMob panel, so I know it's not just my device. I am using the Cordova Mobile Apps Platforms, Android for the build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You need to modify your code according the instructions which are provided with the plugin to make it work. It could be possible that you are using same implementation for the different plugin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will look at it Amarita, but why have an AdMob template, giving the impression it is good to go, when the author needs to change the code? Then not make that obvious, like something in "develop" that says, change this. I am new at this, and "templates" gives the impression it's a one click deal. Where is the documentation for the included floatinghotspot plugin?
BTW if you mean add the code for my specific AdMob ads, from my account, I have done that. The 4 apps I have build with the AdMob template are the only apps on my AdMob dashboard that show no activity at all, and I have put that specific ad code into the apps.
Also, I am testing them on a 7" tablet and a smart phone, not just the emulator.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Those AdMob plugins were not created by Intel, please see this article for some details: https://software.intel.com/en-us/xdk/docs/adding-google-play-services-to-your-cordova-application
The few examples of AdMob that we do have were written over a year ago. Unfortunately, the AdMob plugin authors continue to change how their plugins work, so trying to keep up with their changes has been very difficult. We highly recommend that you use examples provided by the authors as the primary source for how to use those plugins, since the author is always the most up-to-date source of information.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page