Webile News
Admob Configuration
How to Integrate and Remove Google AdMob in your App


AdMob is a multi platform mobile ad network that allows you to monetize your android app. By integrating AdMob you can start earning right away. It is very useful particularly when you are publishing a free app and want to earn some money from it.
Integrating AdMob is such an easy task that it takes not more than 5mins. In this article we’ll build a simple app with two screen to show the different types of ads that AdMob supports.

Creating Ad Units

First, you need to create an AdMob account: Here
After creating banner ad unit you have to place you adUnit id in following file.

Config.js in react native Project

go to the WEBILENEWSRN > src > Config > index.js > repels the homeAdID in banner tag
change banner home AdID

AppDelegate.m in iOS

Go to the app > project > AppDelegate.m > Replace configureWithApplicationID
change the configureWithApplicationID


Go to the app > manifests > AndroidManifest.xml > Replace the Value in AdMobId
change value in AdMobID

How to remove AdMob Ads from App?

Remove BannerAd

Go to the WEBILENEWSRN > src > screens >Home > index.js >
AdMob in Home screen

remove below code

{/* Add AdMob */}
style={{ marginBottom: 47 }} />
And Remove same code in Details Screen
Go to the WEBILENEWSRN > src > screens > Details > index.js >
AdMob in Details screen
Last modified 2yr ago