Show Sidebar

Vungle Integration using Android SDK

Current Vungle Version: 4.0.3

Supported Ad Formats: The VMAX SDK supports Interstitials, Interstitial Video Ads, and Rewarded Video Ads from Vungle.

You will need

  1. an active Vungle account
  2. your Api Key
  3. your Api ID
  4. your App ID

In Vungle

In your Vungle account

  1. Add an App
  2. Obtain your App ID, which you’ll be adding to your app with our SDK. It’s in red on your app’s page
  3. Obtain your Vungle API Key. It can be found on the API documentation page. You can also email tech-support@vungle.com to get one.

Further Integration

Step 1: Create a package com.vmax.android.ads.mediation.partners in your app and add the file VungleInterstitial.java from the SDK folder Mediation Files\Mediation Adapters\com\vmax\android\ads\mediation\partners to it.

Step 2: Add the files vungle-publisher-adaptive-id-4.0.3.jar, nineoldandroids-2.4.0(not required with vungle 4.0.3).jar, javax.inject-1.jar and dagger-2.7.jar from the SDK folder Mediation Files\Mediation Libraries to your app’s libs folder.

Step 3: Add the accompanying code inside the <application> tag in AndroidManifest.xml

Step 4: Add the following permissions to AndroidManifest.xml

Step 5: Enable hardware acceleration to support video ads.

Step 6: [Optional] If you are running ProGuard on your Android application, ensure that the following directive is added in your ProGuard configuration file proguard-rules.pro:

What would you like to do next?