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.
No Longer Move bid.ext To bid.ext.bidder (prebid#1742)
* No Longer Move bid.ext To bid.ext.bidder * Remove Similar Behavior From seatbid.ext * Avoid Second Bid Copy * Removed Unused seatbid.ext
- Loading branch information
1 parent
69b3060
commit d11dde5
Showing
9 changed files
with
236 additions
and
78 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
"description": "Verifies bid.ext values are left alone from the adapter, except for overwriting bid.ext.prebid if the adapter ext includes a collision.", | ||
|
||
"incomingRequest": { | ||
"ortbRequest": { | ||
"id": "some-request-id", | ||
"site": { | ||
"page": "test.somepage.com" | ||
}, | ||
"imp": [{ | ||
"id": "my-imp-id", | ||
"video": { | ||
"mimes": ["video/mp4"] | ||
}, | ||
"ext": { | ||
"appnexus": { | ||
"placementId": 1 | ||
} | ||
} | ||
}] | ||
} | ||
}, | ||
"outgoingRequests": { | ||
"appnexus": { | ||
"expectRequest": { | ||
"ortbRequest": { | ||
"id": "some-request-id", | ||
"site": { | ||
"page": "test.somepage.com" | ||
}, | ||
"imp": [{ | ||
"id": "my-imp-id", | ||
"video": { | ||
"mimes": ["video/mp4"] | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"placementId": 1 | ||
} | ||
} | ||
}] | ||
}, | ||
"bidAdjustment": 1.0 | ||
}, | ||
"mockResponse": { | ||
"pbsSeatBid": { | ||
"pbsBids": [{ | ||
"ortbBid": { | ||
"id": "apn-bid", | ||
"impid": "my-imp-id", | ||
"price": 0.3, | ||
"w": 200, | ||
"h": 250, | ||
"crid": "creative-1", | ||
"ext": { | ||
"someField": "someValue", | ||
"prebid": { | ||
"willBeOverwritten": "by core logic" | ||
} | ||
} | ||
}, | ||
"bidType": "video" | ||
}] | ||
} | ||
} | ||
} | ||
}, | ||
"response": { | ||
"bids": { | ||
"id": "some-request-id", | ||
"seatbid": [{ | ||
"seat": "appnexus", | ||
"bid": [{ | ||
"id": "apn-bid", | ||
"impid": "my-imp-id", | ||
"price": 0.3, | ||
"w": 200, | ||
"h": 250, | ||
"crid": "creative-1", | ||
"ext": { | ||
"someField": "someValue", | ||
"prebid": { | ||
"type": "video" | ||
} | ||
} | ||
}] | ||
}] | ||
} | ||
} | ||
} |
Oops, something went wrong.