Ad Interstitial

From POKKT DOCUMENTATION
Jump to: navigation, search

Ad Tag – Integration Guide

Last Update: 27th December, 2016


<script type="text/javascript">
   this.pokktConfig = {
      "_appId": "[APP_ID]",
      "_width":"[WIDTH]",
      "_height":"[HEIGHT]",
      "_deviceId":"[DEVICE_ID]",
      "_adId":"[AD_ID]",
      "_adFormat":"1",
      //possibe values for adformat -
      //1- banner
      //3- interstitial
      //optional macros
      "_dnt":"[DNT]",
      "_connectionType":"[CONNECTION_TYPE]",
      "_appName":"[APP_NAME]",
      "_appBundleName":"[APP_BUNDLE_NAME]",
      "_ipAddress":"[IP_ADDRESS]",
      "_carrierName":"[CARRIER_NAME]",
      "_appStoreUrl":"[APP_STORE_URL]",
      "_clickTracker":"[CLICK_TRACKER]",
      "_impressionTracker":"[IMPRESSION_TRACKER]",
      "_lat":"[LAT]",
      "_lon":"[LON]",
      "_cb":"[CB]"//cache buster
   };
</script>
<script type="text/javascript" src="http://pokktjs.pokkt.com/interstitial/pokkt.js"></script>

Mandatory Parameters

“_appId”: To be provided by POKKT

“_width”: To be passed by Publisher

“_height”: To be passed by Publisher

“_deviceId”: To be passed by Publisher

“_adId”: To be passed by Publisher

Optional Parameters

“_dnt“: Do Not Track (y or n)

"_connectionType“: Connection Type (Numeric value e.g. 0 - Unknown, 1 - Ethernet, 2- Wifi, 3 - Cellular-Unknown Generation, 4 - 2G, 5 - 3G, 6 - 4G/LTE)

“_appName“: App Name (e.g. Metal%20Gear%20Dawn)

“_appBundleName“: Android Package Name or iOS Bundle ID (e.g. com.rage.metalgeardawn)

“_ipAddress“: IP Address

“_carrierName“: Carrier name eg. Vodafone

“_appStoreUrl“:App Store URL

“_clickTracker“: Publisher’s Click Tracker Macro or URL

“_impressionTracker“:Publisher’s Impression Tracker Macro or URL

“_lat“:Latitude

“_lon“:Longitude

“_cb“:Cache Buster (Random alphanumeric)