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.
beachfront: Changes to support real 204 (prebid#1737)
- Loading branch information
Showing
15 changed files
with
290 additions
and
21 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
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
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 |
---|---|---|
|
@@ -96,6 +96,7 @@ | |
|
||
"expectedBidResponses": [ | ||
{ | ||
"currency": "USD", | ||
"bids": [ | ||
{ | ||
"bid": { | ||
|
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
79 changes: 79 additions & 0 deletions
79
adapters/beachfront/beachfronttest/supplemental/banner-204-with-body.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,79 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "some_test_ad", | ||
"site": { | ||
"page": "https://some.domain.us/some/page.html" | ||
}, | ||
"imp": [ | ||
{ | ||
"id": "dudImp", | ||
"bidfloor": 0.02, | ||
"banner": { | ||
"format": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
} | ||
] | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"bidfloor": 0.02, | ||
"appId": "dudAppId1" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
|
||
"httpCalls": [ | ||
{ | ||
"expectedRequest": { | ||
"uri": "https://qa.beachrtb.com/prebid_display", | ||
"body": { | ||
"slots": [ | ||
{ | ||
"slot": "dudImp", | ||
"id": "dudAppId1", | ||
"bidfloor": 0.02, | ||
"sizes": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
} | ||
] | ||
} | ||
], | ||
"domain": "some.domain.us", | ||
"page": "https://some.domain.us/some/page.html", | ||
"real204": true, | ||
"referrer": "", | ||
"search": "", | ||
"secure": 1, | ||
"requestId": "some_test_ad", | ||
"isMobile": 0, | ||
"ip": "", | ||
"deviceModel": "", | ||
"deviceOs": "", | ||
"dnt": 0, | ||
"ua": "", | ||
"adapterName": "BF_PREBID_S2S", | ||
"adapterVersion": "0.9.2", | ||
"user": { | ||
} | ||
} | ||
}, | ||
"mockResponse": { | ||
"status": 204, | ||
"body": [ | ||
{ | ||
"something": "where nothing should be" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
|
||
"expectedBidResponses": [] | ||
} | ||
|
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
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
Oops, something went wrong.