Skip to content

Instantly share code, notes, and snippets.

@arjunkori
Last active February 15, 2017 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arjunkori/61b0a4cfe190d7d9d63e40a8f50937c9 to your computer and use it in GitHub Desktop.
Save arjunkori/61b0a4cfe190d7d9d63e40a8f50937c9 to your computer and use it in GitHub Desktop.
URL : http://localhost:3000/user/ads?imei=9114572222810&slot=slot1&slot=slot2
METHOD:GET :
//*********************************** HINDI YOUTUBE CHANNEL RESPONSE ********************************************//
[
{
"_id": "589dd388920e7b25bce665f5",
"created_at": "2017-02-10T14:51:52.648Z",
"updated_at": "2017-02-10T14:51:52.648Z",
"expiry_time": 1486824712,
"sourceId": "HlAOZrst6fQ",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/HlAOZrst6fQ",
"pipelineScore": null,
"slot": [
{
"slot1": true
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Yeh Hai Bombay Meri Jaan - Johnny Walker, Mohd Rafi, Geeta Dutt, CID Song"
},
"_id": "589dd383920e7b25bce66582"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/HlAOZrst6fQ",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/HlAOZrst6fQ/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/HlAOZrst6fQ/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/HlAOZrst6fQ/hqdefault.jpg"
}
]
},
"_id": "589dd383920e7b25bce66581"
}
],
"__v": 0
},
{
"_id": "589dd388920e7b25bce665f6",
"created_at": "2017-02-10T14:51:52.648Z",
"updated_at": "2017-02-10T14:51:52.648Z",
"expiry_time": 1486824712,
"sourceId": "F5zE7S5Pc_8",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/F5zE7S5Pc_8",
"pipelineScore": null,
"slot": [
{
"slot1": true
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Sanwariya le chal Parli Paar (Krishna Bhajan) | Shyam Teri Lagan | Jaya Kishori Ji & Chetana Sharma"
},
"_id": "589dd383920e7b25bce6658e"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/F5zE7S5Pc_8",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/F5zE7S5Pc_8/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/F5zE7S5Pc_8/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/F5zE7S5Pc_8/hqdefault.jpg"
}
]
},
"_id": "589dd383920e7b25bce6658d"
}
],
"__v": 0
},
{
"_id": "589dd388920e7b25bce665fa",
"created_at": "2017-02-10T14:51:52.652Z",
"updated_at": "2017-02-10T14:51:52.652Z",
"expiry_time": 1486824712,
"sourceId": "2R9dznfY5Zc",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/2R9dznfY5Zc",
"pipelineScore": null,
"slot": [
{
"slot1": true
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Nahi Samne | Taal | Best of A.R.Rahman Song | Akshaye Khanna - Hariharan, Sukhwinder Singh"
},
"_id": "589dd383920e7b25bce6657c"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/2R9dznfY5Zc",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/2R9dznfY5Zc/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/2R9dznfY5Zc/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/2R9dznfY5Zc/hqdefault.jpg"
}
]
},
"_id": "589dd383920e7b25bce6657b"
}
],
"__v": 0
},
{
"_id": "589dd388920e7b25bce665f4",
"created_at": "2017-02-10T14:51:52.647Z",
"updated_at": "2017-02-10T14:51:52.647Z",
"expiry_time": 1486824712,
"sourceId": "XnBbjc5hmho",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/XnBbjc5hmho",
"pipelineScore": null,
"slot": [
{
"slot1": true
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Jaan Pehchan Ho - Mohammed Rafi, Gumnaam Dance Song"
},
"_id": "589dd383920e7b25bce66579"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/XnBbjc5hmho",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/XnBbjc5hmho/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/XnBbjc5hmho/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/XnBbjc5hmho/hqdefault.jpg"
}
]
},
"_id": "589dd383920e7b25bce66578"
}
],
"__v": 0
},
{
"_id": "589dd388920e7b25bce665f9",
"created_at": "2017-02-10T14:51:52.652Z",
"updated_at": "2017-02-10T14:51:52.652Z",
"expiry_time": 1486824712,
"sourceId": "NbqCWwlNKrA",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/NbqCWwlNKrA",
"pipelineScore": null,
"slot": [
{
"slot1": true
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Aap Ki Ankhon Mein Kuch - Kishore Kumar, Lata Mangeshkar, Ghar Romantic Song"
},
"_id": "589dd383920e7b25bce6657f"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/NbqCWwlNKrA",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/NbqCWwlNKrA/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/NbqCWwlNKrA/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/NbqCWwlNKrA/hqdefault.jpg"
}
]
},
"_id": "589dd383920e7b25bce6657e"
}
],
"__v": 0
}
]
//*************************************** NEXT 5 HINDI VIDEO AD RESPONSE ************************************************************//
[
{
"_id": "58a402200be2f22634dbe7e1",
"created_at": "2017-02-15T07:24:16.946Z",
"updated_at": "2017-02-15T07:24:16.946Z",
"expiry_time": 1487229856,
"sourceId": "9Eh-CqM8VyA",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/9Eh-CqM8VyA",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Crime Patrol Dial 100 - क्राइम पेट्रोल - Ep 380 - Pune Murder Case (Maharashtra) -1st Feb, 2017"
},
"_id": "58a4021e0be2f22634dbe7b6"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/9Eh-CqM8VyA",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/9Eh-CqM8VyA/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/9Eh-CqM8VyA/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/9Eh-CqM8VyA/hqdefault.jpg"
}
]
},
"_id": "58a4021e0be2f22634dbe7b5"
}
],
"__v": 0
},
{
"_id": "58a402200be2f22634dbe7e2",
"created_at": "2017-02-15T07:24:16.949Z",
"updated_at": "2017-02-15T07:24:16.949Z",
"expiry_time": 1487229856,
"sourceId": "F5zE7S5Pc_8",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/F5zE7S5Pc_8",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Sanwariya le chal Parli Paar (Krishna Bhajan) | Shyam Teri Lagan | Jaya Kishori Ji & Chetana Sharma"
},
"_id": "58a4021e0be2f22634dbe7d1"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/F5zE7S5Pc_8",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/F5zE7S5Pc_8/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/F5zE7S5Pc_8/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/F5zE7S5Pc_8/hqdefault.jpg"
}
]
},
"_id": "58a4021e0be2f22634dbe7d0"
}
],
"__v": 0
},
{
"_id": "58a402200be2f22634dbe7e3",
"created_at": "2017-02-15T07:24:16.950Z",
"updated_at": "2017-02-15T07:24:16.950Z",
"expiry_time": 1487229856,
"sourceId": "4bkArvTLjBw",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/4bkArvTLjBw",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Rinku playing KBC with Yuvraj Singh - The Kapil Sharma Show - Ep.45 -24th September 2016"
},
"_id": "58a4021e0be2f22634dbe7bf"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/4bkArvTLjBw",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/4bkArvTLjBw/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/4bkArvTLjBw/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/4bkArvTLjBw/hqdefault.jpg"
}
]
},
"_id": "58a4021e0be2f22634dbe7be"
}
],
"__v": 0
},
{
"_id": "58a402200be2f22634dbe7e4",
"created_at": "2017-02-15T07:24:16.951Z",
"updated_at": "2017-02-15T07:24:16.951Z",
"expiry_time": 1487229856,
"sourceId": "zyqJ8uoDI64",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/zyqJ8uoDI64",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Sankirtan | Dena Ho To Dijiye Janm Janm Ka Sath | Ramesh Bhai Oza Ji"
},
"_id": "58a4021e0be2f22634dbe7ce"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/zyqJ8uoDI64",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/zyqJ8uoDI64/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/zyqJ8uoDI64/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/zyqJ8uoDI64/hqdefault.jpg"
}
]
},
"_id": "58a4021e0be2f22634dbe7cd"
}
],
"__v": 0
},
{
"_id": "58a402280be2f22634dbe83c",
"created_at": "2017-02-15T07:24:24.089Z",
"updated_at": "2017-02-15T07:24:24.089Z",
"expiry_time": 1487229864,
"sourceId": "5Qy0H1fg6i0",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/5Qy0H1fg6i0",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Duplicates of Anu Malik, Farah Khan and Sonu Nigam - The Kapil Sharma Show – 18th Dec 2016"
},
"_id": "58a4021e0be2f22634dbe7bc"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/5Qy0H1fg6i0",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/5Qy0H1fg6i0/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/5Qy0H1fg6i0/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/5Qy0H1fg6i0/hqdefault.jpg"
}
]
},
"_id": "58a4021e0be2f22634dbe7bb"
}
],
"__v": 0
}
]
//************************************* ENGLISH VIDEO RESPONSE *********************************************************************//
RESPONSE :
[
{
"_id": "589ae513a60afa202c52cd65",
"created_at": "2017-02-08T09:29:55.525Z",
"updated_at": "2017-02-08T09:29:55.525Z",
"expiry_time": 1486632595,
"sourceId": "2jZ7vyk8rEU",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/2jZ7vyk8rEU",
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": true
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Story Of Dr. APJ Abdul Kalam"
},
"_id": "589ae474ff86d41aa87a652b"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/2jZ7vyk8rEU",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/2jZ7vyk8rEU/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/2jZ7vyk8rEU/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/2jZ7vyk8rEU/hqdefault.jpg"
}
]
},
"_id": "589ae474ff86d41aa87a652a"
}
],
"__v": 0
},
{
"_id": "589ae513a60afa202c52cd6a",
"created_at": "2017-02-08T09:29:55.541Z",
"updated_at": "2017-02-08T09:29:55.541Z",
"expiry_time": 1486632595,
"sourceId": "_-1V2v9VPDs",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/_-1V2v9VPDs",
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": true
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Meet the IAS topper of the year"
},
"_id": "589ae474ff86d41aa87a6528"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/_-1V2v9VPDs",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/_-1V2v9VPDs/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/_-1V2v9VPDs/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/_-1V2v9VPDs/hqdefault.jpg"
}
]
},
"_id": "589ae474ff86d41aa87a6527"
}
],
"__v": 0
}
,
{
"_id": "58a3fad0bbb85b23acd432c8",
"created_at": "2017-02-15T06:53:04.112Z",
"updated_at": "2017-02-15T06:53:04.112Z",
"expiry_time": 1487227984,
"sourceId": "ENdO-q7OYR8",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/ENdO-q7OYR8",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Telecom customers got Diwali gift of Reliance Jio along with other operators offers"
},
"_id": "58a3facabbb85b23acd4325e"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/ENdO-q7OYR8",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/ENdO-q7OYR8/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/ENdO-q7OYR8/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/ENdO-q7OYR8/hqdefault.jpg"
}
]
},
"_id": "58a3facabbb85b23acd4325d"
}
],
"__v": 0
},
{
"_id": "58a3fad0bbb85b23acd432c5",
"created_at": "2017-02-15T06:53:04.107Z",
"updated_at": "2017-02-15T06:53:04.107Z",
"expiry_time": 1487227984,
"sourceId": "l0YjFr-hZvY",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/l0YjFr-hZvY",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Money Guru : Experts advice for investment in Mutual Funds"
},
"_id": "58a3facabbb85b23acd4325b"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/l0YjFr-hZvY",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/l0YjFr-hZvY/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/l0YjFr-hZvY/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/l0YjFr-hZvY/hqdefault.jpg"
}
]
},
"_id": "58a3facabbb85b23acd4325a"
}
],
"__v": 0
},
{
"_id": "58a3fad0bbb85b23acd432c0",
"created_at": "2017-02-15T06:53:04.103Z",
"updated_at": "2017-02-15T06:53:04.103Z",
"expiry_time": 1487227984,
"sourceId": "VBKKf6kYIGE",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/VBKKf6kYIGE",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Exclusive talk with 'Tarek Fatah'"
},
"_id": "58a3facabbb85b23acd43264"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/VBKKf6kYIGE",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/VBKKf6kYIGE/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/VBKKf6kYIGE/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/VBKKf6kYIGE/hqdefault.jpg"
}
]
},
"_id": "58a3facabbb85b23acd43263"
}
],
"__v": 0
}
]
//************************** NEXT 5 Response FOR English Ads ******************************************************************//
[
{
"_id": "58a404cf7a6a4818a07b5151",
"created_at": "2017-02-15T07:35:43.048Z",
"updated_at": "2017-02-15T07:35:43.048Z",
"expiry_time": 1487230543,
"sourceId": "t2dGcQUSGbE",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/t2dGcQUSGbE",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Funny Randhir Scene"
},
"_id": "58a404c87a6a4818a07b50dd"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/t2dGcQUSGbE",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/t2dGcQUSGbE/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/t2dGcQUSGbE/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/t2dGcQUSGbE/hqdefault.jpg"
}
]
},
"_id": "58a404c87a6a4818a07b50dc"
}
],
"__v": 0
},
{
"_id": "58a404cf7a6a4818a07b5153",
"created_at": "2017-02-15T07:35:43.048Z",
"updated_at": "2017-02-15T07:35:43.048Z",
"expiry_time": 1487230543,
"sourceId": "zwkvaWn6Sgw",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/zwkvaWn6Sgw",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Shantanu Maheswari's Intro"
},
"_id": "58a404c87a6a4818a07b50d4"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/zwkvaWn6Sgw",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/zwkvaWn6Sgw/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/zwkvaWn6Sgw/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/zwkvaWn6Sgw/hqdefault.jpg"
}
]
},
"_id": "58a404c87a6a4818a07b50d3"
}
],
"__v": 0
},
{
"_id": "58a404cf7a6a4818a07b5164",
"created_at": "2017-02-15T07:35:43.224Z",
"updated_at": "2017-02-15T07:35:43.224Z",
"expiry_time": 1487230543,
"sourceId": "7maGQ0XlrDE",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/7maGQ0XlrDE",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Sadda Haq - My Life My Choice - Visit hotstar.com for full episodes"
},
"_id": "58a404c87a6a4818a07b50da"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/7maGQ0XlrDE",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/7maGQ0XlrDE/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/7maGQ0XlrDE/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/7maGQ0XlrDE/hqdefault.jpg"
}
]
},
"_id": "58a404c87a6a4818a07b50d9"
}
],
"__v": 0
},
{
"_id": "58a404cf7a6a4818a07b5158",
"created_at": "2017-02-15T07:35:43.048Z",
"updated_at": "2017-02-15T07:35:43.048Z",
"expiry_time": 1487230543,
"sourceId": "1e74LMQ1CIo",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/1e74LMQ1CIo",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Introducing Niyati Fatnani as Baby"
},
"_id": "58a404c87a6a4818a07b50d7"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/1e74LMQ1CIo",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/1e74LMQ1CIo/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/1e74LMQ1CIo/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/1e74LMQ1CIo/hqdefault.jpg"
}
]
},
"_id": "58a404c87a6a4818a07b50d6"
}
],
"__v": 0
},
{
"_id": "58a404cf7a6a4818a07b5161",
"created_at": "2017-02-15T07:35:43.223Z",
"updated_at": "2017-02-15T07:35:43.223Z",
"expiry_time": 1487230543,
"sourceId": "faFE1lZdEjw",
"ad_view_type": "VA1",
"target": "https://www.youtube.com/embed/faFE1lZdEjw",
"isVideo": true,
"isText": true,
"pipelineScore": null,
"slot": [
{
"slot2": false
},
{
"slot1": false
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "",
"content": {
"text": "Shahrukh travelling from Mumbai to Delhi in train for the promotion of 'Raees'"
},
"_id": "58a404c87a6a4818a07b50e0"
},
{
"tag": 2,
"type": "image",
"target": "https://www.youtube.com/embed/faFE1lZdEjw",
"content": {
"images": [
{
"width": 120,
"height": 90,
"images_url": "https://i.ytimg.com/vi/faFE1lZdEjw/default.jpg"
},
{
"width": 320,
"height": 180,
"images_url": "https://i.ytimg.com/vi/faFE1lZdEjw/mqdefault.jpg"
},
{
"width": 480,
"height": 360,
"images_url": "https://i.ytimg.com/vi/faFE1lZdEjw/hqdefault.jpg"
}
]
},
"_id": "58a404c87a6a4818a07b50df"
}
],
"__v": 0
}
]
//*************************************** FLIPKART RESPONSE *******************************************************************//
RESPONSE :
[
{
"_id": "589da7efc45fb10bd8427266",
"created_at": "2017-02-10T11:45:51.730Z",
"updated_at": "2017-02-10T11:45:51.730Z",
"expiry_time": 1486813551,
"sourceId": "9788177099966",
"ad_view_type": "EA1",
"target": "http://dl.flipkart.com/dl/secondary-school-mathematics-class-9-pb/p/itmd44arybvv8mxg?pid=9788177099966&affid=flipkarta35",
"pipelineScore": null,
"slot": [
{
"slot2": true
},
{
"slot1": true
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "http://dl.flipkart.com/dl/secondary-school-mathematics-class-9-pb/p/itmd44arybvv8mxg?pid=9788177099966&affid=flipkarta35",
"content": {
"text": "Secondary School Mathematics for Class 9 PB"
},
"_id": "589da7eac45fb10bd842719e"
},
{
"tag": 2,
"type": "image",
"target": "http://dl.flipkart.com/dl/secondary-school-mathematics-class-9-pb/p/itmd44arybvv8mxg?pid=9788177099966&affid=flipkarta35",
"content": {
"images": [
{
"width": 200,
"height": 200,
"images_url": "http://img.fkcdn.com/image/book/9/6/6/secordary-school-mathematics-for-class-ix-200x200-imad8h4eddns32ue.jpeg"
},
{
"width": 400,
"height": 400,
"images_url": "http://img.fkcdn.com/image/book/9/6/6/secordary-school-mathematics-for-class-ix-400x400-imad8h4eddns32ue.jpeg"
},
{
"width": 800,
"height": 800,
"images_url": "http://img.fkcdn.com/image/book/9/6/6/secordary-school-mathematics-for-class-ix-800x800-imad8h4eddns32ue.jpeg"
}
]
},
"_id": "589da7eac45fb10bd842719d"
}
],
"__v": 0
},
{
"_id": "589da7efc45fb10bd8427267",
"created_at": "2017-02-10T11:45:51.730Z",
"updated_at": "2017-02-10T11:45:51.730Z",
"expiry_time": 1486813551,
"sourceId": "9788177091878",
"ad_view_type": "EA1",
"target": "http://dl.flipkart.com/dl/concepts-physics-volume-1-1st/p/itmduqzbmtw2phgw?pid=9788177091878&affid=flipkarta35",
"pipelineScore": null,
"slot": [
{
"slot2": true
},
{
"slot1": true
}
],
"tags": [
{
"tag": 1,
"type": "text",
"target": "http://dl.flipkart.com/dl/concepts-physics-volume-1-1st/p/itmduqzbmtw2phgw?pid=9788177091878&affid=flipkarta35",
"content": {
"text": "Concepts of Physics (Volume - 1) 1st Edition"
},
"_id": "589da7eac45fb10bd8427192"
},
{
"tag": 2,
"type": "image",
"target": "http://dl.flipkart.com/dl/concepts-physics-volume-1-1st/p/itmduqzbmtw2phgw?pid=9788177091878&affid=flipkarta35",
"content": {
"images": [
{
"width": 200,
"height": 200,
"images_url": "http://img.fkcdn.com/image/book/8/7/8/concepts-of-physics-volume-1-200x200-imaepgnypwnzjusc.jpeg"
},
{
"width": 400,
"height": 400,
"images_url": "http://img.fkcdn.com/image/book/8/7/8/concepts-of-physics-volume-1-400x400-imaepgnypwnzjusc.jpeg"
},
{
"width": 800,
"height": 800,
"images_url": "http://img.fkcdn.com/image/book/8/7/8/concepts-of-physics-volume-1-800x800-imaepgnypwnzjusc.jpeg"
}
]
},
"_id": "589da7eac45fb10bd8427191"
}
],
"__v": 0
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment