-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new Adapter- Beachfront Media #1062
Conversation
… for prebid.js pull request
# Conflicts: # src/adapters/beachfront.js
* temp: Ready for pull request with prebid.js
* commit '0cea31cd294f380b3b7cf46dd7a4000316b71ac1': Fix Mantis tests in negative timezone (prebid#1049) Add deal id handling (prebid#1044) sanitize bidderRequest to rubicon adapter to ensure accountId is sent (prebid#1030) Bidfluence Adapter (prebid#1023)
Hey @Allen-37F are https://github.com/prebid/prebid.github.io/tree/master/dev-docs/bidders |
Yes, those are the two required params. Thanks for the tip - added a .md documenting that. |
Thanks for the test page comment. It should not be a part of the pull-request commits though, sorry if I was confusing. |
Roger that - deleted index.html from the pull request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope this did the trick!
LGTM 👍 |
src/adapters/beachfront.js
Outdated
var newBid = {}; | ||
newBid.price = parsed.bidPrice; | ||
newBid.url = parsed.url; | ||
newBid.bidId = utils.getUniqueIdentifierStr(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bidId
should be from the request bid - see https://github.com/prebid/Prebid.js/blob/master/src/adapters/appnexus.js#L200 for example. This is to sync the request/response.
@Allen-37F please update the code for handling the bid.bidId and then we can mrege. |
@mkendall07 I don't think it's related, but that's a good catch. |
LGTM. |
This is merged into master. Please submit a PR to the docs repo to add a file for your adapter to the bidders directory so your adapter's params will appear on the bidders page. Thank you for contributing |
Thanks, everyone! The PR to have Beachfront added to the bidders directory is #203, and it's ready. |
…built * 'master' of https://github.com/prebid/Prebid.js: (38 commits) Add optional domain parameter to AdButler adapter (prebid#1078) Send transactionID to Criteo Services (prebid#1113) Fix `buildMasterVideoTagFromAdserverTag()` not selecting winning bid (prebid#1106) Remove placement size selection and filtering (prebid#1107) revert `srcdoc` change (prebid#1130) Add new Adapter- Beachfront Media (prebid#1062) Fixes SpringServe adapter (prebid#1101) Update Widespace request param (prebid#1098) - New Adapter: Innity (prebid#1074) Update Roxot prebid analytic adapter (prebid#1034) Yarn Package Manager (prebid#1109) allow writing into current document if prebid is loaded inside an iframe (prebid#1066) Adapter bug fix (prebid#1096) fix typo added pr review process and governance model (prebid#1103) added support for sampling in ga and base adapter, fixed up some tests (prebid#1011) Add Inneractive adapter (prebid#1048) Add alias freewheel-ssp to stickyadstv bidder adapter (prebid#1043) Add Facebook Audience Network adapter (prebid#1068) Add Atomx support (prebid#1056) ...
* init * refactoring and replacing hard-coded variables * changed error handling if missing adid or bidfloor * created testing spec for beachfront adapter & began writing unit tests * working on testing * still testing * all tests passing but the last two. Almost there... * getting ready to change to new getmu response * adapter working, tests complete; removing console logs and setting up for prebid.js pull request * only the beachfront adapter plus prebidvid.html * merging with upstream master * Added adapter for Beachfront and associated tests. * updating adapter * Ready for pull request with prebid.js * Updated ‘dev’ parameter in test request * Update params for pull request * Pointing to prod endpoint in adapter and test * Stage adapter files for prebid pull request * Retrying commit of adapter files for PR * last-minute * Made updates requested for PR * Removed console logs and bid counter * Updates for test * Updated master branch, added index.html for testing * added check for bidfloor and return on undefined rtbdataparams * Deleted index.html * updated newBid.bidId
Type of change
Description of change
Other information