Overview:
In this Tutorial we will discuss how to setup AppLovin Ad network Mediation with Admob in Flutter Android Application. After Completing this you are able to setup AppLovin Mediation with Admob in your Flutter Android App.
What is Mediation:
In Mobile Ad Advertising Mediation is a process in which we used multiple Ad Networks to maximize our Application Ad Revenue. The main purpose of mediation is to achieve more flexibility in Ads. Nowadays Mediation is a very famous way to monetize your Android App. If you are a Application Developer and you want to monetize your Android App than I will suggest you to use Mediation in your Android & IOS Applications. This technique will help you to earn more money from your Android Application.
Admob Mediation:
Everyone Knows Google Admob is a Google product and its a very famous and high ECPM Ad network. Google Admob also allows publishers to use mediation and show ads from other third party ad networks. Like from Facebook Audience Networks, Some Famous Ad networks are AppLovin Ad Network, Unity Ads, Iron Source. There are thosands of other different ad networks are available in market so if you want to show others ad network Advertisement in your application while using Google Admob Ads than use Admob Mediation Process.
But Google Admob Supports some Famous Ad Networks. The Ad Networks that are allowed by Admob for Mediation are given below.
- AppLovin
- IronSource
- Unity Ads
- Inmobi
- ChartBoost
- Facebook Audience Network
- Smaato
- PubMatic
- Vungle Ads
Admob Mediation with AppLovin in Flutter App:
When you will setup Admob Mediation with AppLovin than your Flutter Android Application will start showing Both Ad Networks Advertisements. So this process is quite simple. Follow the Below steps and Implement Admob Mediation with AppLovin.
Setup Mediation Network in AppLovin:
Login to your AppLovin Ad Network and than click on Max and choose Networks option. When you click on Networks Options you'll see different types of Ad Networks. Click on Admob Icon and than setup this Account by using Signing with Google. Make sure your Gmail ID has Active Admob Account. Allow all permissions and wait for some Seconds AppLovin will automatically Setup the Admob Network.
When Admob Network is successfully connected with your AppLovin Ad Network than you will see a Green Tick in front of Google Admob Network. But if due to some reason your Admob Network failed to connect with AppLovin than you will see the Warning Sign. As shown in image Below.
| Applovin Official Site View While creating Medation Networks |
Create Admob Ad Unit Id's for AppLovin Mediation:
Before Adding Admob Ad Unit Id's in AppLovin make sure your Android Application is 100% verified by Google Admob and your Google Admob has no Ad Limit or Privacy Issues. If everything is Good than follow this Step. Go to your Admob Ad network and make Ad Unit Id's for your Application. For Example if you are using AppLovin Interstitial ads in your Android Application than make Interstitial Ad Id for your Application in Admob. Do same thing for other Ads.
If you don't know how to create Admob Ad Unit Id's for your Application than Open Google Admob Account than click on your Application and than you will see a Add Ad unit options. Click on this Option and Follow Admob Instructions and create Ad Unit Id's.
| Official Admob Ad Unit ID Section |
Adding Admob Ad Unit Id's in AppLovin for Mediation:
Open Your AppLovin Account and go to Max Menu than click on Ad Units. Here you will all AppLovin Ad Unit Id's that currently you are using in your Android Application. So Choose your Android App that you want to setup with Admob Mediation. Make sure Both Android Apps are Same.
Click on your Ad Units Name when you will click you will see a new Screen in Which Ad Unit Id Settings are Available.
When you will scroll down on this page you will see different Ad Networks like Admob, Unity, etc. So Choose Admob and turn on the Status. And than add Your Google Admob Application ID and than Add the Ad Unit Id from your Admob Account. Keep in mind for example if you are setting Rewarded Ads Mediation with Admob than choose rewarded ad Unit Settings From AppLovin Ad Units and also copy paste the same Rewarded Ad Unit ID from Admob. Don't do like this if you choose rewarded ads in AppLovin and than from Admob ID you paste interstitial ad ID that's totally wrong. So Be careful in this Step.
After Setting all things Scroll down and click on save Settings. Now wait for 10 Minutes AppLovin will take some time to setup Admob Mediation. Now Move to the Next and Final Step.
AppLovin Admob Mediation Setup in Flutter Programming:
We need to Add Some Dependencies in our Flutter App than Mediation process will completed. So First of all open your Flutter App project and Find the App Folder. If you don't know where is App Folder check the below image.
In App Level Open the Gradle File. Than find the dependency section and add these dependencies in the Gradle File.
dependencies {
implementation 'com.applovin:applovin-sdk:+'
implementation 'com.applovin.mediation:google-ad-manager-adapter:+'
implementation 'com.applovin.mediation:google-adapter:+'
}After Adding these Dependencies go to Manifest File. Manifest file also available in App Folder. Location of Manifest File in Android Studio is App > Src > main > than you will see a Android Manifest File.
Now in that file add Internet Permission by adding this code.
<uses-permission android:name="android.permission.INTERNET" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ADMOB_APP_ID"
/>
If you want to check is Admob Ads are now working or not than go to AppLovin Account Again go to Max Setting and Click on Test Mode and Add your Android Device Advertising ID and Set the Test Ad Network to Admob and Save the Settings. Now Re Open your Application and check Admob Test Ads are now Showing in Your App.
So in this way you will setup your Admob Mediation with AppLovin. This method is very easy and I, hope this method will help you to boost your revenue.


0 Comments