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 a new bid adapter and test specs for bridgewell #1825

Merged
merged 5 commits into from
Nov 20, 2017
Merged

Add a new bid adapter and test specs for bridgewell #1825

merged 5 commits into from
Nov 20, 2017

Conversation

kuchunchou
Copy link
Contributor

@kuchunchou kuchunchou commented Nov 14, 2017

Type of change

  • New bidder adapter

Description of change

This is a new bidder adapter pull request for Bridgewell (an buyer based in Taiwan).

  • test parameters for validating bids
{
    sizes: [
        [300, 250]
    ],
    bids: [{
        bidder: 'bridgewell',
        params: {
            ChannelID: 'CgUxMjMzOBIBNiIFcGVubnkqCQisAhD6ARoBOQ',
        }
    }]
}

Copy link
Collaborator

@jaiminpanchal27 jaiminpanchal27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kuchunchou Thanks for adding the adapter.
Unit tests are failing. For some reason travis did not run.
Also left some comments.

* @return ServerRequest Info describing the request to the server.
*/
buildRequests: function(validBidRequests) {
var channelIDs = [];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use let/const

return;
}

bidResponse.bidderCode = spec.code;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bidderCode will be set by bidderFactory so you can remove this line

return bidResponses;
},

getUserSyncs: function(syncOptions) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this function if not needed. Its optional.

@kuchunchou
Copy link
Contributor Author

@jaiminpanchal27 Thanks for the review. Unit tests should pass now and issues stated in your comments are also fixed accordingly.

@matthewlane matthewlane merged commit 4ee64ac into prebid:master Nov 20, 2017
Millerrok pushed a commit to Vertamedia/Prebid.js that referenced this pull request Nov 21, 2017
* unstream/master: (36 commits)
  + Add Optimatic Bid Adapter (prebid#1837)
  Add Bridgewell adapter (prebid#1825)
  Kumma adapter updated for Prebid 1.0 (prebid#1766)
  Touchup add bid response (prebid#1822)
  Fix skipped test (prebid#1836)
  Added new size in Rubicon pbjs Adapter (prebid#1842)
  HuddledMasses header bidding adapter (prebid#1806)
  Increment pre version
  Prebid 0.33.0 Release
  Update AOL adapter for v1.0  (prebid#1693)
  Sovrn 1.0 compliance (prebid#1796)
  Platform.io Bidder Adapter update (prebid#1817)
  Drop non-video bidders from video ad units (prebid#1815)
  Update renderAd to replace ${AUCTION_PRICE} in adUrl (prebid#1795)
  Pulsepoint adapter: fixing bid rejection due to missing mandatory bid params. (prebid#1823)
  Remove require.ensure entirely (prebid#1816)
  Add custom keyword support for pbs bid adapter (prebid#1763)
  OpenX Video Adapter update to Prebid v1.0 (prebid#1724)
  Fix test that hard-coded pbjs global. (prebid#1786)
  Update Pollux Adapter to v1.0 (prebid#1694)
  ...
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.

4 participants