scala-open-real-time-bidding-rtb v.0.0.8 [alpha] - StaticBidding (POC) - 2
Pre-release
Pre-release
scala-open-real-time-bidding-rtb v.0.0.8 [alpha] - StaticBidding (POC) - 2
- Static Bid Requires more improvements
- Improved Extension methods
- Well-formed no bid response config added
- WebApi Response methods naming refactored
Pull Requests - Completed
Bid Request
Url
http://localhost:9000/services/v1/dspService/makeBidRequst
HTTP Method : POST
Body raw
{
"id": "_",
"at": 1,
"cur": [
"USD"
],
"imp": [
{
"id": "1",
"bidfloor": 0.05,
"banner": {
"h": 500,
"w": 600,
"pos": 0
}
}
],
"site": {
"id": "102855",
"cat": [
"IAB3-1"
],
"domain": "www.foobar.com",
"page": "http://www.foobar.com/1234.html ",
"publisher": {
"id": "1",
"name": "Alim Advertise Server",
"cat": [
"IAB3-1"
],
"domain": "foobar.com"
}
},
"device": {
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2",
"ip": "123.145.167.10"
},
"user": {
"id": "55816b39711f9b5acf3b90e313ed29e51665623f"
}
}
Bid Response
{
"id": "static : BidResponse Id",
"seatbid": [
{
"bid": [
{
"id": "static:bidId",
"impid": "1",
"price": 0.15311558703184022,
"adid": "-1",
"nurl": "http://localhost/services/v1/adserver/win-notice/impression/1",
"adm": "adm win-notice markup, optional and should be ignored.",
"adomain": [
"Advertiser blocked domains list",
"Sample-Site-blocked.com",
"Sample-Site2-blocked.com",
"Sample-Site3-blocked.com"
],
"iurl": "iurl : uncached image link",
"cid": "static: CampaignId",
"cat": [
"static: categoryId1",
"static: categoryId2"
],
"dealid": "static: dealId",
"h": 500,
"w": 600
}
],
"seat": "SeatBidID/DSP ID : 1",
"group": null
}
],
"bidid": null,
"cur": "USD",
"nbr": 0
}
Well-formed No Bid Response
{
"id": "",
"seatbid": [],
"nbr": 0
}