Skip to content

Commit 55d6e71

Browse files
filipenevesdisparate1Copilot
authored
Impactify Bid Adapter: Removing unused logger on onBidderError. (prebid#14215)
* Updated bid adapter to log errors * Remove onBidderError function and LOGGER_JS_URI Removed unused onBidderError function and LOGGER_JS_URI constant. * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Abdou <40374175+disparate1@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 76ffea4 commit 55d6e71

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

modules/impactifyBidAdapter.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const DEFAULT_VIDEO_WIDTH = 640;
2222
const DEFAULT_VIDEO_HEIGHT = 360;
2323
const ORIGIN = 'https://sonic.impactify.media';
2424
const LOGGER_URI = 'https://logger.impactify.media';
25-
const LOGGER_JS_URI = 'https://log.impactify.it'
2625
const AUCTION_URI = '/bidder';
2726
const COOKIE_SYNC_URI = '/static/cookie_sync.html';
2827
const GVL_ID = 606;
@@ -387,18 +386,5 @@ export const spec = {
387386

388387
return true;
389388
},
390-
391-
/**
392-
* Register bidder specific code, which will execute if the bid request failed
393-
* @param {*} param0
394-
*/
395-
onBidderError: function ({ error, bidderRequest }) {
396-
ajax(`${LOGGER_JS_URI}/logger`, null, JSON.stringify({ error, bidderRequest }), {
397-
method: 'POST',
398-
contentType: 'application/json'
399-
});
400-
401-
return true;
402-
},
403389
};
404390
registerBidder(spec);

0 commit comments

Comments
 (0)