
How to integrate AdMob in our React Native Expo App?
- Firstly, you need to make sure to have an AdMob account. If you donβt have one, you can create it here.
- Start the setup by following the steps below.
Setup
1
First, you need to install the
react-native-google-mobile-ads package.2
Go to the admob.google.com and create your account.

3
You need to create the same app for iOS and Android.

4
Then pick a name for your app:

5
Now you need to create an ad unit for each type of ad.

6
You can choose a 4 category:

7
Now you need to get your app ID for each platform.

8
Ad Unit Successfully Created.

9
Now, listen carefully to the following steps.
10
11
Now , go to
app/_layout.tsx file and add the following code down below:app/_layout.tsx
12
Now you can use Ads in where you want in your app. For example:
app/screens/profile.tsx
13
Donβt forget to build your app again.