From e5949c6a5ba979107b0444bb99cf297f3c39138e Mon Sep 17 00:00:00 2001 From: vincentproxistore <56686565+vincentproxistore@users.noreply.github.com> Date: Tue, 12 Oct 2021 20:07:39 +0200 Subject: [PATCH] Proxistore Bid Adapter: export vendor id in gvlid (#7553) * export vendor id * reformat * rollback package.json * change double quotes to single * fix line 185 single quote * fix last quotes Co-authored-by: Chris Huie --- modules/proxistoreBidAdapter.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/proxistoreBidAdapter.js b/modules/proxistoreBidAdapter.js index 68151f820dd..b747c5aca2d 100644 --- a/modules/proxistoreBidAdapter.js +++ b/modules/proxistoreBidAdapter.js @@ -4,7 +4,8 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'; const BIDDER_CODE = 'proxistore'; const PROXISTORE_VENDOR_ID = 418; const COOKIE_BASE_URL = 'https://abs.proxistore.com/v3/rtb/prebid/multi'; -const COOKIE_LESS_URL = 'https://abs.cookieless-proxistore.com/v3/rtb/prebid/multi'; +const COOKIE_LESS_URL = + 'https://abs.cookieless-proxistore.com/v3/rtb/prebid/multi'; function _createServerRequest(bidRequests, bidderRequest) { var sizeIds = []; @@ -181,11 +182,7 @@ function _assignFloor(bid) { size: '*', }); - if ( - isPlainObject(floor) && - !isNaN(floor.floor) && - floor.currency === 'EUR' - ) { + if (isPlainObject(floor) && !isNaN(floor.floor) && floor.currency === 'EUR') { return floor.floor; } return null; @@ -196,6 +193,7 @@ export const spec = { isBidRequestValid: isBidRequestValid, buildRequests: buildRequests, interpretResponse: interpretResponse, + gvlid: PROXISTORE_VENDOR_ID, }; registerBidder(spec);