AerServ Pokkt Mediation
Last Update: 5th April, 2019
Pokkt SDK version used: 7.5.1
AerServ SDK version used: 3.1.7 (GDPR Compliance)
Download Latest Version Pokkt Mediation.
- Common Steps for AerServ Pokkt Mediation:This is common documentation which is useful for all plugin.
- Native Integration:Check the Steps Mentioned for Native.
- Xamarin Integration: Check the Steps Mentioned for Xamarin.
- AIR Integration: Check the Steps Mentioned for AIR.
- Marmalade Integration: Check the Steps Mentioned for Marmalade.
- ShiVa Integration: There is no separate documentation for this. Please follow “Common AerServ Pokkt Mediation” page.
- Cocos2d-x Integration: There is no separate documentation for this. Please follow “Common AerServ Pokkt Mediation” page.
- Unity3D Integration: There is no separate documentation for this. Please follow “Common AerServ Pokkt Mediation” page.
- Titanium Integration: There is no separate documentation for this. Please follow “Common AerServ Pokkt Mediation” page.
Common Steps for AerServ Pokkt Mediation
- Create account and Login at https://www.aerserv.com/
- Add an app and add placement under inventory tab in AerServ dashboard. Refer the link to get test ads http://platform.aerserv.com/sdk_apis
Step 1: Configure Pokkt Dashboard
- Create account and Login at http://www.pokkt.com
- Register your app here if not registered.
- To use the AerServ Mediation, enter the following details on Pokkt Dashboard:
- App Id (required):Create or sign into your AerServ account and retrieve the AerServ app ID. Same need to provide here. To get AerServ app id , log on to the AerServ platform, Go to the 'Inventory' tab in the top navigation bar, Click the 'Edit' icon next to the app whose ID you wish to obtain. You will find the app ID at the very top of the page.
- Class Name (required):This is the 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.AerServNetwork.
- ECPM: Put your expected value of ECPM which will in turn rank this network in comparison to other configured networks.
- User Name: Enter user name from your AerServ account. Aerserv Username is Name assigned to your account.
- Screens (required):Here need to provide individual placement idwhich was created in AerServ dashboard inside app. So first create Screenin Pokkt dashboard which will reflect here. Once screen has been created then provide placement id inside this field. This screen name will map with placement id at run time.Provide your AerServ Placement Idas a screen in Pokkt dashboard.
- Reporting(required): You need to enter aerserv account user name and private hash key for aerserv account. You can get it from your AerServ account manager.
Step 2: Configuration in Application (Native)
- Download the mediation project from POKKT and it is suggested to use the same class file AerServNetwork(AerServNetwork.java , AerServInterstitialManager.java and AerServBannerManager.java) in your project.You have the option to make changes to these classes, in-fact you can create your own custom adaptor for AerServ using our protocol, just make sure to mention the exact name of class in the “class name” box, refer the Step 1.
- Add the “aerserv.jar”file into your project. Make sure to update your project's dependencies accordingly.
- Refer AdColony integration document at https://support.aerserv.com/hc/en-us/articles/204159160
- Add the necessary permissions for AerServ as suggested in AerServ integration document to your application manifest.
- Add the recommended activitiesand meta datato your AndroidManifest.xmlas suggested in AerServ integration guide.
- AerServ expects activity context so please pass activity context in PokktAds.setPokktConfig()
- Add the necessary proguard details as suggested in AerServ integration guide if your app needs it.
Follow below steps to integrate Mediation in Xamarin android project:
- Add downloaded file PokktMediation.dll in your project under reference section.
- You need to download AerServ extension for Xamarin.
- Follow above all process to complete integration.
Follow below steps to integrate Mediation in AIR android project:
- Add downloaded file PokktMediation.ane in your project.
- You need AerServ so please google to download AerServ .ane file and and use that.
- 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.
- Follow above all process to complete integration and also check our given example specially app.xml file.
Follow below steps to integrate Mediation in Marmalade android project:
- Check downloaded file which has one mediation project “PokktMediationExtension” and this need to be added in your project as subproject in .mkb file.
- AerServ is not providing marmalade extension so you need to create your own extension or you can take our help. We have created dummy extension for this for testing purpose. We will help you on this.
- Add created AerServ extension project in your project as subproject.
- Follow above all process to complete integration and also check our given example.