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

Google IMA Integration using Android SDK

Rất tiếc, mục này chỉ tồn tại ở 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.

Supported Google IMA Version: 3.4.0

Supported Ad Formats: The VMAX SDK supports in-content video ads from Google IMA.

You will need

  1. Working Google IMA Setup with associated video assets
  2. Video ad unit
  3. Ad Tag URL

For Android Studio and Eclipse

Note: From VMAX v3.5.18, the adapters of Google IMA are not a part of the base SDK.

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

Step 2: Add the file GoogleIMASdk.jar from the SDK folder Mediation Files\Mediation Libraries to your app’s libs folder.

[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?