The guide is for mobile application developer. For making some money out of your application google ads are the best to have them in it. Ionic have the feature support for displaying google ads using AdMob plugin and in that way helps you get the revenue from your application.

Here, I will explain you the steps for configuring the AdMob account for your application.

AdMob Setting

Sign in / Sign up for AdMob at https://www.google.com/admob/.

a. You can use your regular email address for this.

Click the Monetize Menu and click new app button.

a. You will get the Ad Publisher ID.

b. Here, If you have application in google play store then you can find it from there or if it's your first application then you can add application name manually and select platform for an application.

c. You can get the app id from the application.

NOTE: when you are copy some changes are required like it will give tild(~) sign in change that sign to(/) and add into application.

Now, let’s talk about some basic type of advertisements available for an application.

Banner Ad Interstitial Ad Native Ad

NOTE: Here,the native ads are not supported in ionic application.

You can add multiple Banner ads, Interstitial ads & Native Ads in our AdMob Account. In all the advertisement you will need to add Ad unit name : in AdMob Setting then click on save button.

If you want to get the analytics of your application then you can also configure the Firebase Analytics , In this article we are going to skip this step as our main focus here is on getting the AdMobs in the ionic application.

Here, all the advertisement have unique ad unit id: it will look like: