Skip to content

Commit b15ee8b

Browse files
avj83Pedro López Jiménez
authored and
Pedro López Jiménez
committed
rename buyer to dspx (prebid#3210)
1 parent dafeb8f commit b15ee8b

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

modules/buyerBidAdapter.js renamed to modules/dspxBidAdapter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import * as utils from 'src/utils';
22
import {config} from 'src/config';
33
import {registerBidder} from 'src/adapters/bidderFactory';
44

5-
const BIDDER_CODE = 'buyer';
5+
const BIDDER_CODE = 'dspx';
66
const ENDPOINT_URL = 'https://buyer.dspx.tv/request/';
77

88
export const spec = {
99
code: BIDDER_CODE,
10-
aliases: ['buyer'],
10+
aliases: ['dspx'],
1111
isBidRequestValid: function(bid) {
1212
return !!(bid.params.placement);
1313
},

modules/buyerBidAdapter.md renamed to modules/dspxBidAdapter.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Overview
22

33
```
4-
Module Name: Buyer Bidder Adapter
4+
Module Name: Dspx Bidder Adapter
55
Module Type: Bidder Adapter
6-
Maintainer: [email protected]
6+
Maintainer: [email protected]
77
```
88

99
# Description
1010

11-
Buyer adapter for Prebid.js 1.0
11+
Dspx adapter for Prebid.js 1.0
1212

1313
# Test Parameters
1414
```
@@ -25,9 +25,9 @@ Buyer adapter for Prebid.js 1.0
2525
},
2626
bids: [
2727
{
28-
bidder: "buyer",
28+
bidder: "dspx",
2929
params: {
30-
placement: '12345',
30+
placement: '101',
3131
pfilter: {
3232
floorprice: 1000000, // EUR * 1,000,000
3333
private_auction: 1, // Is private auction? 0 - no, 1 - yes
@@ -60,9 +60,9 @@ Buyer adapter for Prebid.js 1.0
6060
},
6161
bids: [
6262
{
63-
bidder: "buyer",
63+
bidder: "dspx",
6464
params: {
65-
placement: 67890
65+
placement: 101
6666
}
6767
}
6868
]

test/spec/modules/buyerBidAdapter_spec.js renamed to test/spec/modules/dspxBidAdapter_spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import { expect } from 'chai';
2-
import { spec } from 'modules/buyerBidAdapter';
2+
import { spec } from 'modules/dspxBidAdapter';
33
import { newBidder } from 'src/adapters/bidderFactory';
44

55
const ENDPOINT_URL = 'https://buyer.dspx.tv/request/';
66

7-
describe('buyerAdapter', function () {
7+
describe('dspxAdapter', function () {
88
const adapter = newBidder(spec);
99

1010
describe('isBidRequestValid', function () {
1111
let bid = {
12-
'bidder': 'buyer',
12+
'bidder': 'dspx',
1313
'params': {
1414
'placement': '6682',
1515
'pfilter': {
@@ -42,7 +42,7 @@ describe('buyerAdapter', function () {
4242

4343
describe('buildRequests', function () {
4444
let bidRequests = [{
45-
'bidder': 'buyer',
45+
'bidder': 'dspx',
4646
'params': {
4747
'placement': '6682',
4848
'pfilter': {

0 commit comments

Comments
 (0)