logo
logo
Sign in

How To Monetize Your Android App Using Admob

avatar
Rahul Rana
How To Monetize Your Android App Using Admob

You have made Great App, presently you need to make money from it. Be that as it may, you don't want to charge your customer, Then the most ideal approach to adapt your application is utilizing the Ad Network.

As well as Admob is one of the best Ad Network available.

Basically, Admob provide 4 types of ad,

1.Banner

2.Interstitial

3.Rewarded Interstitial

4.Native

In this tutorial, Android training in Chandigarh will cover How To Monetize Your Android App Using Admob or Banner Ad and Interstitial Ad.

The banner advertisement will be the smaller banner that will display on your mobile application screen at the place you need, And on click of Banner, it will display the Ad overlay. You can set the time interval for the include and get the user interplay event for the Banner

 

When in the interstitial ad, it will display a full screen when your app invites it. Due to its large size, interstitial ads require more bandwidth on average than traditional banners. So its recommended method is to have apps load them in advance of  when they will be displayed, This helps to ensure that an advertisement is ready to go when the time comes to display an ad.

 

So that been stated, We need to begin Admob integration with making a record for Admob, and add the first application to adapt.

Steps To Monetize The App

1. Go to the Google Admob website and click on log in. If you do not have an account, click Sign Up and then create a new account.

2. Once you are create a new account or logged in, then click on the Monetize tab in the top bar, then click on the MONETIZE NEW APP.

3. Now Admob will collect many information from you to make the App Monetization And give the SDK to the app. First thing you need to do is give information with related to your application, such as app name, platform. You can also look through the application if it's already uploading, or you can choose from the application you have already added in the system.

4. The next thing in the line is to select the type of ad that we want to create, and provide a name for the ad.
Apart you need to select the what kind of content you want to select in the ad banner,

1.Text

2.Image

For this tutorial  we select Refresh Rate and select both for the Ad. Setting small Refresh Rate will show various Ad, yet utilize more network bandwidth.

You can also choose distinctive Text advertisement type, for this tutorial we are choosing STANDARD.

Admob will display how your Ad will show in the application, So in this step you can check the look and feel of your Ad.

5. When you finished the Step 4 admob will give you AD UNIT ID, Save this for later use in application.

Next step will be to include FIREBASE ANALYTICS in application, Firebase analytics help you to show the diverse sort of analytics and report on sessions, user demographics, revenue from in-application products, and significantly more will show up in the Firebase console, with no additional code required.

But in this tutorial we are not adding Firebase Analytics so that we can leave it.

6. The final step is to download Google Mobile Ads SDK and Check Integration Guide.

7. This is optional Step, If you need to include just Banner Ad in your application at that point skip stage 7 and 8,

But in this tutorial we will also include INTERSTITIAL Ad in application, so we will pursue step 1 to 3 again and select Interstitial this time.

we have three type of Ad In Interstitial Ad

1.Text

2.Image

3.Video

For this tutorial we will select all the types, but you can select the option you need.
Select capping and provide ad unit name.

8. Admob will show the Ad unit ID, copy this for later utilization in Application.

So now we have Admob Account setup, and our application is included for Monetizing.

We have Ad unit ID and Google Admob SDK, So the following stage will be to integrate Admob SDK in application and give Ad Unit ID to show the Ad.

For simple implementation of Google Admob you can utilize MY Google AdMob library,

Step To Include Admob SDK In App

Step 1: Create new project using the xcode.

Step 2: You have GoogleMobileAds.framework by following the above advance, and you can discover GoogleAdsMob.Swift file from the Github code, This is the Handler made to deal with all Admob related task in your application. So drag and drop both this file in your venture.

Step 3:Now add two buttons to your ViewController class, displayed below the image,
And connect its outlets and ways.

Step 4:Presently in GoogleAdsMob.swift page you have to give your Ads Unit ID to Banner Ad and Interstitial Ad.

Admob provide two mode,

1.Test Mode

2.Live Mode

At the point when your application is still under progress then you should utilize test Ads Unit ID, As generally the click produced on the Live Admob Unit ID will make issue with Admob Monetization. What's more, your account can be suspended, so only utilize Live Ads Unit ID when you upload your application on App Store or Play Store.

Step 5: The next step will be the initializing, login the Google Admob in your AppDelegate file in Method DidFinishLaunchingWithOptions.

Step 6: include the following code in your Application Button’s Method

?Show Interstitial Ads
  GoogleAdMob.sharedInstance.showInterstitial()

?Show Banner Ads
  GoogleAdMob.sharedInstance.showBannerView()

?Hide Banner Ads
  GoogleAdMob.sharedInstance.hideBannerView()

Step 7: Feel free to ask any concern regarding Admob, kindly Contact Us to learn more about it.

Now run the application and you will see the following screen in your test system,

If you have chosen the Test Mode and you click on each button you will consider Ads as follow,

It will show the Test Banner and Interstitial Ads

What's more, if you include Live Ads Unit ID in your code, it will show actual ads,

Next step will be to check different Ads and coordinate it, you can check increasingly about it on the Admob documentation.

Don't hesitate to ask any concern regarding Admob, kindly contact us:

collect
0
avatar
Rahul Rana
guide
Zupyak is the world’s largest content marketing community, with over 400 000 members and 3 million articles. Explore and get your content discovered.
Read more