Skip to content

Openx bid adapter: support for MAP requests#102

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

Openx bid adapter: support for MAP requests#102
Rafał Sieczka (bukrain) wants to merge 58 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

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.39
@coveralls
Copy link

Pull Request Test Coverage Report for Build 22619502230

Details

  • 41 of 41 (100.0%) changed or added relevant lines in 2 files are covered.
  • 247 unchanged lines in 25 files lost coverage.
  • Overall coverage increased (+0.05%) to 92.88%

Files with Coverage Reduction New Missed Lines %
test/spec/integration/faker/googletag.js 1 91.3%
test/spec/modules/gumgumBidAdapter_spec.js 1 99.51%
test/spec/unit/secureCreatives_spec.js 1 97.87%
libraries/medianetUtils/logger.js 2 85.88%
libraries/omsUtils/index.js 2 70.0%
modules/limelightDigitalBidAdapter.js 2 89.87%
modules/relaidoBidAdapter.js 2 92.58%
src/targeting.ts 2 95.28%
test/spec/modules/intentIqIdSystem_spec.js 2 96.82%
modules/mediasquareBidAdapter.js 3 89.53%
Totals Coverage Status
Change from base Build 22297321905: 0.05%
Covered Lines: 217317
Relevant Lines: 225609

💛 - Coveralls

@bukrain Rafał Sieczka (bukrain) changed the title EXCH-12051 - Deduplicate requests Openx bid adapter: support for MAP requests Mar 3, 2026
@github-actions
Copy link

Tread carefully! This PR adds 2 linter errors (possibly disabled through directives):

  • modules/openxBidAdapter.js (+2 errors)

* MediaFuse Adapter: Fixed Test Issues

* Fixed Lint Issue

* fix video vastUrl not set on openrtb2 endpoint

* Fixed lint errors

* Fixed PR Flagged Issues

---------

Co-authored-by: unknown <indrajit@oncoredigital.com>
…#14578)

* Core: fix error handling when loading debugging-standalone

* lint

* run error callback once

* Separate build-release from prepare-release
…4476)

* New Magnite Bid Adapter ORTB Converter

* Update modules/magniteBidAdapter.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* codex suggestions

* move outstream to shared util

* fix tests

* Update libraries/magniteUtils/outstream.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* revoke blob after ttl

* translate adm_native if needed

* remove transform bid params

* set alwaysHasCapacity

* fix lint

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Patrick McCann <patmmccann@gmail.com>
* Core: bid targeting exclusion

* passing filteredBids to exclusion function

* Add disableFingerprintingApis option in config

Added option to disable specific fingerprinting APIs.

* Update config.ts

* handling exceptions

* Update bidTargetingExclusion documentation

Clarify the description of bidTargetingExclusion function.

---------

Co-authored-by: Demetrio Girardi <dgirardi@prebid.org>
Co-authored-by: Patrick McCann <patmmccann@gmail.com>
Added guidelines for common adapter types and type references.
dependabot bot and others added 12 commits March 15, 2026 07:06
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.3.1 to 3.4.1.
- [Commits](WebReflection/flatted@v3.3.1...v3.4.1)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [undici](https://github.com/nodejs/undici) from 6.23.0 to 6.24.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.23.0...v6.24.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.24.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ustness (prebid#14530)

* Holid: respect auction timeout, safer ortb merges, improve usersync

* Holid Bid Adapter: add unit tests

* chore: re-run CI
* feat(adapter): ts implementation

* feat(adapter): removed amx support

* test: added tests

* fix(bid-adapter): renamed file

* fix(library): folder name

* update(bid-adapter): imported module

* update: test creds in adUnit

* fix(cookie): added guard on object slicing

* fix(enrichImp): removed divId parameter

* fix(tests): adapted test w/o divId

---------

Co-authored-by: Mickael van der Beek <mickael.van.der.beek+github@gmail.com>
* gppControl modules: add missing transmitUfpd check

* Update activityControls.js

---------

Co-authored-by: Patrick McCann <patmmccann@gmail.com>
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.4.1 to 5.5.6.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](NaturalIntelligence/fast-xml-parser@v5.4.1...v5.5.6)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.5.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…id#14598)

* 51d: populate device.hwv

+ optionally use hardwarenameprefix as device.module

* 51d update doc

* fix typo
* adtelligentBidAdapter-update

* lint fix

---------

Co-authored-by: k-piekharieva <k.piekharieva@adtelligent.com>
Co-authored-by: Patrick McCann <patmmccann@gmail.com>
* Reformat import statements in gravityBidAdapter

* Fix import statement formatting for Renderer

* Fix formatting of cookies in user sync test

* Format code for consistency in buildRequests function
* Change beopid cookie to caudid

* Add caudid_date cookie

* Post review commit
Bumps [socket.io-parser](https://github.com/socketio/socket.io) from 4.2.4 to 4.2.6.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io-parser@4.2.4...socket.io-parser@4.2.6)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-version: 4.2.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@github-actions
Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@github-actions
Copy link

Whoa there partner! This project is migrating to typescript. Consider changing the new JS files to TS, with well-defined types for what interacts with the prebid public API (for example: bid params and configuration). Thanks!

  • libraries/bidViewabilityPixels/index.js
  • libraries/magniteUtils/outstream.js
  • modules/magniteBidAdapter.js

/**
* Serializes and stores data.
* @param {string} key - The unique identifier
* @param {any} value - The data to store

Check warning

Code scanning / CodeQL

Application/json request type in bidder Warning

application/json request type triggers preflight requests and may increase bidder timeouts
}

const data = { type, payload };
const options = { method: 'POST', withCredentials: true, contentType: 'application/json' };

Check warning

Code scanning / CodeQL

Application/json request type in bidder Warning

application/json request type triggers preflight requests and may increase bidder timeouts
openRtbBidRequest.bcat = bcat;
}
if (isArray(badv) && badv.length > 0) {
openRtbBidRequest.badv = badv;

Check warning

Code scanning / CodeQL

Application/json request type in bidder Warning

application/json request type triggers preflight requests and may increase bidder timeouts
@github-actions
Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@github-actions
Copy link

Whoa there partner! This project is migrating to typescript. Consider changing the new JS files to TS, with well-defined types for what interacts with the prebid public API (for example: bid params and configuration). Thanks!

  • libraries/bidViewabilityPixels/index.js
  • libraries/magniteUtils/outstream.js
  • modules/magniteBidAdapter.js

@github-actions
Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@github-actions
Copy link

Whoa there partner! This project is migrating to typescript. Consider changing the new JS files to TS, with well-defined types for what interacts with the prebid public API (for example: bid params and configuration). Thanks!

  • libraries/bidViewabilityPixels/index.js
  • libraries/magniteUtils/outstream.js
  • modules/magniteBidAdapter.js

dependabot bot and others added 5 commits March 20, 2026 08:43
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.5.6 to 5.5.7.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](NaturalIntelligence/fast-xml-parser@v5.5.6...v5.5.7)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.5.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.4.1 to 3.4.2.
- [Commits](WebReflection/flatted@v3.4.1...v3.4.2)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Create datamage RTD integration

* remove test.html files

* update example.html

* siplify architecture, adding back in linting, improve load

* fixed caching issues and bot comments from original pr

* fix issues identified by bot

* replace dep GPT api calls to modern format

* update btoa to support non typical url encodings, strip common tracking params

* remove misc local test files

* fix fetchPromise transient failur potential

* reduce key value size and unusued keys in payload to gam and ortb

* update Rtd spec file naming

* update prebid js path in example

* include datamageRtdprovider in submodules json
Added review guidelines for PR reviews and module rules. Work in progress
@github-actions
Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@github-actions
Copy link

Whoa there partner! This project is migrating to typescript. Consider changing the new JS files to TS, with well-defined types for what interacts with the prebid public API (for example: bid params and configuration). Thanks!

  • libraries/bidViewabilityPixels/index.js
  • libraries/magniteUtils/outstream.js
  • modules/datamageRtdProvider.js
  • modules/magniteBidAdapter.js

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.