Show Sidebar

AdColony Integration using Android SDK

Maaf, entri ini hanya tersedia dalam bahasa 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: 3.1

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

and arm64-v8a,armeabi,armeabi-v7a,x86 and x86_64 folders from the SDK folder Mediation Files\Mediation Libraries to your app’s libs folder.

Also add the following in your module’s build.gradle under ‘android’:

Step 3: Add the accompanying code inside the <application> tag in AndroidManifest.xml

Step 4: Add the following permissions to AndroidManifest.xml

 

Step 5: [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?