Skip to content

ReklamStore Bid Adapter#3634

Merged
jaiminpanchal27 merged 3 commits intoprebid:masterfrom
ReklamStoreIT:master
Mar 26, 2019
Merged

ReklamStore Bid Adapter#3634
jaiminpanchal27 merged 3 commits intoprebid:masterfrom
ReklamStoreIT:master

Conversation

@ReklamStoreIT
Copy link
Contributor

@ReklamStoreIT ReklamStoreIT commented Mar 13, 2019

ReklamStore Bid Adapter

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
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

  • test parameters for validating bids
{
  bidder: '<bidder name>',
  params: {
    // ...
  }
}

Be sure to test the integration with your adserver using the Hello World sample page.

  • contact email of the adapter’s maintainer
  • official adapter submission

For any changes that affect user-facing APIs or example code documented on http://prebid.org, please provide:

Other information

ReklamStore Bid Adapter
@jaiminpanchal27 jaiminpanchal27 self-assigned this Mar 15, 2019
@bretg
Copy link
Contributor

bretg commented Mar 18, 2019

Docs PR at prebid/prebid.github.io#1205

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.

@ReklamStoreIT Left some comments


export const spec = {
code: BIDDER_CODE,
aliases: ['reklamstore'],
Copy link
Collaborator

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.

*/
buildRequests: function (validBidRequests) {
let requests = [];
let loc = utils.getTopWindowLocation();
Copy link
Collaborator

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

}
},
/**
* Register the user sync pixels which should be dropped after the auction.
Copy link
Collaborator

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

registerBidder(spec);

function getDeviceType() {
var PHONE = 0;
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 in place of var

import { expect } from 'chai';
import { spec } from 'modules/reklamstoreBidAdapter';

describe('reklamstoreBidAdapterTests', function() {
Copy link
Collaborator

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
@ReklamStoreIT
Copy link
Contributor Author

Changes are done.

@jaiminpanchal27 jaiminpanchal27 merged commit 876a714 into prebid:master Mar 26, 2019
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.

3 participants

Comments