The following instructions assume you are already familiar with the AppLovin MAX SDK and have already integrated the AppLovin MAX iOS SDK into your application. Otherwise, please start by visiting AppLovin site and reading the instructions on how to add AppLovin mediation code into your app.
Please reach out to your Magnite Account rep to have your account set up. They will also provide an AppID to be used in step 4 of the setup below.
The easiest way is to use CocoaPods, just add to your Podfile the dependency
pod 'magnite-applovin-mediation'
- Login into your AppLovin account
- On the left menu expand "MAX->Mediation->Networks"
- Scroll down and select "Click here to add a Custom Network"
- On a Manage Network page select SDK as Network Type
- Set Custom Network Name to "Magnite"
- Set iOS Adapter Class Name to "MagniteAppLovinAdapter"
- Tap Save
- Start creating your Ad Units. Now in the Ad Unit waterfall you should see "Custom Network (SDK) - Magnite" under "Custom Networks & Deals" section. Expand it
- Change Status to enabled
- IMPORTANT! Set your Magnite AppID in corresponding field
- You may also pass custom parameters in JSON format. Supported names and values you may find in adapter's MagniteAppLovinExtras.m