diff --git a/native/request/testdata/v1.2/content-context.json b/native/request/testdata/v1.2/content-context.json index 1672bf1..5ebcb0d 100644 --- a/native/request/testdata/v1.2/content-context.json +++ b/native/request/testdata/v1.2/content-context.json @@ -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 + } + } + ] } diff --git a/native/request/testdata/v1.2/social-context.json b/native/request/testdata/v1.2/social-context.json index 0b3dc1e..1cd7a5e 100644 --- a/native/request/testdata/v1.2/social-context.json +++ b/native/request/testdata/v1.2/social-context.json @@ -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 + } + } + ] } diff --git a/native/request/testdata/v1.2/third-party.json b/native/request/testdata/v1.2/third-party.json index 8b549d5..135ae58 100644 --- a/native/request/testdata/v1.2/third-party.json +++ b/native/request/testdata/v1.2/third-party.json @@ -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 + } + } + ] } diff --git a/native/response/testdata/v1.2/clickout.json b/native/response/testdata/v1.2/clickout.json index 0fccd99..48dfd1e 100644 --- a/native/response/testdata/v1.2/clickout.json +++ b/native/response/testdata/v1.2/clickout.json @@ -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" +} diff --git a/native/response/testdata/v1.2/third-party.json b/native/response/testdata/v1.2/third-party.json index 86ed599..1142182 100644 --- a/native/response/testdata/v1.2/third-party.json +++ b/native/response/testdata/v1.2/third-party.json @@ -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." + } + } + ] +} diff --git a/native/response/testdata/v1.2/video.json b/native/response/testdata/v1.2/video.json index 304a275..3cbb031 100644 --- a/native/response/testdata/v1.2/video.json +++ b/native/response/testdata/v1.2/video.json @@ -1,47 +1,48 @@ - { - "link": { - "url": "http: //i.am.a/URL" - }, - "assets": [{ - "id": 4, - "video": { - "vasttag": "" - } - }, - { - "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": "" + } + }, + { + "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." + } + } + ] +}