Native 1.2: cosmetics - reformatted v1.2 example data for testing

This commit is contained in:
Max Cherry
2018-03-03 09:36:51 +02:00
parent 4197b0fad3
commit ef9ec19cb7
6 changed files with 332 additions and 318 deletions
+76 -76
View File
@@ -1,78 +1,78 @@
{
"ver": "1.2",
"context": 1,
"contextsubtype": 10,
"plcmttype": 11,
"plcmtcnt": 1,
"privacy": 1,
"eventtrackers": [{
"event": 1,
"methods": [1, 2]
},
{
"event": 2,
"methods": [1]
}
],
"assets": [{
"id": 4,
"video": {
"minduration": 15,
"maxduration": 30,
"protocols": [
2, 3
],
"mimes": [
"video/mp4"
]
}
},
{
"id": 123,
"required": 1,
"title": {
"len": 140
}
},
{
"id": 128,
"img": {
"wmin": 836,
"hmin": 627,
"type": 3
}
},
{
"id": 124,
"required": 1,
"img": {
"wmin": 50,
"hmin": 50,
"type": 1
}
},
{
"id": 126,
"required": 1,
"data": {
"type": 1,
"len": 25
}
},
{
"id": 127,
"required": 1,
"data": {
"type": 2,
"len": 140
}
}
],
"eventtrackers": [{
"event": 1,
"methods": [2]
}, {
"event": 2,
"methods": [1]
}]
"ver": "1.2",
"context": 1,
"contextsubtype": 10,
"plcmttype": 11,
"plcmtcnt": 1,
"privacy": 1,
"eventtrackers": [
{
"event": 1,
"methods": [
2
]
},
{
"event": 2,
"methods": [
1
]
}
],
"assets": [
{
"id": 4,
"video": {
"minduration": 15,
"maxduration": 30,
"protocols": [
2,
3
],
"mimes": [
"video/mp4"
]
}
},
{
"id": 123,
"required": 1,
"title": {
"len": 140
}
},
{
"id": 128,
"img": {
"wmin": 836,
"hmin": 627,
"type": 3
}
},
{
"id": 124,
"required": 1,
"img": {
"wmin": 50,
"hmin": 50,
"type": 1
}
},
{
"id": 126,
"required": 1,
"data": {
"type": 1,
"len": 25
}
},
{
"id": 127,
"required": 1,
"data": {
"type": 2,
"len": 140
}
}
]
}
+63 -56
View File
@@ -1,58 +1,65 @@
{
"ver": "1.2",
"context": 2,
"contextsubtype": 20,
"plcmttype": 11,
"plcmtcnt": 1,
"privacy": 1,
"eventtrackers": [{
"event": 1,
"methods": [1, 2]
},
{
"event": 2,
"methods": [1]
}
],
"assets": [{
"id": 123,
"required": 1,
"title": {
"len": 140
}
},
{
"id": 128,
"img": {
"wmin": 836,
"hmin": 627,
"type": 3
}
},
{
"id": 124,
"required": 1,
"img": {
"wmin": 50,
"hmin": 50,
"type": 1
}
},
{
"id": 126,
"required": 1,
"data": {
"type": 1,
"len": 25
}
},
{
"id": 127,
"required": 1,
"data": {
"type": 2,
"len": 140
}
}
]
"ver": "1.2",
"context": 2,
"contextsubtype": 20,
"plcmttype": 11,
"plcmtcnt": 1,
"privacy": 1,
"eventtrackers": [
{
"event": 1,
"methods": [
1,
2
]
},
{
"event": 2,
"methods": [
1
]
}
],
"assets": [
{
"id": 123,
"required": 1,
"title": {
"len": 140
}
},
{
"id": 128,
"img": {
"wmin": 836,
"hmin": 627,
"type": 3
}
},
{
"id": 124,
"required": 1,
"img": {
"wmin": 50,
"hmin": 50,
"type": 1
}
},
{
"id": 126,
"required": 1,
"data": {
"type": 1,
"len": 25
}
},
{
"id": 127,
"required": 1,
"data": {
"type": 2,
"len": 140
}
}
]
}
+49 -48
View File
@@ -1,50 +1,51 @@
{
"ver": "1.2",
"context": 2,
"contextsubtype": 20,
"plcmttype": 11,
"plcmtcnt": 1,
"aurlsupport": 1,
"durlsupport": 1,
"assets": [{
"id": 123,
"required": 1,
"title": {
"len": 140
}
},
{
"id": 128,
"img": {
"wmin": 836,
"hmin": 627,
"type": 3
}
},
{
"id": 124,
"required": 1,
"img": {
"wmin": 50,
"hmin": 50,
"type": 1
}
},
{
"id": 126,
"required": 1,
"data": {
"type": 1,
"len": 25
}
},
{
"id": 127,
"required": 1,
"data": {
"type": 2,
"len": 140
}
}
]
"ver": "1.2",
"context": 2,
"contextsubtype": 20,
"plcmttype": 11,
"plcmtcnt": 1,
"aurlsupport": 1,
"durlsupport": 1,
"assets": [
{
"id": 123,
"required": 1,
"title": {
"len": 140
}
},
{
"id": 128,
"img": {
"wmin": 836,
"hmin": 627,
"type": 3
}
},
{
"id": 124,
"required": 1,
"img": {
"wmin": 50,
"hmin": 50,
"type": 1
}
},
{
"id": 126,
"required": 1,
"data": {
"type": 1,
"len": 25
}
},
{
"id": 127,
"required": 1,
"data": {
"type": 2,
"len": 140
}
}
]
}
+54 -50
View File
@@ -1,51 +1,55 @@
{
"link": {
"url": "http://i.am.a/URL"
},
"assets": [{
"id": 123,
"required": 1,
"title": {
"text": "Learn about this awesome thing"
}
},
{
"id": 124,
"required": 1,
"img": {
"url": "http://www.myads.com/thumbnail1.png"
}
},
{
"id": 128,
"required": 1,
"img": {
"url": "http://www.myads.com/largethumb1.png"
}
},
{
"id": 126,
"required": 1,
"data": {
"value": "My Brand"
}
},
{
"id": 127,
"required": 1,
"data": {
"value": "Learn all about this awesome story of someone using my product."
}
}
],
"eventtrackers": [{
"event": 1,
"method": 2,
"url": "http://www.mytracker.com/tracker.js"
}, {
"event": 2,
"method": 1,
"url": "http://www.mytracker.com/tracker.php"
}],
"privacy": "http://www.myprivacyurl.com"
}
"link": {
"url": "http://i.am.a/URL"
},
"assets": [
{
"id": 123,
"required": 1,
"title": {
"text": "Learn about this awesome thing"
}
},
{
"id": 124,
"required": 1,
"img": {
"url": "http://www.myads.com/thumbnail1.png"
}
},
{
"id": 128,
"required": 1,
"img": {
"url": "http://www.myads.com/largethumb1.png"
}
},
{
"id": 126,
"required": 1,
"data": {
"value": "My Brand"
}
},
{
"id": 127,
"required": 1,
"data": {
"value": "Learn all about this awesome story of someone using my product."
}
}
],
"eventtrackers": [
{
"event": 1,
"method": 2,
"url": "http://www.mytracker.com/tracker.js"
},
{
"event": 2,
"method": 1,
"url": "http://www.mytracker.com/tracker.php"
}
],
"privacy": "http://www.myprivacyurl.com"
}
+42 -41
View File
@@ -1,42 +1,43 @@
{
"assetsurl": "http://www.myadserver.com/getad123nativejson.php",
"link": {
"url": "http: //i.am.a/URL"
},
"assets": [{
"id": 123,
"required": 1,
"title": {
"text": "Learn about this awesome thing"
}
},
{
"id": 124,
"required": 1,
"img": {
"url": "http://www.myads.com/thumbnail1.png"
}
},
{
"id": 128,
"required": 1,
"img": {
"url": "http://www.myads.com/largethumb1.png"
}
},
{
"id": 126,
"required": 1,
"data": {
"value": "My Brand"
}
},
{
"id": 127,
"required": 1,
"data": {
"value": "Learn all about this awesome story of someone using my product."
}
}
]
}
"assetsurl": "http://www.myadserver.com/getad123nativejson.php",
"link": {
"url": "http: //i.am.a/URL"
},
"assets": [
{
"id": 123,
"required": 1,
"title": {
"text": "Learn about this awesome thing"
}
},
{
"id": 124,
"required": 1,
"img": {
"url": "http://www.myads.com/thumbnail1.png"
}
},
{
"id": 128,
"required": 1,
"img": {
"url": "http://www.myads.com/largethumb1.png"
}
},
{
"id": 126,
"required": 1,
"data": {
"value": "My Brand"
}
},
{
"id": 127,
"required": 1,
"data": {
"value": "Learn all about this awesome story of someone using my product."
}
}
]
}
+48 -47
View File
@@ -1,47 +1,48 @@
{
"link": {
"url": "http: //i.am.a/URL"
},
"assets": [{
"id": 4,
"video": {
"vasttag": "<VAST version='2.0'></VAST>"
}
},
{
"id": 123,
"required": 1,
"title": {
"text": "Watch this awesome thing"
}
},
{
"id": 124,
"required": 1,
"img": {
"url": "http://www.myads.com/thumbnail1.png"
}
},
{
"id": 128,
"required": 1,
"img": {
"url": "http://www.myads.com/largethumb1.png"
}
},
{
"id": 126,
"required": 1,
"data": {
"value": "My Brand"
}
},
{
"id": 127,
"required": 1,
"data": {
"value": "Watch all about this awesome story of someone using my product."
}
}
]
}
{
"link": {
"url": "http: //i.am.a/URL"
},
"assets": [
{
"id": 4,
"video": {
"vasttag": "<VAST version='2.0'></VAST>"
}
},
{
"id": 123,
"required": 1,
"title": {
"text": "Watch this awesome thing"
}
},
{
"id": 124,
"required": 1,
"img": {
"url": "http://www.myads.com/thumbnail1.png"
}
},
{
"id": 128,
"required": 1,
"img": {
"url": "http://www.myads.com/largethumb1.png"
}
},
{
"id": 126,
"required": 1,
"data": {
"value": "My Brand"
}
},
{
"id": 127,
"required": 1,
"data": {
"value": "Watch all about this awesome story of someone using my product."
}
}
]
}