Skip to content

Commit

Permalink
Change DivReach adapter to be alias of AdButler. (prebid#3386)
Browse files Browse the repository at this point in the history
  • Loading branch information
dharton authored and harpere committed Jan 2, 2019
1 parent 9b47b1a commit be77fa5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 218 deletions.
3 changes: 2 additions & 1 deletion modules/adbutlerBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const BIDDER_CODE = 'adbutler';
export const spec = {
code: BIDDER_CODE,
pageID: Math.floor(Math.random() * 10e6),
aliases: ['divreach'],

isBidRequestValid: function (bid) {
return !!(bid.params.accountID && bid.params.zoneID);
Expand Down Expand Up @@ -98,7 +99,7 @@ export const spec = {
});
if (isCorrectCPM && isCorrectSize) {
bidResponse.requestId = bidObj.bidId;
bidResponse.bidderCode = spec.code;
bidResponse.bidderCode = bidObj.bidder;
bidResponse.creativeId = serverResponse.placement_id;
bidResponse.cpm = CPM;
bidResponse.width = width;
Expand Down
74 changes: 0 additions & 74 deletions modules/divreachBidAdapter.js

This file was deleted.

30 changes: 4 additions & 26 deletions modules/divreachBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,21 @@ Maintainer: [email protected]
# Description

Connects to DivReach demand source to fetch bids.
Banner and Video formats are supported.
Please use ```divreach``` as the bidder code.

# Test Parameters
```
var adUnits = [
{
code: 'desktop-banner-ad-div',
sizes: [[300, 250]], // a display size
sizes: [[300, 250]],
bids: [
{
bidder: "divreach",
params: {
zone: '261eae83-0508-4e1a-8c9b-19561fa9279e'
}
}
]
},{
code: 'mobile-banner-ad-div',
sizes: [[300, 50]], // a mobile size
bids: [
{
bidder: "divreach",
params: {
zone: '561e26ea-1999-4fb6-ad0b-9d72929e545e'
}
}
]
},{
code: 'video-ad',
sizes: [[300, 50]],
mediaType: 'video',
bids: [
{
bidder: "divreach",
params: {
zone: 'e784ecbe-720f-46f7-8388-aff8c2c4ed86'
accountID: '167283',
zoneID: '335105',
domain: 'ad.divreach.com',
}
}
]
Expand Down
117 changes: 0 additions & 117 deletions test/spec/modules/divreachBidAdapter_spec.js

This file was deleted.

0 comments on commit be77fa5

Please sign in to comment.