Unruly Bid Adapter: consolidated adapter with RhythmOne#7073
Merged
Fawke merged 11 commits intoprebid:masterfrom Jul 1, 2021
Merged
Unruly Bid Adapter: consolidated adapter with RhythmOne#7073Fawke merged 11 commits intoprebid:masterfrom
Fawke merged 11 commits intoprebid:masterfrom
Conversation
* Finished the request and bid validation side * removed the user sync since now the backend is responsible for that.
* Finished handling the response now the adapter supports banner/instream/outstream
* fixed the unit tests for the outstream response part (still missing new unit tests for instream and banner)
* added new unit tests for instream and banner
* changed the endpoint to the new endpoint * unitTests indentations
* Added missing semicolons
* fixes after code review
* added the ability to overwrite the end point for testing reasons. * removed the floorInfo object and changed it to floor * added more unit tests * added unmissable configuration to md file
* added check in instream if the response has vastUrl or vastXml + unit test
* Updated the md file to product request
Fawke
requested changes
Jun 29, 2021
Contributor
Fawke
left a comment
There was a problem hiding this comment.
Hi @opeledtremor, looks good overall, just a couple things you can take a look at.
modules/unrulyBidAdapter.js
Outdated
| }, | ||
|
|
||
| buildRequests: function (validBidRequests, bidderRequest) { | ||
| let endPoint = '//targeting.unrulymedia.com/unruly_prebid'; |
Contributor
There was a problem hiding this comment.
Pushed the requested change (adding https to the endpoint).
| options | ||
| Object.keys(requestBySiteId).forEach((key) => { | ||
| let data = { | ||
| bidderRequest: Object.assign({}, {bids: requestBySiteId[key], invalidBidsCount, ...bidderRequestData}) |
Contributor
There was a problem hiding this comment.
I am all for using the object spread syntax but just letting you know it won't work in IE11.
Contributor
There was a problem hiding this comment.
Looks like it does get transpiled to es5, so I guess, it's fine.
* added https for the endpoint as requested from prebid reviewer.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change
Description of change
This is a consolidated adapter between the Unruly adapter and the RhythmOne Adapter.
now the unruly adapter support instream, outstream and banner.
list of changes:
contact email of the adapter’s maintainer: opeled@tremorvideo.com
official adapter submission
A link to a PR on the docs repo: Unruly r1 consolidated adapter prebid.github.io#3054