How to use AdMob and IAP official plugins on Android-Crosswalk/XDK

Favourite 47 favourites
Tutorial written by KyatricOriginally published on 12th, October 2015 - 7 revisions

AdMob is a service linked to a Google account as well as the AdSense and AdWords services.
This will allow you to get banners displayed in your Android application (game) exported with Intel XDK CrossWalk.

This requires to fiddle with several websites and tools.
Moreover, it won't simply work with your game on preview from Construct 2, you need to publish on Google Play store itself at least in Alpha stage (closed Alpha allows you to simply "publish" a test application and only allow a limited number of google accounts/linked devices to have access to it, perfect for our current need).

The first time you have to set up adverts for your game, the whole process might be a bit tedious, especially since you will be required to read through licensing terms for services before registering to them, and you definitely should do so.
Moreover, there is a cost involved, as you need to own a Google Android Developer account to get access to the Google play Developer Console.

This tutorial will require you to own at least a valid personal license.
Construct 2 free edition is lacking the export features and the licensing terms of the free edition do not allow you to make any money from works made with it anyway.
Adding advertisements to your game made with the Free edition simply goes against the licensing terms of the free edition and shouldn't be attempted.

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.


SureetSK 441 rep

I use the 3088 build of intel XDK, I dont find the admob ad services in the list of plugins.
Please help.

Thursday, March 31, 2016 at 8:27:52 PM
AlphaCharlie 632 rep

Same here. I am rebuilding with the latest XDK (due to Play Store Cordova security email). No Admob plugin.

Saturday, April 02, 2016 at 6:49:03 AM
AlphaCharlie 632 rep

Actually... Found it. You need to select third party plugins, ensure you are sourcing from the Cordova plugin registry, and enter cordova-plugin-admobpro in the Plugin ID field.

Saturday, April 02, 2016 at 7:06:49 AM
tonyuk123 329 rep

how do you know what 'plugin'(s) you have on intelXDK 3240?
it appears to load them but surely better to have a list of them after !
else no way to know what has loaded or not
i have rebuilt my app 3 times now, only to find i have missed something each time
still going.......

Monday, May 16, 2016 at 4:53:07 PM
adamcreator 541 rep

@tonyuk123 In the Projects tab, under Plugin Management

Saturday, May 21, 2016 at 9:43:40 AM
adamcreator 541 rep

Download the ZIP from looking for cranberrygame/cordova-plugin-ad-admob and unzip its contents and in XDK load a local plugin and choose the main folder zipped from that, for a working AdMob plugin.

Saturday, May 21, 2016 at 12:00:25 PM
EdwardJT92 732 rep

Mine doesn't seem to work at all.. anyone can help with that?

Sunday, May 29, 2016 at 6:34:24 PM
paulsoler 705 rep

Hello, in new versions of intel going to add tirdh party plugins plugin >> >> >> repro get git add: add the plugin work! regards

Tuesday, September 06, 2016 at 9:19:59 PM

This tutorial is grossly verbose.

Sunday, February 12, 2017 at 3:40:54 AM
DevDan 1,579 rep

How to handle "consumables" via code in construct 2?

Wednesday, March 08, 2017 at 3:34:03 PM
TheWiseLJ 4,507 rep

Thank you for this tutorial! I probably would have been stuck for a long time trying to figure this out otherwise.

Tuesday, April 04, 2017 at 8:42:02 PM
darkjant 471 rep

thanks for the help

Friday, October 13, 2017 at 5:49:07 PM
Jetzoo1 25.0k rep

Thank you for sharing this tutorial


Tuesday, January 02, 2018 at 5:22:19 PM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.