Skip to content

Commit

Permalink
Datablocks Bid Adapter: update url (prebid#7680)
Browse files Browse the repository at this point in the history
* updated url

* update metrics url

Co-authored-by: John Mayor <john@Johns-iMac.local>
  • Loading branch information
2 people authored and Chris Pabst committed Jan 10, 2022
1 parent f7d4a21 commit 8e68661
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.datablocks.net', metrics: [], metrics_timer: null, metrics_queue_time: 1000, vis_optout: false, source_id: 0},
db_obj: {metrics_host: 'prebid.dblks.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.datablocks.net';
let host = validRequests[0].params.host || 'prebid.dblks.net';

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

0 comments on commit 8e68661

Please sign in to comment.