Vungle Integration Guide

This guide will instruct you step-by-step on how to set Vungle live as an ad network on the ironSource Mediation platform.

Before You Start

  • Make sure you have correctly integrated ironSource’s Rewarded Video or Interstitial into your application.
  • The ironSource Mediation platform now supports the simultaneous activation of Vungle’s Rewarded Video or Interstitial for our iOS, Android and Unity SDK 6.6.5+ and Vungle adapter version 3.2.1+.

Step 1. Create a Vungle Account

  1. Create an account with Vungle. You can do so here.
  2. Once your account has been verified you can log in at their partner login here.

Step 2. Create an Application in Vungle

Once you log in, go to the Applications tab on the left side menu drop-down in the upper-left corner and click ‘Add Application‘:

Step 3.  Add a Placement

Click on the relevant app from the application list and on the app’s dedicated page, click ‘Add Placement‘:

Then input the necessary details to create a Vungle placement and click the ‘Sound Good‘ button:

Step 4. Activate Vungle on ironSource SDK Networks Module

There are d pieces of Data from the Vungle account which need to be inserted into your ironSource Network Setup Module in order for Vungle to work correctly in connection with ironSource:

Vungle App ID This is the unique identifier of your application in Vungle’s system.
Reporting API ID This is a unique identifier for your app in Vungle’s system, used with the Reporting API to track app performance.
Reporting API Key This is a unique identifier for your Vungle account. Along with the Reporting API ID, this will allow your ironSource Mediation Platform to import performance data from your Vungle account.
Placement Reference ID This is the unique identifier of the ad unit, necessary to differentiate Rewarded Video from Interstitial ads.

Once you obtain this information, you must configure Vungle’s parameters in your ironSource Account. By adding the above information correctly, you will be able to take full advantage of Vungle’s ad inventory and reporting data on ironSource‘s Mediation platform.

  1. Vungle Application ID

    Go to the Applications tab on the left side menu and click on the application you would like to configure on ironSource dashboard. You will then see Vungle App ID:

  2. Reporting API ID

    Go to the Applications tab on the left side menu and click on the application you would like to configure on ironSource dashboard. You will then see Vungle Reporting API ID:

  3. Reporting API Key

    Go to the My Account on the upper-right corner of the screen you will them see the Reporting API Key:

  4. Placement Reference ID

    Go to the Placements tab on the left side menu and choose the application’s placements you would like to configure on ironSource dashboard:

Activate Vungle on ironSource Platform

Once you’ve collected all necessary parameters, log in to your ironSource account.

  • Go to ‘Monetize‘ ➣ ‘Setup‘ ➣ ‘SDK Networks‘:
  • Select Vungle from the list of Available Ad Networks and enter the Vungle ‘Reporting API Key‘:
  • Click ‘Save‘.  Vungle will then be enabled in the Available Ad Networks table:
  • Click on the Vungle’s Setup button and enter the ‘App ID‘, ‘Reporting API ID‘ and the
    under the relevant Ad Unit Settings:
  • You will then see Vungle 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 5. Add the Vungle Adapter to Your Build

Xamarin Plugin (Android Integration)

  1. Download the Vungle Xamarin plugin:
    Import the IronSourceVungleAdapter-Android_v4.1.4.dll to your Xamarin project. You can find the latest Vungle Xamarin dll here.
  2. Download the fetch dll:
    Import the IronSourceFetch_v1.1.5-Android.dll to your Xamarin project. You can find the dll here.
  3. Add both files to your Xamarin project:
    1. Right click on References – Edit References 
    2. Navigate to the .Net Assembly tab and click on Browse
    3. Select the file that you just downloaded
  4. Vungle SDK requires additional libraries, which can be added in the following ways:
    1. Include these files through Visual Studio’s NuGet module:
      Retrofit2 version 2.2.0(Square.Retrofit2).
      Retrofit2 GsonConverter version 2.2.0 (Naxam.Retrofit2.ConvertGson.Droid).
      OkHttp3 version 3.7.0(Square.OkHttp).
      OkIO version 1.12.0(Square.OkIO).
      Gson version 2.7(GoogleGson).
    2. Download the following files and include them in your project same as in step 3:
  5. For Android Only – Update AndroidManifest.xml

    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.INTERNET"/>

    Manifest activities:

    <activity android:name="com.vungle.warren.ui.VungleActivity" android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize" android:launchMode="singleTop" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
    <activity android:name="com.vungle.warren.ui.VungleFlexViewActivity" android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize" android:hardwareAccelerated="true" android:launchMode="singleTop" android:theme="@android:style/Theme.Translucent.NoTitleBar" />

Xamarin Plugin (iOS Integration)

Follow our guide for manual downloading and including mediation adapters. Download Vungle framework and add it to your project as described.

You are now all set to deliver Vungle Ads within your application!

What’s Next?

To leverage additional ad networks through ironSource Mediation, integrate the adapters and follow our integration guides