Skip to content

springserve adapter#168

Merged
protonate merged 1 commit intoprebid:masterfrom
yellowhammer:master
Feb 9, 2016
Merged

springserve adapter#168
protonate merged 1 commit intoprebid:masterfrom
yellowhammer:master

Conversation

@JohnBuonomo
Copy link
Contributor

adapter for the springserve bidder

@mkendall07
Copy link
Contributor

Thanks for the PR @JohnBuonomo

Can you please submit your params object needed to wire up the adapter? Example
https://github.com/prebid/Prebid.js/blob/master/integrationExamples/gpt/pbjs_example_gpt.html#L97-L100

Also please include actual test params that can be used to retrieve an ad for validation. Thanks very much!

@JohnBuonomo
Copy link
Contributor Author

@mkendall07 The testing params are included in that last commit. Let me know if something else is needed. -John

@JohnBuonomo JohnBuonomo force-pushed the master branch 2 times, most recently from 8dab9be to 32c0966 Compare January 30, 2016 00:56
@mkendall07 mkendall07 assigned mkendall07 and protonate and unassigned mkendall07 Feb 1, 2016
@protonate
Copy link
Collaborator

Hi @JohnBuonomo, the placement size info is already set on the adUnit object here, so you can remove the height and width properties from the springserve bid object.

@JohnBuonomo
Copy link
Contributor Author

@protonate I made the requested changes to the params.

@protonate
Copy link
Collaborator

Thanks for the changes, @JohnBuonomo. The height and width are undefined when set in handleSpringServeCB(), you can pull them from bidRequest.sizes however. I'll comment inline.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Width is undefined.

@protonate
Copy link
Collaborator

Thanks for the fixes. Please squash commits and we can get this merged. Thanks!

springserve adapter test params

springserve adapter - test setup; small fix

springserve adapter get's sizes from ad unit

update test params

recover sizes from bidrequest

springserve adapter indentation
@JohnBuonomo
Copy link
Contributor Author

Squashed. Thank you!

protonate pushed a commit that referenced this pull request Feb 9, 2016
@protonate protonate merged commit 33bd906 into prebid:master Feb 9, 2016
//assign properties from the original request to the bid object
for (var i = 0; i < requestObj.bids.length; i++ ){
var bidRequest = requestObj.bids[i];
if(bidRequest.bidder = "springserve"){
Copy link
Collaborator

Choose a reason for hiding this comment

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

@JohnBuonomo I noticed this while applying code style tools, but I expect you want this to be an equality check and not assignment. I'll put this fix into the upcoming code style PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@protonate Ugh. Yes. Thank you for catching that.

vzhukovsky added a commit to aol/Prebid.js that referenced this pull request Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments