roshanoracle
1/22/2018 - 4:38 PM

France Television - Sample App - JSON Return

Sample return from BlueKai tag for campaign-level targeting

// Sample Request
https://tags.bluekai.com/site/56167?phint=appVersion%3D6.1.2&idfa=7DCFEF2C-20E3-4AE3-8FB6-8A9717742ACB&phint=format_video%3Dreplay&phint=chaine%3Dfrance-3&phint=statut_loggue%3Dnon%20loggue&phint=offre%3Dfrance.tv&phint=categorie%3Dseries-fictions&phint=sous_categorie%3Dtelefilms&phint=id_channelid%3D7DCFEF2C-20E3-4AE3-8FB6-8A9717742ACB&phint=app_name%3Dfancetv%20ios&bkrid=934469170&r=88816906&ret=json

// Sample Response (dummy data)
// Campaign returned + win_time of campaign
// Campaign also returns categories which qualify user for campaign + win_time per category

{
 "campaigns": [
  {
    "campaign": 235488,
    "test": "appstrue",
    "timestamp": 1516715558,
    "categories": [
    {
     "categoryID": 1115332,
     "timestamp": 1516715558
    },
    {
     "categoryID": 1155555,
     "timestamp": 1516715558
    }
    ]
  },
  {
    "campaign": 235486,
    "test": "true",
    "timestamp": 1516715558,
    "categories": [
    {
     "categoryID": 1155555,
     "timestamp": 1516715558
    }
    ]
  }
 ]
}