forked from prebid/prebid-server
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (prebid#1123)
* require the caller to define native assets[...].ID * Update assets-with-partial-ids.json
- Loading branch information
1 parent
7e8688e
commit 0187da9
Showing
6 changed files
with
94 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 | ||
} | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
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,22 @@ | ||
{ | ||
"context": 1, | ||
"plcmttype": 1, | ||
"assets": [ | ||
{ | ||
"id": 1, | ||
"img": { | ||
"wmin": 30 | ||
} | ||
}, | ||
{ | ||
"title": { | ||
"len": 20 | ||
} | ||
}, | ||
{ | ||
"img": { | ||
"wmin": 50 | ||
} | ||
} | ||
] | ||
} |
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 | ||
} | ||
} | ||
] | ||
} |