Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxistore Bid Adapter: export vendor id in gvlid #7553

Merged
merged 6 commits into from
Oct 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);