Show Sidebar

Chartboost Ads 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.

Current Chartboost Version: 5.0.3

Supported Ad Formats: The VMAX SDK interstitial ads, interstitial video ads, and rewarded video ads from Chartboost.

You will need

  1. an active Chartboost account
  2. User ID
  3. User Signature
  4. App ID
  5. App Signature
  6. Location
  7. Ad Type

In Chartboost

  1. In your Chartboost Dashboard, open Tools >> API Explorer. The User ID and User Signature is displayed here. Read more.
  2. After creating an app, open the App Settings page toget the App ID and App Signature. Read more.

Further Integration

Step 1: Create a package com.vmax.android.ads.mediation.partners in your app and add the file ChartboostInterstitial.java from the SDK folder Mediation FilesMediation Adapterscomvmaxandroidadsmediationpartners to it.

Step 2: Add the files chartboost.jar from the SDK folder Mediation FilesMediation Libraries to your app’s libs folder.

Step 3: Add the following permissions to AndroidManifest.xml

Step 4: Enable hardware acceleration to support video ads.

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?