Skip to content
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

Merged
merged 34 commits into from
Apr 18, 2017
Merged

Conversation

Allen-37F
Copy link
Contributor

@Allen-37F Allen-37F commented Mar 21, 2017

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other

Description of change

  • test parameters for validating bids
{
  	bidder: 'beachfront',
           params: {
              bidfloor: .01,
              appId: "11bc5dd5-7421-4dd8-c926-40fa653bec76"
          	}
        	}
        ]
}

Other information

Allen-37F and others added 25 commits February 20, 2017 18:15
* 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)
@aneuway2
Copy link
Contributor

Hey @Allen-37F are bidFloor and appId both required parameters for your adaptor? Might be good to submit a PR to have this documented :-)

https://github.com/prebid/prebid.github.io/tree/master/dev-docs/bidders

@Allen-37F
Copy link
Contributor Author

Yes, those are the two required params. Thanks for the tip - added a .md documenting that.

@Allen-37F Allen-37F changed the title Prebid pr Add new Adapter- Beachfront Media Mar 27, 2017
@snapwich
Copy link
Collaborator

Thanks for the test page comment. It should not be a part of the pull-request commits though, sorry if I was confusing.

@Allen-37F
Copy link
Contributor Author

Roger that - deleted index.html from the pull request

Copy link
Contributor Author

@Allen-37F Allen-37F left a 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!

@snapwich
Copy link
Collaborator

LGTM 👍

var newBid = {};
newBid.price = parsed.bidPrice;
newBid.url = parsed.url;
newBid.bidId = utils.getUniqueIdentifierStr();
Copy link
Member

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.

@mkendall07
Copy link
Member

@Allen-37F please update the code for handling the bid.bidId and then we can mrege.
@snapwich not sure if the bug you referring to relates to the bid ID not matching or not.

@snapwich
Copy link
Collaborator

@mkendall07 I don't think it's related, but that's a good catch.

@mkendall07
Copy link
Member

LGTM.

@mkendall07 mkendall07 merged commit e532d09 into prebid:master Apr 18, 2017
@mkendall07 mkendall07 removed the ready label Apr 18, 2017
@mkendall07
Copy link
Member

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

@Allen-37F
Copy link
Contributor Author

Thanks, everyone! The PR to have Beachfront added to the bidders directory is #203, and it's ready.

outoftime added a commit to Genius/Prebid.js that referenced this pull request Apr 19, 2017
…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)
  ...
dluxemburg pushed a commit to Genius/Prebid.js that referenced this pull request Jul 17, 2018
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants