Conversation
|
The contact email of the adapter’s maintainer: |
matthewlane
left a comment
There was a problem hiding this comment.
Thanks for the new adapter PR. Please add your adapter to the adapters.json file and update your tests to pass. See this page for information about testing Prebid.js if needed, thanks
test/spec/adapters/widespace_spec.js
Outdated
| } | ||
|
|
||
| beforeEach(() => { | ||
| pbjs._bidsRequested = []; |
There was a problem hiding this comment.
This causes several other unit tests to fail
matthewlane
left a comment
There was a problem hiding this comment.
Please update according to the notes below.
Also, are these bidder params still valid for testing?
{
bidder: 'widespace',
params: {
sid: 'f666bfaf-69cf-4ed9-9262-08247bb274e4',
cur: 'EUR'
}
}
I'm not getting bids back with them.
adapters.json
Outdated
| "centro", | ||
| "roxot", | ||
| "vertoz", | ||
| 'widespace', |
There was a problem hiding this comment.
JSON requires double quotes, please use them here
There was a problem hiding this comment.
Fixed, thank you
test/spec/adapters/widespace_spec.js
Outdated
| let sandbox; | ||
|
|
||
| beforeEach(() => { | ||
| pbjs._bidsRequested = []; |
There was a problem hiding this comment.
This can cause other test to fail, please remove
There was a problem hiding this comment.
Fixed, thank you
test/spec/adapters/widespace_spec.js
Outdated
| pbjs._bidsRequested.push(BID_REQUEST); | ||
| pbjs.widespaceHandleCB(BID_RESPONSE); | ||
|
|
||
| console.log(bidManager.addBidResponse.firstCall.args[0]); |
There was a problem hiding this comment.
Please remove console.log statements from tests
There was a problem hiding this comment.
Removed, thank you
test/spec/adapters/widespace_spec.js
Outdated
| }); | ||
|
|
||
| it('should use the CPM returned by the server', () => { | ||
| console.log('successfulBid1', successfulBid1); |
There was a problem hiding this comment.
Removed, thank you
test/spec/adapters/widespace_spec.js
Outdated
|
|
||
| it('should use the CPM returned by the server', () => { | ||
| console.log('successfulBid1', successfulBid1); | ||
| console.log('successfulBid1 CPM :::', successfulBid1.cpm); |
There was a problem hiding this comment.
Removed, thank you
|
|
||
| describe('respond with a successful bid', () => { | ||
| let successfulBid1, | ||
| placementCode; |
There was a problem hiding this comment.
This variable is never used, please remove if you don't need it
There was a problem hiding this comment.
Removed, thank you
|
Thank you, I have updated the tests. You should now receive test ad´s with |
|
Changes look good and tests pass. I'm still getting back |
|
Hi, I think you get status = 'noad' because we don´t have 300x250 or 300x600 ad sizes in our system. Thank you, |
|
Hmm, even with size [300, 300], still seeing a |
|
Hi, Can you try to emulate a mobile like iPhone in Chrome forexample. |
|
No luck with an iPhone or Chrome on mobile for me. Here's a test page I've set up http://client-test.devnxs.net/widespace/. This is using prebid.js built with your adapter. Currently I'm seeing in the dev console. For review I check if the adapter is showing up in the |
|
Thank you for the time to set up the test page. I got noad on your test page aswell but I get ad´s on your page when I rewrite the sid parameter to the right one in Charles, see the print screen that I made. https://drive.google.com/file/d/0B2Hq0o69IghYRS0yTXU0eUJ4dEU/view?usp=sharing Thank you, |
|
Getting bids now with "7b6589bf-95c8-4656-90b9-af9737bb9ad3" and mobile emulation, thanks |
…ebid-official-0.17.0 to release/1.12.0 * commit 'bce975978c2c088d301d120b949d38080ca9d314': Add changelog entry. Prebid Release 0.17.0 remove hb_pb targeting key for deal bids with no cpm (prebid#881) Fix for bug prebid#866 (prebid#867) Allow changing of 'ga' global variable (prebid#832) emit auction end event before bidsBackHandler callback (prebid#884) Add Widespace adapter (prebid#846) prevent rubicon adapter from registering two bids on exceptions (prebid#854) Code Refactoring - Upgrading end point. (prebid#826) Ignore test html pages (prebid#878) Detect browser width instead of the screen width (prebid#837) New aardvark adapter with support for aliasing (prebid#875) Add Fidelity adapter (prebid#862) Adkernel adapter aliasing (prebid#857) 0.16.1-pre
…12.0 to master * commit '728f1763ce2a282a757546e934199313a4771a21': Fix failing unit test on CI. Add changelog entry. Prebid Release 0.17.0 remove hb_pb targeting key for deal bids with no cpm (prebid#881) Fix for bug prebid#866 (prebid#867) Allow changing of 'ga' global variable (prebid#832) emit auction end event before bidsBackHandler callback (prebid#884) Add Widespace adapter (prebid#846) prevent rubicon adapter from registering two bids on exceptions (prebid#854) Code Refactoring - Upgrading end point. (prebid#826) Ignore test html pages (prebid#878) Detect browser width instead of the screen width (prebid#837) New aardvark adapter with support for aliasing (prebid#875) Add Fidelity adapter (prebid#862) Adkernel adapter aliasing (prebid#857) 0.16.1-pre
Type of change
Description of change
Other information