TapJoy Android

From POKKT DOCUMENTATION
Jump to: navigation, search

TapJoy Pokkt Mediation

Last Update: 22nd February, 2017


Pokkt SDK version used: 6.0

TapJoy SDK version used: 11.9.1


Download Latest Version Pokkt Mediation.


  1. Common Steps for TapJoy Pokkt Mediation:This is common documentation which is useful for all plugin.
  2. Native Integration:Check the Steps Mentioned for Native.
  3. Xamarin Integration:Check the Steps Mentioned for Xamarin.
  4. AIR Integration:Check the Steps Mentioned for AIR.
  5. Marmalade Integration:Check the Steps Mentioned for Marmalade.
  6. ShiVa Integration::There is no separate documentation for this. Please follow “Common TapJoy Pokkt Mediation” page.
  7. Cocos2d-x Integration:There is no separate documentation for this. Please follow “Common TapJoy Pokkt Mediation” page.
  8. Unity3D Integration:There is no separate documentation for this. Please follow “Common TapJoy Pokkt Mediation” page.
  9. Titanium Integration:There is no separate documentation for this. Please follow “Common TapJoy Pokkt Mediation” page.

Common Steps for TapJoy Pokkt Mediation

Prerequisites


Step 1: Configure Pokkt Dashboard

  • Create account and login at https://www.pokkt.com
  • Register your app here if not registered.
  • To use the TapJoy Mediation, enter the following details on Pokkt Dashboard:
    Tapjoy config.jpg

  • Class Name (required):This is the fully qualified class name that you define inside your application to set up the network. Classname for the network can be set during SDK integration. If you are using Pokkt’s default adaptors for mediation which is given in PokktMediation.jar, then class name will be com.pokkt.thirdparty.TapJoyNetwork
  • SDK Key (required):Login to Tapjoy and create new App -> App Settings. Here you will find the App key.
  • Reward Amount (required):Provide reward value which user will get after watching reward ad. This is the same value which you will provide in Tapjoy dashboard when you create content for Rewarded video.
  • ECPM (required):Put your expected value of ECPM which will in turn rank this network in comparison to other configured networks.

Step 2 : Configuration in Application (Native)

  • Download the mediation project from POKKT and it is suggested to use the same class file TapJoyNetwork(TapJoyNetwork.java) in your project. You have the option to make changes to these classes, in-fact you can create your own custom adaptor for TapJoy using our protocol, just make sure to mention the exact name of class in the “class name” box, refer the Step 1.
  • Add the “tapjoyconnectlibrary.jar”file into the libs folder of your project. Make sure to update your project's dependencies accordingly.
  • Refer Tapjoy integration documentation at http://dev.tapjoy.com/sdk-integration/android/getting-started-guide-publishers-android/
  • Add the necessary permissions for TapJoy as suggested in TapJoy integration document to your application manifest.
  • Add the recommended activities and meta data to your AndroidManifest.xml as suggested in integration guide.
  • Tapjoy expects activity context so please pass activity context in PokktAds.setPokktConfig()

Xamarin Android

Follow the below steps to integrate Mediation in Xamarin android project:

  1. Add downloaded file PokktMediation.dllin your project under reference section.
  2. You need to create your own .dll extension for Tapjoy as it is not been provided by Tapjoy.
  3. We had created .dll extension for Tapjoy for testing purpose but if you need then please let us know. We will help you on this.
  4. Follow above all process to complete integration.

AIR Android

Follow the below steps to integrate Mediation in AIR android project:

  1. Add downloaded file PokktMediation.anein your project
  2. Download Tapjoy ANE from below link and add this one in your project.
    http://dev.tapjoy.com/sdk-integration/air/getting-started-guide-advertisers-adobe-air/
  3. Google play service .ane file also required and few of the AdNetwork .ane comes with google play service .ane so be careful with this. We are giving PokktMediation.ane separate GooglePlayService.ANE separate.
  4. Follow above all process to complete integration and also check our given example specially app.xml file.

Marmalade Android

Follow the below steps to integrate Mediation in Marmalade android project:

  1. Check downloaded file which has one mediation project “PokktMediationExtension” and this need to be added in your project as subproject in .mkb file.
  2. Tapjoy or Marmalade is not providing marmalade extension for Tapjoy so you need to create your own extension or you can take our help. We have created dummy extension for this testing purpose. We can help you on this.
  3. Add created Tapjoy extension project in your project as subproject.
  4. Follow above all process to complete integration and also check our given example.