Skip to content

EXCH-12051 - Deduplicate requests#102

Open
Rafał Sieczka (bukrain) wants to merge 6 commits intomasterfrom
wip-dedup-requests
Open

EXCH-12051 - Deduplicate requests#102
Rafał Sieczka (bukrain) wants to merge 6 commits intomasterfrom
wip-dedup-requests

Conversation

@bukrain

Type of change

  • Bugfix

  • Feature

  • New bidder adapter

  • Updated bidder adapter

  • Code style update (formatting, local variables)

  • Refactoring (no functional changes, no api changes)

  • Build related changes

  • CI related changes

  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

  • Other

Description of change

Other information

bidRequestsWithMediaTypes[0].params.delDomain = 'domain-a.test';
bidRequestsWithMediaTypes[1].params.delDomain = 'domain-b.test';
const request = spec.buildRequests(bidRequestsWithMediaTypes, mockBidderRequest);
expect(request[0].data.ext.delDomain).to.equal('domain-a.test');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[question] Now bids with different delDomains into one request and only first bid's delDomain is sent and others are dropped?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

if (isFingerprintingApiDisabled('webdriver')) {
return false;
}
return getFallbackWindow(win).navigator?.webdriver === true;

Check warning

Code scanning / CodeQL

Use of browser API associated with fingerprinting Warning

navigator.webdriver is an indicator of fingerprinting; weight: 28.99
deepSetNotEmptyValue(qs, '51D_ScreenPixelsHeight', _window?.screen?.height);
deepSetNotEmptyValue(qs, '51D_ScreenPixelsWidth', _window?.screen?.width);
deepSetNotEmptyValue(qs, '51D_PixelRatio', _window?.devicePixelRatio);
deepSetNotEmptyValue(qs, '51D_PixelRatio', getDevicePixelRatio(_window));

Check warning

Code scanning / CodeQL

Use of browser API associated with fingerprinting Warning

devicePixelRatio is an indicator of fingerprinting; weight: 18.84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants