-
Notifications
You must be signed in to change notification settings - Fork 769
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Richaudience: Shared memory fix (#2710)
* Shared memory fix * Minor reference usage fix * Removed empty lines * Code review feedback addressed * Added nil check for req.device
- Loading branch information
1 parent
e18f17f
commit a2fadfb
Showing
13 changed files
with
198 additions
and
25 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
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
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
168 changes: 168 additions & 0 deletions
168
adapters/richaudience/richaudiencetest/exemplary/single-banner-nil-device.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,168 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "4d3f84eb-787b-42fb-a0cf-062690dadce3", | ||
"test": 0, | ||
"imp": [ | ||
{ | ||
"id": "div-gpt-ad-1460505748561-0", | ||
"banner": { | ||
"format": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
} | ||
] | ||
}, | ||
"bidfloor": 1e-05, | ||
"bidfloorcur": "USD", | ||
"tagid": "testTag", | ||
"ext": { | ||
"bidder": { | ||
"pid": "OsNsyeF68q", | ||
"supplyType": "site", | ||
"test": true | ||
} | ||
} | ||
} | ||
], | ||
"app": { | ||
"id": "12345678", | ||
"name": "Richaudience TV", | ||
"bundle": "R12345678901011", | ||
"publisher": { | ||
"id": "1234567", | ||
"ext": { | ||
"prebid": { | ||
"parentAccount": "891011" | ||
} | ||
} | ||
}, | ||
"content": { | ||
"title": "Richaudience TV", | ||
"series": "Richaudience TV" | ||
} | ||
}, | ||
"user": { | ||
"buyeruid": "189f4055-78a3-46eb-b7fd-0915a1a43bd2a", | ||
"ext": {} | ||
} | ||
}, | ||
"httpCalls": [ | ||
{ | ||
"expectedRequest": { | ||
"uri": "http://ortb.richaudience.com/ortb/?bidder=pbs", | ||
"headers": { | ||
"Content-Type": [ | ||
"application/json;charset=utf-8" | ||
], | ||
"Accept": [ | ||
"application/json" | ||
], | ||
"X-Openrtb-Version": [ | ||
"2.5" | ||
] | ||
}, | ||
"body": { | ||
"id": "4d3f84eb-787b-42fb-a0cf-062690dadce3", | ||
"test": 1, | ||
"imp": [ | ||
{ | ||
"id": "div-gpt-ad-1460505748561-0", | ||
"tagid": "OsNsyeF68q", | ||
"secure": 0, | ||
"banner": { | ||
"format": [ | ||
{ | ||
"w": 300, | ||
"h": 250 | ||
} | ||
] | ||
}, | ||
"bidfloor": 1e-05, | ||
"bidfloorcur": "USD", | ||
"ext": { | ||
"bidder": { | ||
"pid": "OsNsyeF68q", | ||
"supplyType": "site", | ||
"test": true | ||
} | ||
} | ||
} | ||
], | ||
"app": { | ||
"id": "12345678", | ||
"keywords": "tagid=testTag", | ||
"name": "Richaudience TV", | ||
"bundle": "R12345678901011", | ||
"publisher": { | ||
"id": "1234567", | ||
"ext": { | ||
"prebid": { | ||
"parentAccount": "891011" | ||
} | ||
} | ||
}, | ||
"content": { | ||
"title": "Richaudience TV", | ||
"series": "Richaudience TV" | ||
} | ||
}, | ||
"device": { | ||
"ip": "11.222.33.44" | ||
}, | ||
"user": { | ||
"buyeruid": "189f4055-78a3-46eb-b7fd-0915a1a43bd2a", | ||
"ext": { | ||
} | ||
} | ||
} | ||
}, | ||
"mockResponse": { | ||
"status": 200, | ||
"body": { | ||
"id": "ff935bea-4661-40bf-95b7-80c354cf0cdc", | ||
"seatbid": [ | ||
{ | ||
"bid": [ | ||
{ | ||
"id": "47286888", | ||
"impid": "div-gpt-ad-1460505748561-0", | ||
"price": 99, | ||
"crid": "999999", | ||
"adm": "<!-- creative -->", | ||
"adomain": [ | ||
"richaudience.com" | ||
], | ||
"h": 250, | ||
"w": 300 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"expectedBidResponses": [ | ||
{ | ||
"currency": "USD", | ||
"bids": [ | ||
{ | ||
"bid": { | ||
"id": "47286888", | ||
"impid": "div-gpt-ad-1460505748561-0", | ||
"price": 99, | ||
"adm": "<!-- creative -->", | ||
"adomain": [ | ||
"richaudience.com" | ||
], | ||
"crid": "999999", | ||
"w": 300, | ||
"h": 250 | ||
}, | ||
"type": "banner" | ||
} | ||
] | ||
} | ||
] | ||
} |
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
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.