Home / Android Development Tutorials / Integrating Admob Banner in Android App – Video Tutorial

Integrating Admob Banner in Android App – Video Tutorial

In this android development video tutorial, I will be showing you how to add admob banner in android app. Admob is a mobile advertising company parent organization of Google. Admob is almost work like Google Adsense where you have to put the live ads on your property and earn decent money through your android app. How to create admob account? Its very easy just you have to sign up the admob account with Gmail account or if you have already Google Adsense account then you will only sign in with existing adsense account.


Ok now let’s start adding admob banner in android app which is one of difficult task to achieve for beginner but don’t worry I will teach you step by step along with video tutorial.

Watch Video Tutorial Here

Step By Step Guide

For better understanding, let’s take an example to add admob banner in your project,

Open your android app (project) and let the gradle building finished.

First of all we need to add latest dependencies of ‘Android Gms Play Services-ads’. Open Gradle Script > build.gradle (Module: app) and add dependencies

Open the AndroidManifest.xml file and add the following code in exact place shown below


Now in MainActivity.java, add the following code to get admob banner or to load Ad.


Finally, in activity_main.xml, do some changes and add piece of coding.


Note : Keep in mind that you will generate your own [ ads:adUnitId ] from your admob account. This is just example ad unit by admob.

Final Words

This is how simple is integrating admob banner ads in android app. If you found this post helpful then please do a favor by subscribing our blog for more futuristic android development tutorial. If you have any question related to this, ask via comment and we love to hear from you. Thanks buddy J

About Saeed

Saeed Rehman is a well known blogger, Android developer, Web developer and knows much more. He love to share his every single experience online to help people and to earn decent income :)

Check Also

importing drawbale folders

Importing Drawable Folders & Images in Android Studio Tutorial

In this tutorial, InshaAllah we will learn how to create or import drawable folders & …

Leave a Reply

Your email address will not be published. Required fields are marked *