-
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
ReklamStore Bid Adapter #3634
ReklamStore Bid Adapter #3634
Conversation
ReklamStore Bid Adapter
Docs PR at prebid/prebid.github.io#1205 |
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.
@ReklamStoreIT Left some comments
modules/reklamstoreBidAdapter.js
Outdated
|
||
export const spec = { | ||
code: BIDDER_CODE, | ||
aliases: ['reklamstore'], |
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.
No need to add aliases if you are repeating bidder_code here. aliases are to be used if you want to use some short code for bidder in adUnit config.
modules/reklamstoreBidAdapter.js
Outdated
*/ | ||
buildRequests: function (validBidRequests) { | ||
let requests = []; | ||
let loc = utils.getTopWindowLocation(); |
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.
Use http://prebid.org/dev-docs/bidder-adaptor.html#referrers
utils.getTopWindowLocation();
is a deprecated function and will be removed soon
modules/reklamstoreBidAdapter.js
Outdated
} | ||
}, | ||
/** | ||
* Register the user sync pixels which should be dropped after the auction. |
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.
Please fix spacing in all the jsdoc
modules/reklamstoreBidAdapter.js
Outdated
registerBidder(spec); | ||
|
||
function getDeviceType() { | ||
var PHONE = 0; |
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.
Use let/const in place of var
import { expect } from 'chai'; | ||
import { spec } from 'modules/reklamstoreBidAdapter'; | ||
|
||
describe('reklamstoreBidAdapterTests', function() { |
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.
Add unit test for user sync
Added unit test for user sync
Update bid adapter
Changes are done. |
ReklamStore Bid Adapter
Type of change
Description of change
Be sure to test the integration with your adserver using the Hello World sample page.
For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:
Other information