diff --git a/modules/pulsepointLiteBidAdapter.js b/modules/pulsepointBidAdapter.js similarity index 96% rename from modules/pulsepointLiteBidAdapter.js rename to modules/pulsepointBidAdapter.js index d851245402c..2c1f6f9174d 100644 --- a/modules/pulsepointLiteBidAdapter.js +++ b/modules/pulsepointBidAdapter.js @@ -15,16 +15,18 @@ const DEFAULT_CURRENCY = 'USD'; const DEFAULT_NET_REVENUE = true; /** - * PulsePoint "Lite" Adapter. This adapter implementation is lighter than the - * alternative/original PulsePointAdapter because it has no external - * dependencies and relies on a single OpenRTB request to the PulsePoint - * bidder instead of separate requests per slot. + * PulsePoint Bid Adapter. + * Contact: ExchangeTeam@pulsepoint.com + * + * Aliases - pulseLite and pulsepointLite are supported for backwards compatibility. + * Formats - Display/Native/Outstream formats supported. + * */ export const spec = { - code: 'pulseLite', + code: 'pulsepoint', - aliases: ['pulsepointLite'], + aliases: ['pulseLite', 'pulsepointLite'], supportedMediaTypes: ['native'], diff --git a/modules/pulsepointLiteBidAdapter.md b/modules/pulsepointBidAdapter.md similarity index 77% rename from modules/pulsepointLiteBidAdapter.md rename to modules/pulsepointBidAdapter.md index 23c96758ca0..1b119f0499f 100644 --- a/modules/pulsepointLiteBidAdapter.md +++ b/modules/pulsepointBidAdapter.md @@ -1,6 +1,6 @@ # Overview -**Module Name**: PulsePoint Lite Bidder Adapter +**Module Name**: PulsePoint Bidder Adapter **Module Type**: Bidder Adapter **Maintainer**: ExchangeTeam@pulsepoint.com @@ -8,7 +8,8 @@ Connects to PulsePoint demand source to fetch bids. Banner, Outstream and Native formats are supported. -Please use ```pulseLite``` as the bidder code. +Please use ```pulsepoint``` as the bidder code. +```pulseLite``` and ```pulsepointLite``` aliases also supported as well. # Test Parameters ``` @@ -16,7 +17,7 @@ Please use ```pulseLite``` as the bidder code. code: 'banner-ad-div', sizes: [[300, 250]], bids: [{ - bidder: 'pulsepointLite', + bidder: 'pulsepoint', params: { cf: '300X250', cp: 512379, @@ -33,7 +34,7 @@ Please use ```pulseLite``` as the bidder code. sponsoredBy: { len: 20 } }, bids: [{ - bidder: 'pulseLite', + bidder: 'pulsepoint', params: { cp: 512379, ct: 505642 diff --git a/test/spec/modules/pulsepointLiteBidAdapter_spec.js b/test/spec/modules/pulsepointBidAdapter_spec.js similarity index 97% rename from test/spec/modules/pulsepointLiteBidAdapter_spec.js rename to test/spec/modules/pulsepointBidAdapter_spec.js index 15bf611b2b8..cb99f1b5d98 100644 --- a/test/spec/modules/pulsepointLiteBidAdapter_spec.js +++ b/test/spec/modules/pulsepointBidAdapter_spec.js @@ -1,10 +1,10 @@ /* eslint dot-notation:0, quote-props:0 */ import {expect} from 'chai'; -import {spec} from 'modules/pulsepointLiteBidAdapter'; +import {spec} from 'modules/pulsepointBidAdapter'; import {getTopWindowLocation} from 'src/utils'; import {newBidder} from 'src/adapters/bidderFactory'; -describe('PulsePoint Lite Adapter Tests', () => { +describe('PulsePoint Adapter Tests', () => { const slotConfigs = [{ placementCode: '/DfpAccount1/slot1', bidId: 'bid12345', @@ -218,12 +218,13 @@ describe('PulsePoint Lite Adapter Tests', () => { }); it('Verifies bidder code', () => { - expect(spec.code).to.equal('pulseLite'); + expect(spec.code).to.equal('pulsepoint'); }); it('Verifies bidder aliases', () => { - expect(spec.aliases).to.have.lengthOf(1); - expect(spec.aliases[0]).to.equal('pulsepointLite'); + expect(spec.aliases).to.have.lengthOf(2); + expect(spec.aliases[0]).to.equal('pulseLite'); + expect(spec.aliases[1]).to.equal('pulsepointLite'); }); it('Verifies supported media types', () => {