Web-app dev4, Google AdMob (Banner and Interstitial ads)
Fourth Step This writing is about my Fourth step (Google AdMob) to make my own mobile application, K-pop celeb like me. I included Banner and Interstitial ads in my React Native Web-view application. 1. Register your application in AdMob First you should have AdMob account. Create one in: https://admob.google.com/home/ Set up new app in your AdMob account. AdMob account need some verification from Google and this will be done normally within few days. 2. React Native Banner ads For official document refer to: https://github.com/invertase/react-native-google-mobile-ads First run the command: npm i react-native-google-mobile-ads Check your app ID in AdMob. Go to your app - app setting, then you can see app ID as below. Put your app ID in app.json as below. The app ID should be out of "expo": {}. , "react-native-google-mobile-ads" : { "android_app_id" : "ca-app-pub-111111111~1111111111111" } In App.js, import components to sh...
Comments
Post a Comment