Admob Configuration
How to Integrate and Remove Google AdMob in your App
Last updated
Was this helpful?
How to Integrate and Remove Google AdMob in your App
Last updated
Was this helpful?
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.
First, you need to create an AdMob account: Here
After creating banner ad unit you have to place you adUnit id in following file.
go to the WEBILENEWSRN > src > Config > index.js > repels the homeAdID in banner tag
Go to the app > project > AppDelegate.m > Replace configureWithApplicationID
Go to the app > manifests > AndroidManifest.xml > Replace the Value in AdMobId
Go to the WEBILENEWSRN > src > screens >Home > index.js >
{/* Add AdMob */}
<AdvertisementBanner
adUnitID={Config.banner.homeAdID}
style={{ marginBottom: 47 }} />
And Remove same code in Details Screen
Go to the WEBILENEWSRN > src > screens > Details > index.js >