Please Note! If your Android application is connected to the SDK of AppsFlyer and Vungle at the same time, it will prompt conflict when compiling.Please refer to:Deal with the conflict between AppsFlyer and Vungle.

Create an Application in Vungle

1. Enter Vungle and log in, click Add Application.En-1.jpg

2. Select the store corresponding to the APP, fill in relevant information and other content to complete the creation of the application.En-2.jpg

Note: In the above operation, if your App is not on the App Store yet, you can only test it. Before the App is officially launched, you need to associate the App Store address with Vungle before it can be officially launched.
This app is directed to children under 13 as defined by the Children’s Online Privacy Projection Act: It is required to comply with the COPPA policy. As for whether the app is directed to children under 13 years old, please check it.


Add Placement

1. Select the created application, click Add Placement.En-3.jpg

2. Select the type of ad slot to be created, fill in the ad slot name and other information, and click Continue to complete the ad slot creation.En-4.jpg

  • MREC :  Popular industry standard rectangular ad (300x250) that incorporates video for higher engagement.
  • Banner-Ad Fresh: Enable to set the number of seconds an ad is displayed before a new ad is shown.


OpenMediation Platform Configuration

Ad Network

1. Enter the OpenMediation publisher platform, click on Ad Network → Edit behind Vungle.En-5.jpg

2. After filling in the relevant information, click Save.


  • App ID: App ID is displayed on your App page, as shown below:En-7.jpg

  • Reporting API Key: You need to enter the report in the navigation bar on the left, and select the Reporting API Key of your account in the upper right corner of the page to get this parameter.


Add Instance

1. Click Mediation → Ad unitAdd Instance.10.jpg

2. After filling in the relevant information, click Save.11.jpg

  • Ad Network: Select Vungle

  • Instance NameYou can define the name of your ad unit yourself, we suggest you name it: Placement ID_Ad Network Name_ Country_Floor Price.(E.g: 6539_Vungle_USA_40)

  • Unit ID: You can get it by entering the Placements page.En-11.jpg


Vungle Test Mode

It is very important to enable test mode for testing. We strongly recommend that you test in the following ways before the app is released.

You only need to select Test Mode on the App Settings page.En-12.jpg


Add the Vungle SDK&Adapter to Your Build


1.  Add the Vungle SDK

  • Add to your application-level build.gradle file inside dependencies section.
implementation 'com.vungle:publisher-sdk-android:+'

 2.  Add the Vungle Adapter

      OpenMediation supports both Gradle dependencies and Manual download mechanisms.

       Gradle dependencies

  • Add the following in your application-level build.gradle file.
implementation 'com.openmediation.adapters:vungle:+'

       Manual download

  • Download the Vungle Adapter from here.
  • Add the Vungle Adapter to Your Project.

3. For Proguard Users Only

If you are using ProGuard with the Vungle adapter, you must add the following code to your ProGuard file (Android Studio: or Eclipse: proguard-project.txt):

 # Vungle
-keep class com.vungle.warren.** { *; }
-dontwarn com.vungle.warren.error.VungleError$ErrorCode

# Moat SDK
-keep class com.moat.** { *; }
-dontwarn com.moat.**

# Okio
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

# Retrofit
-dontwarn okio.**
-dontwarn retrofit2.Platform$Java8

# Gson
-keepattributes Signature
-keepattributes *Annotation*
-dontwarn sun.misc.**
-keep class** { *; }
-keep class * implements
-keep class * implements
-keep class * implements

# Google Android Advertising ID
-keep class** { *; }



OpenMediation supports both Cocoapods and Manualdownload mechanisms.


To Integrate the Vungle SDK with Cocoapods, enter the following line in your podfile and you are good to go!

pod 'VungleSDK-iOS'

Manual Download

1. Download the Vungle framework

  • you can find the lastest Vungle SDK here.

2. Add the Vungle frameworks to your Project

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

Was this article helpful?
3 out of 3 found this helpful



Article is closed for comments.