AdMob Setup

Make sure you have Firebase set up in your application. Here are the steps to add Firebase in your project.

Next you need to sign up for an AdMob account. If you don’t have an AdSense account, you will need to create it before creating an AdMob account. Here are all the possible cases to create AdSense and AdMob account.

Remember to signup for AdMob with the same account that you will be using with Firebase.

Once you have created an account, login into AdMob and open your dashboard. Now go to Apps > Add App > Fill in the information required by AdMob > Click on Add.

Once you done setting up Firebase and AdMob and creating your application, you will need to link your application in AdMob to Firebase.Select the newly added app, go to App Settings and there under App Info you will see an option to link application with Firebase.

Setup Android

Video Tutorial - Integrating AdMob to your Application Android

Written Tutorial

The following steps need to be followed to integrate AdMob into your application mobile.

  1. To get started you need to create an AdMob account or sign in if you already have one.

  2. Login to AdMob and open your dashboard. Now, go to Applications> Add an Application> Fill out the information required by AdMob> Click Add, which will generate an AdMob ID for your application.

  3. To link your newly added application to Firebase. Select the application, access the application settings and under Application Information you will see an option to link the application to Firebase.

  4. Add your AdMob Application ID to your AndroidManifest.xml file by adding the <meta-data>tag.

<meta-data
    android:name="com.google.android.gms.ads.APPLICATION_ID"
    android:value="ADMOB_APP_ID"
/>

Setup iOS

Video Tutorial - Integrating AdMob to your Application iOS

Last updated