Skip to content

Commit

Permalink
Proxistore Bid Adapter: export vendor id in gvlid (prebid#7553)
Browse files Browse the repository at this point in the history
* 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 <phoenixtechnerd@gmail.com>
  • Loading branch information
2 people authored and Chris Pabst committed Jan 10, 2022
1 parent b38d409 commit e5949c6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions modules/proxistoreBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down Expand Up @@ -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;
Expand All @@ -196,6 +193,7 @@ export const spec = {
isBidRequestValid: isBidRequestValid,
buildRequests: buildRequests,
interpretResponse: interpretResponse,
gvlid: PROXISTORE_VENDOR_ID,
};

registerBidder(spec);

0 comments on commit e5949c6

Please sign in to comment.