title: Any way to display AdMob ads (or other ad provider) in pure JavaScript
body: <p>Is there any way to display AdMob ads using only pure JavaScript? Or in any other way, that I can use it directly in PhoneGap application built with PhoneGap Build?</p>
  
  <p>I'm developing mobile apps using PhoneGap. I've seen many solutions and approaches to this problem (like <a href="http://therockncoder.blogspot.jp/2012/05/cordova-phonegap-and-admob-together-ios.html">this</a> or <a href="http://fczaja.blogspot.com/2012/09/admob-ads-in-phonegap-apps.html">this</a>). But since I'm using PhoneGap Build only, I can't use any of it. I've seen <a href="https://github.com/rajpara11/phonegap-plugins/tree/master/Android/AdMobPlugin">AdMob Cordova Plugin</a>, but since it is platform-oriented (currently only available for iOS and Android) and has a lot of Java and SDK in documentation, I'm pretty sure, that I can't use it in app compiled with PhoneGap Build.</p>
  
  <p>If there is no way to get AdMob via JS, then maybe there is another ad provider, which API is reachable entirely from JavaScript?</p>
  
  <p>I've heard that <a href="http://www.millennialmedia.com/">MillenialMedia</a> can display ads using pure JavaScript and even allows external ads providers (like AdMob). So this would be a perfect solution for me. But their page is so poorly organised (a lot of self-marketing bla-bla and no actual links to some API, examples or docs, at least no, when you're not logged in), that I can't confirm that it supports both JavaScript and AdMob. Does someone have any experience with this system and can confirm this? </p>