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”
...
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.
...
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. Update/Implement the AppLovin Unity SDK
If you have not yet implemented it, follow the documentation to implement the AppLovin Unity SDK
...
Click on the “Upgrade” button if available and import the updated packages.
Step 4. Import the MobileFuse adapter UnityPackage
Download the MobileFuse adapter unity package below, the current version is 1.0.0.0
...
Note: If multidex is not enabled for your project, there’s a chance that due to androidx the MobileFuse SDK may take your app over the method limit. Ensure that multidex is enabled for your project if you are getting build failures.
Step 5. Configure data privacy
To ensure highest fill and CPMs, it’s advisable to configure the data privacy preferences of your user, preferably before initializing the MAX sdk.
...
Code Block | ||
---|---|---|
| ||
using MobileFuseAds; using MobileFuseAds.Privacy; void SetupAppLovinMax() { var mfPrivacyPrefs = new MobileFusePrivacyPreferences.Builder() .SetSubjectToCoppa(false) // should be true if user is under 13 years of age .SetUsPrivacyConsentString("<US Privacy String>") // e.g. 1YNN .Build(); MobileFuse.SetPrivacyPreferences(mfPrivacyPrefs); // ... MaxSdk.InitializeSdk(); } |
GDPR for European users
For your European users, you must supply an IAB-compatible privacy consent string. The following example shows how to declare consent for a user which is subject to GDPR due to being located in an EAA country. Note that this can simply be chained to the same MobileFusePrivacyPreferences.Builder() as above.
...