-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
require the caller to define native assets[...].ID
- Loading branch information
Aadesh Patel
committed
Dec 5, 2019
1 parent
5465617
commit a096128
Showing
6 changed files
with
89 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
endpoints/openrtb2/sample-requests/invalid-native/assets-with-dup-ids.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"context": 1, | ||
"plcmttype": 1, | ||
"assets": [ | ||
{ | ||
"id": 1, | ||
"img": { | ||
"wmin": 30 | ||
} | ||
}, | ||
{ | ||
"id": 1, | ||
"title": { | ||
"len": 20 | ||
} | ||
} | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
endpoints/openrtb2/sample-requests/invalid-native/assets-with-partial-ids.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"context": 1, | ||
"plcmttype": 1, | ||
"assets": [ | ||
{ | ||
"id": 1, | ||
"img": { | ||
"wmin": 30 | ||
} | ||
}, | ||
{ | ||
"title": { | ||
"len": 20 | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,10 @@ | |
"plcmttype": 1, | ||
"assets": [ | ||
{ | ||
"id": 2, | ||
"id": 1, | ||
"img": { | ||
"hmin": 30, | ||
"wmin": 20 | ||
"wmin": 30 | ||
} | ||
} | ||
] | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
endpoints/openrtb2/sample-requests/valid-native/asset-with-no-id.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"context": 1, | ||
"plcmttype": 1, | ||
"assets": [ | ||
{ | ||
"img": { | ||
"wmin": 30 | ||
} | ||
} | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
endpoints/openrtb2/sample-requests/valid-native/assets-with-unique-ids.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"context": 1, | ||
"plcmttype": 1, | ||
"assets": [ | ||
{ | ||
"id": 1, | ||
"img": { | ||
"wmin": 30 | ||
} | ||
}, | ||
{ | ||
"id": 2, | ||
"title": { | ||
"len": 20 | ||
} | ||
} | ||
] | ||
} |