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.
Made changes regarding GitHub reviews
- Loading branch information
1 parent
a407b22
commit 3457b8c
Showing
7 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
adapters/pixfuture/pixfuturetest/exemplary/simple-banner.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,43 @@ | ||
{ | ||
"id": "request-id-12345", | ||
"imp": [ | ||
{ | ||
"id": "imp-1", | ||
"banner": { | ||
"format": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
} | ||
] | ||
}, | ||
"bidfloor": 0.5, | ||
"ext": { | ||
"bidder": { | ||
"placementId": "123456", | ||
"siteId": "987654" | ||
} | ||
} | ||
} | ||
], | ||
"site": { | ||
"id": "site-id-999", | ||
"domain": "example.com", | ||
"page": "https://example.com" | ||
}, | ||
"device": { | ||
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36", | ||
"ip": "123.123.123.123" | ||
}, | ||
"user": { | ||
"id": "user-id-789" | ||
}, | ||
"cur": ["USD"], | ||
"ext": { | ||
"prebid": { | ||
"aliases": { | ||
"pixfuture": "pixfuture" | ||
} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
adapters/pixfuture/pixfuturetest/supplemental/bid_parsing_error.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,9 @@ | ||
{ | ||
"status": 500, | ||
"errors": [ | ||
{ | ||
"code": "bid_type_parsing_error", | ||
"message": "Failed to parse impression \"imp-456\" mediatype." | ||
} | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
adapters/pixfuture/pixfuturetest/supplemental/empty_seatb_bid.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,7 @@ | ||
{ | ||
"status": 200, | ||
"bidResponse": { | ||
"seatBid": [] | ||
}, | ||
"message": "No valid bids available." | ||
} |
9 changes: 9 additions & 0 deletions
9
adapters/pixfuture/pixfuturetest/supplemental/invalid_request.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,9 @@ | ||
{ | ||
"status": 500, | ||
"errors": [ | ||
{ | ||
"code": "request_marshalling_error", | ||
"message": "Failed to marshal bid request: invalid JSON format." | ||
} | ||
] | ||
} |
5 changes: 5 additions & 0 deletions
5
adapters/pixfuture/pixfuturetest/supplemental/no_content_response__204.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,5 @@ | ||
{ | ||
"status": 204, | ||
"body": "", | ||
"message": "No content available for the request." | ||
} |
31 changes: 31 additions & 0 deletions
31
adapters/pixfuture/pixfuturetest/supplemental/noaccountid.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,31 @@ | ||
{ | ||
"testBidRequest": { | ||
"id": "test-request-id", | ||
"imp": [ | ||
{ | ||
"id": "test-imp-id", | ||
"banner": { | ||
"format": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
} | ||
] | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"placementId": "123" | ||
} | ||
} | ||
} | ||
], | ||
"site": { | ||
"id": "fake-site-id" | ||
} | ||
}, | ||
"expectedMakeRequestsErrors" : [ | ||
{ | ||
"value": "accountId is not set" | ||
} | ||
] | ||
} |
9 changes: 9 additions & 0 deletions
9
adapters/pixfuture/pixfuturetest/supplemental/response_status_code.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,9 @@ | ||
{ | ||
"status": 502, | ||
"errors": [ | ||
{ | ||
"code": "bad_gateway", | ||
"message": "Pixfuture endpoint returned an unexpected status code: 502." | ||
} | ||
] | ||
} |