forked from prebid/prebid-server
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Audit beachfront tests and change some videoResponseType details (pre…
- Loading branch information
1 parent
ccf57f9
commit 41bb4ea
Showing
6 changed files
with
1,276 additions
and
0 deletions.
There are no files selected for viewing
123 changes: 123 additions & 0 deletions
123
adapters/beachfront/beachfronttest/exemplary/adm-video-by-default.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,123 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "adm-video", | ||
"imp": [ | ||
{ | ||
"id": "video1", | ||
"ext": { | ||
"bidder": { | ||
"bidfloor": 3.01, | ||
"appId": "videoAppId1" | ||
} | ||
}, | ||
"video": { | ||
"mimes": [ | ||
"video/mp4" | ||
], | ||
"context": "instream", | ||
"w": 300, | ||
"h": 250 | ||
} | ||
} | ||
], | ||
"site": { | ||
"page": "https://some.domain.us/some/page.html" | ||
}, | ||
"device":{ | ||
"ip":"255.255.255.255" | ||
} | ||
}, | ||
|
||
"httpCalls": [ | ||
{ | ||
"expectedRequest": { | ||
"uri": "https://qa.beachrtb.com/bid.json?exchange_id=videoAppId1", | ||
"body": { | ||
"id": "adm-video", | ||
"imp": [ | ||
{ | ||
"video": { | ||
"w": 300, | ||
"h": 250, | ||
"mimes": [ | ||
"video/mp4" | ||
] | ||
}, | ||
"bidfloor": 3.01, | ||
"id": "video1", | ||
"secure": 1 | ||
} | ||
], | ||
"site": { | ||
"page": "https://some.domain.us/some/page.html", | ||
"domain": "some.domain.us" | ||
}, | ||
"cur": [ | ||
"USD" | ||
], | ||
"device":{ | ||
"devicetype": 2, | ||
"ip":"255.255.255.255" | ||
} | ||
} | ||
}, | ||
"mockResponse": { | ||
"status": 200, | ||
"body": { | ||
"id": "adm-video", | ||
"seatBid": [ | ||
{ | ||
"bid": [ | ||
{ | ||
"id": "5fd7c8a6ff2f1f0d42ee6427", | ||
"impid": "video1", | ||
"price": 20, | ||
"adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>", | ||
"adid": "1088", | ||
"adomain": [ | ||
"beachfront.io" | ||
], | ||
"cid": "277", | ||
"crid": "532", | ||
"w": 300, | ||
"h": 250, | ||
"ext": { | ||
"duration": 30 | ||
} | ||
} | ||
], | ||
"seat": "bfio-s-1" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
|
||
"expectedBidResponses": [ | ||
{ | ||
"bids": [ | ||
{ | ||
"bid": { | ||
"id": "video1AdmVideo", | ||
"impid": "video1", | ||
"price": 20, | ||
"adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>", | ||
"adid": "1088", | ||
"adomain": [ | ||
"beachfront.io" | ||
], | ||
"cid": "277", | ||
"crid": "532", | ||
"w": 300, | ||
"h": 250, | ||
"ext": { | ||
"duration": 30 | ||
} | ||
}, | ||
"type": "video" | ||
} | ||
] | ||
} | ||
] | ||
} |
124 changes: 124 additions & 0 deletions
124
adapters/beachfront/beachfronttest/exemplary/adm-video-by-explicit-type.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,124 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "adm-video", | ||
"imp": [ | ||
{ | ||
"id": "video1", | ||
"ext": { | ||
"bidder": { | ||
"videoResponseType": "adm", | ||
"bidfloor": 3.01, | ||
"appId": "videoAppId1" | ||
} | ||
}, | ||
"video": { | ||
"mimes": [ | ||
"video/mp4" | ||
], | ||
"context": "instream", | ||
"w": 300, | ||
"h": 250 | ||
} | ||
} | ||
], | ||
"site": { | ||
"page": "https://some.domain.us/some/page.html" | ||
}, | ||
"device":{ | ||
"ip":"255.255.255.255" | ||
} | ||
}, | ||
|
||
"httpCalls": [ | ||
{ | ||
"expectedRequest": { | ||
"uri": "https://qa.beachrtb.com/bid.json?exchange_id=videoAppId1", | ||
"body": { | ||
"id": "adm-video", | ||
"imp": [ | ||
{ | ||
"video": { | ||
"w": 300, | ||
"h": 250, | ||
"mimes": [ | ||
"video/mp4" | ||
] | ||
}, | ||
"bidfloor": 3.01, | ||
"id": "video1", | ||
"secure": 1 | ||
} | ||
], | ||
"site": { | ||
"page": "https://some.domain.us/some/page.html", | ||
"domain": "some.domain.us" | ||
}, | ||
"cur": [ | ||
"USD" | ||
], | ||
"device":{ | ||
"devicetype": 2, | ||
"ip":"255.255.255.255" | ||
} | ||
} | ||
}, | ||
"mockResponse": { | ||
"status": 200, | ||
"body": { | ||
"id": "adm-video", | ||
"seatBid": [ | ||
{ | ||
"bid": [ | ||
{ | ||
"id": "5fd7c8a6ff2f1f0d42ee6427", | ||
"impid": "video1", | ||
"price": 20, | ||
"adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>", | ||
"adid": "1088", | ||
"adomain": [ | ||
"beachfront.io" | ||
], | ||
"cid": "277", | ||
"crid": "532", | ||
"w": 300, | ||
"h": 250, | ||
"ext": { | ||
"duration": 30 | ||
} | ||
} | ||
], | ||
"seat": "bfio-s-1" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
|
||
"expectedBidResponses": [ | ||
{ | ||
"bids": [ | ||
{ | ||
"bid": { | ||
"id": "video1AdmVideo", | ||
"impid": "video1", | ||
"price": 20, | ||
"adm": "<VAST version=\"2.0\"><Ad><Wrapper>http://example.com/vast.xml</Wrapper></Ad></VAST>", | ||
"adid": "1088", | ||
"adomain": [ | ||
"beachfront.io" | ||
], | ||
"cid": "277", | ||
"crid": "532", | ||
"w": 300, | ||
"h": 250, | ||
"ext": { | ||
"duration": 30 | ||
} | ||
}, | ||
"type": "video" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.