Digital Turbine Mediation Integration Guide

This guide instructs you step-by-step on how to set Digital Turbine live as an Ad Network on the Unity LevelPlay Mediation.

Before you start
  • Make sure you have correctly integrated ironSource SDK’s Rewarded Video, Interstitial or Banner into your application.
  • Digital Turbine Supports Android Operating Systems Version 4.1 (API level 16) and up.

Step 1. Create an Digital Turbine Account

  1. Create an account with Digital Turbine. You can do so here.
  2. Once your account has been verified, you can log in to their partner login here.

Step 2. Create an Application and Ad Spot in Digital Turbine

To gain access to Digital Turbine inventory within ironSource platform, you must first add your app and set up Ad Spots in your Digital Turbine account.

  1. Add Your App
    1. Log into your Digital Turbine account, navigate to ‘Inventory’ ‘Manage Apps & Sites’. select ‘Add App Or Site’.
    2. Define the settings of your app.
  2.  Create an Ad Spot
    Once your application has been added, you can create an Ad Spot. In Digital Turbine system Ad Spots defines the Placement & Ad Unit to which Digital Turbine delivers ads.
    1. Select ‘+ New Ad Sopt’
    2. Create the Ad Spot settings:
      1. Ad Spot Name
      2. Select Ad Units: Make sure to chose a single Ad Unit to use in this Ad Spot
    3. Setup Ad Unit:
      1. Interstitial:
        1. Select between Display, Video or both
      2. Banner:
        1. Keep ‘Request Intervals’ Disabled
    4. Save Ad Unit
    5. Continue twice

Step 3. Activate Digital Turbine in the SDK Networks Setup Module

There are a few parameters from your Digital Turbine account which need to be inserted into your SDK Network Setup Module on the ironSource platform in order for Digital Turbine to work correctly in connection with ironSource SDK:

Publisher ID, 

Consumer Key, 

Consumer Secret

This is a unique identifiers for your Digital Turbine account, which allows the ironSource Platform to import performance data from your Digital Turbine account to use in reporting & optimization.
App ID This is a unique identifier of your application in Digital Turbine system.
Ad Spot ID This is the unique spot which Digital Turbine will deliver ads to.

Once you obtain this information, you must configure Digital Turbine Parameters in your ironSource Account. By adding the above information correctly, you will be able to take full advantage of Digital Turbine ad inventory and reporting data on the ironSource platform.

  1. Publisher ID,  Consumer Key,  Consumer Secret
    Navigate to the ‘User Profile‘ page and you will locate them on the bottom part of the page under ‘Reporting API Keys’
  2. App ID, Ad Spot ID
    Navigate to ‘Inventory’  ‘Manage Apps & Sites’ ➣ Select the relevant application from the list ➣ Select ‘Integration Options’ from menu on the right.

Configure Digital Turbine Parameters into ironSource  Account

  • Once you have all of these parameters, log in to your ironSource account and go to ‘Monetize‘ ➣ ‘Mediation‘ ➣ ‘SDK Networks‘.
  • Select Digital Turbine from the list of Available Ad Networks and enter the Digital Turbine ‘Publisher ID‘, ‘Consumer Key‘, ‘Consumer Secret‘. Click ‘Save‘.
  • Digital Turbine will then be enabled in the Available Ad Networks table.
  • Make sure to define the app on which you’d like to run Unity LevePlay with Digital Turbine. Go to the Digital Turbine row on the Setup list of Ad Networks and click on the ‘Setup‘ button.
  • Insert the App ID‘ on the application level, and ‘Ad Spot ID‘  for the relevant Ad Units.
  • Click ‘Save’.
  • Activate requested Ad Units.
  • 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 Digital Turbine Adapter to Your Build

Integrate Digital Turbine Adapter with Cocoapods

To integrate the Digital Turbine SDK with Cocoapods, enter the following line in your podfile and you’re good to go!

 pod 'IronSourceFyberAdapter','4.3.26.0'

Download the Digital Turbine Adapter Manually

  1. Download the Digital Turbine Adapter and SDK:
    Add the Digital Turbine Adapter and SDK to your build. You can find the latest Digital Turbine files here.
  2. Add the Digital Turbine frameworks to your Project:
    After you download and unzip the adapter and SDK, drop the framework files into your Xcode Project.
  3. Open Target ➣ Build Settings ➣ Architectures and confirm that your Xcode Project uses Base SDK version 7.0 or greater and that it does not use armv6 architecture.

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
    [IronSource setAdaptersDebug:YES];

    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! 

Done!
You are now all set to deliver Digital Turbine Ads within your application!


What’s Next?

To add additional mediation Ad networks, integrate the ironSource adapters and follow our integration guides.