Build an Admob Android App  with Ionic Framework
Channel: Kimliang Mich
Date: 2016-06-25

Build an Admob Android App  with Ionic
1. Goto command line interface type:
ionic start yourAppName templateName
2. Go into your project name type
cd yourAppName 
3. Add Platform to yourApp type:
ionic platform add android/ios
4. Install Admobpro Plugin just type: 
cordova plugin add cordova-plugin-admobpro
5. Copy and past the code below in $ionicPlatform.read function inside app.js
$ionicPlatform.ready(function() {
    if( ionic.Platform.isAndroid() )  { 
       admobid = { // for Android
          banner: 'ca-app-pub-xxx/xxx' // Change this to your Ad Unit Id for banner...
       };

       if(AdMob) 
          AdMob.createBanner( {
             adId:admobid.banner, 
             position:AdMob.AD_POSITION.BOTTOM_CENTER, 
             autoShow:true
          } );
    }
6. Change the "ca-app-pub-xxx/xxx" to your Ad Unit Id for banner
7. Type: ionic build android/ios

--------------------------------
Learn more at: http://ionicframework.com/docs/v2/