AppLovin Integration Guide
This guide will instruct you step-by-step on how to set AppLovin live as an Ad Network on the ironSource Mediation platform.
Before You Start
Make sure you have correctly integrated ironSource Rewarded Video into your application.
Step 1. Create an AppLovin Account
- Create an account with AppLovin. You can do so here.
- Once your account has been verified you can login at their partner login here.
Step 2. Retrieve Your AppLovin SDK and Report Keys
There are 2 pieces of data from the AppLovin account which need to be inserted into your ironSource Network Setup Module in order for AppLovin to work correctly in connection with ironSource:
- Report Key: This is a unique identifier for your AppLovin account, which allows your ironSource Mediation Platform to import performance data from your AppLovin account to use in reporting & optimization.
- SDK Key: This is a unique identifier for your AppLovin account. This is used by the ironSource Mediation SDK to Init the AppLovin Adapter for your apps.
Once you obtain this information, you must configure the AppLovin parameters in your ironSource Account. By adding the above information correctly, you will be able to take full advantage of AppLovin’s ad inventory and reporting data on ironSource’s Mediation platform.
To find the ‘Report Key‘, go to the ‘Account‘ tab and select ‘Keys‘ from the left side menu.
To find the ‘SDK Key‘, go to the ‘Account‘ tab and select ‘Keys‘ from the left side menu.
Step 3. Activate AppLovin on the ironSource SDK Networks Module
Configure AppLovin’s Parameters into ironSource Account
- Once you have both keys, log in to your ironSource account and go to ‘Monetize‘ ➣ ‘Setup‘ ➣ ‘SDK Networks‘.
- Select AppLovin from the table of Available Networks and enter the AppLovin ‘Report Key‘.
- Select AppLovin from the Setup list of Ad Networks and click on the Define icon.
- Enter the AppLovin ‘SDK Key. Set the status to Active and click ‘Save’.
- You will then see AppLovin as Active for Mediation on your Setup Dashboard.
- Verify your integration with the Reporting API; this column will check your integration through the Reporting API and return three possible responses: Verified, Failed and No Response. Double check your integration and the information you entered above; then click ‘Retry‘ until you see ‘Verified’.
Step 4. Add the AppLovin Adapter to Your Build
ironSource supports both Cocoapods and Manual download mechanisms.
To integrate the AppLovin SDK with Cocoapods, enter the following line in your podfile and you’re good to go!
- Download the AppLovin Adapter:
Add the AppLovin Adapter to your build. You can find the latest AppLovin Adapter here.
Important! The AppLovin Adapter also contains the AppLovin SDK. You DON’T need to add the AppLovin SDK directly.
- Add the AppLovin frameworks to your Project:
After you download the Adapter, drop the Adapter framework into your Xcode Project, i.e. drop ISApplovinAdapter.framework into your Xcode project.
- Enable Xcode Flags:
The -ObjC flag must be added for iOS static libraries (such as the AppLovin SDK) to run correctly.
To enable the -ObjC flag, click on the project settings, go to Build Settings search for Other Linker Flags and add -ObjC.
Step 5. Configure Rewarded Video in Applovin’s Admin
Once the AppLovin Adapter has been added to your build, you need to enable the Rewarded Video functionality in the AppLovin Admin.
- In the AppLovin Admin, go to ‘Manage Apps’ and select the specific app you want to configure:
- Scroll down to the ‘Rewarded Video’ section and set the following toggles:
- Frequency Capping – Do not frequency cap Rewarded Videos
- Virtual Currency Details – The ironSource Mediation Adapter will set this, so you can leave the default values
- Display Pre-Video Modal – NO
- Display Post-Video Modal – NO
- Callback Options – Client-side callbacks only
- Once finished hit ‘Save’
Verify Your Ad Network Integration
- Verify your ad network integration with our Integration Helper. The ironSource SDK provides a tool to ensure you’ve successfully integrated our SDK as well as any additional network adapters.
- Manage the debug logs for your integrated mediation ad networks with this boolean
When set to YES, this line of code will enable debug logs to help you troubleshoot issues with all of your mediation ad networks. Remove this code before your app goes live with our ad units! Supported for SDK versions 6.5.2 and up.
You are now all set to deliver AppLovin Ads within your application!
To leverage additional ad networks through ironSource Mediation, integrate the adapters and follow our integration guides.