Show Sidebar

Pokkt 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.

Supported Pokkt Version: 5.0

Supported Ad Formats: The VMAX SDK supports rewarded videos from Pokkt.

You will need

  1. an active Pokkt account.
  2. the email address with which you signed up with Pokkt
  3. User API Key (displayed on the User Profile page on the Pokkt Dashboard)
  4. App ID (displayed on the View/Edit App page on the Pokkt Dashboard)
  5. Security Key (displayed on the View/Edit App page on the Pokkt Dashboard)

Integration

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

Step 2: Add the PokktSDK_v5.0.aar from the SDK folder Mediation Files\Mediation Libraries as a Module Dependency in your app

Step 3: Android MinSDKVersion should be >= 11.

Step 4: Google Mobile Ads is required and should be part of your project, if not, please add Google Mobile Ads library to Your Project as mentioned

Add Following meta tag for google mobile ads:

 

Step 5: Add following permissions in your AndroidManifest, If not already there.

 

Step 6: Add the following activity in your AndroidManifest for Video Integration

 

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