Skip to content

Commit

Permalink
Revert "Datablocks Bid Adapter: update url (#7680)"
Browse files Browse the repository at this point in the history
This reverts commit 3e343ed.
  • Loading branch information
ChrisHuie authored Nov 9, 2021
1 parent 3e343ed commit 885040f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/datablocksBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const spec = {
code: 'datablocks',

// DATABLOCKS SCOPED OBJECT
db_obj: {metrics_host: 'prebid.dblks.net', metrics: [], metrics_timer: null, metrics_queue_time: 1000, vis_optout: false, source_id: 0},
db_obj: {metrics_host: 'prebid.datablocks.net', metrics: [], metrics_timer: null, metrics_queue_time: 1000, vis_optout: false, source_id: 0},

// STORE THE DATABLOCKS BUYERID IN STORAGE
store_dbid: function(dbid) {
Expand Down Expand Up @@ -388,12 +388,12 @@ export const spec = {
};

let sourceId = validRequests[0].params.source_id || 0;
let host = validRequests[0].params.host || 'prebid.dblks.net';
let host = validRequests[0].params.host || 'prebid.datablocks.net';

// RETURN WITH THE REQUEST AND PAYLOAD
return {
method: 'POST',
url: `https://${host}/openrtb/?sid=${sourceId}`,
url: `https://${sourceId}.${host}/openrtb/?sid=${sourceId}`,
data: {
id: bidderRequest.auctionId,
imp: imps,
Expand Down

0 comments on commit 885040f

Please sign in to comment.