Core Features
Google Ads
Monetize your app with Google Ads
You can find the Google Ads Mobile integration at /utility/GoogleAds
and it is initialized at /app/_layout.js
like this:
/app/_layout.js
Ad Types
ExpoShip Google Ads Mobile integration comes with 4 different ad components.
- Banner ad
- Collapsible banner ad
- Interstitial ad
- Rewarded interstitial ad
You can implement each of the component by importing it and calling it like this:
example.js
Configuring Google Ads
You can follow this guide to setup Google Ads in your app - https://docs.page/invertase/react-native-google-mobile-ads.
There are two configuration files /app.json
and /.env.local
. In /app.json
you need to add your ios_app_id
and android_app_id
like this:
app.json
By default both app id’s are Google’s test id’s
In /.env.local
you need to ad your ad unit id’s like this:
/.env.local
By default all of id’s are Google’s test id’s