Skip to content

Commit

Permalink
pulsepointLiteBidAdapter renamed to pulsepointBidAdapter (prebid#1931)
Browse files Browse the repository at this point in the history
* ET-1691: Pulsepoint Analytics adapter for Prebid. (#1)

* ET-1691: Adding pulsepoint analytics and tests for pulsepoint adapter

* ET-1691: Adding pulsepoint analytics and tests for pulsepoint adapter

* ET-1691: cleanup

* ET-1691: minor

* ET-1691: revert package.json change

* Adding bidRequest to bidFactory.createBid method as per prebid#509

* ET-1765: Adding support for additional params in PulsePoint adapter (#2)

* ET-1850: Fixing prebid#866

* Minor fix

* Adding mandatory parameters to Bid

* Pulsepoint adapter changes

* readme updates
  • Loading branch information
anand-venkatraman authored and jaiminpanchal27 committed Dec 6, 2017
1 parent d33c64d commit 9355c07
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'],

Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
# Overview

**Module Name**: PulsePoint Lite Bidder Adapter
**Module Name**: PulsePoint Bidder Adapter
**Module Type**: Bidder Adapter
**Maintainer**: ExchangeTeam@pulsepoint.com

# Description

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
```
var adUnits = [{
code: 'banner-ad-div',
sizes: [[300, 250]],
bids: [{
bidder: 'pulsepointLite',
bidder: 'pulsepoint',
params: {
cf: '300X250',
cp: 512379,
Expand All @@ -33,7 +34,7 @@ Please use ```pulseLite``` as the bidder code.
sponsoredBy: { len: 20 }
},
bids: [{
bidder: 'pulseLite',
bidder: 'pulsepoint',
params: {
cp: 512379,
ct: 505642
Expand Down
Original file line number Diff line number Diff line change
@@ -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',
Expand Down Expand Up @@ -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', () => {
Expand Down

0 comments on commit 9355c07

Please sign in to comment.