Monthly Archives: March 2016
-
- March 04, 2016
In this post I will show how you can add banner ads to your Ionic apps. I will be doing this on a new app but you can do it to your existing app as well. I have also written a post on adding banner ads to Ionic 2 apps, so if you are looking for Ionic 2 apps You can check that post out as well.
Step 1)
We will first start by creating a new Ionic project by issuing the following command in the command prompt
1ionic start MyNewApp TabsStep 2)
Now we will need to add the platform to out app. So will do the following command
Step 3)
As we will be using the AdMob Pro plugin we will need to download it in our project. We will do that by the following command
you can read more about the plugin in the Admob pro plugin documentation
Step 4)
Now we will need to add the following code to the $ionicPlatform.ready()