VMAX
 
 
 
 
Show Sidebar

AdColony Integration using Android SDK

ขออภัยรายการนี้จะใช้ได้เฉพาะในภาษาอังกฤษ 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 AdColony Version: 2.3.5

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

You will need

  1. an active AdColony account
  2. User Credentials
  3. your Api Key
  4. the App ID
  5. the Zone ID
  6. the All Zone ID (for Incent video ads)

In AdColony

  1. From the AdColony dashboard, choose your app. Your App ID will be labeled as “AdColony App ID” on this page.
  2. From the AdColony dashboard, choose your app. Select an existing Zone to view its ID, or create a new zone by choosing “Setup New Ad Zone” and selecting the “Interstitial” or “Value Exchange/V4VC” zone type.
  3. Your API key will be labeled as “Read-Only API Key” on this page.

Further Integration

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

Step 2: Add the file adcolony.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. In order to perform optimally, please enable hardware acceleration by adding the following line to your application tag in your manifest:
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?