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.
33Across: Add video support in adapter (prebid#1557)
- Loading branch information
1 parent
2c17132
commit 8d18153
Showing
1 changed file
with
110 additions
and
0 deletions.
There are no files selected for viewing
110 changes: 110 additions & 0 deletions
110
adapters/33across/33acrosstest/exemplary/simple-video.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,110 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "test-request-id", | ||
"imp": [ | ||
{ | ||
"id": "test-imp-id", | ||
"video": { | ||
"w": 728, | ||
"h": 90, | ||
"protocols": [2], | ||
"placement": 1, | ||
"startdelay": -2, | ||
"playbackmethod": [2], | ||
"mimes": ["foo", "bar"] | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"siteId": "fake-site-id", | ||
"productId": "instream" | ||
} | ||
} | ||
} | ||
], | ||
"site": {} | ||
}, | ||
|
||
"httpCalls": [ | ||
{ | ||
"expectedRequest": { | ||
"uri": "http://ssc.33across.com", | ||
"body": { | ||
"id": "test-request-id", | ||
"imp": [ | ||
{ | ||
"id":"test-imp-id", | ||
"video": { | ||
"w": 728, | ||
"h": 90, | ||
"protocols": [2], | ||
"placement": 1, | ||
"startdelay": -2, | ||
"playbackmethod": [2], | ||
"mimes": ["foo", "bar"] | ||
}, | ||
"ext": { | ||
"ttx": { | ||
"prod": "instream" | ||
} | ||
} | ||
} | ||
], | ||
"site": { | ||
"id": "fake-site-id" | ||
} | ||
} | ||
}, | ||
"mockResponse": { | ||
"status": 200, | ||
"body": { | ||
"id": "test-request-id", | ||
"seatbid": [ | ||
{ | ||
"seat": "ttx", | ||
"bid": [{ | ||
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800", | ||
"impid": "test-imp-id", | ||
"price": 0.500000, | ||
"adm": "some-test-vast-ad", | ||
"crid": "crid_10", | ||
"h": 90, | ||
"w": 728, | ||
"ext": { | ||
"ttx": { | ||
"mediaType": "video" | ||
} | ||
} | ||
}] | ||
} | ||
], | ||
"cur": "USD" | ||
} | ||
} | ||
} | ||
], | ||
|
||
"expectedBidResponses": [ | ||
{ | ||
"currency": "USD", | ||
"bids": [ | ||
{ | ||
"bid": { | ||
"id": "8ee514f1-b2b8-4abb-89fd-084437d1e800", | ||
"impid": "test-imp-id", | ||
"price": 0.5, | ||
"adm": "some-test-vast-ad", | ||
"crid": "crid_10", | ||
"w": 728, | ||
"h": 90, | ||
"ext": { | ||
"ttx": { | ||
"mediaType": "video" | ||
} | ||
} | ||
}, | ||
"type": "video" | ||
} | ||
] | ||
} | ||
] | ||
} |