In order to set up the Upsight Ad Mediation SDK, you will need to have Upsight Ad Mediation added to your account and be on SDK version 4.1.3 or later. Contact your customer success manager for more information.
Upsight Ad Mediation can only be used in conjunction with the base Upsight SDK and will show rewarded and non-rewarded video ads through billboards and milestones. Make sure you have completed the basic integration of the Upsight SDK including billboards and milestones before you begin integrating Upsight's Ad Mediation SDK.
To add mediation to your Upsight SDK integration, simply add the following dependency to your integration:
compile 'com.upsight.android:mediation:4.6.0' // To use the Mediation module.
Once you have added the SDK, you will be able to show a mediated video ad or static interstitial at any billboard. Simply go to your Upsight Dashboard and create an Ad Campaign targeting a specific milestone. See the Creating Mediated Ad Campaigns section for more information.
Simply implement handling rewards and you will be able to grant your users rewards when running a Rewarded Video Ad campaign at any billboard for a given milestone scope.
Make sure to add the rewards to the dashboard. See Adding Rewards for more information.