Vungle with Mediation

80 views
Skip to first unread message

PSG

unread,
Oct 13, 2017, 4:57:34 AM10/13/17
to Google Mobile Ads SDK Developers
https://developers.google.com/admob/android/mediation/vungle

admod 3.6.3
Vungle 5.1

String[] placements = new String[2];
placements
[0] = "example_placement_1";
placements
[1] = "example_placement_2";
Bundle extras = new VungleExtrasBuilder(placements).build();

AdRequest request =  new AdRequest.Builder()
       
.addNetworkExtrasBundle(VungleAdapter.class, extras)
       
.build();

How can I use VungleAdapter?
Message has been deleted

mobileadssdk-a...@google.com

unread,
Oct 13, 2017, 7:28:36 AM10/13/17
to Google Mobile Ads SDK Developers
Hi,

We saw that you posted a similar question but deleted it. In that previous post, it seems that you are having issues with the mediation setup for Vungle.

Are you getting "Cannot resolve symbol.." warning for the VungleExtrasBuilder and VungleAdapter objects when trying to implement Step 4? If so, then this is mostly because the downloaded Vungle adapter is not properly added to the project which is why those objects are not recognized.

For manual integration, after downloading the Vungle Android SDK and the Vungle adapter, please follow the steps below to add it to your project.
  1. Create a libs folder under apps folder of your Android project
  2. Copy and paste the Vungle Android SDK jar file here as well as the Vungle adapter aar file
  3. Add your library to the project
Let me know if this helps or if we misunderstood your question.

Regards,
Ivan Bautista
Mobile Ads SDK Team
Reply all
Reply to author
Forward
0 new messages