- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI Team,
I exported html5 from construct 2 and then added cranberry/admob plugin and exported to android. No ads are displayed on the application. Please help me where I should edit the admob ad unit it in the plugin. I have a help folder under plugin and there is test/index.html. Please help where i neet to set the ads id and how to edit the configuration file. I saw index.html in test folder. Please assist with the actual path for inserting ad unit id's.
Regards,
Rahul
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would start with these articles:
https://software.intel.com/en-us/xdk/docs/adding-google-play-services-to-your-cordova-application
https://software.intel.com/en-us/xdk/docs/html5-hybrid-apps-with-admob-cordova-plugin
https://software.intel.com/en-us/videos/monetization-with-intel-xdk-admob-inapp-ads
Then come back if you still have questions.
Good luck!
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dale,
Thank you for the links. Adding to my first post , I imported the code and the cranberry plugin, but not sure where exactly i need to enter the ad unit id . Is it in www/index.html or test/index.html. Please assist.
Regards,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is an example using this Cordova plugin and declaring the ad unit id: https://github.com/cranberrygame/phonegap-plugin-ad-admob/blob/master/example/basic/index.html#L9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't tried it myself yet, but here's an example:
https://github.com/cranberrygame/phonegap-plugin-ad-admob/blob/master/example/basic/index.html#L9
It looks like it's included in the call to admod.setUp:
window.admob.setUp(bannerAdUnit, fullScreenAdUnit, isOverlap, isTest);
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page