AppLovin
AppLovin Android guide for Custom Adapter GMA SDK.
App Prerequisites
- minSdkVersion of 23 or higher
- compileSdkVersion of 36 or higher
- Ensure Google Mobile Ads SDK is already integrated; if not, install it before adding the TapMinds adapter.
Installation
Configuration Steps
Ensure your android/build.gradle (project-level) includes the required repositories:
allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Open the build.gradle (Module: app) file.
Find the dependencies block and add from below for respective mediation platform.
dependencies {
// Add TapMind SDK AdMob Adapter dependency
implementation("io.github.tapmind-tech:customadapter-applovin:2.1.16")
// Add AdMob SDK dependency
implementation ("com.google.android.gms:play-services-ads:25.0.0")
}
Import Google Mobile Ads SDK
Add your AdMob app ID, as identified in the AdMob web interface, to your app's AndroidManifest.xml file. To do so, add a <meta-data> tag with android:name="com.google.android.gms.ads.APPLICATION_ID". You can find your app ID in the AdMob web interface. For android:value, insert your own AdMob app ID, surrounded by quotation marks.
<manifest>
<application>
<!-- Sample AdMob app ID: ca-app-pub-3940256099942544~3347511713 -->
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="SAMPLE_APP_ID"/>
</application>
</manifest>
Replace SAMPLE_APP_ID with your AdMob app ID. While testing, use the sample app ID shown in the previous example.
Also, note that failure to add the <meta-data> tag exactly as shown results in a crash with the message:
Missing application ID.
Configuration
PREREQUISITES
- An Ad Unit must already be in place which will be used for targeting.
APPLOVIN CONFIGURATION
Please go through the below steps to integrate TapMinds as a demand partner with your APPLOVIN account. To begin with the integration, login to your APPLOVIN account and follow the below steps.
- In the MAX Dashboard, select MAX > Mediation > Manage > Networks.
- Click on Click here to add a Custom Network at the bottom of the page. The Create Custom Network page appears.
Custom Network: TapMind Market Place
Android Class: com.tapmind.tech.TapMindMediationAdapterApplovin
- Click on Save.
MAX → Mediation → Manage → Networks → Click Add Custom Network → Select Network Type (SDK) → Enter Android Class Name → Save
ADDING YIELD PARTNER
- Open MAX > Mediation > Manage > Ad Units in the MAX dashboard.
- Select the Ad Unit of type(Banner, Interstital or Rewarded) to which you want to add TapMind as a custom adapter.
- Select TapMind from the custom network menu to enable and enter the information for each placement. Below are the test setup details
Contact your account manager to see what values you need to set for the final list of production setup (Placement ID, Custom Parameters and CPM Price).
App ID = Leave it blank (its optional)
Placement ID = "As Per the G-sheet Provided"
eCPM: As Per the G-sheet Provided
Custom Parameters = {"placementName":"As Per the G-sheet Provided"}
- Click on “Save” and save the configuration.
MAX → Mediation → Manage Ad Units → Select Ad Unit → Select TapMind → Enter Placement ID → Enter eCPM → Enter Custom Parameters → Save
Response can be checked in LOGCAT by using tag: TapMindAdapter
The above setup completes our TapMind x Applovin integration. You should see an Ad if test setup is complete and working fine.
