MobileFuse provides an AppLovin MAX custom adapter for Interstitial and Banner ads.
Step 1. Configure MobileFuse in the MAX publisher console
In the MAX publisher console, select Manage → Networks. At the bottom of the list of ad networks, click on “Click here to add a Custom Network”
...
The “Manage Network” page will appear with several options, set them to the following:
...
Network Type
...
SDK
...
Custom Network Name
...
MobileFuse
...
iOS Adapter Class Name
...
ALMobileFuseMediationAdapter
...
Android / Fire OS Adapter Class Name
...
com.applovin.mediation.adapters.MobileFuseMediationAdapter
Note: Ensure that you fill out both the iOS and Android fields, even if you only intend to use MobileFuse on a single platform!
After filling out the above information, press “Save”, and ensure that MobileFuse is now visible in the list of networks
...
Step 2 - Configure your ad units to use MobileFuse ads
Select the MAX → Manage → Ad Units page, and then click on the unit that you want to configure.
On the Edit Ad Unit page you’ll see a long list of networks - scroll down to the Custom Networks & Deals section and you should see the MobileFuse adapter listed as a custom network.
Expand the ad unit and set the status to green. You should be prompted for an App ID and Placement ID. You will have received this information from your contact at MobileFuse. The App ID will look like 1234_123456
, and a placement ID is a numeric value like 123456
.
Set up a CPM price - this will be used for the waterfall of MobileFuse vs. other networks, then scroll to the bottom of the page and click Save
...
Important - Double check that the placement IDs that you set up match the ad format that you’re creating. The ad type can be found at the top of the page on the “Edit Ad Unit” page. Ensure that you use an interstitial placement ID for an interstitial unit, and a banner for banner/mrec.
Step 3. Download the MobileFuse AppLovin Mediation Adapter
Gradle Setup
1- Ensure that mavenCentral
is included in your settings.gradle file:
Code Block |
---|
repositories {
// [... other project repos]
mavenCentral()
} |
2- Update your app module’s dependencies to include the MobileFuse AppLovin Adapter:
Code Block |
---|
dependencies {
// [... other project dependencies]
implementation 'com.mobilefuse.sdk:mobilefuse-adapter-applovin:1.0.0.0'
} |
Step 4. Configure Data Privacy
The only other configuration that you may want to set up is data privacy. You should call the MobileFuse.setPrivacyPreferences()
method as soon as possible after your app launches, or when the users privacy preferences change. This will allow you to supply an IAB consent string or US privacy string that will be passed through to MobileFuse:
Insert excerpt
...