Amazon iOS

Revision as of 03:51, 27 April 2018 by Madhu (talk | contribs) (Step 1: Configure Pokkt Dashboard)
Jump to: navigation, search

Amazon Pokkt Mediation

Last Update: 27th April, 2018

Pokkt SDK version used: 7.0

Amazon SDK version used:

Download Latest Version Pokkt Mediation.

Common Steps for Amazon Pokkt Mediation


Step 1: Configure Pokkt Dashboard

  • Create Account and log-in at
  • To use the Amazon Mediation please enter the following details on POKKT Dashboard:

Amazon config ios.jpg

  • 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, then class name will be “AmazonAdsNetwork” (you can simply copy-paste it without the quotes).
  • - App Key (required):Login in Amazon dashboard, create new app and get the app key.
  • ECPM:Put your expected value of ECPM which will in turn rank this network in comparison to other configured networks.

Step 2: Configuration in your Application

  • Download the mediation project from POKKT, it is suggested to use the provided class file AdColonyNetwork(AdColonyNetwork.h and AdColonyNetwork.m) in your project. You have the option to make changes to this class, in-fact you can create your own custom adaptor for AdColony using our protocol, just make sure to mention the exact name of class in the “class name” box, refer the Step 1.
  • Add the “AdColony.framework”file into your project. Make sure to update your project's dependencies accordingly.
  • If your project doesn't support ARC, add the following linker flag to Target > Build Settings > Linking > Other Linker Flags:

    - fobjc-arc(this enables ARC for AdColony)

  • Add the following libraries and frameworks to Target > Build Phases > Link Binary With Libraries:

    - libz.1.2.5.tbd

    - AdColony.framework

    - AdSupport.framework (Set to Optional)

    - AudioToolbox.framework

    - AVFoundation.framework

    - CoreGraphics.framework

    - CoreMedia.framework

    - CoreTelephony.framework

    - EventKit.framework

    - EventKitUI.framework

    - MediaPlayer.framework

    - MessageUI.framework

    - QuartzCore.framework

    - Social.framework (Set to Optional)

    - StoreKit.framework (Set to Optional)

    - SystemConfiguration.framework

    - WebKit.framework (Set to Optional)

Marmalade iOS

Follow the below steps to integrate AdColony Mediation in Marmalade iOS project:

  1. Ensure that you have “libAdColonyExtension.a” added in your main project and added to your .mkbfile, ref:
  2. Download and add AdColony framework, add this under deployment section, add this to required frameworks, ref:
    iphone-link-opts="-F$CWD -framework AdColony”
  3. Check the provided sample app for more details.
  4. If you see any error related to “CFNetwork framework not found” then add CFNetwork.framework in your project folder and update .mkbfile like below:
    iphone-link-opts="-F$CWD -framework CFNetwork”
  5. Follow above all process to complete integration and also check our given example.

Xamarin iOS

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

  1. Copy downloaded file libAdColonyExtension.a in your project folder.
  2. Open project option by right click on your project and select “iOS Build” from left pane and then add the libAdColonyExtension.a details and required framework of AdColony inside “Additional mtouch arguments” like below. This is working so you can try with this also.
  3. -gcc_flags "-F${ProjectDir} -framework AdColony -framework CFNetwork -framework CoreGraphics -framework AudioToolbox -framework CoreLocation -framework EventKitUI - framework MessageUI -framework Security -framework Social -framework MobileCoreServices - framework WebKit -weak_framework StoreKit -L${ProjectDir} -lAdColonyExtension -force_load $ {ProjectDir}/libAdColonyExtension.a”
  4. Add CFNetwork framework inside project folder also if needed.
  5. Follow above all process to complete integration.


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

  1. Copy downloaded file AdColonyExtension_iOS.anein your project folder.
  2. Download AdColony ANE from below link and add in your project: