Skip to content

Instantly share code, notes, and snippets.

@imelgrat
Last active August 23, 2017 21:39
Show Gist options
  • Save imelgrat/fd62dbf1314bd7f03b83 to your computer and use it in GitHub Desktop.
Save imelgrat/fd62dbf1314bd7f03b83 to your computer and use it in GitHub Desktop.
JavaScript code to display an intersitial ad on Cordova Apps using AdMob Plugin Pro. Full articlle at: http://imelgrat.me/phonegap/admob-effective-monetize-cordova-app/
function prepareInterstitial()
{
AdMob.prepareInterstitial({ adId:admobid.interstitial, autoShow:true });
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment