AdMob Setup
Create AdMob App​
- Sign In to Google AdMob.
- Link Firebase to AdMob.
- Link Google Ads to AdMob.
- From side bar, click on
Appsand thenAdd App. Fill in the details.
Congratulations! You have created an AdMob app.
Add AdMob App ID to the Project​
- Select
Appsand thenView all apps. - Copy the App ID into
local.propertieswith the keyADMOB_APPLICATION_ID.
Congratulations! You have connected your AdMob app to the project.
Create Ad Units​
Without Ad Units, you can't show ads in your app. Here's how to create them:
- Click on the app you just created.
- Click on
Ad Unitsand thenAdd Ad Unit. Fill in the details. - You can copy the Ad Unit ID from the
Ad Unitspage and paste it intoFirebase Remote Config.
You can access your Ad Unit IDs from Firebase Remote Config and use them to initialize any Ads.