• English
  • Hindi
  • Bahasa
  • Vietnemese
  • Malay
  • Thai
Show Sidebar

Vungle Integration using Android SDK

Sorry, this entry is only available in English For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.

Current Vungle Version: 3.3.5

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 Vungle Application ID
  3. your Reporting API ID
  4. your Reporting API Key

In Vungle

In your Vungle account

  1. Add an App
  2. Read the Vungle documentation on how to find the Vungle App ID.
  3. For reporting, find out how to obtain the Reporting API ID and the Reporting API Key.

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-3.3.5.jar, nineoldandroids-2.4.0(not required with vungle 3.3.5).jar, javax.inject-1.jar and dagger-1.2.2.jar/dagger-2.1.jar from the SDK folder Mediation Files\Mediation Libraries to your app’s libs folder.

Google Play Services (Optional)

Including Google Play Services with your project will allow Vungle to provide a more customized ad experience to the end-user, but it’s not required. We recommend using version 4.0.30 or higher.

To include Google Play Services, we recommend Google’s setup guide. In your app, ensure that the device has a sufficiently up-to-date version of Google Play Services.

For more questions about Google Play Services, check out some of our Google Play Services Frequently Asked Questions.

For Android 3.3.5:

  • If you use play-services 7.8.0:
    • include play-services-ads
    • include play-services-location
    • retain the support library
  • If you use play-services 8.4.0:
    • include play-services-ads
    • include play-services-location
    • the support library is NOT required

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?