MyTarget Android

From POKKT DOCUMENTATION
Jump to: navigation, search

MyTarget Pokkt Mediation

Last Update: 4th June, 2018


Pokkt SDK version used: 7.2.0

Ad Colony SDK version used: 5.1.0 (GDPR Compliance)


Download Latest Version Pokkt Mediation.


  1. Common Steps for MyTarget 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 MyTarget Pokkt Mediation" page.
  7. Cocos2d-x Integration: There is no separate documentation for this. Please follow "Common MyTarget Pokkt Mediation" page.
  8. Unity3D Integration: There is no separate documentation for this. Please follow "Common MyTarget Pokkt Mediation" page.
  9. Titanium Integration: There is no separate documentation for this. Please follow "Common MyTarget Pokkt Mediation" page.

Common Steps for MyTarget Pokkt Mediation

Prerequisites


Step 1: Configure Pokkt Dashboard

  • Create account and Login at http://www.pokkt.com
  • Register your app here if not registered.
  • To use the MyTarget Mediation, enter the following details on Pokkt Dashboard:

    Mytarget config.png
  • 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.MyTargetNetwork.
  • ECPM (required): Put your expected value of ECPM which will in turn rank this network in comparison to other configured networks.
  • screens: Pokkt screens should be mapped with MyTarget Slot Id.
  • Screen creation: For creating screen name, create screen name in Pokkt dashboard. Please check below screen shot.

    Screen.jpg

  • Reporting (required): Enter Client Id and Client Secret for your MyTarget Account. You’ll have to request it from MyTarget Support Form.Please specify that you need client_secret and client_id for reporting API.
  • PAD ID: Create app and you can find pad in the browser address bar For example: https://target.my.com/partner/groups/[PAD ID]/pads.

    Mytarget profile.png



Step 2: Configuration in Application (Native)

  • Download the mediation project from POKKT and it is recommended to use the same class file MyTargetNetwork in your project. And if you want to do some changes please do those changes in same file.
  • Refer MyTarget integration document at https://target.my.com/partners/help/android_sdk/getting_started/
  • Add MyTarget SDK into your project. Make sure to update your project's dependencies accordingly as suggested in above document.
  • Add the necessary permissions for MyTarget as suggested in MyTarget integration document to your application manifest.
  • Add the recommended activity to your AndroidManifest.xml as suggested in MyTarget integration guide.

Xamarin Android

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

  1. Add downloaded file PokktMediation.dll in your project under reference section.
  2. You need to create your own .dll extension for MyTarget as it is not been provided by MyTarget.
  3. We had created .dll extension for MyTarget 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.ane in your project.
  2. MyTarget is not providing AIR ane so you need to create your own extension or you can take our help.
  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. MyTarget or Marmalade is not providing marmalade extension for MyTarget 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 MyTarget extension project in your project as subproject.
  4. Follow above all process to complete integration and also check our given example.