From 8c5b2a067cef963ac44104c8108504c7f4c33e91 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Thu, 20 Nov 2025 14:00:42 -0500 Subject: [PATCH 001/248] CI: improve PR review assignment automation (#14177) * test arguments * declare environ * environment name * I like secrets * Revert "I like secrets" This reverts commit dc07a6acbb4743d9011cea225a5bbed8ca334d13. * try getPRProperties * local e2e testing * rework concurrency id * clean up inputs * try installing safari * specify shell * try npx * break out build from test for e2e * try safaridriver --enable * adjust build, safaridriver * safari why such a pain * safari * safari... * do not allow parallel tests * test integration * self-contained workflow * Cache deps * Install dependencies * pass PR number * WIP pr bot * Update PR assignment script * typo * undo unrelated change * look at reviews as well as requested reviewers * add an extra authorized reviewer check * Do not consider negative engineers --- .github/workflows/PR-assignment.yml | 3 ++- .github/workflows/scripts/assignReviewers.js | 2 +- .github/workflows/scripts/getPRProperties.js | 20 +++++++++++++++----- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/.github/workflows/PR-assignment.yml b/.github/workflows/PR-assignment.yml index 1ae8a1ae249..5bac9b5d763 100644 --- a/.github/workflows/PR-assignment.yml +++ b/.github/workflows/PR-assignment.yml @@ -44,7 +44,8 @@ jobs: context, prNo: ${{ github.event.pull_request.number }}, reviewerTeam: '${{ vars.REVIEWER_TEAM }}', - engTeam: '${{ vars.ENG_TEAM }}' + engTeam: '${{ vars.ENG_TEAM }}', + authReviewTeam: '${{ vars.AUTH_REVIEWER_TEAM }}' }); console.log('PR properties:', JSON.stringify(props, null, 2)); return props; diff --git a/.github/workflows/scripts/assignReviewers.js b/.github/workflows/scripts/assignReviewers.js index 11e62e7e99c..6d18a3da0f6 100644 --- a/.github/workflows/scripts/assignReviewers.js +++ b/.github/workflows/scripts/assignReviewers.js @@ -16,7 +16,7 @@ function pickFrom(candidates, exclude, no) { async function assignReviewers({github, context, prData}) { const reviewers = prData.review.reviewers.map(rv => rv.login); const missingPrebidEng = prData.review.requires.prebidEngineers - prData.review.prebidEngineers; - const missingPrebidReviewers = prData.review.requires.prebidReviewers - prData.review.prebidReviewers - missingPrebidEng; + const missingPrebidReviewers = prData.review.requires.prebidReviewers - prData.review.prebidReviewers - (missingPrebidEng > 0 ? missingPrebidEng : 0); if (missingPrebidEng > 0) { reviewers.push(...pickFrom(prData.prebidEngineers, [...reviewers, prData.author.login], missingPrebidEng)) diff --git a/.github/workflows/scripts/getPRProperties.js b/.github/workflows/scripts/getPRProperties.js index c4eca6183a1..902709db08a 100644 --- a/.github/workflows/scripts/getPRProperties.js +++ b/.github/workflows/scripts/getPRProperties.js @@ -64,9 +64,9 @@ async function isPrebidMember(ghHandle) { } -async function getPRProperties({github, context, prNo, reviewerTeam, engTeam}) { +async function getPRProperties({github, context, prNo, reviewerTeam, engTeam, authReviewTeam}) { const request = ghRequester(github); - let [files, pr, prebidReviewers, prebidEngineers] = await Promise.all([ + let [files, pr, prReviews, prebidReviewers, prebidEngineers, authorizedReviewers] = await Promise.all([ request('GET /repos/{owner}/{repo}/pulls/{prNo}/files', { owner: context.repo.owner, repo: context.repo.repo, @@ -77,13 +77,19 @@ async function getPRProperties({github, context, prNo, reviewerTeam, engTeam}) { repo: context.repo.repo, prNo, }), - ...[reviewerTeam, engTeam].map(team => request('GET /orgs/{org}/teams/{team}/members', { + request('GET /repos/{owner}/{repo}/pulls/{prNo}/reviews', { + owner: context.repo.owner, + repo: context.repo.repo, + prNo, + }), + ...[reviewerTeam, engTeam, authReviewTeam].map(team => request('GET /orgs/{org}/teams/{team}/members', { org: context.repo.owner, team, })) ]); prebidReviewers = prebidReviewers.data.map(datum => datum.login); prebidEngineers = prebidEngineers.data.map(datum=> datum.login); + authorizedReviewers = authorizedReviewers.data.map(datum=> datum.login); let isCoreChange = false; files = files.data.map(datum => datum.filename).map(file => { const core = isCoreFile(file); @@ -99,12 +105,16 @@ async function getPRProperties({github, context, prNo, reviewerTeam, engTeam}) { reviewers: [] }; const author = pr.data.user.login; + const allReviewers = new Set(); pr.data.requested_reviewers - .map(rv => rv.login) + .forEach(rv => allReviewers.add(rv.login)); + prReviews.data.forEach(datum => allReviewers.add(datum.user.login)); + + allReviewers .forEach(reviewer => { if (reviewer === author) return; const isPrebidEngineer = prebidEngineers.includes(reviewer); - const isPrebidReviewer = isPrebidEngineer || prebidReviewers.includes(reviewer); + const isPrebidReviewer = isPrebidEngineer || prebidReviewers.includes(reviewer) || authorizedReviewers.includes(reviewer); if (isPrebidEngineer) { review.prebidEngineers += 1; } From bfa9fb861dce6652f7ed6cc98258d05898fd3b9e Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Thu, 20 Nov 2025 14:21:23 -0500 Subject: [PATCH 002/248] CI: fix issue with PR review automation (#14179) * test arguments * declare environ * environment name * I like secrets * Revert "I like secrets" This reverts commit dc07a6acbb4743d9011cea225a5bbed8ca334d13. * try getPRProperties * local e2e testing * rework concurrency id * clean up inputs * try installing safari * specify shell * try npx * break out build from test for e2e * try safaridriver --enable * adjust build, safaridriver * safari why such a pain * safari * safari... * do not allow parallel tests * test integration * self-contained workflow * Cache deps * Install dependencies * pass PR number * WIP pr bot * Update PR assignment script * typo * undo unrelated change * look at reviews as well as requested reviewers * add an extra authorized reviewer check * Do not consider negative engineers * do not request reviewers that have already reviewed --- .github/workflows/scripts/assignReviewers.js | 11 ++++++----- .github/workflows/scripts/getPRProperties.js | 8 ++++++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/scripts/assignReviewers.js b/.github/workflows/scripts/assignReviewers.js index 6d18a3da0f6..8bbe50f6104 100644 --- a/.github/workflows/scripts/assignReviewers.js +++ b/.github/workflows/scripts/assignReviewers.js @@ -14,15 +14,16 @@ function pickFrom(candidates, exclude, no) { } async function assignReviewers({github, context, prData}) { - const reviewers = prData.review.reviewers.map(rv => rv.login); + const allReviewers = prData.review.reviewers.map(rv => rv.login); + const requestedReviewers = prData.review.requestedReviewers; const missingPrebidEng = prData.review.requires.prebidEngineers - prData.review.prebidEngineers; const missingPrebidReviewers = prData.review.requires.prebidReviewers - prData.review.prebidReviewers - (missingPrebidEng > 0 ? missingPrebidEng : 0); if (missingPrebidEng > 0) { - reviewers.push(...pickFrom(prData.prebidEngineers, [...reviewers, prData.author.login], missingPrebidEng)) + requestedReviewers.push(...pickFrom(prData.prebidEngineers, [...allReviewers, prData.author.login], missingPrebidEng)) } if (missingPrebidReviewers > 0) { - reviewers.push(...pickFrom(prData.prebidReviewers, [...reviewers, prData.author.login], missingPrebidReviewers)) + requestedReviewers.push(...pickFrom(prData.prebidReviewers, [...allReviewers, prData.author.login], missingPrebidReviewers)) } const request = ghRequester(github); @@ -30,9 +31,9 @@ async function assignReviewers({github, context, prData}) { owner: context.repo.owner, repo: context.repo.repo, prNo: prData.pr, - reviewers + reviewers: requestedReviewers }) - return reviewers; + return requestedReviewers; } module.exports = assignReviewers; diff --git a/.github/workflows/scripts/getPRProperties.js b/.github/workflows/scripts/getPRProperties.js index 902709db08a..f663e976ce5 100644 --- a/.github/workflows/scripts/getPRProperties.js +++ b/.github/workflows/scripts/getPRProperties.js @@ -102,12 +102,16 @@ async function getPRProperties({github, context, prNo, reviewerTeam, engTeam, au const review = { prebidEngineers: 0, prebidReviewers: 0, - reviewers: [] + reviewers: [], + requestedReviewers: [] }; const author = pr.data.user.login; const allReviewers = new Set(); pr.data.requested_reviewers - .forEach(rv => allReviewers.add(rv.login)); + .forEach(rv => { + allReviewers.add(rv.login); + review.requestedReviewers.push(rv.login); + }); prReviews.data.forEach(datum => allReviewers.add(datum.user.login)); allReviewers From 7e1a7c9e3a4e14de7826a19c74029fcfee30ce9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petric=C4=83=20Nanc=C4=83?= Date: Thu, 20 Nov 2025 21:58:35 +0200 Subject: [PATCH 003/248] sevioBidAdapter: send currency if this is set in the config (#14143) * Read currency configs * Add tests for the currency handling --- modules/sevioBidAdapter.js | 6 +++ test/spec/modules/sevioBidAdapter_spec.js | 64 ++++++++++++++++++++++- 2 files changed, 69 insertions(+), 1 deletion(-) diff --git a/modules/sevioBidAdapter.js b/modules/sevioBidAdapter.js index 4551bd2c76c..0b34c3098dd 100644 --- a/modules/sevioBidAdapter.js +++ b/modules/sevioBidAdapter.js @@ -131,6 +131,11 @@ export const spec = { buildRequests: function (bidRequests, bidderRequest) { const userSyncEnabled = config.getConfig("userSync.syncEnabled"); + const currencyConfig = config.getConfig('currency'); + const currency = + currencyConfig?.adServerCurrency || + currencyConfig?.defaultCurrency || + null; // (!) that avoids top-level side effects (the thing that can stop registerBidder from running) const computeTTFB = (w = (typeof window !== 'undefined' ? window : undefined)) => { try { @@ -212,6 +217,7 @@ export const spec = { source: eid.source, id: eid.uids?.[0]?.id })).filter(eid => eid.source && eid.id), + ...(currency ? { currency } : {}), ads: [ { sizes: formattedSizes, diff --git a/test/spec/modules/sevioBidAdapter_spec.js b/test/spec/modules/sevioBidAdapter_spec.js index a7a56d798a9..d82f0da1f6c 100644 --- a/test/spec/modules/sevioBidAdapter_spec.js +++ b/test/spec/modules/sevioBidAdapter_spec.js @@ -1,6 +1,6 @@ import { expect } from 'chai'; import { spec } from 'modules/sevioBidAdapter.js'; - +import { config } from 'src/config.js'; const ENDPOINT_URL = 'https://req.adx.ws/prebid'; describe('sevioBidAdapter', function () { @@ -446,4 +446,66 @@ describe('sevioBidAdapter', function () { ]); }); }); + + describe('currency handling', function () { + let bidRequests; + let bidderRequests; + + beforeEach(function () { + bidRequests = [{ + bidder: 'sevio', + params: { zone: 'zoneId' }, + mediaTypes: { banner: { sizes: [[300, 250]] } }, + bidId: '123' + }]; + + bidderRequests = { + refererInfo: { + referer: 'https://example.com', + page: 'https://example.com', + } + }; + }); + + afterEach(function () { + if (typeof config.resetConfig === 'function') { + config.resetConfig(); + } else if (typeof config.setConfig === 'function') { + config.setConfig({ currency: null }); + } + }); + + it('includes EUR currency when EUR is set in prebid config', function () { + config.setConfig({ + currency: { + adServerCurrency: 'EUR' + } + }); + + const req = spec.buildRequests(bidRequests, bidderRequests); + const payload = req[0].data; + + expect(payload.currency).to.equal('EUR'); + }); + + it('includes GBP currency when GBP is set in prebid config', function () { + config.setConfig({ + currency: { + adServerCurrency: 'GBP' + } + }); + + const req = spec.buildRequests(bidRequests, bidderRequests); + const payload = req[0].data; + + expect(payload.currency).to.equal('GBP'); + }); + + it('does NOT include currency when no currency config is set', function () { + const req = spec.buildRequests(bidRequests, bidderRequests); + const payload = req[0].data; + + expect(payload).to.not.have.property('currency'); + }); + }); }); From 135ecb97f9fa18ab5aeb8f126321c66eea12efd9 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Thu, 20 Nov 2025 16:23:26 -0500 Subject: [PATCH 004/248] CI: bump chrome 109 to 113 and move it off browserstack (#14187) * local e2e testing * rework concurrency id * clean up inputs * try installing safari * specify shell * try npx * break out build from test for e2e * try safaridriver --enable * adjust build, safaridriver * safari why such a pain * safari * safari... * do not allow parallel tests * try to install chrome 109 * log browsers * deb installation * fix deb installation * extract install-deb * fix install-deb * more flexible version definition * remove safari 15 * disable coverage on chrome 109 * Better job names * bump chrome 109 -> 113, and add logic to test it outside browserstack * reintroduce safari 15.6 * try --no-sandbox * rename custom -> noSandbox * update wait for browserstack to accept variable number of sessions * fix type error --- .github/actions/install-deb/action.yml | 35 +++++++++++++++++++ .../actions/wait-for-browserstack/action.yml | 7 ++-- .github/workflows/browser-tests.yml | 35 ++++++++++++++----- .github/workflows/browser_testing.json | 9 ++++- .github/workflows/run-tests.yml | 35 +++++++++++++++++-- browsers.json | 5 ++- karma.conf.maker.js | 15 ++++---- 7 files changed, 115 insertions(+), 26 deletions(-) create mode 100644 .github/actions/install-deb/action.yml diff --git a/.github/actions/install-deb/action.yml b/.github/actions/install-deb/action.yml new file mode 100644 index 00000000000..c33bfb220ba --- /dev/null +++ b/.github/actions/install-deb/action.yml @@ -0,0 +1,35 @@ +name: Install deb +description: Download and install a .deb package +inputs: + url: + description: URL to the .deb file + required: true + name: + description: A local name for the package. Required if using this action multiple times in the same context. + default: package.deb + required: false + +runs: + using: 'composite' + steps: + - name: Restore deb + id: deb-restore + uses: actions/cache/restore@v4 + with: + path: "${{ runner.temp }}/${{ inputs.name }}" + key: ${{ inputs.url }} + - name: Download deb + if: ${{ steps.deb-restore.outputs.cache-hit != 'true' }} + shell: bash + run: | + wget --no-verbose "${{ inputs.url }}" -O "${{ runner.temp }}/${{ inputs.name }}" + - name: Cache deb + if: ${{ steps.deb-restore.outputs.cache-hit != 'true' }} + uses: actions/cache/save@v4 + with: + path: "${{ runner.temp }}/${{ inputs.name }}" + key: ${{ inputs.url }} + - name: Install deb + shell: bash + run: | + sudo apt-get install -y --allow-downgrades "${{ runner.temp }}/${{ inputs.name }}" diff --git a/.github/actions/wait-for-browserstack/action.yml b/.github/actions/wait-for-browserstack/action.yml index 12ad89d7008..3242e29fc50 100644 --- a/.github/actions/wait-for-browserstack/action.yml +++ b/.github/actions/wait-for-browserstack/action.yml @@ -1,6 +1,9 @@ name: Wait for browserstack sessions description: Wait until enough browserstack sessions have become available - +inputs: + sessions: + description: Number of sessions needed to continue + default: "6" runs: using: 'composite' steps: @@ -14,7 +17,7 @@ runs: queued=$(jq '.queued_sessions' <<< $status) max_queued=$(jq '.queued_sessions_max_allowed' <<< $status) spare=$(( ${max_running} + ${max_queued} - ${running} - ${queued} )) - required=6 + required=${{ inputs.sessions }} echo "Browserstack status: ${running} sessions running, ${queued} queued, ${spare} free" (( ${required} > ${spare} )) do diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index 8dfc9dcf665..3e4bc947ad1 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -18,11 +18,13 @@ jobs: setup: needs: build - name: "Setup environment" + name: "Define testing strategy" runs-on: ubuntu-latest outputs: browsers: ${{ toJSON(fromJSON(steps.define.outputs.result).browsers) }} + latestBrowsers: ${{ toJSON(fromJSON(steps.define.outputs.result).latestBrowsers) }} bstack-key: ${{ steps.bstack-save.outputs.name }} + bstack-sessions: ${{ fromJSON(steps.define.outputs.result).bsBrowsers }} steps: - name: Checkout uses: actions/checkout@v5 @@ -36,23 +38,35 @@ jobs: with: script: | const fs = require('node:fs/promises'); - const browsers = require('./.github/workflows/browser_testing.json'); - const excludeFromBstack = Object.values(browsers).map(browser => browser.bsName); + const browsers = Object.entries( + require('./.github/workflows/browser_testing.json') + ).flatMap(([name, browser]) => { + browser = Object.assign({name, version: 'latest'}, browser); + const browsers = [browser]; + const versions = browser.versions; + if (versions) { + delete browser.versions; + browsers.push(...Object.entries(versions).map(([version, def]) => Object.assign({}, browser, {version, ...def}))) + } + return browsers; + }) const bstackBrowsers = Object.fromEntries( - // exlude "latest" version of browsers that we can test on GH actions + // exclude versions of browsers that we can test on GH actions Object.entries(require('./browsers.json')) - .filter(([name, def]) => !excludeFromBstack.includes(def.browser) || def.browser_version !== 'latest') + .filter(([name, def]) => browsers.find(({bsName, version}) => bsName === def.browser && version === def.browser_version) == null) ) const updatedBrowsersJson = JSON.stringify(bstackBrowsers, null, 2); console.log("Using browsers.json:", updatedBrowsersJson); + console.log("Browsers to be tested directly on runners:", JSON.stringify(browsers, null, 2)) await fs.writeFile('./browsers.json', updatedBrowsersJson); return { - hasBSBrowsers: Object.keys(bstackBrowsers).length > 0, - browsers: Object.entries(browsers).map(([name, def]) => Object.assign({name}, def)) + bsBrowsers: Object.keys(bstackBrowsers).length, + browsers, + latestBrowsers: browsers.filter(browser => browser.version === 'latest') } - name: "Save working directory" id: bstack-save - if: ${{ fromJSON(steps.define.outputs.result).hasBSBrowsers }} + if: ${{ fromJSON(steps.define.outputs.result).bsBrowsers > 0 }} uses: ./.github/actions/save with: prefix: browserstack- @@ -87,7 +101,7 @@ jobs: unit-tests: needs: [setup, build] - name: "Unit (browser: ${{ matrix.browser.name }})" + name: "Unit (browser: ${{ matrix.browser.name }} ${{ matrix.browser.version }})" strategy: fail-fast: false matrix: @@ -95,6 +109,8 @@ jobs: uses: ./.github/workflows/run-tests.yml with: + install-deb: ${{ matrix.browser.deb }} + install-chrome: ${{ matrix.browser.chrome }} built-key: ${{ needs.build.outputs.built-key }} test-cmd: npx gulp test-only-nobuild --browsers ${{ matrix.browser.name }} ${{ matrix.browser.coverage && '--coverage' || '--no-coverage' }} chunks: 8 @@ -111,6 +127,7 @@ jobs: test-cmd: npx gulp test-only-nobuild --browserstack --no-coverage chunks: 8 browserstack: true + browserstack-sessions: ${{ fromJSON(needs.setup.outputs.bstack-sessions) }} secrets: BROWSERSTACK_USER_NAME: ${{ secrets.BROWSERSTACK_USER_NAME }} BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} diff --git a/.github/workflows/browser_testing.json b/.github/workflows/browser_testing.json index debfef278e1..46b0894e071 100644 --- a/.github/workflows/browser_testing.json +++ b/.github/workflows/browser_testing.json @@ -2,7 +2,14 @@ "ChromeHeadless": { "bsName": "chrome", "wdioName": "chrome", - "coverage": true + "coverage": true, + "versions": { + "113.0": { + "coverage": false, + "chrome": "113.0.5672.0", + "name": "ChromeNoSandbox" + } + } }, "EdgeHeadless": { "bsName": "edge", diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 36b1bca4b4d..74105f7a921 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -28,6 +28,11 @@ on: required: false type: boolean default: false + browserstack-sessions: + description: Number of browserstack sessions needed to run tests + required: false + type: number + default: 6 timeout: description: Timeout on test run required: false @@ -43,11 +48,19 @@ on: type: boolean required: false default: false + install-chrome: + description: Chrome version to install via @puppeteer/browsers + type: string + required: false run-npm-install: description: Run npm install before tests type: boolean required: false default: false + install-deb: + description: URL to deb to install before tests + type: string + required: false outputs: coverage: description: Artifact name for coverage results @@ -60,7 +73,7 @@ on: jobs: checkout: - name: "Set up environment" + name: "Define chunks" runs-on: ubuntu-latest outputs: chunks: ${{ steps.chunks.outputs.chunks }} @@ -87,7 +100,7 @@ jobs: matrix: chunk-no: ${{ fromJSON(needs.checkout.outputs.chunks) }} - name: "Test chunk ${{ matrix.chunk-no }}" + name: Test${{ inputs.chunks > 1 && format(' chunk {0}', matrix.chunk-no) || '' }} env: BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USER_NAME }} BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} @@ -122,7 +135,21 @@ jobs: defaults write com.apple.Safari AllowRemoteAutomation 1 sudo safaridriver --enable sudo "/Applications/Safari Technology Preview.app/Contents/MacOS/safaridriver" --enable - + + - name: Install Chrome + if: ${{ inputs.install-chrome }} + shell: bash + run: | + out=($(npx @puppeteer/browsers install chrome@${{ inputs.install-chrome }})) + echo 'CHROME_BIN='"${out[1]}" >> env; + cat env + cat env >> "$GITHUB_ENV" + + - name: Install deb + if: ${{ inputs.install-deb }} + uses: ./.github/actions/install-deb + with: + url: ${{ inputs.install-deb }} - name: Run npm install if: ${{ inputs.run-npm-install }} @@ -147,6 +174,8 @@ jobs: - name: 'Wait for browserstack' if: ${{ inputs.browserstack }} uses: ./.github/actions/wait-for-browserstack + with: + sessions: ${{ inputs.browserstack-sessions }} - name: Run tests uses: nick-fields/retry@v3 diff --git a/browsers.json b/browsers.json index 974df030ee7..f37d708221e 100644 --- a/browsers.json +++ b/browsers.json @@ -15,11 +15,11 @@ "device": null, "os": "Windows" }, - "bs_chrome_109_windows_10": { + "bs_chrome_113_windows_10": { "base": "BrowserStack", "os_version": "10", "browser": "chrome", - "browser_version": "109.0", + "browser_version": "113.0", "device": null, "os": "Windows" }, @@ -47,5 +47,4 @@ "device": null, "os": "OS X" } - } diff --git a/karma.conf.maker.js b/karma.conf.maker.js index 6866b296c3e..ed91691aeb7 100644 --- a/karma.conf.maker.js +++ b/karma.conf.maker.js @@ -85,6 +85,12 @@ function setReporters(karmaConf, codeCoverage, browserstack, chunkNo) { } function setBrowsers(karmaConf, browserstack) { + karmaConf.customLaunchers = karmaConf.customLaunchers || {}; + karmaConf.customLaunchers.ChromeNoSandbox = { + base: 'ChromeHeadless', + // disable sandbox - necessary within Docker and when using versions installed through @puppeteer/browsers + flags: ['--no-sandbox'] + } if (browserstack) { karmaConf.browserStack = { username: process.env.BROWSERSTACK_USERNAME, @@ -100,14 +106,7 @@ function setBrowsers(karmaConf, browserstack) { } else { var isDocker = require('is-docker')(); if (isDocker) { - karmaConf.customLaunchers = karmaConf.customLaunchers || {}; - karmaConf.customLaunchers.ChromeCustom = { - base: 'ChromeHeadless', - // We must disable the Chrome sandbox when running Chrome inside Docker (Chrome's sandbox needs - // more permissions than Docker allows by default) - flags: ['--no-sandbox'] - } - karmaConf.browsers = ['ChromeCustom']; + karmaConf.browsers = ['ChromeNoSandbox']; } else { karmaConf.browsers = ['ChromeHeadless']; } From 9e07ab9162da1c207569af73db7d625d594c739c Mon Sep 17 00:00:00 2001 From: mosherBT <115997271+mosherBT@users.noreply.github.com> Date: Thu, 20 Nov 2025 16:33:11 -0500 Subject: [PATCH 005/248] Core: fix proxy identity issue in objectGuard by caching wrapped objects (#14171) * Add weakCachec to objectGuard * add unit test * lint --------- Co-authored-by: Demetrio Girardi --- libraries/objectGuard/objectGuard.js | 17 +++++++++++++---- test/spec/activities/objectGuard_spec.js | 11 +++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/libraries/objectGuard/objectGuard.js b/libraries/objectGuard/objectGuard.js index 78ba0910bb9..f8d895be7cb 100644 --- a/libraries/objectGuard/objectGuard.js +++ b/libraries/objectGuard/objectGuard.js @@ -128,18 +128,23 @@ export function objectGuard(rules) { return true; } - function mkGuard(obj, tree, final, applies) { - return new Proxy(obj, { + function mkGuard(obj, tree, final, applies, cache = new WeakMap()) { + // If this object is already proxied, return the cached proxy + if (cache.has(obj)) { + return cache.get(obj); + } + + const proxy = new Proxy(obj, { get(target, prop, receiver) { const val = Reflect.get(target, prop, receiver); if (final && val != null && typeof val === 'object') { // a parent property has write protect rules, keep guarding - return mkGuard(val, tree, final, applies) + return mkGuard(val, tree, final, applies, cache) } else if (tree.children?.hasOwnProperty(prop)) { const {children, hasWP} = tree.children[prop]; if ((children || hasWP) && val != null && typeof val === 'object') { // some nested properties have rules, return a guard for the branch - return mkGuard(val, tree.children?.[prop] || tree, final || children == null, applies); + return mkGuard(val, tree.children?.[prop] || tree, final || children == null, applies, cache); } else if (isData(val)) { // if this property has redact rules, apply them const rule = getRedactRule(tree.children[prop]); @@ -183,6 +188,10 @@ export function objectGuard(rules) { return Reflect.deleteProperty(target, prop); } }); + + // Cache the proxy before returning + cache.set(obj, proxy); + return proxy; } return function guard(obj, ...args) { diff --git a/test/spec/activities/objectGuard_spec.js b/test/spec/activities/objectGuard_spec.js index f747a9544f7..5a86160c1f3 100644 --- a/test/spec/activities/objectGuard_spec.js +++ b/test/spec/activities/objectGuard_spec.js @@ -13,6 +13,11 @@ describe('objectGuard', () => { get(val) { return `repl${val}` }, } }) + it('should preserve object identity', () => { + const guard = objectGuard([rule])({outer: {inner: {foo: 'bar'}}}); + expect(guard.outer).to.equal(guard.outer); + expect(guard.outer.inner).to.equal(guard.outer.inner); + }) it('can prevent top level read access', () => { const obj = objectGuard([rule])({'foo': 1, 'other': 2}); expect(obj).to.eql({ @@ -97,6 +102,12 @@ describe('objectGuard', () => { }); }); + it('should preserve object identity', () => { + const guard = objectGuard([rule])({outer: {inner: {foo: 'bar'}}}); + expect(guard.outer).to.equal(guard.outer); + expect(guard.outer.inner).to.equal(guard.outer.inner); + }) + it('does not mess up array reads', () => { const guard = objectGuard([rule])({foo: [{bar: 'baz'}]}); expect(guard.foo).to.eql([{bar: 'baz'}]); From 2d039f761f8691694c85f821741d71b10d3959b1 Mon Sep 17 00:00:00 2001 From: SvenKoster Date: Thu, 20 Nov 2025 23:59:20 +0200 Subject: [PATCH 006/248] StartioBidAdapter: Change the protocol from http to https (#14128) * Start.io adapter: Change the protocol from http to https * Start.io adapter: Changing content-type to json * Start.io adapter: Changing content-type back to text/plain --- modules/startioBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/startioBidAdapter.js b/modules/startioBidAdapter.js index 76a68f8ce95..74629f2cc9c 100644 --- a/modules/startioBidAdapter.js +++ b/modules/startioBidAdapter.js @@ -7,7 +7,7 @@ import { ortb25Translator } from '../libraries/ortb2.5Translator/translator.js'; const BIDDER_CODE = 'startio'; const METHOD = 'POST'; const GVLID = 1216; -const ENDPOINT_URL = `http://pbc-rtb.startappnetwork.com/1.3/2.5/getbid?account=pbc`; +const ENDPOINT_URL = `https://pbc-rtb.startappnetwork.com/1.3/2.5/getbid?account=pbc`; const converter = ortbConverter({ imp(buildImp, bidRequest, context) { From 705c1d76729dfb5e35623c8907bac36a7a561ef9 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Thu, 20 Nov 2025 16:59:38 -0500 Subject: [PATCH 007/248] Rename greenbids bid adapter spec file (#14191) --- .../{greenbidsBidAdapter_specs.js => greenbidsBidAdapter_spec.js} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/spec/modules/{greenbidsBidAdapter_specs.js => greenbidsBidAdapter_spec.js} (100%) diff --git a/test/spec/modules/greenbidsBidAdapter_specs.js b/test/spec/modules/greenbidsBidAdapter_spec.js similarity index 100% rename from test/spec/modules/greenbidsBidAdapter_specs.js rename to test/spec/modules/greenbidsBidAdapter_spec.js From adf81ba0220adc504a316fd5ea2686a0fab73c8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20=C3=96str=C3=B6m?= <146713650+seenthis-alex@users.noreply.github.com> Date: Thu, 20 Nov 2025 23:40:05 +0100 Subject: [PATCH 008/248] SeenThis Brand Stories Rendering Module: initial release (fixed) (#14044) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add SeenThis Brand Stories module * test: add unit tests for seenthisBrandStories module functions and constants * remove support for loading inside iframe * only allow events of seenthis origin * fix tests; update applying of styling * sort variables * emit billable event on init --------- Co-authored-by: Per Holmäng --- modules/seenthisBrandStories.md | 10 + modules/seenthisBrandStories.ts | 161 +++++++++ .../spec/modules/seenthisBrandStories_spec.js | 333 ++++++++++++++++++ 3 files changed, 504 insertions(+) create mode 100644 modules/seenthisBrandStories.md create mode 100644 modules/seenthisBrandStories.ts create mode 100644 test/spec/modules/seenthisBrandStories_spec.js diff --git a/modules/seenthisBrandStories.md b/modules/seenthisBrandStories.md new file mode 100644 index 00000000000..8b438d8ca6c --- /dev/null +++ b/modules/seenthisBrandStories.md @@ -0,0 +1,10 @@ +# Overview + +Module Name: SeenThis Brand Stories +Maintainer: tech@seenthis.se + +# Description + +Module to allow publishers to handle SeenThis Brand Stories ads. The module will handle communication with the ad iframe and resize the ad iframe accurately and handle fullscreen mode according to product specification. + +This will allow publishers to safely run the ad format without the need to disable Safeframe when using Prebid.js. diff --git a/modules/seenthisBrandStories.ts b/modules/seenthisBrandStories.ts new file mode 100644 index 00000000000..8c6ee589272 --- /dev/null +++ b/modules/seenthisBrandStories.ts @@ -0,0 +1,161 @@ +import { EVENTS } from "../src/constants.js"; +import { getBoundingClientRect } from "../libraries/boundingClientRect/boundingClientRect.js"; +import { getWinDimensions } from "../src/utils.js"; +import * as events from "../src/events.js"; + +export const DEFAULT_MARGINS = "16px"; +export const SEENTHIS_EVENTS = [ + "@seenthis_storylines/ready", + "@seenthis_enabled", + "@seenthis_disabled", + "@seenthis_metric", + "@seenthis_detach", + "@seenthis_modal/opened", + "@seenthis_modal/closed", + "@seenthis_modal/beforeopen", + "@seenthis_modal/beforeclose", +]; + +const classNames: Record = { + container: "storylines-container", + expandedBody: "seenthis-storylines-fullscreen", +}; +const containerElements: Record = {}; +const frameElements: Record = {}; +const isInitialized: Record = {}; + +export function calculateMargins(element: HTMLElement) { + const boundingClientRect = getBoundingClientRect(element); + const wrapperLeftMargin = window.getComputedStyle(element).marginLeft; + const marginLeft = boundingClientRect.left - parseInt(wrapperLeftMargin, 10); + + if (boundingClientRect.width === 0 || marginLeft === 0) { + element.style.setProperty("--storylines-margins", DEFAULT_MARGINS); + element.style.setProperty("--storylines-margin-left", DEFAULT_MARGINS); + return; + } + element.style.setProperty("--storylines-margin-left", `-${marginLeft}px`); + element.style.setProperty("--storylines-margins", `${marginLeft * 2}px`); +} + +export function getFrameByEvent(event: MessageEvent) { + const isAncestor = (childWindow: Window, frameWindow: Window) => { + if (frameWindow === childWindow) { + return true; + } else if (childWindow === window.top) { + return false; + } + if (!childWindow?.parent) return false; + return isAncestor(childWindow.parent, frameWindow); + }; + const iframeThatMatchesSource = Array.from( + document.getElementsByTagName("iframe") + ).find((frame) => + isAncestor(event.source as Window, frame.contentWindow as Window) + ); + return iframeThatMatchesSource || null; +} + +export function addStyleToSingleChildAncestors( + element: HTMLElement, + { key, value }: { key: string; value: string } +) { + if (!element || !key) return; + if ( + key in element.style && + "offsetWidth" in element && + element.offsetWidth < getWinDimensions().innerWidth + ) { + element.style.setProperty(key, value); + } + if (!element.parentElement || element.parentElement?.children.length > 1) { + return; + } + addStyleToSingleChildAncestors(element.parentElement, { key, value }); +} + +export function findAdWrapper(target: HTMLDivElement) { + return target?.parentElement?.parentElement; +} + +export function applyFullWidth(target: HTMLDivElement) { + const adWrapper = findAdWrapper(target); + if (adWrapper) { + addStyleToSingleChildAncestors(adWrapper, { key: "width", value: "100%" }); + } +} + +export function applyAutoHeight(target: HTMLDivElement) { + const adWrapper = findAdWrapper(target); + if (adWrapper) { + addStyleToSingleChildAncestors(adWrapper, { key: "height", value: "auto" }); + addStyleToSingleChildAncestors(adWrapper, { + key: "min-height", + value: "auto", + }); + } +} + +// listen to messages from iframes +window.addEventListener("message", (event) => { + if (!["https://video.seenthis.se"].includes(event?.origin)) return; + + const data = event?.data; + if (!data) return; + + switch (data.type) { + case "storylines:init": { + const storyKey = data.storyKey; + if (!storyKey || isInitialized[storyKey]) return; + isInitialized[storyKey] = true; + + frameElements[storyKey] = getFrameByEvent(event); + containerElements[storyKey] = frameElements[storyKey] + ?.parentElement as HTMLDivElement; + event.source?.postMessage( + "storylines:init-ok", + "*" as WindowPostMessageOptions + ); + + const styleEl = document.createElement("style"); + styleEl.textContent = data.css; + document.head.appendChild(styleEl); + if (data.fixes.includes("full-width")) { + applyFullWidth(containerElements[storyKey]); + } + if (data.fixes.includes("auto-height")) { + applyAutoHeight(containerElements[storyKey]); + } + + containerElements[storyKey]?.classList.add(classNames.container); + calculateMargins(containerElements[storyKey]); + + events.emit(EVENTS.BILLABLE_EVENT, { + vendor: "seenthis", + type: "storylines_init", + }); + break; + } + case "@seenthis_modal/beforeopen": { + const storyKey = data.detail.storyKey; + document.body.classList.add(classNames.expandedBody); + containerElements[storyKey]?.classList.add("expanded"); + break; + } + case "@seenthis_modal/beforeclose": { + const storyKey = data.detail.storyKey; + document.body.classList.remove(classNames.expandedBody); + containerElements[storyKey]?.classList.remove("expanded"); + break; + } + } + + // dispatch SEENTHIS_EVENTS to parent window + if (SEENTHIS_EVENTS.includes(data.type)) { + window.dispatchEvent(new CustomEvent(data.type, { detail: data })); + } +}); + +Array.from(window.frames).forEach((frame) => { + frame.postMessage("storylines:bridge-ready", "*"); +}); diff --git a/test/spec/modules/seenthisBrandStories_spec.js b/test/spec/modules/seenthisBrandStories_spec.js new file mode 100644 index 00000000000..c565a33fa88 --- /dev/null +++ b/test/spec/modules/seenthisBrandStories_spec.js @@ -0,0 +1,333 @@ +import { expect } from "chai"; +import { + addStyleToSingleChildAncestors, + applyAutoHeight, + applyFullWidth, + calculateMargins, + DEFAULT_MARGINS, + findAdWrapper, + getFrameByEvent, + SEENTHIS_EVENTS, +} from "modules/seenthisBrandStories.ts"; +import * as boundingClientRect from "../../../libraries/boundingClientRect/boundingClientRect.js"; +import * as utils from "../../../src/utils.js"; +import * as winDimensions from "src/utils/winDimensions.js"; + +describe("seenthisBrandStories", function () { + describe("constants", function () { + it("should have correct DEFAULT_MARGINS", function () { + expect(DEFAULT_MARGINS).to.equal("16px"); + }); + + it("should have correct SEENTHIS_EVENTS array", function () { + expect(SEENTHIS_EVENTS).to.be.an("array").with.length(9); + expect(SEENTHIS_EVENTS).to.include("@seenthis_storylines/ready"); + expect(SEENTHIS_EVENTS).to.include("@seenthis_enabled"); + expect(SEENTHIS_EVENTS).to.include("@seenthis_modal/opened"); + }); + }); + + describe("calculateMargins", function () { + let mockElement; + let getBoundingClientRectStub; + let getComputedStyleStub; + + beforeEach(function () { + mockElement = { + style: { + setProperty: sinon.stub(), + }, + }; + + getBoundingClientRectStub = sinon.stub( + boundingClientRect, + "getBoundingClientRect" + ); + getComputedStyleStub = sinon.stub(window, "getComputedStyle"); + }); + + afterEach(function () { + sinon.restore(); + }); + + it("should set margins correctly with non-zero values", function () { + getBoundingClientRectStub.returns({ left: 32, width: 300 }); + getComputedStyleStub.returns({ marginLeft: "16px" }); + + calculateMargins(mockElement); + + expect( + mockElement.style.setProperty.calledWith( + "--storylines-margin-left", + "-16px" + ) + ).to.be.true; + expect( + mockElement.style.setProperty.calledWith("--storylines-margins", "32px") + ).to.be.true; + }); + + it("should use default margins when width is 0", function () { + getBoundingClientRectStub.returns({ left: 16, width: 0 }); + getComputedStyleStub.returns({ marginLeft: "0px" }); + + calculateMargins(mockElement); + + expect( + mockElement.style.setProperty.calledWith("--storylines-margins", "16px") + ).to.be.true; + expect( + mockElement.style.setProperty.calledWith( + "--storylines-margin-left", + "16px" + ) + ).to.be.true; + }); + + it("should use default margins when margin left is 0", function () { + getBoundingClientRectStub.returns({ left: 16, width: 300 }); + getComputedStyleStub.returns({ marginLeft: "16px" }); + + calculateMargins(mockElement); + + expect( + mockElement.style.setProperty.calledWith("--storylines-margins", "16px") + ).to.be.true; + expect( + mockElement.style.setProperty.calledWith( + "--storylines-margin-left", + "16px" + ) + ).to.be.true; + }); + }); + + describe("getFrameByEvent", function () { + let getElementsByTagNameStub; + let mockIframes; + let mockEventSource; + + beforeEach(function () { + mockEventSource = { id: "frame2" }; + + mockIframes = [ + { contentWindow: { id: "frame1" } }, + { contentWindow: mockEventSource }, // This will match + { contentWindow: { id: "frame3" } }, + ]; + + getElementsByTagNameStub = sinon + .stub(document, "getElementsByTagName") + .returns(mockIframes); + }); + + afterEach(function () { + sinon.restore(); + }); + + it("should return iframe matching event source", function () { + const mockEvent = { + source: mockEventSource, // This should match mockIframes[1].contentWindow + }; + + const result = getFrameByEvent(mockEvent); + + expect(result).to.equal(mockIframes[1]); + expect(getElementsByTagNameStub.calledWith("iframe")).to.be.true; + }); + + it("should return undefined if no iframe matches", function () { + const mockEvent = { + source: { id: "nonexistent" }, // This won't match any iframe + }; + + const result = getFrameByEvent(mockEvent); + + expect(result).to.be.null; + }); + }); + + describe("addStyleToSingleChildAncestors", function () { + beforeEach(function () { + sinon + .stub(winDimensions, "getWinDimensions") + .returns({ innerWidth: 1024, innerHeight: 768 }); + }); + + afterEach(function () { + sinon.restore(); + }); + + it("should apply style to element when width is less than window width", function () { + const mockElement = { + style: { + setProperty: sinon.stub(), + width: "", // key exists + }, + offsetWidth: 400, + parentElement: null, + }; + + addStyleToSingleChildAncestors(mockElement, { + key: "width", + value: "100%", + }); + + expect(mockElement.style.setProperty.calledWith("width", "100%")).to.be + .true; + }); + + it("should not apply style when element width equals window width", function () { + const mockElement = { + style: { + setProperty: sinon.stub(), + width: "", + }, + offsetWidth: 1024, + parentElement: null, + }; + + addStyleToSingleChildAncestors(mockElement, { + key: "width", + value: "100%", + }); + + expect(mockElement.style.setProperty.called).to.be.false; + }); + + it("should recursively apply to single child ancestors", function () { + const grandParent = { + style: { + setProperty: sinon.stub(), + width: "", + }, + offsetWidth: 800, + parentElement: null, + children: { length: 1 }, + }; + + const parent = { + style: { + setProperty: sinon.stub(), + width: "", + }, + offsetWidth: 600, + parentElement: grandParent, + children: { length: 1 }, + }; + + const child = { + style: { + setProperty: sinon.stub(), + width: "", + }, + offsetWidth: 400, + parentElement: parent, + }; + + addStyleToSingleChildAncestors(child, { key: "width", value: "100%" }); + + expect(child.style.setProperty.calledWith("width", "100%")).to.be.true; + expect(parent.style.setProperty.calledWith("width", "100%")).to.be.true; + expect(grandParent.style.setProperty.calledWith("width", "100%")).to.be + .true; + }); + + it("should stop recursion when parent has multiple children", function () { + const parent = { + style: { + setProperty: sinon.stub(), + width: "", + }, + offsetWidth: 600, + parentElement: null, + children: { length: 2 }, // Multiple children + }; + + const child = { + style: { + setProperty: sinon.stub(), + width: "", + }, + offsetWidth: 400, + parentElement: parent, + }; + + addStyleToSingleChildAncestors(child, { key: "width", value: "100%" }); + + expect(child.style.setProperty.calledWith("width", "100%")).to.be.true; + expect(parent.style.setProperty.called).to.be.false; + }); + + it("should not apply style when key is not in element style", function () { + const mockElement = { + style: { + setProperty: sinon.stub(), + // 'width' key not present + }, + offsetWidth: 400, + parentElement: null, + }; + + addStyleToSingleChildAncestors(mockElement, { + key: "width", + value: "100%", + }); + + expect(mockElement.style.setProperty.called).to.be.false; + }); + }); + + describe("findAdWrapper", function () { + it("should return grandparent element", function () { + const grandParent = {}; + const parent = { parentElement: grandParent }; + const target = { parentElement: parent }; + + const result = findAdWrapper(target); + + expect(result).to.equal(grandParent); + }); + }); + + describe("applyFullWidth", function () { + let findAdWrapperStub; + let addStyleToSingleChildAncestorsStub; + + beforeEach(function () { + findAdWrapperStub = sinon.stub(); + addStyleToSingleChildAncestorsStub = sinon.stub(); + }); + + afterEach(function () { + sinon.restore(); + }); + + it("should call addStyleToSingleChildAncestors with width 100% when adWrapper exists", function () { + const mockTarget = {}; + + expect(() => applyFullWidth(mockTarget)).to.not.throw(); + }); + + it("should handle null adWrapper gracefully", function () { + const mockTarget = {}; + + expect(() => applyFullWidth(mockTarget)).to.not.throw(); + }); + }); + + describe("applyAutoHeight", function () { + it("should call addStyleToSingleChildAncestors with height auto when adWrapper exists", function () { + const mockTarget = {}; + + // Test that function executes without errors + expect(() => applyAutoHeight(mockTarget)).to.not.throw(); + }); + + it("should handle null adWrapper gracefully", function () { + const mockTarget = {}; + + expect(() => applyAutoHeight(mockTarget)).to.not.throw(); + }); + }); +}); From d90038742037d2c9fc4ddad1c18310f6a0c8fce3 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Fri, 21 Nov 2025 10:19:34 -0500 Subject: [PATCH 009/248] Various modules: fix tests (#14194) * GreenbidsBidAdapter: fix tests * fix adnuntius & pbsBidAdapter --- modules/greenbidsBidAdapter.js | 2 +- test/spec/modules/adnuntiusBidAdapter_spec.js | 1 + test/spec/modules/greenbidsBidAdapter_spec.js | 171 ++++++------------ .../modules/prebidServerBidAdapter_spec.js | 14 +- 4 files changed, 65 insertions(+), 123 deletions(-) diff --git a/modules/greenbidsBidAdapter.js b/modules/greenbidsBidAdapter.js index 2b5a0790459..490eb9e703d 100644 --- a/modules/greenbidsBidAdapter.js +++ b/modules/greenbidsBidAdapter.js @@ -10,7 +10,7 @@ import { getReferrerInfo, getPageTitle, getPageDescription, getConnectionDownLin */ const BIDDER_CODE = 'greenbids'; -const ENDPOINT_URL = 'https://hb.greenbids.ai'; +export const ENDPOINT_URL = 'https://hb.greenbids.ai'; export const storage = getStorageManager({ bidderCode: BIDDER_CODE }); export const spec = { diff --git a/test/spec/modules/adnuntiusBidAdapter_spec.js b/test/spec/modules/adnuntiusBidAdapter_spec.js index 8a531ba08db..6c6f08b8750 100644 --- a/test/spec/modules/adnuntiusBidAdapter_spec.js +++ b/test/spec/modules/adnuntiusBidAdapter_spec.js @@ -1,3 +1,4 @@ +import '../../../src/prebid.js'; import {expect} from 'chai'; import {spec} from 'modules/adnuntiusBidAdapter.js'; import {newBidder} from 'src/adapters/bidderFactory.js'; diff --git a/test/spec/modules/greenbidsBidAdapter_spec.js b/test/spec/modules/greenbidsBidAdapter_spec.js index 61e9c1d4e17..4cf992434dc 100644 --- a/test/spec/modules/greenbidsBidAdapter_spec.js +++ b/test/spec/modules/greenbidsBidAdapter_spec.js @@ -1,11 +1,46 @@ import { expect } from 'chai'; import { newBidder } from 'src/adapters/bidderFactory.js'; -import { spec } from 'modules/greenbidsBidAdapter.js'; +import { spec, ENDPOINT_URL } from 'modules/greenbidsBidAdapter.js'; import { getScreenOrientation } from 'src/utils.js'; -const ENDPOINT = 'https://d.greenbids.ai/hb/bid-request'; const AD_SCRIPT = '"'; describe('greenbidsBidAdapter', () => { + const bidderRequestDefault = { + 'auctionId': '1d1a030790a475', + 'bidderRequestId': '22edbae2733bf6', + 'timeout': 3000 + }; + + const bidRequests = [ + { + 'bidder': 'greenbids', + 'params': { + 'placementId': 4242 + }, + 'adUnitCode': 'adunit-code', + 'sizes': [[300, 250], [300, 600]], + 'bidId': '30b31c1838de1e', + 'bidderRequestId': '22edbae2733bf6', + 'auctionId': '1d1a030790a475', + 'creativeId': 'er2ee', + 'deviceWidth': 1680 + } + ]; + + function checkMediaTypesSizes(mediaTypes, expectedSizes) { + const bidRequestWithBannerSizes = Object.assign(bidRequests[0], mediaTypes); + const requestWithBannerSizes = spec.buildRequests([bidRequestWithBannerSizes], bidderRequestDefault); + const payloadWithBannerSizes = JSON.parse(requestWithBannerSizes.data); + + return payloadWithBannerSizes.data.forEach(bid => { + if (Array.isArray(expectedSizes)) { + expect(JSON.stringify(bid.sizes)).to.equal(JSON.stringify(expectedSizes)); + } else { + expect(bid.sizes[0]).to.equal(expectedSizes); + } + }); + } + const adapter = newBidder(spec); let sandbox; @@ -62,7 +97,7 @@ describe('greenbidsBidAdapter', () => { it('should send bid request to ENDPOINT via POST', function () { const request = spec.buildRequests(bidRequests, bidderRequestDefault); - expect(request.url).to.equal(ENDPOINT); + expect(request.url).to.equal(ENDPOINT_URL); expect(request.method).to.equal('POST'); }); @@ -319,74 +354,6 @@ describe('greenbidsBidAdapter', () => { expect(payload.device).to.deep.equal(ortb2DeviceBidderRequest.ortb2.device); }); - - it('should add hardwareConcurrency info to payload', function () { - const originalHardwareConcurrency = window.top.navigator.hardwareConcurrency; - - const mockHardwareConcurrency = (value) => { - Object.defineProperty(window.top.navigator, 'hardwareConcurrency', { - value, - configurable: true, - }); - }; - - try { - const mockValue = 8; - mockHardwareConcurrency(mockValue); - - const requestWithHardwareConcurrency = spec.buildRequests(bidRequests, bidderRequestDefault); - const payloadWithHardwareConcurrency = JSON.parse(requestWithHardwareConcurrency.data); - - expect(payloadWithHardwareConcurrency.hardwareConcurrency).to.exist; - expect(payloadWithHardwareConcurrency.hardwareConcurrency).to.deep.equal(mockValue); - - mockHardwareConcurrency(undefined); - - const requestWithoutHardwareConcurrency = spec.buildRequests(bidRequests, bidderRequestDefault); - const payloadWithoutHardwareConcurrency = JSON.parse(requestWithoutHardwareConcurrency.data); - - expect(payloadWithoutHardwareConcurrency.hardwareConcurrency).to.not.exist; - } finally { - Object.defineProperty(window.top.navigator, 'hardwareConcurrency', { - value: originalHardwareConcurrency, - configurable: true, - }); - } - }); - - it('should add deviceMemory info to payload', function () { - const originalDeviceMemory = window.top.navigator.deviceMemory; - - const mockDeviceMemory = (value) => { - Object.defineProperty(window.top.navigator, 'deviceMemory', { - value, - configurable: true, - }); - }; - - try { - const mockValue = 4; - mockDeviceMemory(mockValue); - - const requestWithDeviceMemory = spec.buildRequests(bidRequests, bidderRequestDefault); - const payloadWithDeviceMemory = JSON.parse(requestWithDeviceMemory.data); - - expect(payloadWithDeviceMemory.deviceMemory).to.exist; - expect(payloadWithDeviceMemory.deviceMemory).to.deep.equal(mockValue); - - mockDeviceMemory(undefined); - - const requestWithoutDeviceMemory = spec.buildRequests(bidRequests, bidderRequestDefault); - const payloadWithoutDeviceMemory = JSON.parse(requestWithoutDeviceMemory.data); - - expect(payloadWithoutDeviceMemory.deviceMemory).to.not.exist; - } finally { - Object.defineProperty(window.top.navigator, 'deviceMemory', { - value: originalDeviceMemory, - configurable: true, - }); - } - }); }); describe('pageTitle', function () { @@ -690,14 +657,20 @@ describe('greenbidsBidAdapter', () => { it('should add schain info to payload if available', function () { const bidRequest = Object.assign({}, bidRequests[0], { - schain: { - ver: '1.0', - complete: 1, - nodes: [{ - asi: 'example.com', - sid: '00001', - hp: 1 - }] + ortb2: { + source: { + ext: { + schain: { + ver: '1.0', + complete: 1, + nodes: [{ + asi: 'example.com', + sid: '00001', + hp: 1 + }] + } + } + } } }); @@ -904,6 +877,7 @@ describe('greenbidsBidAdapter', () => { 'cpm': 0.5, 'currency': 'USD', 'height': 250, + 'size': '200x100', 'bidId': '3ede2a3fa0db94', 'ttl': 360, 'width': 300, @@ -914,6 +888,7 @@ describe('greenbidsBidAdapter', () => { 'cpm': 0.5, 'currency': 'USD', 'height': 200, + 'size': '300x150', 'bidId': '4fef3b4gb1ec15', 'ttl': 360, 'width': 350, @@ -939,6 +914,7 @@ describe('greenbidsBidAdapter', () => { 'cpm': 0.5, 'width': 300, 'height': 250, + 'size': '200x100', 'currency': 'USD', 'netRevenue': true, 'meta': { @@ -953,6 +929,7 @@ describe('greenbidsBidAdapter', () => { 'cpm': 0.5, 'width': 350, 'height': 200, + 'size': '300x150', 'currency': 'USD', 'netRevenue': true, 'meta': { @@ -993,39 +970,3 @@ describe('greenbidsBidAdapter', () => { }); }); }); - -const bidderRequestDefault = { - 'auctionId': '1d1a030790a475', - 'bidderRequestId': '22edbae2733bf6', - 'timeout': 3000 -}; - -const bidRequests = [ - { - 'bidder': 'greenbids', - 'params': { - 'placementId': 4242 - }, - 'adUnitCode': 'adunit-code', - 'sizes': [[300, 250], [300, 600]], - 'bidId': '30b31c1838de1e', - 'bidderRequestId': '22edbae2733bf6', - 'auctionId': '1d1a030790a475', - 'creativeId': 'er2ee', - 'deviceWidth': 1680 - } -]; - -function checkMediaTypesSizes(mediaTypes, expectedSizes) { - const bidRequestWithBannerSizes = Object.assign(bidRequests[0], mediaTypes); - const requestWithBannerSizes = spec.buildRequests([bidRequestWithBannerSizes], bidderRequestDefault); - const payloadWithBannerSizes = JSON.parse(requestWithBannerSizes.data); - - return payloadWithBannerSizes.data.forEach(bid => { - if (Array.isArray(expectedSizes)) { - expect(JSON.stringify(bid.sizes)).to.equal(JSON.stringify(expectedSizes)); - } else { - expect(bid.sizes[0]).to.equal(expectedSizes); - } - }); -} diff --git a/test/spec/modules/prebidServerBidAdapter_spec.js b/test/spec/modules/prebidServerBidAdapter_spec.js index 882f38ba2a9..595b95c6db8 100644 --- a/test/spec/modules/prebidServerBidAdapter_spec.js +++ b/test/spec/modules/prebidServerBidAdapter_spec.js @@ -7,7 +7,7 @@ import { } from 'modules/prebidServerBidAdapter/index.js'; import adapterManager, {PBS_ADAPTER_NAME} from 'src/adapterManager.js'; import * as utils from 'src/utils.js'; -import {deepAccess, deepClone, mergeDeep} from 'src/utils.js'; +import {deepAccess, deepClone, getWinDimensions, mergeDeep} from 'src/utils.js'; import {ajax} from 'src/ajax.js'; import {config} from 'src/config.js'; import * as events from 'src/events.js'; @@ -1195,8 +1195,8 @@ describe('S2S Adapter', function () { const requestBid = JSON.parse(server.requests[0].requestBody); sinon.assert.match(requestBid.device, { ifa: '6D92078A-8246-4BA4-AE5B-76104861E7DC', - w: window.screen.width, - h: window.screen.height, + w: getWinDimensions().screen.width, + h: getWinDimensions().screen.height, }) sinon.assert.match(requestBid.app, { bundle: 'com.test.app', @@ -1227,8 +1227,8 @@ describe('S2S Adapter', function () { const requestBid = JSON.parse(server.requests[0].requestBody); sinon.assert.match(requestBid.device, { ifa: '6D92078A-8246-4BA4-AE5B-76104861E7DC', - w: window.screen.width, - h: window.screen.height, + w: getWinDimensions().screen.width, + h: getWinDimensions().screen.height, }) sinon.assert.match(requestBid.app, { bundle: 'com.test.app', @@ -1619,8 +1619,8 @@ describe('S2S Adapter', function () { adapter.callBids(await addFpdEnrichmentsToS2SRequest(REQUEST, BID_REQUESTS), BID_REQUESTS, addBidResponse, done, ajax); const requestBid = JSON.parse(server.requests[0].requestBody); sinon.assert.match(requestBid.device, { - w: window.screen.width, - h: window.screen.height, + w: getWinDimensions().screen.width, + h: getWinDimensions().screen.height, }) expect(requestBid.imp[0].native.ver).to.equal('1.2'); }); From 72ca897934c1e9194228f931e841c869ee02d9b9 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Fri, 21 Nov 2025 10:20:06 -0500 Subject: [PATCH 010/248] Set localIdentifier for browserstack tests (#14195) --- karma.conf.maker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karma.conf.maker.js b/karma.conf.maker.js index ed91691aeb7..f6f9d903d58 100644 --- a/karma.conf.maker.js +++ b/karma.conf.maker.js @@ -97,7 +97,7 @@ function setBrowsers(karmaConf, browserstack) { accessKey: process.env.BROWSERSTACK_ACCESS_KEY, build: process.env.BROWSERSTACK_BUILD_NAME } - if (process.env.TRAVIS) { + if (process.env.BROWSERSTACK_LOCAL_IDENTIFIER) { karmaConf.browserStack.startTunnel = false; karmaConf.browserStack.tunnelIdentifier = process.env.BROWSERSTACK_LOCAL_IDENTIFIER; } From 4519cd17d33114b024715c647d29dbf9e505bb33 Mon Sep 17 00:00:00 2001 From: Screencore Developer Date: Fri, 21 Nov 2025 17:27:33 +0200 Subject: [PATCH 011/248] Screencore Bid Adapter: add endpointId parameter (#14169) * Screencore prebid adapter * rearrange code * use lowercase screncore bidder code * fix tests * update tests * trigger CI * Screencore Bid Adapter: add endpointId parameter * Updated adapter to use teqblazeUtils library * Added endpointId parameter support in test parameters * Updated test specs to include endpointId validation * Screencore Bid Adapter: update sync URL to base domain Update SYNC_URL constant to use base domain. The getUserSyncs function from teqblazeUtils will append the appropriate path. * Screencore Bid Adapter: migrate to teqblazeUtils library - Update imports to use buildRequestsBase, interpretResponse, getUserSyncs, isBidRequestValid, and buildPlacementProcessingFunction from teqblazeUtils - Remove storage manager dependency (no longer needed) - Update isBidRequestValid to use placementId/endpointId params validation - Refactor buildRequests to use buildRequestsBase pattern - Rewrite test suite to match teqblazeUtils API: - Simplify test data structures - Update server response format (body as array) - Add tests for placementId/endpointId validation - Update getUserSyncs URL format expectations --------- Co-authored-by: Kostiantyn Karchevsky Co-authored-by: Demetrio Girardi Co-authored-by: Patrick McCann --- modules/screencoreBidAdapter.js | 28 +- modules/screencoreBidAdapter.md | 3 +- .../spec/modules/screencoreBidAdapter_spec.js | 905 +++++------------- 3 files changed, 271 insertions(+), 665 deletions(-) diff --git a/modules/screencoreBidAdapter.js b/modules/screencoreBidAdapter.js index ac6f5895751..22f71cf1379 100644 --- a/modules/screencoreBidAdapter.js +++ b/modules/screencoreBidAdapter.js @@ -1,16 +1,17 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'; import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; -import { getStorageManager } from '../src/storageManager.js'; import { - createBuildRequestsFn, - createInterpretResponseFn, - createUserSyncGetter, isBidRequestValid, -} from '../libraries/vidazooUtils/bidderUtils.js'; + buildRequestsBase, + interpretResponse, + getUserSyncs, + buildPlacementProcessingFunction +} from '../libraries/teqblazeUtils/bidderUtils.js'; const BIDDER_CODE = 'screencore'; const GVLID = 1473; const BIDDER_VERSION = '1.0.0'; +const SYNC_URL = 'https://cs.screencore.io'; const REGION_SUBDOMAIN_SUFFIX = { EU: 'taqeu', US: 'taqus', @@ -48,32 +49,29 @@ function getRegionSubdomainSuffix() { } } -export const storage = getStorageManager({ bidderCode: BIDDER_CODE }); - export function createDomain() { const subDomain = getRegionSubdomainSuffix(); return `https://${subDomain}.screencore.io`; } -const buildRequests = createBuildRequestsFn(createDomain, null, storage, BIDDER_CODE, BIDDER_VERSION, false); +const AD_URL = `${createDomain()}/prebid`; -const interpretResponse = createInterpretResponseFn(BIDDER_CODE, false); +const placementProcessingFunction = buildPlacementProcessingFunction(); -const getUserSyncs = createUserSyncGetter({ - iframeSyncUrl: 'https://cs.screencore.io/api/sync/iframe', - imageSyncUrl: 'https://cs.screencore.io/api/sync/image', -}); +const buildRequests = (validBidRequests = [], bidderRequest = {}) => { + return buildRequestsBase({ adUrl: AD_URL, validBidRequests, bidderRequest, placementProcessingFunction }); +}; export const spec = { code: BIDDER_CODE, version: BIDDER_VERSION, gvlid: GVLID, supportedMediaTypes: [BANNER, VIDEO, NATIVE], - isBidRequestValid, + isBidRequestValid: isBidRequestValid(), buildRequests, interpretResponse, - getUserSyncs, + getUserSyncs: getUserSyncs(SYNC_URL), }; registerBidder(spec); diff --git a/modules/screencoreBidAdapter.md b/modules/screencoreBidAdapter.md index 60dc9b9ab21..8e5d9e3d3da 100644 --- a/modules/screencoreBidAdapter.md +++ b/modules/screencoreBidAdapter.md @@ -27,7 +27,8 @@ var adUnits = [ param1: 'loremipsum', param2: 'dolorsitamet' }, - placementId: 'testBanner' + placementId: 'testBanner', + endpointId: 'testEndpoint' } } ] diff --git a/test/spec/modules/screencoreBidAdapter_spec.js b/test/spec/modules/screencoreBidAdapter_spec.js index 4e9177e8ce5..bd1aad95edf 100644 --- a/test/spec/modules/screencoreBidAdapter_spec.js +++ b/test/spec/modules/screencoreBidAdapter_spec.js @@ -1,789 +1,396 @@ import { expect } from 'chai'; -import { createDomain, spec as adapter, storage } from 'modules/screencoreBidAdapter.js'; -import { getGlobal } from 'src/prebidGlobal.js'; -import { - extractCID, - extractPID, - extractSubDomain, - getStorageItem, - getUniqueDealId, - hashCode, - setStorageItem, - tryParseJSON, -} from 'libraries/vidazooUtils/bidderUtils.js'; +import { createDomain, spec as adapter } from 'modules/screencoreBidAdapter.js'; import { config } from 'src/config.js'; import { BANNER, VIDEO, NATIVE } from 'src/mediaTypes.js'; -import { version } from 'package.json'; -import * as utils from 'src/utils.js'; -import sinon, { useFakeTimers } from 'sinon'; - -export const TEST_ID_SYSTEMS = ['criteoId', 'id5id', 'netId', 'tdid', 'pubProvidedId', 'intentIqId', 'liveIntentId']; - -const SUB_DOMAIN = 'exchange'; +import sinon from 'sinon'; const BID = { - 'bidId': '2d52001cabd527', - 'adUnitCode': 'div-gpt-ad-12345-0', - 'params': { - 'subDomain': SUB_DOMAIN, - 'cId': '59db6b3b4ffaa70004f45cdc', - 'pId': '59ac17c192832d0011283fe3', - 'bidFloor': 0.1, - 'ext': { - 'param1': 'loremipsum', - 'param2': 'dolorsitamet' - }, - 'placementId': 'testBanner' + bidId: '2d52001cabd527', + bidder: 'screencore', + adUnitCode: 'div-gpt-ad-12345-0', + transactionId: 'c881914b-a3b5-4ecf-ad9c-1c2f37c6aabf', + params: { + placementId: 'testPlacement', + endpointId: 'testEndpoint' }, - 'placementCode': 'div-gpt-ad-1460505748561-0', - 'sizes': [[300, 250], [300, 600]], - 'bidderRequestId': '1fdb5ff1b6eaa7', - 'bidRequestsCount': 4, - 'bidderRequestsCount': 3, - 'bidderWinsCount': 1, - 'requestId': 'b0777d85-d061-450e-9bc7-260dd54bbb7a', - 'schain': 'a0819c69-005b-41ed-af06-1be1e0aefefc', - 'mediaTypes': [BANNER], - 'ortb2Imp': { - 'ext': { - 'gpid': '0123456789', - 'tid': 'c881914b-a3b5-4ecf-ad9c-1c2f37c6aabf' + mediaTypes: { + banner: { + sizes: [[300, 250], [300, 600]] + } + }, + ortb2Imp: { + ext: { + gpid: '0123456789', + tid: 'c881914b-a3b5-4ecf-ad9c-1c2f37c6aabf' } } }; const VIDEO_BID = { - 'bidId': '2d52001cabd527', - 'adUnitCode': '63550ad1ff6642d368cba59dh5884270560', - 'bidderRequestId': '12a8ae9ada9c13', - 'transactionId': '56e184c6-bde9-497b-b9b9-cf47a61381ee', - 'bidRequestsCount': 4, - 'bidderRequestsCount': 3, - 'bidderWinsCount': 1, - 'schain': 'a0819c69-005b-41ed-af06-1be1e0aefefc', - 'params': { - 'subDomain': SUB_DOMAIN, - 'cId': '635509f7ff6642d368cb9837', - 'pId': '59ac17c192832d0011283fe3', - 'bidFloor': 0.1, - 'placementId': 'testBanner' + bidId: '2d52001cabd528', + bidder: 'screencore', + adUnitCode: 'video-ad-unit', + transactionId: '56e184c6-bde9-497b-b9b9-cf47a61381ee', + params: { + placementId: 'testVideoPlacement', + endpointId: 'testVideoEndpoint' }, - 'sizes': [[545, 307]], - 'mediaTypes': { - 'video': { - 'playerSize': [[545, 307]], - 'context': 'instream', - 'mimes': [ - 'video/mp4', - 'application/javascript' - ], - 'protocols': [2, 3, 5, 6], - 'maxduration': 60, - 'minduration': 0, - 'startdelay': 0, - 'linearity': 1, - 'api': [2], - 'placement': 1 + mediaTypes: { + video: { + playerSize: [[545, 307]], + context: 'instream', + mimes: ['video/mp4', 'application/javascript'], + protocols: [2, 3, 5, 6], + maxduration: 60, + minduration: 0, + startdelay: 0, + linearity: 1, + api: [2], + placement: 1 } }, - 'ortb2Imp': { - 'ext': { - 'tid': '56e184c6-bde9-497b-b9b9-cf47a61381ee' + ortb2Imp: { + ext: { + tid: '56e184c6-bde9-497b-b9b9-cf47a61381ee' } } -} - -const ORTB2_DEVICE = { - sua: { - 'source': 2, - 'platform': { - 'brand': 'Android', - 'version': ['8', '0', '0'] - }, - 'browsers': [ - {'brand': 'Not_A Brand', 'version': ['99', '0', '0', '0']}, - {'brand': 'Google Chrome', 'version': ['109', '0', '5414', '119']}, - {'brand': 'Chromium', 'version': ['109', '0', '5414', '119']} - ], - 'mobile': 1, - 'model': 'SM-G955U', - 'bitness': '64', - 'architecture': '' +}; + +const NATIVE_BID = { + bidId: '2d52001cabd529', + bidder: 'screencore', + adUnitCode: 'native-ad-unit', + transactionId: '77e184c6-bde9-497b-b9b9-cf47a61381ee', + params: { + placementId: 'testNativePlacement' }, - w: 980, - h: 1720, - dnt: 0, - ua: 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/125.0.6422.80 Mobile/15E148 Safari/604.1', - language: 'en', - devicetype: 1, - make: 'Apple', - model: 'iPhone 12 Pro Max', - os: 'iOS', - osv: '17.4', - ext: {fiftyonedegrees_deviceId: '17595-133085-133468-18092'}, + mediaTypes: { + native: { + title: { required: true }, + image: { required: true }, + sponsoredBy: { required: false } + } + } }; const BIDDER_REQUEST = { - 'gdprConsent': { - 'consentString': 'consent_string', - 'gdprApplies': true - }, - 'gppString': 'gpp_string', - 'gppSid': [7], - 'uspConsent': 'consent_string', - 'refererInfo': { - 'page': 'https://www.greatsite.com', - 'ref': 'https://www.somereferrer.com' + refererInfo: { + page: 'https://www.example.com', + ref: 'https://www.referrer.com' }, - 'ortb2': { - 'site': { - 'content': { - 'language': 'en' - } - }, - 'regs': { - 'gpp': 'gpp_string', - 'gpp_sid': [7], - 'coppa': 0 - }, - 'device': ORTB2_DEVICE, + ortb2: { + device: { + w: 1920, + h: 1080, + language: 'en' + } } }; const SERVER_RESPONSE = { - body: { - cid: 'testcid123', - results: [{ - 'ad': '', - 'price': 0.8, - 'creativeId': '12610997325162499419', - 'exp': 30, - 'width': 300, - 'height': 250, - 'advertiserDomains': ['securepubads.g.doubleclick.net'], - 'cookies': [{ - 'src': 'https://sync.com', - 'type': 'iframe' - }, { - 'src': 'https://sync.com', - 'type': 'img' - }] - }] - } + body: [{ + requestId: '2d52001cabd527', + cpm: 0.8, + creativeId: '12610997325162499419', + ttl: 30, + currency: 'USD', + width: 300, + height: 250, + mediaType: 'banner', + ad: '', + adomain: ['securepubads.g.doubleclick.net'] + }] }; const VIDEO_SERVER_RESPONSE = { - body: { - 'cid': '635509f7ff6642d368cb9837', - 'results': [{ - 'ad': '', - 'advertiserDomains': ['screencore.io'], - 'exp': 60, - 'width': 545, - 'height': 307, - 'mediaType': 'video', - 'creativeId': '12610997325162499419', - 'price': 2, - 'cookies': [] - }] - } -}; - -const ORTB2_OBJ = { - "device": ORTB2_DEVICE, - "regs": {"coppa": 0, "gpp": "gpp_string", "gpp_sid": [7]}, - "site": {"content": {"language": "en"} - } + body: [{ + requestId: '2d52001cabd528', + cpm: 2, + creativeId: '12610997325162499419', + ttl: 60, + currency: 'USD', + width: 545, + height: 307, + mediaType: 'video', + vastXml: '', + adomain: ['screencore.io'] + }] }; const REQUEST = { data: { - width: 300, - height: 250, - bidId: '2d52001cabd527' + placements: [{ + bidId: '2d52001cabd527', + adFormat: 'banner', + sizes: [[300, 250], [300, 600]] + }] } }; -function getTopWindowQueryParams() { - try { - const parsedUrl = utils.parseUrl(window.top.document.URL, { decodeSearchAsString: true }); - return parsedUrl.search; - } catch (e) { - return ''; - } -} - describe('screencore bid adapter', function () { before(() => config.resetConfig()); after(() => config.resetConfig()); describe('validate spec', function () { - it('exists and is a function', function () { + it('should have isBidRequestValid as a function', function () { expect(adapter.isBidRequestValid).to.exist.and.to.be.a('function'); }); - it('exists and is a function', function () { + it('should have buildRequests as a function', function () { expect(adapter.buildRequests).to.exist.and.to.be.a('function'); }); - it('exists and is a function', function () { + it('should have interpretResponse as a function', function () { expect(adapter.interpretResponse).to.exist.and.to.be.a('function'); }); - it('exists and is a function', function () { + it('should have getUserSyncs as a function', function () { expect(adapter.getUserSyncs).to.exist.and.to.be.a('function'); }); - it('exists and is a string', function () { + it('should have code as a string', function () { expect(adapter.code).to.exist.and.to.be.a('string'); + expect(adapter.code).to.equal('screencore'); }); - it('exists and contains media types', function () { + it('should have supportedMediaTypes with BANNER, VIDEO, NATIVE', function () { expect(adapter.supportedMediaTypes).to.exist.and.to.be.an('array').with.length(3); expect(adapter.supportedMediaTypes).to.contain.members([BANNER, VIDEO, NATIVE]); }); + + it('should have gvlid', function () { + expect(adapter.gvlid).to.exist.and.to.equal(1473); + }); + + it('should have version', function () { + expect(adapter.version).to.exist.and.to.equal('1.0.0'); + }); }); describe('validate bid requests', function () { - it('should require cId', function () { + it('should return false when placementId and endpointId are missing', function () { const isValid = adapter.isBidRequestValid({ - params: { - pId: 'pid', - }, + bidId: '123', + params: {}, + mediaTypes: { banner: { sizes: [[300, 250]] } } }); expect(isValid).to.be.false; }); - it('should require pId', function () { + it('should return false when mediaTypes is missing', function () { const isValid = adapter.isBidRequestValid({ - params: { - cId: 'cid', - }, + bidId: '123', + params: { placementId: 'test' } }); expect(isValid).to.be.false; }); - it('should validate correctly', function () { + it('should return true when placementId is present with banner mediaType', function () { const isValid = adapter.isBidRequestValid({ - params: { - cId: 'cid', - pId: 'pid', - }, + bidId: '123', + params: { placementId: 'test' }, + mediaTypes: { banner: { sizes: [[300, 250]] } } + }); + expect(isValid).to.be.true; + }); + + it('should return true when endpointId is present with banner mediaType', function () { + const isValid = adapter.isBidRequestValid({ + bidId: '123', + params: { endpointId: 'test' }, + mediaTypes: { banner: { sizes: [[300, 250]] } } + }); + expect(isValid).to.be.true; + }); + + it('should return true when placementId is present with video mediaType', function () { + const isValid = adapter.isBidRequestValid({ + bidId: '123', + params: { placementId: 'test' }, + mediaTypes: { video: { playerSize: [[640, 480]] } } + }); + expect(isValid).to.be.true; + }); + + it('should return true when placementId is present with native mediaType', function () { + const isValid = adapter.isBidRequestValid({ + bidId: '123', + params: { placementId: 'test' }, + mediaTypes: { native: { title: { required: true } } } }); expect(isValid).to.be.true; }); }); describe('build requests', function () { - let sandbox; - before(function () { - getGlobal().bidderSettings = { - screencore: { - storageAllowed: true, - }, - }; - sandbox = sinon.createSandbox(); - sandbox.stub(Date, 'now').returns(1000); + it('should build banner request', function () { + const requests = adapter.buildRequests([BID], BIDDER_REQUEST); + expect(requests).to.exist; + expect(requests.method).to.equal('POST'); + expect(requests.url).to.include('screencore.io/prebid'); + expect(requests.data).to.exist; + expect(requests.data.placements).to.be.an('array'); + expect(requests.data.placements[0].bidId).to.equal(BID.bidId); + expect(requests.data.placements[0].adFormat).to.equal(BANNER); }); it('should build video request', function () { - const hashUrl = hashCode(BIDDER_REQUEST.refererInfo.page); - config.setConfig({ - bidderTimeout: 3000, - }); const requests = adapter.buildRequests([VIDEO_BID], BIDDER_REQUEST); - expect(requests).to.have.length(1); - expect(requests[0]).to.deep.equal({ - method: 'POST', - url: `${createDomain()}/prebid/multi/635509f7ff6642d368cb9837`, - data: { - adUnitCode: '63550ad1ff6642d368cba59dh5884270560', - bidFloor: 0.1, - bidId: '2d52001cabd527', - bidderVersion: adapter.version, - bidderRequestId: '12a8ae9ada9c13', - cb: 1000, - gdpr: 1, - gdprConsent: 'consent_string', - usPrivacy: 'consent_string', - gppString: 'gpp_string', - gppSid: [7], - prebidVersion: version, - transactionId: '56e184c6-bde9-497b-b9b9-cf47a61381ee', - bidRequestsCount: 4, - bidderRequestsCount: 3, - bidderWinsCount: 1, - bidderTimeout: 3000, - publisherId: '59ac17c192832d0011283fe3', - url: 'https%3A%2F%2Fwww.greatsite.com', - referrer: 'https://www.somereferrer.com', - res: `${window.top.screen.width}x${window.top.screen.height}`, - schain: VIDEO_BID.schain, - sizes: ['545x307'], - sua: { - 'source': 2, - 'platform': { - 'brand': 'Android', - 'version': ['8', '0', '0'] - }, - 'browsers': [ - { 'brand': 'Not_A Brand', 'version': ['99', '0', '0', '0'] }, - { 'brand': 'Google Chrome', 'version': ['109', '0', '5414', '119'] }, - {'brand': 'Chromium', 'version': ['109', '0', '5414', '119']} - ], - 'mobile': 1, - 'model': 'SM-G955U', - 'bitness': '64', - 'architecture': '' - }, - device: ORTB2_DEVICE, - uniqueDealId: `${hashUrl}_${Date.now().toString()}`, - uqs: getTopWindowQueryParams(), - mediaTypes: { - video: { - api: [2], - context: 'instream', - linearity: 1, - maxduration: 60, - mimes: [ - 'video/mp4', - 'application/javascript' - ], - minduration: 0, - placement: 1, - playerSize: [[545, 307]], - protocols: [2, 3, 5, 6], - startdelay: 0 - } - }, - gpid: '', - cat: [], - contentLang: 'en', - contentData: [], - isStorageAllowed: true, - pagecat: [], - ortb2Imp: VIDEO_BID.ortb2Imp, - ortb2: ORTB2_OBJ, - placementId: "testBanner", - userData: [], - coppa: 0 - } - }); + expect(requests).to.exist; + expect(requests.method).to.equal('POST'); + expect(requests.data.placements).to.be.an('array'); + expect(requests.data.placements[0].bidId).to.equal(VIDEO_BID.bidId); + expect(requests.data.placements[0].adFormat).to.equal(VIDEO); }); - it('should build banner request for each size', function () { - const hashUrl = hashCode(BIDDER_REQUEST.refererInfo.page); - config.setConfig({ - bidderTimeout: 3000 - }); - const requests = adapter.buildRequests([BID], BIDDER_REQUEST); - expect(requests).to.have.length(1); - expect(requests[0]).to.deep.equal({ - method: 'POST', - url: `${createDomain(SUB_DOMAIN)}/prebid/multi/59db6b3b4ffaa70004f45cdc`, - data: { - gdprConsent: 'consent_string', - gdpr: 1, - gppString: 'gpp_string', - gppSid: [7], - usPrivacy: 'consent_string', - transactionId: 'c881914b-a3b5-4ecf-ad9c-1c2f37c6aabf', - bidRequestsCount: 4, - bidderRequestsCount: 3, - bidderWinsCount: 1, - bidderTimeout: 3000, - bidderRequestId: '1fdb5ff1b6eaa7', - sizes: ['300x250', '300x600'], - sua: { - 'source': 2, - 'platform': { - 'brand': 'Android', - 'version': ['8', '0', '0'] - }, - 'browsers': [ - { 'brand': 'Not_A Brand', 'version': ['99', '0', '0', '0'] }, - { 'brand': 'Google Chrome', 'version': ['109', '0', '5414', '119'] }, - {'brand': 'Chromium', 'version': ['109', '0', '5414', '119']} - ], - 'mobile': 1, - 'model': 'SM-G955U', - 'bitness': '64', - 'architecture': '' - }, - device: ORTB2_DEVICE, - url: 'https%3A%2F%2Fwww.greatsite.com', - referrer: 'https://www.somereferrer.com', - cb: 1000, - bidFloor: 0.1, - bidId: '2d52001cabd527', - adUnitCode: 'div-gpt-ad-12345-0', - publisherId: '59ac17c192832d0011283fe3', - uniqueDealId: `${hashUrl}_${Date.now().toString()}`, - bidderVersion: adapter.version, - prebidVersion: version, - schain: BID.schain, - res: `${window.top.screen.width}x${window.top.screen.height}`, - mediaTypes: [BANNER], - gpid: '0123456789', - uqs: getTopWindowQueryParams(), - 'ext.param1': 'loremipsum', - 'ext.param2': 'dolorsitamet', - cat: [], - contentLang: 'en', - contentData: [], - isStorageAllowed: true, - pagecat: [], - ortb2Imp: BID.ortb2Imp, - ortb2: ORTB2_OBJ, - placementId: "testBanner", - userData: [], - coppa: 0 - } - }); + it('should build native request', function () { + const requests = adapter.buildRequests([NATIVE_BID], BIDDER_REQUEST); + expect(requests).to.exist; + expect(requests.data.placements).to.be.an('array'); + expect(requests.data.placements[0].bidId).to.equal(NATIVE_BID.bidId); + expect(requests.data.placements[0].adFormat).to.equal(NATIVE); }); - after(function () { - getGlobal().bidderSettings = {}; - sandbox.restore(); + it('should include gpid when available', function () { + const requests = adapter.buildRequests([BID], BIDDER_REQUEST); + expect(requests.data.placements[0].gpid).to.equal('0123456789'); }); - }); - describe('getUserSyncs', function () { - it('should have valid user sync with iframeEnabled', function () { - const result = adapter.getUserSyncs({ iframeEnabled: true }, [SERVER_RESPONSE]); + it('should include placementId in placement when present', function () { + const requests = adapter.buildRequests([BID], BIDDER_REQUEST); + expect(requests.data.placements[0].placementId).to.equal('testPlacement'); + expect(requests.data.placements[0].type).to.equal('publisher'); + }); - expect(result).to.deep.equal([{ - type: 'iframe', - url: 'https://cs.screencore.io/api/sync/iframe/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=0', - }]); + it('should include endpointId in placement when placementId is not present', function () { + const bidWithEndpoint = { + bidId: '2d52001cabd530', + bidder: 'screencore', + adUnitCode: 'div-gpt-ad-endpoint', + transactionId: 'd881914b-a3b5-4ecf-ad9c-1c2f37c6aabf', + params: { + endpointId: 'testEndpointOnly' + }, + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + } + }; + const requests = adapter.buildRequests([bidWithEndpoint], BIDDER_REQUEST); + expect(requests.data.placements[0].endpointId).to.equal('testEndpointOnly'); + expect(requests.data.placements[0].type).to.equal('network'); }); + }); - it('should have valid user sync with cid on response', function () { + describe('getUserSyncs', function () { + it('should return iframe sync when iframeEnabled', function () { + config.setConfig({ coppa: 0 }); const result = adapter.getUserSyncs({ iframeEnabled: true }, [SERVER_RESPONSE]); - expect(result).to.deep.equal([{ - type: 'iframe', - url: 'https://cs.screencore.io/api/sync/iframe/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=0', - }]); + expect(result).to.be.an('array').with.length(1); + expect(result[0].type).to.equal('iframe'); + expect(result[0].url).to.include('https://cs.screencore.io/iframe?pbjs=1'); }); - it('should have valid user sync with pixelEnabled', function () { + it('should return image sync when pixelEnabled', function () { + config.setConfig({ coppa: 0 }); const result = adapter.getUserSyncs({ pixelEnabled: true }, [SERVER_RESPONSE]); - - expect(result).to.deep.equal([{ - 'url': 'https://cs.screencore.io/api/sync/image/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=0', - 'type': 'image', - }]); + expect(result).to.be.an('array').with.length(1); + expect(result[0].type).to.equal('image'); + expect(result[0].url).to.include('https://cs.screencore.io/image?pbjs=1'); }); - it('should have valid user sync with coppa 1 on response', function () { - config.setConfig({ - coppa: 1, - }); + it('should include coppa parameter', function () { + config.setConfig({ coppa: 1 }); const result = adapter.getUserSyncs({ iframeEnabled: true }, [SERVER_RESPONSE]); - expect(result).to.deep.equal([{ - type: 'iframe', - url: 'https://cs.screencore.io/api/sync/iframe/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=1', - }]); + expect(result[0].url).to.include('coppa=1'); }); - it('should generate url with consent data', function () { + it('should include gdpr consent when provided', function () { + config.setConfig({ coppa: 0 }); const gdprConsent = { gdprApplies: true, - consentString: 'consent_string', + consentString: 'consent_string' }; - const uspConsent = 'usp_string'; + const result = adapter.getUserSyncs({ iframeEnabled: true }, [SERVER_RESPONSE], gdprConsent); + expect(result[0].url).to.include('gdpr=1'); + expect(result[0].url).to.include('gdpr_consent=consent_string'); + }); + + it('should include gpp consent when provided', function () { + config.setConfig({ coppa: 0 }); const gppConsent = { gppString: 'gpp_string', - applicableSections: [7], + applicableSections: [7] }; - - const result = adapter.getUserSyncs({ pixelEnabled: true }, [SERVER_RESPONSE], gdprConsent, uspConsent, gppConsent); - - expect(result).to.deep.equal([{ - 'url': 'https://cs.screencore.io/api/sync/image/?cid=testcid123&gdpr=1&gdpr_consent=consent_string&us_privacy=usp_string&coppa=1&gpp=gpp_string&gpp_sid=7', - 'type': 'image', - }]); + const result = adapter.getUserSyncs({ pixelEnabled: true }, [SERVER_RESPONSE], null, null, gppConsent); + expect(result[0].url).to.include('gpp=gpp_string'); + expect(result[0].url).to.include('gpp_sid=7'); }); }); describe('interpret response', function () { - it('should return empty array when there is no response', function () { - const responses = adapter.interpretResponse(null); - expect(responses).to.be.empty; - }); - - it('should return empty array when there is no ad', function () { - const responses = adapter.interpretResponse({ price: 1, ad: '' }); - expect(responses).to.be.empty; - }); - - it('should return empty array when there is no price', function () { - const responses = adapter.interpretResponse({ price: null, ad: 'great ad' }); + it('should return empty array when body is empty array', function () { + const responses = adapter.interpretResponse({ body: [] }); expect(responses).to.be.empty; }); it('should return an array of interpreted banner responses', function () { const responses = adapter.interpretResponse(SERVER_RESPONSE, REQUEST); expect(responses).to.have.length(1); - expect(responses[0]).to.deep.equal({ - requestId: '2d52001cabd527', - cpm: 0.8, - width: 300, - height: 250, - creativeId: '12610997325162499419', - currency: 'USD', - netRevenue: true, - ttl: 30, - ad: '', - meta: { - advertiserDomains: ['securepubads.g.doubleclick.net'], - }, - }); - }); - - it('should get meta from response metaData', function () { - const serverResponse = utils.deepClone(SERVER_RESPONSE); - serverResponse.body.results[0].metaData = { - advertiserDomains: ['screencore.io'], - agencyName: 'Agency Name', - }; - const responses = adapter.interpretResponse(serverResponse, REQUEST); - expect(responses[0].meta).to.deep.equal({ - advertiserDomains: ['screencore.io'], - agencyName: 'Agency Name', - }); + expect(responses[0].requestId).to.equal('2d52001cabd527'); + expect(responses[0].cpm).to.equal(0.8); + expect(responses[0].width).to.equal(300); + expect(responses[0].height).to.equal(250); + expect(responses[0].creativeId).to.equal('12610997325162499419'); + expect(responses[0].currency).to.equal('USD'); + expect(responses[0].ttl).to.equal(30); + expect(responses[0].ad).to.equal(''); + expect(responses[0].meta.advertiserDomains).to.deep.equal(['securepubads.g.doubleclick.net']); }); it('should return an array of interpreted video responses', function () { const responses = adapter.interpretResponse(VIDEO_SERVER_RESPONSE, REQUEST); expect(responses).to.have.length(1); - expect(responses[0]).to.deep.equal({ - requestId: '2d52001cabd527', - cpm: 2, - width: 545, - height: 307, - mediaType: 'video', - creativeId: '12610997325162499419', - currency: 'USD', - netRevenue: true, - ttl: 60, - vastXml: '', - meta: { - advertiserDomains: ['screencore.io'], - }, - }); - }); - - it('should take default TTL', function () { - const serverResponse = utils.deepClone(SERVER_RESPONSE); - delete serverResponse.body.results[0].exp; - const responses = adapter.interpretResponse(serverResponse, REQUEST); - expect(responses).to.have.length(1); - expect(responses[0].ttl).to.equal(300); + expect(responses[0].requestId).to.equal('2d52001cabd528'); + expect(responses[0].cpm).to.equal(2); + expect(responses[0].width).to.equal(545); + expect(responses[0].height).to.equal(307); + expect(responses[0].mediaType).to.equal('video'); + expect(responses[0].vastXml).to.equal(''); }); }); - describe('user id system', function () { - TEST_ID_SYSTEMS.forEach((idSystemProvider) => { - const id = Date.now().toString(); - const bid = utils.deepClone(BID); - - const userId = (function () { - switch (idSystemProvider) { - case 'lipb': - return { lipbid: id }; - case 'id5id': - return { uid: id }; - default: - return id; - } - })(); - - bid.userId = { - [idSystemProvider]: userId, - }; - - it(`should include 'uid.${idSystemProvider}' in request params`, function () { - const requests = adapter.buildRequests([bid], BIDDER_REQUEST); - expect(requests[0].data[`uid.${idSystemProvider}`]).to.equal(id); + describe('createDomain test', function () { + it('should return correct domain for US timezone', function () { + const stub = sinon.stub(Intl, 'DateTimeFormat').returns({ + resolvedOptions: () => ({ timeZone: 'America/New_York' }) }); - }); - // testing bid.userIdAsEids handling - it("should include user ids from bid.userIdAsEids (length=1)", function() { - const bid = utils.deepClone(BID); - bid.userIdAsEids = [ - { - "source": "audigent.com", - "uids": [{"id": "fakeidi6j6dlc6e"}] - } - ] - const requests = adapter.buildRequests([bid], BIDDER_REQUEST); - expect(requests[0].data['uid.audigent.com']).to.equal("fakeidi6j6dlc6e"); - }) - it("should include user ids from bid.userIdAsEids (length=2)", function() { - const bid = utils.deepClone(BID); - bid.userIdAsEids = [ - { - "source": "audigent.com", - "uids": [{"id": "fakeidi6j6dlc6e"}] - }, - { - "source": "rwdcntrl.net", - "uids": [{"id": "fakeid6f35197d5c", "atype": 1}] - } - ] - const requests = adapter.buildRequests([bid], BIDDER_REQUEST); - expect(requests[0].data['uid.audigent.com']).to.equal("fakeidi6j6dlc6e"); - expect(requests[0].data['uid.rwdcntrl.net']).to.equal("fakeid6f35197d5c"); - }) - // testing user.ext.eid handling - it("should include user ids from user.ext.eid (length=1)", function() { - const bid = utils.deepClone(BID); - bid.user = { - ext: { - eids: [ - { - "source": "pubcid.org", - "uids": [{"id": "fakeid8888dlc6e"}] - } - ] - } - } - const requests = adapter.buildRequests([bid], BIDDER_REQUEST); - expect(requests[0].data['uid.pubcid.org']).to.equal("fakeid8888dlc6e"); - }) - it("should include user ids from user.ext.eid (length=2)", function() { - const bid = utils.deepClone(BID); - bid.user = { - ext: { - eids: [ - { - "source": "pubcid.org", - "uids": [{"id": "fakeid8888dlc6e"}] - }, - { - "source": "adserver.org", - "uids": [{"id": "fakeid495ff1"}] - } - ] - } - } - const requests = adapter.buildRequests([bid], BIDDER_REQUEST); - expect(requests[0].data['uid.pubcid.org']).to.equal("fakeid8888dlc6e"); - expect(requests[0].data['uid.adserver.org']).to.equal("fakeid495ff1"); - }) - }); - - describe('alternate param names extractors', function () { - it('should return undefined when param not supported', function () { - const cid = extractCID({ 'c_id': '1' }); - const pid = extractPID({ 'p_id': '1' }); - const subDomain = extractSubDomain({ 'sub_domain': 'prebid' }); - expect(cid).to.be.undefined; - expect(pid).to.be.undefined; - expect(subDomain).to.be.undefined; - }); - it('should return value when param supported', function () { - const cid = extractCID({ 'cID': '1' }); - const pid = extractPID({ 'Pid': '2' }); - const subDomain = extractSubDomain({ 'subDOMAIN': 'prebid' }); - expect(cid).to.be.equal('1'); - expect(pid).to.be.equal('2'); - expect(subDomain).to.be.equal('prebid'); - }); - }); - - describe('unique deal id', function () { - before(function () { - getGlobal().bidderSettings = { - screencore: { - storageAllowed: true, - }, - }; - }); - after(function () { - getGlobal().bidderSettings = {}; - }); - const key = 'myKey'; - let uniqueDealId; - beforeEach(() => { - uniqueDealId = getUniqueDealId(storage, key, 0); - }); + const domain = createDomain(); + expect(domain).to.equal('https://taqus.screencore.io'); - it('should get current unique deal id', function (done) { - // waiting some time so `now` will become past - setTimeout(() => { - const current = getUniqueDealId(storage, key); - expect(current).to.be.equal(uniqueDealId); - done(); - }, 200); - }); - - it('should get new unique deal id on expiration', function (done) { - setTimeout(() => { - const current = getUniqueDealId(storage, key, 100); - expect(current).to.not.be.equal(uniqueDealId); - done(); - }, 200); + stub.restore(); }); - }); - describe('storage utils', function () { - before(function () { - getGlobal().bidderSettings = { - screencore: { - storageAllowed: true, - }, - }; - }); - after(function () { - getGlobal().bidderSettings = {}; - }); - it('should get value from storage with create param', function () { - const now = Date.now(); - const clock = useFakeTimers({ - shouldAdvanceTime: true, - now, + it('should return correct domain for EU timezone', function () { + const stub = sinon.stub(Intl, 'DateTimeFormat').returns({ + resolvedOptions: () => ({ timeZone: 'Europe/London' }) }); - setStorageItem(storage, 'myKey', 2020); - const { value, created } = getStorageItem(storage, 'myKey'); - expect(created).to.be.equal(now); - expect(value).to.be.equal(2020); - expect(typeof value).to.be.equal('number'); - expect(typeof created).to.be.equal('number'); - clock.restore(); - }); - - it('should get external stored value', function () { - const value = 'superman'; - window.localStorage.setItem('myExternalKey', value); - const item = getStorageItem(storage, 'myExternalKey'); - expect(item).to.be.equal(value); - }); - it('should parse JSON value', function () { - const data = JSON.stringify({ event: 'send' }); - const { event } = tryParseJSON(data); - expect(event).to.be.equal('send'); - }); + const domain = createDomain(); + expect(domain).to.equal('https://taqeu.screencore.io'); - it('should get original value on parse fail', function () { - const value = 21; - const parsed = tryParseJSON(value); - expect(typeof parsed).to.be.equal('number'); - expect(parsed).to.be.equal(value); + stub.restore(); }); - }); - describe('createDomain test', function () { - it('should return correct domain', function () { + it('should return correct domain for APAC timezone', function () { const stub = sinon.stub(Intl, 'DateTimeFormat').returns({ - resolvedOptions: () => ({ timeZone: 'America/New_York' }), + resolvedOptions: () => ({ timeZone: 'Asia/Tokyo' }) }); - const responses = createDomain(); - expect(responses).to.be.equal('https://taqus.screencore.io'); + const domain = createDomain(); + expect(domain).to.equal('https://taqapac.screencore.io'); stub.restore(); }); From b35fe2c14defff89fc7483b9e99b40f7d58a7280 Mon Sep 17 00:00:00 2001 From: Andrii Pukh <152202940+apukh-magnite@users.noreply.github.com> Date: Fri, 21 Nov 2025 18:57:53 +0200 Subject: [PATCH 012/248] Rubicon Bid Adapter: Remove PAAPI and Privacy Sandbox support (#14197) Co-authored-by: Patrick McCann --- modules/rubiconBidAdapter.js | 16 +------ test/spec/modules/rubiconBidAdapter_spec.js | 46 --------------------- 2 files changed, 2 insertions(+), 60 deletions(-) diff --git a/modules/rubiconBidAdapter.js b/modules/rubiconBidAdapter.js index 6543a6a88e1..76e973c7527 100644 --- a/modules/rubiconBidAdapter.js +++ b/modules/rubiconBidAdapter.js @@ -427,7 +427,6 @@ export const spec = { 'x_source.tid', 'l_pb_bid_id', 'p_screen_res', - 'o_ae', 'o_cdep', 'rp_floor', 'rp_secure', @@ -545,9 +544,6 @@ export const spec = { data['ppuid'] = configUserId; } - if (bidRequest?.ortb2Imp?.ext?.ae) { - data['o_ae'] = 1; - } // If the bid request contains a 'mobile' property under 'ortb2.site', add it to 'data' as 'p_site.mobile'. if (typeof bidRequest?.ortb2?.site?.mobile === 'number') { data['p_site.mobile'] = bidRequest.ortb2.site.mobile @@ -655,7 +651,7 @@ export const spec = { * @param {*} responseObj * @param {BidRequest|Object.} request - if request was SRA the bidRequest argument will be a keyed BidRequest array object, * non-SRA responses return a plain BidRequest object - * @return {{fledgeAuctionConfigs: *, bids: *}} An array of bids which + * @return {*} An array of bids */ interpretResponse: function (responseObj, request) { responseObj = responseObj.body; @@ -760,15 +756,7 @@ export const spec = { return (adB.cpm || 0.0) - (adA.cpm || 0.0); }); - const fledgeAuctionConfigs = responseObj.component_auction_config?.map(config => { - return { config, bidId: config.bidId } - }); - - if (fledgeAuctionConfigs) { - return { bids, paapi: fledgeAuctionConfigs }; - } else { - return bids; - } + return bids; }, getUserSyncs: function (syncOptions, responses, gdprConsent, uspConsent, gppConsent) { if (syncOptions.iframeEnabled) { diff --git a/test/spec/modules/rubiconBidAdapter_spec.js b/test/spec/modules/rubiconBidAdapter_spec.js index b96a5e4fd4f..a0a9c8ba194 100644 --- a/test/spec/modules/rubiconBidAdapter_spec.js +++ b/test/spec/modules/rubiconBidAdapter_spec.js @@ -2890,15 +2890,6 @@ describe('the rubicon adapter', function () { expect(slotParams.kw).to.equal('a,b,c'); }); - it('should pass along o_ae param when fledge is enabled', () => { - const localBidRequest = Object.assign({}, bidderRequest.bids[0]); - localBidRequest.ortb2Imp.ext.ae = true; - - const slotParams = spec.createSlotParams(localBidRequest, bidderRequest); - - expect(slotParams['o_ae']).to.equal(1) - }); - it('should pass along desired segtaxes, but not non-desired ones', () => { const localBidderRequest = Object.assign({}, bidderRequest); localBidderRequest.refererInfo = {domain: 'bob'}; @@ -3816,43 +3807,6 @@ describe('the rubicon adapter', function () { expect(bids).to.be.lengthOf(0); }); - it('Should support recieving an auctionConfig and pass it along to Prebid', function () { - const response = { - 'status': 'ok', - 'account_id': 14062, - 'site_id': 70608, - 'zone_id': 530022, - 'size_id': 15, - 'alt_size_ids': [ - 43 - ], - 'tracking': '', - 'inventory': {}, - 'ads': [{ - 'status': 'ok', - 'cpm': 0, - 'size_id': 15 - }], - 'component_auction_config': [{ - 'random': 'value', - 'bidId': '5432' - }, - { - 'random': 'string', - 'bidId': '6789' - }] - }; - - const {bids, paapi} = spec.interpretResponse({body: response}, { - bidRequest: bidderRequest.bids[0] - }); - - expect(bids).to.be.lengthOf(1); - expect(paapi[0].bidId).to.equal('5432'); - expect(paapi[0].config.random).to.equal('value'); - expect(paapi[1].bidId).to.equal('6789'); - }); - it('should handle an error', function () { const response = { 'status': 'ok', From 48001e2b97d0d495c5993b88a5d626d52d2c55ac Mon Sep 17 00:00:00 2001 From: nico piderman Date: Mon, 24 Nov 2025 13:39:42 +0100 Subject: [PATCH 013/248] fix bug in AmxBidAdapter userSync settings handling (#14200) A bitwise `&` was being used instead of the intended `|`. --- modules/amxBidAdapter.js | 2 +- test/spec/modules/amxBidAdapter_spec.js | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/modules/amxBidAdapter.js b/modules/amxBidAdapter.js index b1b22ec19f9..ef89ecdd40f 100644 --- a/modules/amxBidAdapter.js +++ b/modules/amxBidAdapter.js @@ -251,7 +251,7 @@ function getSyncSettings() { const all = isSyncEnabled(syncConfig.filterSettings, 'all'); if (all) { - settings.t = SYNC_IMAGE & SYNC_IFRAME; + settings.t = SYNC_IMAGE | SYNC_IFRAME; return settings; } diff --git a/test/spec/modules/amxBidAdapter_spec.js b/test/spec/modules/amxBidAdapter_spec.js index d1e88b35a18..1328a28e438 100644 --- a/test/spec/modules/amxBidAdapter_spec.js +++ b/test/spec/modules/amxBidAdapter_spec.js @@ -401,6 +401,23 @@ describe('AmxBidAdapter', () => { }, { ...base, t: 3 }, ], + [ + { + all: { + bidders: ['amx'], + }, + }, + { ...base, t: 3 }, + ], + [ + { + all: { + bidders: '*', + filter: 'include', + }, + }, + { ...base, t: 3 }, + ], [ { image: { From 4ee6fb67bd27445ee2680f01247b1399638ac24d Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Mon, 24 Nov 2025 17:33:05 +0000 Subject: [PATCH 014/248] Prebid 10.18.0 release --- metadata/modules/33acrossBidAdapter.json | 2 +- metadata/modules/33acrossIdSystem.json | 2 +- metadata/modules/acuityadsBidAdapter.json | 2 +- metadata/modules/adagioBidAdapter.json | 2 +- metadata/modules/adagioRtdProvider.json | 2 +- metadata/modules/adbroBidAdapter.json | 2 +- metadata/modules/addefendBidAdapter.json | 2 +- metadata/modules/adfBidAdapter.json | 2 +- metadata/modules/adfusionBidAdapter.json | 2 +- metadata/modules/adheseBidAdapter.json | 2 +- metadata/modules/adipoloBidAdapter.json | 2 +- metadata/modules/adkernelAdnBidAdapter.json | 2 +- metadata/modules/adkernelBidAdapter.json | 8 +- metadata/modules/admaticBidAdapter.json | 4 +- metadata/modules/admixerBidAdapter.json | 2 +- metadata/modules/admixerIdSystem.json | 2 +- metadata/modules/adnowBidAdapter.json | 2 +- metadata/modules/adnuntiusBidAdapter.json | 2 +- metadata/modules/adnuntiusRtdProvider.json | 2 +- metadata/modules/adotBidAdapter.json | 2 +- metadata/modules/adponeBidAdapter.json | 2 +- metadata/modules/adqueryBidAdapter.json | 2 +- metadata/modules/adqueryIdSystem.json | 2 +- metadata/modules/adrinoBidAdapter.json | 2 +- .../modules/ads_interactiveBidAdapter.json | 2 +- metadata/modules/adtargetBidAdapter.json | 2 +- metadata/modules/adtelligentBidAdapter.json | 6 +- metadata/modules/adtelligentIdSystem.json | 2 +- metadata/modules/aduptechBidAdapter.json | 2 +- metadata/modules/adyoulikeBidAdapter.json | 2 +- metadata/modules/airgridRtdProvider.json | 2 +- metadata/modules/alkimiBidAdapter.json | 2 +- metadata/modules/amxBidAdapter.json | 2 +- metadata/modules/amxIdSystem.json | 2 +- metadata/modules/aniviewBidAdapter.json | 2 +- metadata/modules/anonymisedRtdProvider.json | 2 +- metadata/modules/appStockSSPBidAdapter.json | 2 +- metadata/modules/appierBidAdapter.json | 2 +- metadata/modules/appnexusBidAdapter.json | 10 +- metadata/modules/appushBidAdapter.json | 2 +- metadata/modules/apstreamBidAdapter.json | 2 +- metadata/modules/audiencerunBidAdapter.json | 2 +- metadata/modules/axisBidAdapter.json | 2 +- metadata/modules/azerionedgeRtdProvider.json | 2 +- metadata/modules/beachfrontBidAdapter.json | 2 +- metadata/modules/beopBidAdapter.json | 2 +- metadata/modules/betweenBidAdapter.json | 2 +- metadata/modules/bidfuseBidAdapter.json | 2 +- metadata/modules/bidmaticBidAdapter.json | 2 +- metadata/modules/bidtheatreBidAdapter.json | 2 +- metadata/modules/bliinkBidAdapter.json | 2 +- metadata/modules/blockthroughBidAdapter.json | 320 +----------------- metadata/modules/blueBidAdapter.json | 2 +- metadata/modules/bmsBidAdapter.json | 2 +- metadata/modules/boldwinBidAdapter.json | 2 +- metadata/modules/bridBidAdapter.json | 2 +- metadata/modules/browsiBidAdapter.json | 2 +- metadata/modules/bucksenseBidAdapter.json | 2 +- metadata/modules/carodaBidAdapter.json | 2 +- metadata/modules/categoryTranslation.json | 2 +- metadata/modules/ceeIdSystem.json | 2 +- metadata/modules/chromeAiRtdProvider.json | 2 +- metadata/modules/compassBidAdapter.json | 2 +- metadata/modules/conceptxBidAdapter.json | 2 +- metadata/modules/connatixBidAdapter.json | 2 +- metadata/modules/connectIdSystem.json | 2 +- metadata/modules/connectadBidAdapter.json | 2 +- .../modules/contentexchangeBidAdapter.json | 4 +- metadata/modules/conversantBidAdapter.json | 2 +- metadata/modules/copper6sspBidAdapter.json | 2 +- metadata/modules/cpmstarBidAdapter.json | 2 +- metadata/modules/criteoBidAdapter.json | 2 +- metadata/modules/criteoIdSystem.json | 2 +- metadata/modules/cwireBidAdapter.json | 2 +- metadata/modules/czechAdIdSystem.json | 2 +- metadata/modules/dailymotionBidAdapter.json | 2 +- metadata/modules/debugging.json | 2 +- metadata/modules/deepintentBidAdapter.json | 2 +- metadata/modules/defineMediaBidAdapter.json | 2 +- metadata/modules/deltaprojectsBidAdapter.json | 2 +- metadata/modules/dianomiBidAdapter.json | 2 +- metadata/modules/digitalMatterBidAdapter.json | 2 +- metadata/modules/distroscaleBidAdapter.json | 2 +- .../modules/docereeAdManagerBidAdapter.json | 2 +- metadata/modules/docereeBidAdapter.json | 2 +- metadata/modules/dspxBidAdapter.json | 2 +- metadata/modules/e_volutionBidAdapter.json | 4 +- metadata/modules/edge226BidAdapter.json | 2 +- metadata/modules/empowerBidAdapter.json | 2 +- metadata/modules/equativBidAdapter.json | 2 +- metadata/modules/eskimiBidAdapter.json | 2 +- metadata/modules/etargetBidAdapter.json | 2 +- metadata/modules/euidIdSystem.json | 2 +- metadata/modules/exadsBidAdapter.json | 2 +- metadata/modules/feedadBidAdapter.json | 2 +- metadata/modules/fwsspBidAdapter.json | 2 +- metadata/modules/gamoshiBidAdapter.json | 2 +- metadata/modules/gemiusIdSystem.json | 2 +- metadata/modules/glomexBidAdapter.json | 2 +- metadata/modules/goldbachBidAdapter.json | 2 +- metadata/modules/gridBidAdapter.json | 2 +- metadata/modules/gumgumBidAdapter.json | 2 +- metadata/modules/hadronIdSystem.json | 2 +- metadata/modules/hadronRtdProvider.json | 2 +- metadata/modules/holidBidAdapter.json | 2 +- metadata/modules/hybridBidAdapter.json | 2 +- metadata/modules/id5IdSystem.json | 2 +- metadata/modules/identityLinkIdSystem.json | 2 +- metadata/modules/illuminBidAdapter.json | 2 +- metadata/modules/impactifyBidAdapter.json | 2 +- .../modules/improvedigitalBidAdapter.json | 2 +- metadata/modules/inmobiBidAdapter.json | 2 +- metadata/modules/insticatorBidAdapter.json | 2 +- metadata/modules/intentIqIdSystem.json | 2 +- metadata/modules/invibesBidAdapter.json | 2 +- metadata/modules/ipromBidAdapter.json | 2 +- metadata/modules/ixBidAdapter.json | 2 +- metadata/modules/justIdSystem.json | 2 +- metadata/modules/justpremiumBidAdapter.json | 2 +- metadata/modules/jwplayerBidAdapter.json | 2 +- metadata/modules/kargoBidAdapter.json | 2 +- metadata/modules/kueezRtbBidAdapter.json | 2 +- .../modules/limelightDigitalBidAdapter.json | 4 +- metadata/modules/liveIntentIdSystem.json | 2 +- metadata/modules/liveIntentRtdProvider.json | 2 +- metadata/modules/livewrappedBidAdapter.json | 2 +- metadata/modules/loopmeBidAdapter.json | 2 +- metadata/modules/lotamePanoramaIdSystem.json | 2 +- metadata/modules/luponmediaBidAdapter.json | 2 +- metadata/modules/madvertiseBidAdapter.json | 2 +- metadata/modules/marsmediaBidAdapter.json | 2 +- .../modules/mediaConsortiumBidAdapter.json | 2 +- metadata/modules/mediaforceBidAdapter.json | 2 +- metadata/modules/mediafuseBidAdapter.json | 2 +- metadata/modules/mediagoBidAdapter.json | 2 +- metadata/modules/mediakeysBidAdapter.json | 2 +- metadata/modules/medianetBidAdapter.json | 4 +- metadata/modules/mediasquareBidAdapter.json | 2 +- metadata/modules/mgidBidAdapter.json | 2 +- metadata/modules/mgidRtdProvider.json | 2 +- metadata/modules/mgidXBidAdapter.json | 2 +- metadata/modules/minutemediaBidAdapter.json | 2 +- metadata/modules/missenaBidAdapter.json | 2 +- metadata/modules/mobianRtdProvider.json | 2 +- metadata/modules/mobkoiBidAdapter.json | 2 +- metadata/modules/mobkoiIdSystem.json | 2 +- metadata/modules/msftBidAdapter.json | 2 +- metadata/modules/nativeryBidAdapter.json | 2 +- metadata/modules/nativoBidAdapter.json | 2 +- metadata/modules/newspassidBidAdapter.json | 2 +- .../modules/nextMillenniumBidAdapter.json | 2 +- metadata/modules/nextrollBidAdapter.json | 2 +- metadata/modules/nexx360BidAdapter.json | 14 +- metadata/modules/nobidBidAdapter.json | 2 +- metadata/modules/nodalsAiRtdProvider.json | 2 +- metadata/modules/novatiqIdSystem.json | 2 +- metadata/modules/oguryBidAdapter.json | 2 +- metadata/modules/omnidexBidAdapter.json | 2 +- metadata/modules/omsBidAdapter.json | 2 +- metadata/modules/onetagBidAdapter.json | 2 +- metadata/modules/openwebBidAdapter.json | 2 +- metadata/modules/openxBidAdapter.json | 2 +- metadata/modules/operaadsBidAdapter.json | 2 +- metadata/modules/optidigitalBidAdapter.json | 2 +- metadata/modules/optoutBidAdapter.json | 2 +- metadata/modules/orbidderBidAdapter.json | 2 +- metadata/modules/outbrainBidAdapter.json | 2 +- metadata/modules/ozoneBidAdapter.json | 2 +- metadata/modules/pairIdSystem.json | 2 +- metadata/modules/performaxBidAdapter.json | 2 +- .../permutiveIdentityManagerIdSystem.json | 2 +- metadata/modules/permutiveRtdProvider.json | 2 +- metadata/modules/pixfutureBidAdapter.json | 2 +- metadata/modules/playdigoBidAdapter.json | 2 +- metadata/modules/prebid-core.json | 4 +- metadata/modules/precisoBidAdapter.json | 2 +- metadata/modules/prismaBidAdapter.json | 2 +- metadata/modules/programmaticXBidAdapter.json | 2 +- metadata/modules/proxistoreBidAdapter.json | 2 +- metadata/modules/publinkIdSystem.json | 2 +- metadata/modules/pubmaticBidAdapter.json | 2 +- metadata/modules/pubmaticIdSystem.json | 2 +- metadata/modules/pulsepointBidAdapter.json | 2 +- metadata/modules/quantcastBidAdapter.json | 2 +- metadata/modules/quantcastIdSystem.json | 2 +- metadata/modules/r2b2BidAdapter.json | 2 +- metadata/modules/readpeakBidAdapter.json | 2 +- metadata/modules/relayBidAdapter.json | 2 +- .../modules/relevantdigitalBidAdapter.json | 2 +- metadata/modules/resetdigitalBidAdapter.json | 2 +- metadata/modules/responsiveAdsBidAdapter.json | 2 +- metadata/modules/revcontentBidAdapter.json | 2 +- metadata/modules/rhythmoneBidAdapter.json | 2 +- metadata/modules/richaudienceBidAdapter.json | 2 +- metadata/modules/riseBidAdapter.json | 4 +- metadata/modules/rixengineBidAdapter.json | 2 +- metadata/modules/rtbhouseBidAdapter.json | 2 +- metadata/modules/rubiconBidAdapter.json | 2 +- metadata/modules/scaliburBidAdapter.json | 2 +- metadata/modules/screencoreBidAdapter.json | 2 +- .../modules/seedingAllianceBidAdapter.json | 2 +- metadata/modules/seedtagBidAdapter.json | 2 +- metadata/modules/semantiqRtdProvider.json | 2 +- metadata/modules/setupadBidAdapter.json | 2 +- metadata/modules/sevioBidAdapter.json | 2 +- metadata/modules/sharedIdSystem.json | 2 +- metadata/modules/sharethroughBidAdapter.json | 2 +- metadata/modules/showheroes-bsBidAdapter.json | 2 +- metadata/modules/silvermobBidAdapter.json | 2 +- metadata/modules/sirdataRtdProvider.json | 2 +- metadata/modules/smaatoBidAdapter.json | 2 +- metadata/modules/smartadserverBidAdapter.json | 2 +- metadata/modules/smartxBidAdapter.json | 2 +- metadata/modules/smartyadsBidAdapter.json | 2 +- metadata/modules/smilewantedBidAdapter.json | 2 +- metadata/modules/snigelBidAdapter.json | 2 +- metadata/modules/sonaradsBidAdapter.json | 2 +- metadata/modules/sonobiBidAdapter.json | 2 +- metadata/modules/sovrnBidAdapter.json | 2 +- metadata/modules/sparteoBidAdapter.json | 2 +- metadata/modules/ssmasBidAdapter.json | 2 +- metadata/modules/sspBCBidAdapter.json | 2 +- metadata/modules/stackadaptBidAdapter.json | 2 +- metadata/modules/startioBidAdapter.json | 2 +- metadata/modules/stroeerCoreBidAdapter.json | 2 +- metadata/modules/stvBidAdapter.json | 2 +- metadata/modules/sublimeBidAdapter.json | 2 +- metadata/modules/taboolaBidAdapter.json | 2 +- metadata/modules/taboolaIdSystem.json | 2 +- metadata/modules/tadvertisingBidAdapter.json | 2 +- metadata/modules/tappxBidAdapter.json | 2 +- metadata/modules/targetVideoBidAdapter.json | 2 +- metadata/modules/teadsBidAdapter.json | 2 +- metadata/modules/teadsIdSystem.json | 2 +- metadata/modules/tealBidAdapter.json | 2 +- metadata/modules/tncIdSystem.json | 2 +- metadata/modules/topicsFpdModule.json | 2 +- metadata/modules/toponBidAdapter.json | 2 +- metadata/modules/tripleliftBidAdapter.json | 2 +- metadata/modules/ttdBidAdapter.json | 2 +- metadata/modules/twistDigitalBidAdapter.json | 2 +- metadata/modules/underdogmediaBidAdapter.json | 2 +- metadata/modules/undertoneBidAdapter.json | 2 +- metadata/modules/unifiedIdSystem.json | 2 +- metadata/modules/unrulyBidAdapter.json | 2 +- metadata/modules/userId.json | 2 +- metadata/modules/utiqIdSystem.json | 2 +- metadata/modules/utiqMtpIdSystem.json | 2 +- metadata/modules/validationFpdModule.json | 2 +- metadata/modules/valuadBidAdapter.json | 2 +- metadata/modules/vidazooBidAdapter.json | 2 +- metadata/modules/vidoomyBidAdapter.json | 2 +- metadata/modules/viouslyBidAdapter.json | 2 +- metadata/modules/visxBidAdapter.json | 2 +- metadata/modules/vlybyBidAdapter.json | 2 +- metadata/modules/voxBidAdapter.json | 2 +- metadata/modules/vrtcalBidAdapter.json | 2 +- metadata/modules/vuukleBidAdapter.json | 2 +- metadata/modules/weboramaRtdProvider.json | 2 +- metadata/modules/welectBidAdapter.json | 2 +- metadata/modules/yahooAdsBidAdapter.json | 2 +- metadata/modules/yieldlabBidAdapter.json | 2 +- metadata/modules/yieldloveBidAdapter.json | 2 +- metadata/modules/yieldmoBidAdapter.json | 2 +- metadata/modules/zeotapIdPlusIdSystem.json | 2 +- metadata/modules/zeta_globalBidAdapter.json | 2 +- .../modules/zeta_global_sspBidAdapter.json | 2 +- package-lock.json | 10 +- package.json | 2 +- 269 files changed, 296 insertions(+), 612 deletions(-) diff --git a/metadata/modules/33acrossBidAdapter.json b/metadata/modules/33acrossBidAdapter.json index d532327e06e..eeeb3d3c81b 100644 --- a/metadata/modules/33acrossBidAdapter.json +++ b/metadata/modules/33acrossBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2025-11-19T20:51:08.096Z", + "timestamp": "2025-11-24T17:31:25.747Z", "disclosures": [] } }, diff --git a/metadata/modules/33acrossIdSystem.json b/metadata/modules/33acrossIdSystem.json index 50f8e7b1997..9f5f58bbbc4 100644 --- a/metadata/modules/33acrossIdSystem.json +++ b/metadata/modules/33acrossIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2025-11-19T20:51:08.188Z", + "timestamp": "2025-11-24T17:31:25.855Z", "disclosures": [] } }, diff --git a/metadata/modules/acuityadsBidAdapter.json b/metadata/modules/acuityadsBidAdapter.json index 39f13157d79..cc00c0265f0 100644 --- a/metadata/modules/acuityadsBidAdapter.json +++ b/metadata/modules/acuityadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.acuityads.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:08.191Z", + "timestamp": "2025-11-24T17:31:25.858Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioBidAdapter.json b/metadata/modules/adagioBidAdapter.json index 4ef5ccfc5ae..79de0aadda1 100644 --- a/metadata/modules/adagioBidAdapter.json +++ b/metadata/modules/adagioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:08.247Z", + "timestamp": "2025-11-24T17:31:25.897Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioRtdProvider.json b/metadata/modules/adagioRtdProvider.json index 5d130b541fb..d998e2df378 100644 --- a/metadata/modules/adagioRtdProvider.json +++ b/metadata/modules/adagioRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:08.295Z", + "timestamp": "2025-11-24T17:31:25.969Z", "disclosures": [] } }, diff --git a/metadata/modules/adbroBidAdapter.json b/metadata/modules/adbroBidAdapter.json index ff4d88380d3..1dd5046c372 100644 --- a/metadata/modules/adbroBidAdapter.json +++ b/metadata/modules/adbroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tag.adbro.me/privacy/devicestorage.json": { - "timestamp": "2025-11-19T20:51:08.295Z", + "timestamp": "2025-11-24T17:31:25.969Z", "disclosures": [] } }, diff --git a/metadata/modules/addefendBidAdapter.json b/metadata/modules/addefendBidAdapter.json index 5732298509a..5c5fce69666 100644 --- a/metadata/modules/addefendBidAdapter.json +++ b/metadata/modules/addefendBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.addefend.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:08.584Z", + "timestamp": "2025-11-24T17:31:26.249Z", "disclosures": [] } }, diff --git a/metadata/modules/adfBidAdapter.json b/metadata/modules/adfBidAdapter.json index e18260a2a5d..a5f6794596d 100644 --- a/metadata/modules/adfBidAdapter.json +++ b/metadata/modules/adfBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://site.adform.com/assets/devicestorage.json": { - "timestamp": "2025-11-19T20:51:09.232Z", + "timestamp": "2025-11-24T17:31:26.910Z", "disclosures": [] } }, diff --git a/metadata/modules/adfusionBidAdapter.json b/metadata/modules/adfusionBidAdapter.json index 00a4a50710f..4f9513eb0e4 100644 --- a/metadata/modules/adfusionBidAdapter.json +++ b/metadata/modules/adfusionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spicyrtb.com/static/iab-disclosure.json": { - "timestamp": "2025-11-19T20:51:09.232Z", + "timestamp": "2025-11-24T17:31:26.911Z", "disclosures": [] } }, diff --git a/metadata/modules/adheseBidAdapter.json b/metadata/modules/adheseBidAdapter.json index 8b35bf5d541..17e905ae542 100644 --- a/metadata/modules/adheseBidAdapter.json +++ b/metadata/modules/adheseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adhese.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:09.608Z", + "timestamp": "2025-11-24T17:31:27.266Z", "disclosures": [] } }, diff --git a/metadata/modules/adipoloBidAdapter.json b/metadata/modules/adipoloBidAdapter.json index a106bd54e64..3b3629472be 100644 --- a/metadata/modules/adipoloBidAdapter.json +++ b/metadata/modules/adipoloBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adipolo.com/device_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:09.872Z", + "timestamp": "2025-11-24T17:31:27.539Z", "disclosures": [] } }, diff --git a/metadata/modules/adkernelAdnBidAdapter.json b/metadata/modules/adkernelAdnBidAdapter.json index 2e3a6eba0b5..b06ce5af653 100644 --- a/metadata/modules/adkernelAdnBidAdapter.json +++ b/metadata/modules/adkernelAdnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:10.019Z", + "timestamp": "2025-11-24T17:31:27.666Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", diff --git a/metadata/modules/adkernelBidAdapter.json b/metadata/modules/adkernelBidAdapter.json index e073819755d..4edd25baeb6 100644 --- a/metadata/modules/adkernelBidAdapter.json +++ b/metadata/modules/adkernelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:10.063Z", + "timestamp": "2025-11-24T17:31:27.717Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", @@ -17,15 +17,15 @@ ] }, "https://data.converge-digital.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:10.063Z", + "timestamp": "2025-11-24T17:31:27.717Z", "disclosures": [] }, "https://spinx.biz/tcf-spinx.json": { - "timestamp": "2025-11-19T20:51:10.114Z", + "timestamp": "2025-11-24T17:31:27.760Z", "disclosures": [] }, "https://gdpr.memob.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:10.823Z", + "timestamp": "2025-11-24T17:31:28.483Z", "disclosures": [] } }, diff --git a/metadata/modules/admaticBidAdapter.json b/metadata/modules/admaticBidAdapter.json index 49230562aff..30753d6facb 100644 --- a/metadata/modules/admaticBidAdapter.json +++ b/metadata/modules/admaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.admatic.de/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2025-11-19T20:51:11.408Z", + "timestamp": "2025-11-24T17:31:28.964Z", "disclosures": [ { "identifier": "px_pbjs", @@ -12,7 +12,7 @@ ] }, "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:10.948Z", + "timestamp": "2025-11-24T17:31:28.612Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/admixerBidAdapter.json b/metadata/modules/admixerBidAdapter.json index 37962a173e4..7ad13def570 100644 --- a/metadata/modules/admixerBidAdapter.json +++ b/metadata/modules/admixerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2025-11-19T20:51:11.409Z", + "timestamp": "2025-11-24T17:31:28.964Z", "disclosures": [] } }, diff --git a/metadata/modules/admixerIdSystem.json b/metadata/modules/admixerIdSystem.json index cedbe489a6d..65643ca0baa 100644 --- a/metadata/modules/admixerIdSystem.json +++ b/metadata/modules/admixerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2025-11-19T20:51:11.787Z", + "timestamp": "2025-11-24T17:31:29.336Z", "disclosures": [] } }, diff --git a/metadata/modules/adnowBidAdapter.json b/metadata/modules/adnowBidAdapter.json index 21d4b63fd47..2144c061c94 100644 --- a/metadata/modules/adnowBidAdapter.json +++ b/metadata/modules/adnowBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adnow.com/vdsod.json": { - "timestamp": "2025-11-19T20:51:11.787Z", + "timestamp": "2025-11-24T17:31:29.337Z", "disclosures": [ { "identifier": "SC_unique_*", diff --git a/metadata/modules/adnuntiusBidAdapter.json b/metadata/modules/adnuntiusBidAdapter.json index 8137782114a..64e2ac530bf 100644 --- a/metadata/modules/adnuntiusBidAdapter.json +++ b/metadata/modules/adnuntiusBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:12.039Z", + "timestamp": "2025-11-24T17:31:29.564Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adnuntiusRtdProvider.json b/metadata/modules/adnuntiusRtdProvider.json index 7cbe053afbd..dd87980c348 100644 --- a/metadata/modules/adnuntiusRtdProvider.json +++ b/metadata/modules/adnuntiusRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:12.355Z", + "timestamp": "2025-11-24T17:31:29.883Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adotBidAdapter.json b/metadata/modules/adotBidAdapter.json index 4583bae817b..ea06395d462 100644 --- a/metadata/modules/adotBidAdapter.json +++ b/metadata/modules/adotBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.adotmob.com/tcf/tcf.json": { - "timestamp": "2025-11-19T20:51:12.355Z", + "timestamp": "2025-11-24T17:31:29.883Z", "disclosures": [] } }, diff --git a/metadata/modules/adponeBidAdapter.json b/metadata/modules/adponeBidAdapter.json index 7e729f814b7..252d5cb36ca 100644 --- a/metadata/modules/adponeBidAdapter.json +++ b/metadata/modules/adponeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.adpone.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:12.400Z", + "timestamp": "2025-11-24T17:31:29.923Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryBidAdapter.json b/metadata/modules/adqueryBidAdapter.json index 567fc0e4041..8ed790ec5c4 100644 --- a/metadata/modules/adqueryBidAdapter.json +++ b/metadata/modules/adqueryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2025-11-19T20:51:12.421Z", + "timestamp": "2025-11-24T17:31:29.948Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryIdSystem.json b/metadata/modules/adqueryIdSystem.json index d8b870afe6b..842cf28ef75 100644 --- a/metadata/modules/adqueryIdSystem.json +++ b/metadata/modules/adqueryIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2025-11-19T20:51:12.756Z", + "timestamp": "2025-11-24T17:31:30.365Z", "disclosures": [] } }, diff --git a/metadata/modules/adrinoBidAdapter.json b/metadata/modules/adrinoBidAdapter.json index 2e3a762ddcd..7186676f10c 100644 --- a/metadata/modules/adrinoBidAdapter.json +++ b/metadata/modules/adrinoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.adrino.cloud/iab/device-storage.json": { - "timestamp": "2025-11-19T20:51:12.757Z", + "timestamp": "2025-11-24T17:31:30.365Z", "disclosures": [] } }, diff --git a/metadata/modules/ads_interactiveBidAdapter.json b/metadata/modules/ads_interactiveBidAdapter.json index fd47c760862..e525192fa68 100644 --- a/metadata/modules/ads_interactiveBidAdapter.json +++ b/metadata/modules/ads_interactiveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adsinteractive.com/vendor.json": { - "timestamp": "2025-11-19T20:51:12.854Z", + "timestamp": "2025-11-24T17:31:30.410Z", "disclosures": [] } }, diff --git a/metadata/modules/adtargetBidAdapter.json b/metadata/modules/adtargetBidAdapter.json index 4b559c80cdc..c9950be3e43 100644 --- a/metadata/modules/adtargetBidAdapter.json +++ b/metadata/modules/adtargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:13.161Z", + "timestamp": "2025-11-24T17:31:30.712Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/adtelligentBidAdapter.json b/metadata/modules/adtelligentBidAdapter.json index b3fb4a5db30..e893504d93b 100644 --- a/metadata/modules/adtelligentBidAdapter.json +++ b/metadata/modules/adtelligentBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:13.161Z", + "timestamp": "2025-11-24T17:31:30.712Z", "disclosures": [] }, "https://www.selectmedia.asia/gdpr/devicestorage.json": { - "timestamp": "2025-11-19T20:51:13.180Z", + "timestamp": "2025-11-24T17:31:30.732Z", "disclosures": [ { "identifier": "waterFallCacheAnsKey_*", @@ -81,7 +81,7 @@ ] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:13.354Z", + "timestamp": "2025-11-24T17:31:30.877Z", "disclosures": [] } }, diff --git a/metadata/modules/adtelligentIdSystem.json b/metadata/modules/adtelligentIdSystem.json index e62d3831e88..21eb09bd7e1 100644 --- a/metadata/modules/adtelligentIdSystem.json +++ b/metadata/modules/adtelligentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:13.523Z", + "timestamp": "2025-11-24T17:31:30.959Z", "disclosures": [] } }, diff --git a/metadata/modules/aduptechBidAdapter.json b/metadata/modules/aduptechBidAdapter.json index ac02403710e..8910732c539 100644 --- a/metadata/modules/aduptechBidAdapter.json +++ b/metadata/modules/aduptechBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.d.adup-tech.com/gdpr/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:13.524Z", + "timestamp": "2025-11-24T17:31:30.960Z", "disclosures": [] } }, diff --git a/metadata/modules/adyoulikeBidAdapter.json b/metadata/modules/adyoulikeBidAdapter.json index b4066e9b8ef..2ecff21b0db 100644 --- a/metadata/modules/adyoulikeBidAdapter.json +++ b/metadata/modules/adyoulikeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adyoulike.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-11-19T20:51:13.552Z", + "timestamp": "2025-11-24T17:31:30.980Z", "disclosures": [] } }, diff --git a/metadata/modules/airgridRtdProvider.json b/metadata/modules/airgridRtdProvider.json index 46c58dddb5e..93c9d80ba68 100644 --- a/metadata/modules/airgridRtdProvider.json +++ b/metadata/modules/airgridRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.wearemiq.com/privacy-and-compliance/devicestoragedisclosures.json": { - "timestamp": "2025-11-19T20:51:14.020Z", + "timestamp": "2025-11-24T17:31:31.429Z", "disclosures": [] } }, diff --git a/metadata/modules/alkimiBidAdapter.json b/metadata/modules/alkimiBidAdapter.json index ad298eddabb..047755db4f1 100644 --- a/metadata/modules/alkimiBidAdapter.json +++ b/metadata/modules/alkimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d1xjh92lb8fey3.cloudfront.net/tcf/alkimi_exchange_tcf.json": { - "timestamp": "2025-11-19T20:51:14.058Z", + "timestamp": "2025-11-24T17:31:31.471Z", "disclosures": [] } }, diff --git a/metadata/modules/amxBidAdapter.json b/metadata/modules/amxBidAdapter.json index 0494a5ea70b..a4d40867a2e 100644 --- a/metadata/modules/amxBidAdapter.json +++ b/metadata/modules/amxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2025-11-19T20:51:14.354Z", + "timestamp": "2025-11-24T17:31:31.743Z", "disclosures": [] } }, diff --git a/metadata/modules/amxIdSystem.json b/metadata/modules/amxIdSystem.json index 77076a0455c..5a31aba6c84 100644 --- a/metadata/modules/amxIdSystem.json +++ b/metadata/modules/amxIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2025-11-19T20:51:14.408Z", + "timestamp": "2025-11-24T17:31:31.888Z", "disclosures": [] } }, diff --git a/metadata/modules/aniviewBidAdapter.json b/metadata/modules/aniviewBidAdapter.json index fdc85537934..d933bc0239a 100644 --- a/metadata/modules/aniviewBidAdapter.json +++ b/metadata/modules/aniviewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.aniview.com/gdpr/gdpr.json": { - "timestamp": "2025-11-19T20:51:14.408Z", + "timestamp": "2025-11-24T17:31:31.888Z", "disclosures": [ { "identifier": "av_*", diff --git a/metadata/modules/anonymisedRtdProvider.json b/metadata/modules/anonymisedRtdProvider.json index 827805b370f..b765bc45308 100644 --- a/metadata/modules/anonymisedRtdProvider.json +++ b/metadata/modules/anonymisedRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.anonymised.io/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:14.519Z", + "timestamp": "2025-11-24T17:31:32.195Z", "disclosures": [ { "identifier": "oidc.user*", diff --git a/metadata/modules/appStockSSPBidAdapter.json b/metadata/modules/appStockSSPBidAdapter.json index 6dd538cd5bf..1d009491ef3 100644 --- a/metadata/modules/appStockSSPBidAdapter.json +++ b/metadata/modules/appStockSSPBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://app-stock.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:14.636Z", + "timestamp": "2025-11-24T17:31:32.212Z", "disclosures": [] } }, diff --git a/metadata/modules/appierBidAdapter.json b/metadata/modules/appierBidAdapter.json index 831bda55c41..3845c49f9ae 100644 --- a/metadata/modules/appierBidAdapter.json +++ b/metadata/modules/appierBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.appier.com/deviceStorage2025.json": { - "timestamp": "2025-11-19T20:51:14.690Z", + "timestamp": "2025-11-24T17:31:32.257Z", "disclosures": [ { "identifier": "_atrk_ssid", diff --git a/metadata/modules/appnexusBidAdapter.json b/metadata/modules/appnexusBidAdapter.json index 99a201651de..62f848d6681 100644 --- a/metadata/modules/appnexusBidAdapter.json +++ b/metadata/modules/appnexusBidAdapter.json @@ -2,23 +2,23 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2025-11-19T20:51:15.356Z", + "timestamp": "2025-11-24T17:31:32.919Z", "disclosures": [] }, "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:14.828Z", + "timestamp": "2025-11-24T17:31:32.336Z", "disclosures": [] }, "https://beintoo-support.b-cdn.net/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:14.849Z", + "timestamp": "2025-11-24T17:31:32.360Z", "disclosures": [] }, "https://projectagora.net/1032_deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:14.865Z", + "timestamp": "2025-11-24T17:31:32.459Z", "disclosures": [] }, "https://adzymic.com/tcf.json": { - "timestamp": "2025-11-19T20:51:15.356Z", + "timestamp": "2025-11-24T17:31:32.919Z", "disclosures": [] } }, diff --git a/metadata/modules/appushBidAdapter.json b/metadata/modules/appushBidAdapter.json index c0935899043..72faf944914 100644 --- a/metadata/modules/appushBidAdapter.json +++ b/metadata/modules/appushBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.thebiding.com/disclosures.json": { - "timestamp": "2025-11-19T20:51:15.414Z", + "timestamp": "2025-11-24T17:31:32.954Z", "disclosures": [] } }, diff --git a/metadata/modules/apstreamBidAdapter.json b/metadata/modules/apstreamBidAdapter.json index 86ba9c1dc17..2b37ed2987e 100644 --- a/metadata/modules/apstreamBidAdapter.json +++ b/metadata/modules/apstreamBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sak.userreport.com/tcf.json": { - "timestamp": "2025-11-19T20:51:15.528Z", + "timestamp": "2025-11-24T17:31:33.028Z", "disclosures": [ { "identifier": "apr_dsu", diff --git a/metadata/modules/audiencerunBidAdapter.json b/metadata/modules/audiencerunBidAdapter.json index d308af1c05b..b73a8a92fd3 100644 --- a/metadata/modules/audiencerunBidAdapter.json +++ b/metadata/modules/audiencerunBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.audiencerun.com/tcf.json": { - "timestamp": "2025-11-19T20:51:15.551Z", + "timestamp": "2025-11-24T17:31:33.054Z", "disclosures": [] } }, diff --git a/metadata/modules/axisBidAdapter.json b/metadata/modules/axisBidAdapter.json index 119c83c1d1a..eae1c61e2b0 100644 --- a/metadata/modules/axisBidAdapter.json +++ b/metadata/modules/axisBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://axis-marketplace.com/tcf.json": { - "timestamp": "2025-11-19T20:51:15.615Z", + "timestamp": "2025-11-24T17:31:33.103Z", "disclosures": [] } }, diff --git a/metadata/modules/azerionedgeRtdProvider.json b/metadata/modules/azerionedgeRtdProvider.json index 9dacb4aca40..6f9893b067e 100644 --- a/metadata/modules/azerionedgeRtdProvider.json +++ b/metadata/modules/azerionedgeRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2025-11-19T20:51:15.658Z", + "timestamp": "2025-11-24T17:31:33.143Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/beachfrontBidAdapter.json b/metadata/modules/beachfrontBidAdapter.json index 63d6f32a7c8..970620f1ad4 100644 --- a/metadata/modules/beachfrontBidAdapter.json +++ b/metadata/modules/beachfrontBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2025-11-19T20:51:15.684Z", + "timestamp": "2025-11-24T17:31:33.163Z", "disclosures": [] } }, diff --git a/metadata/modules/beopBidAdapter.json b/metadata/modules/beopBidAdapter.json index 3fd5c0a4a8d..e2e2c2d1824 100644 --- a/metadata/modules/beopBidAdapter.json +++ b/metadata/modules/beopBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://beop.io/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:16.048Z", + "timestamp": "2025-11-24T17:31:33.294Z", "disclosures": [] } }, diff --git a/metadata/modules/betweenBidAdapter.json b/metadata/modules/betweenBidAdapter.json index 36747536871..093a1bd454e 100644 --- a/metadata/modules/betweenBidAdapter.json +++ b/metadata/modules/betweenBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.betweenx.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:16.175Z", + "timestamp": "2025-11-24T17:31:33.409Z", "disclosures": [] } }, diff --git a/metadata/modules/bidfuseBidAdapter.json b/metadata/modules/bidfuseBidAdapter.json index 0f1ca2fa3fa..e03097eea9b 100644 --- a/metadata/modules/bidfuseBidAdapter.json +++ b/metadata/modules/bidfuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidfuse.com/disclosure.json": { - "timestamp": "2025-11-19T20:51:16.229Z", + "timestamp": "2025-11-24T17:31:33.444Z", "disclosures": [] } }, diff --git a/metadata/modules/bidmaticBidAdapter.json b/metadata/modules/bidmaticBidAdapter.json index 465dd2cbdfe..9a33bf9eb55 100644 --- a/metadata/modules/bidmaticBidAdapter.json +++ b/metadata/modules/bidmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidmatic.io/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:16.409Z", + "timestamp": "2025-11-24T17:31:33.636Z", "disclosures": [] } }, diff --git a/metadata/modules/bidtheatreBidAdapter.json b/metadata/modules/bidtheatreBidAdapter.json index 371cf75c451..574d22f244c 100644 --- a/metadata/modules/bidtheatreBidAdapter.json +++ b/metadata/modules/bidtheatreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.bidtheatre.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:16.457Z", + "timestamp": "2025-11-24T17:31:33.680Z", "disclosures": [] } }, diff --git a/metadata/modules/bliinkBidAdapter.json b/metadata/modules/bliinkBidAdapter.json index e04e63b647b..1fdd1963447 100644 --- a/metadata/modules/bliinkBidAdapter.json +++ b/metadata/modules/bliinkBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bliink.io/disclosures.json": { - "timestamp": "2025-11-19T20:51:16.779Z", + "timestamp": "2025-11-24T17:31:33.970Z", "disclosures": [] } }, diff --git a/metadata/modules/blockthroughBidAdapter.json b/metadata/modules/blockthroughBidAdapter.json index 54fd5fb8aaf..4a8152db033 100644 --- a/metadata/modules/blockthroughBidAdapter.json +++ b/metadata/modules/blockthroughBidAdapter.json @@ -2,324 +2,8 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://blockthrough.com/tcf_disclosures.json": { - "timestamp": "2025-11-10T11:41:19.544Z", - "disclosures": [ - { - "identifier": "BT_AA_DETECTION", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "btUserCountry", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "btUserCountryExpiry", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "btUserIsFromRestrictedCountry", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_BUNDLE_VERSION", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_DIGEST_VERSION", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_sid", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_traceID", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "uids", - "type": "cookie", - "maxAgeSeconds": 7776000, - "cookieRefresh": true, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_pvSent", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_WHITELISTING_IFRAME_ACCESS", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_BLOCKLISTED_CREATIVES", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_AM_SOFTWALL_RENDERED", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_AM_SOFTWALL_DISMISSED", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_AM_SOFTWALL_RECOVERED", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_AM_SOFTWALL_RENDER_COUNT", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_AM_SOFTWALL_ABTEST", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_AM_ATTRIBUTION_EXPIRY", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_AM_PREMIUM_ADBLOCK_USER_DETECTED", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_AM_PREMIUM_ADBLOCK_USER_DETECTION_DATE", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - }, - { - "identifier": "BT_AM_SCA_SUCCEED", - "type": "web", - "maxAgeSeconds": null, - "cookieRefresh": false, - "purposes": [ - 1, - 2, - 3, - 4, - 7, - 9, - 10 - ] - } - ] + "timestamp": "2025-11-24T17:31:34.504Z", + "disclosures": null } }, "components": [ diff --git a/metadata/modules/blueBidAdapter.json b/metadata/modules/blueBidAdapter.json index a0de664de61..b7072428a2b 100644 --- a/metadata/modules/blueBidAdapter.json +++ b/metadata/modules/blueBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://getblue.io/iab/iab.json": { - "timestamp": "2025-11-19T20:51:17.219Z", + "timestamp": "2025-11-24T17:31:34.570Z", "disclosures": [] } }, diff --git a/metadata/modules/bmsBidAdapter.json b/metadata/modules/bmsBidAdapter.json index c3f5aae4563..afa59d2f574 100644 --- a/metadata/modules/bmsBidAdapter.json +++ b/metadata/modules/bmsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bluems.com/iab.json": { - "timestamp": "2025-11-19T20:51:17.572Z", + "timestamp": "2025-11-24T17:31:34.919Z", "disclosures": [] } }, diff --git a/metadata/modules/boldwinBidAdapter.json b/metadata/modules/boldwinBidAdapter.json index 75dd1c781be..618dde00a5b 100644 --- a/metadata/modules/boldwinBidAdapter.json +++ b/metadata/modules/boldwinBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://magav.videowalldirect.com/iab/videowalldirectiab.json": { - "timestamp": "2025-11-19T20:51:17.595Z", + "timestamp": "2025-11-24T17:31:34.938Z", "disclosures": [] } }, diff --git a/metadata/modules/bridBidAdapter.json b/metadata/modules/bridBidAdapter.json index 597e7796973..18f04691dd7 100644 --- a/metadata/modules/bridBidAdapter.json +++ b/metadata/modules/bridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2025-11-19T20:51:17.700Z", + "timestamp": "2025-11-24T17:31:34.963Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/browsiBidAdapter.json b/metadata/modules/browsiBidAdapter.json index d81cca591e1..14322d94a18 100644 --- a/metadata/modules/browsiBidAdapter.json +++ b/metadata/modules/browsiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.browsiprod.com/ads/tcf.json": { - "timestamp": "2025-11-19T20:51:17.840Z", + "timestamp": "2025-11-24T17:31:35.104Z", "disclosures": [] } }, diff --git a/metadata/modules/bucksenseBidAdapter.json b/metadata/modules/bucksenseBidAdapter.json index 8d71736c557..e30a510a4f5 100644 --- a/metadata/modules/bucksenseBidAdapter.json +++ b/metadata/modules/bucksenseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://j.bksnimages.com/iab/devsto02.json": { - "timestamp": "2025-11-19T20:51:17.857Z", + "timestamp": "2025-11-24T17:31:35.121Z", "disclosures": [] } }, diff --git a/metadata/modules/carodaBidAdapter.json b/metadata/modules/carodaBidAdapter.json index 5c565ba1aa8..7572112e7cf 100644 --- a/metadata/modules/carodaBidAdapter.json +++ b/metadata/modules/carodaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn2.caroda.io/tcfvds/2022-05-17/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:17.919Z", + "timestamp": "2025-11-24T17:31:35.182Z", "disclosures": [] } }, diff --git a/metadata/modules/categoryTranslation.json b/metadata/modules/categoryTranslation.json index 921493ce0fb..2638ee1a783 100644 --- a/metadata/modules/categoryTranslation.json +++ b/metadata/modules/categoryTranslation.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/categoryTranslation.json": { - "timestamp": "2025-11-19T20:51:08.094Z", + "timestamp": "2025-11-24T17:31:25.745Z", "disclosures": [ { "identifier": "iabToFwMappingkey", diff --git a/metadata/modules/ceeIdSystem.json b/metadata/modules/ceeIdSystem.json index 307b7549665..96566d8b5a0 100644 --- a/metadata/modules/ceeIdSystem.json +++ b/metadata/modules/ceeIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:18.230Z", + "timestamp": "2025-11-24T17:31:35.496Z", "disclosures": null } }, diff --git a/metadata/modules/chromeAiRtdProvider.json b/metadata/modules/chromeAiRtdProvider.json index 16accf9cae2..e87846a6269 100644 --- a/metadata/modules/chromeAiRtdProvider.json +++ b/metadata/modules/chromeAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/chromeAiRtdProvider.json": { - "timestamp": "2025-11-19T20:51:18.581Z", + "timestamp": "2025-11-24T17:31:35.850Z", "disclosures": [ { "identifier": "chromeAi_detected_data", diff --git a/metadata/modules/compassBidAdapter.json b/metadata/modules/compassBidAdapter.json index 925c8facc3f..d9dfa42106d 100644 --- a/metadata/modules/compassBidAdapter.json +++ b/metadata/modules/compassBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2025-11-19T20:51:18.583Z", + "timestamp": "2025-11-24T17:31:35.854Z", "disclosures": [] } }, diff --git a/metadata/modules/conceptxBidAdapter.json b/metadata/modules/conceptxBidAdapter.json index edbf991fc56..e0ae8236215 100644 --- a/metadata/modules/conceptxBidAdapter.json +++ b/metadata/modules/conceptxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cncptx.com/device_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:18.599Z", + "timestamp": "2025-11-24T17:31:35.872Z", "disclosures": [] } }, diff --git a/metadata/modules/connatixBidAdapter.json b/metadata/modules/connatixBidAdapter.json index 9a4634d837c..6fadc2a76d6 100644 --- a/metadata/modules/connatixBidAdapter.json +++ b/metadata/modules/connatixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://connatix.com/iab-tcf-disclosure.json": { - "timestamp": "2025-11-19T20:51:18.626Z", + "timestamp": "2025-11-24T17:31:35.895Z", "disclosures": [ { "identifier": "cnx_userId", diff --git a/metadata/modules/connectIdSystem.json b/metadata/modules/connectIdSystem.json index 92943284539..db506fa04da 100644 --- a/metadata/modules/connectIdSystem.json +++ b/metadata/modules/connectIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2025-11-19T20:51:18.722Z", + "timestamp": "2025-11-24T17:31:35.973Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/connectadBidAdapter.json b/metadata/modules/connectadBidAdapter.json index 474b3ab83eb..3883190620f 100644 --- a/metadata/modules/connectadBidAdapter.json +++ b/metadata/modules/connectadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.connectad.io/tcf_storage_info.json": { - "timestamp": "2025-11-19T20:51:18.745Z", + "timestamp": "2025-11-24T17:31:36.048Z", "disclosures": [] } }, diff --git a/metadata/modules/contentexchangeBidAdapter.json b/metadata/modules/contentexchangeBidAdapter.json index d53b22757e2..0cd38a1ea4d 100644 --- a/metadata/modules/contentexchangeBidAdapter.json +++ b/metadata/modules/contentexchangeBidAdapter.json @@ -2,8 +2,8 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://hb.contentexchange.me/template/device_storage.json": { - "timestamp": "2025-11-10T11:41:21.385Z", - "disclosures": [] + "timestamp": "2025-11-24T17:31:36.479Z", + "disclosures": null } }, "components": [ diff --git a/metadata/modules/conversantBidAdapter.json b/metadata/modules/conversantBidAdapter.json index 5cab777a157..fce71020f16 100644 --- a/metadata/modules/conversantBidAdapter.json +++ b/metadata/modules/conversantBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.8/device_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:18.822Z", + "timestamp": "2025-11-24T17:31:36.514Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/copper6sspBidAdapter.json b/metadata/modules/copper6sspBidAdapter.json index 164f7677af4..9bc59729a69 100644 --- a/metadata/modules/copper6sspBidAdapter.json +++ b/metadata/modules/copper6sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.copper6.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:18.845Z", + "timestamp": "2025-11-24T17:31:36.538Z", "disclosures": [] } }, diff --git a/metadata/modules/cpmstarBidAdapter.json b/metadata/modules/cpmstarBidAdapter.json index 9b49d8dfb84..19935452977 100644 --- a/metadata/modules/cpmstarBidAdapter.json +++ b/metadata/modules/cpmstarBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2025-11-19T20:51:18.971Z", + "timestamp": "2025-11-24T17:31:36.631Z", "disclosures": [] } }, diff --git a/metadata/modules/criteoBidAdapter.json b/metadata/modules/criteoBidAdapter.json index c405acba13c..40bff7b21dc 100644 --- a/metadata/modules/criteoBidAdapter.json +++ b/metadata/modules/criteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2025-11-19T20:51:19.021Z", + "timestamp": "2025-11-24T17:31:36.683Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/criteoIdSystem.json b/metadata/modules/criteoIdSystem.json index cf3766536e9..d85e00c456b 100644 --- a/metadata/modules/criteoIdSystem.json +++ b/metadata/modules/criteoIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2025-11-19T20:51:19.041Z", + "timestamp": "2025-11-24T17:31:36.704Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/cwireBidAdapter.json b/metadata/modules/cwireBidAdapter.json index fb9e068e4e3..9660a92ee09 100644 --- a/metadata/modules/cwireBidAdapter.json +++ b/metadata/modules/cwireBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.cwi.re/artifacts/iab/iab.json": { - "timestamp": "2025-11-19T20:51:19.041Z", + "timestamp": "2025-11-24T17:31:36.705Z", "disclosures": [] } }, diff --git a/metadata/modules/czechAdIdSystem.json b/metadata/modules/czechAdIdSystem.json index e4b953bfb59..bed7c13fae8 100644 --- a/metadata/modules/czechAdIdSystem.json +++ b/metadata/modules/czechAdIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cpex.cz/storagedisclosure.json": { - "timestamp": "2025-11-19T20:51:19.388Z", + "timestamp": "2025-11-24T17:31:37.225Z", "disclosures": [] } }, diff --git a/metadata/modules/dailymotionBidAdapter.json b/metadata/modules/dailymotionBidAdapter.json index c48795f0a1e..4d346977a56 100644 --- a/metadata/modules/dailymotionBidAdapter.json +++ b/metadata/modules/dailymotionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://statics.dmcdn.net/a/vds.json": { - "timestamp": "2025-11-19T20:51:19.691Z", + "timestamp": "2025-11-24T17:31:37.540Z", "disclosures": [ { "identifier": "uid_dm", diff --git a/metadata/modules/debugging.json b/metadata/modules/debugging.json index 00eed3703dd..b7d9dcdf082 100644 --- a/metadata/modules/debugging.json +++ b/metadata/modules/debugging.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2025-11-19T20:51:08.093Z", + "timestamp": "2025-11-24T17:31:25.743Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/deepintentBidAdapter.json b/metadata/modules/deepintentBidAdapter.json index 8b38c30277a..15cda4f77d9 100644 --- a/metadata/modules/deepintentBidAdapter.json +++ b/metadata/modules/deepintentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.deepintent.com/iabeurope_vendor_disclosures.json": { - "timestamp": "2025-11-19T20:51:19.711Z", + "timestamp": "2025-11-24T17:31:37.561Z", "disclosures": [] } }, diff --git a/metadata/modules/defineMediaBidAdapter.json b/metadata/modules/defineMediaBidAdapter.json index 95a5a4ccfc6..0d14daff1d7 100644 --- a/metadata/modules/defineMediaBidAdapter.json +++ b/metadata/modules/defineMediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://definemedia.de/tcf/deviceStorageDisclosureURL.json": { - "timestamp": "2025-11-19T20:51:20.094Z", + "timestamp": "2025-11-24T17:31:37.638Z", "disclosures": [ { "identifier": "conative$dataGathering$Adex", diff --git a/metadata/modules/deltaprojectsBidAdapter.json b/metadata/modules/deltaprojectsBidAdapter.json index 02545785549..afbc31387cd 100644 --- a/metadata/modules/deltaprojectsBidAdapter.json +++ b/metadata/modules/deltaprojectsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.de17a.com/policy/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:20.507Z", + "timestamp": "2025-11-24T17:31:38.077Z", "disclosures": [] } }, diff --git a/metadata/modules/dianomiBidAdapter.json b/metadata/modules/dianomiBidAdapter.json index 7131f0c4f2c..5d8670ebd10 100644 --- a/metadata/modules/dianomiBidAdapter.json +++ b/metadata/modules/dianomiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.dianomi.com/device_storage.json": { - "timestamp": "2025-11-19T20:51:20.947Z", + "timestamp": "2025-11-24T17:31:38.532Z", "disclosures": [] } }, diff --git a/metadata/modules/digitalMatterBidAdapter.json b/metadata/modules/digitalMatterBidAdapter.json index b3999a2f058..682a22f1664 100644 --- a/metadata/modules/digitalMatterBidAdapter.json +++ b/metadata/modules/digitalMatterBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://digitalmatter.ai/disclosures.json": { - "timestamp": "2025-11-19T20:51:20.947Z", + "timestamp": "2025-11-24T17:31:38.532Z", "disclosures": [] } }, diff --git a/metadata/modules/distroscaleBidAdapter.json b/metadata/modules/distroscaleBidAdapter.json index f147261d7b4..6ac5edc6395 100644 --- a/metadata/modules/distroscaleBidAdapter.json +++ b/metadata/modules/distroscaleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.jsrdn.com/tcf/tcf-vendor-disclosure.json": { - "timestamp": "2025-11-19T20:51:21.331Z", + "timestamp": "2025-11-24T17:31:38.938Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeAdManagerBidAdapter.json b/metadata/modules/docereeAdManagerBidAdapter.json index 11b3ddc6a64..4834b0ed2cf 100644 --- a/metadata/modules/docereeAdManagerBidAdapter.json +++ b/metadata/modules/docereeAdManagerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:21.358Z", + "timestamp": "2025-11-24T17:31:38.972Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeBidAdapter.json b/metadata/modules/docereeBidAdapter.json index d120fbe6044..9c41e5ef415 100644 --- a/metadata/modules/docereeBidAdapter.json +++ b/metadata/modules/docereeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:22.114Z", + "timestamp": "2025-11-24T17:31:39.777Z", "disclosures": [] } }, diff --git a/metadata/modules/dspxBidAdapter.json b/metadata/modules/dspxBidAdapter.json index fa0a5901037..212cc4b9bb6 100644 --- a/metadata/modules/dspxBidAdapter.json +++ b/metadata/modules/dspxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/os.json": { - "timestamp": "2025-11-19T20:51:22.115Z", + "timestamp": "2025-11-24T17:31:39.777Z", "disclosures": [] } }, diff --git a/metadata/modules/e_volutionBidAdapter.json b/metadata/modules/e_volutionBidAdapter.json index e4c50af4c11..cfd0db5ee11 100644 --- a/metadata/modules/e_volutionBidAdapter.json +++ b/metadata/modules/e_volutionBidAdapter.json @@ -2,8 +2,8 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://e-volution.ai/file.json": { - "timestamp": "2025-11-19T20:51:22.794Z", - "disclosures": null + "timestamp": "2025-11-24T17:31:40.444Z", + "disclosures": [] } }, "components": [ diff --git a/metadata/modules/edge226BidAdapter.json b/metadata/modules/edge226BidAdapter.json index b73461bb162..6c8314d3f3b 100644 --- a/metadata/modules/edge226BidAdapter.json +++ b/metadata/modules/edge226BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.serveteck.com/cdn_storage/tcf/tcf.json?a=1.io": { - "timestamp": "2025-11-19T20:51:23.104Z", + "timestamp": "2025-11-24T17:31:40.754Z", "disclosures": [] } }, diff --git a/metadata/modules/empowerBidAdapter.json b/metadata/modules/empowerBidAdapter.json index 03faa868057..1637fba1b24 100644 --- a/metadata/modules/empowerBidAdapter.json +++ b/metadata/modules/empowerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.empower.net/vendor/vendor.json": { - "timestamp": "2025-11-19T20:51:23.177Z", + "timestamp": "2025-11-24T17:31:40.821Z", "disclosures": [] } }, diff --git a/metadata/modules/equativBidAdapter.json b/metadata/modules/equativBidAdapter.json index ac701e3462c..f36e0b5924c 100644 --- a/metadata/modules/equativBidAdapter.json +++ b/metadata/modules/equativBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2025-11-19T20:51:23.210Z", + "timestamp": "2025-11-24T17:31:40.854Z", "disclosures": [] } }, diff --git a/metadata/modules/eskimiBidAdapter.json b/metadata/modules/eskimiBidAdapter.json index f3f5575ceeb..03d9387e194 100644 --- a/metadata/modules/eskimiBidAdapter.json +++ b/metadata/modules/eskimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://dsp-media.eskimi.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:23.853Z", + "timestamp": "2025-11-24T17:31:40.878Z", "disclosures": [] } }, diff --git a/metadata/modules/etargetBidAdapter.json b/metadata/modules/etargetBidAdapter.json index eb2ef4ed708..9263164ea05 100644 --- a/metadata/modules/etargetBidAdapter.json +++ b/metadata/modules/etargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.etarget.sk/cookies3.json": { - "timestamp": "2025-11-19T20:51:23.873Z", + "timestamp": "2025-11-24T17:31:40.897Z", "disclosures": [] } }, diff --git a/metadata/modules/euidIdSystem.json b/metadata/modules/euidIdSystem.json index 430d3c77873..5c5d13192f7 100644 --- a/metadata/modules/euidIdSystem.json +++ b/metadata/modules/euidIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-11-19T20:51:24.550Z", + "timestamp": "2025-11-24T17:31:41.469Z", "disclosures": [] } }, diff --git a/metadata/modules/exadsBidAdapter.json b/metadata/modules/exadsBidAdapter.json index b93abf1f5aa..26829a36d6a 100644 --- a/metadata/modules/exadsBidAdapter.json +++ b/metadata/modules/exadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.native7.com/tcf/deviceStorage.php": { - "timestamp": "2025-11-19T20:51:24.771Z", + "timestamp": "2025-11-24T17:31:41.696Z", "disclosures": [ { "identifier": "pn-zone-*", diff --git a/metadata/modules/feedadBidAdapter.json b/metadata/modules/feedadBidAdapter.json index 6385f9ed012..f89d247794c 100644 --- a/metadata/modules/feedadBidAdapter.json +++ b/metadata/modules/feedadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.feedad.com/tcf-device-disclosures.json": { - "timestamp": "2025-11-19T20:51:24.973Z", + "timestamp": "2025-11-24T17:31:41.896Z", "disclosures": [ { "identifier": "__fad_data", diff --git a/metadata/modules/fwsspBidAdapter.json b/metadata/modules/fwsspBidAdapter.json index 5a38f86edb4..4d81ee7ceda 100644 --- a/metadata/modules/fwsspBidAdapter.json +++ b/metadata/modules/fwsspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.fwmrm.net/g/devicedisclosure.json": { - "timestamp": "2025-11-19T20:51:25.329Z", + "timestamp": "2025-11-24T17:31:42.004Z", "disclosures": [] } }, diff --git a/metadata/modules/gamoshiBidAdapter.json b/metadata/modules/gamoshiBidAdapter.json index b72069e034e..bccfb40bb07 100644 --- a/metadata/modules/gamoshiBidAdapter.json +++ b/metadata/modules/gamoshiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gamoshi.com/disclosures-client-storage.json": { - "timestamp": "2025-11-19T20:51:25.921Z", + "timestamp": "2025-11-24T17:31:42.098Z", "disclosures": [] } }, diff --git a/metadata/modules/gemiusIdSystem.json b/metadata/modules/gemiusIdSystem.json index fb4dfba197d..b99329b6eef 100644 --- a/metadata/modules/gemiusIdSystem.json +++ b/metadata/modules/gemiusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2025-11-19T20:51:26.097Z", + "timestamp": "2025-11-24T17:31:42.278Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/glomexBidAdapter.json b/metadata/modules/glomexBidAdapter.json index 5df2c608934..617da2d124b 100644 --- a/metadata/modules/glomexBidAdapter.json +++ b/metadata/modules/glomexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:26.671Z", + "timestamp": "2025-11-24T17:31:42.847Z", "disclosures": [ { "identifier": "glomexUser", diff --git a/metadata/modules/goldbachBidAdapter.json b/metadata/modules/goldbachBidAdapter.json index 1104c937c2d..810db49033b 100644 --- a/metadata/modules/goldbachBidAdapter.json +++ b/metadata/modules/goldbachBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gb-next.ch/TcfGoldbachDeviceStorage.json": { - "timestamp": "2025-11-19T20:51:26.704Z", + "timestamp": "2025-11-24T17:31:42.870Z", "disclosures": [ { "identifier": "dakt_2_session_id", diff --git a/metadata/modules/gridBidAdapter.json b/metadata/modules/gridBidAdapter.json index b3866edd805..df349923d0b 100644 --- a/metadata/modules/gridBidAdapter.json +++ b/metadata/modules/gridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.themediagrid.com/devicestorage.json": { - "timestamp": "2025-11-19T20:51:26.766Z", + "timestamp": "2025-11-24T17:31:42.901Z", "disclosures": [] } }, diff --git a/metadata/modules/gumgumBidAdapter.json b/metadata/modules/gumgumBidAdapter.json index 5067cac4039..72c9162a121 100644 --- a/metadata/modules/gumgumBidAdapter.json +++ b/metadata/modules/gumgumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://marketing.gumgum.com/devicestoragedisclosures.json": { - "timestamp": "2025-11-19T20:51:26.916Z", + "timestamp": "2025-11-24T17:31:43.013Z", "disclosures": [] } }, diff --git a/metadata/modules/hadronIdSystem.json b/metadata/modules/hadronIdSystem.json index 5930b2bfbd5..20fe6a95004 100644 --- a/metadata/modules/hadronIdSystem.json +++ b/metadata/modules/hadronIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2025-11-19T20:51:26.988Z", + "timestamp": "2025-11-24T17:31:43.077Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/hadronRtdProvider.json b/metadata/modules/hadronRtdProvider.json index 9d4a1d5dfd2..1d6a7342546 100644 --- a/metadata/modules/hadronRtdProvider.json +++ b/metadata/modules/hadronRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2025-11-19T20:51:27.109Z", + "timestamp": "2025-11-24T17:31:43.210Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/holidBidAdapter.json b/metadata/modules/holidBidAdapter.json index 24eacb9bc79..2657570a2eb 100644 --- a/metadata/modules/holidBidAdapter.json +++ b/metadata/modules/holidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ads.holid.io/devicestorage.json": { - "timestamp": "2025-11-19T20:51:27.109Z", + "timestamp": "2025-11-24T17:31:43.210Z", "disclosures": [ { "identifier": "uids", diff --git a/metadata/modules/hybridBidAdapter.json b/metadata/modules/hybridBidAdapter.json index 29aab4a9ff7..fe289fef181 100644 --- a/metadata/modules/hybridBidAdapter.json +++ b/metadata/modules/hybridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:27.382Z", + "timestamp": "2025-11-24T17:31:43.458Z", "disclosures": [] } }, diff --git a/metadata/modules/id5IdSystem.json b/metadata/modules/id5IdSystem.json index bbc919ef861..25b55c951fc 100644 --- a/metadata/modules/id5IdSystem.json +++ b/metadata/modules/id5IdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://id5-sync.com/tcf/disclosures.json": { - "timestamp": "2025-11-19T20:51:27.667Z", + "timestamp": "2025-11-24T17:31:43.748Z", "disclosures": [] } }, diff --git a/metadata/modules/identityLinkIdSystem.json b/metadata/modules/identityLinkIdSystem.json index 1e959d69d9b..c1c63d185b2 100644 --- a/metadata/modules/identityLinkIdSystem.json +++ b/metadata/modules/identityLinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.ats.rlcdn.com/device-storage-disclosure.json": { - "timestamp": "2025-11-19T20:51:27.944Z", + "timestamp": "2025-11-24T17:31:44.034Z", "disclosures": [ { "identifier": "_lr_retry_request", diff --git a/metadata/modules/illuminBidAdapter.json b/metadata/modules/illuminBidAdapter.json index f75633254dd..95849a32bab 100644 --- a/metadata/modules/illuminBidAdapter.json +++ b/metadata/modules/illuminBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admanmedia.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:27.970Z", + "timestamp": "2025-11-24T17:31:44.059Z", "disclosures": [] } }, diff --git a/metadata/modules/impactifyBidAdapter.json b/metadata/modules/impactifyBidAdapter.json index de6ab2e3d5e..83a7eba75b8 100644 --- a/metadata/modules/impactifyBidAdapter.json +++ b/metadata/modules/impactifyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.impactify.io/tcfvendors.json": { - "timestamp": "2025-11-19T20:51:28.316Z", + "timestamp": "2025-11-24T17:31:44.346Z", "disclosures": [ { "identifier": "_im*", diff --git a/metadata/modules/improvedigitalBidAdapter.json b/metadata/modules/improvedigitalBidAdapter.json index 7da0a1c40e4..1f799e744dc 100644 --- a/metadata/modules/improvedigitalBidAdapter.json +++ b/metadata/modules/improvedigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2025-11-19T20:51:28.592Z", + "timestamp": "2025-11-24T17:31:44.642Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/inmobiBidAdapter.json b/metadata/modules/inmobiBidAdapter.json index bade3996e48..19b85a18e3e 100644 --- a/metadata/modules/inmobiBidAdapter.json +++ b/metadata/modules/inmobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publisher.inmobi.com/public/disclosure": { - "timestamp": "2025-11-19T20:51:28.593Z", + "timestamp": "2025-11-24T17:31:44.642Z", "disclosures": [] } }, diff --git a/metadata/modules/insticatorBidAdapter.json b/metadata/modules/insticatorBidAdapter.json index 9678d9143ca..2241b246e95 100644 --- a/metadata/modules/insticatorBidAdapter.json +++ b/metadata/modules/insticatorBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.insticator.com/iab/device-storage-disclosure.json": { - "timestamp": "2025-11-19T20:51:28.624Z", + "timestamp": "2025-11-24T17:31:44.673Z", "disclosures": [ { "identifier": "visitorGeo", diff --git a/metadata/modules/intentIqIdSystem.json b/metadata/modules/intentIqIdSystem.json index 7dfe9d8f578..61886687791 100644 --- a/metadata/modules/intentIqIdSystem.json +++ b/metadata/modules/intentIqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://agent.intentiq.com/GDPR/gdpr.json": { - "timestamp": "2025-11-19T20:51:28.651Z", + "timestamp": "2025-11-24T17:31:44.702Z", "disclosures": [] } }, diff --git a/metadata/modules/invibesBidAdapter.json b/metadata/modules/invibesBidAdapter.json index 7ea4211bf8e..271b6557f0b 100644 --- a/metadata/modules/invibesBidAdapter.json +++ b/metadata/modules/invibesBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.invibes.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:28.710Z", + "timestamp": "2025-11-24T17:31:44.767Z", "disclosures": [ { "identifier": "ivvcap", diff --git a/metadata/modules/ipromBidAdapter.json b/metadata/modules/ipromBidAdapter.json index cfd02b7360c..f4cf8555318 100644 --- a/metadata/modules/ipromBidAdapter.json +++ b/metadata/modules/ipromBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://core.iprom.net/info/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:29.106Z", + "timestamp": "2025-11-24T17:31:45.097Z", "disclosures": [] } }, diff --git a/metadata/modules/ixBidAdapter.json b/metadata/modules/ixBidAdapter.json index b45469e19ec..6c3e5b8c01e 100644 --- a/metadata/modules/ixBidAdapter.json +++ b/metadata/modules/ixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.indexexchange.com/device_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:29.586Z", + "timestamp": "2025-11-24T17:31:45.647Z", "disclosures": [ { "identifier": "ix_features", diff --git a/metadata/modules/justIdSystem.json b/metadata/modules/justIdSystem.json index 8526c632c84..5c3afcb5b8b 100644 --- a/metadata/modules/justIdSystem.json +++ b/metadata/modules/justIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audience-solutions.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:29.770Z", + "timestamp": "2025-11-24T17:31:45.824Z", "disclosures": [ { "identifier": "__jtuid", diff --git a/metadata/modules/justpremiumBidAdapter.json b/metadata/modules/justpremiumBidAdapter.json index c7e37ae5747..004a538359d 100644 --- a/metadata/modules/justpremiumBidAdapter.json +++ b/metadata/modules/justpremiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.justpremium.com/devicestoragedisclosures.json": { - "timestamp": "2025-11-19T20:51:30.293Z", + "timestamp": "2025-11-24T17:31:46.305Z", "disclosures": [] } }, diff --git a/metadata/modules/jwplayerBidAdapter.json b/metadata/modules/jwplayerBidAdapter.json index 03601c43bf2..d4e956349a8 100644 --- a/metadata/modules/jwplayerBidAdapter.json +++ b/metadata/modules/jwplayerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.jwplayer.com/devicestorage.json": { - "timestamp": "2025-11-19T20:51:30.311Z", + "timestamp": "2025-11-24T17:31:46.328Z", "disclosures": [] } }, diff --git a/metadata/modules/kargoBidAdapter.json b/metadata/modules/kargoBidAdapter.json index dc67cb78e6d..8ba1ff9b99d 100644 --- a/metadata/modules/kargoBidAdapter.json +++ b/metadata/modules/kargoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://storage.cloud.kargo.com/device_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:30.882Z", + "timestamp": "2025-11-24T17:31:46.474Z", "disclosures": [ { "identifier": "krg_crb", diff --git a/metadata/modules/kueezRtbBidAdapter.json b/metadata/modules/kueezRtbBidAdapter.json index 7adb8674f49..6c9c073f4eb 100644 --- a/metadata/modules/kueezRtbBidAdapter.json +++ b/metadata/modules/kueezRtbBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.kueez.com/tcf.json": { - "timestamp": "2025-11-19T20:51:30.901Z", + "timestamp": "2025-11-24T17:31:46.629Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/limelightDigitalBidAdapter.json b/metadata/modules/limelightDigitalBidAdapter.json index 659ce95ef58..4edd999b76f 100644 --- a/metadata/modules/limelightDigitalBidAdapter.json +++ b/metadata/modules/limelightDigitalBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://policy.iion.io/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:30.975Z", + "timestamp": "2025-11-24T17:31:46.685Z", "disclosures": [] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:31.006Z", + "timestamp": "2025-11-24T17:31:46.737Z", "disclosures": [] } }, diff --git a/metadata/modules/liveIntentIdSystem.json b/metadata/modules/liveIntentIdSystem.json index 6239d4a31e8..4a32dc59eb5 100644 --- a/metadata/modules/liveIntentIdSystem.json +++ b/metadata/modules/liveIntentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:31.007Z", + "timestamp": "2025-11-24T17:31:46.737Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/liveIntentRtdProvider.json b/metadata/modules/liveIntentRtdProvider.json index 6ff7475fe19..82d2f474903 100644 --- a/metadata/modules/liveIntentRtdProvider.json +++ b/metadata/modules/liveIntentRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:31.046Z", + "timestamp": "2025-11-24T17:31:46.795Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/livewrappedBidAdapter.json b/metadata/modules/livewrappedBidAdapter.json index 00b970f6826..b9b8bef290f 100644 --- a/metadata/modules/livewrappedBidAdapter.json +++ b/metadata/modules/livewrappedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://content.lwadm.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:31.047Z", + "timestamp": "2025-11-24T17:31:46.795Z", "disclosures": [ { "identifier": "uid", diff --git a/metadata/modules/loopmeBidAdapter.json b/metadata/modules/loopmeBidAdapter.json index 219e66cd8b5..d7a81d1d620 100644 --- a/metadata/modules/loopmeBidAdapter.json +++ b/metadata/modules/loopmeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://co.loopme.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:31.069Z", + "timestamp": "2025-11-24T17:31:46.816Z", "disclosures": [] } }, diff --git a/metadata/modules/lotamePanoramaIdSystem.json b/metadata/modules/lotamePanoramaIdSystem.json index 46314251fc3..2490f6310d1 100644 --- a/metadata/modules/lotamePanoramaIdSystem.json +++ b/metadata/modules/lotamePanoramaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tags.crwdcntrl.net/privacy/tcf-purposes.json": { - "timestamp": "2025-11-19T20:51:31.214Z", + "timestamp": "2025-11-24T17:31:46.955Z", "disclosures": [ { "identifier": "panoramaId", diff --git a/metadata/modules/luponmediaBidAdapter.json b/metadata/modules/luponmediaBidAdapter.json index 797934db108..aef95710768 100644 --- a/metadata/modules/luponmediaBidAdapter.json +++ b/metadata/modules/luponmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://luponmedia.com/vendor_device_storage.json": { - "timestamp": "2025-11-19T20:51:31.229Z", + "timestamp": "2025-11-24T17:31:46.974Z", "disclosures": [] } }, diff --git a/metadata/modules/madvertiseBidAdapter.json b/metadata/modules/madvertiseBidAdapter.json index 760afedd2cc..dbf29cf946d 100644 --- a/metadata/modules/madvertiseBidAdapter.json +++ b/metadata/modules/madvertiseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.bluestack.app/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:31.756Z", + "timestamp": "2025-11-24T17:31:47.374Z", "disclosures": [] } }, diff --git a/metadata/modules/marsmediaBidAdapter.json b/metadata/modules/marsmediaBidAdapter.json index 616c4e5f5cf..af02ba11bad 100644 --- a/metadata/modules/marsmediaBidAdapter.json +++ b/metadata/modules/marsmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mars.media/apis/tcf-v2.json": { - "timestamp": "2025-11-19T20:51:32.115Z", + "timestamp": "2025-11-24T17:31:47.725Z", "disclosures": [] } }, diff --git a/metadata/modules/mediaConsortiumBidAdapter.json b/metadata/modules/mediaConsortiumBidAdapter.json index 21f9a7ad631..2da9701345c 100644 --- a/metadata/modules/mediaConsortiumBidAdapter.json +++ b/metadata/modules/mediaConsortiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.hubvisor.io/assets/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:32.236Z", + "timestamp": "2025-11-24T17:31:47.825Z", "disclosures": [ { "identifier": "hbv:turbo-cmp", diff --git a/metadata/modules/mediaforceBidAdapter.json b/metadata/modules/mediaforceBidAdapter.json index a5d933f8cc5..2dfefe125b9 100644 --- a/metadata/modules/mediaforceBidAdapter.json +++ b/metadata/modules/mediaforceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://comparisons.org/privacy.json": { - "timestamp": "2025-11-19T20:51:32.366Z", + "timestamp": "2025-11-24T17:31:47.838Z", "disclosures": [] } }, diff --git a/metadata/modules/mediafuseBidAdapter.json b/metadata/modules/mediafuseBidAdapter.json index fbe6c0b1f36..432c05c7e04 100644 --- a/metadata/modules/mediafuseBidAdapter.json +++ b/metadata/modules/mediafuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2025-11-19T20:51:32.385Z", + "timestamp": "2025-11-24T17:31:47.876Z", "disclosures": [] } }, diff --git a/metadata/modules/mediagoBidAdapter.json b/metadata/modules/mediagoBidAdapter.json index 11856c9c3c2..4c72892512f 100644 --- a/metadata/modules/mediagoBidAdapter.json +++ b/metadata/modules/mediagoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.mediago.io/js/tcf.json": { - "timestamp": "2025-11-19T20:51:32.386Z", + "timestamp": "2025-11-24T17:31:47.876Z", "disclosures": [] } }, diff --git a/metadata/modules/mediakeysBidAdapter.json b/metadata/modules/mediakeysBidAdapter.json index c1866cdc1f0..2dad8f49917 100644 --- a/metadata/modules/mediakeysBidAdapter.json +++ b/metadata/modules/mediakeysBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.eu-west-3.amazonaws.com/adserving.resourcekeys.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:32.459Z", + "timestamp": "2025-11-24T17:31:48.025Z", "disclosures": [] } }, diff --git a/metadata/modules/medianetBidAdapter.json b/metadata/modules/medianetBidAdapter.json index 4765a26023d..9f6759655e9 100644 --- a/metadata/modules/medianetBidAdapter.json +++ b/metadata/modules/medianetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.media.net/tcfv2/gvl/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:32.743Z", + "timestamp": "2025-11-24T17:31:48.314Z", "disclosures": [ { "identifier": "_mNExInsl", @@ -246,7 +246,7 @@ ] }, "https://trustedstack.com/tcf/gvl/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:32.879Z", + "timestamp": "2025-11-24T17:31:48.378Z", "disclosures": [ { "identifier": "usp_status", diff --git a/metadata/modules/mediasquareBidAdapter.json b/metadata/modules/mediasquareBidAdapter.json index 3ab9de062b7..abcf774f3ee 100644 --- a/metadata/modules/mediasquareBidAdapter.json +++ b/metadata/modules/mediasquareBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediasquare.fr/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:32.917Z", + "timestamp": "2025-11-24T17:31:48.443Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidBidAdapter.json b/metadata/modules/mgidBidAdapter.json index 11ba1aedc46..020d387b576 100644 --- a/metadata/modules/mgidBidAdapter.json +++ b/metadata/modules/mgidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2025-11-19T20:51:33.449Z", + "timestamp": "2025-11-24T17:31:48.968Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidRtdProvider.json b/metadata/modules/mgidRtdProvider.json index b627ea6172a..54d3cfa0d01 100644 --- a/metadata/modules/mgidRtdProvider.json +++ b/metadata/modules/mgidRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2025-11-19T20:51:33.545Z", + "timestamp": "2025-11-24T17:31:49.011Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidXBidAdapter.json b/metadata/modules/mgidXBidAdapter.json index 729e83d291c..92a1ec800bf 100644 --- a/metadata/modules/mgidXBidAdapter.json +++ b/metadata/modules/mgidXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2025-11-19T20:51:33.545Z", + "timestamp": "2025-11-24T17:31:49.011Z", "disclosures": [] } }, diff --git a/metadata/modules/minutemediaBidAdapter.json b/metadata/modules/minutemediaBidAdapter.json index 98998cf1ad3..0507bc1aa10 100644 --- a/metadata/modules/minutemediaBidAdapter.json +++ b/metadata/modules/minutemediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://disclosures.mmctsvc.com/device-storage.json": { - "timestamp": "2025-11-19T20:51:33.546Z", + "timestamp": "2025-11-24T17:31:49.011Z", "disclosures": [] } }, diff --git a/metadata/modules/missenaBidAdapter.json b/metadata/modules/missenaBidAdapter.json index 4d433c3a2bf..831200d41c5 100644 --- a/metadata/modules/missenaBidAdapter.json +++ b/metadata/modules/missenaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.missena.io/iab.json": { - "timestamp": "2025-11-19T20:51:33.577Z", + "timestamp": "2025-11-24T17:31:49.044Z", "disclosures": [] } }, diff --git a/metadata/modules/mobianRtdProvider.json b/metadata/modules/mobianRtdProvider.json index 03233c61c19..2b19c4f17da 100644 --- a/metadata/modules/mobianRtdProvider.json +++ b/metadata/modules/mobianRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.outcomes.net/tcf.json": { - "timestamp": "2025-11-19T20:51:33.631Z", + "timestamp": "2025-11-24T17:31:49.105Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiBidAdapter.json b/metadata/modules/mobkoiBidAdapter.json index 73706e77eb1..9b845829345 100644 --- a/metadata/modules/mobkoiBidAdapter.json +++ b/metadata/modules/mobkoiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:33.651Z", + "timestamp": "2025-11-24T17:31:49.172Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiIdSystem.json b/metadata/modules/mobkoiIdSystem.json index 3283be58b12..4071592e276 100644 --- a/metadata/modules/mobkoiIdSystem.json +++ b/metadata/modules/mobkoiIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:33.671Z", + "timestamp": "2025-11-24T17:31:49.193Z", "disclosures": [] } }, diff --git a/metadata/modules/msftBidAdapter.json b/metadata/modules/msftBidAdapter.json index 083a53a9935..efeaf84c8ca 100644 --- a/metadata/modules/msftBidAdapter.json +++ b/metadata/modules/msftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2025-11-19T20:51:33.671Z", + "timestamp": "2025-11-24T17:31:49.193Z", "disclosures": [] } }, diff --git a/metadata/modules/nativeryBidAdapter.json b/metadata/modules/nativeryBidAdapter.json index e4f1a7a04ed..08d6bb4e728 100644 --- a/metadata/modules/nativeryBidAdapter.json +++ b/metadata/modules/nativeryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnimg.nativery.com/widget/js/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:33.672Z", + "timestamp": "2025-11-24T17:31:49.194Z", "disclosures": [] } }, diff --git a/metadata/modules/nativoBidAdapter.json b/metadata/modules/nativoBidAdapter.json index 36f38526ff4..8e79b037560 100644 --- a/metadata/modules/nativoBidAdapter.json +++ b/metadata/modules/nativoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.nativo.com/tcf-disclosures.json": { - "timestamp": "2025-11-19T20:51:34.024Z", + "timestamp": "2025-11-24T17:31:49.546Z", "disclosures": [] } }, diff --git a/metadata/modules/newspassidBidAdapter.json b/metadata/modules/newspassidBidAdapter.json index 1d072cda0f9..7402f159adf 100644 --- a/metadata/modules/newspassidBidAdapter.json +++ b/metadata/modules/newspassidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2025-11-19T20:51:34.046Z", + "timestamp": "2025-11-24T17:31:49.567Z", "disclosures": [] } }, diff --git a/metadata/modules/nextMillenniumBidAdapter.json b/metadata/modules/nextMillenniumBidAdapter.json index f647c5dee6b..91723710716 100644 --- a/metadata/modules/nextMillenniumBidAdapter.json +++ b/metadata/modules/nextMillenniumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://nextmillennium.io/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:34.047Z", + "timestamp": "2025-11-24T17:31:49.567Z", "disclosures": [] } }, diff --git a/metadata/modules/nextrollBidAdapter.json b/metadata/modules/nextrollBidAdapter.json index e6a4502aa76..e052e997746 100644 --- a/metadata/modules/nextrollBidAdapter.json +++ b/metadata/modules/nextrollBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.adroll.com/shares/device_storage.json": { - "timestamp": "2025-11-19T20:51:34.118Z", + "timestamp": "2025-11-24T17:31:49.644Z", "disclosures": [ { "identifier": "__adroll_fpc", diff --git a/metadata/modules/nexx360BidAdapter.json b/metadata/modules/nexx360BidAdapter.json index 902e839f5cd..9eb1f387c05 100644 --- a/metadata/modules/nexx360BidAdapter.json +++ b/metadata/modules/nexx360BidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:34.571Z", + "timestamp": "2025-11-24T17:31:50.061Z", "disclosures": [] }, "https://static.first-id.fr/tcf/cookie.json": { - "timestamp": "2025-11-19T20:51:34.414Z", + "timestamp": "2025-11-24T17:31:49.924Z", "disclosures": [] }, "https://i.plug.it/banners/js/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:34.441Z", + "timestamp": "2025-11-24T17:31:49.945Z", "disclosures": [] }, "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:34.571Z", + "timestamp": "2025-11-24T17:31:50.061Z", "disclosures": [ { "identifier": "glomexUser", @@ -46,11 +46,11 @@ ] }, "https://mediafuse.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:34.571Z", + "timestamp": "2025-11-24T17:31:50.061Z", "disclosures": [] }, "https://gdpr.pubx.ai/devicestoragedisclosure.json": { - "timestamp": "2025-11-19T20:51:34.657Z", + "timestamp": "2025-11-24T17:31:50.160Z", "disclosures": [ { "identifier": "pubx:defaults", @@ -65,7 +65,7 @@ ] }, "https://yieldbird.com/devicestorage.json": { - "timestamp": "2025-11-19T20:51:34.700Z", + "timestamp": "2025-11-24T17:31:50.205Z", "disclosures": [] } }, diff --git a/metadata/modules/nobidBidAdapter.json b/metadata/modules/nobidBidAdapter.json index 860d8b6a786..2da0f10ba38 100644 --- a/metadata/modules/nobidBidAdapter.json +++ b/metadata/modules/nobidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://public.servenobid.com/gdpr_tcf/vendor_device_storage_operational_disclosures.json": { - "timestamp": "2025-11-19T20:51:35.069Z", + "timestamp": "2025-11-24T17:31:50.570Z", "disclosures": [] } }, diff --git a/metadata/modules/nodalsAiRtdProvider.json b/metadata/modules/nodalsAiRtdProvider.json index 80e71b663ae..3a58b412f8b 100644 --- a/metadata/modules/nodalsAiRtdProvider.json +++ b/metadata/modules/nodalsAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.nodals.ai/vendor.json": { - "timestamp": "2025-11-19T20:51:35.089Z", + "timestamp": "2025-11-24T17:31:50.582Z", "disclosures": [ { "identifier": "localStorage", diff --git a/metadata/modules/novatiqIdSystem.json b/metadata/modules/novatiqIdSystem.json index 091a3406069..cd891c153a7 100644 --- a/metadata/modules/novatiqIdSystem.json +++ b/metadata/modules/novatiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://novatiq.com/privacy/iab/novatiq.json": { - "timestamp": "2025-11-19T20:51:36.315Z", + "timestamp": "2025-11-24T17:31:51.770Z", "disclosures": [ { "identifier": "novatiq", diff --git a/metadata/modules/oguryBidAdapter.json b/metadata/modules/oguryBidAdapter.json index cf40ea10f04..6a16caa2370 100644 --- a/metadata/modules/oguryBidAdapter.json +++ b/metadata/modules/oguryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.ogury.co/disclosure.json": { - "timestamp": "2025-11-19T20:51:36.644Z", + "timestamp": "2025-11-24T17:31:52.095Z", "disclosures": [] } }, diff --git a/metadata/modules/omnidexBidAdapter.json b/metadata/modules/omnidexBidAdapter.json index 9a67d3c863d..617db7a915d 100644 --- a/metadata/modules/omnidexBidAdapter.json +++ b/metadata/modules/omnidexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.omni-dex.io/devicestorage.json": { - "timestamp": "2025-11-19T20:51:36.709Z", + "timestamp": "2025-11-24T17:31:52.162Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/omsBidAdapter.json b/metadata/modules/omsBidAdapter.json index e802bd7f5fd..f5fa4e2b449 100644 --- a/metadata/modules/omsBidAdapter.json +++ b/metadata/modules/omsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2025-11-19T20:51:36.804Z", + "timestamp": "2025-11-24T17:31:52.209Z", "disclosures": [] } }, diff --git a/metadata/modules/onetagBidAdapter.json b/metadata/modules/onetagBidAdapter.json index 8db87fd9a54..911241ffeec 100644 --- a/metadata/modules/onetagBidAdapter.json +++ b/metadata/modules/onetagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://onetag-cdn.com/privacy/tcf_storage.json": { - "timestamp": "2025-11-19T20:51:36.805Z", + "timestamp": "2025-11-24T17:31:52.209Z", "disclosures": [ { "identifier": "onetag_sid", diff --git a/metadata/modules/openwebBidAdapter.json b/metadata/modules/openwebBidAdapter.json index 950b15d5a40..0a8722b7832 100644 --- a/metadata/modules/openwebBidAdapter.json +++ b/metadata/modules/openwebBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2025-11-19T20:51:37.157Z", + "timestamp": "2025-11-24T17:31:52.508Z", "disclosures": [] } }, diff --git a/metadata/modules/openxBidAdapter.json b/metadata/modules/openxBidAdapter.json index bbaade2d23e..6c25ea9d660 100644 --- a/metadata/modules/openxBidAdapter.json +++ b/metadata/modules/openxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.openx.com/device-storage.json": { - "timestamp": "2025-11-19T20:51:37.191Z", + "timestamp": "2025-11-24T17:31:52.544Z", "disclosures": [] } }, diff --git a/metadata/modules/operaadsBidAdapter.json b/metadata/modules/operaadsBidAdapter.json index 311a6d714cb..d425a951e80 100644 --- a/metadata/modules/operaadsBidAdapter.json +++ b/metadata/modules/operaadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://res.adx.opera.com/dsd.json": { - "timestamp": "2025-11-19T20:51:37.267Z", + "timestamp": "2025-11-24T17:31:52.621Z", "disclosures": [] } }, diff --git a/metadata/modules/optidigitalBidAdapter.json b/metadata/modules/optidigitalBidAdapter.json index 7258949c64c..231ccab9965 100644 --- a/metadata/modules/optidigitalBidAdapter.json +++ b/metadata/modules/optidigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://scripts.opti-digital.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:37.295Z", + "timestamp": "2025-11-24T17:31:52.645Z", "disclosures": [] } }, diff --git a/metadata/modules/optoutBidAdapter.json b/metadata/modules/optoutBidAdapter.json index eed3e4d239c..1522b8f1edb 100644 --- a/metadata/modules/optoutBidAdapter.json +++ b/metadata/modules/optoutBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserving.optoutadvertising.com/dsd": { - "timestamp": "2025-11-19T20:51:37.340Z", + "timestamp": "2025-11-24T17:31:52.685Z", "disclosures": [] } }, diff --git a/metadata/modules/orbidderBidAdapter.json b/metadata/modules/orbidderBidAdapter.json index b9df0f08646..e9e28f05edf 100644 --- a/metadata/modules/orbidderBidAdapter.json +++ b/metadata/modules/orbidderBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://orbidder.otto.de/disclosure/dsd.json": { - "timestamp": "2025-11-19T20:51:37.600Z", + "timestamp": "2025-11-24T17:31:52.963Z", "disclosures": [] } }, diff --git a/metadata/modules/outbrainBidAdapter.json b/metadata/modules/outbrainBidAdapter.json index 9f2cba4f046..baaec9e0f3d 100644 --- a/metadata/modules/outbrainBidAdapter.json +++ b/metadata/modules/outbrainBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.outbrain.com/privacy/wp-json/privacy/v2/devicestorage.json": { - "timestamp": "2025-11-19T20:51:37.889Z", + "timestamp": "2025-11-24T17:31:53.236Z", "disclosures": [ { "identifier": "dicbo_id", diff --git a/metadata/modules/ozoneBidAdapter.json b/metadata/modules/ozoneBidAdapter.json index e5de08e8dfd..d8805c7d844 100644 --- a/metadata/modules/ozoneBidAdapter.json +++ b/metadata/modules/ozoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://prebid.the-ozone-project.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:38.077Z", + "timestamp": "2025-11-24T17:31:53.507Z", "disclosures": [] } }, diff --git a/metadata/modules/pairIdSystem.json b/metadata/modules/pairIdSystem.json index fbfb0d29fc8..fc7260bf6fd 100644 --- a/metadata/modules/pairIdSystem.json +++ b/metadata/modules/pairIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gstatic.com/iabtcf/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:38.338Z", + "timestamp": "2025-11-24T17:31:53.686Z", "disclosures": [ { "identifier": "__gads", diff --git a/metadata/modules/performaxBidAdapter.json b/metadata/modules/performaxBidAdapter.json index 4a45428b467..66b6faac1a9 100644 --- a/metadata/modules/performaxBidAdapter.json +++ b/metadata/modules/performaxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.performax.cz/device_storage.json": { - "timestamp": "2025-11-19T20:51:38.364Z", + "timestamp": "2025-11-24T17:31:53.706Z", "disclosures": [ { "identifier": "px2uid", diff --git a/metadata/modules/permutiveIdentityManagerIdSystem.json b/metadata/modules/permutiveIdentityManagerIdSystem.json index e3b82502b76..37fb30510e8 100644 --- a/metadata/modules/permutiveIdentityManagerIdSystem.json +++ b/metadata/modules/permutiveIdentityManagerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2025-11-19T20:51:38.784Z", + "timestamp": "2025-11-24T17:31:54.211Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/permutiveRtdProvider.json b/metadata/modules/permutiveRtdProvider.json index 14fedd6d831..9c55e38cd8c 100644 --- a/metadata/modules/permutiveRtdProvider.json +++ b/metadata/modules/permutiveRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2025-11-19T20:51:39.019Z", + "timestamp": "2025-11-24T17:31:54.378Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/pixfutureBidAdapter.json b/metadata/modules/pixfutureBidAdapter.json index b37cd00a26b..5700ff89641 100644 --- a/metadata/modules/pixfutureBidAdapter.json +++ b/metadata/modules/pixfutureBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.pixfuture.com/vendor-disclosures.json": { - "timestamp": "2025-11-19T20:51:39.021Z", + "timestamp": "2025-11-24T17:31:54.380Z", "disclosures": [] } }, diff --git a/metadata/modules/playdigoBidAdapter.json b/metadata/modules/playdigoBidAdapter.json index 60381299bfe..767000fc575 100644 --- a/metadata/modules/playdigoBidAdapter.json +++ b/metadata/modules/playdigoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://playdigo.com/file.json": { - "timestamp": "2025-11-19T20:51:39.074Z", + "timestamp": "2025-11-24T17:31:54.440Z", "disclosures": [] } }, diff --git a/metadata/modules/prebid-core.json b/metadata/modules/prebid-core.json index 7fbdf54ee46..87822864782 100644 --- a/metadata/modules/prebid-core.json +++ b/metadata/modules/prebid-core.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json": { - "timestamp": "2025-11-19T20:51:08.091Z", + "timestamp": "2025-11-24T17:31:25.741Z", "disclosures": [ { "identifier": "_rdc*", @@ -23,7 +23,7 @@ ] }, "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2025-11-19T20:51:08.092Z", + "timestamp": "2025-11-24T17:31:25.743Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/precisoBidAdapter.json b/metadata/modules/precisoBidAdapter.json index e05b75bd550..b3ecaf176dd 100644 --- a/metadata/modules/precisoBidAdapter.json +++ b/metadata/modules/precisoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://preciso.net/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:39.262Z", + "timestamp": "2025-11-24T17:31:54.615Z", "disclosures": [ { "identifier": "XXXXX_viewnew", diff --git a/metadata/modules/prismaBidAdapter.json b/metadata/modules/prismaBidAdapter.json index b9873fe45c5..bb04424e3f7 100644 --- a/metadata/modules/prismaBidAdapter.json +++ b/metadata/modules/prismaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:39.489Z", + "timestamp": "2025-11-24T17:31:54.853Z", "disclosures": [] } }, diff --git a/metadata/modules/programmaticXBidAdapter.json b/metadata/modules/programmaticXBidAdapter.json index fcbe8780460..1616d2f452d 100644 --- a/metadata/modules/programmaticXBidAdapter.json +++ b/metadata/modules/programmaticXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://progrtb.com/tcf-vendor-disclosures.json": { - "timestamp": "2025-11-19T20:51:39.490Z", + "timestamp": "2025-11-24T17:31:54.853Z", "disclosures": [] } }, diff --git a/metadata/modules/proxistoreBidAdapter.json b/metadata/modules/proxistoreBidAdapter.json index 1744e2edd89..65ab57d1d61 100644 --- a/metadata/modules/proxistoreBidAdapter.json +++ b/metadata/modules/proxistoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://abs.proxistore.com/assets/json/proxistore_device_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:39.534Z", + "timestamp": "2025-11-24T17:31:54.924Z", "disclosures": [] } }, diff --git a/metadata/modules/publinkIdSystem.json b/metadata/modules/publinkIdSystem.json index 4c7748afbf2..6051054a66d 100644 --- a/metadata/modules/publinkIdSystem.json +++ b/metadata/modules/publinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.8/device_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:39.911Z", + "timestamp": "2025-11-24T17:31:55.303Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/pubmaticBidAdapter.json b/metadata/modules/pubmaticBidAdapter.json index 2884bce73ef..bd3388fa6f7 100644 --- a/metadata/modules/pubmaticBidAdapter.json +++ b/metadata/modules/pubmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2025-11-19T20:51:39.912Z", + "timestamp": "2025-11-24T17:31:55.304Z", "disclosures": [] } }, diff --git a/metadata/modules/pubmaticIdSystem.json b/metadata/modules/pubmaticIdSystem.json index 7883f89271a..be0eb58e655 100644 --- a/metadata/modules/pubmaticIdSystem.json +++ b/metadata/modules/pubmaticIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2025-11-19T20:51:39.955Z", + "timestamp": "2025-11-24T17:31:55.351Z", "disclosures": [] } }, diff --git a/metadata/modules/pulsepointBidAdapter.json b/metadata/modules/pulsepointBidAdapter.json index 0fcc3d50066..b3744f2af64 100644 --- a/metadata/modules/pulsepointBidAdapter.json +++ b/metadata/modules/pulsepointBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bh.contextweb.com/tcf/vendorInfo.json": { - "timestamp": "2025-11-19T20:51:39.957Z", + "timestamp": "2025-11-24T17:31:55.352Z", "disclosures": [] } }, diff --git a/metadata/modules/quantcastBidAdapter.json b/metadata/modules/quantcastBidAdapter.json index 52da89d65fe..a7805cae422 100644 --- a/metadata/modules/quantcastBidAdapter.json +++ b/metadata/modules/quantcastBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2025-11-19T20:51:39.976Z", + "timestamp": "2025-11-24T17:31:55.372Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/quantcastIdSystem.json b/metadata/modules/quantcastIdSystem.json index af2c2e18ed2..30672d1f995 100644 --- a/metadata/modules/quantcastIdSystem.json +++ b/metadata/modules/quantcastIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2025-11-19T20:51:40.184Z", + "timestamp": "2025-11-24T17:31:55.579Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/r2b2BidAdapter.json b/metadata/modules/r2b2BidAdapter.json index d01e396cf85..a29d5fb662e 100644 --- a/metadata/modules/r2b2BidAdapter.json +++ b/metadata/modules/r2b2BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.r2b2.io/cookie_disclosure": { - "timestamp": "2025-11-19T20:51:40.185Z", + "timestamp": "2025-11-24T17:31:55.580Z", "disclosures": [ { "identifier": "AdTrack-hide-*", diff --git a/metadata/modules/readpeakBidAdapter.json b/metadata/modules/readpeakBidAdapter.json index 84a63dfce45..44f07b47e86 100644 --- a/metadata/modules/readpeakBidAdapter.json +++ b/metadata/modules/readpeakBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.readpeak.com/tcf/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:40.573Z", + "timestamp": "2025-11-24T17:31:55.979Z", "disclosures": [ { "identifier": "rp_uidfp", diff --git a/metadata/modules/relayBidAdapter.json b/metadata/modules/relayBidAdapter.json index e7400919ba9..5ef434b371d 100644 --- a/metadata/modules/relayBidAdapter.json +++ b/metadata/modules/relayBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://relay42.com/hubfs/raw_assets/public/IAB.json": { - "timestamp": "2025-11-19T20:51:40.603Z", + "timestamp": "2025-11-24T17:31:56.006Z", "disclosures": [] } }, diff --git a/metadata/modules/relevantdigitalBidAdapter.json b/metadata/modules/relevantdigitalBidAdapter.json index c6676bc9a18..87f1f123a95 100644 --- a/metadata/modules/relevantdigitalBidAdapter.json +++ b/metadata/modules/relevantdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.relevant-digital.com/resources/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:40.699Z", + "timestamp": "2025-11-24T17:31:56.081Z", "disclosures": [] } }, diff --git a/metadata/modules/resetdigitalBidAdapter.json b/metadata/modules/resetdigitalBidAdapter.json index 320913ab3d3..3c1474dae9e 100644 --- a/metadata/modules/resetdigitalBidAdapter.json +++ b/metadata/modules/resetdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resetdigital.co/GDPR-TCF.json": { - "timestamp": "2025-11-19T20:51:40.878Z", + "timestamp": "2025-11-24T17:31:56.366Z", "disclosures": [] } }, diff --git a/metadata/modules/responsiveAdsBidAdapter.json b/metadata/modules/responsiveAdsBidAdapter.json index 9fa482f8c47..f4258e44fc7 100644 --- a/metadata/modules/responsiveAdsBidAdapter.json +++ b/metadata/modules/responsiveAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publish.responsiveads.com/tcf/tcf-v2.json": { - "timestamp": "2025-11-19T20:51:40.922Z", + "timestamp": "2025-11-24T17:31:56.405Z", "disclosures": [] } }, diff --git a/metadata/modules/revcontentBidAdapter.json b/metadata/modules/revcontentBidAdapter.json index c85e30b1da9..d4c3e518e9d 100644 --- a/metadata/modules/revcontentBidAdapter.json +++ b/metadata/modules/revcontentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sothebys.revcontent.com/static/device_storage.json": { - "timestamp": "2025-11-19T20:51:40.952Z", + "timestamp": "2025-11-24T17:31:56.431Z", "disclosures": [ { "identifier": "__ID", diff --git a/metadata/modules/rhythmoneBidAdapter.json b/metadata/modules/rhythmoneBidAdapter.json index 8a309ace5cf..dd348b55a33 100644 --- a/metadata/modules/rhythmoneBidAdapter.json +++ b/metadata/modules/rhythmoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:40.980Z", + "timestamp": "2025-11-24T17:31:56.460Z", "disclosures": [] } }, diff --git a/metadata/modules/richaudienceBidAdapter.json b/metadata/modules/richaudienceBidAdapter.json index 4b9eafb1589..7419aa1e93e 100644 --- a/metadata/modules/richaudienceBidAdapter.json +++ b/metadata/modules/richaudienceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnj.richaudience.com/52a26ab9400b2a9f5aabfa20acf3196g.json": { - "timestamp": "2025-11-19T20:51:41.216Z", + "timestamp": "2025-11-24T17:31:56.745Z", "disclosures": [] } }, diff --git a/metadata/modules/riseBidAdapter.json b/metadata/modules/riseBidAdapter.json index e83029082bb..1f79261946a 100644 --- a/metadata/modules/riseBidAdapter.json +++ b/metadata/modules/riseBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d2pm7iglz0b6eq.cloudfront.net/RiseDeviceStorage.json": { - "timestamp": "2025-11-19T20:51:41.284Z", + "timestamp": "2025-11-24T17:31:56.811Z", "disclosures": [] }, "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2025-11-19T20:51:41.284Z", + "timestamp": "2025-11-24T17:31:56.811Z", "disclosures": [] } }, diff --git a/metadata/modules/rixengineBidAdapter.json b/metadata/modules/rixengineBidAdapter.json index db0ff171189..20c634466c2 100644 --- a/metadata/modules/rixengineBidAdapter.json +++ b/metadata/modules/rixengineBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.algorix.co/gdpr-disclosure.json": { - "timestamp": "2025-11-19T20:51:41.285Z", + "timestamp": "2025-11-24T17:31:56.812Z", "disclosures": [] } }, diff --git a/metadata/modules/rtbhouseBidAdapter.json b/metadata/modules/rtbhouseBidAdapter.json index 4af03548531..9012e34dc77 100644 --- a/metadata/modules/rtbhouseBidAdapter.json +++ b/metadata/modules/rtbhouseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://rtbhouse.com/DeviceStorage.json": { - "timestamp": "2025-11-19T20:51:41.308Z", + "timestamp": "2025-11-24T17:31:56.832Z", "disclosures": [ { "identifier": "_rtbh.*", diff --git a/metadata/modules/rubiconBidAdapter.json b/metadata/modules/rubiconBidAdapter.json index 4c0a7bea043..13a1cb7255e 100644 --- a/metadata/modules/rubiconBidAdapter.json +++ b/metadata/modules/rubiconBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.rubiconproject.com/dvplus/devicestoragedisclosure.json": { - "timestamp": "2025-11-19T20:51:41.772Z", + "timestamp": "2025-11-24T17:31:57.034Z", "disclosures": [] } }, diff --git a/metadata/modules/scaliburBidAdapter.json b/metadata/modules/scaliburBidAdapter.json index 435a1614543..422f0d33531 100644 --- a/metadata/modules/scaliburBidAdapter.json +++ b/metadata/modules/scaliburBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://legal.overwolf.com/docs/overwolf/website/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:42.056Z", + "timestamp": "2025-11-24T17:31:57.316Z", "disclosures": [ { "identifier": "scluid", diff --git a/metadata/modules/screencoreBidAdapter.json b/metadata/modules/screencoreBidAdapter.json index 534b6c896fc..e89672c7bfb 100644 --- a/metadata/modules/screencoreBidAdapter.json +++ b/metadata/modules/screencoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://screencore.io/tcf.json": { - "timestamp": "2025-11-19T20:51:42.072Z", + "timestamp": "2025-11-24T17:31:57.333Z", "disclosures": null } }, diff --git a/metadata/modules/seedingAllianceBidAdapter.json b/metadata/modules/seedingAllianceBidAdapter.json index fd098334269..b36061903ac 100644 --- a/metadata/modules/seedingAllianceBidAdapter.json +++ b/metadata/modules/seedingAllianceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.nativendo.de/cdn/asset/tcf/purpose-specific-storage-and-access-information.json": { - "timestamp": "2025-11-19T20:51:44.670Z", + "timestamp": "2025-11-24T17:31:59.924Z", "disclosures": [] } }, diff --git a/metadata/modules/seedtagBidAdapter.json b/metadata/modules/seedtagBidAdapter.json index af146802a6b..715c3f97abe 100644 --- a/metadata/modules/seedtagBidAdapter.json +++ b/metadata/modules/seedtagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2025-11-19T20:51:44.716Z", + "timestamp": "2025-11-24T17:31:59.946Z", "disclosures": [] } }, diff --git a/metadata/modules/semantiqRtdProvider.json b/metadata/modules/semantiqRtdProvider.json index 9f3260038dd..37ced7d3650 100644 --- a/metadata/modules/semantiqRtdProvider.json +++ b/metadata/modules/semantiqRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audienzz.com/device_storage_disclosure_vendor_783.json": { - "timestamp": "2025-11-19T20:51:44.725Z", + "timestamp": "2025-11-24T17:31:59.947Z", "disclosures": [] } }, diff --git a/metadata/modules/setupadBidAdapter.json b/metadata/modules/setupadBidAdapter.json index 64902e02316..4d9640738f3 100644 --- a/metadata/modules/setupadBidAdapter.json +++ b/metadata/modules/setupadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cookies.stpd.cloud/disclosures.json": { - "timestamp": "2025-11-19T20:51:44.797Z", + "timestamp": "2025-11-24T17:31:59.997Z", "disclosures": [] } }, diff --git a/metadata/modules/sevioBidAdapter.json b/metadata/modules/sevioBidAdapter.json index 37262a8bb45..f8fbbe5211b 100644 --- a/metadata/modules/sevioBidAdapter.json +++ b/metadata/modules/sevioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sevio.com/tcf.json": { - "timestamp": "2025-11-19T20:51:44.964Z", + "timestamp": "2025-11-24T17:32:00.127Z", "disclosures": [] } }, diff --git a/metadata/modules/sharedIdSystem.json b/metadata/modules/sharedIdSystem.json index 103686eec7f..f7df5e5f10a 100644 --- a/metadata/modules/sharedIdSystem.json +++ b/metadata/modules/sharedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2025-11-19T20:51:45.132Z", + "timestamp": "2025-11-24T17:32:00.263Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/sharethroughBidAdapter.json b/metadata/modules/sharethroughBidAdapter.json index 10ae75097d0..9389105c3c1 100644 --- a/metadata/modules/sharethroughBidAdapter.json +++ b/metadata/modules/sharethroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.sharethrough.com/gvl.json": { - "timestamp": "2025-11-19T20:51:45.139Z", + "timestamp": "2025-11-24T17:32:00.264Z", "disclosures": [] } }, diff --git a/metadata/modules/showheroes-bsBidAdapter.json b/metadata/modules/showheroes-bsBidAdapter.json index a42de2663f7..2307722c310 100644 --- a/metadata/modules/showheroes-bsBidAdapter.json +++ b/metadata/modules/showheroes-bsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static-origin.showheroes.com/gvl_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:45.221Z", + "timestamp": "2025-11-24T17:32:00.286Z", "disclosures": [] } }, diff --git a/metadata/modules/silvermobBidAdapter.json b/metadata/modules/silvermobBidAdapter.json index d5a8d366403..4ad031ba997 100644 --- a/metadata/modules/silvermobBidAdapter.json +++ b/metadata/modules/silvermobBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://silvermob.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:45.652Z", + "timestamp": "2025-11-24T17:32:00.708Z", "disclosures": [] } }, diff --git a/metadata/modules/sirdataRtdProvider.json b/metadata/modules/sirdataRtdProvider.json index a0000813db7..21a84cd6d98 100644 --- a/metadata/modules/sirdataRtdProvider.json +++ b/metadata/modules/sirdataRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sirdata.eu/sirdata_device_storage_disclosure.json": { - "timestamp": "2025-11-19T20:51:45.668Z", + "timestamp": "2025-11-24T17:32:00.731Z", "disclosures": [] } }, diff --git a/metadata/modules/smaatoBidAdapter.json b/metadata/modules/smaatoBidAdapter.json index f78f52100c4..4350c89732d 100644 --- a/metadata/modules/smaatoBidAdapter.json +++ b/metadata/modules/smaatoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resources.smaato.com/hubfs/Smaato/IAB/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:45.988Z", + "timestamp": "2025-11-24T17:32:01.065Z", "disclosures": [] } }, diff --git a/metadata/modules/smartadserverBidAdapter.json b/metadata/modules/smartadserverBidAdapter.json index 40f3a1a6e2d..8ed6c575827 100644 --- a/metadata/modules/smartadserverBidAdapter.json +++ b/metadata/modules/smartadserverBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2025-11-19T20:51:46.084Z", + "timestamp": "2025-11-24T17:32:01.126Z", "disclosures": [] } }, diff --git a/metadata/modules/smartxBidAdapter.json b/metadata/modules/smartxBidAdapter.json index fd7eabf9d7c..ba26f5cc86d 100644 --- a/metadata/modules/smartxBidAdapter.json +++ b/metadata/modules/smartxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.smartclip.net/iab/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:46.085Z", + "timestamp": "2025-11-24T17:32:01.127Z", "disclosures": [] } }, diff --git a/metadata/modules/smartyadsBidAdapter.json b/metadata/modules/smartyadsBidAdapter.json index 20ba7fece8e..6efe1a4afd1 100644 --- a/metadata/modules/smartyadsBidAdapter.json +++ b/metadata/modules/smartyadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smartyads.com/tcf.json": { - "timestamp": "2025-11-19T20:51:46.102Z", + "timestamp": "2025-11-24T17:32:01.145Z", "disclosures": [] } }, diff --git a/metadata/modules/smilewantedBidAdapter.json b/metadata/modules/smilewantedBidAdapter.json index bba81b93490..47e20c53df7 100644 --- a/metadata/modules/smilewantedBidAdapter.json +++ b/metadata/modules/smilewantedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smilewanted.com/vendor-device-storage-disclosures.json": { - "timestamp": "2025-11-19T20:51:46.145Z", + "timestamp": "2025-11-24T17:32:01.188Z", "disclosures": [] } }, diff --git a/metadata/modules/snigelBidAdapter.json b/metadata/modules/snigelBidAdapter.json index 13a8f3b522e..49efb0cf572 100644 --- a/metadata/modules/snigelBidAdapter.json +++ b/metadata/modules/snigelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.snigelweb.com/gvl/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:46.631Z", + "timestamp": "2025-11-24T17:32:01.638Z", "disclosures": [] } }, diff --git a/metadata/modules/sonaradsBidAdapter.json b/metadata/modules/sonaradsBidAdapter.json index 9972c24ccc8..f51f35d5547 100644 --- a/metadata/modules/sonaradsBidAdapter.json +++ b/metadata/modules/sonaradsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bridgeupp.com/device-storage-disclosure.json": { - "timestamp": "2025-11-19T20:51:46.676Z", + "timestamp": "2025-11-24T17:32:01.690Z", "disclosures": [] } }, diff --git a/metadata/modules/sonobiBidAdapter.json b/metadata/modules/sonobiBidAdapter.json index 45f0cfcd727..ba22af42fd2 100644 --- a/metadata/modules/sonobiBidAdapter.json +++ b/metadata/modules/sonobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sonobi.com/tcf2-device-storage-disclosure.json": { - "timestamp": "2025-11-19T20:51:46.917Z", + "timestamp": "2025-11-24T17:32:01.916Z", "disclosures": [] } }, diff --git a/metadata/modules/sovrnBidAdapter.json b/metadata/modules/sovrnBidAdapter.json index 72d52ec296c..992c70401f3 100644 --- a/metadata/modules/sovrnBidAdapter.json +++ b/metadata/modules/sovrnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sovrn.com/tcf-cookie-disclosure/disclosure.json": { - "timestamp": "2025-11-19T20:51:47.152Z", + "timestamp": "2025-11-24T17:32:02.153Z", "disclosures": [] } }, diff --git a/metadata/modules/sparteoBidAdapter.json b/metadata/modules/sparteoBidAdapter.json index 8775c8fd162..ae4eb717c5c 100644 --- a/metadata/modules/sparteoBidAdapter.json +++ b/metadata/modules/sparteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:47.212Z", + "timestamp": "2025-11-24T17:32:02.175Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/ssmasBidAdapter.json b/metadata/modules/ssmasBidAdapter.json index 9987d6d468e..1e82d9e05fe 100644 --- a/metadata/modules/ssmasBidAdapter.json +++ b/metadata/modules/ssmasBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://semseoymas.com/iab.json": { - "timestamp": "2025-11-19T20:51:47.488Z", + "timestamp": "2025-11-24T17:32:02.473Z", "disclosures": null } }, diff --git a/metadata/modules/sspBCBidAdapter.json b/metadata/modules/sspBCBidAdapter.json index 4b74ae80cf4..ecaf0326260 100644 --- a/metadata/modules/sspBCBidAdapter.json +++ b/metadata/modules/sspBCBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:48.083Z", + "timestamp": "2025-11-24T17:32:03.061Z", "disclosures": null } }, diff --git a/metadata/modules/stackadaptBidAdapter.json b/metadata/modules/stackadaptBidAdapter.json index 0c10acf9c32..05f85255abc 100644 --- a/metadata/modules/stackadaptBidAdapter.json +++ b/metadata/modules/stackadaptBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.amazonaws.com/stackadapt_public/disclosures.json": { - "timestamp": "2025-11-19T20:51:48.083Z", + "timestamp": "2025-11-24T17:32:03.062Z", "disclosures": [ { "identifier": "sa-camp-*", diff --git a/metadata/modules/startioBidAdapter.json b/metadata/modules/startioBidAdapter.json index 345eef10b8e..00f6ff94cdc 100644 --- a/metadata/modules/startioBidAdapter.json +++ b/metadata/modules/startioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://info.startappservice.com/tcf/start.io_domains.json": { - "timestamp": "2025-11-19T20:51:48.112Z", + "timestamp": "2025-11-24T17:32:03.127Z", "disclosures": [] } }, diff --git a/metadata/modules/stroeerCoreBidAdapter.json b/metadata/modules/stroeerCoreBidAdapter.json index 8979658efb2..7d2f1c3b46b 100644 --- a/metadata/modules/stroeerCoreBidAdapter.json +++ b/metadata/modules/stroeerCoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.stroeer.de/StroeerSSP_deviceStorage.json": { - "timestamp": "2025-11-19T20:51:48.129Z", + "timestamp": "2025-11-24T17:32:03.148Z", "disclosures": [] } }, diff --git a/metadata/modules/stvBidAdapter.json b/metadata/modules/stvBidAdapter.json index 431da5d0b5e..77971d9900c 100644 --- a/metadata/modules/stvBidAdapter.json +++ b/metadata/modules/stvBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/stv.json": { - "timestamp": "2025-11-19T20:51:48.464Z", + "timestamp": "2025-11-24T17:32:03.507Z", "disclosures": [] } }, diff --git a/metadata/modules/sublimeBidAdapter.json b/metadata/modules/sublimeBidAdapter.json index ed5e5e42678..f5341140539 100644 --- a/metadata/modules/sublimeBidAdapter.json +++ b/metadata/modules/sublimeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.ayads.co/cookiepolicy.json": { - "timestamp": "2025-11-19T20:51:49.146Z", + "timestamp": "2025-11-24T17:32:04.195Z", "disclosures": [ { "identifier": "dnt", diff --git a/metadata/modules/taboolaBidAdapter.json b/metadata/modules/taboolaBidAdapter.json index fb580391c59..973f21cc1d8 100644 --- a/metadata/modules/taboolaBidAdapter.json +++ b/metadata/modules/taboolaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2025-11-19T20:51:49.410Z", + "timestamp": "2025-11-24T17:32:04.464Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/taboolaIdSystem.json b/metadata/modules/taboolaIdSystem.json index 0a528a2a855..59719464534 100644 --- a/metadata/modules/taboolaIdSystem.json +++ b/metadata/modules/taboolaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2025-11-19T20:51:50.104Z", + "timestamp": "2025-11-24T17:32:05.100Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/tadvertisingBidAdapter.json b/metadata/modules/tadvertisingBidAdapter.json index c1eff5141fc..02b53a302e8 100644 --- a/metadata/modules/tadvertisingBidAdapter.json +++ b/metadata/modules/tadvertisingBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:50.104Z", + "timestamp": "2025-11-24T17:32:05.100Z", "disclosures": [] } }, diff --git a/metadata/modules/tappxBidAdapter.json b/metadata/modules/tappxBidAdapter.json index 0820c6e91d0..0f549c2060f 100644 --- a/metadata/modules/tappxBidAdapter.json +++ b/metadata/modules/tappxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tappx.com/devicestorage.json": { - "timestamp": "2025-11-19T20:51:50.105Z", + "timestamp": "2025-11-24T17:32:05.101Z", "disclosures": [] } }, diff --git a/metadata/modules/targetVideoBidAdapter.json b/metadata/modules/targetVideoBidAdapter.json index d928341fda6..660bd880c6d 100644 --- a/metadata/modules/targetVideoBidAdapter.json +++ b/metadata/modules/targetVideoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2025-11-19T20:51:50.138Z", + "timestamp": "2025-11-24T17:32:05.135Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/teadsBidAdapter.json b/metadata/modules/teadsBidAdapter.json index 0d1c9da97ec..43e6b02b82b 100644 --- a/metadata/modules/teadsBidAdapter.json +++ b/metadata/modules/teadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:50.138Z", + "timestamp": "2025-11-24T17:32:05.136Z", "disclosures": [] } }, diff --git a/metadata/modules/teadsIdSystem.json b/metadata/modules/teadsIdSystem.json index b05bfee171a..c5ada4747f5 100644 --- a/metadata/modules/teadsIdSystem.json +++ b/metadata/modules/teadsIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:50.164Z", + "timestamp": "2025-11-24T17:32:05.155Z", "disclosures": [] } }, diff --git a/metadata/modules/tealBidAdapter.json b/metadata/modules/tealBidAdapter.json index f3000f6cc1d..c4a7dcdba1c 100644 --- a/metadata/modules/tealBidAdapter.json +++ b/metadata/modules/tealBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://c.bids.ws/iab/disclosures.json": { - "timestamp": "2025-11-19T20:51:50.165Z", + "timestamp": "2025-11-24T17:32:05.155Z", "disclosures": [] } }, diff --git a/metadata/modules/tncIdSystem.json b/metadata/modules/tncIdSystem.json index 4159d72a123..2639743fe62 100644 --- a/metadata/modules/tncIdSystem.json +++ b/metadata/modules/tncIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.tncid.app/iab-tcf-device-storage-disclosure.json": { - "timestamp": "2025-11-19T20:51:50.204Z", + "timestamp": "2025-11-24T17:32:05.194Z", "disclosures": [] } }, diff --git a/metadata/modules/topicsFpdModule.json b/metadata/modules/topicsFpdModule.json index 3a1e57ff65b..0e73a97a44d 100644 --- a/metadata/modules/topicsFpdModule.json +++ b/metadata/modules/topicsFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/topicsFpdModule.json": { - "timestamp": "2025-11-19T20:51:08.093Z", + "timestamp": "2025-11-24T17:31:25.744Z", "disclosures": [ { "identifier": "prebid:topics", diff --git a/metadata/modules/toponBidAdapter.json b/metadata/modules/toponBidAdapter.json index 32944cafd7b..e9f5166d780 100644 --- a/metadata/modules/toponBidAdapter.json +++ b/metadata/modules/toponBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mores.toponad.net/tmp/tpn/toponads_tcf_disclosure.json": { - "timestamp": "2025-11-19T20:51:50.224Z", + "timestamp": "2025-11-24T17:32:05.215Z", "disclosures": [] } }, diff --git a/metadata/modules/tripleliftBidAdapter.json b/metadata/modules/tripleliftBidAdapter.json index e6ad4e4afce..842bb6e7529 100644 --- a/metadata/modules/tripleliftBidAdapter.json +++ b/metadata/modules/tripleliftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://triplelift.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:50.269Z", + "timestamp": "2025-11-24T17:32:05.240Z", "disclosures": [] } }, diff --git a/metadata/modules/ttdBidAdapter.json b/metadata/modules/ttdBidAdapter.json index ef523655772..d9a5b50bf6f 100644 --- a/metadata/modules/ttdBidAdapter.json +++ b/metadata/modules/ttdBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-11-19T20:51:50.328Z", + "timestamp": "2025-11-24T17:32:05.290Z", "disclosures": [] } }, diff --git a/metadata/modules/twistDigitalBidAdapter.json b/metadata/modules/twistDigitalBidAdapter.json index 41d3ecd154e..ca1bc55d80f 100644 --- a/metadata/modules/twistDigitalBidAdapter.json +++ b/metadata/modules/twistDigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://twistdigital.net/iab.json": { - "timestamp": "2025-11-19T20:51:50.328Z", + "timestamp": "2025-11-24T17:32:05.290Z", "disclosures": [ { "identifier": "vdzj1_{id}", diff --git a/metadata/modules/underdogmediaBidAdapter.json b/metadata/modules/underdogmediaBidAdapter.json index f5b3989c181..06ad4a04ec1 100644 --- a/metadata/modules/underdogmediaBidAdapter.json +++ b/metadata/modules/underdogmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.underdog.media/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:50.429Z", + "timestamp": "2025-11-24T17:32:05.378Z", "disclosures": [] } }, diff --git a/metadata/modules/undertoneBidAdapter.json b/metadata/modules/undertoneBidAdapter.json index 4f7aa901969..a0d5d41f6c2 100644 --- a/metadata/modules/undertoneBidAdapter.json +++ b/metadata/modules/undertoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.undertone.com/js/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:50.453Z", + "timestamp": "2025-11-24T17:32:05.402Z", "disclosures": [] } }, diff --git a/metadata/modules/unifiedIdSystem.json b/metadata/modules/unifiedIdSystem.json index 56adb8f75ad..800c137c4d8 100644 --- a/metadata/modules/unifiedIdSystem.json +++ b/metadata/modules/unifiedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-11-19T20:51:50.469Z", + "timestamp": "2025-11-24T17:32:05.417Z", "disclosures": [] } }, diff --git a/metadata/modules/unrulyBidAdapter.json b/metadata/modules/unrulyBidAdapter.json index bb5a9485c71..a3bb0a8af1e 100644 --- a/metadata/modules/unrulyBidAdapter.json +++ b/metadata/modules/unrulyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:50.470Z", + "timestamp": "2025-11-24T17:32:05.418Z", "disclosures": [] } }, diff --git a/metadata/modules/userId.json b/metadata/modules/userId.json index 1bade253a58..4a028565ca3 100644 --- a/metadata/modules/userId.json +++ b/metadata/modules/userId.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/userId-optout.json": { - "timestamp": "2025-11-19T20:51:08.095Z", + "timestamp": "2025-11-24T17:31:25.745Z", "disclosures": [ { "identifier": "_pbjs_id_optout", diff --git a/metadata/modules/utiqIdSystem.json b/metadata/modules/utiqIdSystem.json index bbfc0ae04cb..a5f034f9190 100644 --- a/metadata/modules/utiqIdSystem.json +++ b/metadata/modules/utiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:50.470Z", + "timestamp": "2025-11-24T17:32:05.418Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/utiqMtpIdSystem.json b/metadata/modules/utiqMtpIdSystem.json index 1b88f4f1597..05e5bae8afe 100644 --- a/metadata/modules/utiqMtpIdSystem.json +++ b/metadata/modules/utiqMtpIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:50.471Z", + "timestamp": "2025-11-24T17:32:05.420Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/validationFpdModule.json b/metadata/modules/validationFpdModule.json index 60290f5246e..5d8a43f0b63 100644 --- a/metadata/modules/validationFpdModule.json +++ b/metadata/modules/validationFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2025-11-19T20:51:08.094Z", + "timestamp": "2025-11-24T17:31:25.744Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/valuadBidAdapter.json b/metadata/modules/valuadBidAdapter.json index dd16d6190e0..6b1e577c72b 100644 --- a/metadata/modules/valuadBidAdapter.json +++ b/metadata/modules/valuadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.valuad.cloud/tcfdevice.json": { - "timestamp": "2025-11-19T20:51:50.471Z", + "timestamp": "2025-11-24T17:32:05.421Z", "disclosures": [] } }, diff --git a/metadata/modules/vidazooBidAdapter.json b/metadata/modules/vidazooBidAdapter.json index 18fb84cd5f1..89d37b9d3e8 100644 --- a/metadata/modules/vidazooBidAdapter.json +++ b/metadata/modules/vidazooBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidazoo.com/gdpr-tcf/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:50.772Z", + "timestamp": "2025-11-24T17:32:05.712Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/vidoomyBidAdapter.json b/metadata/modules/vidoomyBidAdapter.json index 0d89d6b88ac..b7fd8d975fd 100644 --- a/metadata/modules/vidoomyBidAdapter.json +++ b/metadata/modules/vidoomyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidoomy.com/storageurl/devicestoragediscurl.json": { - "timestamp": "2025-11-19T20:51:50.839Z", + "timestamp": "2025-11-24T17:32:05.781Z", "disclosures": [] } }, diff --git a/metadata/modules/viouslyBidAdapter.json b/metadata/modules/viouslyBidAdapter.json index 52ef397af3b..610e201a73f 100644 --- a/metadata/modules/viouslyBidAdapter.json +++ b/metadata/modules/viouslyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:51.075Z", + "timestamp": "2025-11-24T17:32:05.898Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/visxBidAdapter.json b/metadata/modules/visxBidAdapter.json index 079ec87a9a4..29453b72acc 100644 --- a/metadata/modules/visxBidAdapter.json +++ b/metadata/modules/visxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.yoc.com/visx/sellers/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:51.077Z", + "timestamp": "2025-11-24T17:32:05.899Z", "disclosures": [ { "identifier": "__vads", diff --git a/metadata/modules/vlybyBidAdapter.json b/metadata/modules/vlybyBidAdapter.json index 66ed24bcdfa..7711d806952 100644 --- a/metadata/modules/vlybyBidAdapter.json +++ b/metadata/modules/vlybyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vlyby.com/conf/iab/gvl.json": { - "timestamp": "2025-11-19T20:51:51.275Z", + "timestamp": "2025-11-24T17:32:06.205Z", "disclosures": [] } }, diff --git a/metadata/modules/voxBidAdapter.json b/metadata/modules/voxBidAdapter.json index 5f5ff6e0aca..6318dbc0aae 100644 --- a/metadata/modules/voxBidAdapter.json +++ b/metadata/modules/voxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:51.299Z", + "timestamp": "2025-11-24T17:32:06.539Z", "disclosures": [] } }, diff --git a/metadata/modules/vrtcalBidAdapter.json b/metadata/modules/vrtcalBidAdapter.json index 53853ab1808..166628bd69c 100644 --- a/metadata/modules/vrtcalBidAdapter.json +++ b/metadata/modules/vrtcalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vrtcal.com/docs/gdpr-tcf-disclosures.json": { - "timestamp": "2025-11-19T20:51:51.299Z", + "timestamp": "2025-11-24T17:32:06.539Z", "disclosures": [] } }, diff --git a/metadata/modules/vuukleBidAdapter.json b/metadata/modules/vuukleBidAdapter.json index ffe75e2969c..e18a81495c0 100644 --- a/metadata/modules/vuukleBidAdapter.json +++ b/metadata/modules/vuukleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vuukle.com/data-privacy/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:51.516Z", + "timestamp": "2025-11-24T17:32:06.753Z", "disclosures": [ { "identifier": "vuukle_token", diff --git a/metadata/modules/weboramaRtdProvider.json b/metadata/modules/weboramaRtdProvider.json index 00865923c62..6ec9051b402 100644 --- a/metadata/modules/weboramaRtdProvider.json +++ b/metadata/modules/weboramaRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://weborama.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:51.832Z", + "timestamp": "2025-11-24T17:32:07.036Z", "disclosures": [] } }, diff --git a/metadata/modules/welectBidAdapter.json b/metadata/modules/welectBidAdapter.json index 60162f3b72a..f3e67b3a53c 100644 --- a/metadata/modules/welectBidAdapter.json +++ b/metadata/modules/welectBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.welect.de/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:52.087Z", + "timestamp": "2025-11-24T17:32:07.307Z", "disclosures": [] } }, diff --git a/metadata/modules/yahooAdsBidAdapter.json b/metadata/modules/yahooAdsBidAdapter.json index f4c7bafdc37..724794bbea1 100644 --- a/metadata/modules/yahooAdsBidAdapter.json +++ b/metadata/modules/yahooAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2025-11-19T20:51:52.466Z", + "timestamp": "2025-11-24T17:32:07.691Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/yieldlabBidAdapter.json b/metadata/modules/yieldlabBidAdapter.json index 3dfd82d0c46..530c38d0b9f 100644 --- a/metadata/modules/yieldlabBidAdapter.json +++ b/metadata/modules/yieldlabBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.yieldlab.net/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:52.467Z", + "timestamp": "2025-11-24T17:32:07.692Z", "disclosures": [] } }, diff --git a/metadata/modules/yieldloveBidAdapter.json b/metadata/modules/yieldloveBidAdapter.json index 56b0890884e..d2b0ba43b29 100644 --- a/metadata/modules/yieldloveBidAdapter.json +++ b/metadata/modules/yieldloveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn-a.yieldlove.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:52.573Z", + "timestamp": "2025-11-24T17:32:07.820Z", "disclosures": [ { "identifier": "session_id", diff --git a/metadata/modules/yieldmoBidAdapter.json b/metadata/modules/yieldmoBidAdapter.json index c52a5ce1d5d..bb29a9b3a0f 100644 --- a/metadata/modules/yieldmoBidAdapter.json +++ b/metadata/modules/yieldmoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://devicestoragedisclosureurl.yieldmo.com/deviceStorage.json": { - "timestamp": "2025-11-19T20:51:52.596Z", + "timestamp": "2025-11-24T17:32:07.841Z", "disclosures": [] } }, diff --git a/metadata/modules/zeotapIdPlusIdSystem.json b/metadata/modules/zeotapIdPlusIdSystem.json index efb60121dd1..e3182aeb998 100644 --- a/metadata/modules/zeotapIdPlusIdSystem.json +++ b/metadata/modules/zeotapIdPlusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spl.zeotap.com/assets/iab-disclosure.json": { - "timestamp": "2025-11-19T20:51:52.678Z", + "timestamp": "2025-11-24T17:32:07.920Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_globalBidAdapter.json b/metadata/modules/zeta_globalBidAdapter.json index a6ae367f9b8..20f0803890d 100644 --- a/metadata/modules/zeta_globalBidAdapter.json +++ b/metadata/modules/zeta_globalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:52.801Z", + "timestamp": "2025-11-24T17:32:08.037Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_global_sspBidAdapter.json b/metadata/modules/zeta_global_sspBidAdapter.json index 0f39ead30bf..f4202a604a8 100644 --- a/metadata/modules/zeta_global_sspBidAdapter.json +++ b/metadata/modules/zeta_global_sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2025-11-19T20:51:52.932Z", + "timestamp": "2025-11-24T17:32:08.153Z", "disclosures": [] } }, diff --git a/package-lock.json b/package-lock.json index 2da5c893b64..21a9a760d60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.18.0-pre", + "version": "10.18.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.18.0-pre", + "version": "10.18.0", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", @@ -7272,9 +7272,9 @@ "license": "MIT" }, "node_modules/caniuse-lite": { - "version": "1.0.30001756", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001756.tgz", - "integrity": "sha512-4HnCNKbMLkLdhJz3TToeVWHSnfJvPaq6vu/eRP0Ahub/07n484XHhBF5AJoSGHdVrS8tKFauUQz8Bp9P7LVx7A==", + "version": "1.0.30001757", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001757.tgz", + "integrity": "sha512-r0nnL/I28Zi/yjk1el6ilj27tKcdjLsNqAOZr0yVjWPrSQyHgKI2INaEWw21bAQSv2LXRt1XuCS/GomNpWOxsQ==", "funding": [ { "type": "opencollective", diff --git a/package.json b/package.json index 439d82f77af..f5dee4ffea6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.18.0-pre", + "version": "10.18.0", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From c08b2be1e6449b2cef4c6b7f5f3fe697652f6bf2 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Mon, 24 Nov 2025 17:33:05 +0000 Subject: [PATCH 015/248] Increment version to 10.19.0-pre --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 21a9a760d60..b47824cf008 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.18.0", + "version": "10.19.0-pre", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.18.0", + "version": "10.19.0-pre", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", diff --git a/package.json b/package.json index f5dee4ffea6..8ce805aa408 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.18.0", + "version": "10.19.0-pre", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From 3b7c942f3a991d4ddb4e70829224b20c5d72a4cb Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 24 Nov 2025 16:55:48 -0500 Subject: [PATCH 016/248] CodeQL: scope JSON request check to bid adapters (#14189) --- .github/codeql/queries/jsonRequestContentType.ql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/codeql/queries/jsonRequestContentType.ql b/.github/codeql/queries/jsonRequestContentType.ql index b0ec95850ff..dbb8586a60c 100644 --- a/.github/codeql/queries/jsonRequestContentType.ql +++ b/.github/codeql/queries/jsonRequestContentType.ql @@ -12,7 +12,8 @@ from Property prop where prop.getName() = "contentType" and prop.getInit() instanceof StringLiteral and - prop.getInit().(StringLiteral).getStringValue() = "application/json" + prop.getInit().(StringLiteral).getStringValue() = "application/json" and + prop.getFile().getBaseName().matches("%BidAdapter.%") select prop, "application/json request type triggers preflight requests and may increase bidder timeouts" From 7881c62cffd11811d76e3b3a8350a120ed233e5a Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 24 Nov 2025 16:55:56 -0500 Subject: [PATCH 017/248] Onetag Adapter: remove screenLeft usage (#14184) * Onetag Adapter: remove screenLeft usage * Update onetagBidAdapter_spec.js --- modules/onetagBidAdapter.js | 4 ++-- test/spec/modules/onetagBidAdapter_spec.js | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/onetagBidAdapter.js b/modules/onetagBidAdapter.js index e2da98a67be..fa9a7a8244f 100644 --- a/modules/onetagBidAdapter.js +++ b/modules/onetagBidAdapter.js @@ -288,8 +288,8 @@ function getPageInfo(bidderRequest) { wHeight: winDimensions.innerHeight, sWidth: winDimensions.screen.width, sHeight: winDimensions.screen.height, - sLeft: 'screenLeft' in topmostFrame ? topmostFrame.screenLeft : topmostFrame.screenX, - sTop: 'screenTop' in topmostFrame ? topmostFrame.screenTop : topmostFrame.screenY, + sLeft: null, + sTop: null, xOffset: topmostFrame.pageXOffset, yOffset: topmostFrame.pageYOffset, docHidden: getDocumentVisibility(topmostFrame), diff --git a/test/spec/modules/onetagBidAdapter_spec.js b/test/spec/modules/onetagBidAdapter_spec.js index aa953e35be5..5b27dfe627b 100644 --- a/test/spec/modules/onetagBidAdapter_spec.js +++ b/test/spec/modules/onetagBidAdapter_spec.js @@ -502,8 +502,6 @@ describe('onetag', function () { expect(data.sWidth).to.be.a('number'); expect(data.wWidth).to.be.a('number'); expect(data.wHeight).to.be.a('number'); - expect(data.sLeft).to.be.a('number'); - expect(data.sTop).to.be.a('number'); expect(data.hLength).to.be.a('number'); expect(data.networkConnectionType).to.satisfy(function (value) { return value === null || typeof value === 'string' @@ -1133,8 +1131,8 @@ function getBannerVideoRequest() { wHeight: 949, sWidth: 1920, sHeight: 1080, - sLeft: 1987, - sTop: 27, + sLeft: null, + sTop: null, xOffset: 0, yOffset: 0, docHidden: false, From 8114fde6e5a03fcd6477b177d1ac166648a06c0c Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Mon, 24 Nov 2025 16:56:07 -0500 Subject: [PATCH 018/248] Core: test cookies can be set as part of cookiesAreEnabled (#14125) --- src/fpd/rootDomain.js | 31 ++---------------- src/storageManager.ts | 36 +++++++++++++++++++-- test/spec/fpd/rootDomain_spec.js | 2 ++ test/spec/unit/core/storageManager_spec.js | 37 ++++++++++++++++++++++ 4 files changed, 76 insertions(+), 30 deletions(-) diff --git a/src/fpd/rootDomain.js b/src/fpd/rootDomain.js index d8ed9ac00a7..60497c8ff81 100644 --- a/src/fpd/rootDomain.js +++ b/src/fpd/rootDomain.js @@ -1,5 +1,5 @@ -import {memoize, timestamp} from '../utils.js'; -import {getCoreStorageManager} from '../storageManager.js'; +import {memoize} from '../utils.js'; +import {canSetCookie, getCoreStorageManager} from '../storageManager.js'; export const coreStorage = getCoreStorageManager('fpdEnrichment'); @@ -19,35 +19,10 @@ export const findRootDomain = memoize(function findRootDomain(fullDomain = windo let rootDomain; let continueSearching; let startIndex = -2; - const TEST_COOKIE_NAME = `_rdc${Date.now()}`; - const TEST_COOKIE_VALUE = 'writeable'; do { rootDomain = domainParts.slice(startIndex).join('.'); - const expirationDate = new Date(timestamp() + 10 * 1000).toUTCString(); - - // Write a test cookie - coreStorage.setCookie( - TEST_COOKIE_NAME, - TEST_COOKIE_VALUE, - expirationDate, - 'Lax', - rootDomain, - undefined - ); - - // See if the write was successful - const value = coreStorage.getCookie(TEST_COOKIE_NAME, undefined); - if (value === TEST_COOKIE_VALUE) { + if (canSetCookie(rootDomain, coreStorage)) { continueSearching = false; - // Delete our test cookie - coreStorage.setCookie( - TEST_COOKIE_NAME, - '', - 'Thu, 01 Jan 1970 00:00:01 GMT', - undefined, - rootDomain, - undefined - ); } else { startIndex += -1; continueSearching = Math.abs(startIndex) <= domainParts.length; diff --git a/src/storageManager.ts b/src/storageManager.ts index ff345431463..c5c2862965f 100644 --- a/src/storageManager.ts +++ b/src/storageManager.ts @@ -1,4 +1,4 @@ -import {checkCookieSupport, hasDeviceAccess, logError} from './utils.js'; +import {checkCookieSupport, hasDeviceAccess, logError, memoize, timestamp} from './utils.js'; import {bidderSettings} from './bidderSettings.js'; import {MODULE_TYPE_BIDDER, MODULE_TYPE_PREBID, type ModuleType} from './activities/modules.js'; import {isActivityAllowed, registerActivityControl} from './activities/rules.js'; @@ -143,7 +143,7 @@ export function newStorageManager({moduleName, moduleType, advertiseKeys = true} const cookiesAreEnabled = function (done) { let cb = function (result) { if (result && result.valid) { - return checkCookieSupport(); + return checkCookieSupport() && canSetCookie(); } return false; } @@ -289,6 +289,38 @@ export function getCoreStorageManager(moduleName) { return newStorageManager({moduleName: moduleName, moduleType: MODULE_TYPE_PREBID}); } +export const canSetCookie = (() => { + const testStorageMgr = getCoreStorageManager('storage'); + + return memoize(function (domain?, storageMgr = testStorageMgr) { + const expirationDate = new Date(timestamp() + 10 * 1000).toUTCString(); + const cookieName = `_rdc${Date.now()}`; + const cookieValue = 'writeable'; + + storageMgr.setCookie( + cookieName, + cookieValue, + expirationDate, + 'Lax', + domain, + ); + const value = storageMgr.getCookie(cookieName); + + if (value === cookieValue) { + storageMgr.setCookie( + cookieName, + '', + 'Thu, 01 Jan 1970 00:00:01 GMT', + undefined, + domain, + ); + return true; + } else { + return false; + } + }); +})() + /** * Block all access to storage when deviceAccess = false */ diff --git a/test/spec/fpd/rootDomain_spec.js b/test/spec/fpd/rootDomain_spec.js index 008ef749edc..b77f05d02c5 100644 --- a/test/spec/fpd/rootDomain_spec.js +++ b/test/spec/fpd/rootDomain_spec.js @@ -1,5 +1,6 @@ import {expect} from 'chai/index.js'; import {findRootDomain, coreStorage} from 'src/fpd/rootDomain.js'; +import {canSetCookie} from '../../../src/storageManager.js'; describe('findRootDomain', function () { let sandbox, cookies, rejectDomain; @@ -26,6 +27,7 @@ describe('findRootDomain', function () { afterEach(function () { sandbox.restore(); + canSetCookie.clear(); }); after(() => { diff --git a/test/spec/unit/core/storageManager_spec.js b/test/spec/unit/core/storageManager_spec.js index 686464b8b5c..b0a9adcd3a1 100644 --- a/test/spec/unit/core/storageManager_spec.js +++ b/test/spec/unit/core/storageManager_spec.js @@ -1,4 +1,5 @@ import { + canSetCookie, deviceAccessRule, getCoreStorageManager, newStorageManager, @@ -20,6 +21,7 @@ import { ACTIVITY_PARAM_STORAGE_TYPE } from '../../../../src/activities/params.js'; import {activityParams} from '../../../../src/activities/activityParams.js'; +import {registerActivityControl} from '../../../../src/activities/rules.js'; describe('storage manager', function() { before(() => { @@ -319,3 +321,38 @@ describe('storage manager', function() { }); }); }); + +describe('canSetCookie', () => { + let allow, unregisterACRule; + beforeEach(() => { + allow = true; + unregisterACRule = registerActivityControl(ACTIVITY_ACCESS_DEVICE, 'test', (params) => { + if (params.component === 'prebid.storage') { + return {allow}; + } + }) + }); + afterEach(() => { + unregisterACRule(); + canSetCookie.clear(); + }) + + it('should return true when allowed', () => { + expect(canSetCookie()).to.be.true; + }); + it('should not leave stray cookies', () => { + const previousCookies = document.cookie; + canSetCookie(); + expect(previousCookies).to.eql(document.cookie); + }); + it('should return false when not allowed', () => { + allow = false; + expect(canSetCookie()).to.be.false; + }); + + it('should cache results', () => { + expect(canSetCookie()).to.be.true; + allow = false; + expect(canSetCookie()).to.be.true; + }) +}) From f3fd447d7475a2dd6d81c906e89e180a2c8dbd18 Mon Sep 17 00:00:00 2001 From: mosherBT <115997271+mosherBT@users.noreply.github.com> Date: Mon, 24 Nov 2025 16:57:56 -0500 Subject: [PATCH 019/248] Optable RTD Module: Wait for Optable event on HandleRTD (#14178) * TargetingData from event * lint * test fix --- modules/optableRtdProvider.js | 41 +++++++++---- test/spec/modules/optableRtdProvider_spec.js | 60 ++++++++++++++++++-- 2 files changed, 86 insertions(+), 15 deletions(-) diff --git a/modules/optableRtdProvider.js b/modules/optableRtdProvider.js index 2ef71ce9d44..f142a5a7634 100644 --- a/modules/optableRtdProvider.js +++ b/modules/optableRtdProvider.js @@ -37,6 +37,35 @@ export const parseConfig = (moduleConfig) => { return {bundleUrl, adserverTargeting, handleRtd}; } +/** + * Wait for Optable SDK event to fire with targeting data + * @param {string} eventName Name of the event to listen for + * @returns {Promise} Promise that resolves with targeting data or null + */ +const waitForOptableEvent = (eventName) => { + return new Promise((resolve) => { + const optableBundle = /** @type {Object} */ (window.optable); + const cachedData = optableBundle?.instance?.targetingFromCache(); + + if (cachedData && cachedData.ortb2) { + logMessage('Optable SDK already has cached data'); + resolve(cachedData); + return; + } + + const eventListener = (event) => { + logMessage(`Received ${eventName} event`); + // Extract targeting data from event detail + const targetingData = event.detail; + window.removeEventListener(eventName, eventListener); + resolve(targetingData); + }; + + window.addEventListener(eventName, eventListener); + logMessage(`Waiting for ${eventName} event`); + }); +}; + /** * Default function to handle/enrich RTD data * @param reqBidsConfigObj Bid request configuration object @@ -45,15 +74,8 @@ export const parseConfig = (moduleConfig) => { * @returns {Promise} */ export const defaultHandleRtd = async (reqBidsConfigObj, optableExtraData, mergeFn) => { - const optableBundle = /** @type {Object} */ (window.optable); - // Get targeting data from cache, if available - let targetingData = optableBundle?.instance?.targetingFromCache(); - // If no targeting data is found in the cache, call the targeting function - if (!targetingData) { - // Call Optable DCN for targeting data and return the ORTB2 object - targetingData = await optableBundle?.instance?.targeting(); - } - logMessage('Original targeting data from targeting(): ', targetingData); + // Wait for the Optable SDK to dispatch targeting data via event + let targetingData = await waitForOptableEvent('optable-targeting:change'); if (!targetingData || !targetingData.ortb2) { logWarn('No targeting data found'); @@ -92,7 +114,6 @@ export const getBidRequestData = (reqBidsConfigObj, callback, moduleConfig, user try { // Extract the bundle URL from the module configuration const {bundleUrl, handleRtd} = parseConfig(moduleConfig); - const handleRtdFn = handleRtd || defaultHandleRtd; const optableExtraData = config.getConfig('optableRtdConfig') || {}; diff --git a/test/spec/modules/optableRtdProvider_spec.js b/test/spec/modules/optableRtdProvider_spec.js index 7aa4be3c8b2..58c7992f58e 100644 --- a/test/spec/modules/optableRtdProvider_spec.js +++ b/test/spec/modules/optableRtdProvider_spec.js @@ -81,7 +81,14 @@ describe('Optable RTD Submodule', function () { it('does nothing if targeting data is missing the ortb2 property', async function () { window.optable.instance.targetingFromCache.returns({}); - window.optable.instance.targeting.resolves({}); + + // Dispatch event with empty ortb2 data after a short delay + setTimeout(() => { + const event = new CustomEvent('optable-targeting:change', { + detail: {} + }); + window.dispatchEvent(event); + }, 10); await defaultHandleRtd(reqBidsConfigObj, {}, mergeFn); expect(mergeFn.called).to.be.false; @@ -98,7 +105,14 @@ describe('Optable RTD Submodule', function () { it('calls targeting function if no data is found in cache', async function () { const targetingData = {ortb2: {user: {ext: {optable: 'testData'}}}}; window.optable.instance.targetingFromCache.returns(null); - window.optable.instance.targeting.resolves(targetingData); + + // Dispatch event with targeting data after a short delay + setTimeout(() => { + const event = new CustomEvent('optable-targeting:change', { + detail: targetingData + }); + window.dispatchEvent(event); + }, 10); await defaultHandleRtd(reqBidsConfigObj, {}, mergeFn); expect(mergeFn.calledWith(reqBidsConfigObj.ortb2Fragments.global, targetingData.ortb2)).to.be.true; @@ -162,18 +176,33 @@ describe('Optable RTD Submodule', function () { it('calls callback when assuming the bundle is present', function (done) { moduleConfig.params.bundleUrl = null; + window.optable = { + cmd: [], + instance: { + targetingFromCache: sandbox.stub().returns(null) + } + }; getBidRequestData(reqBidsConfigObj, callback, moduleConfig, {}); // Check that the function is queued expect(window.optable.cmd.length).to.equal(1); + + // Dispatch the event after a short delay + setTimeout(() => { + const event = new CustomEvent('optable-targeting:change', { + detail: {ortb2: {user: {ext: {optable: 'testData'}}}} + }); + window.dispatchEvent(event); + }, 10); + // Manually trigger the queued function window.optable.cmd[0](); setTimeout(() => { expect(callback.calledOnce).to.be.true; done(); - }, 50); + }, 100); }); it('mergeOptableData catches error and executes callback when something goes wrong', function (done) { @@ -206,14 +235,35 @@ describe('Optable RTD Submodule', function () { }); it("doesn't fail when optable is not available", function (done) { + moduleConfig.params.bundleUrl = null; delete window.optable; + getBidRequestData(reqBidsConfigObj, callback, moduleConfig, {}); - expect(window?.optable?.cmd?.length).to.be.undefined; + + // The code should have created window.optable with cmd array + expect(window.optable).to.exist; + expect(window.optable.cmd.length).to.equal(1); + + // Simulate optable bundle initializing and executing commands + window.optable.instance = { + targetingFromCache: () => null + }; + + // Dispatch event after a short delay + setTimeout(() => { + const event = new CustomEvent('optable-targeting:change', { + detail: {ortb2: {user: {ext: {optable: 'testData'}}}} + }); + window.dispatchEvent(event); + }, 10); + + // Execute the queued command (simulating optable bundle execution) + window.optable.cmd[0](); setTimeout(() => { expect(callback.calledOnce).to.be.true; done(); - }, 50); + }, 100); }); }); From 1f0764cf41cc5a23bf6898796166a2e71757b5ef Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Tue, 25 Nov 2025 08:53:57 -0500 Subject: [PATCH 020/248] Permutive modules: allow for vendorless consent / allow option to use tcf id (#14203) * Permutive RTD: vendorless consent check * Permutive RTD: respect publisher consent * Permutive Modules: adjust consent handling * Permutive modules: centralize consent gating * Update permutiveRtdProvider.md * Clarify consent process for Permutive vendor * Clarify vendor consent usage for Permutive * Update enforceVendorConsent parameter description Clarify the description of enforceVendorConsent parameter in the documentation. * fix: linter errors * refactor: add .js ext * feat: add disclosure url --------- Co-authored-by: antoniogargaro --- libraries/permutiveUtils/index.js | 34 +++++++++ modules/permutiveIdentityManagerIdSystem.js | 15 +++- modules/permutiveIdentityManagerIdSystem.md | 8 +- modules/permutiveRtdProvider.js | 11 ++- modules/permutiveRtdProvider.md | 32 +------- test/spec/modules/permutiveCombined_spec.js | 81 ++++++++++++++++++++- 6 files changed, 144 insertions(+), 37 deletions(-) create mode 100644 libraries/permutiveUtils/index.js diff --git a/libraries/permutiveUtils/index.js b/libraries/permutiveUtils/index.js new file mode 100644 index 00000000000..ac410d6d662 --- /dev/null +++ b/libraries/permutiveUtils/index.js @@ -0,0 +1,34 @@ +import { deepAccess } from '../../src/utils.js' + +export const PERMUTIVE_VENDOR_ID = 361 + +/** + * Determine if required GDPR purposes are allowed, optionally requiring vendor consent. + * @param {Object} userConsent + * @param {number[]} requiredPurposes + * @param {boolean} enforceVendorConsent + * @returns {boolean} + */ +export function hasPurposeConsent(userConsent, requiredPurposes, enforceVendorConsent) { + const gdprApplies = deepAccess(userConsent, 'gdpr.gdprApplies') + if (!gdprApplies) return true + + if (enforceVendorConsent) { + const vendorConsents = deepAccess(userConsent, 'gdpr.vendorData.vendor.consents') || {} + const vendorLegitimateInterests = deepAccess(userConsent, 'gdpr.vendorData.vendor.legitimateInterests') || {} + const purposeConsents = deepAccess(userConsent, 'gdpr.vendorData.purpose.consents') || {} + const purposeLegitimateInterests = deepAccess(userConsent, 'gdpr.vendorData.purpose.legitimateInterests') || {} + const hasVendorConsent = vendorConsents[PERMUTIVE_VENDOR_ID] === true || vendorLegitimateInterests[PERMUTIVE_VENDOR_ID] === true + + return hasVendorConsent && requiredPurposes.every((purposeId) => + purposeConsents[purposeId] === true || purposeLegitimateInterests[purposeId] === true + ) + } + + const purposeConsents = deepAccess(userConsent, 'gdpr.vendorData.publisher.consents') || {} + const purposeLegitimateInterests = deepAccess(userConsent, 'gdpr.vendorData.publisher.legitimateInterests') || {} + + return requiredPurposes.every((purposeId) => + purposeConsents[purposeId] === true || purposeLegitimateInterests[purposeId] === true + ) +} diff --git a/modules/permutiveIdentityManagerIdSystem.js b/modules/permutiveIdentityManagerIdSystem.js index f3849644445..a757869b0f0 100644 --- a/modules/permutiveIdentityManagerIdSystem.js +++ b/modules/permutiveIdentityManagerIdSystem.js @@ -1,7 +1,9 @@ import {MODULE_TYPE_UID} from '../src/activities/modules.js' import {submodule} from '../src/hook.js' import {getStorageManager} from '../src/storageManager.js' -import {prefixLog, safeJSONParse} from '../src/utils.js' +import {deepAccess, prefixLog, safeJSONParse} from '../src/utils.js' +import {hasPurposeConsent} from '../libraries/permutiveUtils/index.js' +import {VENDORLESS_GVLID} from "../src/consentHandler.js"; /** * @typedef {import('../modules/userId/index.js').Submodule} Submodule * @typedef {import('../modules/userId/index.js').SubmoduleConfig} SubmoduleConfig @@ -10,7 +12,6 @@ import {prefixLog, safeJSONParse} from '../src/utils.js' */ const MODULE_NAME = 'permutiveIdentityManagerId' -const PERMUTIVE_GVLID = 361 const PERMUTIVE_ID_DATA_STORAGE_KEY = 'permutive-prebid-id' const ID5_DOMAIN = 'id5-sync.com' @@ -81,7 +82,9 @@ export const permutiveIdentityManagerIdSubmodule = { * @type {string} */ name: MODULE_NAME, - gvlid: PERMUTIVE_GVLID, + gvlid: VENDORLESS_GVLID, + + disclosureURL: "https://assets.permutive.app/tcf/tcf.json", /** * decode the stored id value for passing to bid requests @@ -103,6 +106,12 @@ export const permutiveIdentityManagerIdSubmodule = { * @returns {IdResponse|undefined} */ getId(submoduleConfig, consentData, cacheIdObj) { + const enforceVendorConsent = deepAccess(submoduleConfig, 'params.enforceVendorConsent') + if (!hasPurposeConsent(consentData, [1], enforceVendorConsent)) { + logger.logInfo('GDPR purpose 1 consent not satisfied for Permutive Identity Manager') + return + } + const id = readFromSdkLocalStorage() if (Object.entries(id).length > 0) { logger.logInfo('found id in sdk storage') diff --git a/modules/permutiveIdentityManagerIdSystem.md b/modules/permutiveIdentityManagerIdSystem.md index ae249803d11..bb90e2c2dac 100644 --- a/modules/permutiveIdentityManagerIdSystem.md +++ b/modules/permutiveIdentityManagerIdSystem.md @@ -55,4 +55,10 @@ instead wait for up to the specified number of milliseconds for Permutive's SDK identities from the SDK directly if/when this happens. This value should be set to a value smaller than the `auctionDelay` set on the `userSync` configuration object, since -there is no point waiting longer than this as the auction will already have been triggered. \ No newline at end of file +there is no point waiting longer than this as the auction will already have been triggered. + +### enforceVendorConsent + +Publishers that require a vendor-based TCF check can set `enforceVendorConsent: true` in the module params. When enabled, +the module will only run when TCF vendor consent for Permutive (vendor 361) and purpose 1 is available. If the flag is +omitted or set to `false`, the module relies on the publisher-level purpose consent instead. \ No newline at end of file diff --git a/modules/permutiveRtdProvider.js b/modules/permutiveRtdProvider.js index 886dc8b3b5f..972154e3933 100644 --- a/modules/permutiveRtdProvider.js +++ b/modules/permutiveRtdProvider.js @@ -9,6 +9,8 @@ import {getGlobal} from '../src/prebidGlobal.js'; import {submodule} from '../src/hook.js'; import {getStorageManager} from '../src/storageManager.js'; import {deepAccess, deepSetValue, isFn, logError, mergeDeep, isPlainObject, safeJSONParse, prefixLog} from '../src/utils.js'; +import {VENDORLESS_GVLID} from '../src/consentHandler.js'; +import {hasPurposeConsent} from '../libraries/permutiveUtils/index.js'; import {MODULE_TYPE_RTD} from '../src/activities/modules.js'; @@ -17,7 +19,6 @@ import {MODULE_TYPE_RTD} from '../src/activities/modules.js'; */ const MODULE_NAME = 'permutive' -const PERMUTIVE_GVLID = 361 const logger = prefixLog('[PermutiveRTD]') @@ -31,7 +32,9 @@ export const storage = getStorageManager({moduleType: MODULE_TYPE_RTD, moduleNam function init(moduleConfig, userConsent) { readPermutiveModuleConfigFromCache() - return true + const enforceVendorConsent = deepAccess(moduleConfig, 'params.enforceVendorConsent') + + return hasPurposeConsent(userConsent, [1], enforceVendorConsent) } function liftIntoParams(params) { @@ -87,6 +90,7 @@ export function getModuleConfig(customModuleConfig) { maxSegs: 500, acBidders: [], overwrites: {}, + enforceVendorConsent: false, }, }, permutiveModuleConfig, @@ -467,7 +471,8 @@ let permutiveSDKInRealTime = false /** @type {RtdSubmodule} */ export const permutiveSubmodule = { name: MODULE_NAME, - gvlid: PERMUTIVE_GVLID, + disclosureURL: "https://assets.permutive.app/tcf/tcf.json", + gvlid: VENDORLESS_GVLID, getBidRequestData: function (reqBidsConfigObj, callback, customModuleConfig) { const completeBidRequestData = () => { logger.logInfo(`Request data updated`) diff --git a/modules/permutiveRtdProvider.md b/modules/permutiveRtdProvider.md index 3cf3ed2b367..8ef632c75f5 100644 --- a/modules/permutiveRtdProvider.md +++ b/modules/permutiveRtdProvider.md @@ -47,37 +47,11 @@ as well as enabling settings for specific use cases mentioned above (e.g. acbidd | params | Object | | - | | params.acBidders | String[] | An array of bidder codes to share cohorts with in certain versions of Prebid, see below | `[]` | | params.maxSegs | Integer | Maximum number of cohorts to be included in either the `permutive` or `p_standard` key-value. | `500` | +| params.enforceVendorConsent | Boolean | When `true`, require TCF vendor consent for Permutive (vendor 361). See note below. | `false` | -#### Context +#### Consent -While Permutive is listed as a TCF vendor (ID: 361), Permutive does not obtain consent directly from the TCF. As we act as a processor on behalf of our publishers consent is given to the Permutive SDK by the publisher, not by the [GDPR Consent Management Module](https://prebid-docs.atre.net/dev-docs/modules/consentManagement.html). - -This means that if GDPR enforcement is configured within the Permutive SDK _and_ the user consent isn’t given for Permutive to fire, no cohorts will populate. - -If you are also using the [TCF Control Module](https://docs.prebid.org/dev-docs/modules/tcfControl.html), in order to prevent Permutive from being blocked, it needs to be labeled within the Vendor Exceptions. - -#### Instructions - -1. Publisher enables rules within Prebid.js configuration. -2. Label Permutive as an exception, as shown below. -```javascript -[ - { - purpose: 'storage', - enforcePurpose: true, - enforceVendor: true, - vendorExceptions: ["permutive"] - }, - { - purpose: 'basicAds', - enforcePurpose: true, - enforceVendor: true, - vendorExceptions: [] - } -] -``` - -Before making any updates to this configuration, please ensure that this approach aligns with internal policies and current regulations regarding consent. +While Permutive is listed as a TCF vendor (ID: 361), Permutive does not typically obtain vendor consent from the TCF, but instead relies on the publisher purpose consents. Publishers wishing to use TCF vendor consent instead can add 361 to their CMP and set params.enforceVendorConsent to `true`. ## Cohort Activation with Permutive RTD Module diff --git a/test/spec/modules/permutiveCombined_spec.js b/test/spec/modules/permutiveCombined_spec.js index dbf82d68fee..dc25be6bf77 100644 --- a/test/spec/modules/permutiveCombined_spec.js +++ b/test/spec/modules/permutiveCombined_spec.js @@ -14,7 +14,7 @@ import { } from 'modules/permutiveRtdProvider.js' import { deepAccess, deepSetValue, mergeDeep } from '../../../src/utils.js' import { config } from 'src/config.js' -import { permutiveIdentityManagerIdSubmodule } from '../../../modules/permutiveIdentityManagerIdSystem.js' +import { permutiveIdentityManagerIdSubmodule, storage as permutiveIdStorage } from '../../../modules/permutiveIdentityManagerIdSystem.js' describe('permutiveRtdProvider', function () { beforeEach(function () { @@ -35,6 +35,84 @@ describe('permutiveRtdProvider', function () { }) }) + describe('consent handling', function () { + const publisherPurposeConsent = { + gdpr: { + gdprApplies: true, + vendorData: { + publisher: { consents: { 1: true }, legitimateInterests: {} }, + vendor: { consents: {}, legitimateInterests: {} }, + purpose: { consents: {}, legitimateInterests: {} }, + } + } + } + + const vendorPurposeConsent = { + gdpr: { + gdprApplies: true, + vendorData: { + publisher: { consents: {}, legitimateInterests: {} }, + vendor: { consents: { 361: true }, legitimateInterests: {} }, + purpose: { consents: { 1: true }, legitimateInterests: {} }, + } + } + } + + const missingVendorConsent = { + gdpr: { + gdprApplies: true, + vendorData: { + publisher: { consents: { 1: true }, legitimateInterests: {} }, + vendor: { consents: {}, legitimateInterests: {} }, + purpose: { consents: { 1: true }, legitimateInterests: {} }, + } + } + } + + it('allows publisher consent path when vendor check is disabled', function () { + expect(permutiveSubmodule.init({}, publisherPurposeConsent)).to.equal(true) + }) + + it('requires vendor consent when enforceVendorConsent is enabled', function () { + expect(permutiveSubmodule.init({ params: { enforceVendorConsent: true } }, missingVendorConsent)).to.equal(false) + }) + + it('allows vendor consent path when enforceVendorConsent is enabled', function () { + expect(permutiveSubmodule.init({ params: { enforceVendorConsent: true } }, vendorPurposeConsent)).to.equal(true) + }) + + describe('identity manager gating', function () { + const idKey = 'permutive-prebid-id' + const idPayload = { providers: { id5id: { userId: 'abc', expiryTime: Date.now() + 10000 } } } + + beforeEach(function () { + permutiveIdStorage.setDataInLocalStorage(idKey, JSON.stringify(idPayload)) + }) + + afterEach(function () { + permutiveIdStorage.removeDataFromLocalStorage(idKey) + }) + + it('returns ids with publisher consent when vendor enforcement is disabled', function () { + const response = permutiveIdentityManagerIdSubmodule.getId({}, publisherPurposeConsent) + + expect(response).to.deep.equal({ id: { id5id: 'abc' } }) + }) + + it('blocks ids when vendor consent is missing and enforcement is enabled', function () { + const response = permutiveIdentityManagerIdSubmodule.getId({ params: { enforceVendorConsent: true } }, missingVendorConsent) + + expect(response).to.be.undefined + }) + + it('returns ids when vendor consent is present and enforcement is enabled', function () { + const response = permutiveIdentityManagerIdSubmodule.getId({ params: { enforceVendorConsent: true } }, vendorPurposeConsent) + + expect(response).to.deep.equal({ id: { id5id: 'abc' } }) + }) + }) + }) + describe('getModuleConfig', function () { beforeEach(function () { // Reads data from the cache @@ -49,6 +127,7 @@ describe('permutiveRtdProvider', function () { maxSegs: 500, acBidders: [], overwrites: {}, + enforceVendorConsent: false, }, }) From e9558aa284181c0f0e466ba6e090fe08e2bc047f Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Tue, 25 Nov 2025 10:44:57 -0500 Subject: [PATCH 021/248] Core: override send dependency (#14185) --- package-lock.json | 190 ++++++---------------------------------------- package.json | 6 ++ 2 files changed, 30 insertions(+), 166 deletions(-) diff --git a/package-lock.json b/package-lock.json index b47824cf008..bfb957b9136 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10674,53 +10674,10 @@ "node": ">= 0.8" } }, - "node_modules/express/node_modules/mime": { - "version": "1.6.0", - "license": "MIT", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/express/node_modules/ms": { "version": "2.0.0", "license": "MIT" }, - "node_modules/express/node_modules/send": { - "version": "0.19.0", - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/express/node_modules/send/node_modules/encodeurl": { - "version": "1.0.2", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/express/node_modules/send/node_modules/ms": { - "version": "2.1.3", - "license": "MIT" - }, "node_modules/ext": { "version": "1.7.0", "dev": true, @@ -18140,23 +18097,24 @@ } }, "node_modules/send": { - "version": "0.16.2", - "dev": true, + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", "license": "MIT", "dependencies": { "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", + "depd": "2.0.0", + "destroy": "1.2.0", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "0.5.2", - "http-errors": "~1.6.2", - "mime": "1.4.1", - "ms": "2.0.0", - "on-finished": "~2.3.0", - "range-parser": "~1.2.0", - "statuses": "~1.4.0" + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" }, "engines": { "node": ">= 0.8.0" @@ -18164,80 +18122,34 @@ }, "node_modules/send/node_modules/debug": { "version": "2.6.9", - "dev": true, "license": "MIT", "dependencies": { "ms": "2.0.0" } }, - "node_modules/send/node_modules/depd": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/send/node_modules/destroy": { - "version": "1.0.4", - "dev": true, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "license": "MIT" }, - "node_modules/send/node_modules/http-errors": { - "version": "1.6.3", - "dev": true, - "license": "MIT", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.0", - "statuses": ">= 1.4.0 < 2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/send/node_modules/inherits": { - "version": "2.0.3", - "dev": true, - "license": "ISC" - }, "node_modules/send/node_modules/mime": { - "version": "1.4.1", - "dev": true, + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "license": "MIT", "bin": { "mime": "cli.js" - } - }, - "node_modules/send/node_modules/ms": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/send/node_modules/on-finished": { - "version": "2.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ee-first": "1.1.1" }, "engines": { - "node": ">= 0.8" + "node": ">=4" } }, - "node_modules/send/node_modules/setprototypeof": { - "version": "1.1.0", - "dev": true, - "license": "ISC" - }, - "node_modules/send/node_modules/statuses": { - "version": "1.4.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" }, "node_modules/serialize-error": { "version": "12.0.0", @@ -18346,17 +18258,6 @@ "node": ">= 0.8.0" } }, - "node_modules/serve-static/node_modules/debug": { - "version": "2.6.9", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/serve-static/node_modules/debug/node_modules/ms": { - "version": "2.0.0", - "license": "MIT" - }, "node_modules/serve-static/node_modules/encodeurl": { "version": "2.0.0", "license": "MIT", @@ -18364,49 +18265,6 @@ "node": ">= 0.8" } }, - "node_modules/serve-static/node_modules/mime": { - "version": "1.6.0", - "license": "MIT", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/serve-static/node_modules/ms": { - "version": "2.1.3", - "license": "MIT" - }, - "node_modules/serve-static/node_modules/send": { - "version": "0.19.0", - "license": "MIT", - "dependencies": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/serve-static/node_modules/send/node_modules/encodeurl": { - "version": "1.0.2", - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/set-function-length": { "version": "1.2.2", "dev": true, diff --git a/package.json b/package.json index 8ce805aa408..a257e58c0cf 100644 --- a/package.json +++ b/package.json @@ -164,6 +164,12 @@ "optionalDependencies": { "fsevents": "^2.3.2" }, + "overrides": { + "gulp-connect": { + "send": "0.19.0" + }, + "send": "0.19.0" + }, "peerDependencies": { "schema-utils": "^4.3.2" } From efc9fe925faa28a7e529501300b09776732e9bfa Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Tue, 25 Nov 2025 13:08:24 -0500 Subject: [PATCH 022/248] Build system: set lockFileVersion=2 (#14208) --- .npmrc | 1 + package-lock.json | 13958 +++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 13958 insertions(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000000..4812751a94a --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +lockfile-version=2 diff --git a/package-lock.json b/package-lock.json index bfb957b9136..b42d32ca601 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,7 +1,7 @@ { "name": "prebid.js", "version": "10.19.0-pre", - "lockfileVersion": 3, + "lockfileVersion": 2, "requires": true, "packages": { "": { @@ -21703,5 +21703,13961 @@ "url": "https://github.com/sponsors/colinhacks" } } + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.27.1", + "requires": { + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + } + }, + "@babel/compat-data": { + "version": "7.27.5" + }, + "@babel/core": { + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.4.tgz", + "integrity": "sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA==", + "requires": { + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.28.3", + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-module-transforms": "^7.28.3", + "@babel/helpers": "^7.28.4", + "@babel/parser": "^7.28.4", + "@babel/template": "^7.27.2", + "@babel/traverse": "^7.28.4", + "@babel/types": "^7.28.4", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + } + }, + "@babel/eslint-parser": { + "version": "7.24.7", + "dev": true, + "requires": { + "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", + "eslint-visitor-keys": "^2.1.0", + "semver": "^6.3.1" + } + }, + "@babel/generator": { + "version": "7.28.3", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.3.tgz", + "integrity": "sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==", + "requires": { + "@babel/parser": "^7.28.3", + "@babel/types": "^7.28.2", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + } + }, + "@babel/helper-annotate-as-pure": { + "version": "7.27.3", + "requires": { + "@babel/types": "^7.27.3" + } + }, + "@babel/helper-compilation-targets": { + "version": "7.27.2", + "requires": { + "@babel/compat-data": "^7.27.2", + "@babel/helper-validator-option": "^7.27.1", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + } + }, + "@babel/helper-create-class-features-plugin": { + "version": "7.27.1", + "requires": { + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-optimise-call-expression": "^7.27.1", + "@babel/helper-replace-supers": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", + "@babel/traverse": "^7.27.1", + "semver": "^6.3.1" + } + }, + "@babel/helper-create-regexp-features-plugin": { + "version": "7.27.1", + "requires": { + "@babel/helper-annotate-as-pure": "^7.27.1", + "regexpu-core": "^6.2.0", + "semver": "^6.3.1" + } + }, + "@babel/helper-define-polyfill-provider": { + "version": "0.6.4", + "requires": { + "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-plugin-utils": "^7.22.5", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2" + } + }, + "@babel/helper-globals": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", + "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==" + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.27.1", + "requires": { + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + } + }, + "@babel/helper-module-imports": { + "version": "7.27.1", + "requires": { + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + } + }, + "@babel/helper-module-transforms": { + "version": "7.28.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz", + "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==", + "requires": { + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1", + "@babel/traverse": "^7.28.3" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.27.1", + "requires": { + "@babel/types": "^7.27.1" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.27.1" + }, + "@babel/helper-remap-async-to-generator": { + "version": "7.27.1", + "requires": { + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-wrap-function": "^7.27.1", + "@babel/traverse": "^7.27.1" + } + }, + "@babel/helper-replace-supers": { + "version": "7.27.1", + "requires": { + "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-optimise-call-expression": "^7.27.1", + "@babel/traverse": "^7.27.1" + } + }, + "@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.27.1", + "requires": { + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + } + }, + "@babel/helper-string-parser": { + "version": "7.27.1" + }, + "@babel/helper-validator-identifier": { + "version": "7.27.1" + }, + "@babel/helper-validator-option": { + "version": "7.27.1" + }, + "@babel/helper-wrap-function": { + "version": "7.27.1", + "requires": { + "@babel/template": "^7.27.1", + "@babel/traverse": "^7.27.1", + "@babel/types": "^7.27.1" + } + }, + "@babel/helpers": { + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz", + "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==", + "requires": { + "@babel/template": "^7.27.2", + "@babel/types": "^7.28.4" + } + }, + "@babel/parser": { + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.4.tgz", + "integrity": "sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==", + "requires": { + "@babel/types": "^7.28.4" + } + }, + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/traverse": "^7.27.1" + } + }, + "@babel/plugin-bugfix-safari-class-field-initializer-scope": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", + "@babel/plugin-transform-optional-chaining": "^7.27.1" + } + }, + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/traverse": "^7.27.1" + } + }, + "@babel/plugin-proposal-private-property-in-object": { + "version": "7.21.0-placeholder-for-preset-env.2", + "requires": {} + }, + "@babel/plugin-syntax-import-assertions": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-syntax-import-attributes": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-syntax-jsx": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz", + "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-syntax-typescript": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz", + "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-syntax-unicode-sets-regex": { + "version": "7.18.6", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + } + }, + "@babel/plugin-transform-arrow-functions": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-async-generator-functions": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-remap-async-to-generator": "^7.27.1", + "@babel/traverse": "^7.27.1" + } + }, + "@babel/plugin-transform-async-to-generator": { + "version": "7.27.1", + "requires": { + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-remap-async-to-generator": "^7.27.1" + } + }, + "@babel/plugin-transform-block-scoped-functions": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-block-scoping": { + "version": "7.27.5", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-class-properties": { + "version": "7.27.1", + "requires": { + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-class-static-block": { + "version": "7.27.1", + "requires": { + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-classes": { + "version": "7.27.1", + "requires": { + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-compilation-targets": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-replace-supers": "^7.27.1", + "@babel/traverse": "^7.27.1", + "globals": "^11.1.0" + }, + "dependencies": { + "globals": { + "version": "11.12.0" + } + } + }, + "@babel/plugin-transform-computed-properties": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/template": "^7.27.1" + } + }, + "@babel/plugin-transform-destructuring": { + "version": "7.27.3", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-dotall-regex": { + "version": "7.27.1", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-duplicate-keys": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": { + "version": "7.27.1", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-dynamic-import": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-exponentiation-operator": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-export-namespace-from": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-for-of": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" + } + }, + "@babel/plugin-transform-function-name": { + "version": "7.27.1", + "requires": { + "@babel/helper-compilation-targets": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/traverse": "^7.27.1" + } + }, + "@babel/plugin-transform-json-strings": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-literals": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-logical-assignment-operators": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-member-expression-literals": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-modules-amd": { + "version": "7.27.1", + "requires": { + "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-modules-commonjs": { + "version": "7.27.1", + "requires": { + "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-modules-systemjs": { + "version": "7.27.1", + "requires": { + "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1", + "@babel/traverse": "^7.27.1" + } + }, + "@babel/plugin-transform-modules-umd": { + "version": "7.27.1", + "requires": { + "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.27.1", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-new-target": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-nullish-coalescing-operator": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-numeric-separator": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-object-rest-spread": { + "version": "7.27.3", + "requires": { + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/plugin-transform-destructuring": "^7.27.3", + "@babel/plugin-transform-parameters": "^7.27.1" + } + }, + "@babel/plugin-transform-object-super": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-replace-supers": "^7.27.1" + } + }, + "@babel/plugin-transform-optional-catch-binding": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-optional-chaining": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" + } + }, + "@babel/plugin-transform-parameters": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-private-methods": { + "version": "7.27.1", + "requires": { + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-private-property-in-object": { + "version": "7.27.1", + "requires": { + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-property-literals": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-regenerator": { + "version": "7.27.5", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-regexp-modifiers": { + "version": "7.27.1", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-reserved-words": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-runtime": { + "version": "7.27.4", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "babel-plugin-polyfill-corejs2": "^0.4.10", + "babel-plugin-polyfill-corejs3": "^0.11.0", + "babel-plugin-polyfill-regenerator": "^0.6.1", + "semver": "^6.3.1" + } + }, + "@babel/plugin-transform-shorthand-properties": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-spread": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" + } + }, + "@babel/plugin-transform-sticky-regex": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-template-literals": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-typeof-symbol": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-typescript": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.27.1.tgz", + "integrity": "sha512-Q5sT5+O4QUebHdbwKedFBEwRLb02zJ7r4A5Gg2hUoLuU3FjdMcyqcywqUrLCaDsFCxzokf7u9kuy7qz51YUuAg==", + "requires": { + "@babel/helper-annotate-as-pure": "^7.27.1", + "@babel/helper-create-class-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", + "@babel/plugin-syntax-typescript": "^7.27.1" + } + }, + "@babel/plugin-transform-unicode-escapes": { + "version": "7.27.1", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-unicode-property-regex": { + "version": "7.27.1", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-unicode-regex": { + "version": "7.27.1", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/plugin-transform-unicode-sets-regex": { + "version": "7.27.1", + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.27.1", + "@babel/helper-plugin-utils": "^7.27.1" + } + }, + "@babel/preset-env": { + "version": "7.27.2", + "requires": { + "@babel/compat-data": "^7.27.2", + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-validator-option": "^7.27.1", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.27.1", + "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.27.1", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.27.1", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.27.1", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.27.1", + "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", + "@babel/plugin-syntax-import-assertions": "^7.27.1", + "@babel/plugin-syntax-import-attributes": "^7.27.1", + "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", + "@babel/plugin-transform-arrow-functions": "^7.27.1", + "@babel/plugin-transform-async-generator-functions": "^7.27.1", + "@babel/plugin-transform-async-to-generator": "^7.27.1", + "@babel/plugin-transform-block-scoped-functions": "^7.27.1", + "@babel/plugin-transform-block-scoping": "^7.27.1", + "@babel/plugin-transform-class-properties": "^7.27.1", + "@babel/plugin-transform-class-static-block": "^7.27.1", + "@babel/plugin-transform-classes": "^7.27.1", + "@babel/plugin-transform-computed-properties": "^7.27.1", + "@babel/plugin-transform-destructuring": "^7.27.1", + "@babel/plugin-transform-dotall-regex": "^7.27.1", + "@babel/plugin-transform-duplicate-keys": "^7.27.1", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.27.1", + "@babel/plugin-transform-dynamic-import": "^7.27.1", + "@babel/plugin-transform-exponentiation-operator": "^7.27.1", + "@babel/plugin-transform-export-namespace-from": "^7.27.1", + "@babel/plugin-transform-for-of": "^7.27.1", + "@babel/plugin-transform-function-name": "^7.27.1", + "@babel/plugin-transform-json-strings": "^7.27.1", + "@babel/plugin-transform-literals": "^7.27.1", + "@babel/plugin-transform-logical-assignment-operators": "^7.27.1", + "@babel/plugin-transform-member-expression-literals": "^7.27.1", + "@babel/plugin-transform-modules-amd": "^7.27.1", + "@babel/plugin-transform-modules-commonjs": "^7.27.1", + "@babel/plugin-transform-modules-systemjs": "^7.27.1", + "@babel/plugin-transform-modules-umd": "^7.27.1", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.27.1", + "@babel/plugin-transform-new-target": "^7.27.1", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1", + "@babel/plugin-transform-numeric-separator": "^7.27.1", + "@babel/plugin-transform-object-rest-spread": "^7.27.2", + "@babel/plugin-transform-object-super": "^7.27.1", + "@babel/plugin-transform-optional-catch-binding": "^7.27.1", + "@babel/plugin-transform-optional-chaining": "^7.27.1", + "@babel/plugin-transform-parameters": "^7.27.1", + "@babel/plugin-transform-private-methods": "^7.27.1", + "@babel/plugin-transform-private-property-in-object": "^7.27.1", + "@babel/plugin-transform-property-literals": "^7.27.1", + "@babel/plugin-transform-regenerator": "^7.27.1", + "@babel/plugin-transform-regexp-modifiers": "^7.27.1", + "@babel/plugin-transform-reserved-words": "^7.27.1", + "@babel/plugin-transform-shorthand-properties": "^7.27.1", + "@babel/plugin-transform-spread": "^7.27.1", + "@babel/plugin-transform-sticky-regex": "^7.27.1", + "@babel/plugin-transform-template-literals": "^7.27.1", + "@babel/plugin-transform-typeof-symbol": "^7.27.1", + "@babel/plugin-transform-unicode-escapes": "^7.27.1", + "@babel/plugin-transform-unicode-property-regex": "^7.27.1", + "@babel/plugin-transform-unicode-regex": "^7.27.1", + "@babel/plugin-transform-unicode-sets-regex": "^7.27.1", + "@babel/preset-modules": "0.1.6-no-external-plugins", + "babel-plugin-polyfill-corejs2": "^0.4.10", + "babel-plugin-polyfill-corejs3": "^0.11.0", + "babel-plugin-polyfill-regenerator": "^0.6.1", + "core-js-compat": "^3.40.0", + "semver": "^6.3.1" + } + }, + "@babel/preset-modules": { + "version": "0.1.6-no-external-plugins", + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + } + }, + "@babel/preset-typescript": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.27.1.tgz", + "integrity": "sha512-l7WfQfX0WK4M0v2RudjuQK4u99BS6yLHYEmdtVPP7lKV013zr9DygFuWNlnbvQ9LR+LS0Egz/XAvGx5U9MX0fQ==", + "requires": { + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-validator-option": "^7.27.1", + "@babel/plugin-syntax-jsx": "^7.27.1", + "@babel/plugin-transform-modules-commonjs": "^7.27.1", + "@babel/plugin-transform-typescript": "^7.27.1" + } + }, + "@babel/register": { + "version": "7.28.3", + "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.28.3.tgz", + "integrity": "sha512-CieDOtd8u208eI49bYl4z1J22ySFw87IGwE+IswFEExH7e3rLgKb0WNQeumnacQ1+VoDJLYI5QFA3AJZuyZQfA==", + "dev": true, + "requires": { + "clone-deep": "^4.0.1", + "find-cache-dir": "^2.0.0", + "make-dir": "^2.1.0", + "pirates": "^4.0.6", + "source-map-support": "^0.5.16" + }, + "dependencies": { + "find-cache-dir": { + "version": "2.1.0", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^2.0.0", + "pkg-dir": "^3.0.0" + } + }, + "find-up": { + "version": "3.0.0", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "make-dir": { + "version": "2.1.0", + "dev": true, + "requires": { + "pify": "^4.0.1", + "semver": "^5.6.0" + } + }, + "p-locate": { + "version": "3.0.0", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "path-exists": { + "version": "3.0.0", + "dev": true + }, + "pify": { + "version": "4.0.1", + "dev": true + }, + "pkg-dir": { + "version": "3.0.0", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + }, + "semver": { + "version": "5.7.2", + "dev": true + } + } + }, + "@babel/runtime": { + "version": "7.28.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.3.tgz", + "integrity": "sha512-9uIQ10o0WGdpP6GDhXcdOJPJuDgFtIDtN/9+ArJQ2NAfAmiuhTQdzkaTGR33v43GYS2UrSA0eX2pPPHoFVvpxA==" + }, + "@babel/template": { + "version": "7.27.2", + "requires": { + "@babel/code-frame": "^7.27.1", + "@babel/parser": "^7.27.2", + "@babel/types": "^7.27.1" + } + }, + "@babel/traverse": { + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.4.tgz", + "integrity": "sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==", + "requires": { + "@babel/code-frame": "^7.27.1", + "@babel/generator": "^7.28.3", + "@babel/helper-globals": "^7.28.0", + "@babel/parser": "^7.28.4", + "@babel/template": "^7.27.2", + "@babel/types": "^7.28.4", + "debug": "^4.3.1" + } + }, + "@babel/types": { + "version": "7.28.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.4.tgz", + "integrity": "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==", + "requires": { + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1" + } + }, + "@browserstack/ai-sdk-node": { + "version": "1.5.17", + "dev": true, + "requires": { + "axios": "^1.7.4", + "uuid": "9.0.1" + } + }, + "@chiragrupani/karma-chromium-edge-launcher": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@chiragrupani/karma-chromium-edge-launcher/-/karma-chromium-edge-launcher-2.4.1.tgz", + "integrity": "sha512-HwTlN4dk7dnL9m5nEonq7cI3Wa787wYfGVWeb4oWPMySIEhFpA7/BYQ8zMbpQ4YkSQxVnvY1502aWdbI3w7DeA==", + "dev": true + }, + "@colors/colors": { + "version": "1.5.0" + }, + "@discoveryjs/json-ext": { + "version": "0.5.7", + "dev": true + }, + "@emnapi/core": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.4.5.tgz", + "integrity": "sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q==", + "dev": true, + "optional": true, + "requires": { + "@emnapi/wasi-threads": "1.0.4", + "tslib": "^2.4.0" + } + }, + "@emnapi/runtime": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.4.5.tgz", + "integrity": "sha512-++LApOtY0pEEz1zrd9vy1/zXVaVJJ/EbAF3u0fXIzPJEDtnITsBGbbK0EkM72amhl/R5b+5xx0Y/QhcVOpuulg==", + "dev": true, + "optional": true, + "requires": { + "tslib": "^2.4.0" + } + }, + "@emnapi/wasi-threads": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.0.4.tgz", + "integrity": "sha512-PJR+bOmMOPH8AtcTGAyYNiuJ3/Fcoj2XN/gBEWzDIKh254XO+mM9XoXHk5GNEhodxeMznbg7BlRojVbKN+gC6g==", + "dev": true, + "optional": true, + "requires": { + "tslib": "^2.4.0" + } + }, + "@es-joy/jsdoccomment": { + "version": "0.49.0", + "dev": true, + "requires": { + "comment-parser": "1.4.1", + "esquery": "^1.6.0", + "jsdoc-type-pratt-parser": "~4.1.0" + } + }, + "@eslint-community/eslint-utils": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", + "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^3.4.3" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "3.4.3", + "dev": true + } + } + }, + "@eslint-community/regexpp": { + "version": "4.12.1", + "dev": true + }, + "@eslint/compat": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.3.1.tgz", + "integrity": "sha512-k8MHony59I5EPic6EQTCNOuPoVBnoYXkP+20xvwFjN7t0qI3ImyvyBgg+hIVPwC8JaxVjjUZld+cLfBLFDLucg==", + "dev": true, + "requires": {} + }, + "@eslint/config-array": { + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.0.tgz", + "integrity": "sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==", + "dev": true, + "requires": { + "@eslint/object-schema": "^2.1.6", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + } + }, + "@eslint/config-helpers": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.0.tgz", + "integrity": "sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw==", + "dev": true + }, + "@eslint/core": { + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz", + "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.15" + } + }, + "@eslint/eslintrc": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz", + "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "dependencies": { + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true + }, + "js-yaml": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + } + } + }, + "@eslint/js": { + "version": "9.31.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.31.0.tgz", + "integrity": "sha512-LOm5OVt7D4qiKCqoiPbA7LWmI+tbw1VbTUowBcUMgQSuM6poJufkFkYDcQpo5KfgD39TnNySV26QjOh7VFpSyw==", + "dev": true + }, + "@eslint/object-schema": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz", + "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==", + "dev": true + }, + "@eslint/plugin-kit": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz", + "integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==", + "dev": true, + "requires": { + "@eslint/core": "^0.15.1", + "levn": "^0.4.1" + } + }, + "@gulp-sourcemaps/identity-map": { + "version": "2.0.1", + "dev": true, + "requires": { + "acorn": "^6.4.1", + "normalize-path": "^3.0.0", + "postcss": "^7.0.16", + "source-map": "^0.6.0", + "through2": "^3.0.1" + }, + "dependencies": { + "acorn": { + "version": "6.4.2", + "dev": true + }, + "through2": { + "version": "3.0.2", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + } + } + }, + "@gulp-sourcemaps/map-sources": { + "version": "1.0.0", + "dev": true, + "requires": { + "normalize-path": "^2.0.1", + "through2": "^2.0.3" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "dev": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } + }, + "through2": { + "version": "2.0.5", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + } + } + }, + "@gulpjs/messages": { + "version": "1.1.0", + "dev": true + }, + "@gulpjs/to-absolute-glob": { + "version": "4.0.0", + "dev": true, + "requires": { + "is-negated-glob": "^1.0.0" + } + }, + "@hapi/boom": { + "version": "9.1.4", + "dev": true, + "requires": { + "@hapi/hoek": "9.x.x" + } + }, + "@hapi/cryptiles": { + "version": "5.1.0", + "dev": true, + "requires": { + "@hapi/boom": "9.x.x" + } + }, + "@hapi/hoek": { + "version": "9.3.0", + "dev": true + }, + "@humanfs/core": { + "version": "0.19.1", + "dev": true + }, + "@humanfs/node": { + "version": "0.16.6", + "dev": true, + "requires": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" + }, + "dependencies": { + "@humanwhocodes/retry": { + "version": "0.3.1", + "dev": true + } + } + }, + "@humanwhocodes/gitignore-to-minimatch": { + "version": "1.0.2", + "dev": true + }, + "@humanwhocodes/module-importer": { + "version": "1.0.1", + "dev": true + }, + "@humanwhocodes/retry": { + "version": "0.4.2", + "dev": true + }, + "@inquirer/checkbox": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.2.0.tgz", + "integrity": "sha512-fdSw07FLJEU5vbpOPzXo5c6xmMGDzbZE2+niuDHX5N6mc6V0Ebso/q3xiHra4D73+PMsC8MJmcaZKuAAoaQsSA==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/figures": "^1.0.13", + "@inquirer/type": "^3.0.8", + "ansi-escapes": "^4.3.2", + "yoctocolors-cjs": "^2.1.2" + } + }, + "@inquirer/confirm": { + "version": "5.1.14", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.14.tgz", + "integrity": "sha512-5yR4IBfe0kXe59r1YCTG8WXkUbl7Z35HK87Sw+WUyGD8wNUx7JvY7laahzeytyE1oLn74bQnL7hstctQxisQ8Q==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/type": "^3.0.8" + } + }, + "@inquirer/core": { + "version": "10.1.15", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.15.tgz", + "integrity": "sha512-8xrp836RZvKkpNbVvgWUlxjT4CraKk2q+I3Ksy+seI2zkcE+y6wNs1BVhgcv8VyImFecUhdQrYLdW32pAjwBdA==", + "dev": true, + "requires": { + "@inquirer/figures": "^1.0.13", + "@inquirer/type": "^3.0.8", + "ansi-escapes": "^4.3.2", + "cli-width": "^4.1.0", + "mute-stream": "^2.0.0", + "signal-exit": "^4.1.0", + "wrap-ansi": "^6.2.0", + "yoctocolors-cjs": "^2.1.2" + }, + "dependencies": { + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true + } + } + }, + "@inquirer/editor": { + "version": "4.2.16", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.16.tgz", + "integrity": "sha512-iSzLjT4C6YKp2DU0fr8T7a97FnRRxMO6CushJnW5ktxLNM2iNeuyUuUA5255eOLPORoGYCrVnuDOEBdGkHGkpw==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/external-editor": "^1.0.0", + "@inquirer/type": "^3.0.8" + } + }, + "@inquirer/expand": { + "version": "4.0.17", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.17.tgz", + "integrity": "sha512-PSqy9VmJx/VbE3CT453yOfNa+PykpKg/0SYP7odez1/NWBGuDXgPhp4AeGYYKjhLn5lUUavVS/JbeYMPdH50Mw==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/type": "^3.0.8", + "yoctocolors-cjs": "^2.1.2" + } + }, + "@inquirer/external-editor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.0.tgz", + "integrity": "sha512-5v3YXc5ZMfL6OJqXPrX9csb4l7NlQA2doO1yynUjpUChT9hg4JcuBVP0RbsEJ/3SL/sxWEyFjT2W69ZhtoBWqg==", + "dev": true, + "requires": { + "chardet": "^2.1.0", + "iconv-lite": "^0.6.3" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, + "@inquirer/figures": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.13.tgz", + "integrity": "sha512-lGPVU3yO9ZNqA7vTYz26jny41lE7yoQansmqdMLBEfqaGsmdg7V3W9mK9Pvb5IL4EVZ9GnSDGMO/cJXud5dMaw==", + "dev": true + }, + "@inquirer/input": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.2.1.tgz", + "integrity": "sha512-tVC+O1rBl0lJpoUZv4xY+WGWY8V5b0zxU1XDsMsIHYregdh7bN5X5QnIONNBAl0K765FYlAfNHS2Bhn7SSOVow==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/type": "^3.0.8" + } + }, + "@inquirer/number": { + "version": "3.0.17", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.17.tgz", + "integrity": "sha512-GcvGHkyIgfZgVnnimURdOueMk0CztycfC8NZTiIY9arIAkeOgt6zG57G+7vC59Jns3UX27LMkPKnKWAOF5xEYg==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/type": "^3.0.8" + } + }, + "@inquirer/password": { + "version": "4.0.17", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.17.tgz", + "integrity": "sha512-DJolTnNeZ00E1+1TW+8614F7rOJJCM4y4BAGQ3Gq6kQIG+OJ4zr3GLjIjVVJCbKsk2jmkmv6v2kQuN/vriHdZA==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/type": "^3.0.8", + "ansi-escapes": "^4.3.2" + } + }, + "@inquirer/prompts": { + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.8.0.tgz", + "integrity": "sha512-JHwGbQ6wjf1dxxnalDYpZwZxUEosT+6CPGD9Zh4sm9WXdtUp9XODCQD3NjSTmu+0OAyxWXNOqf0spjIymJa2Tw==", + "dev": true, + "requires": { + "@inquirer/checkbox": "^4.2.0", + "@inquirer/confirm": "^5.1.14", + "@inquirer/editor": "^4.2.15", + "@inquirer/expand": "^4.0.17", + "@inquirer/input": "^4.2.1", + "@inquirer/number": "^3.0.17", + "@inquirer/password": "^4.0.17", + "@inquirer/rawlist": "^4.1.5", + "@inquirer/search": "^3.1.0", + "@inquirer/select": "^4.3.1" + } + }, + "@inquirer/rawlist": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.5.tgz", + "integrity": "sha512-R5qMyGJqtDdi4Ht521iAkNqyB6p2UPuZUbMifakg1sWtu24gc2Z8CJuw8rP081OckNDMgtDCuLe42Q2Kr3BolA==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/type": "^3.0.8", + "yoctocolors-cjs": "^2.1.2" + } + }, + "@inquirer/search": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.1.0.tgz", + "integrity": "sha512-PMk1+O/WBcYJDq2H7foV0aAZSmDdkzZB9Mw2v/DmONRJopwA/128cS9M/TXWLKKdEQKZnKwBzqu2G4x/2Nqx8Q==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/figures": "^1.0.13", + "@inquirer/type": "^3.0.8", + "yoctocolors-cjs": "^2.1.2" + } + }, + "@inquirer/select": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.3.1.tgz", + "integrity": "sha512-Gfl/5sqOF5vS/LIrSndFgOh7jgoe0UXEizDqahFRkq5aJBLegZ6WjuMh/hVEJwlFQjyLq1z9fRtvUMkb7jM1LA==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/figures": "^1.0.13", + "@inquirer/type": "^3.0.8", + "ansi-escapes": "^4.3.2", + "yoctocolors-cjs": "^2.1.2" + } + }, + "@inquirer/type": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.8.tgz", + "integrity": "sha512-lg9Whz8onIHRthWaN1Q9EGLa/0LFJjyM8mEUbL1eTi6yMGvBf8gvyDLtxSXztQsxMvhxxNpJYrwa1YHdq+w4Jw==", + "dev": true, + "requires": {} + }, + "@isaacs/balanced-match": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", + "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", + "dev": true + }, + "@isaacs/brace-expansion": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", + "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "dev": true, + "requires": { + "@isaacs/balanced-match": "^4.0.1" + } + }, + "@isaacs/cliui": { + "version": "8.0.2", + "dev": true, + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "6.2.1", + "dev": true + }, + "emoji-regex": { + "version": "9.2.2", + "dev": true + }, + "string-width": { + "version": "5.1.2", + "dev": true, + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "wrap-ansi": { + "version": "8.1.0", + "dev": true, + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + } + } + } + }, + "@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + } + }, + "@istanbuljs/schema": { + "version": "0.1.3", + "dev": true + }, + "@jest/diff-sequences": { + "version": "30.0.1", + "resolved": "https://registry.npmjs.org/@jest/diff-sequences/-/diff-sequences-30.0.1.tgz", + "integrity": "sha512-n5H8QLDJ47QqbCNn5SuFjCRDrOLEZ0h8vAHCK5RL9Ls7Xa8AQLa/YxAc9UjFqoEDM48muwtBGjtMY5cr0PLDCw==", + "dev": true, + "peer": true + }, + "@jest/expect-utils": { + "version": "29.7.0", + "dev": true, + "requires": { + "jest-get-type": "^29.6.3" + } + }, + "@jest/get-type": { + "version": "30.0.1", + "resolved": "https://registry.npmjs.org/@jest/get-type/-/get-type-30.0.1.tgz", + "integrity": "sha512-AyYdemXCptSRFirI5EPazNxyPwAL0jXt3zceFjaj8NFiKP9pOi0bfXonf6qkf82z2t3QWPeLCWWw4stPBzctLw==", + "dev": true, + "peer": true + }, + "@jest/pattern": { + "version": "30.0.1", + "resolved": "https://registry.npmjs.org/@jest/pattern/-/pattern-30.0.1.tgz", + "integrity": "sha512-gWp7NfQW27LaBQz3TITS8L7ZCQ0TLvtmI//4OwlQRx4rnWxcPNIYjxZpDcN4+UlGxgm3jS5QPz8IPTCkb59wZA==", + "dev": true, + "peer": true, + "requires": { + "@types/node": "*", + "jest-regex-util": "30.0.1" + } + }, + "@jest/schemas": { + "version": "29.6.3", + "dev": true, + "requires": { + "@sinclair/typebox": "^0.27.8" + } + }, + "@jest/types": { + "version": "29.6.3", + "dev": true, + "requires": { + "@jest/schemas": "^29.6.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "@jridgewell/gen-mapping": { + "version": "0.3.12", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.12.tgz", + "integrity": "sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg==", + "requires": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "requires": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "@jridgewell/resolve-uri": { + "version": "3.1.2" + }, + "@jridgewell/source-map": { + "version": "0.3.11", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.11.tgz", + "integrity": "sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==", + "dev": true, + "requires": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25" + } + }, + "@jridgewell/sourcemap-codec": { + "version": "1.5.0" + }, + "@jridgewell/trace-mapping": { + "version": "0.3.29", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.29.tgz", + "integrity": "sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==", + "requires": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "@napi-rs/wasm-runtime": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz", + "integrity": "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==", + "dev": true, + "optional": true, + "requires": { + "@emnapi/core": "^1.4.3", + "@emnapi/runtime": "^1.4.3", + "@tybys/wasm-util": "^0.10.0" + } + }, + "@nicolo-ribaudo/eslint-scope-5-internals": { + "version": "5.1.1-v1", + "dev": true, + "requires": { + "eslint-scope": "5.1.1" + } + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "dev": true, + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "dev": true + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "dev": true, + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@nolyfill/is-core-module": { + "version": "1.0.39", + "resolved": "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz", + "integrity": "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==", + "dev": true + }, + "@open-draft/until": { + "version": "1.0.3", + "dev": true + }, + "@percy/appium-app": { + "version": "2.1.0", + "dev": true, + "requires": { + "@percy/sdk-utils": "^1.30.9", + "tmp": "^0.2.3" + } + }, + "@percy/sdk-utils": { + "version": "1.31.0", + "dev": true + }, + "@percy/selenium-webdriver": { + "version": "2.2.3", + "dev": true, + "requires": { + "@percy/sdk-utils": "^1.30.9", + "node-request-interceptor": "^0.6.3" + } + }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "dev": true, + "optional": true + }, + "@pkgr/core": { + "version": "0.1.1", + "dev": true + }, + "@polka/url": { + "version": "1.0.0-next.25", + "dev": true + }, + "@promptbook/utils": { + "version": "0.50.0-10", + "dev": true, + "requires": { + "moment": "2.30.1", + "prettier": "2.8.1", + "spacetrim": "0.11.25" + } + }, + "@puppeteer/browsers": { + "version": "2.10.5", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.5.tgz", + "integrity": "sha512-eifa0o+i8dERnngJwKrfp3dEq7ia5XFyoqB17S4gK8GhsQE4/P8nxOfQSE0zQHxzzLo/cmF+7+ywEQ7wK7Fb+w==", + "dev": true, + "requires": { + "debug": "^4.4.1", + "extract-zip": "^2.0.1", + "progress": "^2.0.3", + "proxy-agent": "^6.5.0", + "semver": "^7.7.2", + "tar-fs": "^3.0.8", + "yargs": "^17.7.2" + }, + "dependencies": { + "debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "dev": true, + "requires": { + "ms": "^2.1.3" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true + }, + "yargs": { + "version": "17.7.2", + "dev": true, + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + } + } + } + }, + "@rtsao/scc": { + "version": "1.1.0", + "dev": true + }, + "@sec-ant/readable-stream": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", + "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", + "dev": true + }, + "@sinclair/typebox": { + "version": "0.27.8", + "dev": true + }, + "@sindresorhus/merge-streams": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", + "dev": true + }, + "@sinonjs/commons": { + "version": "3.0.1", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@sinonjs/fake-timers": { + "version": "13.0.5", + "dev": true, + "requires": { + "@sinonjs/commons": "^3.0.1" + } + }, + "@sinonjs/samsam": { + "version": "8.0.2", + "dev": true, + "requires": { + "@sinonjs/commons": "^3.0.1", + "lodash.get": "^4.4.2", + "type-detect": "^4.1.0" + }, + "dependencies": { + "type-detect": { + "version": "4.1.0", + "dev": true + } + } + }, + "@sinonjs/text-encoding": { + "version": "0.7.3", + "dev": true + }, + "@socket.io/component-emitter": { + "version": "3.1.2" + }, + "@stylistic/eslint-plugin": { + "version": "2.11.0", + "dev": true, + "requires": { + "@typescript-eslint/utils": "^8.13.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "estraverse": "^5.3.0", + "picomatch": "^4.0.2" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "4.2.0", + "dev": true + }, + "estraverse": { + "version": "5.3.0", + "dev": true + }, + "picomatch": { + "version": "4.0.2", + "dev": true + } + } + }, + "@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "dev": true + }, + "@tybys/wasm-util": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.0.tgz", + "integrity": "sha512-VyyPYFlOMNylG45GoAe0xDoLwWuowvf92F9kySqzYh8vmYm7D2u4iUJKa1tOUpS70Ku13ASrOkS4ScXFsTaCNQ==", + "dev": true, + "optional": true, + "requires": { + "tslib": "^2.4.0" + } + }, + "@types/cookie": { + "version": "0.4.1" + }, + "@types/cors": { + "version": "2.8.17", + "requires": { + "@types/node": "*" + } + }, + "@types/eslint": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", + "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==", + "dev": true, + "requires": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "@types/eslint-scope": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", + "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", + "dev": true, + "requires": { + "@types/eslint": "*", + "@types/estree": "*" + } + }, + "@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true + }, + "@types/expect": { + "version": "1.20.4", + "dev": true + }, + "@types/gitconfiglocal": { + "version": "2.0.3", + "dev": true + }, + "@types/google-publisher-tag": { + "version": "1.20250428.0", + "resolved": "https://registry.npmjs.org/@types/google-publisher-tag/-/google-publisher-tag-1.20250428.0.tgz", + "integrity": "sha512-W+aTMsM4e8PE/TkH/RkMbmmwEFg2si9eUugS5/lt88wkEClqcALi+3WLXW39Xgzu89+3igi/RNIpPLKdt6W7Dg==", + "dev": true + }, + "@types/istanbul-lib-coverage": { + "version": "2.0.6", + "dev": true + }, + "@types/istanbul-lib-report": { + "version": "3.0.3", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "*" + } + }, + "@types/istanbul-reports": { + "version": "3.0.4", + "dev": true, + "requires": { + "@types/istanbul-lib-report": "*" + } + }, + "@types/json-schema": { + "version": "7.0.15" + }, + "@types/json5": { + "version": "0.0.29", + "dev": true + }, + "@types/mocha": { + "version": "10.0.6", + "dev": true + }, + "@types/node": { + "version": "20.14.2", + "requires": { + "undici-types": "~5.26.4" + } + }, + "@types/normalize-package-data": { + "version": "2.4.4", + "dev": true + }, + "@types/sinonjs__fake-timers": { + "version": "8.1.5", + "dev": true + }, + "@types/stack-utils": { + "version": "2.0.3", + "dev": true + }, + "@types/triple-beam": { + "version": "1.3.5", + "dev": true + }, + "@types/vinyl": { + "version": "2.0.12", + "dev": true, + "requires": { + "@types/expect": "^1.20.4", + "@types/node": "*" + } + }, + "@types/which": { + "version": "2.0.2", + "dev": true + }, + "@types/ws": { + "version": "8.18.1", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", + "integrity": "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/yargs": { + "version": "17.0.33", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "@types/yargs-parser": { + "version": "21.0.3", + "dev": true + }, + "@types/yauzl": { + "version": "2.10.3", + "dev": true, + "optional": true, + "requires": { + "@types/node": "*" + } + }, + "@typescript-eslint/eslint-plugin": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.39.0.tgz", + "integrity": "sha512-bhEz6OZeUR+O/6yx9Jk6ohX6H9JSFTaiY0v9/PuKT3oGK0rn0jNplLmyFUGV+a9gfYnVNwGDwS/UkLIuXNb2Rw==", + "dev": true, + "requires": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.39.0", + "@typescript-eslint/type-utils": "8.39.0", + "@typescript-eslint/utils": "8.39.0", + "@typescript-eslint/visitor-keys": "8.39.0", + "graphemer": "^1.4.0", + "ignore": "^7.0.0", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.1.0" + }, + "dependencies": { + "ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "dev": true + } + } + }, + "@typescript-eslint/parser": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.39.0.tgz", + "integrity": "sha512-g3WpVQHngx0aLXn6kfIYCZxM6rRJlWzEkVpqEFLT3SgEDsp9cpCbxxgwnE504q4H+ruSDh/VGS6nqZIDynP+vg==", + "dev": true, + "requires": { + "@typescript-eslint/scope-manager": "8.39.0", + "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/typescript-estree": "8.39.0", + "@typescript-eslint/visitor-keys": "8.39.0", + "debug": "^4.3.4" + } + }, + "@typescript-eslint/project-service": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.39.0.tgz", + "integrity": "sha512-CTzJqaSq30V/Z2Og9jogzZt8lJRR5TKlAdXmWgdu4hgcC9Kww5flQ+xFvMxIBWVNdxJO7OifgdOK4PokMIWPew==", + "dev": true, + "requires": { + "@typescript-eslint/tsconfig-utils": "^8.39.0", + "@typescript-eslint/types": "^8.39.0", + "debug": "^4.3.4" + } + }, + "@typescript-eslint/scope-manager": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.39.0.tgz", + "integrity": "sha512-8QOzff9UKxOh6npZQ/4FQu4mjdOCGSdO3p44ww0hk8Vu+IGbg0tB/H1LcTARRDzGCC8pDGbh2rissBuuoPgH8A==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/visitor-keys": "8.39.0" + } + }, + "@typescript-eslint/tsconfig-utils": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.39.0.tgz", + "integrity": "sha512-Fd3/QjmFV2sKmvv3Mrj8r6N8CryYiCS8Wdb/6/rgOXAWGcFuc+VkQuG28uk/4kVNVZBQuuDHEDUpo/pQ32zsIQ==", + "dev": true, + "requires": {} + }, + "@typescript-eslint/type-utils": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.39.0.tgz", + "integrity": "sha512-6B3z0c1DXVT2vYA9+z9axjtc09rqKUPRmijD5m9iv8iQpHBRYRMBcgxSiKTZKm6FwWw1/cI4v6em35OsKCiN5Q==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/typescript-estree": "8.39.0", + "@typescript-eslint/utils": "8.39.0", + "debug": "^4.3.4", + "ts-api-utils": "^2.1.0" + } + }, + "@typescript-eslint/types": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.39.0.tgz", + "integrity": "sha512-ArDdaOllnCj3yn/lzKn9s0pBQYmmyme/v1HbGIGB0GB/knFI3fWMHloC+oYTJW46tVbYnGKTMDK4ah1sC2v0Kg==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.39.0.tgz", + "integrity": "sha512-ndWdiflRMvfIgQRpckQQLiB5qAKQ7w++V4LlCHwp62eym1HLB/kw7D9f2e8ytONls/jt89TEasgvb+VwnRprsw==", + "dev": true, + "requires": { + "@typescript-eslint/project-service": "8.39.0", + "@typescript-eslint/tsconfig-utils": "8.39.0", + "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/visitor-keys": "8.39.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.1.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true + } + } + }, + "@typescript-eslint/utils": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.39.0.tgz", + "integrity": "sha512-4GVSvNA0Vx1Ktwvf4sFE+exxJ3QGUorQG1/A5mRfRNZtkBT2xrA/BCO2H0eALx/PnvCS6/vmYwRdDA41EoffkQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.7.0", + "@typescript-eslint/scope-manager": "8.39.0", + "@typescript-eslint/types": "8.39.0", + "@typescript-eslint/typescript-estree": "8.39.0" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.39.0.tgz", + "integrity": "sha512-ldgiJ+VAhQCfIjeOgu8Kj5nSxds0ktPOSO9p4+0VDH2R2pLvQraaM5Oen2d7NxzMCm+Sn/vJT+mv2H5u6b/3fA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.39.0", + "eslint-visitor-keys": "^4.2.1" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", + "dev": true + } + } + }, + "@unrs/resolver-binding-android-arm-eabi": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.11.1.tgz", + "integrity": "sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-android-arm64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.11.1.tgz", + "integrity": "sha512-lCxkVtb4wp1v+EoN+HjIG9cIIzPkX5OtM03pQYkG+U5O/wL53LC4QbIeazgiKqluGeVEeBlZahHalCaBvU1a2g==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-darwin-arm64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.11.1.tgz", + "integrity": "sha512-gPVA1UjRu1Y/IsB/dQEsp2V1pm44Of6+LWvbLc9SDk1c2KhhDRDBUkQCYVWe6f26uJb3fOK8saWMgtX8IrMk3g==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-darwin-x64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.11.1.tgz", + "integrity": "sha512-cFzP7rWKd3lZaCsDze07QX1SC24lO8mPty9vdP+YVa3MGdVgPmFc59317b2ioXtgCMKGiCLxJ4HQs62oz6GfRQ==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-freebsd-x64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.11.1.tgz", + "integrity": "sha512-fqtGgak3zX4DCB6PFpsH5+Kmt/8CIi4Bry4rb1ho6Av2QHTREM+47y282Uqiu3ZRF5IQioJQ5qWRV6jduA+iGw==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-linux-arm-gnueabihf": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.11.1.tgz", + "integrity": "sha512-u92mvlcYtp9MRKmP+ZvMmtPN34+/3lMHlyMj7wXJDeXxuM0Vgzz0+PPJNsro1m3IZPYChIkn944wW8TYgGKFHw==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-linux-arm-musleabihf": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.11.1.tgz", + "integrity": "sha512-cINaoY2z7LVCrfHkIcmvj7osTOtm6VVT16b5oQdS4beibX2SYBwgYLmqhBjA1t51CarSaBuX5YNsWLjsqfW5Cw==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-linux-arm64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.11.1.tgz", + "integrity": "sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-linux-arm64-musl": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.11.1.tgz", + "integrity": "sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-linux-ppc64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.11.1.tgz", + "integrity": "sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-linux-riscv64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.11.1.tgz", + "integrity": "sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-linux-riscv64-musl": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.11.1.tgz", + "integrity": "sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-linux-s390x-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.11.1.tgz", + "integrity": "sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-linux-x64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.11.1.tgz", + "integrity": "sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-linux-x64-musl": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.11.1.tgz", + "integrity": "sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-wasm32-wasi": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.11.1.tgz", + "integrity": "sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==", + "dev": true, + "optional": true, + "requires": { + "@napi-rs/wasm-runtime": "^0.2.11" + } + }, + "@unrs/resolver-binding-win32-arm64-msvc": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.11.1.tgz", + "integrity": "sha512-nRcz5Il4ln0kMhfL8S3hLkxI85BXs3o8EYoattsJNdsX4YUU89iOkVn7g0VHSRxFuVMdM4Q1jEpIId1Ihim/Uw==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-win32-ia32-msvc": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.11.1.tgz", + "integrity": "sha512-DCEI6t5i1NmAZp6pFonpD5m7i6aFrpofcp4LA2i8IIq60Jyo28hamKBxNrZcyOwVOZkgsRp9O2sXWBWP8MnvIQ==", + "dev": true, + "optional": true + }, + "@unrs/resolver-binding-win32-x64-msvc": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.11.1.tgz", + "integrity": "sha512-lrW200hZdbfRtztbygyaq/6jP6AKE8qQN2KvPcJ+x7wiD038YtnYtZ82IMNJ69GJibV7bwL3y9FgK+5w/pYt6g==", + "dev": true, + "optional": true + }, + "@videojs/http-streaming": { + "version": "2.16.3", + "dev": true, + "requires": { + "@babel/runtime": "^7.12.5", + "@videojs/vhs-utils": "3.0.5", + "aes-decrypter": "3.1.3", + "global": "^4.4.0", + "m3u8-parser": "4.8.0", + "mpd-parser": "^0.22.1", + "mux.js": "6.0.1", + "video.js": "^6 || ^7" + } + }, + "@videojs/vhs-utils": { + "version": "3.0.5", + "dev": true, + "requires": { + "@babel/runtime": "^7.12.5", + "global": "^4.4.0", + "url-toolkit": "^2.2.1" + } + }, + "@videojs/xhr": { + "version": "2.6.0", + "dev": true, + "requires": { + "@babel/runtime": "^7.5.5", + "global": "~4.4.0", + "is-function": "^1.0.1" + } + }, + "@vitest/pretty-format": { + "version": "2.1.9", + "dev": true, + "requires": { + "tinyrainbow": "^1.2.0" + } + }, + "@vitest/snapshot": { + "version": "2.1.9", + "dev": true, + "requires": { + "@vitest/pretty-format": "2.1.9", + "magic-string": "^0.30.12", + "pathe": "^1.1.2" + } + }, + "@wdio/browserstack-service": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/@wdio/browserstack-service/-/browserstack-service-9.19.1.tgz", + "integrity": "sha512-9goHyn4PckZXp1GlYgTGslCFd+2BJPcrRjzWD8ziXJ7WWIC8/94+Y3Sp3HTnlZayrdSIjTXtHKZODP1qugVcWg==", + "dev": true, + "requires": { + "@browserstack/ai-sdk-node": "1.5.17", + "@percy/appium-app": "^2.0.9", + "@percy/selenium-webdriver": "^2.2.2", + "@types/gitconfiglocal": "^2.0.1", + "@wdio/logger": "9.18.0", + "@wdio/reporter": "9.19.1", + "@wdio/types": "9.19.1", + "browserstack-local": "^1.5.1", + "chalk": "^5.3.0", + "csv-writer": "^1.6.0", + "formdata-node": "5.0.1", + "git-repo-info": "^2.1.1", + "gitconfiglocal": "^2.1.0", + "undici": "^6.21.3", + "uuid": "^11.1.0", + "webdriverio": "9.19.1", + "winston-transport": "^4.5.0", + "yauzl": "^3.0.0" + }, + "dependencies": { + "@wdio/logger": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/@wdio/logger/-/logger-9.18.0.tgz", + "integrity": "sha512-HdzDrRs+ywAqbXGKqe1i/bLtCv47plz4TvsHFH3j729OooT5VH38ctFn5aLXgECmiAKDkmH/A6kOq2Zh5DIxww==", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "safe-regex2": "^5.0.0", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/reporter": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/@wdio/reporter/-/reporter-9.19.1.tgz", + "integrity": "sha512-nv5TZg+rUUlC3NGNDP2DGzpd2grU/3D27M9MsPV37TjGLccEVZYlbu2BnK3Y9mSqXWt7CZuFC4GXBF+5vQG6gw==", + "dev": true, + "requires": { + "@types/node": "^20.1.0", + "@wdio/logger": "9.18.0", + "@wdio/types": "9.19.1", + "diff": "^8.0.2", + "object-inspect": "^1.12.0" + } + }, + "@wdio/types": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/@wdio/types/-/types-9.19.1.tgz", + "integrity": "sha512-Q1HVcXiWMHp3ze2NN1BvpsfEh/j6GtAeMHhHW4p2IWUfRZlZqTfiJ+95LmkwXOG2gw9yndT8NkJigAz8v7WVYQ==", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "chalk": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.0.tgz", + "integrity": "sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==", + "dev": true + }, + "diff": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-8.0.2.tgz", + "integrity": "sha512-sSuxWU5j5SR9QQji/o2qMvqRNYRDOcBTgsJ/DeCf4iSN4gW+gNMXM7wFIP+fdXZxoNiAnHUTGjCr+TSWXdRDKg==", + "dev": true + }, + "uuid": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz", + "integrity": "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==", + "dev": true + } + } + }, + "@wdio/cli": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/@wdio/cli/-/cli-9.19.1.tgz", + "integrity": "sha512-1JDvutIp1mYk2f3KaBdcHAMw9UQlAMFnXbB4byuOMgik75HIgF+mrsasHj8wzfJTm9BbLwQ2h/6yGLHPTXvc0g==", + "dev": true, + "requires": { + "@vitest/snapshot": "^2.1.1", + "@wdio/config": "9.19.1", + "@wdio/globals": "9.17.0", + "@wdio/logger": "9.18.0", + "@wdio/protocols": "9.16.2", + "@wdio/types": "9.19.1", + "@wdio/utils": "9.19.1", + "async-exit-hook": "^2.0.1", + "chalk": "^5.4.1", + "chokidar": "^4.0.0", + "create-wdio": "9.18.2", + "dotenv": "^17.2.0", + "import-meta-resolve": "^4.0.0", + "lodash.flattendeep": "^4.4.0", + "lodash.pickby": "^4.6.0", + "lodash.union": "^4.6.0", + "read-pkg-up": "^10.0.0", + "tsx": "^4.7.2", + "webdriverio": "9.19.1", + "yargs": "^17.7.2" + }, + "dependencies": { + "@jest/expect-utils": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-30.0.5.tgz", + "integrity": "sha512-F3lmTT7CXWYywoVUGTCmom0vXq3HTTkaZyTAzIy+bXSBizB7o5qzlC9VCtq0arOa8GqmNsbg/cE9C6HLn7Szew==", + "dev": true, + "peer": true, + "requires": { + "@jest/get-type": "30.0.1" + } + }, + "@jest/schemas": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-30.0.5.tgz", + "integrity": "sha512-DmdYgtezMkh3cpU8/1uyXakv3tJRcmcXxBOcO0tbaozPwpmh4YMsnWrQm9ZmZMfa5ocbxzbFk6O4bDPEc/iAnA==", + "dev": true, + "peer": true, + "requires": { + "@sinclair/typebox": "^0.34.0" + } + }, + "@jest/types": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-30.0.5.tgz", + "integrity": "sha512-aREYa3aku9SSnea4aX6bhKn4bgv3AXkgijoQgbYV3yvbiGt6z+MQ85+6mIhx9DsKW2BuB/cLR/A+tcMThx+KLQ==", + "dev": true, + "peer": true, + "requires": { + "@jest/pattern": "30.0.1", + "@jest/schemas": "30.0.5", + "@types/istanbul-lib-coverage": "^2.0.6", + "@types/istanbul-reports": "^3.0.4", + "@types/node": "*", + "@types/yargs": "^17.0.33", + "chalk": "^4.1.2" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "peer": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "peer": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } + } + }, + "@sinclair/typebox": { + "version": "0.34.38", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.38.tgz", + "integrity": "sha512-HpkxMmc2XmZKhvaKIZZThlHmx1L0I/V1hWK1NubtlFnr6ZqdiOpV72TKudZUNQjZNsyDBay72qFEhEvb+bcwcA==", + "dev": true, + "peer": true + }, + "@vitest/pretty-format": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.4.tgz", + "integrity": "sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==", + "dev": true, + "peer": true, + "requires": { + "tinyrainbow": "^2.0.0" + } + }, + "@wdio/config": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/@wdio/config/-/config-9.19.1.tgz", + "integrity": "sha512-BeTB2paSjaij3cf1NXQzX9CZmdj5jz2/xdUhkJlCeGmGn1KjWu5BjMO+exuiy+zln7dOJjev8f0jlg8e8f1EbQ==", + "dev": true, + "requires": { + "@wdio/logger": "9.18.0", + "@wdio/types": "9.19.1", + "@wdio/utils": "9.19.1", + "deepmerge-ts": "^7.0.3", + "glob": "^10.2.2", + "import-meta-resolve": "^4.0.0" + } + }, + "@wdio/globals": { + "version": "9.17.0", + "resolved": "https://registry.npmjs.org/@wdio/globals/-/globals-9.17.0.tgz", + "integrity": "sha512-i38o7wlipLllNrk2hzdDfAmk6nrqm3lR2MtAgWgtHbwznZAKkB84KpkNFfmUXw5Kg3iP1zKlSjwZpKqenuLc+Q==", + "dev": true, + "requires": {} + }, + "@wdio/logger": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/@wdio/logger/-/logger-9.18.0.tgz", + "integrity": "sha512-HdzDrRs+ywAqbXGKqe1i/bLtCv47plz4TvsHFH3j729OooT5VH38ctFn5aLXgECmiAKDkmH/A6kOq2Zh5DIxww==", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "safe-regex2": "^5.0.0", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/protocols": { + "version": "9.16.2", + "resolved": "https://registry.npmjs.org/@wdio/protocols/-/protocols-9.16.2.tgz", + "integrity": "sha512-h3k97/lzmyw5MowqceAuY3HX/wGJojXHkiPXA3WlhGPCaa2h4+GovV2nJtRvknCKsE7UHA1xB5SWeI8MzloBew==", + "dev": true + }, + "@wdio/types": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/@wdio/types/-/types-9.19.1.tgz", + "integrity": "sha512-Q1HVcXiWMHp3ze2NN1BvpsfEh/j6GtAeMHhHW4p2IWUfRZlZqTfiJ+95LmkwXOG2gw9yndT8NkJigAz8v7WVYQ==", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "@wdio/utils": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/@wdio/utils/-/utils-9.19.1.tgz", + "integrity": "sha512-wWx5uPCgdZQxFIemAFVk/aa3JLwqrTsvEJsPlV3lCRpLeQ67V8aUPvvNAzE+RhX67qvelwwsvX8RrPdLDfnnYw==", + "dev": true, + "requires": { + "@puppeteer/browsers": "^2.2.0", + "@wdio/logger": "9.18.0", + "@wdio/types": "9.19.1", + "decamelize": "^6.0.0", + "deepmerge-ts": "^7.0.3", + "edgedriver": "^6.1.2", + "geckodriver": "^5.0.0", + "get-port": "^7.0.0", + "import-meta-resolve": "^4.0.0", + "locate-app": "^2.2.24", + "mitt": "^3.0.1", + "safaridriver": "^1.0.0", + "split2": "^4.2.0", + "wait-port": "^1.1.0" + } + }, + "ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "peer": true + }, + "chalk": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.5.0.tgz", + "integrity": "sha512-1tm8DTaJhPBG3bIkVeZt1iZM9GfSX2lzOeDVZH9R9ffRHpmHvxZ/QhgQH/aDTkswQVt+YHdXAdS/In/30OjCbg==", + "dev": true + }, + "chokidar": { + "version": "4.0.3", + "dev": true, + "requires": { + "readdirp": "^4.0.1" + } + }, + "ci-info": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.3.0.tgz", + "integrity": "sha512-l+2bNRMiQgcfILUi33labAZYIWlH1kWDp+ecNo5iisRKrbm0xcRyCww71/YU0Fkw0mAFpz9bJayXPjey6vkmaQ==", + "dev": true, + "peer": true + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "peer": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "peer": true + }, + "expect": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/expect/-/expect-30.0.5.tgz", + "integrity": "sha512-P0te2pt+hHI5qLJkIR+iMvS+lYUZml8rKKsohVHAGY+uClp9XVbdyYNJOIjSRpHVp8s8YqxJCiHUkSYZGr8rtQ==", + "dev": true, + "peer": true, + "requires": { + "@jest/expect-utils": "30.0.5", + "@jest/get-type": "30.0.1", + "jest-matcher-utils": "30.0.5", + "jest-message-util": "30.0.5", + "jest-mock": "30.0.5", + "jest-util": "30.0.5" + } + }, + "expect-webdriverio": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/expect-webdriverio/-/expect-webdriverio-5.4.1.tgz", + "integrity": "sha512-jH4qhahRNGPWbCCVcCpLDl/kvFJ1eOzVnrd1K/sG1RhKr6bZsgZQUiOE3bafVqSOfKP+ay8bM/VagP4+XsO9Xw==", + "dev": true, + "peer": true, + "requires": { + "@vitest/snapshot": "^3.2.4", + "expect": "^30.0.0", + "jest-matcher-utils": "^30.0.0", + "lodash.isequal": "^4.5.0" + }, + "dependencies": { + "@vitest/snapshot": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.4.tgz", + "integrity": "sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==", + "dev": true, + "peer": true, + "requires": { + "@vitest/pretty-format": "3.2.4", + "magic-string": "^0.30.17", + "pathe": "^2.0.3" + } + } + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "peer": true + }, + "jest-diff": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.0.5.tgz", + "integrity": "sha512-1UIqE9PoEKaHcIKvq2vbibrCog4Y8G0zmOxgQUVEiTqwR5hJVMCoDsN1vFvI5JvwD37hjueZ1C4l2FyGnfpE0A==", + "dev": true, + "peer": true, + "requires": { + "@jest/diff-sequences": "30.0.1", + "@jest/get-type": "30.0.1", + "chalk": "^4.1.2", + "pretty-format": "30.0.5" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "peer": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "peer": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } + } + }, + "jest-matcher-utils": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-30.0.5.tgz", + "integrity": "sha512-uQgGWt7GOrRLP1P7IwNWwK1WAQbq+m//ZY0yXygyfWp0rJlksMSLQAA4wYQC3b6wl3zfnchyTx+k3HZ5aPtCbQ==", + "dev": true, + "peer": true, + "requires": { + "@jest/get-type": "30.0.1", + "chalk": "^4.1.2", + "jest-diff": "30.0.5", + "pretty-format": "30.0.5" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "peer": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "peer": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } + } + }, + "jest-message-util": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-30.0.5.tgz", + "integrity": "sha512-NAiDOhsK3V7RU0Aa/HnrQo+E4JlbarbmI3q6Pi4KcxicdtjV82gcIUrejOtczChtVQR4kddu1E1EJlW6EN9IyA==", + "dev": true, + "peer": true, + "requires": { + "@babel/code-frame": "^7.27.1", + "@jest/types": "30.0.5", + "@types/stack-utils": "^2.0.3", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "micromatch": "^4.0.8", + "pretty-format": "30.0.5", + "slash": "^3.0.0", + "stack-utils": "^2.0.6" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "peer": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "peer": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } + } + }, + "jest-util": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-30.0.5.tgz", + "integrity": "sha512-pvyPWssDZR0FlfMxCBoc0tvM8iUEskaRFALUtGQYzVEAqisAztmy+R8LnU14KT4XA0H/a5HMVTXat1jLne010g==", + "dev": true, + "peer": true, + "requires": { + "@jest/types": "30.0.5", + "@types/node": "*", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "graceful-fs": "^4.2.11", + "picomatch": "^4.0.2" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "peer": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "peer": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } + } + }, + "pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "dev": true, + "peer": true + }, + "picomatch": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "dev": true, + "peer": true + }, + "pretty-format": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.0.5.tgz", + "integrity": "sha512-D1tKtYvByrBkFLe2wHJl2bwMJIiT8rW+XA+TiataH79/FszLQMrpGEvzUVkzPau7OCO0Qnrhpe87PqtOAIB8Yw==", + "dev": true, + "peer": true, + "requires": { + "@jest/schemas": "30.0.5", + "ansi-styles": "^5.2.0", + "react-is": "^18.3.1" + } + }, + "readdirp": { + "version": "4.1.2", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "peer": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "peer": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "tinyrainbow": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz", + "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==", + "dev": true, + "peer": true + }, + "yargs": { + "version": "17.7.2", + "dev": true, + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + } + } + } + }, + "@wdio/concise-reporter": { + "version": "8.38.2", + "dev": true, + "requires": { + "@wdio/reporter": "8.38.2", + "@wdio/types": "8.38.2", + "chalk": "^5.0.1", + "pretty-ms": "^7.0.1" + }, + "dependencies": { + "chalk": { + "version": "5.3.0", + "dev": true + } + } + }, + "@wdio/config": { + "version": "9.15.0", + "dev": true, + "requires": { + "@wdio/logger": "9.15.0", + "@wdio/types": "9.15.0", + "@wdio/utils": "9.15.0", + "deepmerge-ts": "^7.0.3", + "glob": "^10.2.2", + "import-meta-resolve": "^4.0.0" + }, + "dependencies": { + "@wdio/logger": { + "version": "9.15.0", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/types": { + "version": "9.15.0", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "@wdio/utils": { + "version": "9.15.0", + "dev": true, + "requires": { + "@puppeteer/browsers": "^2.2.0", + "@wdio/logger": "9.15.0", + "@wdio/types": "9.15.0", + "decamelize": "^6.0.0", + "deepmerge-ts": "^7.0.3", + "edgedriver": "^6.1.1", + "geckodriver": "^5.0.0", + "get-port": "^7.0.0", + "import-meta-resolve": "^4.0.0", + "locate-app": "^2.2.24", + "safaridriver": "^1.0.0", + "split2": "^4.2.0", + "wait-port": "^1.1.0" + } + }, + "chalk": { + "version": "5.4.1", + "dev": true + } + } + }, + "@wdio/dot-reporter": { + "version": "9.15.0", + "dev": true, + "requires": { + "@wdio/reporter": "9.15.0", + "@wdio/types": "9.15.0", + "chalk": "^5.0.1" + }, + "dependencies": { + "@wdio/logger": { + "version": "9.15.0", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/reporter": { + "version": "9.15.0", + "dev": true, + "requires": { + "@types/node": "^20.1.0", + "@wdio/logger": "9.15.0", + "@wdio/types": "9.15.0", + "diff": "^7.0.0", + "object-inspect": "^1.12.0" + } + }, + "@wdio/types": { + "version": "9.15.0", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "chalk": { + "version": "5.4.1", + "dev": true + }, + "diff": { + "version": "7.0.0", + "dev": true + } + } + }, + "@wdio/globals": { + "version": "9.15.0", + "dev": true, + "requires": { + "expect-webdriverio": "^5.1.0", + "webdriverio": "9.15.0" + }, + "dependencies": { + "@vitest/pretty-format": { + "version": "3.2.3", + "dev": true, + "optional": true, + "requires": { + "tinyrainbow": "^2.0.0" + } + }, + "@vitest/snapshot": { + "version": "3.2.3", + "dev": true, + "optional": true, + "requires": { + "@vitest/pretty-format": "3.2.3", + "magic-string": "^0.30.17", + "pathe": "^2.0.3" + } + }, + "@wdio/logger": { + "version": "9.15.0", + "dev": true, + "optional": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/types": { + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/@wdio/types/-/types-9.15.0.tgz", + "integrity": "sha512-hR0Dm9TsrjtgOLWOjUMYTOB1hWIlnDzFgZt7XGOzI9Ig8Qa+TDfZSFaZukGxqLIZS/eGhxpnunSHaTAXwJIxYA==", + "dev": true, + "optional": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "@wdio/utils": { + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/@wdio/utils/-/utils-9.15.0.tgz", + "integrity": "sha512-XuT1PE1nh4wwJfQW6IN4UT6+iv0+Yf4zhgMh5et04OX6tfrIXkWdx2SDimghDtRukp9i85DvIGWjdPEoQFQdaA==", + "dev": true, + "optional": true, + "requires": { + "@puppeteer/browsers": "^2.2.0", + "@wdio/logger": "9.15.0", + "@wdio/types": "9.15.0", + "decamelize": "^6.0.0", + "deepmerge-ts": "^7.0.3", + "edgedriver": "^6.1.1", + "geckodriver": "^5.0.0", + "get-port": "^7.0.0", + "import-meta-resolve": "^4.0.0", + "locate-app": "^2.2.24", + "safaridriver": "^1.0.0", + "split2": "^4.2.0", + "wait-port": "^1.1.0" + } + }, + "chalk": { + "version": "5.4.1", + "dev": true, + "optional": true + }, + "expect-webdriverio": { + "version": "5.3.0", + "dev": true, + "optional": true, + "requires": { + "@vitest/snapshot": "^3.2.1", + "expect": "^29.7.0", + "jest-matcher-utils": "^29.7.0", + "lodash.isequal": "^4.5.0" + } + }, + "htmlfy": { + "version": "0.6.7", + "resolved": "https://registry.npmjs.org/htmlfy/-/htmlfy-0.6.7.tgz", + "integrity": "sha512-r8hRd+oIM10lufovN+zr3VKPTYEIvIwqXGucidh2XQufmiw6sbUXFUFjWlfjo3AnefIDTyzykVzQ8IUVuT1peQ==", + "dev": true, + "optional": true + }, + "pathe": { + "version": "2.0.3", + "dev": true, + "optional": true + }, + "serialize-error": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-11.0.3.tgz", + "integrity": "sha512-2G2y++21dhj2R7iHAdd0FIzjGwuKZld+7Pl/bTU6YIkrC2ZMbVUjm+luj6A6V34Rv9XfKJDKpTWu9W4Gse1D9g==", + "dev": true, + "optional": true, + "requires": { + "type-fest": "^2.12.2" + } + }, + "tinyrainbow": { + "version": "2.0.0", + "dev": true, + "optional": true + }, + "type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "dev": true, + "optional": true + }, + "webdriver": { + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/webdriver/-/webdriver-9.15.0.tgz", + "integrity": "sha512-JCW5xvhZtL6kjbckdePgVYMOlvWbh22F1VFkIf9pw3prwXI2EHED5Eq/nfDnNfHiqr0AfFKWmIDPziSafrVv4Q==", + "dev": true, + "optional": true, + "requires": { + "@types/node": "^20.1.0", + "@types/ws": "^8.5.3", + "@wdio/config": "9.15.0", + "@wdio/logger": "9.15.0", + "@wdio/protocols": "9.15.0", + "@wdio/types": "9.15.0", + "@wdio/utils": "9.15.0", + "deepmerge-ts": "^7.0.3", + "undici": "^6.20.1", + "ws": "^8.8.0" + } + }, + "webdriverio": { + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/webdriverio/-/webdriverio-9.15.0.tgz", + "integrity": "sha512-910g6ktwXdAKGyhgCPGw9BzIKOEBBYMFN1bLwC3bW/3mFlxGHO/n70c7Sg9hrsu9VWTzv6m+1Clf27B9uz4a/Q==", + "dev": true, + "optional": true, + "requires": { + "@types/node": "^20.11.30", + "@types/sinonjs__fake-timers": "^8.1.5", + "@wdio/config": "9.15.0", + "@wdio/logger": "9.15.0", + "@wdio/protocols": "9.15.0", + "@wdio/repl": "9.4.4", + "@wdio/types": "9.15.0", + "@wdio/utils": "9.15.0", + "archiver": "^7.0.1", + "aria-query": "^5.3.0", + "cheerio": "^1.0.0-rc.12", + "css-shorthand-properties": "^1.1.1", + "css-value": "^0.0.1", + "grapheme-splitter": "^1.0.4", + "htmlfy": "^0.6.0", + "is-plain-obj": "^4.1.0", + "jszip": "^3.10.1", + "lodash.clonedeep": "^4.5.0", + "lodash.zip": "^4.2.0", + "query-selector-shadow-dom": "^1.0.1", + "resq": "^1.11.0", + "rgb2hex": "0.2.5", + "serialize-error": "^11.0.3", + "urlpattern-polyfill": "^10.0.0", + "webdriver": "9.15.0" + } + } + } + }, + "@wdio/local-runner": { + "version": "9.15.0", + "dev": true, + "requires": { + "@types/node": "^20.1.0", + "@wdio/logger": "9.15.0", + "@wdio/repl": "9.4.4", + "@wdio/runner": "9.15.0", + "@wdio/types": "9.15.0", + "async-exit-hook": "^2.0.1", + "split2": "^4.1.0", + "stream-buffers": "^3.0.2" + }, + "dependencies": { + "@wdio/logger": { + "version": "9.15.0", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/types": { + "version": "9.15.0", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "chalk": { + "version": "5.4.1", + "dev": true + } + } + }, + "@wdio/logger": { + "version": "8.38.0", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "strip-ansi": "^7.1.0" + }, + "dependencies": { + "chalk": { + "version": "5.3.0", + "dev": true + } + } + }, + "@wdio/mocha-framework": { + "version": "9.12.6", + "dev": true, + "requires": { + "@types/mocha": "^10.0.6", + "@types/node": "^20.11.28", + "@wdio/logger": "9.4.4", + "@wdio/types": "9.12.6", + "@wdio/utils": "9.12.6", + "mocha": "^10.3.0" + }, + "dependencies": { + "@wdio/logger": { + "version": "9.4.4", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/types": { + "version": "9.12.6", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "chalk": { + "version": "5.4.1", + "dev": true + } + } + }, + "@wdio/protocols": { + "version": "9.15.0", + "dev": true + }, + "@wdio/repl": { + "version": "9.4.4", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "@wdio/reporter": { + "version": "8.38.2", + "dev": true, + "requires": { + "@types/node": "^20.1.0", + "@wdio/logger": "8.38.0", + "@wdio/types": "8.38.2", + "diff": "^5.0.0", + "object-inspect": "^1.12.0" + } + }, + "@wdio/runner": { + "version": "9.15.0", + "dev": true, + "requires": { + "@types/node": "^20.11.28", + "@wdio/config": "9.15.0", + "@wdio/dot-reporter": "9.15.0", + "@wdio/globals": "9.15.0", + "@wdio/logger": "9.15.0", + "@wdio/types": "9.15.0", + "@wdio/utils": "9.15.0", + "deepmerge-ts": "^7.0.3", + "expect-webdriverio": "^5.1.0", + "webdriver": "9.15.0", + "webdriverio": "9.15.0" + }, + "dependencies": { + "@vitest/pretty-format": { + "version": "3.2.3", + "dev": true, + "requires": { + "tinyrainbow": "^2.0.0" + } + }, + "@vitest/snapshot": { + "version": "3.2.3", + "dev": true, + "requires": { + "@vitest/pretty-format": "3.2.3", + "magic-string": "^0.30.17", + "pathe": "^2.0.3" + } + }, + "@wdio/logger": { + "version": "9.15.0", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/types": { + "version": "9.15.0", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "@wdio/utils": { + "version": "9.15.0", + "dev": true, + "requires": { + "@puppeteer/browsers": "^2.2.0", + "@wdio/logger": "9.15.0", + "@wdio/types": "9.15.0", + "decamelize": "^6.0.0", + "deepmerge-ts": "^7.0.3", + "edgedriver": "^6.1.1", + "geckodriver": "^5.0.0", + "get-port": "^7.0.0", + "import-meta-resolve": "^4.0.0", + "locate-app": "^2.2.24", + "safaridriver": "^1.0.0", + "split2": "^4.2.0", + "wait-port": "^1.1.0" + } + }, + "chalk": { + "version": "5.4.1", + "dev": true + }, + "expect-webdriverio": { + "version": "5.3.0", + "dev": true, + "requires": { + "@vitest/snapshot": "^3.2.1", + "expect": "^29.7.0", + "jest-matcher-utils": "^29.7.0", + "lodash.isequal": "^4.5.0" + } + }, + "htmlfy": { + "version": "0.6.7", + "resolved": "https://registry.npmjs.org/htmlfy/-/htmlfy-0.6.7.tgz", + "integrity": "sha512-r8hRd+oIM10lufovN+zr3VKPTYEIvIwqXGucidh2XQufmiw6sbUXFUFjWlfjo3AnefIDTyzykVzQ8IUVuT1peQ==", + "dev": true + }, + "pathe": { + "version": "2.0.3", + "dev": true + }, + "serialize-error": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-11.0.3.tgz", + "integrity": "sha512-2G2y++21dhj2R7iHAdd0FIzjGwuKZld+7Pl/bTU6YIkrC2ZMbVUjm+luj6A6V34Rv9XfKJDKpTWu9W4Gse1D9g==", + "dev": true, + "requires": { + "type-fest": "^2.12.2" + } + }, + "tinyrainbow": { + "version": "2.0.0", + "dev": true + }, + "type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==", + "dev": true + }, + "webdriver": { + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/webdriver/-/webdriver-9.15.0.tgz", + "integrity": "sha512-JCW5xvhZtL6kjbckdePgVYMOlvWbh22F1VFkIf9pw3prwXI2EHED5Eq/nfDnNfHiqr0AfFKWmIDPziSafrVv4Q==", + "dev": true, + "requires": { + "@types/node": "^20.1.0", + "@types/ws": "^8.5.3", + "@wdio/config": "9.15.0", + "@wdio/logger": "9.15.0", + "@wdio/protocols": "9.15.0", + "@wdio/types": "9.15.0", + "@wdio/utils": "9.15.0", + "deepmerge-ts": "^7.0.3", + "undici": "^6.20.1", + "ws": "^8.8.0" + } + }, + "webdriverio": { + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/webdriverio/-/webdriverio-9.15.0.tgz", + "integrity": "sha512-910g6ktwXdAKGyhgCPGw9BzIKOEBBYMFN1bLwC3bW/3mFlxGHO/n70c7Sg9hrsu9VWTzv6m+1Clf27B9uz4a/Q==", + "dev": true, + "requires": { + "@types/node": "^20.11.30", + "@types/sinonjs__fake-timers": "^8.1.5", + "@wdio/config": "9.15.0", + "@wdio/logger": "9.15.0", + "@wdio/protocols": "9.15.0", + "@wdio/repl": "9.4.4", + "@wdio/types": "9.15.0", + "@wdio/utils": "9.15.0", + "archiver": "^7.0.1", + "aria-query": "^5.3.0", + "cheerio": "^1.0.0-rc.12", + "css-shorthand-properties": "^1.1.1", + "css-value": "^0.0.1", + "grapheme-splitter": "^1.0.4", + "htmlfy": "^0.6.0", + "is-plain-obj": "^4.1.0", + "jszip": "^3.10.1", + "lodash.clonedeep": "^4.5.0", + "lodash.zip": "^4.2.0", + "query-selector-shadow-dom": "^1.0.1", + "resq": "^1.11.0", + "rgb2hex": "0.2.5", + "serialize-error": "^11.0.3", + "urlpattern-polyfill": "^10.0.0", + "webdriver": "9.15.0" + } + } + } + }, + "@wdio/spec-reporter": { + "version": "8.43.0", + "resolved": "https://registry.npmjs.org/@wdio/spec-reporter/-/spec-reporter-8.43.0.tgz", + "integrity": "sha512-Qy5LsGrGHbXJdj2PveNV7CD5g1XpLPvd7wH8bAd9OtuZRTPknyZqYSvB8TlZIV/SfiNlWEJ/05mI/FcixNJ6Xg==", + "dev": true, + "requires": { + "@wdio/reporter": "8.43.0", + "@wdio/types": "8.41.0", + "chalk": "^5.1.2", + "easy-table": "^1.2.0", + "pretty-ms": "^7.0.0" + }, + "dependencies": { + "@types/node": { + "version": "22.18.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.18.0.tgz", + "integrity": "sha512-m5ObIqwsUp6BZzyiy4RdZpzWGub9bqLJMvZDD0QMXhxjqMHMENlj+SqF5QxoUwaQNFe+8kz8XM8ZQhqkQPTgMQ==", + "dev": true, + "requires": { + "undici-types": "~6.21.0" + } + }, + "@wdio/reporter": { + "version": "8.43.0", + "resolved": "https://registry.npmjs.org/@wdio/reporter/-/reporter-8.43.0.tgz", + "integrity": "sha512-0ph8SabdMrgDmuLUEwA7yvkrvlCw4/EXttb3CGucjSkuiSbZNLhdTMXpyPoewh2soa253fIpnx79HztOsOzn5Q==", + "dev": true, + "requires": { + "@types/node": "^22.2.0", + "@wdio/logger": "8.38.0", + "@wdio/types": "8.41.0", + "diff": "^7.0.0", + "object-inspect": "^1.12.0" + } + }, + "@wdio/types": { + "version": "8.41.0", + "resolved": "https://registry.npmjs.org/@wdio/types/-/types-8.41.0.tgz", + "integrity": "sha512-t4NaNTvJZci3Xv/yUZPH4eTL0hxrVTf5wdwNnYIBrzMnlRDbNefjQ0P7FM7ZjQCLaH92AEH6t/XanUId7Webug==", + "dev": true, + "requires": { + "@types/node": "^22.2.0" + } + }, + "chalk": { + "version": "5.3.0", + "dev": true + }, + "diff": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", + "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==", + "dev": true + }, + "undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true + } + } + }, + "@wdio/types": { + "version": "8.38.2", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "@wdio/utils": { + "version": "9.12.6", + "dev": true, + "requires": { + "@puppeteer/browsers": "^2.2.0", + "@wdio/logger": "9.4.4", + "@wdio/types": "9.12.6", + "decamelize": "^6.0.0", + "deepmerge-ts": "^7.0.3", + "edgedriver": "^6.1.1", + "geckodriver": "^5.0.0", + "get-port": "^7.0.0", + "import-meta-resolve": "^4.0.0", + "locate-app": "^2.2.24", + "safaridriver": "^1.0.0", + "split2": "^4.2.0", + "wait-port": "^1.1.0" + }, + "dependencies": { + "@wdio/logger": { + "version": "9.4.4", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/types": { + "version": "9.12.6", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "chalk": { + "version": "5.4.1", + "dev": true + } + } + }, + "@webassemblyjs/ast": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.14.1.tgz", + "integrity": "sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==", + "dev": true, + "requires": { + "@webassemblyjs/helper-numbers": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2" + } + }, + "@webassemblyjs/floating-point-hex-parser": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz", + "integrity": "sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==", + "dev": true + }, + "@webassemblyjs/helper-api-error": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz", + "integrity": "sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==", + "dev": true + }, + "@webassemblyjs/helper-buffer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz", + "integrity": "sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==", + "dev": true + }, + "@webassemblyjs/helper-numbers": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz", + "integrity": "sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==", + "dev": true, + "requires": { + "@webassemblyjs/floating-point-hex-parser": "1.13.2", + "@webassemblyjs/helper-api-error": "1.13.2", + "@xtuc/long": "4.2.2" + } + }, + "@webassemblyjs/helper-wasm-bytecode": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz", + "integrity": "sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==", + "dev": true + }, + "@webassemblyjs/helper-wasm-section": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz", + "integrity": "sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/wasm-gen": "1.14.1" + } + }, + "@webassemblyjs/ieee754": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz", + "integrity": "sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==", + "dev": true, + "requires": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "@webassemblyjs/leb128": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.13.2.tgz", + "integrity": "sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==", + "dev": true, + "requires": { + "@xtuc/long": "4.2.2" + } + }, + "@webassemblyjs/utf8": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.13.2.tgz", + "integrity": "sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==", + "dev": true + }, + "@webassemblyjs/wasm-edit": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz", + "integrity": "sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/helper-wasm-section": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-opt": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1", + "@webassemblyjs/wast-printer": "1.14.1" + } + }, + "@webassemblyjs/wasm-gen": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz", + "integrity": "sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" + } + }, + "@webassemblyjs/wasm-opt": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz", + "integrity": "sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-buffer": "1.14.1", + "@webassemblyjs/wasm-gen": "1.14.1", + "@webassemblyjs/wasm-parser": "1.14.1" + } + }, + "@webassemblyjs/wasm-parser": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz", + "integrity": "sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.14.1", + "@webassemblyjs/helper-api-error": "1.13.2", + "@webassemblyjs/helper-wasm-bytecode": "1.13.2", + "@webassemblyjs/ieee754": "1.13.2", + "@webassemblyjs/leb128": "1.13.2", + "@webassemblyjs/utf8": "1.13.2" + } + }, + "@webassemblyjs/wast-printer": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz", + "integrity": "sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.14.1", + "@xtuc/long": "4.2.2" + } + }, + "@xmldom/xmldom": { + "version": "0.8.10", + "dev": true + }, + "@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true + }, + "@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true + }, + "@zip.js/zip.js": { + "version": "2.7.60", + "dev": true + }, + "abbrev": { + "version": "1.0.9", + "dev": true + }, + "abort-controller": { + "version": "3.0.0", + "dev": true, + "requires": { + "event-target-shim": "^5.0.0" + } + }, + "accepts": { + "version": "1.3.8", + "requires": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + } + }, + "acorn": { + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", + "dev": true + }, + "acorn-import-phases": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz", + "integrity": "sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==", + "dev": true, + "requires": {} + }, + "acorn-jsx": { + "version": "5.3.2", + "dev": true, + "requires": {} + }, + "acorn-walk": { + "version": "8.3.2", + "dev": true + }, + "aes-decrypter": { + "version": "3.1.3", + "dev": true, + "requires": { + "@babel/runtime": "^7.12.5", + "@videojs/vhs-utils": "^3.0.5", + "global": "^4.4.0", + "pkcs7": "^1.0.4" + } + }, + "agent-base": { + "version": "6.0.2", + "dev": true, + "requires": { + "debug": "4" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "requires": { + "ajv": "^8.0.0" + }, + "dependencies": { + "ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "requires": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + } + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + } + } + }, + "ajv-keywords": { + "version": "3.5.2", + "dev": true, + "requires": {} + }, + "amdefine": { + "version": "1.0.1", + "dev": true, + "optional": true + }, + "ansi-colors": { + "version": "4.1.3", + "dev": true + }, + "ansi-cyan": { + "version": "0.1.1", + "dev": true, + "requires": { + "ansi-wrap": "0.1.0" + } + }, + "ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "requires": { + "type-fest": "^0.21.3" + }, + "dependencies": { + "type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true + } + } + }, + "ansi-gray": { + "version": "0.1.1", + "dev": true, + "requires": { + "ansi-wrap": "0.1.0" + } + }, + "ansi-red": { + "version": "0.1.1", + "dev": true, + "requires": { + "ansi-wrap": "0.1.0" + } + }, + "ansi-regex": { + "version": "5.0.1" + }, + "ansi-styles": { + "version": "3.2.1", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "ansi-wrap": { + "version": "0.1.0" + }, + "anymatch": { + "version": "3.1.3", + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "archiver": { + "version": "7.0.1", + "dev": true, + "requires": { + "archiver-utils": "^5.0.2", + "async": "^3.2.4", + "buffer-crc32": "^1.0.0", + "readable-stream": "^4.0.0", + "readdir-glob": "^1.1.2", + "tar-stream": "^3.0.0", + "zip-stream": "^6.0.1" + }, + "dependencies": { + "async": { + "version": "3.2.6", + "dev": true + }, + "buffer": { + "version": "6.0.3", + "dev": true, + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "buffer-crc32": { + "version": "1.0.0", + "dev": true + }, + "readable-stream": { + "version": "4.5.2", + "dev": true, + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + } + }, + "string_decoder": { + "version": "1.3.0", + "dev": true, + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "archiver-utils": { + "version": "5.0.2", + "dev": true, + "requires": { + "glob": "^10.0.0", + "graceful-fs": "^4.2.0", + "is-stream": "^2.0.1", + "lazystream": "^1.0.0", + "lodash": "^4.17.15", + "normalize-path": "^3.0.0", + "readable-stream": "^4.0.0" + }, + "dependencies": { + "buffer": { + "version": "6.0.3", + "dev": true, + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "is-stream": { + "version": "2.0.1", + "dev": true + }, + "readable-stream": { + "version": "4.5.2", + "dev": true, + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + } + }, + "string_decoder": { + "version": "1.3.0", + "dev": true, + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "are-docs-informative": { + "version": "0.0.2", + "dev": true + }, + "argparse": { + "version": "1.0.10", + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "aria-query": { + "version": "5.3.0", + "dev": true, + "requires": { + "dequal": "^2.0.3" + } + }, + "arr-diff": { + "version": "1.1.0", + "dev": true, + "requires": { + "arr-flatten": "^1.0.1", + "array-slice": "^0.2.3" + }, + "dependencies": { + "array-slice": { + "version": "0.2.3", + "dev": true + } + } + }, + "arr-flatten": { + "version": "1.1.0", + "dev": true + }, + "arr-union": { + "version": "2.1.0", + "dev": true + }, + "array-buffer-byte-length": { + "version": "1.0.2", + "dev": true, + "requires": { + "call-bound": "^1.0.3", + "is-array-buffer": "^3.0.5" + } + }, + "array-differ": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-4.0.0.tgz", + "integrity": "sha512-Q6VPTLMsmXZ47ENG3V+wQyZS1ZxXMxFyYzA+Z/GMrJ6yIutAIEf9wTyroTzmGjNfox9/h3GdGBCVh43GVFx4Uw==", + "dev": true + }, + "array-each": { + "version": "1.0.1", + "dev": true + }, + "array-flatten": { + "version": "1.1.1" + }, + "array-includes": { + "version": "3.1.8", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.4", + "is-string": "^1.0.7" + } + }, + "array-slice": { + "version": "1.1.0", + "dev": true + }, + "array-union": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-3.0.1.tgz", + "integrity": "sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw==", + "dev": true + }, + "array.prototype.findlast": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz", + "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-shim-unscopables": "^1.0.2" + } + }, + "array.prototype.findlastindex": { + "version": "1.2.5", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-shim-unscopables": "^1.0.2" + } + }, + "array.prototype.flat": { + "version": "1.3.2", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-shim-unscopables": "^1.0.0" + } + }, + "array.prototype.flatmap": { + "version": "1.3.3", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" + } + }, + "array.prototype.tosorted": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz", + "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.3", + "es-errors": "^1.3.0", + "es-shim-unscopables": "^1.0.2" + } + }, + "arraybuffer.prototype.slice": { + "version": "1.0.4", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "is-array-buffer": "^3.0.4" + } + }, + "assert": { + "version": "2.1.0", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "is-nan": "^1.3.2", + "object-is": "^1.1.5", + "object.assign": "^4.1.4", + "util": "^0.12.5" + } + }, + "assertion-error": { + "version": "1.1.0", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0" + }, + "ast-types": { + "version": "0.13.4", + "dev": true, + "requires": { + "tslib": "^2.0.1" + } + }, + "async": { + "version": "1.5.2", + "dev": true + }, + "async-done": { + "version": "2.0.0", + "dev": true, + "requires": { + "end-of-stream": "^1.4.4", + "once": "^1.4.0", + "stream-exhaust": "^1.0.2" + } + }, + "async-exit-hook": { + "version": "2.0.1", + "dev": true + }, + "async-function": { + "version": "1.0.0", + "dev": true + }, + "async-settle": { + "version": "2.0.0", + "dev": true, + "requires": { + "async-done": "^2.0.0" + } + }, + "asynckit": { + "version": "0.4.0", + "dev": true + }, + "atob": { + "version": "2.1.2", + "dev": true + }, + "available-typed-arrays": { + "version": "1.0.7", + "dev": true, + "requires": { + "possible-typed-array-names": "^1.0.0" + } + }, + "axios": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz", + "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==", + "dev": true, + "requires": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.4", + "proxy-from-env": "^1.1.0" + } + }, + "b4a": { + "version": "1.6.6", + "dev": true + }, + "babel-loader": { + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.4.1.tgz", + "integrity": "sha512-nXzRChX+Z1GoE6yWavBQg6jDslyFF3SDjl2paADuoQtQW10JqShJt62R6eJQ5m/pjJFDT8xgKIWSP85OY8eXeA==", + "dev": true, + "requires": { + "find-cache-dir": "^3.3.1", + "loader-utils": "^2.0.4", + "make-dir": "^3.1.0", + "schema-utils": "^2.6.5" + }, + "dependencies": { + "schema-utils": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", + "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.5", + "ajv": "^6.12.4", + "ajv-keywords": "^3.5.2" + } + } + } + }, + "babel-plugin-istanbul": { + "version": "6.1.1", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^5.0.4", + "test-exclude": "^6.0.0" + } + }, + "babel-plugin-polyfill-corejs2": { + "version": "0.4.11", + "requires": { + "@babel/compat-data": "^7.22.6", + "@babel/helper-define-polyfill-provider": "^0.6.2", + "semver": "^6.3.1" + } + }, + "babel-plugin-polyfill-corejs3": { + "version": "0.11.1", + "requires": { + "@babel/helper-define-polyfill-provider": "^0.6.3", + "core-js-compat": "^3.40.0" + } + }, + "babel-plugin-polyfill-regenerator": { + "version": "0.6.2", + "requires": { + "@babel/helper-define-polyfill-provider": "^0.6.2" + } + }, + "bach": { + "version": "2.0.1", + "dev": true, + "requires": { + "async-done": "^2.0.0", + "async-settle": "^2.0.0", + "now-and-later": "^3.0.0" + } + }, + "balanced-match": { + "version": "1.0.2" + }, + "bare-events": { + "version": "2.5.4", + "dev": true, + "optional": true + }, + "bare-fs": { + "version": "4.1.2", + "dev": true, + "optional": true, + "requires": { + "bare-events": "^2.5.4", + "bare-path": "^3.0.0", + "bare-stream": "^2.6.4" + } + }, + "bare-os": { + "version": "3.6.1", + "dev": true, + "optional": true + }, + "bare-path": { + "version": "3.0.0", + "dev": true, + "optional": true, + "requires": { + "bare-os": "^3.0.1" + } + }, + "bare-stream": { + "version": "2.6.5", + "dev": true, + "optional": true, + "requires": { + "streamx": "^2.21.0" + } + }, + "base64-js": { + "version": "1.5.1", + "dev": true + }, + "base64id": { + "version": "2.0.0" + }, + "baseline-browser-mapping": { + "version": "2.8.17", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.17.tgz", + "integrity": "sha512-j5zJcx6golJYTG6c05LUZ3Z8Gi+M62zRT/ycz4Xq4iCOdpcxwg7ngEYD4KA0eWZC7U17qh/Smq8bYbACJ0ipBA==" + }, + "basic-auth": { + "version": "2.0.1", + "dev": true, + "requires": { + "safe-buffer": "5.1.2" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "dev": true + } + } + }, + "basic-ftp": { + "version": "5.0.5", + "dev": true + }, + "batch": { + "version": "0.6.1", + "dev": true + }, + "big.js": { + "version": "5.2.2", + "dev": true + }, + "binary-extensions": { + "version": "2.3.0" + }, + "binaryextensions": { + "version": "2.3.0", + "dev": true + }, + "bl": { + "version": "5.1.0", + "dev": true, + "requires": { + "buffer": "^6.0.3", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + }, + "dependencies": { + "buffer": { + "version": "6.0.3", + "dev": true, + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "readable-stream": { + "version": "3.6.2", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "bluebird": { + "version": "3.7.2" + }, + "body": { + "version": "5.1.0", + "dev": true, + "requires": { + "continuable-cache": "^0.3.1", + "error": "^7.0.0", + "raw-body": "~1.1.0", + "safe-json-parse": "~1.0.1" + }, + "dependencies": { + "bytes": { + "version": "1.0.0", + "dev": true + }, + "raw-body": { + "version": "1.1.7", + "dev": true, + "requires": { + "bytes": "1", + "string_decoder": "0.10" + } + }, + "string_decoder": { + "version": "0.10.31", + "dev": true + } + } + }, + "body-parser": { + "version": "1.20.3", + "requires": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.13.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0" + } + } + }, + "boolbase": { + "version": "1.0.0", + "dev": true + }, + "brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.3", + "requires": { + "fill-range": "^7.1.1" + } + }, + "browser-stdout": { + "version": "1.3.1", + "dev": true + }, + "browserslist": { + "version": "4.26.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.26.3.tgz", + "integrity": "sha512-lAUU+02RFBuCKQPj/P6NgjlbCnLBMp4UtgTx7vNHd3XSIJF87s9a5rA3aH2yw3GS9DqZAUbOtZdCCiZeVRqt0w==", + "requires": { + "baseline-browser-mapping": "^2.8.9", + "caniuse-lite": "^1.0.30001746", + "electron-to-chromium": "^1.5.227", + "node-releases": "^2.0.21", + "update-browserslist-db": "^1.1.3" + } + }, + "browserstack": { + "version": "1.5.3", + "dev": true, + "requires": { + "https-proxy-agent": "^2.2.1" + }, + "dependencies": { + "agent-base": { + "version": "4.3.0", + "dev": true, + "requires": { + "es6-promisify": "^5.0.0" + } + }, + "debug": { + "version": "3.2.7", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "https-proxy-agent": { + "version": "2.2.4", + "dev": true, + "requires": { + "agent-base": "^4.3.0", + "debug": "^3.1.0" + } + } + } + }, + "browserstack-local": { + "version": "1.5.5", + "dev": true, + "requires": { + "agent-base": "^6.0.2", + "https-proxy-agent": "^5.0.1", + "is-running": "^2.1.0", + "ps-tree": "=1.2.0", + "temp-fs": "^0.9.9" + } + }, + "buffer-crc32": { + "version": "0.2.13", + "dev": true + }, + "buffer-from": { + "version": "1.1.2", + "dev": true + }, + "bufferstreams": { + "version": "1.0.1", + "requires": { + "readable-stream": "^1.0.33" + }, + "dependencies": { + "isarray": { + "version": "0.0.1" + }, + "readable-stream": { + "version": "1.1.14", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31" + } + } + }, + "bytes": { + "version": "3.1.2" + }, + "call-bind": { + "version": "1.0.8", + "dev": true, + "requires": { + "call-bind-apply-helpers": "^1.0.0", + "es-define-property": "^1.0.0", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.2" + } + }, + "call-bind-apply-helpers": { + "version": "1.0.2", + "requires": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + } + }, + "call-bound": { + "version": "1.0.4", + "requires": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + } + }, + "callsites": { + "version": "3.1.0", + "dev": true + }, + "camelcase": { + "version": "5.3.1", + "dev": true + }, + "can-autoplay": { + "version": "3.0.2", + "dev": true + }, + "caniuse-lite": { + "version": "1.0.30001756", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001756.tgz", + "integrity": "sha512-4HnCNKbMLkLdhJz3TToeVWHSnfJvPaq6vu/eRP0Ahub/07n484XHhBF5AJoSGHdVrS8tKFauUQz8Bp9P7LVx7A==" + }, + "chai": { + "version": "4.4.1", + "dev": true, + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.3", + "deep-eql": "^4.1.3", + "get-func-name": "^2.0.2", + "loupe": "^2.3.6", + "pathval": "^1.1.1", + "type-detect": "^4.0.8" + } + }, + "chalk": { + "version": "2.4.2", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "chardet": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz", + "integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==", + "dev": true + }, + "check-error": { + "version": "1.0.3", + "dev": true, + "requires": { + "get-func-name": "^2.0.2" + } + }, + "cheerio": { + "version": "1.0.0", + "dev": true, + "requires": { + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.1.0", + "encoding-sniffer": "^0.2.0", + "htmlparser2": "^9.1.0", + "parse5": "^7.1.2", + "parse5-htmlparser2-tree-adapter": "^7.0.0", + "parse5-parser-stream": "^7.1.2", + "undici": "^6.19.5", + "whatwg-mimetype": "^4.0.0" + }, + "dependencies": { + "parse5": { + "version": "7.1.2", + "dev": true, + "requires": { + "entities": "^4.4.0" + } + } + } + }, + "cheerio-select": { + "version": "2.1.0", + "dev": true, + "requires": { + "boolbase": "^1.0.0", + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1" + } + }, + "chokidar": { + "version": "3.6.0", + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "chrome-trace-event": { + "version": "1.0.4", + "dev": true + }, + "chromium-bidi": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-5.1.0.tgz", + "integrity": "sha512-9MSRhWRVoRPDG0TgzkHrshFSJJNZzfY5UFqUMuksg7zL1yoZIZ3jLB0YAgHclbiAxPI86pBnwDX1tbzoiV8aFw==", + "dev": true, + "requires": { + "mitt": "^3.0.1", + "zod": "^3.24.1" + } + }, + "ci-info": { + "version": "3.9.0", + "dev": true + }, + "cli-width": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", + "dev": true + }, + "cliui": { + "version": "8.0.1", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "strip-ansi": { + "version": "6.0.1", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + } + } + }, + "clone": { + "version": "2.1.2", + "dev": true + }, + "clone-buffer": { + "version": "1.0.0", + "dev": true + }, + "clone-deep": { + "version": "4.0.1", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "dependencies": { + "is-plain-object": { + "version": "2.0.4", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + } + } + }, + "clone-stats": { + "version": "1.0.0", + "dev": true + }, + "cloneable-readable": { + "version": "1.1.3", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "process-nextick-args": "^2.0.0", + "readable-stream": "^2.3.5" + } + }, + "color-convert": { + "version": "1.9.3", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "dev": true + }, + "color-support": { + "version": "1.1.3", + "dev": true + }, + "colors": { + "version": "1.4.0", + "dev": true + }, + "combined-stream": { + "version": "1.0.8", + "dev": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "comment-parser": { + "version": "1.4.1", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "dev": true + }, + "compress-commons": { + "version": "6.0.2", + "dev": true, + "requires": { + "crc-32": "^1.2.0", + "crc32-stream": "^6.0.0", + "is-stream": "^2.0.1", + "normalize-path": "^3.0.0", + "readable-stream": "^4.0.0" + }, + "dependencies": { + "buffer": { + "version": "6.0.3", + "dev": true, + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "is-stream": { + "version": "2.0.1", + "dev": true + }, + "readable-stream": { + "version": "4.5.2", + "dev": true, + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + } + }, + "string_decoder": { + "version": "1.3.0", + "dev": true, + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "concat-map": { + "version": "0.0.1" + }, + "concat-with-sourcemaps": { + "version": "1.1.0", + "dev": true, + "requires": { + "source-map": "^0.6.1" + } + }, + "connect": { + "version": "3.7.0", + "requires": { + "debug": "2.6.9", + "finalhandler": "1.1.2", + "parseurl": "~1.3.3", + "utils-merge": "1.0.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "requires": { + "ms": "2.0.0" + } + }, + "finalhandler": { + "version": "1.1.2", + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + } + }, + "ms": { + "version": "2.0.0" + }, + "on-finished": { + "version": "2.3.0", + "requires": { + "ee-first": "1.1.1" + } + }, + "statuses": { + "version": "1.5.0" + } + } + }, + "connect-livereload": { + "version": "0.6.1", + "dev": true + }, + "consolidate": { + "version": "0.15.1", + "requires": { + "bluebird": "^3.1.1" + } + }, + "content-disposition": { + "version": "0.5.4", + "requires": { + "safe-buffer": "5.2.1" + } + }, + "content-type": { + "version": "1.0.5" + }, + "continuable-cache": { + "version": "0.3.1", + "dev": true + }, + "convert-source-map": { + "version": "2.0.0" + }, + "cookie": { + "version": "0.7.1" + }, + "cookie-signature": { + "version": "1.0.6" + }, + "copy-props": { + "version": "4.0.0", + "dev": true, + "requires": { + "each-props": "^3.0.0", + "is-plain-object": "^5.0.0" + } + }, + "core-js": { + "version": "3.45.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.45.1.tgz", + "integrity": "sha512-L4NPsJlCfZsPeXukyzHFlg/i7IIVwHSItR0wg0FLNqYClJ4MQYTYLbC7EkjKYRLZF2iof2MUgN0EGy7MdQFChg==" + }, + "core-js-compat": { + "version": "3.42.0", + "requires": { + "browserslist": "^4.24.4" + } + }, + "core-util-is": { + "version": "1.0.3" + }, + "cors": { + "version": "2.8.5", + "requires": { + "object-assign": "^4", + "vary": "^1" + } + }, + "cosmiconfig": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", + "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", + "dev": true, + "requires": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "dependencies": { + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "js-yaml": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + } + } + }, + "crc-32": { + "version": "1.2.2", + "dev": true + }, + "crc32-stream": { + "version": "6.0.0", + "dev": true, + "requires": { + "crc-32": "^1.2.0", + "readable-stream": "^4.0.0" + }, + "dependencies": { + "buffer": { + "version": "6.0.3", + "dev": true, + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "readable-stream": { + "version": "4.5.2", + "dev": true, + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + } + }, + "string_decoder": { + "version": "1.3.0", + "dev": true, + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "create-wdio": { + "version": "9.18.2", + "resolved": "https://registry.npmjs.org/create-wdio/-/create-wdio-9.18.2.tgz", + "integrity": "sha512-atf81YJfyTNAJXsNu3qhpqF4OO43tHGTpr88duAc1Hk4a0uXJAPUYLnYxshOuMnfmeAxlWD+NqGU7orRiXEuJg==", + "dev": true, + "requires": { + "chalk": "^5.3.0", + "commander": "^14.0.0", + "cross-spawn": "^7.0.3", + "ejs": "^3.1.10", + "execa": "^9.6.0", + "import-meta-resolve": "^4.1.0", + "inquirer": "^12.7.0", + "normalize-package-data": "^7.0.0", + "read-pkg-up": "^10.1.0", + "recursive-readdir": "^2.2.3", + "semver": "^7.6.3", + "type-fest": "^4.41.0", + "yargs": "^17.7.2" + }, + "dependencies": { + "chalk": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.5.0.tgz", + "integrity": "sha512-1tm8DTaJhPBG3bIkVeZt1iZM9GfSX2lzOeDVZH9R9ffRHpmHvxZ/QhgQH/aDTkswQVt+YHdXAdS/In/30OjCbg==", + "dev": true + }, + "commander": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.0.tgz", + "integrity": "sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==", + "dev": true + }, + "execa": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.6.0.tgz", + "integrity": "sha512-jpWzZ1ZhwUmeWRhS7Qv3mhpOhLfwI+uAX4e5fOcXqwMR7EcJ0pj2kV1CVzHVMX/LphnKWD3LObjZCoJ71lKpHw==", + "dev": true, + "requires": { + "@sindresorhus/merge-streams": "^4.0.0", + "cross-spawn": "^7.0.6", + "figures": "^6.1.0", + "get-stream": "^9.0.0", + "human-signals": "^8.0.1", + "is-plain-obj": "^4.1.0", + "is-stream": "^4.0.1", + "npm-run-path": "^6.0.0", + "pretty-ms": "^9.2.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^4.0.0", + "yoctocolors": "^2.1.1" + } + }, + "get-stream": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", + "dev": true, + "requires": { + "@sec-ant/readable-stream": "^0.4.1", + "is-stream": "^4.0.1" + } + }, + "hosted-git-info": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.1.0.tgz", + "integrity": "sha512-Rw/B2DNQaPBICNXEm8balFz9a6WpZrkCGpcWFpy7nCj+NyhSdqXipmfvtmWt9xGfp0wZnBxB+iVpLmQMYt47Tw==", + "dev": true, + "requires": { + "lru-cache": "^10.0.1" + } + }, + "is-stream": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", + "dev": true + }, + "lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true + }, + "normalize-package-data": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-7.0.1.tgz", + "integrity": "sha512-linxNAT6M0ebEYZOx2tO6vBEFsVgnPpv+AVjk0wJHfaUIbq31Jm3T6vvZaarnOeWDh8ShnwXuaAyM7WT3RzErA==", + "dev": true, + "requires": { + "hosted-git-info": "^8.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + } + }, + "npm-run-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-6.0.0.tgz", + "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==", + "dev": true, + "requires": { + "path-key": "^4.0.0", + "unicorn-magic": "^0.3.0" + } + }, + "parse-ms": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", + "dev": true + }, + "path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", + "dev": true + }, + "pretty-ms": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.2.0.tgz", + "integrity": "sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==", + "dev": true, + "requires": { + "parse-ms": "^4.0.0" + } + }, + "semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true + }, + "yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + } + } + } + }, + "cross-spawn": { + "version": "7.0.6", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "dependencies": { + "isexe": { + "version": "2.0.0", + "dev": true + }, + "which": { + "version": "2.0.2", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "crypto-js": { + "version": "4.2.0" + }, + "css": { + "version": "3.0.0", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "source-map": "^0.6.1", + "source-map-resolve": "^0.6.0" + } + }, + "css-select": { + "version": "5.1.0", + "dev": true, + "requires": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + } + }, + "css-shorthand-properties": { + "version": "1.1.1", + "dev": true + }, + "css-value": { + "version": "0.0.1", + "dev": true + }, + "css-what": { + "version": "6.1.0", + "dev": true + }, + "csv-writer": { + "version": "1.6.0", + "dev": true + }, + "custom-event": { + "version": "1.0.1" + }, + "d": { + "version": "1.0.2", + "dev": true, + "requires": { + "es5-ext": "^0.10.64", + "type": "^2.7.2" + } + }, + "data-uri-to-buffer": { + "version": "4.0.1", + "dev": true + }, + "data-view-buffer": { + "version": "1.0.2", + "dev": true, + "requires": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.2" + } + }, + "data-view-byte-length": { + "version": "1.0.2", + "dev": true, + "requires": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.2" + } + }, + "data-view-byte-offset": { + "version": "1.0.1", + "dev": true, + "requires": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + } + }, + "date-format": { + "version": "4.0.14" + }, + "debounce": { + "version": "1.2.1", + "dev": true + }, + "debug": { + "version": "4.3.6", + "requires": { + "ms": "2.1.2" + } + }, + "debug-fabulous": { + "version": "1.1.0", + "dev": true, + "requires": { + "debug": "3.X", + "memoizee": "0.4.X", + "object-assign": "4.X" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "decamelize": { + "version": "6.0.0", + "dev": true + }, + "decode-uri-component": { + "version": "0.2.2", + "dev": true + }, + "deep-eql": { + "version": "4.1.4", + "dev": true, + "requires": { + "type-detect": "^4.0.0" + } + }, + "deep-equal": { + "version": "2.2.3", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.5", + "es-get-iterator": "^1.1.3", + "get-intrinsic": "^1.2.2", + "is-arguments": "^1.1.1", + "is-array-buffer": "^3.0.2", + "is-date-object": "^1.0.5", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "isarray": "^2.0.5", + "object-is": "^1.1.5", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.1", + "side-channel": "^1.0.4", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.13" + } + }, + "deep-is": { + "version": "0.1.4", + "dev": true + }, + "deepmerge-ts": { + "version": "7.1.5", + "dev": true + }, + "defaults": { + "version": "1.0.4", + "dev": true, + "optional": true, + "requires": { + "clone": "^1.0.2" + }, + "dependencies": { + "clone": { + "version": "1.0.4", + "dev": true, + "optional": true + } + } + }, + "define-data-property": { + "version": "1.1.4", + "dev": true, + "requires": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + } + }, + "define-properties": { + "version": "1.2.1", + "dev": true, + "requires": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + } + }, + "degenerator": { + "version": "5.0.1", + "dev": true, + "requires": { + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" + }, + "dependencies": { + "escodegen": { + "version": "2.1.0", + "dev": true, + "requires": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "source-map": "~0.6.1" + } + }, + "esprima": { + "version": "4.0.1", + "dev": true + }, + "estraverse": { + "version": "5.3.0", + "dev": true + } + } + }, + "delayed-stream": { + "version": "1.0.0", + "dev": true + }, + "depd": { + "version": "2.0.0" + }, + "dequal": { + "version": "2.0.3", + "dev": true + }, + "destroy": { + "version": "1.2.0" + }, + "detect-file": { + "version": "1.0.0", + "dev": true + }, + "detect-newline": { + "version": "2.1.0", + "dev": true + }, + "devtools-protocol": { + "version": "0.0.1464554", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1464554.tgz", + "integrity": "sha512-CAoP3lYfwAGQTaAXYvA6JZR0fjGUb7qec1qf4mToyoH2TZgUFeIqYcjh6f9jNuhHfuZiEdH+PONHYrLhRQX6aw==", + "dev": true + }, + "di": { + "version": "0.0.1" + }, + "diff": { + "version": "5.2.0", + "dev": true + }, + "diff-sequences": { + "version": "29.6.3", + "dev": true + }, + "dlv": { + "version": "1.1.3" + }, + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "dom-serialize": { + "version": "2.2.1", + "requires": { + "custom-event": "~1.0.0", + "ent": "~2.2.0", + "extend": "^3.0.0", + "void-elements": "^2.0.0" + } + }, + "dom-serializer": { + "version": "2.0.0", + "dev": true, + "requires": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + } + }, + "dom-walk": { + "version": "0.1.2", + "dev": true + }, + "domelementtype": { + "version": "2.3.0", + "dev": true + }, + "domhandler": { + "version": "5.0.3", + "dev": true, + "requires": { + "domelementtype": "^2.3.0" + } + }, + "domutils": { + "version": "3.1.0", + "dev": true, + "requires": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + } + }, + "dotenv": { + "version": "17.2.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.2.1.tgz", + "integrity": "sha512-kQhDYKZecqnM0fCnzI5eIv5L4cAe/iRI+HqMbO/hbRdTAeXDG+M9FjipUxNfbARuEg4iHIbhnhs78BCHNbSxEQ==", + "dev": true + }, + "dset": { + "version": "3.1.4" + }, + "dunder-proto": { + "version": "1.0.1", + "requires": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + } + }, + "duplexer": { + "version": "0.1.2", + "dev": true + }, + "duplexify": { + "version": "4.1.3", + "dev": true, + "requires": { + "end-of-stream": "^1.4.1", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1", + "stream-shift": "^1.0.2" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.2", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "each-props": { + "version": "3.0.0", + "dev": true, + "requires": { + "is-plain-object": "^5.0.0", + "object.defaults": "^1.1.0" + } + }, + "eastasianwidth": { + "version": "0.2.0", + "dev": true + }, + "easy-table": { + "version": "1.2.0", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1", + "wcwidth": "^1.0.1" + } + }, + "edge-paths": { + "version": "3.0.5", + "dev": true, + "requires": { + "@types/which": "^2.0.1", + "which": "^2.0.2" + }, + "dependencies": { + "isexe": { + "version": "2.0.0", + "dev": true + }, + "which": { + "version": "2.0.2", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "edgedriver": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/edgedriver/-/edgedriver-6.1.2.tgz", + "integrity": "sha512-UvFqd/IR81iPyWMcxXbUNi+xKWR7JjfoHjfuwjqsj9UHQKn80RpQmS0jf+U25IPi+gKVPcpOSKm0XkqgGMq4zQ==", + "dev": true, + "requires": { + "@wdio/logger": "^9.1.3", + "@zip.js/zip.js": "^2.7.53", + "decamelize": "^6.0.0", + "edge-paths": "^3.0.5", + "fast-xml-parser": "^5.0.8", + "http-proxy-agent": "^7.0.2", + "https-proxy-agent": "^7.0.5", + "node-fetch": "^3.3.2", + "which": "^5.0.0" + }, + "dependencies": { + "@wdio/logger": { + "version": "9.15.0", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "strip-ansi": "^7.1.0" + } + }, + "agent-base": { + "version": "7.1.3", + "dev": true + }, + "chalk": { + "version": "5.4.1", + "dev": true + }, + "https-proxy-agent": { + "version": "7.0.6", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "4" + } + } + } + }, + "ee-first": { + "version": "1.1.1" + }, + "ejs": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", + "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", + "dev": true, + "requires": { + "jake": "^10.8.5" + } + }, + "electron-to-chromium": { + "version": "1.5.237", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.237.tgz", + "integrity": "sha512-icUt1NvfhGLar5lSWH3tHNzablaA5js3HVHacQimfP8ViEBOQv+L7DKEuHdbTZ0SKCO1ogTJTIL1Gwk9S6Qvcg==" + }, + "emoji-regex": { + "version": "8.0.0" + }, + "emojis-list": { + "version": "3.0.0", + "dev": true + }, + "encodeurl": { + "version": "1.0.2" + }, + "encoding-sniffer": { + "version": "0.2.0", + "dev": true, + "requires": { + "iconv-lite": "^0.6.3", + "whatwg-encoding": "^3.1.1" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, + "end-of-stream": { + "version": "1.4.4", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "engine.io": { + "version": "6.6.2", + "requires": { + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.7.2", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.17.1" + }, + "dependencies": { + "cookie": { + "version": "0.7.2" + } + } + }, + "engine.io-parser": { + "version": "5.2.3" + }, + "enhanced-resolve": { + "version": "5.18.3", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.3.tgz", + "integrity": "sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + } + }, + "ent": { + "version": "2.2.0" + }, + "entities": { + "version": "4.5.0", + "dev": true + }, + "env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true + }, + "errno": { + "version": "0.1.8", + "dev": true, + "requires": { + "prr": "~1.0.1" + } + }, + "error": { + "version": "7.2.1", + "dev": true, + "requires": { + "string-template": "~0.2.1" + } + }, + "error-ex": { + "version": "1.3.2", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.23.9", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.2", + "arraybuffer.prototype.slice": "^1.0.4", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "data-view-buffer": "^1.0.2", + "data-view-byte-length": "^1.0.2", + "data-view-byte-offset": "^1.0.1", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-set-tostringtag": "^2.1.0", + "es-to-primitive": "^1.3.0", + "function.prototype.name": "^1.1.8", + "get-intrinsic": "^1.2.7", + "get-proto": "^1.0.0", + "get-symbol-description": "^1.1.0", + "globalthis": "^1.0.4", + "gopd": "^1.2.0", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "internal-slot": "^1.1.0", + "is-array-buffer": "^3.0.5", + "is-callable": "^1.2.7", + "is-data-view": "^1.0.2", + "is-regex": "^1.2.1", + "is-shared-array-buffer": "^1.0.4", + "is-string": "^1.1.1", + "is-typed-array": "^1.1.15", + "is-weakref": "^1.1.0", + "math-intrinsics": "^1.1.0", + "object-inspect": "^1.13.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.7", + "own-keys": "^1.0.1", + "regexp.prototype.flags": "^1.5.3", + "safe-array-concat": "^1.1.3", + "safe-push-apply": "^1.0.0", + "safe-regex-test": "^1.1.0", + "set-proto": "^1.0.0", + "string.prototype.trim": "^1.2.10", + "string.prototype.trimend": "^1.0.9", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.3", + "typed-array-byte-length": "^1.0.3", + "typed-array-byte-offset": "^1.0.4", + "typed-array-length": "^1.0.7", + "unbox-primitive": "^1.1.0", + "which-typed-array": "^1.1.18" + } + }, + "es-define-property": { + "version": "1.0.1" + }, + "es-errors": { + "version": "1.3.0" + }, + "es-get-iterator": { + "version": "1.1.3", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "has-symbols": "^1.0.3", + "is-arguments": "^1.1.1", + "is-map": "^2.0.2", + "is-set": "^2.0.2", + "is-string": "^1.0.7", + "isarray": "^2.0.5", + "stop-iteration-iterator": "^1.0.0" + } + }, + "es-iterator-helpers": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.2.1.tgz", + "integrity": "sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w==", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.6", + "es-errors": "^1.3.0", + "es-set-tostringtag": "^2.0.3", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.6", + "globalthis": "^1.0.4", + "gopd": "^1.2.0", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.2.0", + "has-symbols": "^1.1.0", + "internal-slot": "^1.1.0", + "iterator.prototype": "^1.1.4", + "safe-array-concat": "^1.1.3" + } + }, + "es-module-lexer": { + "version": "1.5.3", + "dev": true + }, + "es-object-atoms": { + "version": "1.1.1", + "requires": { + "es-errors": "^1.3.0" + } + }, + "es-set-tostringtag": { + "version": "2.1.0", + "dev": true, + "requires": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + } + }, + "es-shim-unscopables": { + "version": "1.0.2", + "dev": true, + "requires": { + "hasown": "^2.0.0" + } + }, + "es-to-primitive": { + "version": "1.3.0", + "dev": true, + "requires": { + "is-callable": "^1.2.7", + "is-date-object": "^1.0.5", + "is-symbol": "^1.0.4" + } + }, + "es5-ext": { + "version": "0.10.64", + "dev": true, + "requires": { + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.3", + "esniff": "^2.0.1", + "next-tick": "^1.1.0" + } + }, + "es6-iterator": { + "version": "2.0.3", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "es6-promise": { + "version": "4.2.8" + }, + "es6-promisify": { + "version": "5.0.0", + "dev": true, + "requires": { + "es6-promise": "^4.0.3" + } + }, + "es6-symbol": { + "version": "3.1.4", + "dev": true, + "requires": { + "d": "^1.0.2", + "ext": "^1.7.0" + } + }, + "es6-weak-map": { + "version": "2.0.3", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "^0.10.46", + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.1" + } + }, + "esbuild": { + "version": "0.25.2", + "dev": true, + "requires": { + "@esbuild/aix-ppc64": "0.25.2", + "@esbuild/android-arm": "0.25.2", + "@esbuild/android-arm64": "0.25.2", + "@esbuild/android-x64": "0.25.2", + "@esbuild/darwin-arm64": "0.25.2", + "@esbuild/darwin-x64": "0.25.2", + "@esbuild/freebsd-arm64": "0.25.2", + "@esbuild/freebsd-x64": "0.25.2", + "@esbuild/linux-arm": "0.25.2", + "@esbuild/linux-arm64": "0.25.2", + "@esbuild/linux-ia32": "0.25.2", + "@esbuild/linux-loong64": "0.25.2", + "@esbuild/linux-mips64el": "0.25.2", + "@esbuild/linux-ppc64": "0.25.2", + "@esbuild/linux-riscv64": "0.25.2", + "@esbuild/linux-s390x": "0.25.2", + "@esbuild/linux-x64": "0.25.2", + "@esbuild/netbsd-arm64": "0.25.2", + "@esbuild/netbsd-x64": "0.25.2", + "@esbuild/openbsd-arm64": "0.25.2", + "@esbuild/openbsd-x64": "0.25.2", + "@esbuild/sunos-x64": "0.25.2", + "@esbuild/win32-arm64": "0.25.2", + "@esbuild/win32-ia32": "0.25.2", + "@esbuild/win32-x64": "0.25.2" + } + }, + "escalade": { + "version": "3.2.0" + }, + "escape-html": { + "version": "1.0.3" + }, + "escape-string-regexp": { + "version": "1.0.5", + "dev": true + }, + "escodegen": { + "version": "1.8.1", + "dev": true, + "requires": { + "esprima": "^2.7.1", + "estraverse": "^1.9.1", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.2.0" + }, + "dependencies": { + "estraverse": { + "version": "1.9.3", + "dev": true + }, + "levn": { + "version": "0.3.0", + "dev": true, + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "optionator": { + "version": "0.8.3", + "dev": true, + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + } + }, + "prelude-ls": { + "version": "1.1.2", + "dev": true + }, + "source-map": { + "version": "0.2.0", + "dev": true, + "optional": true, + "requires": { + "amdefine": ">=0.0.4" + } + }, + "type-check": { + "version": "0.3.2", + "dev": true, + "requires": { + "prelude-ls": "~1.1.2" + } + } + } + }, + "eslint": { + "version": "9.31.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.31.0.tgz", + "integrity": "sha512-QldCVh/ztyKJJZLr4jXNUByx3gR+TDYZCRXEktiZoUR3PGy4qCmSbkxcIle8GEwGpb5JBZazlaJ/CxLidXdEbQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.21.0", + "@eslint/config-helpers": "^0.3.0", + "@eslint/core": "^0.15.0", + "@eslint/eslintrc": "^3.3.1", + "@eslint/js": "9.31.0", + "@eslint/plugin-kit": "^0.3.1", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.4.0", + "eslint-visitor-keys": "^4.2.1", + "espree": "^10.4.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "dev": true + }, + "eslint-scope": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz", + "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + } + }, + "eslint-visitor-keys": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", + "dev": true + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + }, + "find-up": { + "version": "5.0.0", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "glob-parent": { + "version": "6.0.2", + "dev": true, + "requires": { + "is-glob": "^4.0.3" + } + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "locate-path": { + "version": "6.0.0", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "p-limit": { + "version": "3.1.0", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "yocto-queue": { + "version": "0.1.0", + "dev": true + } + } + }, + "eslint-compat-utils": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/eslint-compat-utils/-/eslint-compat-utils-0.5.1.tgz", + "integrity": "sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==", + "dev": true, + "requires": { + "semver": "^7.5.4" + }, + "dependencies": { + "semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true + } + } + }, + "eslint-import-context": { + "version": "0.1.9", + "resolved": "https://registry.npmjs.org/eslint-import-context/-/eslint-import-context-0.1.9.tgz", + "integrity": "sha512-K9Hb+yRaGAGUbwjhFNHvSmmkZs9+zbuoe3kFQ4V1wYjrepUFYM2dZAfNtjbbj3qsPfUfsA68Bx/ICWQMi+C8Eg==", + "dev": true, + "requires": { + "get-tsconfig": "^4.10.1", + "stable-hash-x": "^0.2.0" + } + }, + "eslint-import-resolver-node": { + "version": "0.3.9", + "dev": true, + "requires": { + "debug": "^3.2.7", + "is-core-module": "^2.13.0", + "resolve": "^1.22.4" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "eslint-import-resolver-typescript": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.10.1.tgz", + "integrity": "sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==", + "dev": true, + "requires": { + "@nolyfill/is-core-module": "1.0.39", + "debug": "^4.4.0", + "get-tsconfig": "^4.10.0", + "is-bun-module": "^2.0.0", + "stable-hash": "^0.0.5", + "tinyglobby": "^0.2.13", + "unrs-resolver": "^1.6.2" + }, + "dependencies": { + "debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "dev": true, + "requires": { + "ms": "^2.1.3" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + } + } + }, + "eslint-module-utils": { + "version": "2.12.0", + "dev": true, + "requires": { + "debug": "^3.2.7" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "eslint-plugin-chai-friendly": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-chai-friendly/-/eslint-plugin-chai-friendly-1.1.0.tgz", + "integrity": "sha512-+T1rClpDdXkgBAhC16vRQMI5umiWojVqkj9oUTdpma50+uByCZM/oBfxitZiOkjMRlm725mwFfz/RVgyDRvCKA==", + "dev": true, + "requires": {} + }, + "eslint-plugin-es-x": { + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-7.8.0.tgz", + "integrity": "sha512-7Ds8+wAAoV3T+LAKeu39Y5BzXCrGKrcISfgKEqTS4BDN8SFEDQd0S43jiQ8vIa3wUKD07qitZdfzlenSi8/0qQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.1.2", + "@eslint-community/regexpp": "^4.11.0", + "eslint-compat-utils": "^0.5.1" + } + }, + "eslint-plugin-import": { + "version": "2.31.0", + "dev": true, + "requires": { + "@rtsao/scc": "^1.1.0", + "array-includes": "^3.1.8", + "array.prototype.findlastindex": "^1.2.5", + "array.prototype.flat": "^1.3.2", + "array.prototype.flatmap": "^1.3.2", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.9", + "eslint-module-utils": "^2.12.0", + "hasown": "^2.0.2", + "is-core-module": "^2.15.1", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.fromentries": "^2.0.8", + "object.groupby": "^1.0.3", + "object.values": "^1.2.0", + "semver": "^6.3.1", + "string.prototype.trimend": "^1.0.8", + "tsconfig-paths": "^3.15.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "eslint-plugin-import-x": { + "version": "4.16.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import-x/-/eslint-plugin-import-x-4.16.1.tgz", + "integrity": "sha512-vPZZsiOKaBAIATpFE2uMI4w5IRwdv/FpQ+qZZMR4E+PeOcM4OeoEbqxRMnywdxP19TyB/3h6QBB0EWon7letSQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "^8.35.0", + "comment-parser": "^1.4.1", + "debug": "^4.4.1", + "eslint-import-context": "^0.1.9", + "is-glob": "^4.0.3", + "minimatch": "^9.0.3 || ^10.0.1", + "semver": "^7.7.2", + "stable-hash-x": "^0.2.0", + "unrs-resolver": "^1.9.2" + }, + "dependencies": { + "debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "dev": true, + "requires": { + "ms": "^2.1.3" + } + }, + "minimatch": { + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", + "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", + "dev": true, + "requires": { + "@isaacs/brace-expansion": "^5.0.0" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true + } + } + }, + "eslint-plugin-jsdoc": { + "version": "50.6.6", + "dev": true, + "requires": { + "@es-joy/jsdoccomment": "~0.49.0", + "are-docs-informative": "^0.0.2", + "comment-parser": "1.4.1", + "debug": "^4.3.6", + "escape-string-regexp": "^4.0.0", + "espree": "^10.1.0", + "esquery": "^1.6.0", + "parse-imports": "^2.1.1", + "semver": "^7.6.3", + "spdx-expression-parse": "^4.0.0", + "synckit": "^0.9.1" + }, + "dependencies": { + "escape-string-regexp": { + "version": "4.0.0", + "dev": true + }, + "semver": { + "version": "7.7.1", + "dev": true + }, + "spdx-expression-parse": { + "version": "4.0.0", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + } + } + }, + "eslint-plugin-n": { + "version": "17.21.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-17.21.3.tgz", + "integrity": "sha512-MtxYjDZhMQgsWRm/4xYLL0i2EhusWT7itDxlJ80l1NND2AL2Vi5Mvneqv/ikG9+zpran0VsVRXTEHrpLmUZRNw==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.5.0", + "enhanced-resolve": "^5.17.1", + "eslint-plugin-es-x": "^7.8.0", + "get-tsconfig": "^4.8.1", + "globals": "^15.11.0", + "globrex": "^0.1.2", + "ignore": "^5.3.2", + "semver": "^7.6.3", + "ts-declaration-location": "^1.0.6" + }, + "dependencies": { + "globals": { + "version": "15.15.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", + "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "dev": true + }, + "semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true + } + } + }, + "eslint-plugin-promise": { + "version": "7.2.1", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.4.0" + } + }, + "eslint-plugin-react": { + "version": "7.37.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz", + "integrity": "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==", + "dev": true, + "requires": { + "array-includes": "^3.1.8", + "array.prototype.findlast": "^1.2.5", + "array.prototype.flatmap": "^1.3.3", + "array.prototype.tosorted": "^1.1.4", + "doctrine": "^2.1.0", + "es-iterator-helpers": "^1.2.1", + "estraverse": "^5.3.0", + "hasown": "^2.0.2", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.1.2", + "object.entries": "^1.1.9", + "object.fromentries": "^2.0.8", + "object.values": "^1.2.1", + "prop-types": "^15.8.1", + "resolve": "^2.0.0-next.5", + "semver": "^6.3.1", + "string.prototype.matchall": "^4.0.12", + "string.prototype.repeat": "^1.0.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + }, + "resolve": { + "version": "2.0.0-next.5", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz", + "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==", + "dev": true, + "requires": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + } + } + }, + "eslint-scope": { + "version": "5.1.1", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + } + }, + "eslint-visitor-keys": { + "version": "2.1.0", + "dev": true + }, + "esniff": { + "version": "2.0.1", + "dev": true, + "requires": { + "d": "^1.0.1", + "es5-ext": "^0.10.62", + "event-emitter": "^0.3.5", + "type": "^2.7.2" + } + }, + "espree": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz", + "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==", + "dev": true, + "requires": { + "acorn": "^8.15.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.1" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", + "dev": true + } + } + }, + "esprima": { + "version": "2.7.3", + "dev": true + }, + "esquery": { + "version": "1.6.0", + "dev": true, + "requires": { + "estraverse": "^5.1.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "dev": true + } + } + }, + "esrecurse": { + "version": "4.3.0", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "dev": true + } + } + }, + "estraverse": { + "version": "4.3.0", + "dev": true + }, + "esutils": { + "version": "2.0.3" + }, + "etag": { + "version": "1.8.1" + }, + "event-emitter": { + "version": "0.3.5", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "~0.10.14" + } + }, + "event-stream": { + "version": "3.3.4", + "dev": true, + "requires": { + "duplexer": "~0.1.1", + "from": "~0", + "map-stream": "~0.1.0", + "pause-stream": "0.0.11", + "split": "0.3", + "stream-combiner": "~0.0.4", + "through": "~2.3.1" + }, + "dependencies": { + "map-stream": { + "version": "0.1.0", + "dev": true + } + } + }, + "event-target-shim": { + "version": "5.0.1", + "dev": true + }, + "eventemitter3": { + "version": "4.0.7" + }, + "events": { + "version": "3.3.0", + "dev": true + }, + "execa": { + "version": "1.0.0", + "dev": true, + "requires": { + "cross-spawn": "^6.0.0", + "get-stream": "^4.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "6.0.6", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "isexe": { + "version": "2.0.0", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "dev": true + }, + "semver": { + "version": "5.7.2", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "dev": true + }, + "which": { + "version": "1.3.1", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "expand-tilde": { + "version": "2.0.2", + "dev": true, + "requires": { + "homedir-polyfill": "^1.0.1" + } + }, + "expect": { + "version": "29.7.0", + "dev": true, + "requires": { + "@jest/expect-utils": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0" + } + }, + "express": { + "version": "4.21.2", + "requires": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.3", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.7.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.3.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.12", + "proxy-addr": "~2.0.7", + "qs": "6.13.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.19.0", + "serve-static": "1.16.2", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "requires": { + "ms": "2.0.0" + } + }, + "encodeurl": { + "version": "2.0.0" + }, + "mime": { + "version": "1.6.0" + }, + "ms": { + "version": "2.0.0" + }, + "send": { + "version": "0.19.0", + "requires": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "dependencies": { + "encodeurl": { + "version": "1.0.2" + }, + "ms": { + "version": "2.1.3" + } + } + } + } + }, + "ext": { + "version": "1.7.0", + "dev": true, + "requires": { + "type": "^2.7.2" + } + }, + "extend": { + "version": "3.0.2" + }, + "extend-shallow": { + "version": "1.1.4", + "dev": true, + "requires": { + "kind-of": "^1.1.0" + }, + "dependencies": { + "kind-of": { + "version": "1.1.0", + "dev": true + } + } + }, + "extract-zip": { + "version": "2.0.1", + "dev": true, + "requires": { + "@types/yauzl": "^2.9.1", + "debug": "^4.1.1", + "get-stream": "^5.1.0", + "yauzl": "^2.10.0" + }, + "dependencies": { + "get-stream": { + "version": "5.2.0", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + }, + "yauzl": { + "version": "2.10.0", + "dev": true, + "requires": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + } + } + }, + "faker": { + "version": "5.5.3", + "dev": true + }, + "fancy-log": { + "version": "2.0.0", + "dev": true, + "requires": { + "color-support": "^1.1.3" + } + }, + "fast-deep-equal": { + "version": "3.1.3" + }, + "fast-fifo": { + "version": "1.3.2", + "dev": true + }, + "fast-glob": { + "version": "3.3.3", + "dev": true, + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + } + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "dev": true + }, + "fast-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", + "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==" + }, + "fast-xml-parser": { + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz", + "integrity": "sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ==", + "dev": true, + "requires": { + "strnum": "^2.1.0" + } + }, + "fastest-levenshtein": { + "version": "1.0.16", + "dev": true + }, + "fastq": { + "version": "1.19.1", + "dev": true, + "requires": { + "reusify": "^1.0.4" + } + }, + "faye-websocket": { + "version": "0.10.0", + "dev": true, + "requires": { + "websocket-driver": ">=0.5.1" + } + }, + "fd-slicer": { + "version": "1.1.0", + "dev": true, + "requires": { + "pend": "~1.2.0" + } + }, + "fecha": { + "version": "4.2.3", + "dev": true + }, + "fetch-blob": { + "version": "3.2.0", + "dev": true, + "requires": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "dependencies": { + "web-streams-polyfill": { + "version": "3.3.3", + "dev": true + } + } + }, + "figures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz", + "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", + "dev": true, + "requires": { + "is-unicode-supported": "^2.0.0" + } + }, + "file-entry-cache": { + "version": "8.0.0", + "dev": true, + "requires": { + "flat-cache": "^4.0.0" + } + }, + "filelist": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", + "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", + "dev": true, + "requires": { + "minimatch": "^5.0.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "fill-range": { + "version": "7.1.1", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "finalhandler": { + "version": "1.3.1", + "requires": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "requires": { + "ms": "2.0.0" + } + }, + "encodeurl": { + "version": "2.0.0" + }, + "ms": { + "version": "2.0.0" + } + } + }, + "find-cache-dir": { + "version": "3.3.2", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + } + }, + "find-up": { + "version": "4.1.0", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "findup-sync": { + "version": "5.0.0", + "dev": true, + "requires": { + "detect-file": "^1.0.0", + "is-glob": "^4.0.3", + "micromatch": "^4.0.4", + "resolve-dir": "^1.0.1" + } + }, + "fined": { + "version": "2.0.0", + "dev": true, + "requires": { + "expand-tilde": "^2.0.2", + "is-plain-object": "^5.0.0", + "object.defaults": "^1.1.0", + "object.pick": "^1.3.0", + "parse-filepath": "^1.0.2" + } + }, + "flagged-respawn": { + "version": "2.0.0", + "dev": true + }, + "flat": { + "version": "5.0.2", + "dev": true + }, + "flat-cache": { + "version": "4.0.1", + "dev": true, + "requires": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + } + }, + "flatted": { + "version": "3.3.1" + }, + "follow-redirects": { + "version": "1.15.6" + }, + "for-each": { + "version": "0.3.5", + "dev": true, + "requires": { + "is-callable": "^1.2.7" + } + }, + "for-in": { + "version": "1.0.2", + "dev": true + }, + "for-own": { + "version": "1.0.0", + "dev": true, + "requires": { + "for-in": "^1.0.1" + } + }, + "foreground-child": { + "version": "3.3.0", + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "dependencies": { + "signal-exit": { + "version": "4.1.0", + "dev": true + } + } + }, + "fork-stream": { + "version": "0.0.4", + "dev": true + }, + "form-data": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + } + }, + "formdata-node": { + "version": "5.0.1", + "dev": true, + "requires": { + "node-domexception": "1.0.0", + "web-streams-polyfill": "4.0.0-beta.3" + } + }, + "formdata-polyfill": { + "version": "4.0.10", + "dev": true, + "requires": { + "fetch-blob": "^3.1.2" + } + }, + "forwarded": { + "version": "0.2.0" + }, + "fresh": { + "version": "0.5.2" + }, + "from": { + "version": "0.1.7", + "dev": true + }, + "fs-extra": { + "version": "11.3.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz", + "integrity": "sha512-eXvGGwZ5CL17ZSwHWd3bbgk7UUpF6IFHtP57NYYakPvHOs8GDgDe5KJI36jIJzDkJ6eJjuzRA8eBQb6SkKue0g==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "fs-mkdirp-stream": { + "version": "2.0.1", + "dev": true, + "requires": { + "graceful-fs": "^4.2.8", + "streamx": "^2.12.0" + } + }, + "fs-readfile-promise": { + "version": "3.0.1", + "requires": { + "graceful-fs": "^4.1.11" + } + }, + "fs.realpath": { + "version": "1.0.0" + }, + "fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "optional": true + }, + "fun-hooks": { + "version": "1.1.0", + "requires": { + "typescript-tuple": "^2.2.1" + } + }, + "function-bind": { + "version": "1.1.2" + }, + "function.prototype.name": { + "version": "1.1.8", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "functions-have-names": "^1.2.3", + "hasown": "^2.0.2", + "is-callable": "^1.2.7" + } + }, + "functions-have-names": { + "version": "1.2.3", + "dev": true + }, + "geckodriver": { + "version": "5.0.0", + "dev": true, + "requires": { + "@wdio/logger": "^9.1.3", + "@zip.js/zip.js": "^2.7.53", + "decamelize": "^6.0.0", + "http-proxy-agent": "^7.0.2", + "https-proxy-agent": "^7.0.5", + "node-fetch": "^3.3.2", + "tar-fs": "^3.0.6", + "which": "^5.0.0" + }, + "dependencies": { + "@wdio/logger": { + "version": "9.15.0", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "strip-ansi": "^7.1.0" + } + }, + "agent-base": { + "version": "7.1.3", + "dev": true + }, + "chalk": { + "version": "5.4.1", + "dev": true + }, + "https-proxy-agent": { + "version": "7.0.6", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "4" + } + } + } + }, + "gensync": { + "version": "1.0.0-beta.2" + }, + "get-caller-file": { + "version": "2.0.5" + }, + "get-func-name": { + "version": "2.0.2", + "dev": true + }, + "get-intrinsic": { + "version": "1.3.0", + "requires": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + } + }, + "get-package-type": { + "version": "0.1.0", + "dev": true + }, + "get-port": { + "version": "7.1.0", + "dev": true + }, + "get-proto": { + "version": "1.0.1", + "requires": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + } + }, + "get-stream": { + "version": "4.1.0", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + }, + "get-symbol-description": { + "version": "1.1.0", + "dev": true, + "requires": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6" + } + }, + "get-tsconfig": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.1.tgz", + "integrity": "sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==", + "dev": true, + "requires": { + "resolve-pkg-maps": "^1.0.0" + } + }, + "get-uri": { + "version": "6.0.4", + "dev": true, + "requires": { + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4" + }, + "dependencies": { + "data-uri-to-buffer": { + "version": "6.0.2", + "dev": true + } + } + }, + "git-repo-info": { + "version": "2.1.1", + "dev": true + }, + "gitconfiglocal": { + "version": "2.1.0", + "dev": true, + "requires": { + "ini": "^1.3.2" + }, + "dependencies": { + "ini": { + "version": "1.3.8", + "dev": true + } + } + }, + "glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "dev": true, + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.5", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "glob-parent": { + "version": "5.1.2", + "requires": { + "is-glob": "^4.0.1" + } + }, + "glob-stream": { + "version": "8.0.3", + "dev": true, + "requires": { + "@gulpjs/to-absolute-glob": "^4.0.0", + "anymatch": "^3.1.3", + "fastq": "^1.13.0", + "glob-parent": "^6.0.2", + "is-glob": "^4.0.3", + "is-negated-glob": "^1.0.0", + "normalize-path": "^3.0.0", + "streamx": "^2.12.5" + }, + "dependencies": { + "glob-parent": { + "version": "6.0.2", + "dev": true, + "requires": { + "is-glob": "^4.0.3" + } + } + } + }, + "glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", + "dev": true + }, + "glob-watcher": { + "version": "6.0.0", + "dev": true, + "requires": { + "async-done": "^2.0.0", + "chokidar": "^3.5.3" + } + }, + "global": { + "version": "4.4.0", + "dev": true, + "requires": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "global-modules": { + "version": "1.0.0", + "dev": true, + "requires": { + "global-prefix": "^1.0.1", + "is-windows": "^1.0.1", + "resolve-dir": "^1.0.0" + } + }, + "global-prefix": { + "version": "1.0.2", + "dev": true, + "requires": { + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" + }, + "dependencies": { + "ini": { + "version": "1.3.8", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "dev": true + }, + "which": { + "version": "1.3.1", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "globals": { + "version": "16.3.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-16.3.0.tgz", + "integrity": "sha512-bqWEnJ1Nt3neqx2q5SFfGS8r/ahumIakg3HcwtNlrVlwXIeNumWn/c7Pn/wKzGhf6SaW6H6uWXLqC30STCMchQ==", + "dev": true + }, + "globalthis": { + "version": "1.0.4", + "dev": true, + "requires": { + "define-properties": "^1.2.1", + "gopd": "^1.0.1" + } + }, + "globrex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", + "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==", + "dev": true + }, + "glogg": { + "version": "2.2.0", + "dev": true, + "requires": { + "sparkles": "^2.1.0" + } + }, + "gopd": { + "version": "1.2.0" + }, + "graceful-fs": { + "version": "4.2.11" + }, + "grapheme-splitter": { + "version": "1.0.4", + "dev": true + }, + "graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "gulp": { + "version": "5.0.1", + "dev": true, + "requires": { + "glob-watcher": "^6.0.0", + "gulp-cli": "^3.1.0", + "undertaker": "^2.0.0", + "vinyl-fs": "^4.0.2" + } + }, + "gulp-babel": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/gulp-babel/-/gulp-babel-8.0.0.tgz", + "integrity": "sha512-oomaIqDXxFkg7lbpBou/gnUkX51/Y/M2ZfSjL2hdqXTAlSWZcgZtd2o0cOH0r/eE8LWD0+Q/PsLsr2DKOoqToQ==", + "requires": { + "plugin-error": "^1.0.1", + "replace-ext": "^1.0.0", + "through2": "^2.0.0", + "vinyl-sourcemaps-apply": "^0.2.0" + }, + "dependencies": { + "ansi-colors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz", + "integrity": "sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==", + "requires": { + "ansi-wrap": "^0.1.0" + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==" + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==" + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==", + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "plugin-error": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-1.0.1.tgz", + "integrity": "sha512-L1zP0dk7vGweZME2i+EeakvUNqSrdiI3F91TwEoYiGrAfUXmVv6fJIq4g82PAXxNsWOp0J7ZqQy/3Szz0ajTxA==", + "requires": { + "ansi-colors": "^1.0.1", + "arr-diff": "^4.0.0", + "arr-union": "^3.1.0", + "extend-shallow": "^3.0.2" + } + }, + "replace-ext": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.1.tgz", + "integrity": "sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw==" + }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + } + } + }, + "gulp-clean": { + "version": "0.4.0", + "dev": true, + "requires": { + "fancy-log": "^1.3.2", + "plugin-error": "^0.1.2", + "rimraf": "^2.6.2", + "through2": "^2.0.3", + "vinyl": "^2.1.0" + }, + "dependencies": { + "fancy-log": { + "version": "1.3.3", + "dev": true, + "requires": { + "ansi-gray": "^0.1.1", + "color-support": "^1.1.3", + "parse-node-version": "^1.0.0", + "time-stamp": "^1.0.0" + } + }, + "glob": { + "version": "7.2.3", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "plugin-error": { + "version": "0.1.2", + "dev": true, + "requires": { + "ansi-cyan": "^0.1.1", + "ansi-red": "^0.1.1", + "arr-diff": "^1.0.1", + "arr-union": "^2.0.1", + "extend-shallow": "^1.1.2" + } + }, + "rimraf": { + "version": "2.7.1", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "through2": { + "version": "2.0.5", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + } + } + }, + "gulp-cli": { + "version": "3.1.0", + "dev": true, + "requires": { + "@gulpjs/messages": "^1.1.0", + "chalk": "^4.1.2", + "copy-props": "^4.0.0", + "gulplog": "^2.2.0", + "interpret": "^3.1.1", + "liftoff": "^5.0.1", + "mute-stdout": "^2.0.0", + "replace-homedir": "^2.0.0", + "semver-greatest-satisfied-range": "^2.0.0", + "string-width": "^4.2.3", + "v8flags": "^4.0.0", + "yargs": "^16.2.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "cliui": { + "version": "7.0.4", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "strip-ansi": { + "version": "6.0.1", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "yargs": { + "version": "16.2.0", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "dev": true + } + } + }, + "gulp-concat": { + "version": "2.6.1", + "dev": true, + "requires": { + "concat-with-sourcemaps": "^1.0.0", + "through2": "^2.0.0", + "vinyl": "^2.0.0" + }, + "dependencies": { + "through2": { + "version": "2.0.5", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + } + } + }, + "gulp-connect": { + "version": "5.7.0", + "dev": true, + "requires": { + "ansi-colors": "^2.0.5", + "connect": "^3.6.6", + "connect-livereload": "^0.6.0", + "fancy-log": "^1.3.2", + "map-stream": "^0.0.7", + "send": "^0.16.2", + "serve-index": "^1.9.1", + "serve-static": "^1.13.2", + "tiny-lr": "^1.1.1" + }, + "dependencies": { + "ansi-colors": { + "version": "2.0.5", + "dev": true + }, + "fancy-log": { + "version": "1.3.3", + "dev": true, + "requires": { + "ansi-gray": "^0.1.1", + "color-support": "^1.1.3", + "parse-node-version": "^1.0.0", + "time-stamp": "^1.0.0" + } + } + } + }, + "gulp-filter": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/gulp-filter/-/gulp-filter-9.0.1.tgz", + "integrity": "sha512-knVYL8h9bfYIeft3VokVTkuaWJkQJMrFCS3yVjZQC6BGg+1dZFoeUY++B9D2X4eFpeNTx9StWK0qnDby3NO3PA==", + "dev": true, + "requires": { + "multimatch": "^7.0.0", + "plugin-error": "^2.0.1", + "slash": "^5.1.0", + "streamfilter": "^3.0.0", + "to-absolute-glob": "^3.0.0" + } + }, + "gulp-if": { + "version": "3.0.0", + "dev": true, + "requires": { + "gulp-match": "^1.1.0", + "ternary-stream": "^3.0.0", + "through2": "^3.0.1" + }, + "dependencies": { + "through2": { + "version": "3.0.2", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + } + } + }, + "gulp-js-escape": { + "version": "1.0.1", + "dev": true, + "requires": { + "through2": "^0.6.3" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "dev": true + }, + "readable-stream": { + "version": "1.0.34", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "dev": true + }, + "through2": { + "version": "0.6.5", + "dev": true, + "requires": { + "readable-stream": ">=1.0.33-1 <1.1.0-0", + "xtend": ">=4.0.0 <4.1.0-0" + } + } + } + }, + "gulp-match": { + "version": "1.1.0", + "dev": true, + "requires": { + "minimatch": "^3.0.3" + } + }, + "gulp-rename": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/gulp-rename/-/gulp-rename-2.1.0.tgz", + "integrity": "sha512-dGuzuH8jQGqCMqC544IEPhs5+O2l+IkdoSZsgd4kY97M1CxQeI3qrmweQBIrxLBbjbe/8uEWK8HHcNBc3OCy4g==", + "dev": true + }, + "gulp-replace": { + "version": "1.1.4", + "dev": true, + "requires": { + "@types/node": "*", + "@types/vinyl": "^2.0.4", + "istextorbinary": "^3.0.0", + "replacestream": "^4.0.3", + "yargs-parser": ">=5.0.0-security.0" + } + }, + "gulp-sourcemaps": { + "version": "3.0.0", + "dev": true, + "requires": { + "@gulp-sourcemaps/identity-map": "^2.0.1", + "@gulp-sourcemaps/map-sources": "^1.0.0", + "acorn": "^6.4.1", + "convert-source-map": "^1.0.0", + "css": "^3.0.0", + "debug-fabulous": "^1.0.0", + "detect-newline": "^2.0.0", + "graceful-fs": "^4.0.0", + "source-map": "^0.6.0", + "strip-bom-string": "^1.0.0", + "through2": "^2.0.0" + }, + "dependencies": { + "acorn": { + "version": "6.4.2", + "dev": true + }, + "convert-source-map": { + "version": "1.9.0", + "dev": true + }, + "through2": { + "version": "2.0.5", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + } + } + }, + "gulp-tap": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/gulp-tap/-/gulp-tap-2.0.0.tgz", + "integrity": "sha512-U5/v1bTozx672QHzrvzPe6fPl2io7Wqyrx2y30AG53eMU/idH4BrY/b2yikOkdyhjDqGgPoMUMnpBg9e9LK8Nw==", + "dev": true, + "requires": { + "through2": "^3.0.1" + }, + "dependencies": { + "through2": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + } + } + }, + "gulp-wrap": { + "version": "0.15.0", + "requires": { + "consolidate": "^0.15.1", + "es6-promise": "^4.2.6", + "fs-readfile-promise": "^3.0.1", + "js-yaml": "^3.13.0", + "lodash": "^4.17.11", + "node.extend": "2.0.2", + "plugin-error": "^1.0.1", + "through2": "^3.0.1", + "tryit": "^1.0.1", + "vinyl-bufferstream": "^1.0.1" + }, + "dependencies": { + "ansi-colors": { + "version": "1.1.0", + "requires": { + "ansi-wrap": "^0.1.0" + } + }, + "arr-diff": { + "version": "4.0.0" + }, + "arr-union": { + "version": "3.1.0" + }, + "extend-shallow": { + "version": "3.0.2", + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "plugin-error": { + "version": "1.0.1", + "requires": { + "ansi-colors": "^1.0.1", + "arr-diff": "^4.0.0", + "arr-union": "^3.1.0", + "extend-shallow": "^3.0.2" + } + }, + "through2": { + "version": "3.0.2", + "requires": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + } + } + }, + "gulplog": { + "version": "2.2.0", + "dev": true, + "requires": { + "glogg": "^2.2.0" + } + }, + "gzip-size": { + "version": "6.0.0", + "dev": true, + "requires": { + "duplexer": "^0.1.2" + } + }, + "handlebars": { + "version": "4.7.8", + "dev": true, + "requires": { + "minimist": "^1.2.5", + "neo-async": "^2.6.2", + "source-map": "^0.6.1", + "uglify-js": "^3.1.4", + "wordwrap": "^1.0.0" + } + }, + "has": { + "version": "1.0.4" + }, + "has-bigints": { + "version": "1.0.2", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "dev": true + }, + "has-property-descriptors": { + "version": "1.0.2", + "dev": true, + "requires": { + "es-define-property": "^1.0.0" + } + }, + "has-proto": { + "version": "1.2.0", + "dev": true, + "requires": { + "dunder-proto": "^1.0.0" + } + }, + "has-symbols": { + "version": "1.1.0" + }, + "has-tostringtag": { + "version": "1.0.2", + "dev": true, + "requires": { + "has-symbols": "^1.0.3" + } + }, + "hasown": { + "version": "2.0.2", + "requires": { + "function-bind": "^1.1.2" + } + }, + "he": { + "version": "1.2.0", + "dev": true + }, + "headers-utils": { + "version": "1.2.5", + "dev": true + }, + "homedir-polyfill": { + "version": "1.0.3", + "dev": true, + "requires": { + "parse-passwd": "^1.0.0" + } + }, + "hosted-git-info": { + "version": "7.0.2", + "dev": true, + "requires": { + "lru-cache": "^10.0.1" + }, + "dependencies": { + "lru-cache": { + "version": "10.2.2", + "dev": true + } + } + }, + "html-escaper": { + "version": "2.0.2", + "dev": true + }, + "htmlfy": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/htmlfy/-/htmlfy-0.8.1.tgz", + "integrity": "sha512-xWROBw9+MEGwxpotll0h672KCaLrKKiCYzsyN8ZgL9cQbVumFnyvsk2JqiB9ELAV1GLj1GG/jxZUjV9OZZi/yQ==", + "dev": true + }, + "htmlparser2": { + "version": "9.1.0", + "dev": true, + "requires": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.1.0", + "entities": "^4.5.0" + } + }, + "http-errors": { + "version": "2.0.0", + "requires": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + } + }, + "http-parser-js": { + "version": "0.5.10", + "dev": true + }, + "http-proxy": { + "version": "1.18.1", + "requires": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + } + }, + "http-proxy-agent": { + "version": "7.0.2", + "dev": true, + "requires": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + }, + "dependencies": { + "agent-base": { + "version": "7.1.1", + "dev": true, + "requires": { + "debug": "^4.3.4" + } + } + } + }, + "https-proxy-agent": { + "version": "5.0.1", + "dev": true, + "requires": { + "agent-base": "6", + "debug": "4" + } + }, + "human-signals": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz", + "integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==", + "dev": true + }, + "iab-adcom": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/iab-adcom/-/iab-adcom-1.0.6.tgz", + "integrity": "sha512-XAJdidfrFgZNKmHqcXD3Zhqik2rdSmOs+PGgeVfPWgthxvzNBQxkZnKkW3QAau6mrLjtJc8yOQC6awcEv7gryA==" + }, + "iab-native": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/iab-native/-/iab-native-1.0.0.tgz", + "integrity": "sha512-AxGYpKGRcyG5pbEAqj+ssxNwZAfxC0pRwyKc0MYoKjm0UeOoUNCWrZV0HGimcQii6ebe6MRqBQEeENyHM4qTdQ==" + }, + "iab-openrtb": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/iab-openrtb/-/iab-openrtb-1.0.1.tgz", + "integrity": "sha512-egawJx6+pMh/6uA/hak1y+R2+XCSH2jxteSkWlY98/XdQQftaMUMllUFNMKrHwq9lgCI70Me06g4JCCnV6E62g==", + "requires": { + "iab-adcom": "1.0.6" + } + }, + "iconv-lite": { + "version": "0.4.24", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ieee754": { + "version": "1.2.1", + "dev": true + }, + "ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true + }, + "immediate": { + "version": "3.0.6", + "dev": true + }, + "import-fresh": { + "version": "3.3.0", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "4.0.0", + "dev": true + } + } + }, + "import-meta-resolve": { + "version": "4.1.0", + "dev": true + }, + "imurmurhash": { + "version": "0.1.4", + "dev": true + }, + "individual": { + "version": "2.0.0", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4" + }, + "inquirer": { + "version": "12.9.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-12.9.0.tgz", + "integrity": "sha512-LlFVmvWVCun7uEgPB3vups9NzBrjJn48kRNtFGw3xU1H5UXExTEz/oF1JGLaB0fvlkUB+W6JfgLcSEaSdH7RPA==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.15", + "@inquirer/prompts": "^7.8.0", + "@inquirer/type": "^3.0.8", + "ansi-escapes": "^4.3.2", + "mute-stream": "^2.0.0", + "run-async": "^4.0.5", + "rxjs": "^7.8.2" + } + }, + "internal-slot": { + "version": "1.1.0", + "dev": true, + "requires": { + "es-errors": "^1.3.0", + "hasown": "^2.0.2", + "side-channel": "^1.1.0" + } + }, + "interpret": { + "version": "3.1.1", + "dev": true + }, + "ip-address": { + "version": "9.0.5", + "dev": true, + "requires": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "dependencies": { + "sprintf-js": { + "version": "1.1.3", + "dev": true + } + } + }, + "ipaddr.js": { + "version": "1.9.1" + }, + "is": { + "version": "3.3.0" + }, + "is-absolute": { + "version": "1.0.0", + "dev": true, + "requires": { + "is-relative": "^1.0.0", + "is-windows": "^1.0.1" + } + }, + "is-arguments": { + "version": "1.1.1", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-array-buffer": { + "version": "3.0.5", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" + } + }, + "is-arrayish": { + "version": "0.2.1", + "dev": true + }, + "is-async-function": { + "version": "2.1.1", + "dev": true, + "requires": { + "async-function": "^1.0.0", + "call-bound": "^1.0.3", + "get-proto": "^1.0.1", + "has-tostringtag": "^1.0.2", + "safe-regex-test": "^1.1.0" + } + }, + "is-bigint": { + "version": "1.1.0", + "dev": true, + "requires": { + "has-bigints": "^1.0.2" + } + }, + "is-binary-path": { + "version": "2.1.0", + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-boolean-object": { + "version": "1.2.2", + "dev": true, + "requires": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + } + }, + "is-bun-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-2.0.0.tgz", + "integrity": "sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==", + "dev": true, + "requires": { + "semver": "^7.7.1" + }, + "dependencies": { + "semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true + } + } + }, + "is-callable": { + "version": "1.2.7", + "dev": true + }, + "is-core-module": { + "version": "2.15.1", + "requires": { + "hasown": "^2.0.2" + } + }, + "is-data-view": { + "version": "1.0.2", + "dev": true, + "requires": { + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", + "is-typed-array": "^1.1.13" + } + }, + "is-date-object": { + "version": "1.1.0", + "dev": true, + "requires": { + "call-bound": "^1.0.2", + "has-tostringtag": "^1.0.2" + } + }, + "is-docker": { + "version": "2.2.1", + "dev": true + }, + "is-extendable": { + "version": "1.0.1", + "requires": { + "is-plain-object": "^2.0.4" + }, + "dependencies": { + "is-plain-object": { + "version": "2.0.4", + "requires": { + "isobject": "^3.0.1" + } + } + } + }, + "is-extglob": { + "version": "2.1.1" + }, + "is-finalizationregistry": { + "version": "1.1.1", + "dev": true, + "requires": { + "call-bound": "^1.0.3" + } + }, + "is-fullwidth-code-point": { + "version": "3.0.0" + }, + "is-function": { + "version": "1.0.2", + "dev": true + }, + "is-generator-function": { + "version": "1.0.10", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-glob": { + "version": "4.0.3", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-map": { + "version": "2.0.3", + "dev": true + }, + "is-nan": { + "version": "1.3.2", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + } + }, + "is-negated-glob": { + "version": "1.0.0", + "dev": true + }, + "is-number": { + "version": "7.0.0" + }, + "is-number-object": { + "version": "1.1.1", + "dev": true, + "requires": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + } + }, + "is-plain-obj": { + "version": "4.1.0", + "dev": true + }, + "is-plain-object": { + "version": "5.0.0", + "dev": true + }, + "is-promise": { + "version": "2.2.2", + "dev": true + }, + "is-regex": { + "version": "1.2.1", + "dev": true, + "requires": { + "call-bound": "^1.0.2", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + } + }, + "is-relative": { + "version": "1.0.0", + "dev": true, + "requires": { + "is-unc-path": "^1.0.0" + } + }, + "is-running": { + "version": "2.1.0", + "dev": true + }, + "is-set": { + "version": "2.0.3", + "dev": true + }, + "is-shared-array-buffer": { + "version": "1.0.4", + "dev": true, + "requires": { + "call-bound": "^1.0.3" + } + }, + "is-stream": { + "version": "1.1.0", + "dev": true + }, + "is-string": { + "version": "1.1.1", + "dev": true, + "requires": { + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" + } + }, + "is-symbol": { + "version": "1.1.1", + "dev": true, + "requires": { + "call-bound": "^1.0.2", + "has-symbols": "^1.1.0", + "safe-regex-test": "^1.1.0" + } + }, + "is-typed-array": { + "version": "1.1.15", + "dev": true, + "requires": { + "which-typed-array": "^1.1.16" + } + }, + "is-unc-path": { + "version": "1.0.0", + "dev": true, + "requires": { + "unc-path-regex": "^0.1.2" + } + }, + "is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", + "dev": true + }, + "is-valid-glob": { + "version": "1.0.0", + "dev": true + }, + "is-weakmap": { + "version": "2.0.2", + "dev": true + }, + "is-weakref": { + "version": "1.1.1", + "dev": true, + "requires": { + "call-bound": "^1.0.3" + } + }, + "is-weakset": { + "version": "2.0.3", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4" + } + }, + "is-windows": { + "version": "1.0.2", + "dev": true + }, + "is-wsl": { + "version": "2.2.0", + "dev": true, + "requires": { + "is-docker": "^2.0.0" + } + }, + "isarray": { + "version": "2.0.5", + "dev": true + }, + "isbinaryfile": { + "version": "4.0.10" + }, + "isexe": { + "version": "3.1.1", + "dev": true + }, + "isobject": { + "version": "3.0.1" + }, + "istanbul": { + "version": "0.4.5", + "dev": true, + "requires": { + "abbrev": "1.0.x", + "async": "1.x", + "escodegen": "1.8.x", + "esprima": "2.7.x", + "glob": "^5.0.15", + "handlebars": "^4.0.1", + "js-yaml": "3.x", + "mkdirp": "0.5.x", + "nopt": "3.x", + "once": "1.x", + "resolve": "1.1.x", + "supports-color": "^3.1.0", + "which": "^1.1.1", + "wordwrap": "^1.0.0" + }, + "dependencies": { + "glob": { + "version": "5.0.15", + "dev": true, + "requires": { + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "2 || 3", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "has-flag": { + "version": "1.0.0", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "dev": true + }, + "resolve": { + "version": "1.1.7", + "dev": true + }, + "supports-color": { + "version": "3.2.3", + "dev": true, + "requires": { + "has-flag": "^1.0.0" + } + }, + "which": { + "version": "1.3.1", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "istanbul-lib-coverage": { + "version": "3.2.2", + "dev": true + }, + "istanbul-lib-instrument": { + "version": "5.2.1", + "dev": true, + "requires": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + } + }, + "istanbul-lib-report": { + "version": "3.0.1", + "dev": true, + "requires": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "make-dir": { + "version": "4.0.0", + "dev": true, + "requires": { + "semver": "^7.5.3" + } + }, + "semver": { + "version": "7.6.2", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "istanbul-lib-source-maps": { + "version": "4.0.1", + "dev": true, + "requires": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + } + }, + "istanbul-reports": { + "version": "3.1.7", + "dev": true, + "requires": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + } + }, + "istextorbinary": { + "version": "3.3.0", + "dev": true, + "requires": { + "binaryextensions": "^2.2.0", + "textextensions": "^3.2.0" + } + }, + "iterator.prototype": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.5.tgz", + "integrity": "sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==", + "dev": true, + "requires": { + "define-data-property": "^1.1.4", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.6", + "get-proto": "^1.0.0", + "has-symbols": "^1.1.0", + "set-function-name": "^2.0.2" + } + }, + "jackspeak": { + "version": "3.4.3", + "dev": true, + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, + "jake": { + "version": "10.9.4", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.4.tgz", + "integrity": "sha512-wpHYzhxiVQL+IV05BLE2Xn34zW1S223hvjtqk0+gsPrwd/8JNLXJgZZM/iPFsYc1xyphF+6M6EvdE5E9MBGkDA==", + "dev": true, + "requires": { + "async": "^3.2.6", + "filelist": "^1.0.4", + "picocolors": "^1.1.1" + }, + "dependencies": { + "async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", + "dev": true + } + } + }, + "jest-diff": { + "version": "29.7.0", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "diff-sequences": "^29.6.3", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "jest-get-type": { + "version": "29.6.3", + "dev": true + }, + "jest-matcher-utils": { + "version": "29.7.0", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "jest-message-util": { + "version": "29.7.0", + "dev": true, + "requires": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.6.3", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.7.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "slash": { + "version": "3.0.0", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "jest-mock": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-30.0.5.tgz", + "integrity": "sha512-Od7TyasAAQX/6S+QCbN6vZoWOMwlTtzzGuxJku1GhGanAjz9y+QsQkpScDmETvdc9aSXyJ/Op4rhpMYBWW91wQ==", + "dev": true, + "peer": true, + "requires": { + "@jest/types": "30.0.5", + "@types/node": "*", + "jest-util": "30.0.5" + }, + "dependencies": { + "@jest/schemas": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-30.0.5.tgz", + "integrity": "sha512-DmdYgtezMkh3cpU8/1uyXakv3tJRcmcXxBOcO0tbaozPwpmh4YMsnWrQm9ZmZMfa5ocbxzbFk6O4bDPEc/iAnA==", + "dev": true, + "peer": true, + "requires": { + "@sinclair/typebox": "^0.34.0" + } + }, + "@jest/types": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-30.0.5.tgz", + "integrity": "sha512-aREYa3aku9SSnea4aX6bhKn4bgv3AXkgijoQgbYV3yvbiGt6z+MQ85+6mIhx9DsKW2BuB/cLR/A+tcMThx+KLQ==", + "dev": true, + "peer": true, + "requires": { + "@jest/pattern": "30.0.1", + "@jest/schemas": "30.0.5", + "@types/istanbul-lib-coverage": "^2.0.6", + "@types/istanbul-reports": "^3.0.4", + "@types/node": "*", + "@types/yargs": "^17.0.33", + "chalk": "^4.1.2" + } + }, + "@sinclair/typebox": { + "version": "0.34.38", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.38.tgz", + "integrity": "sha512-HpkxMmc2XmZKhvaKIZZThlHmx1L0I/V1hWK1NubtlFnr6ZqdiOpV72TKudZUNQjZNsyDBay72qFEhEvb+bcwcA==", + "dev": true, + "peer": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "peer": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "peer": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "ci-info": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.3.0.tgz", + "integrity": "sha512-l+2bNRMiQgcfILUi33labAZYIWlH1kWDp+ecNo5iisRKrbm0xcRyCww71/YU0Fkw0mAFpz9bJayXPjey6vkmaQ==", + "dev": true, + "peer": true + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "peer": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "peer": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "peer": true + }, + "jest-util": { + "version": "30.0.5", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-30.0.5.tgz", + "integrity": "sha512-pvyPWssDZR0FlfMxCBoc0tvM8iUEskaRFALUtGQYzVEAqisAztmy+R8LnU14KT4XA0H/a5HMVTXat1jLne010g==", + "dev": true, + "peer": true, + "requires": { + "@jest/types": "30.0.5", + "@types/node": "*", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "graceful-fs": "^4.2.11", + "picomatch": "^4.0.2" + } + }, + "picomatch": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "dev": true, + "peer": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "peer": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "jest-regex-util": { + "version": "30.0.1", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-30.0.1.tgz", + "integrity": "sha512-jHEQgBXAgc+Gh4g0p3bCevgRCVRkB4VB70zhoAE48gxeSr1hfUOsM/C2WoJgVL7Eyg//hudYENbm3Ne+/dRVVA==", + "dev": true, + "peer": true + }, + "jest-util": { + "version": "29.7.0", + "dev": true, + "requires": { + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "dev": true, + "requires": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "js-tokens": { + "version": "4.0.0" + }, + "js-yaml": { + "version": "3.14.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz", + "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==", + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "dependencies": { + "esprima": { + "version": "4.0.1" + } + } + }, + "jsbn": { + "version": "1.1.0", + "dev": true + }, + "jsdoc-type-pratt-parser": { + "version": "4.1.0", + "dev": true + }, + "jsesc": { + "version": "3.1.0" + }, + "json-buffer": { + "version": "3.0.1", + "dev": true + }, + "json-parse-even-better-errors": { + "version": "3.0.2", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "dev": true + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "dev": true + }, + "json5": { + "version": "2.2.3" + }, + "jsonfile": { + "version": "6.1.0", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "jsx-ast-utils": { + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz", + "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==", + "dev": true, + "requires": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "object.assign": "^4.1.4", + "object.values": "^1.1.6" + } + }, + "jszip": { + "version": "3.10.1", + "dev": true, + "requires": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" + } + }, + "just-extend": { + "version": "6.2.0", + "dev": true + }, + "karma": { + "version": "6.4.4", + "resolved": "https://registry.npmjs.org/karma/-/karma-6.4.4.tgz", + "integrity": "sha512-LrtUxbdvt1gOpo3gxG+VAJlJAEMhbWlM4YrFQgql98FwF7+K8K12LYO4hnDdUkNjeztYrOXEMqgTajSWgmtI/w==", + "requires": { + "@colors/colors": "1.5.0", + "body-parser": "^1.19.0", + "braces": "^3.0.2", + "chokidar": "^3.5.1", + "connect": "^3.7.0", + "di": "^0.0.1", + "dom-serialize": "^2.2.1", + "glob": "^7.1.7", + "graceful-fs": "^4.2.6", + "http-proxy": "^1.18.1", + "isbinaryfile": "^4.0.8", + "lodash": "^4.17.21", + "log4js": "^6.4.1", + "mime": "^2.5.2", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.5", + "qjobs": "^1.2.0", + "range-parser": "^1.2.1", + "rimraf": "^3.0.2", + "socket.io": "^4.7.2", + "source-map": "^0.6.1", + "tmp": "^0.2.1", + "ua-parser-js": "^0.7.30", + "yargs": "^16.1.1" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "requires": { + "color-convert": "^2.0.1" + } + }, + "cliui": { + "version": "7.0.4", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4" + }, + "glob": { + "version": "7.2.3", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "strip-ansi": { + "version": "6.0.1", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "yargs": { + "version": "16.2.0", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9" + } + } + }, + "karma-babel-preprocessor": { + "version": "8.0.2", + "dev": true, + "requires": {} + }, + "karma-browserstack-launcher": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/karma-browserstack-launcher/-/karma-browserstack-launcher-1.6.0.tgz", + "integrity": "sha512-Y/UWPdHZkHIVH2To4GWHCTzmrsB6H7PBWy6pw+TWz5sr4HW2mcE+Uj6qWgoVNxvQU1Pfn5LQQzI6EQ65p8QbiQ==", + "dev": true, + "requires": { + "browserstack": "~1.5.1", + "browserstack-local": "^1.3.7", + "q": "~1.5.0" + } + }, + "karma-chai": { + "version": "0.1.0", + "dev": true, + "requires": {} + }, + "karma-chrome-launcher": { + "version": "3.2.0", + "dev": true, + "requires": { + "which": "^1.2.1" + }, + "dependencies": { + "isexe": { + "version": "2.0.0", + "dev": true + }, + "which": { + "version": "1.3.1", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "karma-coverage": { + "version": "2.2.1", + "dev": true, + "requires": { + "istanbul-lib-coverage": "^3.2.0", + "istanbul-lib-instrument": "^5.1.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.1", + "istanbul-reports": "^3.0.5", + "minimatch": "^3.0.4" + } + }, + "karma-coverage-istanbul-reporter": { + "version": "3.0.3", + "dev": true, + "requires": { + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^3.0.6", + "istanbul-reports": "^3.0.2", + "minimatch": "^3.0.4" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "istanbul-lib-source-maps": { + "version": "3.0.6", + "dev": true, + "requires": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^2.0.5", + "make-dir": "^2.1.0", + "rimraf": "^2.6.3", + "source-map": "^0.6.1" + }, + "dependencies": { + "istanbul-lib-coverage": { + "version": "2.0.5", + "dev": true + } + } + }, + "make-dir": { + "version": "2.1.0", + "dev": true, + "requires": { + "pify": "^4.0.1", + "semver": "^5.6.0" + } + }, + "pify": { + "version": "4.0.1", + "dev": true + }, + "rimraf": { + "version": "2.7.1", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "semver": { + "version": "5.7.2", + "dev": true + } + } + }, + "karma-firefox-launcher": { + "version": "2.1.3", + "dev": true, + "requires": { + "is-wsl": "^2.2.0", + "which": "^3.0.0" + }, + "dependencies": { + "isexe": { + "version": "2.0.0", + "dev": true + }, + "which": { + "version": "3.0.1", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "karma-mocha": { + "version": "2.0.1", + "dev": true, + "requires": { + "minimist": "^1.2.3" + } + }, + "karma-mocha-reporter": { + "version": "2.2.5", + "dev": true, + "requires": { + "chalk": "^2.1.0", + "log-symbols": "^2.1.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.1", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "karma-opera-launcher": { + "version": "1.0.0", + "dev": true, + "requires": {} + }, + "karma-safari-launcher": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/karma-safari-launcher/-/karma-safari-launcher-1.0.0.tgz", + "integrity": "sha512-qmypLWd6F2qrDJfAETvXDfxHvKDk+nyIjpH9xIeI3/hENr0U3nuqkxaftq73PfXZ4aOuOChA6SnLW4m4AxfRjQ==", + "dev": true, + "requires": {} + }, + "karma-safarinative-launcher": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/karma-safarinative-launcher/-/karma-safarinative-launcher-1.1.0.tgz", + "integrity": "sha512-vdMjdQDHkSUbOZc8Zq2K5bBC0yJGFEgfrKRJTqt0Um0SC1Rt8drS2wcN6UA3h4LgsL3f1pMcmRSvKucbJE8Qdg==", + "requires": {} + }, + "karma-script-launcher": { + "version": "1.0.0", + "dev": true, + "requires": {} + }, + "karma-sinon": { + "version": "1.0.5", + "dev": true, + "requires": {} + }, + "karma-sourcemap-loader": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/karma-sourcemap-loader/-/karma-sourcemap-loader-0.4.0.tgz", + "integrity": "sha512-xCRL3/pmhAYF3I6qOrcn0uhbQevitc2DERMPH82FMnG+4WReoGcGFZb1pURf2a5apyrOHRdvD+O6K7NljqKHyA==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.10" + } + }, + "karma-spec-reporter": { + "version": "0.0.32", + "dev": true, + "requires": { + "colors": "^1.1.2" + } + }, + "karma-webpack": { + "version": "5.0.1", + "dev": true, + "requires": { + "glob": "^7.1.3", + "minimatch": "^9.0.3", + "webpack-merge": "^4.1.5" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "dependencies": { + "minimatch": { + "version": "3.1.2", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } + } + }, + "minimatch": { + "version": "9.0.4", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + } + } + } + } + }, + "keycode": { + "version": "2.2.1", + "dev": true + }, + "keyv": { + "version": "4.5.4", + "dev": true, + "requires": { + "json-buffer": "3.0.1" + } + }, + "kind-of": { + "version": "6.0.3", + "dev": true + }, + "klona": { + "version": "2.0.6" + }, + "last-run": { + "version": "2.0.0", + "dev": true + }, + "lazystream": { + "version": "1.0.1", + "dev": true, + "requires": { + "readable-stream": "^2.0.5" + } + }, + "lead": { + "version": "4.0.0", + "dev": true + }, + "levn": { + "version": "0.4.1", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "lie": { + "version": "3.3.0", + "dev": true, + "requires": { + "immediate": "~3.0.5" + } + }, + "liftoff": { + "version": "5.0.1", + "dev": true, + "requires": { + "extend": "^3.0.2", + "findup-sync": "^5.0.0", + "fined": "^2.0.0", + "flagged-respawn": "^2.0.0", + "is-plain-object": "^5.0.0", + "rechoir": "^0.8.0", + "resolve": "^1.20.0" + } + }, + "lines-and-columns": { + "version": "2.0.4", + "dev": true + }, + "live-connect-common": { + "version": "4.1.0" + }, + "live-connect-js": { + "version": "7.2.0", + "requires": { + "live-connect-common": "^v4.1.0", + "tiny-hashes": "1.0.1" + } + }, + "livereload-js": { + "version": "2.4.0", + "dev": true + }, + "loader-runner": { + "version": "4.3.0", + "dev": true + }, + "loader-utils": { + "version": "2.0.4", + "dev": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + } + }, + "locate-app": { + "version": "2.4.15", + "dev": true, + "requires": { + "@promptbook/utils": "0.50.0-10", + "type-fest": "2.13.0", + "userhome": "1.0.0" + }, + "dependencies": { + "type-fest": { + "version": "2.13.0", + "dev": true + } + } + }, + "locate-path": { + "version": "5.0.0", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "lodash": { + "version": "4.17.21" + }, + "lodash.clone": { + "version": "4.5.0", + "dev": true + }, + "lodash.clonedeep": { + "version": "4.5.0", + "dev": true + }, + "lodash.debounce": { + "version": "4.0.8" + }, + "lodash.flattendeep": { + "version": "4.4.0", + "dev": true + }, + "lodash.get": { + "version": "4.4.2", + "dev": true + }, + "lodash.isequal": { + "version": "4.5.0", + "dev": true + }, + "lodash.merge": { + "version": "4.6.2", + "dev": true + }, + "lodash.pickby": { + "version": "4.6.0", + "dev": true + }, + "lodash.some": { + "version": "4.6.0", + "dev": true + }, + "lodash.union": { + "version": "4.6.0", + "dev": true + }, + "lodash.zip": { + "version": "4.2.0", + "dev": true + }, + "log-symbols": { + "version": "2.2.0", + "dev": true, + "requires": { + "chalk": "^2.0.1" + } + }, + "log4js": { + "version": "6.9.1", + "requires": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "flatted": "^3.2.7", + "rfdc": "^1.3.0", + "streamroller": "^3.1.5" + } + }, + "logform": { + "version": "2.6.0", + "dev": true, + "requires": { + "@colors/colors": "1.6.0", + "@types/triple-beam": "^1.3.2", + "fecha": "^4.2.0", + "ms": "^2.1.1", + "safe-stable-stringify": "^2.3.1", + "triple-beam": "^1.3.0" + }, + "dependencies": { + "@colors/colors": { + "version": "1.6.0", + "dev": true + } + } + }, + "loglevel": { + "version": "1.9.1", + "dev": true + }, + "loglevel-plugin-prefix": { + "version": "0.8.4", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "loupe": { + "version": "2.3.7", + "dev": true, + "requires": { + "get-func-name": "^2.0.1" + } + }, + "lru-cache": { + "version": "5.1.1", + "requires": { + "yallist": "^3.0.2" + } + }, + "lru-queue": { + "version": "0.1.0", + "dev": true, + "requires": { + "es5-ext": "~0.10.2" + } + }, + "m3u8-parser": { + "version": "4.8.0", + "dev": true, + "requires": { + "@babel/runtime": "^7.12.5", + "@videojs/vhs-utils": "^3.0.5", + "global": "^4.4.0" + } + }, + "magic-string": { + "version": "0.30.17", + "dev": true, + "requires": { + "@jridgewell/sourcemap-codec": "^1.5.0" + } + }, + "make-dir": { + "version": "3.1.0", + "dev": true, + "requires": { + "semver": "^6.0.0" + } + }, + "map-cache": { + "version": "0.2.2", + "dev": true + }, + "map-stream": { + "version": "0.0.7", + "dev": true + }, + "math-intrinsics": { + "version": "1.1.0" + }, + "media-typer": { + "version": "0.3.0" + }, + "memoizee": { + "version": "0.4.17", + "dev": true, + "requires": { + "d": "^1.0.2", + "es5-ext": "^0.10.64", + "es6-weak-map": "^2.0.3", + "event-emitter": "^0.3.5", + "is-promise": "^2.2.2", + "lru-queue": "^0.1.0", + "next-tick": "^1.1.0", + "timers-ext": "^0.1.7" + } + }, + "memory-fs": { + "version": "0.5.0", + "dev": true, + "requires": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } + }, + "merge-descriptors": { + "version": "1.0.3" + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "merge2": { + "version": "1.4.1", + "dev": true + }, + "methods": { + "version": "1.1.2" + }, + "micromatch": { + "version": "4.0.8", + "dev": true, + "requires": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + } + }, + "mime": { + "version": "2.6.0" + }, + "mime-db": { + "version": "1.52.0" + }, + "mime-types": { + "version": "2.1.35", + "requires": { + "mime-db": "1.52.0" + } + }, + "min-document": { + "version": "2.19.2", + "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.2.tgz", + "integrity": "sha512-8S5I8db/uZN8r9HSLFVWPdJCvYOejMcEC82VIzNUc6Zkklf/d1gg2psfE79/vyhWOj4+J8MtwmoOz3TmvaGu5A==", + "dev": true, + "requires": { + "dom-walk": "^0.1.0" + } + }, + "minimatch": { + "version": "3.1.2", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.8" + }, + "minipass": { + "version": "7.1.2", + "dev": true + }, + "mitt": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", + "dev": true + }, + "mkdirp": { + "version": "0.5.6", + "requires": { + "minimist": "^1.2.6" + } + }, + "mocha": { + "version": "10.8.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz", + "integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==", + "dev": true, + "requires": { + "ansi-colors": "^4.1.3", + "browser-stdout": "^1.3.1", + "chokidar": "^3.5.3", + "debug": "^4.3.5", + "diff": "^5.2.0", + "escape-string-regexp": "^4.0.0", + "find-up": "^5.0.0", + "glob": "^8.1.0", + "he": "^1.2.0", + "js-yaml": "^4.1.0", + "log-symbols": "^4.1.0", + "minimatch": "^5.1.6", + "ms": "^2.1.3", + "serialize-javascript": "^6.0.2", + "strip-json-comments": "^3.1.1", + "supports-color": "^8.1.1", + "workerpool": "^6.5.1", + "yargs": "^16.2.0", + "yargs-parser": "^20.2.9", + "yargs-unparser": "^2.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "argparse": { + "version": "2.0.1", + "dev": true + }, + "brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "chalk": { + "version": "4.1.2", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "dependencies": { + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "cliui": { + "version": "7.0.4", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "dev": true + }, + "find-up": { + "version": "5.0.0", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "glob": { + "version": "8.1.0", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + } + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "is-unicode-supported": { + "version": "0.1.0", + "dev": true + }, + "js-yaml": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "locate-path": { + "version": "6.0.0", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "log-symbols": { + "version": "4.1.0", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + } + }, + "minimatch": { + "version": "5.1.6", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "ms": { + "version": "2.1.3", + "dev": true + }, + "p-limit": { + "version": "3.1.0", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "strip-ansi": { + "version": "6.0.1", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "supports-color": { + "version": "8.1.1", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "yargs": { + "version": "16.2.0", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "dev": true + } + } + }, + "moment": { + "version": "2.30.1", + "dev": true + }, + "morgan": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.10.1.tgz", + "integrity": "sha512-223dMRJtI/l25dJKWpgij2cMtywuG/WiUKXdvwfbhGKBhy1puASqXwFzmWZ7+K73vUPoR7SS2Qz2cI/g9MKw0A==", + "dev": true, + "requires": { + "basic-auth": "~2.0.1", + "debug": "2.6.9", + "depd": "~2.0.0", + "on-finished": "~2.3.0", + "on-headers": "~1.1.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "dev": true + }, + "on-finished": { + "version": "2.3.0", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + } + } + }, + "mpd-parser": { + "version": "0.22.1", + "dev": true, + "requires": { + "@babel/runtime": "^7.12.5", + "@videojs/vhs-utils": "^3.0.5", + "@xmldom/xmldom": "^0.8.3", + "global": "^4.4.0" + } + }, + "mrmime": { + "version": "2.0.0", + "dev": true + }, + "ms": { + "version": "2.1.2" + }, + "multimatch": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-7.0.0.tgz", + "integrity": "sha512-SYU3HBAdF4psHEL/+jXDKHO95/m5P2RvboHT2Y0WtTttvJLP4H/2WS9WlQPFvF6C8d6SpLw8vjCnQOnVIVOSJQ==", + "dev": true, + "requires": { + "array-differ": "^4.0.0", + "array-union": "^3.0.1", + "minimatch": "^9.0.3" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "mute-stdout": { + "version": "2.0.0", + "dev": true + }, + "mute-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", + "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", + "dev": true + }, + "mux.js": { + "version": "6.0.1", + "dev": true, + "requires": { + "@babel/runtime": "^7.11.2", + "global": "^4.4.0" + } + }, + "napi-postinstall": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.3.tgz", + "integrity": "sha512-uTp172LLXSxuSYHv/kou+f6KW3SMppU9ivthaVTXian9sOt3XM/zHYHpRZiLgQoxeWfYUnslNWQHF1+G71xcow==", + "dev": true + }, + "natural-compare": { + "version": "1.4.0", + "dev": true + }, + "negotiator": { + "version": "0.6.3" + }, + "neo-async": { + "version": "2.6.2", + "dev": true + }, + "neostandard": { + "version": "0.12.2", + "resolved": "https://registry.npmjs.org/neostandard/-/neostandard-0.12.2.tgz", + "integrity": "sha512-VZU8EZpSaNadp3rKEwBhVD1Kw8jE3AftQLkCyOaM7bWemL1LwsYRsBnAmXy2LjG9zO8t66qJdqB7ccwwORyrAg==", + "dev": true, + "requires": { + "@humanwhocodes/gitignore-to-minimatch": "^1.0.2", + "@stylistic/eslint-plugin": "2.11.0", + "eslint-import-resolver-typescript": "^3.10.1", + "eslint-plugin-import-x": "^4.16.1", + "eslint-plugin-n": "^17.20.0", + "eslint-plugin-promise": "^7.2.1", + "eslint-plugin-react": "^7.37.5", + "find-up": "^5.0.0", + "globals": "^15.15.0", + "peowly": "^1.3.2", + "typescript-eslint": "^8.35.1" + }, + "dependencies": { + "find-up": { + "version": "5.0.0", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "globals": { + "version": "15.15.0", + "dev": true + }, + "locate-path": { + "version": "6.0.0", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "p-limit": { + "version": "3.1.0", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "yocto-queue": { + "version": "0.1.0", + "dev": true + } + } + }, + "netmask": { + "version": "2.0.2", + "dev": true + }, + "next-tick": { + "version": "1.1.0", + "dev": true + }, + "nice-try": { + "version": "1.0.5", + "dev": true + }, + "nise": { + "version": "6.1.1", + "dev": true, + "requires": { + "@sinonjs/commons": "^3.0.1", + "@sinonjs/fake-timers": "^13.0.1", + "@sinonjs/text-encoding": "^0.7.3", + "just-extend": "^6.2.0", + "path-to-regexp": "^8.1.0" + }, + "dependencies": { + "path-to-regexp": { + "version": "8.2.0", + "dev": true + } + } + }, + "node-domexception": { + "version": "1.0.0", + "dev": true + }, + "node-fetch": { + "version": "3.3.2", + "dev": true, + "requires": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + } + }, + "node-html-parser": { + "version": "6.1.13", + "dev": true, + "requires": { + "css-select": "^5.1.0", + "he": "1.2.0" + } + }, + "node-releases": { + "version": "2.0.25", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.25.tgz", + "integrity": "sha512-4auku8B/vw5psvTiiN9j1dAOsXvMoGqJuKJcR+dTdqiXEK20mMTk1UEo3HS16LeGQsVG6+qKTPM9u/qQ2LqATA==" + }, + "node-request-interceptor": { + "version": "0.6.3", + "dev": true, + "requires": { + "@open-draft/until": "^1.0.3", + "debug": "^4.3.0", + "headers-utils": "^1.2.0", + "strict-event-emitter": "^0.1.0" + } + }, + "node.extend": { + "version": "2.0.2", + "requires": { + "has": "^1.0.3", + "is": "^3.2.1" + } + }, + "nopt": { + "version": "3.0.6", + "dev": true, + "requires": { + "abbrev": "1" + } + }, + "normalize-package-data": { + "version": "6.0.1", + "dev": true, + "requires": { + "hosted-git-info": "^7.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "dependencies": { + "semver": { + "version": "7.6.2", + "dev": true + } + } + }, + "normalize-path": { + "version": "3.0.0" + }, + "now-and-later": { + "version": "3.0.0", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "npm-run-path": { + "version": "2.0.2", + "dev": true, + "requires": { + "path-key": "^2.0.0" + }, + "dependencies": { + "path-key": { + "version": "2.0.1", + "dev": true + } + } + }, + "nth-check": { + "version": "2.1.1", + "dev": true, + "requires": { + "boolbase": "^1.0.0" + } + }, + "object-assign": { + "version": "4.1.1" + }, + "object-inspect": { + "version": "1.13.4" + }, + "object-is": { + "version": "1.1.6", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1" + } + }, + "object-keys": { + "version": "1.1.1", + "dev": true + }, + "object.assign": { + "version": "4.1.7", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0", + "has-symbols": "^1.1.0", + "object-keys": "^1.1.1" + } + }, + "object.defaults": { + "version": "1.1.0", + "dev": true, + "requires": { + "array-each": "^1.0.1", + "array-slice": "^1.0.0", + "for-own": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "object.entries": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz", + "integrity": "sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.1.1" + } + }, + "object.fromentries": { + "version": "2.0.8", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + } + }, + "object.groupby": { + "version": "1.0.3", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2" + } + }, + "object.pick": { + "version": "1.3.0", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "object.values": { + "version": "1.2.1", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + } + }, + "on-finished": { + "version": "2.4.1", + "requires": { + "ee-first": "1.1.1" + } + }, + "on-headers": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.1.0.tgz", + "integrity": "sha512-737ZY3yNnXy37FHkQxPzt4UZ2UWPWiCZWLvFZ4fu5cueciegX0zGPnrlY6bwRg4FdQOe9YU8MkmJwGhoMybl8A==", + "dev": true + }, + "once": { + "version": "1.4.0", + "requires": { + "wrappy": "1" + } + }, + "opener": { + "version": "1.5.2", + "dev": true + }, + "opn": { + "version": "5.5.0", + "dev": true, + "requires": { + "is-wsl": "^1.1.0" + }, + "dependencies": { + "is-wsl": { + "version": "1.1.0", + "dev": true + } + } + }, + "optionator": { + "version": "0.9.4", + "dev": true, + "requires": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + } + }, + "own-keys": { + "version": "1.0.1", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.6", + "object-keys": "^1.1.1", + "safe-push-apply": "^1.0.0" + } + }, + "p-finally": { + "version": "1.0.0", + "dev": true + }, + "p-limit": { + "version": "2.3.0", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "dev": true + }, + "pac-proxy-agent": { + "version": "7.2.0", + "dev": true, + "requires": { + "@tootallnate/quickjs-emscripten": "^0.23.0", + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "get-uri": "^6.0.1", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.6", + "pac-resolver": "^7.0.1", + "socks-proxy-agent": "^8.0.5" + }, + "dependencies": { + "agent-base": { + "version": "7.1.3", + "dev": true + }, + "https-proxy-agent": { + "version": "7.0.6", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "4" + } + } + } + }, + "pac-resolver": { + "version": "7.0.1", + "dev": true, + "requires": { + "degenerator": "^5.0.0", + "netmask": "^2.0.2" + } + }, + "package-json-from-dist": { + "version": "1.0.0", + "dev": true + }, + "pako": { + "version": "1.0.11", + "dev": true + }, + "parent-module": { + "version": "1.0.1", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "parse-filepath": { + "version": "1.0.2", + "dev": true, + "requires": { + "is-absolute": "^1.0.0", + "map-cache": "^0.2.0", + "path-root": "^0.1.1" + } + }, + "parse-imports": { + "version": "2.2.1", + "dev": true, + "requires": { + "es-module-lexer": "^1.5.3", + "slashes": "^3.0.12" + } + }, + "parse-json": { + "version": "7.1.1", + "dev": true, + "requires": { + "@babel/code-frame": "^7.21.4", + "error-ex": "^1.3.2", + "json-parse-even-better-errors": "^3.0.0", + "lines-and-columns": "^2.0.3", + "type-fest": "^3.8.0" + }, + "dependencies": { + "type-fest": { + "version": "3.13.1", + "dev": true + } + } + }, + "parse-ms": { + "version": "2.1.0", + "dev": true + }, + "parse-node-version": { + "version": "1.0.1", + "dev": true + }, + "parse-passwd": { + "version": "1.0.0", + "dev": true + }, + "parse5-htmlparser2-tree-adapter": { + "version": "7.0.0", + "dev": true, + "requires": { + "domhandler": "^5.0.2", + "parse5": "^7.0.0" + }, + "dependencies": { + "parse5": { + "version": "7.1.2", + "dev": true, + "requires": { + "entities": "^4.4.0" + } + } + } + }, + "parse5-parser-stream": { + "version": "7.1.2", + "dev": true, + "requires": { + "parse5": "^7.0.0" + }, + "dependencies": { + "parse5": { + "version": "7.1.2", + "dev": true, + "requires": { + "entities": "^4.4.0" + } + } + } + }, + "parseurl": { + "version": "1.3.3" + }, + "path-exists": { + "version": "4.0.0", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1" + }, + "path-key": { + "version": "3.1.1", + "dev": true + }, + "path-parse": { + "version": "1.0.7" + }, + "path-root": { + "version": "0.1.1", + "dev": true, + "requires": { + "path-root-regex": "^0.1.0" + } + }, + "path-root-regex": { + "version": "0.1.2", + "dev": true + }, + "path-scurry": { + "version": "1.11.1", + "dev": true, + "requires": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "10.4.3", + "dev": true + } + } + }, + "path-to-regexp": { + "version": "0.1.12" + }, + "pathe": { + "version": "1.1.2", + "dev": true + }, + "pathval": { + "version": "1.1.1", + "dev": true + }, + "pause-stream": { + "version": "0.0.11", + "dev": true, + "requires": { + "through": "~2.3" + } + }, + "pend": { + "version": "1.2.0", + "dev": true + }, + "peowly": { + "version": "1.3.2", + "dev": true + }, + "picocolors": { + "version": "1.1.1" + }, + "picomatch": { + "version": "2.3.1" + }, + "pirates": { + "version": "4.0.6", + "dev": true + }, + "pkcs7": { + "version": "1.0.4", + "dev": true, + "requires": { + "@babel/runtime": "^7.5.5" + } + }, + "pkg-dir": { + "version": "4.2.0", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + }, + "plugin-error": { + "version": "2.0.1", + "dev": true, + "requires": { + "ansi-colors": "^1.0.1" + }, + "dependencies": { + "ansi-colors": { + "version": "1.1.0", + "dev": true, + "requires": { + "ansi-wrap": "^0.1.0" + } + } + } + }, + "possible-typed-array-names": { + "version": "1.0.0", + "dev": true + }, + "postcss": { + "version": "7.0.39", + "dev": true, + "requires": { + "picocolors": "^0.2.1", + "source-map": "^0.6.1" + }, + "dependencies": { + "picocolors": { + "version": "0.2.1", + "dev": true + } + } + }, + "prelude-ls": { + "version": "1.2.1", + "dev": true + }, + "prettier": { + "version": "2.8.1", + "dev": true + }, + "pretty-format": { + "version": "29.7.0", + "dev": true, + "requires": { + "@jest/schemas": "^29.6.3", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "5.2.0", + "dev": true + } + } + }, + "pretty-ms": { + "version": "7.0.1", + "dev": true, + "requires": { + "parse-ms": "^2.1.0" + } + }, + "process": { + "version": "0.11.10", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.1" + }, + "progress": { + "version": "2.0.3", + "dev": true + }, + "prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dev": true, + "requires": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + } + } + }, + "proxy-addr": { + "version": "2.0.7", + "requires": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + } + }, + "proxy-agent": { + "version": "6.5.0", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.6", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.1.0", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.5" + }, + "dependencies": { + "agent-base": { + "version": "7.1.3", + "dev": true + }, + "https-proxy-agent": { + "version": "7.0.6", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "4" + } + }, + "lru-cache": { + "version": "7.18.3", + "dev": true + } + } + }, + "proxy-from-env": { + "version": "1.1.0", + "dev": true + }, + "prr": { + "version": "1.0.1", + "dev": true + }, + "ps-tree": { + "version": "1.2.0", + "dev": true, + "requires": { + "event-stream": "=3.3.4" + } + }, + "pump": { + "version": "3.0.0", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "punycode": { + "version": "2.3.1", + "dev": true + }, + "puppeteer": { + "version": "24.11.2", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-24.11.2.tgz", + "integrity": "sha512-HopdRZWHa5zk0HSwd8hU+GlahQ3fmesTAqMIDHVY9HasCvppcYuHYXyjml0nlm+nbwVCqAQWV+dSmiNCrZGTGQ==", + "dev": true, + "requires": { + "@puppeteer/browsers": "2.10.5", + "chromium-bidi": "5.1.0", + "cosmiconfig": "^9.0.0", + "devtools-protocol": "0.0.1464554", + "puppeteer-core": "24.11.2", + "typed-query-selector": "^2.12.0" + } + }, + "puppeteer-core": { + "version": "24.11.2", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.11.2.tgz", + "integrity": "sha512-c49WifNb8hix+gQH17TldmD6TC/Md2HBaTJLHexIUq4sZvo2pyHY/Pp25qFQjibksBu/SJRYUY7JsoaepNbiRA==", + "dev": true, + "requires": { + "@puppeteer/browsers": "2.10.5", + "chromium-bidi": "5.1.0", + "debug": "^4.4.1", + "devtools-protocol": "0.0.1464554", + "typed-query-selector": "^2.12.0", + "ws": "^8.18.3" + }, + "dependencies": { + "debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "dev": true, + "requires": { + "ms": "^2.1.3" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "ws": { + "version": "8.18.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", + "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", + "dev": true, + "requires": {} + } + } + }, + "q": { + "version": "1.5.1", + "dev": true + }, + "qjobs": { + "version": "1.2.0" + }, + "qs": { + "version": "6.13.0", + "requires": { + "side-channel": "^1.0.6" + } + }, + "query-selector-shadow-dom": { + "version": "1.0.1", + "dev": true + }, + "querystringify": { + "version": "2.2.0", + "dev": true + }, + "queue-microtask": { + "version": "1.2.3", + "dev": true + }, + "randombytes": { + "version": "2.1.0", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "range-parser": { + "version": "1.2.1" + }, + "raw-body": { + "version": "2.5.2", + "requires": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "react-is": { + "version": "18.3.1", + "dev": true + }, + "read-pkg": { + "version": "8.1.0", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.1", + "normalize-package-data": "^6.0.0", + "parse-json": "^7.0.0", + "type-fest": "^4.2.0" + } + }, + "read-pkg-up": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-10.1.0.tgz", + "integrity": "sha512-aNtBq4jR8NawpKJQldrQcSW9y/d+KWH4v24HWkHljOZ7H0av+YTGANBzRh9A5pw7v/bLVsLVPpOhJ7gHNVy8lA==", + "dev": true, + "requires": { + "find-up": "^6.3.0", + "read-pkg": "^8.1.0", + "type-fest": "^4.2.0" + }, + "dependencies": { + "find-up": { + "version": "6.3.0", + "dev": true, + "requires": { + "locate-path": "^7.1.0", + "path-exists": "^5.0.0" + } + }, + "locate-path": { + "version": "7.2.0", + "dev": true, + "requires": { + "p-locate": "^6.0.0" + } + }, + "p-limit": { + "version": "4.0.0", + "dev": true, + "requires": { + "yocto-queue": "^1.0.0" + } + }, + "p-locate": { + "version": "6.0.0", + "dev": true, + "requires": { + "p-limit": "^4.0.0" + } + }, + "path-exists": { + "version": "5.0.0", + "dev": true + } + } + }, + "readable-stream": { + "version": "2.3.8", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + }, + "dependencies": { + "isarray": { + "version": "1.0.0" + }, + "safe-buffer": { + "version": "5.1.2" + } + } + }, + "readdir-glob": { + "version": "1.1.3", + "dev": true, + "requires": { + "minimatch": "^5.1.0" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "minimatch": { + "version": "5.1.6", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "readdirp": { + "version": "3.6.0", + "requires": { + "picomatch": "^2.2.1" + } + }, + "rechoir": { + "version": "0.8.0", + "dev": true, + "requires": { + "resolve": "^1.20.0" + } + }, + "recursive-readdir": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/recursive-readdir/-/recursive-readdir-2.2.3.tgz", + "integrity": "sha512-8HrF5ZsXk5FAH9dgsx3BlUer73nIhuj+9OrQwEbLTPOBzGkL1lsFCR01am+v+0m2Cmbs1nP12hLDl5FA7EszKA==", + "dev": true, + "requires": { + "minimatch": "^3.0.5" + } + }, + "reflect.getprototypeof": { + "version": "1.0.10", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.9", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.7", + "get-proto": "^1.0.1", + "which-builtin-type": "^1.2.1" + } + }, + "regenerate": { + "version": "1.4.2" + }, + "regenerate-unicode-properties": { + "version": "10.2.0", + "requires": { + "regenerate": "^1.4.2" + } + }, + "regexp.prototype.flags": { + "version": "1.5.4", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "set-function-name": "^2.0.2" + } + }, + "regexpu-core": { + "version": "6.2.0", + "requires": { + "regenerate": "^1.4.2", + "regenerate-unicode-properties": "^10.2.0", + "regjsgen": "^0.8.0", + "regjsparser": "^0.12.0", + "unicode-match-property-ecmascript": "^2.0.0", + "unicode-match-property-value-ecmascript": "^2.1.0" + } + }, + "regjsgen": { + "version": "0.8.0" + }, + "regjsparser": { + "version": "0.12.0", + "requires": { + "jsesc": "~3.0.2" + }, + "dependencies": { + "jsesc": { + "version": "3.0.2" + } + } + }, + "remove-trailing-separator": { + "version": "1.1.0", + "dev": true + }, + "replace-ext": { + "version": "2.0.0", + "dev": true + }, + "replace-homedir": { + "version": "2.0.0", + "dev": true + }, + "replacestream": { + "version": "4.0.3", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.3", + "object-assign": "^4.0.1", + "readable-stream": "^2.0.2" + } + }, + "require-directory": { + "version": "2.1.1" + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" + }, + "requires-port": { + "version": "1.0.0" + }, + "resolve": { + "version": "1.22.8", + "requires": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-dir": { + "version": "1.0.1", + "dev": true, + "requires": { + "expand-tilde": "^2.0.0", + "global-modules": "^1.0.0" + } + }, + "resolve-from": { + "version": "5.0.0", + "dev": true + }, + "resolve-options": { + "version": "2.0.0", + "dev": true, + "requires": { + "value-or-function": "^4.0.0" + } + }, + "resolve-pkg-maps": { + "version": "1.0.0", + "dev": true + }, + "resq": { + "version": "1.11.0", + "dev": true, + "requires": { + "fast-deep-equal": "^2.0.1" + }, + "dependencies": { + "fast-deep-equal": { + "version": "2.0.1", + "dev": true + } + } + }, + "ret": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.5.0.tgz", + "integrity": "sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==", + "dev": true + }, + "reusify": { + "version": "1.1.0", + "dev": true + }, + "rfdc": { + "version": "1.4.1" + }, + "rgb2hex": { + "version": "0.2.5", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "requires": { + "glob": "^7.1.3" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } + } + }, + "run-async": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-4.0.5.tgz", + "integrity": "sha512-oN9GTgxUNDBumHTTDmQ8dep6VIJbgj9S3dPP+9XylVLIK4xB9XTXtKWROd5pnhdXR9k0EgO1JRcNh0T+Ny2FsA==", + "dev": true + }, + "run-parallel": { + "version": "1.2.0", + "dev": true, + "requires": { + "queue-microtask": "^1.2.2" + } + }, + "rust-result": { + "version": "1.0.0", + "dev": true, + "requires": { + "individual": "^2.0.0" + } + }, + "rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "dev": true, + "requires": { + "tslib": "^2.1.0" + } + }, + "safaridriver": { + "version": "1.0.0", + "dev": true + }, + "safe-array-concat": { + "version": "1.1.3", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", + "has-symbols": "^1.1.0", + "isarray": "^2.0.5" + } + }, + "safe-buffer": { + "version": "5.2.1" + }, + "safe-json-parse": { + "version": "1.0.1", + "dev": true + }, + "safe-push-apply": { + "version": "1.0.0", + "dev": true, + "requires": { + "es-errors": "^1.3.0", + "isarray": "^2.0.5" + } + }, + "safe-regex-test": { + "version": "1.1.0", + "dev": true, + "requires": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "is-regex": "^1.2.1" + } + }, + "safe-regex2": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/safe-regex2/-/safe-regex2-5.0.0.tgz", + "integrity": "sha512-YwJwe5a51WlK7KbOJREPdjNrpViQBI3p4T50lfwPuDhZnE3XGVTlGvi+aolc5+RvxDD6bnUmjVsU9n1eboLUYw==", + "dev": true, + "requires": { + "ret": "~0.5.0" + } + }, + "safe-stable-stringify": { + "version": "2.4.3", + "dev": true + }, + "safer-buffer": { + "version": "2.1.2" + }, + "schema-utils": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.3.3.tgz", + "integrity": "sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==", + "requires": { + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" + }, + "dependencies": { + "ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "requires": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + } + }, + "ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "requires": { + "fast-deep-equal": "^3.1.3" + } + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + } + } + }, + "semver": { + "version": "6.3.1" + }, + "semver-greatest-satisfied-range": { + "version": "2.0.0", + "dev": true, + "requires": { + "sver": "^1.8.3" + } + }, + "send": { + "version": "0.16.2", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.6.2", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "~2.3.0", + "range-parser": "~1.2.0", + "statuses": "~1.4.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "depd": { + "version": "1.1.2", + "dev": true + }, + "destroy": { + "version": "1.0.4", + "dev": true + }, + "http-errors": { + "version": "1.6.3", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + } + }, + "inherits": { + "version": "2.0.3", + "dev": true + }, + "mime": { + "version": "1.4.1", + "dev": true + }, + "ms": { + "version": "2.0.0", + "dev": true + }, + "on-finished": { + "version": "2.3.0", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "setprototypeof": { + "version": "1.1.0", + "dev": true + }, + "statuses": { + "version": "1.4.0", + "dev": true + } + } + }, + "serialize-error": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-12.0.0.tgz", + "integrity": "sha512-ZYkZLAvKTKQXWuh5XpBw7CdbSzagarX39WyZ2H07CDLC5/KfsRGlIXV8d4+tfqX1M7916mRqR1QfNHSij+c9Pw==", + "dev": true, + "requires": { + "type-fest": "^4.31.0" + } + }, + "serialize-javascript": { + "version": "6.0.2", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, + "serve-index": { + "version": "1.9.1", + "dev": true, + "requires": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "depd": { + "version": "1.1.2", + "dev": true + }, + "http-errors": { + "version": "1.6.3", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + } + }, + "inherits": { + "version": "2.0.3", + "dev": true + }, + "ms": { + "version": "2.0.0", + "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "dev": true + }, + "statuses": { + "version": "1.5.0", + "dev": true + } + } + }, + "serve-static": { + "version": "1.16.2", + "requires": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.19.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0" + } + } + }, + "encodeurl": { + "version": "2.0.0" + }, + "mime": { + "version": "1.6.0" + }, + "ms": { + "version": "2.1.3" + }, + "send": { + "version": "0.19.0", + "requires": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "dependencies": { + "encodeurl": { + "version": "1.0.2" + } + } + } + } + }, + "set-function-length": { + "version": "1.2.2", + "dev": true, + "requires": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + } + }, + "set-function-name": { + "version": "2.0.2", + "dev": true, + "requires": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + } + }, + "set-proto": { + "version": "1.0.0", + "dev": true, + "requires": { + "dunder-proto": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0" + } + }, + "setimmediate": { + "version": "1.0.5", + "dev": true + }, + "setprototypeof": { + "version": "1.2.0" + }, + "shallow-clone": { + "version": "3.0.1", + "dev": true, + "requires": { + "kind-of": "^6.0.2" + } + }, + "shebang-command": { + "version": "2.0.0", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "dev": true + }, + "side-channel": { + "version": "1.1.0", + "requires": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + } + }, + "side-channel-list": { + "version": "1.0.0", + "requires": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + } + }, + "side-channel-map": { + "version": "1.0.1", + "requires": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + } + }, + "side-channel-weakmap": { + "version": "1.0.2", + "requires": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + } + }, + "signal-exit": { + "version": "3.0.7", + "dev": true + }, + "sinon": { + "version": "20.0.0", + "dev": true, + "requires": { + "@sinonjs/commons": "^3.0.1", + "@sinonjs/fake-timers": "^13.0.5", + "@sinonjs/samsam": "^8.0.1", + "diff": "^7.0.0", + "supports-color": "^7.2.0" + }, + "dependencies": { + "diff": { + "version": "7.0.0", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "sirv": { + "version": "2.0.4", + "dev": true, + "requires": { + "@polka/url": "^1.0.0-next.24", + "mrmime": "^2.0.0", + "totalist": "^3.0.0" + } + }, + "slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==", + "dev": true + }, + "slashes": { + "version": "3.0.12", + "dev": true + }, + "smart-buffer": { + "version": "4.2.0", + "dev": true + }, + "socket.io": { + "version": "4.8.0", + "requires": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "cors": "~2.8.5", + "debug": "~4.3.2", + "engine.io": "~6.6.0", + "socket.io-adapter": "~2.5.2", + "socket.io-parser": "~4.2.4" + } + }, + "socket.io-adapter": { + "version": "2.5.5", + "requires": { + "debug": "~4.3.4", + "ws": "~8.17.1" + } + }, + "socket.io-parser": { + "version": "4.2.4", + "requires": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + } + }, + "socks": { + "version": "2.8.4", + "dev": true, + "requires": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + } + }, + "socks-proxy-agent": { + "version": "8.0.5", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "^4.3.4", + "socks": "^2.8.3" + }, + "dependencies": { + "agent-base": { + "version": "7.1.3", + "dev": true + } + } + }, + "source-list-map": { + "version": "2.0.1", + "dev": true + }, + "source-map": { + "version": "0.6.1" + }, + "source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true + }, + "source-map-loader": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-5.0.0.tgz", + "integrity": "sha512-k2Dur7CbSLcAH73sBcIkV5xjPV4SzqO1NJ7+XaQl8if3VODDUj3FNchNGpqgJSKbvUfJuhVdv8K2Eu8/TNl2eA==", + "dev": true, + "requires": { + "iconv-lite": "^0.6.3", + "source-map-js": "^1.0.2" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, + "source-map-resolve": { + "version": "0.6.0", + "dev": true, + "requires": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0" + } + }, + "source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "spacetrim": { + "version": "0.11.25", + "dev": true + }, + "sparkles": { + "version": "2.1.0", + "dev": true + }, + "spdx-correct": { + "version": "3.2.0", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.5.0", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.1", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.18", + "dev": true + }, + "split": { + "version": "0.3.3", + "dev": true, + "requires": { + "through": "2" + } + }, + "split2": { + "version": "4.2.0", + "dev": true + }, + "sprintf-js": { + "version": "1.0.3" + }, + "stable-hash": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.5.tgz", + "integrity": "sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==", + "dev": true + }, + "stable-hash-x": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/stable-hash-x/-/stable-hash-x-0.2.0.tgz", + "integrity": "sha512-o3yWv49B/o4QZk5ZcsALc6t0+eCelPc44zZsLtCQnZPDwFpDYSWcDnrv2TtMmMbQ7uKo3J0HTURCqckw23czNQ==", + "dev": true + }, + "stack-utils": { + "version": "2.0.6", + "dev": true, + "requires": { + "escape-string-regexp": "^2.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "2.0.0", + "dev": true + } + } + }, + "statuses": { + "version": "2.0.1" + }, + "stop-iteration-iterator": { + "version": "1.0.0", + "dev": true, + "requires": { + "internal-slot": "^1.0.4" + } + }, + "stream-buffers": { + "version": "3.0.2", + "dev": true + }, + "stream-combiner": { + "version": "0.0.4", + "dev": true, + "requires": { + "duplexer": "~0.1.1" + } + }, + "stream-composer": { + "version": "1.0.2", + "dev": true, + "requires": { + "streamx": "^2.13.2" + } + }, + "stream-exhaust": { + "version": "1.0.2", + "dev": true + }, + "stream-shift": { + "version": "1.0.3", + "dev": true + }, + "streamfilter": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/streamfilter/-/streamfilter-3.0.0.tgz", + "integrity": "sha512-kvKNfXCmUyC8lAXSSHCIXBUlo/lhsLcCU/OmzACZYpRUdtKIH68xYhm/+HI15jFJYtNJGYtCgn2wmIiExY1VwA==", + "dev": true, + "requires": { + "readable-stream": "^3.0.6" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "streamroller": { + "version": "3.1.5", + "requires": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "fs-extra": "^8.1.0" + }, + "dependencies": { + "fs-extra": { + "version": "8.1.0", + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "jsonfile": { + "version": "4.0.0", + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "universalify": { + "version": "0.1.2" + } + } + }, + "streamx": { + "version": "2.22.0", + "dev": true, + "requires": { + "bare-events": "^2.2.0", + "fast-fifo": "^1.3.2", + "text-decoder": "^1.1.0" + } + }, + "strict-event-emitter": { + "version": "0.1.0", + "dev": true + }, + "string_decoder": { + "version": "1.1.1", + "requires": { + "safe-buffer": "~5.1.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2" + } + } + }, + "string-template": { + "version": "0.2.1", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "strip-ansi": { + "version": "6.0.1", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "strip-ansi": { + "version": "6.0.1", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "string.prototype.matchall": { + "version": "4.0.12", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz", + "integrity": "sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.6", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.6", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "internal-slot": "^1.1.0", + "regexp.prototype.flags": "^1.5.3", + "set-function-name": "^2.0.2", + "side-channel": "^1.1.0" + } + }, + "string.prototype.repeat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz", + "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, + "string.prototype.trim": { + "version": "1.2.10", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "define-data-property": "^1.1.4", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-object-atoms": "^1.0.0", + "has-property-descriptors": "^1.0.2" + } + }, + "string.prototype.trimend": { + "version": "1.0.9", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + } + }, + "string.prototype.trimstart": { + "version": "1.0.8", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + } + }, + "strip-ansi": { + "version": "7.1.0", + "dev": true, + "requires": { + "ansi-regex": "^6.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "dev": true + } + } + }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-bom": { + "version": "3.0.0", + "dev": true + }, + "strip-bom-string": { + "version": "1.0.0", + "dev": true + }, + "strip-eof": { + "version": "1.0.0", + "dev": true + }, + "strip-final-newline": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", + "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", + "dev": true + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, + "strnum": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.1.1.tgz", + "integrity": "sha512-7ZvoFTiCnGxBtDqJ//Cu6fWtZtc7Y3x+QOirG15wztbdngGSkht27o2pyGWrVy0b4WAy3jbKmnoK6g5VlVNUUw==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0" + }, + "sver": { + "version": "1.8.4", + "dev": true, + "requires": { + "semver": "^6.3.0" + } + }, + "synckit": { + "version": "0.9.2", + "dev": true, + "requires": { + "@pkgr/core": "^0.1.0", + "tslib": "^2.6.2" + } + }, + "tapable": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz", + "integrity": "sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==", + "dev": true + }, + "tar-fs": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.1.1.tgz", + "integrity": "sha512-LZA0oaPOc2fVo82Txf3gw+AkEd38szODlptMYejQUhndHMLQ9M059uXR+AfS7DNo0NpINvSqDsvyaCrBVkptWg==", + "dev": true, + "requires": { + "bare-fs": "^4.0.1", + "bare-path": "^3.0.0", + "pump": "^3.0.0", + "tar-stream": "^3.1.5" + } + }, + "tar-stream": { + "version": "3.1.7", + "dev": true, + "requires": { + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" + } + }, + "teex": { + "version": "1.0.1", + "dev": true, + "requires": { + "streamx": "^2.12.5" + } + }, + "temp-fs": { + "version": "0.9.9", + "dev": true, + "requires": { + "rimraf": "~2.5.2" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "rimraf": { + "version": "2.5.4", + "dev": true, + "requires": { + "glob": "^7.0.5" + } + } + } + }, + "ternary-stream": { + "version": "3.0.0", + "dev": true, + "requires": { + "duplexify": "^4.1.1", + "fork-stream": "^0.0.4", + "merge-stream": "^2.0.0", + "through2": "^3.0.1" + }, + "dependencies": { + "through2": { + "version": "3.0.2", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + } + } + }, + "terser": { + "version": "5.44.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.44.0.tgz", + "integrity": "sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==", + "dev": true, + "requires": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.15.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + } + }, + "terser-webpack-plugin": { + "version": "5.3.14", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.14.tgz", + "integrity": "sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==", + "dev": true, + "requires": { + "@jridgewell/trace-mapping": "^0.3.25", + "jest-worker": "^27.4.5", + "schema-utils": "^4.3.0", + "serialize-javascript": "^6.0.2", + "terser": "^5.31.1" + } + }, + "test-exclude": { + "version": "6.0.0", + "dev": true, + "requires": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "dependencies": { + "glob": { + "version": "7.2.3", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + } + } + }, + "text-decoder": { + "version": "1.1.0", + "dev": true, + "requires": { + "b4a": "^1.6.4" + } + }, + "textextensions": { + "version": "3.3.0", + "dev": true + }, + "through": { + "version": "2.3.8", + "dev": true + }, + "through2": { + "version": "4.0.2", + "dev": true, + "requires": { + "readable-stream": "3" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.2", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "time-stamp": { + "version": "1.1.0", + "dev": true + }, + "timers-ext": { + "version": "0.1.8", + "dev": true, + "requires": { + "es5-ext": "^0.10.64", + "next-tick": "^1.1.0" + } + }, + "tiny-hashes": { + "version": "1.0.1" + }, + "tiny-lr": { + "version": "1.1.1", + "dev": true, + "requires": { + "body": "^5.1.0", + "debug": "^3.1.0", + "faye-websocket": "~0.10.0", + "livereload-js": "^2.3.0", + "object-assign": "^4.1.0", + "qs": "^6.4.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "tinyglobby": { + "version": "0.2.14", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz", + "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==", + "dev": true, + "requires": { + "fdir": "^6.4.4", + "picomatch": "^4.0.2" + }, + "dependencies": { + "fdir": { + "version": "6.4.6", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz", + "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==", + "dev": true, + "requires": {} + }, + "picomatch": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "dev": true + } + } + }, + "tinyrainbow": { + "version": "1.2.0", + "dev": true + }, + "tmp": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.4.tgz", + "integrity": "sha512-UdiSoX6ypifLmrfQ/XfiawN6hkjSBpCjhKxxZcWlUUmoXLaCKQU0bx4HF/tdDK2uzRuchf1txGvrWBzYREssoQ==" + }, + "to-absolute-glob": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-3.0.0.tgz", + "integrity": "sha512-loO/XEWTRqpfcpI7+Jr2RR2Umaaozx1t6OSVWtMi0oy5F/Fxg3IC+D/TToDnxyAGs7uZBGT/6XmyDUxgsObJXA==", + "dev": true, + "requires": { + "is-absolute": "^1.0.0", + "is-negated-glob": "^1.0.0" + } + }, + "to-regex-range": { + "version": "5.0.1", + "requires": { + "is-number": "^7.0.0" + } + }, + "to-through": { + "version": "3.0.0", + "dev": true, + "requires": { + "streamx": "^2.12.5" + } + }, + "toidentifier": { + "version": "1.0.1" + }, + "totalist": { + "version": "3.0.1", + "dev": true + }, + "triple-beam": { + "version": "1.4.1", + "dev": true + }, + "tryit": { + "version": "1.0.3" + }, + "ts-api-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz", + "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==", + "dev": true, + "requires": {} + }, + "ts-declaration-location": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/ts-declaration-location/-/ts-declaration-location-1.0.7.tgz", + "integrity": "sha512-EDyGAwH1gO0Ausm9gV6T2nUvBgXT5kGoCMJPllOaooZ+4VvJiKBdZE7wK18N1deEowhcUptS+5GXZK8U/fvpwA==", + "dev": true, + "requires": { + "picomatch": "^4.0.2" + }, + "dependencies": { + "picomatch": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "dev": true + } + } + }, + "tsconfig-paths": { + "version": "3.15.0", + "dev": true, + "requires": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "dependencies": { + "json5": { + "version": "1.0.2", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + } + } + }, + "tslib": { + "version": "2.8.1", + "dev": true + }, + "tsx": { + "version": "4.19.3", + "dev": true, + "requires": { + "esbuild": "~0.25.0", + "fsevents": "~2.3.3", + "get-tsconfig": "^4.7.5" + } + }, + "type": { + "version": "2.7.3", + "dev": true + }, + "type-check": { + "version": "0.4.0", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1" + } + }, + "type-detect": { + "version": "4.0.8", + "dev": true + }, + "type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true + }, + "type-is": { + "version": "1.6.18", + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "typed-array-buffer": { + "version": "1.0.3", + "dev": true, + "requires": { + "call-bound": "^1.0.3", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.14" + } + }, + "typed-array-byte-length": { + "version": "1.0.3", + "dev": true, + "requires": { + "call-bind": "^1.0.8", + "for-each": "^0.3.3", + "gopd": "^1.2.0", + "has-proto": "^1.2.0", + "is-typed-array": "^1.1.14" + } + }, + "typed-array-byte-offset": { + "version": "1.0.4", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "for-each": "^0.3.3", + "gopd": "^1.2.0", + "has-proto": "^1.2.0", + "is-typed-array": "^1.1.15", + "reflect.getprototypeof": "^1.0.9" + } + }, + "typed-array-length": { + "version": "1.0.7", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0", + "reflect.getprototypeof": "^1.0.6" + } + }, + "typed-query-selector": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz", + "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==", + "dev": true + }, + "typescript": { + "version": "5.8.2", + "dev": true + }, + "typescript-compare": { + "version": "0.0.2", + "requires": { + "typescript-logic": "^0.0.0" + } + }, + "typescript-eslint": { + "version": "8.39.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.39.0.tgz", + "integrity": "sha512-lH8FvtdtzcHJCkMOKnN73LIn6SLTpoojgJqDAxPm1jCR14eWSGPX8ul/gggBdPMk/d5+u9V854vTYQ8T5jF/1Q==", + "dev": true, + "requires": { + "@typescript-eslint/eslint-plugin": "8.39.0", + "@typescript-eslint/parser": "8.39.0", + "@typescript-eslint/typescript-estree": "8.39.0", + "@typescript-eslint/utils": "8.39.0" + } + }, + "typescript-logic": { + "version": "0.0.0" + }, + "typescript-tuple": { + "version": "2.2.1", + "requires": { + "typescript-compare": "^0.0.2" + } + }, + "ua-parser-js": { + "version": "0.7.38" + }, + "uglify-js": { + "version": "3.18.0", + "dev": true, + "optional": true + }, + "unbox-primitive": { + "version": "1.1.0", + "dev": true, + "requires": { + "call-bound": "^1.0.3", + "has-bigints": "^1.0.2", + "has-symbols": "^1.1.0", + "which-boxed-primitive": "^1.1.1" + } + }, + "unc-path-regex": { + "version": "0.1.2", + "dev": true + }, + "undertaker": { + "version": "2.0.0", + "dev": true, + "requires": { + "bach": "^2.0.1", + "fast-levenshtein": "^3.0.0", + "last-run": "^2.0.0", + "undertaker-registry": "^2.0.0" + }, + "dependencies": { + "fast-levenshtein": { + "version": "3.0.0", + "dev": true, + "requires": { + "fastest-levenshtein": "^1.0.7" + } + } + } + }, + "undertaker-registry": { + "version": "2.0.0", + "dev": true + }, + "undici": { + "version": "6.21.3", + "dev": true + }, + "undici-types": { + "version": "5.26.5" + }, + "unicode-canonical-property-names-ecmascript": { + "version": "2.0.1" + }, + "unicode-match-property-ecmascript": { + "version": "2.0.0", + "requires": { + "unicode-canonical-property-names-ecmascript": "^2.0.0", + "unicode-property-aliases-ecmascript": "^2.0.0" + } + }, + "unicode-match-property-value-ecmascript": { + "version": "2.2.0" + }, + "unicode-property-aliases-ecmascript": { + "version": "2.1.0" + }, + "unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", + "dev": true + }, + "universalify": { + "version": "2.0.1", + "dev": true + }, + "unpipe": { + "version": "1.0.0" + }, + "unrs-resolver": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.11.1.tgz", + "integrity": "sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==", + "dev": true, + "requires": { + "@unrs/resolver-binding-android-arm-eabi": "1.11.1", + "@unrs/resolver-binding-android-arm64": "1.11.1", + "@unrs/resolver-binding-darwin-arm64": "1.11.1", + "@unrs/resolver-binding-darwin-x64": "1.11.1", + "@unrs/resolver-binding-freebsd-x64": "1.11.1", + "@unrs/resolver-binding-linux-arm-gnueabihf": "1.11.1", + "@unrs/resolver-binding-linux-arm-musleabihf": "1.11.1", + "@unrs/resolver-binding-linux-arm64-gnu": "1.11.1", + "@unrs/resolver-binding-linux-arm64-musl": "1.11.1", + "@unrs/resolver-binding-linux-ppc64-gnu": "1.11.1", + "@unrs/resolver-binding-linux-riscv64-gnu": "1.11.1", + "@unrs/resolver-binding-linux-riscv64-musl": "1.11.1", + "@unrs/resolver-binding-linux-s390x-gnu": "1.11.1", + "@unrs/resolver-binding-linux-x64-gnu": "1.11.1", + "@unrs/resolver-binding-linux-x64-musl": "1.11.1", + "@unrs/resolver-binding-wasm32-wasi": "1.11.1", + "@unrs/resolver-binding-win32-arm64-msvc": "1.11.1", + "@unrs/resolver-binding-win32-ia32-msvc": "1.11.1", + "@unrs/resolver-binding-win32-x64-msvc": "1.11.1", + "napi-postinstall": "^0.3.0" + } + }, + "update-browserslist-db": { + "version": "1.1.3", + "requires": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + } + }, + "uri-js": { + "version": "4.4.1", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "url": { + "version": "0.11.3", + "dev": true, + "requires": { + "punycode": "^1.4.1", + "qs": "^6.11.2" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "dev": true + } + } + }, + "url-parse": { + "version": "1.5.10", + "dev": true, + "requires": { + "querystringify": "^2.1.1", + "requires-port": "^1.0.0" + } + }, + "url-toolkit": { + "version": "2.2.5", + "dev": true + }, + "urlpattern-polyfill": { + "version": "10.0.0", + "dev": true + }, + "userhome": { + "version": "1.0.0", + "dev": true + }, + "util": { + "version": "0.12.5", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "which-typed-array": "^1.1.2" + } + }, + "util-deprecate": { + "version": "1.0.2" + }, + "utils-merge": { + "version": "1.0.1" + }, + "uuid": { + "version": "9.0.1", + "dev": true + }, + "v8flags": { + "version": "4.0.1", + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "value-or-function": { + "version": "4.0.0", + "dev": true + }, + "vary": { + "version": "1.1.2" + }, + "video.js": { + "version": "7.21.7", + "resolved": "https://registry.npmjs.org/video.js/-/video.js-7.21.7.tgz", + "integrity": "sha512-T2s3WFAht7Zjr2OSJamND9x9Dn2O+Z5WuHGdh8jI5SYh5mkMdVTQ7vSRmA5PYpjXJ2ycch6jpMjkJEIEU2xxqw==", + "dev": true, + "requires": { + "@babel/runtime": "^7.12.5", + "@videojs/http-streaming": "2.16.3", + "@videojs/vhs-utils": "^3.0.4", + "@videojs/xhr": "2.6.0", + "aes-decrypter": "3.1.3", + "global": "^4.4.0", + "keycode": "^2.2.0", + "m3u8-parser": "4.8.0", + "mpd-parser": "0.22.1", + "mux.js": "6.0.1", + "safe-json-parse": "4.0.0", + "videojs-font": "3.2.0", + "videojs-vtt.js": "^0.15.5" + }, + "dependencies": { + "safe-json-parse": { + "version": "4.0.0", + "dev": true, + "requires": { + "rust-result": "^1.0.0" + } + } + } + }, + "videojs-contrib-ads": { + "version": "6.9.0", + "dev": true, + "requires": { + "global": "^4.3.2", + "video.js": "^6 || ^7" + } + }, + "videojs-font": { + "version": "3.2.0", + "dev": true + }, + "videojs-ima": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/videojs-ima/-/videojs-ima-2.4.0.tgz", + "integrity": "sha512-pP93nNmsjz+BgRIQ3KnQjiB3hgxsHGLweU+23Aq656C9N632t//4gbrnbDBa3XLosBNXrK4uKxuBTFi/6drKRQ==", + "dev": true, + "requires": { + "@hapi/cryptiles": "^5.1.0", + "can-autoplay": "^3.0.2", + "extend": ">=3.0.2", + "videojs-contrib-ads": "^6.9.0 || ^7" + } + }, + "videojs-playlist": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/videojs-playlist/-/videojs-playlist-5.2.0.tgz", + "integrity": "sha512-Kyx6C5r7zmj6y97RrIlyji8JUEt0kUEfVyB4P6VMyEFVyCGlOlzlgPw2verznBp4uDfjVPPuAJKvNJ7x9O5NJw==", + "dev": true, + "requires": { + "global": "^4.3.2", + "video.js": "^6 || ^7 || ^8" + } + }, + "videojs-vtt.js": { + "version": "0.15.5", + "dev": true, + "requires": { + "global": "^4.3.1" + } + }, + "vinyl": { + "version": "2.2.1", + "dev": true, + "requires": { + "clone": "^2.1.1", + "clone-buffer": "^1.0.0", + "clone-stats": "^1.0.0", + "cloneable-readable": "^1.0.0", + "remove-trailing-separator": "^1.0.1", + "replace-ext": "^1.0.0" + }, + "dependencies": { + "replace-ext": { + "version": "1.0.1", + "dev": true + } + } + }, + "vinyl-bufferstream": { + "version": "1.0.1", + "requires": { + "bufferstreams": "1.0.1" + } + }, + "vinyl-contents": { + "version": "2.0.0", + "dev": true, + "requires": { + "bl": "^5.0.0", + "vinyl": "^3.0.0" + }, + "dependencies": { + "vinyl": { + "version": "3.0.1", + "dev": true, + "requires": { + "clone": "^2.1.2", + "remove-trailing-separator": "^1.1.0", + "replace-ext": "^2.0.0", + "teex": "^1.0.1" + } + } + } + }, + "vinyl-fs": { + "version": "4.0.2", + "dev": true, + "requires": { + "fs-mkdirp-stream": "^2.0.1", + "glob-stream": "^8.0.3", + "graceful-fs": "^4.2.11", + "iconv-lite": "^0.6.3", + "is-valid-glob": "^1.0.0", + "lead": "^4.0.0", + "normalize-path": "3.0.0", + "resolve-options": "^2.0.0", + "stream-composer": "^1.0.2", + "streamx": "^2.14.0", + "to-through": "^3.0.0", + "value-or-function": "^4.0.0", + "vinyl": "^3.0.1", + "vinyl-sourcemap": "^2.0.0" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "vinyl": { + "version": "3.0.1", + "dev": true, + "requires": { + "clone": "^2.1.2", + "remove-trailing-separator": "^1.1.0", + "replace-ext": "^2.0.0", + "teex": "^1.0.1" + } + } + } + }, + "vinyl-sourcemap": { + "version": "2.0.0", + "dev": true, + "requires": { + "convert-source-map": "^2.0.0", + "graceful-fs": "^4.2.10", + "now-and-later": "^3.0.0", + "streamx": "^2.12.5", + "vinyl": "^3.0.0", + "vinyl-contents": "^2.0.0" + }, + "dependencies": { + "vinyl": { + "version": "3.0.1", + "dev": true, + "requires": { + "clone": "^2.1.2", + "remove-trailing-separator": "^1.1.0", + "replace-ext": "^2.0.0", + "teex": "^1.0.1" + } + } + } + }, + "vinyl-sourcemaps-apply": { + "version": "0.2.1", + "requires": { + "source-map": "^0.5.1" + }, + "dependencies": { + "source-map": { + "version": "0.5.7" + } + } + }, + "void-elements": { + "version": "2.0.1" + }, + "wait-port": { + "version": "1.1.0", + "dev": true, + "requires": { + "chalk": "^4.1.2", + "commander": "^9.3.0", + "debug": "^4.3.4" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "commander": { + "version": "9.5.0", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "watchpack": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.4.tgz", + "integrity": "sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==", + "dev": true, + "requires": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + } + }, + "wcwidth": { + "version": "1.0.1", + "dev": true, + "optional": true, + "requires": { + "defaults": "^1.0.3" + } + }, + "web-streams-polyfill": { + "version": "4.0.0-beta.3", + "dev": true + }, + "webdriver": { + "version": "9.19.2", + "resolved": "https://registry.npmjs.org/webdriver/-/webdriver-9.19.2.tgz", + "integrity": "sha512-kw6dSwNzimU8/CkGVlM36pqWHZ7BhCwV4/d8fu6rpIYGeQbPwcNc4M90TfJuzYMA7Au3NdrwT/EVQgVLQ9Ju8Q==", + "dev": true, + "requires": { + "@types/node": "^20.1.0", + "@types/ws": "^8.5.3", + "@wdio/config": "9.19.2", + "@wdio/logger": "9.18.0", + "@wdio/protocols": "9.16.2", + "@wdio/types": "9.19.2", + "@wdio/utils": "9.19.2", + "deepmerge-ts": "^7.0.3", + "https-proxy-agent": "^7.0.6", + "undici": "^6.21.3", + "ws": "^8.8.0" + }, + "dependencies": { + "@wdio/config": { + "version": "9.19.2", + "resolved": "https://registry.npmjs.org/@wdio/config/-/config-9.19.2.tgz", + "integrity": "sha512-OVCzPQxav0QDk5rktQ6LYARZ5ueUuJXIqTXUpS3A9Jt6PF+ZUI5sbO/y+z+qHQXqDq+LkscmFsmkzgnoHzHcfg==", + "dev": true, + "requires": { + "@wdio/logger": "9.18.0", + "@wdio/types": "9.19.2", + "@wdio/utils": "9.19.2", + "deepmerge-ts": "^7.0.3", + "glob": "^10.2.2", + "import-meta-resolve": "^4.0.0" + } + }, + "@wdio/logger": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/@wdio/logger/-/logger-9.18.0.tgz", + "integrity": "sha512-HdzDrRs+ywAqbXGKqe1i/bLtCv47plz4TvsHFH3j729OooT5VH38ctFn5aLXgECmiAKDkmH/A6kOq2Zh5DIxww==", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "safe-regex2": "^5.0.0", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/protocols": { + "version": "9.16.2", + "resolved": "https://registry.npmjs.org/@wdio/protocols/-/protocols-9.16.2.tgz", + "integrity": "sha512-h3k97/lzmyw5MowqceAuY3HX/wGJojXHkiPXA3WlhGPCaa2h4+GovV2nJtRvknCKsE7UHA1xB5SWeI8MzloBew==", + "dev": true + }, + "@wdio/types": { + "version": "9.19.2", + "resolved": "https://registry.npmjs.org/@wdio/types/-/types-9.19.2.tgz", + "integrity": "sha512-fBI7ljL+YcPXSXUhdk2+zVuz7IYP1aDMTq1eVmMme9GY0y67t0dCNPOt6xkCAEdL5dOcV6D2L1r6Cf/M2ifTvQ==", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "@wdio/utils": { + "version": "9.19.2", + "resolved": "https://registry.npmjs.org/@wdio/utils/-/utils-9.19.2.tgz", + "integrity": "sha512-caimJiTsxDUfXn/gRAzcYTO3RydSl7XzD+QpjfWZYJjzr8a2XfNnj+Vdmr8gG4BSkiVHirW9mFCZeQp2eTD7rA==", + "dev": true, + "requires": { + "@puppeteer/browsers": "^2.2.0", + "@wdio/logger": "9.18.0", + "@wdio/types": "9.19.2", + "decamelize": "^6.0.0", + "deepmerge-ts": "^7.0.3", + "edgedriver": "^6.1.2", + "geckodriver": "^5.0.0", + "get-port": "^7.0.0", + "import-meta-resolve": "^4.0.0", + "locate-app": "^2.2.24", + "mitt": "^3.0.1", + "safaridriver": "^1.0.0", + "split2": "^4.2.0", + "wait-port": "^1.1.0" + } + }, + "agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true + }, + "chalk": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.0.tgz", + "integrity": "sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==", + "dev": true + }, + "https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "4" + } + } + } + }, + "webdriverio": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/webdriverio/-/webdriverio-9.19.1.tgz", + "integrity": "sha512-hpGgK6d9QNi3AaLFWIPQaEMqJhXF048XAIsV5i5mkL0kjghV1opcuhKgbbG+7pcn8JSpiq6mh7o3MDYtapw90w==", + "dev": true, + "requires": { + "@types/node": "^20.11.30", + "@types/sinonjs__fake-timers": "^8.1.5", + "@wdio/config": "9.19.1", + "@wdio/logger": "9.18.0", + "@wdio/protocols": "9.16.2", + "@wdio/repl": "9.16.2", + "@wdio/types": "9.19.1", + "@wdio/utils": "9.19.1", + "archiver": "^7.0.1", + "aria-query": "^5.3.0", + "cheerio": "^1.0.0-rc.12", + "css-shorthand-properties": "^1.1.1", + "css-value": "^0.0.1", + "grapheme-splitter": "^1.0.4", + "htmlfy": "^0.8.1", + "is-plain-obj": "^4.1.0", + "jszip": "^3.10.1", + "lodash.clonedeep": "^4.5.0", + "lodash.zip": "^4.2.0", + "query-selector-shadow-dom": "^1.0.1", + "resq": "^1.11.0", + "rgb2hex": "0.2.5", + "serialize-error": "^12.0.0", + "urlpattern-polyfill": "^10.0.0", + "webdriver": "9.19.1" + }, + "dependencies": { + "@wdio/config": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/@wdio/config/-/config-9.19.1.tgz", + "integrity": "sha512-BeTB2paSjaij3cf1NXQzX9CZmdj5jz2/xdUhkJlCeGmGn1KjWu5BjMO+exuiy+zln7dOJjev8f0jlg8e8f1EbQ==", + "dev": true, + "requires": { + "@wdio/logger": "9.18.0", + "@wdio/types": "9.19.1", + "@wdio/utils": "9.19.1", + "deepmerge-ts": "^7.0.3", + "glob": "^10.2.2", + "import-meta-resolve": "^4.0.0" + } + }, + "@wdio/logger": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/@wdio/logger/-/logger-9.18.0.tgz", + "integrity": "sha512-HdzDrRs+ywAqbXGKqe1i/bLtCv47plz4TvsHFH3j729OooT5VH38ctFn5aLXgECmiAKDkmH/A6kOq2Zh5DIxww==", + "dev": true, + "requires": { + "chalk": "^5.1.2", + "loglevel": "^1.6.0", + "loglevel-plugin-prefix": "^0.8.4", + "safe-regex2": "^5.0.0", + "strip-ansi": "^7.1.0" + } + }, + "@wdio/protocols": { + "version": "9.16.2", + "resolved": "https://registry.npmjs.org/@wdio/protocols/-/protocols-9.16.2.tgz", + "integrity": "sha512-h3k97/lzmyw5MowqceAuY3HX/wGJojXHkiPXA3WlhGPCaa2h4+GovV2nJtRvknCKsE7UHA1xB5SWeI8MzloBew==", + "dev": true + }, + "@wdio/repl": { + "version": "9.16.2", + "resolved": "https://registry.npmjs.org/@wdio/repl/-/repl-9.16.2.tgz", + "integrity": "sha512-FLTF0VL6+o5BSTCO7yLSXocm3kUnu31zYwzdsz4n9s5YWt83sCtzGZlZpt7TaTzb3jVUfxuHNQDTb8UMkCu0lQ==", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "@wdio/types": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/@wdio/types/-/types-9.19.1.tgz", + "integrity": "sha512-Q1HVcXiWMHp3ze2NN1BvpsfEh/j6GtAeMHhHW4p2IWUfRZlZqTfiJ+95LmkwXOG2gw9yndT8NkJigAz8v7WVYQ==", + "dev": true, + "requires": { + "@types/node": "^20.1.0" + } + }, + "@wdio/utils": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/@wdio/utils/-/utils-9.19.1.tgz", + "integrity": "sha512-wWx5uPCgdZQxFIemAFVk/aa3JLwqrTsvEJsPlV3lCRpLeQ67V8aUPvvNAzE+RhX67qvelwwsvX8RrPdLDfnnYw==", + "dev": true, + "requires": { + "@puppeteer/browsers": "^2.2.0", + "@wdio/logger": "9.18.0", + "@wdio/types": "9.19.1", + "decamelize": "^6.0.0", + "deepmerge-ts": "^7.0.3", + "edgedriver": "^6.1.2", + "geckodriver": "^5.0.0", + "get-port": "^7.0.0", + "import-meta-resolve": "^4.0.0", + "locate-app": "^2.2.24", + "mitt": "^3.0.1", + "safaridriver": "^1.0.0", + "split2": "^4.2.0", + "wait-port": "^1.1.0" + } + }, + "agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true + }, + "chalk": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.0.tgz", + "integrity": "sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==", + "dev": true + }, + "https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "requires": { + "agent-base": "^7.1.2", + "debug": "4" + } + }, + "webdriver": { + "version": "9.19.1", + "resolved": "https://registry.npmjs.org/webdriver/-/webdriver-9.19.1.tgz", + "integrity": "sha512-cvccIZ3QaUZxxrA81a3rqqgxKt6VzVrZupMc+eX9J40qfGrV3NtdLb/m4AA1PmeTPGN5O3/4KrzDpnVZM4WUnA==", + "dev": true, + "requires": { + "@types/node": "^20.1.0", + "@types/ws": "^8.5.3", + "@wdio/config": "9.19.1", + "@wdio/logger": "9.18.0", + "@wdio/protocols": "9.16.2", + "@wdio/types": "9.19.1", + "@wdio/utils": "9.19.1", + "deepmerge-ts": "^7.0.3", + "https-proxy-agent": "^7.0.6", + "undici": "^6.21.3", + "ws": "^8.8.0" + } + } + } + }, + "webpack": { + "version": "5.102.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.102.1.tgz", + "integrity": "sha512-7h/weGm9d/ywQ6qzJ+Xy+r9n/3qgp/thalBbpOi5i223dPXKi04IBtqPN9nTd+jBc7QKfvDbaBnFipYp4sJAUQ==", + "dev": true, + "requires": { + "@types/eslint-scope": "^3.7.7", + "@types/estree": "^1.0.8", + "@types/json-schema": "^7.0.15", + "@webassemblyjs/ast": "^1.14.1", + "@webassemblyjs/wasm-edit": "^1.14.1", + "@webassemblyjs/wasm-parser": "^1.14.1", + "acorn": "^8.15.0", + "acorn-import-phases": "^1.0.3", + "browserslist": "^4.26.3", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^5.17.3", + "es-module-lexer": "^1.2.1", + "eslint-scope": "5.1.1", + "events": "^3.2.0", + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.2.11", + "json-parse-even-better-errors": "^2.3.1", + "loader-runner": "^4.2.0", + "mime-types": "^2.1.27", + "neo-async": "^2.6.2", + "schema-utils": "^4.3.3", + "tapable": "^2.3.0", + "terser-webpack-plugin": "^5.3.11", + "watchpack": "^2.4.4", + "webpack-sources": "^3.3.3" + }, + "dependencies": { + "json-parse-even-better-errors": { + "version": "2.3.1", + "dev": true + } + } + }, + "webpack-bundle-analyzer": { + "version": "4.10.2", + "dev": true, + "requires": { + "@discoveryjs/json-ext": "0.5.7", + "acorn": "^8.0.4", + "acorn-walk": "^8.0.0", + "commander": "^7.2.0", + "debounce": "^1.2.1", + "escape-string-regexp": "^4.0.0", + "gzip-size": "^6.0.0", + "html-escaper": "^2.0.2", + "opener": "^1.5.2", + "picocolors": "^1.0.0", + "sirv": "^2.0.3", + "ws": "^7.3.1" + }, + "dependencies": { + "commander": { + "version": "7.2.0", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "dev": true + }, + "ws": { + "version": "7.5.10", + "dev": true, + "requires": {} + } + } + }, + "webpack-manifest-plugin": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/webpack-manifest-plugin/-/webpack-manifest-plugin-5.0.1.tgz", + "integrity": "sha512-xTlX7dC3hrASixA2inuWFMz6qHsNi6MT3Uiqw621sJjRTShtpMjbDYhPPZBwWUKdIYKIjSq9em6+uzWayf38aQ==", + "dev": true, + "requires": { + "tapable": "^2.0.0", + "webpack-sources": "^2.2.0" + }, + "dependencies": { + "webpack-sources": { + "version": "2.3.1", + "dev": true, + "requires": { + "source-list-map": "^2.0.1", + "source-map": "^0.6.1" + } + } + } + }, + "webpack-merge": { + "version": "4.2.2", + "dev": true, + "requires": { + "lodash": "^4.17.15" + } + }, + "webpack-sources": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.3.3.tgz", + "integrity": "sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==", + "dev": true + }, + "webpack-stream": { + "version": "7.0.0", + "dev": true, + "requires": { + "fancy-log": "^1.3.3", + "lodash.clone": "^4.3.2", + "lodash.some": "^4.2.2", + "memory-fs": "^0.5.0", + "plugin-error": "^1.0.1", + "supports-color": "^8.1.1", + "through": "^2.3.8", + "vinyl": "^2.2.1" + }, + "dependencies": { + "ansi-colors": { + "version": "1.1.0", + "dev": true, + "requires": { + "ansi-wrap": "^0.1.0" + } + }, + "arr-diff": { + "version": "4.0.0", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "fancy-log": { + "version": "1.3.3", + "dev": true, + "requires": { + "ansi-gray": "^0.1.1", + "color-support": "^1.1.3", + "parse-node-version": "^1.0.0", + "time-stamp": "^1.0.0" + } + }, + "has-flag": { + "version": "4.0.0", + "dev": true + }, + "plugin-error": { + "version": "1.0.1", + "dev": true, + "requires": { + "ansi-colors": "^1.0.1", + "arr-diff": "^4.0.0", + "arr-union": "^3.1.0", + "extend-shallow": "^3.0.2" + } + }, + "supports-color": { + "version": "8.1.1", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "websocket-driver": { + "version": "0.7.4", + "dev": true, + "requires": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + } + }, + "websocket-extensions": { + "version": "0.1.4", + "dev": true + }, + "whatwg-encoding": { + "version": "3.1.1", + "dev": true, + "requires": { + "iconv-lite": "0.6.3" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.3", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, + "whatwg-mimetype": { + "version": "4.0.0", + "dev": true + }, + "which": { + "version": "5.0.0", + "dev": true, + "requires": { + "isexe": "^3.1.1" + } + }, + "which-boxed-primitive": { + "version": "1.1.1", + "dev": true, + "requires": { + "is-bigint": "^1.1.0", + "is-boolean-object": "^1.2.1", + "is-number-object": "^1.1.1", + "is-string": "^1.1.1", + "is-symbol": "^1.1.1" + } + }, + "which-builtin-type": { + "version": "1.2.1", + "dev": true, + "requires": { + "call-bound": "^1.0.2", + "function.prototype.name": "^1.1.6", + "has-tostringtag": "^1.0.2", + "is-async-function": "^2.0.0", + "is-date-object": "^1.1.0", + "is-finalizationregistry": "^1.1.0", + "is-generator-function": "^1.0.10", + "is-regex": "^1.2.1", + "is-weakref": "^1.0.2", + "isarray": "^2.0.5", + "which-boxed-primitive": "^1.1.0", + "which-collection": "^1.0.2", + "which-typed-array": "^1.1.16" + } + }, + "which-collection": { + "version": "1.0.2", + "dev": true, + "requires": { + "is-map": "^2.0.3", + "is-set": "^2.0.3", + "is-weakmap": "^2.0.2", + "is-weakset": "^2.0.3" + } + }, + "which-typed-array": { + "version": "1.1.19", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", + "for-each": "^0.3.5", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2" + } + }, + "winston-transport": { + "version": "4.7.0", + "dev": true, + "requires": { + "logform": "^2.3.2", + "readable-stream": "^3.6.0", + "triple-beam": "^1.3.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.2", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "word-wrap": { + "version": "1.2.5", + "dev": true + }, + "wordwrap": { + "version": "1.0.0", + "dev": true + }, + "workerpool": { + "version": "6.5.1", + "dev": true + }, + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "dev": true + }, + "strip-ansi": { + "version": "6.0.1", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "wrappy": { + "version": "1.0.2" + }, + "ws": { + "version": "8.17.1", + "requires": {} + }, + "xtend": { + "version": "4.0.2" + }, + "y18n": { + "version": "5.0.8" + }, + "yallist": { + "version": "3.1.1" + }, + "yargs": { + "version": "1.3.3", + "dev": true + }, + "yargs-parser": { + "version": "21.1.1", + "dev": true + }, + "yargs-unparser": { + "version": "2.0.0", + "dev": true, + "requires": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "dependencies": { + "camelcase": { + "version": "6.3.0", + "dev": true + }, + "decamelize": { + "version": "4.0.0", + "dev": true + }, + "is-plain-obj": { + "version": "2.1.0", + "dev": true + } + } + }, + "yauzl": { + "version": "3.1.3", + "dev": true, + "requires": { + "buffer-crc32": "~0.2.3", + "pend": "~1.2.0" + } + }, + "yocto-queue": { + "version": "1.0.0", + "dev": true + }, + "yoctocolors": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.1.1.tgz", + "integrity": "sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==", + "dev": true + }, + "yoctocolors-cjs": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz", + "integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==", + "dev": true + }, + "zip-stream": { + "version": "6.0.1", + "dev": true, + "requires": { + "archiver-utils": "^5.0.0", + "compress-commons": "^6.0.2", + "readable-stream": "^4.0.0" + }, + "dependencies": { + "buffer": { + "version": "6.0.3", + "dev": true, + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "readable-stream": { + "version": "4.5.2", + "dev": true, + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + } + }, + "string_decoder": { + "version": "1.3.0", + "dev": true, + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "zod": { + "version": "3.25.67", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.67.tgz", + "integrity": "sha512-idA2YXwpCdqUSKRCACDE6ItZD9TZzy3OZMtpfLoh6oPR47lipysRrJfjzMqFxQ3uJuUPyUeWe1r9vLH33xO/Qw==", + "dev": true + } } } From 54a03a5edecd5096485fdba1d893436e5c27256d Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Tue, 25 Nov 2025 13:25:50 -0500 Subject: [PATCH 023/248] datablocks bid adapter: Remove colorDepth and availheight and width (#14183) * Remove colorDepth data from window dimensions * Remove colorDepth property from winDimensions Removed the colorDepth property from winDimensions object. * Update screen dimensions to null in datablocksBidAdapter Set screen availability width and height to null. --- modules/datablocksBidAdapter.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/datablocksBidAdapter.js b/modules/datablocksBidAdapter.js index 60ad1ffbcea..bfb26ac0bc9 100644 --- a/modules/datablocksBidAdapter.js +++ b/modules/datablocksBidAdapter.js @@ -208,9 +208,9 @@ export const spec = { return { 'wiw': windowDimensions.innerWidth, 'wih': windowDimensions.innerHeight, - 'saw': windowDimensions.screen.availWidth, - 'sah': windowDimensions.screen.availHeight, - 'scd': windowDimensions.screen.colorDepth, + 'saw': null, + 'sah': null, + 'scd': null, 'sw': windowDimensions.screen.width, 'sh': windowDimensions.screen.height, 'whl': win.history.length, From bbac9cac38348c23ff4f8d408487d0b9523a3723 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Tue, 25 Nov 2025 13:27:20 -0500 Subject: [PATCH 024/248] Core: fix resizing of anchor slots (#14107) --- src/secureCreatives.js | 41 ++++++++++++++--- test/spec/unit/secureCreatives_spec.js | 63 +++++++++++++++++++++++++- 2 files changed, 97 insertions(+), 7 deletions(-) diff --git a/src/secureCreatives.js b/src/secureCreatives.js index 57eb9158c5a..6ce564c95d0 100644 --- a/src/secureCreatives.js +++ b/src/secureCreatives.js @@ -15,6 +15,7 @@ import { markWinner } from './adRendering.js'; import {getCreativeRendererSource, PUC_MIN_VERSION} from './creativeRenderers.js'; +import {PbPromise} from './utils/promise.js'; const { REQUEST, RESPONSE, NATIVE, EVENT } = MESSAGES; @@ -134,13 +135,41 @@ function handleEventRequest(reply, data, adObject) { return handleCreativeEvent(data, adObject); } +function getDimension(value) { + return value ? value + 'px' : '100%'; +} + +export function resizeAnchor(ins, width, height) { + /** + * Special handling for google anchor ads + * For anchors, the element to resize is an element that is an ancestor of the creative iframe + * On desktop this is sized to the creative dimensions; + * on mobile one dimension is fixed to 100%. + */ + return new PbPromise((resolve, reject) => { + let tryCounter = 10; + // wait until GPT has set dimensions on the ins, otherwise our changes will be overridden + const resizer = setInterval(() => { + let done = false; + Object.entries({width, height}) + .forEach(([dimension, newValue]) => { + if (/\d+px/.test(ins.style[dimension])) { + ins.style[dimension] = getDimension(newValue); + done = true; + } + }) + if (done || (tryCounter-- === 0)) { + clearInterval(resizer); + done ? resolve() : reject(new Error('Could not resize anchor')) + } + }, 50) + }) +} + export function resizeRemoteCreative({instl, adId, adUnitCode, width, height}) { // do not resize interstitials - the creative frame takes the full screen and sizing of the ad should // be handled within it. if (instl) return; - function getDimension(value) { - return value ? value + 'px' : '100%'; - } function resize(element) { if (element) { @@ -154,9 +183,9 @@ export function resizeRemoteCreative({instl, adId, adUnitCode, width, height}) { // not select element that gets removed after dfp render const iframe = getElementByAdUnit('iframe:not([style*="display: none"])'); - - // resize both container div + iframe - [iframe, iframe?.parentElement].forEach(resize); + resize(iframe); + const anchorIns = iframe?.closest('ins[data-anchor-status]'); + anchorIns ? resizeAnchor(anchorIns, width, height) : resize(iframe?.parentElement); function getElementByAdUnit(elmType) { const id = getElementIdBasedOnAdServer(adId, adUnitCode); diff --git a/test/spec/unit/secureCreatives_spec.js b/test/spec/unit/secureCreatives_spec.js index 24c7542b31d..6f48a0364a2 100644 --- a/test/spec/unit/secureCreatives_spec.js +++ b/test/spec/unit/secureCreatives_spec.js @@ -1,4 +1,4 @@ -import {getReplier, receiveMessage, resizeRemoteCreative} from 'src/secureCreatives.js'; +import {getReplier, receiveMessage, resizeAnchor, resizeRemoteCreative} from 'src/secureCreatives.js'; import * as utils from 'src/utils.js'; import {getAdUnits, getBidRequests, getBidResponses} from 'test/fixtures/fixtures.js'; import {auctionManager} from 'src/auctionManager.js'; @@ -631,4 +631,65 @@ describe('secureCreatives', () => { sinon.assert.notCalled(document.getElementById); }) }) + + describe('resizeAnchor', () => { + let ins, clock; + beforeEach(() => { + clock = sinon.useFakeTimers(); + ins = { + style: { + width: 'auto', + height: 'auto' + } + } + }); + afterEach(() => { + clock.restore(); + }) + function setSize(width = '300px', height = '250px') { + ins.style.width = width; + ins.style.height = height; + } + it('should not change dimensions until they have been set externally', () => { + const pm = resizeAnchor(ins, 100, 200); + clock.tick(200); + expect(ins.style).to.eql({width: 'auto', height: 'auto'}); + setSize(); + clock.tick(200); + return pm.then(() => { + expect(ins.style.width).to.eql('100px'); + expect(ins.style.height).to.eql('200px'); + }) + }) + it('should quit trying if dimensions are never set externally', () => { + const pm = resizeAnchor(ins, 100, 200); + clock.tick(5000); + return pm + .then(() => { sinon.assert.fail('should have thrown') }) + .catch(err => { + expect(err.message).to.eql('Could not resize anchor') + }) + }); + it('should not choke when initial width/ height are null', () => { + ins.style = {}; + const pm = resizeAnchor(ins, 100, 200); + clock.tick(200); + setSize(); + clock.tick(200); + return pm.then(() => { + expect(ins.style.width).to.eql('100px'); + expect(ins.style.height).to.eql('200px'); + }) + }); + + it('should not resize dimensions that are set to 100%', () => { + const pm = resizeAnchor(ins, 100, 200); + setSize('100%', '250px'); + clock.tick(200); + return pm.then(() => { + expect(ins.style.width).to.eql('100%'); + expect(ins.style.height).to.eql('200px'); + }); + }) + }) }); From 06cb210eab84246bd9da5bae952fd507db62b2ed Mon Sep 17 00:00:00 2001 From: ym-aaron <89419575+ym-aaron@users.noreply.github.com> Date: Tue, 25 Nov 2025 11:10:46 -0800 Subject: [PATCH 025/248] yieldmo bid adapter: fix prebid adapter start delay (#14204) * FS-12392 update adapter * FS-12392 fix test * FS-12392 linting --- modules/yieldmoBidAdapter.js | 17 ++++++----------- test/spec/modules/yieldmoBidAdapter_spec.js | 5 ----- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/modules/yieldmoBidAdapter.js b/modules/yieldmoBidAdapter.js index f606194e132..d249a5e3bd3 100644 --- a/modules/yieldmoBidAdapter.js +++ b/modules/yieldmoBidAdapter.js @@ -15,9 +15,9 @@ import { parseQueryStringParameters, parseUrl } from '../src/utils.js'; -import {BANNER, VIDEO} from '../src/mediaTypes.js'; -import {registerBidder} from '../src/adapters/bidderFactory.js'; -import {Renderer} from '../src/Renderer.js'; +import { BANNER, VIDEO } from '../src/mediaTypes.js'; +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { Renderer } from '../src/Renderer.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -42,8 +42,6 @@ const OPENRTB_VIDEO_BIDPARAMS = ['mimes', 'startdelay', 'placement', 'plcmt', 's 'playbackmethod', 'maxduration', 'minduration', 'pos', 'skip', 'skippable']; const OPENRTB_VIDEO_SITEPARAMS = ['name', 'domain', 'cat', 'keywords']; const LOCAL_WINDOW = getWindowTop(); -const DEFAULT_PLAYBACK_METHOD = 2; -const DEFAULT_START_DELAY = 0; const VAST_TIMEOUT = 15000; const MAX_BANNER_REQUEST_URL_LENGTH = 8000; const BANNER_REQUEST_PROPERTIES_TO_REDUCE = ['description', 'title', 'pr', 'page_url']; @@ -96,7 +94,8 @@ export const spec = { cmp: deepAccess(bidderRequest, 'gdprConsent.consentString') || '', gpp: deepAccess(bidderRequest, 'gppConsent.gppString') || '', gpp_sid: - deepAccess(bidderRequest, 'gppConsent.applicableSections') || []}), + deepAccess(bidderRequest, 'gppConsent.applicableSections') || [] + }), us_privacy: deepAccess(bidderRequest, 'uspConsent') || '', }; if (topicsData) { @@ -211,7 +210,7 @@ export const spec = { return bids; }, - getUserSyncs: function(syncOptions, serverResponses, gdprConsent = {}, uspConsent = '') { + getUserSyncs: function (syncOptions, serverResponses, gdprConsent = {}, uspConsent = '') { const syncs = []; const gdprFlag = `&gdpr=${gdprConsent.gdprApplies ? 1 : 0}`; const gdprString = `&gdpr_consent=${encodeURIComponent((gdprConsent.consentString || ''))}`; @@ -505,10 +504,6 @@ function openRtbImpression(bidRequest) { imp.video.skip = 1; delete imp.video.skippable; } - if (imp.video.plcmt !== 1 || imp.video.placement !== 1) { - imp.video.startdelay = DEFAULT_START_DELAY; - imp.video.playbackmethod = [ DEFAULT_PLAYBACK_METHOD ]; - } if (gpid) { imp.ext.gpid = gpid; } diff --git a/test/spec/modules/yieldmoBidAdapter_spec.js b/test/spec/modules/yieldmoBidAdapter_spec.js index 4f4454c17ae..dc4651d2e1f 100644 --- a/test/spec/modules/yieldmoBidAdapter_spec.js +++ b/test/spec/modules/yieldmoBidAdapter_spec.js @@ -533,11 +533,6 @@ describe('YieldmoAdapter', function () { expect(utils.deepAccess(videoBid, 'params.video')['plcmt']).to.equal(1); }); - it('should add start delay if plcmt value is not 1', function () { - const videoBid = mockVideoBid({}, {}, { plcmt: 2 }); - expect(build([videoBid])[0].data.imp[0].video.startdelay).to.equal(0); - }); - it('should override mediaTypes.video.mimes prop if params.video.mimes is present', function () { utils.deepAccess(videoBid, 'mediaTypes.video')['mimes'] = ['video/mp4']; utils.deepAccess(videoBid, 'params.video')['mimes'] = ['video/mkv']; From 6edf9286095f56c3b893e5352dc5fa9ef9ae292f Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Tue, 25 Nov 2025 22:11:28 -0500 Subject: [PATCH 026/248] lock eslint version (#14210) --- package-lock.json | 733 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 607 insertions(+), 126 deletions(-) diff --git a/package-lock.json b/package-lock.json index b42d32ca601..5d06a914ebe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1680,6 +1680,406 @@ "node": ">=16" } }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.2.tgz", + "integrity": "sha512-wCIboOL2yXZym2cgm6mlA742s9QeJ8DjGVaL39dLN4rRwrOgOyYSnOaFPhKZGLb2ngj4EyfAFjsNJwPXZvseag==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.2.tgz", + "integrity": "sha512-NQhH7jFstVY5x8CKbcfa166GoV0EFkaPkCKBQkdPJFvo5u+nGXLEH/ooniLb3QI8Fk58YAx7nsPLozUWfCBOJA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.2.tgz", + "integrity": "sha512-5ZAX5xOmTligeBaeNEPnPaeEuah53Id2tX4c2CVP3JaROTH+j4fnfHCkr1PjXMd78hMst+TlkfKcW/DlTq0i4w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.2.tgz", + "integrity": "sha512-Ffcx+nnma8Sge4jzddPHCZVRvIfQ0kMsUsCMcJRHkGJ1cDmhe4SsrYIjLUKn1xpHZybmOqCWwB0zQvsjdEHtkg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.2.tgz", + "integrity": "sha512-MpM6LUVTXAzOvN4KbjzU/q5smzryuoNjlriAIx+06RpecwCkL9JpenNzpKd2YMzLJFOdPqBpuub6eVRP5IgiSA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.2.tgz", + "integrity": "sha512-5eRPrTX7wFyuWe8FqEFPG2cU0+butQQVNcT4sVipqjLYQjjh8a8+vUTfgBKM88ObB85ahsnTwF7PSIt6PG+QkA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.2.tgz", + "integrity": "sha512-mLwm4vXKiQ2UTSX4+ImyiPdiHjiZhIaE9QvC7sw0tZ6HoNMjYAqQpGyui5VRIi5sGd+uWq940gdCbY3VLvsO1w==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.2.tgz", + "integrity": "sha512-6qyyn6TjayJSwGpm8J9QYYGQcRgc90nmfdUb0O7pp1s4lTY+9D0H9O02v5JqGApUyiHOtkz6+1hZNvNtEhbwRQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.2.tgz", + "integrity": "sha512-UHBRgJcmjJv5oeQF8EpTRZs/1knq6loLxTsjc3nxO9eXAPDLcWW55flrMVc97qFPbmZP31ta1AZVUKQzKTzb0g==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.2.tgz", + "integrity": "sha512-gq/sjLsOyMT19I8obBISvhoYiZIAaGF8JpeXu1u8yPv8BE5HlWYobmlsfijFIZ9hIVGYkbdFhEqC0NvM4kNO0g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.2.tgz", + "integrity": "sha512-bBYCv9obgW2cBP+2ZWfjYTU+f5cxRoGGQ5SeDbYdFCAZpYWrfjjfYwvUpP8MlKbP0nwZ5gyOU/0aUzZ5HWPuvQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.2.tgz", + "integrity": "sha512-SHNGiKtvnU2dBlM5D8CXRFdd+6etgZ9dXfaPCeJtz+37PIUlixvlIhI23L5khKXs3DIzAn9V8v+qb1TRKrgT5w==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.2.tgz", + "integrity": "sha512-hDDRlzE6rPeoj+5fsADqdUZl1OzqDYow4TB4Y/3PlKBD0ph1e6uPHzIQcv2Z65u2K0kpeByIyAjCmjn1hJgG0Q==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.2.tgz", + "integrity": "sha512-tsHu2RRSWzipmUi9UBDEzc0nLc4HtpZEI5Ba+Omms5456x5WaNuiG3u7xh5AO6sipnJ9r4cRWQB2tUjPyIkc6g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.2.tgz", + "integrity": "sha512-k4LtpgV7NJQOml/10uPU0s4SAXGnowi5qBSjaLWMojNCUICNu7TshqHLAEbkBdAszL5TabfvQ48kK84hyFzjnw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.2.tgz", + "integrity": "sha512-GRa4IshOdvKY7M/rDpRR3gkiTNp34M0eLTaC1a08gNrh4u488aPhuZOCpkF6+2wl3zAN7L7XIpOFBhnaE3/Q8Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.2.tgz", + "integrity": "sha512-QInHERlqpTTZ4FRB0fROQWXcYRD64lAoiegezDunLpalZMjcUcld3YzZmVJ2H/Cp0wJRZ8Xtjtj0cEHhYc/uUg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.2.tgz", + "integrity": "sha512-talAIBoY5M8vHc6EeI2WW9d/CkiO9MQJ0IOWX8hrLhxGbro/vBXJvaQXefW2cP0z0nQVTdQ/eNyGFV1GSKrxfw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.2.tgz", + "integrity": "sha512-voZT9Z+tpOxrvfKFyfDYPc4DO4rk06qamv1a/fkuzHpiVBMOhpjK+vBmWM8J1eiB3OLSMFYNaOaBNLXGChf5tg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.2.tgz", + "integrity": "sha512-dcXYOC6NXOqcykeDlwId9kB6OkPUxOEqU+rkrYVqJbK2hagWOMrsTGsMr8+rW02M+d5Op5NNlgMmjzecaRf7Tg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.2.tgz", + "integrity": "sha512-t/TkWwahkH0Tsgoq1Ju7QfgGhArkGLkF1uYz8nQS/PPFlXbP5YgRpqQR3ARRiC2iXoLTWFxc6DJMSK10dVXluw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.2.tgz", + "integrity": "sha512-cfZH1co2+imVdWCjd+D1gf9NjkchVhhdpgb1q5y6Hcv9TP6Zi9ZG/beI3ig8TvwT9lH9dlxLq5MQBBgwuj4xvA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.2.tgz", + "integrity": "sha512-7Loyjh+D/Nx/sOTzV8vfbB3GJuHdOQyrOryFdZvPHLf42Tk9ivBU5Aedi7iyX+x6rbn2Mh68T4qq1SDqJBQO5Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.2.tgz", + "integrity": "sha512-WRJgsz9un0nqZJ4MfhabxaD9Ft8KioqU3JMinOTvobbX6MOSUigSBlogP8QB3uxpJDsFS6yN+3FDBdqE5lg9kg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.2.tgz", + "integrity": "sha512-kM3HKb16VIXZyIeVrM1ygYmZBKybX8N4p754bw390wGO3Tf2j4L2/WYL+4suWujpgf6GBYs3jv7TyUivdd05JA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", @@ -9419,9 +9819,10 @@ }, "node_modules/esbuild": { "version": "0.25.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.2.tgz", + "integrity": "sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ==", "dev": true, "hasInstallScript": true, - "license": "MIT", "bin": { "esbuild": "bin/esbuild" }, @@ -22603,6 +23004,181 @@ "jsdoc-type-pratt-parser": "~4.1.0" } }, + "@esbuild/aix-ppc64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.2.tgz", + "integrity": "sha512-wCIboOL2yXZym2cgm6mlA742s9QeJ8DjGVaL39dLN4rRwrOgOyYSnOaFPhKZGLb2ngj4EyfAFjsNJwPXZvseag==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.2.tgz", + "integrity": "sha512-NQhH7jFstVY5x8CKbcfa166GoV0EFkaPkCKBQkdPJFvo5u+nGXLEH/ooniLb3QI8Fk58YAx7nsPLozUWfCBOJA==", + "dev": true, + "optional": true + }, + "@esbuild/android-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.2.tgz", + "integrity": "sha512-5ZAX5xOmTligeBaeNEPnPaeEuah53Id2tX4c2CVP3JaROTH+j4fnfHCkr1PjXMd78hMst+TlkfKcW/DlTq0i4w==", + "dev": true, + "optional": true + }, + "@esbuild/android-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.2.tgz", + "integrity": "sha512-Ffcx+nnma8Sge4jzddPHCZVRvIfQ0kMsUsCMcJRHkGJ1cDmhe4SsrYIjLUKn1xpHZybmOqCWwB0zQvsjdEHtkg==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.2.tgz", + "integrity": "sha512-MpM6LUVTXAzOvN4KbjzU/q5smzryuoNjlriAIx+06RpecwCkL9JpenNzpKd2YMzLJFOdPqBpuub6eVRP5IgiSA==", + "dev": true, + "optional": true + }, + "@esbuild/darwin-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.2.tgz", + "integrity": "sha512-5eRPrTX7wFyuWe8FqEFPG2cU0+butQQVNcT4sVipqjLYQjjh8a8+vUTfgBKM88ObB85ahsnTwF7PSIt6PG+QkA==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.2.tgz", + "integrity": "sha512-mLwm4vXKiQ2UTSX4+ImyiPdiHjiZhIaE9QvC7sw0tZ6HoNMjYAqQpGyui5VRIi5sGd+uWq940gdCbY3VLvsO1w==", + "dev": true, + "optional": true + }, + "@esbuild/freebsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.2.tgz", + "integrity": "sha512-6qyyn6TjayJSwGpm8J9QYYGQcRgc90nmfdUb0O7pp1s4lTY+9D0H9O02v5JqGApUyiHOtkz6+1hZNvNtEhbwRQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.2.tgz", + "integrity": "sha512-UHBRgJcmjJv5oeQF8EpTRZs/1knq6loLxTsjc3nxO9eXAPDLcWW55flrMVc97qFPbmZP31ta1AZVUKQzKTzb0g==", + "dev": true, + "optional": true + }, + "@esbuild/linux-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.2.tgz", + "integrity": "sha512-gq/sjLsOyMT19I8obBISvhoYiZIAaGF8JpeXu1u8yPv8BE5HlWYobmlsfijFIZ9hIVGYkbdFhEqC0NvM4kNO0g==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ia32": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.2.tgz", + "integrity": "sha512-bBYCv9obgW2cBP+2ZWfjYTU+f5cxRoGGQ5SeDbYdFCAZpYWrfjjfYwvUpP8MlKbP0nwZ5gyOU/0aUzZ5HWPuvQ==", + "dev": true, + "optional": true + }, + "@esbuild/linux-loong64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.2.tgz", + "integrity": "sha512-SHNGiKtvnU2dBlM5D8CXRFdd+6etgZ9dXfaPCeJtz+37PIUlixvlIhI23L5khKXs3DIzAn9V8v+qb1TRKrgT5w==", + "dev": true, + "optional": true + }, + "@esbuild/linux-mips64el": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.2.tgz", + "integrity": "sha512-hDDRlzE6rPeoj+5fsADqdUZl1OzqDYow4TB4Y/3PlKBD0ph1e6uPHzIQcv2Z65u2K0kpeByIyAjCmjn1hJgG0Q==", + "dev": true, + "optional": true + }, + "@esbuild/linux-ppc64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.2.tgz", + "integrity": "sha512-tsHu2RRSWzipmUi9UBDEzc0nLc4HtpZEI5Ba+Omms5456x5WaNuiG3u7xh5AO6sipnJ9r4cRWQB2tUjPyIkc6g==", + "dev": true, + "optional": true + }, + "@esbuild/linux-riscv64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.2.tgz", + "integrity": "sha512-k4LtpgV7NJQOml/10uPU0s4SAXGnowi5qBSjaLWMojNCUICNu7TshqHLAEbkBdAszL5TabfvQ48kK84hyFzjnw==", + "dev": true, + "optional": true + }, + "@esbuild/linux-s390x": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.2.tgz", + "integrity": "sha512-GRa4IshOdvKY7M/rDpRR3gkiTNp34M0eLTaC1a08gNrh4u488aPhuZOCpkF6+2wl3zAN7L7XIpOFBhnaE3/Q8Q==", + "dev": true, + "optional": true + }, + "@esbuild/linux-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.2.tgz", + "integrity": "sha512-QInHERlqpTTZ4FRB0fROQWXcYRD64lAoiegezDunLpalZMjcUcld3YzZmVJ2H/Cp0wJRZ8Xtjtj0cEHhYc/uUg==", + "dev": true, + "optional": true + }, + "@esbuild/netbsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.2.tgz", + "integrity": "sha512-talAIBoY5M8vHc6EeI2WW9d/CkiO9MQJ0IOWX8hrLhxGbro/vBXJvaQXefW2cP0z0nQVTdQ/eNyGFV1GSKrxfw==", + "dev": true, + "optional": true + }, + "@esbuild/netbsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.2.tgz", + "integrity": "sha512-voZT9Z+tpOxrvfKFyfDYPc4DO4rk06qamv1a/fkuzHpiVBMOhpjK+vBmWM8J1eiB3OLSMFYNaOaBNLXGChf5tg==", + "dev": true, + "optional": true + }, + "@esbuild/openbsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.2.tgz", + "integrity": "sha512-dcXYOC6NXOqcykeDlwId9kB6OkPUxOEqU+rkrYVqJbK2hagWOMrsTGsMr8+rW02M+d5Op5NNlgMmjzecaRf7Tg==", + "dev": true, + "optional": true + }, + "@esbuild/openbsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.2.tgz", + "integrity": "sha512-t/TkWwahkH0Tsgoq1Ju7QfgGhArkGLkF1uYz8nQS/PPFlXbP5YgRpqQR3ARRiC2iXoLTWFxc6DJMSK10dVXluw==", + "dev": true, + "optional": true + }, + "@esbuild/sunos-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.2.tgz", + "integrity": "sha512-cfZH1co2+imVdWCjd+D1gf9NjkchVhhdpgb1q5y6Hcv9TP6Zi9ZG/beI3ig8TvwT9lH9dlxLq5MQBBgwuj4xvA==", + "dev": true, + "optional": true + }, + "@esbuild/win32-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.2.tgz", + "integrity": "sha512-7Loyjh+D/Nx/sOTzV8vfbB3GJuHdOQyrOryFdZvPHLf42Tk9ivBU5Aedi7iyX+x6rbn2Mh68T4qq1SDqJBQO5Q==", + "dev": true, + "optional": true + }, + "@esbuild/win32-ia32": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.2.tgz", + "integrity": "sha512-WRJgsz9un0nqZJ4MfhabxaD9Ft8KioqU3JMinOTvobbX6MOSUigSBlogP8QB3uxpJDsFS6yN+3FDBdqE5lg9kg==", + "dev": true, + "optional": true + }, + "@esbuild/win32-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.2.tgz", + "integrity": "sha512-kM3HKb16VIXZyIeVrM1ygYmZBKybX8N4p754bw390wGO3Tf2j4L2/WYL+4suWujpgf6GBYs3jv7TyUivdd05JA==", + "dev": true, + "optional": true + }, "@eslint-community/eslint-utils": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", @@ -26231,9 +26807,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001756", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001756.tgz", - "integrity": "sha512-4HnCNKbMLkLdhJz3TToeVWHSnfJvPaq6vu/eRP0Ahub/07n484XHhBF5AJoSGHdVrS8tKFauUQz8Bp9P7LVx7A==" + "version": "1.0.30001757", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001757.tgz", + "integrity": "sha512-r0nnL/I28Zi/yjk1el6ilj27tKcdjLsNqAOZr0yVjWPrSQyHgKI2INaEWw21bAQSv2LXRt1XuCS/GomNpWOxsQ==" }, "chai": { "version": "4.4.1", @@ -27641,6 +28217,8 @@ }, "esbuild": { "version": "0.25.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.2.tgz", + "integrity": "sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ==", "dev": true, "requires": { "@esbuild/aix-ppc64": "0.25.2", @@ -28434,37 +29012,8 @@ "encodeurl": { "version": "2.0.0" }, - "mime": { - "version": "1.6.0" - }, "ms": { "version": "2.0.0" - }, - "send": { - "version": "0.19.0", - "requires": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "dependencies": { - "encodeurl": { - "version": "1.0.2" - }, - "ms": { - "version": "2.1.3" - } - } } } }, @@ -29447,7 +29996,7 @@ "connect-livereload": "^0.6.0", "fancy-log": "^1.3.2", "map-stream": "^0.0.7", - "send": "^0.16.2", + "send": "0.19.0", "serve-index": "^1.9.1", "serve-static": "^1.13.2", "tiny-lr": "^1.1.1" @@ -33209,75 +33758,47 @@ } }, "send": { - "version": "0.16.2", - "dev": true, + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", "requires": { "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", + "depd": "2.0.0", + "destroy": "1.2.0", "encodeurl": "~1.0.2", "escape-html": "~1.0.3", "etag": "~1.8.1", "fresh": "0.5.2", - "http-errors": "~1.6.2", - "mime": "1.4.1", - "ms": "2.0.0", - "on-finished": "~2.3.0", - "range-parser": "~1.2.0", - "statuses": "~1.4.0" + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" }, "dependencies": { "debug": { "version": "2.6.9", - "dev": true, "requires": { "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + } } }, - "depd": { - "version": "1.1.2", - "dev": true - }, - "destroy": { - "version": "1.0.4", - "dev": true - }, - "http-errors": { - "version": "1.6.3", - "dev": true, - "requires": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.0", - "statuses": ">= 1.4.0 < 2" - } - }, - "inherits": { - "version": "2.0.3", - "dev": true - }, "mime": { - "version": "1.4.1", - "dev": true + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" }, "ms": { - "version": "2.0.0", - "dev": true - }, - "on-finished": { - "version": "2.3.0", - "dev": true, - "requires": { - "ee-first": "1.1.1" - } - }, - "setprototypeof": { - "version": "1.1.0", - "dev": true - }, - "statuses": { - "version": "1.4.0", - "dev": true + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" } } }, @@ -33358,48 +33879,8 @@ "send": "0.19.0" }, "dependencies": { - "debug": { - "version": "2.6.9", - "requires": { - "ms": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.0.0" - } - } - }, "encodeurl": { "version": "2.0.0" - }, - "mime": { - "version": "1.6.0" - }, - "ms": { - "version": "2.1.3" - }, - "send": { - "version": "0.19.0", - "requires": { - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "mime": "1.6.0", - "ms": "2.1.3", - "on-finished": "2.4.1", - "range-parser": "~1.2.1", - "statuses": "2.0.1" - }, - "dependencies": { - "encodeurl": { - "version": "1.0.2" - } - } } } }, From 78a4b02e9c940ce1365f9f8db13756c72101590a Mon Sep 17 00:00:00 2001 From: tososhi Date: Wed, 26 Nov 2025 19:39:05 +0900 Subject: [PATCH 027/248] fluct Add support for floor price retrieval via getFloor() (#14142) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add instl support * falseの場合も明示的に送信するようにした * add floor price * add test * update version code * fix floor price functions --------- Co-authored-by: yosei-ito --- modules/fluctBidAdapter.js | 99 ++++++++++++++++++- test/spec/modules/fluctBidAdapter_spec.js | 110 ++++++++++++++++++++++ 2 files changed, 205 insertions(+), 4 deletions(-) diff --git a/modules/fluctBidAdapter.js b/modules/fluctBidAdapter.js index a500e06941c..e1be0488885 100644 --- a/modules/fluctBidAdapter.js +++ b/modules/fluctBidAdapter.js @@ -1,4 +1,4 @@ -import { _each, deepAccess, deepSetValue, isEmpty } from '../src/utils.js'; +import { _each, deepAccess, deepSetValue, isEmpty, isFn, isPlainObject } from '../src/utils.js'; import { config } from '../src/config.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; @@ -10,9 +10,83 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'; const BIDDER_CODE = 'fluct'; const END_POINT = 'https://hb.adingo.jp/prebid'; -const VERSION = '1.2'; +const VERSION = '1.3'; const NET_REVENUE = true; const TTL = 300; +const DEFAULT_CURRENCY = 'JPY'; + +/** + * Get bid floor price for a specific size + * @param {BidRequest} bid + * @param {Array} size - [width, height] + * @returns {{floor: number, currency: string}|null} floor price data + */ +function getBidFloorForSize(bid, size) { + if (!isFn(bid.getFloor)) { + return null; + } + + const floorInfo = bid.getFloor({ + currency: DEFAULT_CURRENCY, + mediaType: '*', + size: size + }); + + if (isPlainObject(floorInfo) && !isNaN(floorInfo.floor) && floorInfo.currency === DEFAULT_CURRENCY) { + return { + floor: floorInfo.floor, + currency: floorInfo.currency + }; + } + + return null; +} + +/** + * Get the highest bid floor price across all sizes + * @param {BidRequest} bid + * @returns {{floor: number, currency: string}|null} floor price data + */ +function getHighestBidFloor(bid) { + const sizes = bid.sizes || []; + let highestFloor = 0; + let floorCurrency = DEFAULT_CURRENCY; + + if (sizes.length > 0) { + sizes.forEach(size => { + const floorData = getBidFloorForSize(bid, size); + if (floorData && floorData.floor > highestFloor) { + highestFloor = floorData.floor; + floorCurrency = floorData.currency; + } + }); + + if (highestFloor > 0) { + return { + floor: highestFloor, + currency: floorCurrency + }; + } + } + + // Final fallback: use params.bidfloor if available + if (bid.params.bidfloor) { + // Check currency if specified - only JPY is supported + if (bid.params.currency && bid.params.currency !== DEFAULT_CURRENCY) { + return null; + } + const floorValue = parseFloat(bid.params.bidfloor); + if (isNaN(floorValue)) { + return null; + } + return { + floor: floorValue, + currency: DEFAULT_CURRENCY + }; + } + + return null; +} export const spec = { code: BIDDER_CODE, @@ -88,10 +162,20 @@ export const spec = { } data.sizes = []; _each(request.sizes, (size) => { - data.sizes.push({ + const sizeObj = { w: size[0], h: size[1] - }); + }; + + // Get floor price for this specific size + const floorData = getBidFloorForSize(request, size); + if (floorData) { + sizeObj.ext = { + floor: floorData.floor + }; + } + + data.sizes.push(sizeObj); }); data.params = request.params; @@ -103,6 +187,13 @@ export const spec = { data.instl = deepAccess(request, 'ortb2Imp.instl') === 1 || request.params.instl === 1 ? 1 : 0; + // Set top-level bidfloor to the highest floor across all sizes + const highestFloorData = getHighestBidFloor(request); + if (highestFloorData) { + data.bidfloor = highestFloorData.floor; + data.bidfloorcur = highestFloorData.currency; + } + const searchParams = new URLSearchParams({ dfpUnitCode: request.params.dfpUnitCode, tagId: request.params.tagId, diff --git a/test/spec/modules/fluctBidAdapter_spec.js b/test/spec/modules/fluctBidAdapter_spec.js index e96a41b5119..cdc99694d52 100644 --- a/test/spec/modules/fluctBidAdapter_spec.js +++ b/test/spec/modules/fluctBidAdapter_spec.js @@ -463,6 +463,116 @@ describe('fluctAdapter', function () { })), bidderRequest)[0]; expect(request.data.instl).to.eql(1); }); + + it('includes no data.bidfloor by default (without floor module)', function () { + const request = spec.buildRequests(bidRequests, bidderRequest)[0]; + expect(request.data.bidfloor).to.eql(undefined); + expect(request.data.bidfloorcur).to.eql(undefined); + }); + + it('includes data.bidfloor from params.bidfloor (without floor module)', function () { + const bidRequests2 = bidRequests.map( + (bidReq) => Object.assign({}, bidReq, { + params: { + ...bidReq.params, + bidfloor: 100, + } + }) + ); + const request = spec.buildRequests(bidRequests2, bidderRequest)[0]; + expect(request.data.bidfloor).to.eql(100); + expect(request.data.bidfloorcur).to.eql('JPY'); + }); + + it('includes data.bidfloor from getFloor', function () { + const bidRequests2 = bidRequests.map( + (bidReq) => Object.assign({}, bidReq, { + getFloor: () => ({ + currency: 'JPY', + floor: 200 + }) + }) + ); + const request = spec.buildRequests(bidRequests2, bidderRequest)[0]; + expect(request.data.bidfloor).to.eql(200); + expect(request.data.bidfloorcur).to.eql('JPY'); + }); + + it('prefers getFloor over params.bidfloor', function () { + const bidRequests2 = bidRequests.map( + (bidReq) => Object.assign({}, bidReq, { + params: { + ...bidReq.params, + bidfloor: 100, + }, + getFloor: () => ({ + currency: 'JPY', + floor: 200 + }) + }) + ); + const request = spec.buildRequests(bidRequests2, bidderRequest)[0]; + expect(request.data.bidfloor).to.eql(200); + expect(request.data.bidfloorcur).to.eql('JPY'); + }); + + it('does not include data.bidfloor if getFloor returns different currency', function () { + const bidRequests2 = bidRequests.map( + (bidReq) => Object.assign({}, bidReq, { + getFloor: () => ({ + currency: 'USD', + floor: 200 + }) + }) + ); + const request = spec.buildRequests(bidRequests2, bidderRequest)[0]; + expect(request.data.bidfloor).to.eql(undefined); + expect(request.data.bidfloorcur).to.eql(undefined); + }); + + it('does not include data.bidfloor if getFloor returns invalid floor', function () { + const bidRequests2 = bidRequests.map( + (bidReq) => Object.assign({}, bidReq, { + getFloor: () => ({ + currency: 'JPY', + floor: NaN + }) + }) + ); + const request = spec.buildRequests(bidRequests2, bidderRequest)[0]; + expect(request.data.bidfloor).to.eql(undefined); + expect(request.data.bidfloorcur).to.eql(undefined); + }); + + it('includes data.bidfloor from params.bidfloor with JPY currency', function () { + const bidRequests2 = bidRequests.map( + (bidReq) => Object.assign({}, bidReq, { + params: { + ...bidReq.params, + bidfloor: 100, + currency: 'JPY', + } + }) + ); + const request = spec.buildRequests(bidRequests2, bidderRequest)[0]; + expect(request.data.bidfloor).to.eql(100); + expect(request.data.bidfloorcur).to.eql('JPY'); + }); + + it('does not include data.bidfloor if params.currency is not JPY', function () { + const bidRequests2 = bidRequests.map( + (bidReq) => Object.assign({}, bidReq, { + params: { + ...bidReq.params, + bidfloor: 2, + currency: 'USD', + } + }) + ); + const request = spec.buildRequests(bidRequests2, bidderRequest)[0]; + expect(request.data.bidfloor).to.eql(undefined); + expect(request.data.bidfloorcur).to.eql(undefined); + }); }); describe('should interpretResponse', function() { From 76ffea483ba7d2142eb334472cf624251d9c1fbe Mon Sep 17 00:00:00 2001 From: pm-azhar-mulla <75726247+pm-azhar-mulla@users.noreply.github.com> Date: Thu, 27 Nov 2025 08:36:10 +0530 Subject: [PATCH 028/248] RTD Module: Fix spread operator preventing RTD changes from persisting during auction (#14214) * Removed spread operator * make test meaningful * Add more tests and adjust logic * lint --------- Co-authored-by: pm-azhar-mulla Co-authored-by: Demetrio Girardi --- libraries/objectGuard/objectGuard.js | 36 +++++++---- modules/rtdModule/index.ts | 29 +++++++-- test/spec/activities/objectGuard_spec.js | 54 +++++++++++----- test/spec/modules/realTimeDataModule_spec.js | 66 +++++++++++++++++--- 4 files changed, 145 insertions(+), 40 deletions(-) diff --git a/libraries/objectGuard/objectGuard.js b/libraries/objectGuard/objectGuard.js index f8d895be7cb..db13ea5f376 100644 --- a/libraries/objectGuard/objectGuard.js +++ b/libraries/objectGuard/objectGuard.js @@ -26,6 +26,10 @@ export function objectGuard(rules) { // build a tree representation of them, where the root is the object itself, // and each node's children are properties of the corresponding (nested) object. + function invalid() { + return new Error('incompatible redaction rules'); + } + rules.forEach(rule => { rule.paths.forEach(path => { let node = root; @@ -36,15 +40,22 @@ export function objectGuard(rules) { node.wpRules = node.wpRules ?? []; node.redactRules = node.redactRules ?? []; }); - (rule.wp ? node.wpRules : node.redactRules).push(rule); - if (rule.wp) { - // mark the whole path as write protected, so that write operations - // on parents do not need to walk down the tree - let parent = node; - while (parent && !parent.hasWP) { - parent.hasWP = true; - parent = parent.parent; + const tag = rule.wp ? 'hasWP' : 'hasRedact'; + const ruleset = rule.wp ? 'wpRules' : 'redactRules'; + // sanity check: do not allow rules of the same type on related paths, + // e.g. redact both 'user' and 'user.eids'; we don't need and this logic + // does not handle it + if (node[tag] && !node[ruleset]?.length) { + throw invalid(); + } + node[ruleset].push(rule); + let parent = node; + while (parent) { + parent[tag] = true; + if (parent !== node && parent[ruleset]?.length) { + throw invalid(); } + parent = parent.parent; } }); }); @@ -142,16 +153,17 @@ export function objectGuard(rules) { return mkGuard(val, tree, final, applies, cache) } else if (tree.children?.hasOwnProperty(prop)) { const {children, hasWP} = tree.children[prop]; - if ((children || hasWP) && val != null && typeof val === 'object') { - // some nested properties have rules, return a guard for the branch - return mkGuard(val, tree.children?.[prop] || tree, final || children == null, applies, cache); - } else if (isData(val)) { + if (isData(val)) { // if this property has redact rules, apply them const rule = getRedactRule(tree.children[prop]); if (rule && rule.check(applies)) { return rule.get(val); } } + if ((children || hasWP) && val != null && typeof val === 'object') { + // some nested properties have rules, return a guard for the branch + return mkGuard(val, tree.children?.[prop] || tree, final || children == null, applies, cache); + } } return val; }, diff --git a/modules/rtdModule/index.ts b/modules/rtdModule/index.ts index 73473b6d163..1b3bff0baf3 100644 --- a/modules/rtdModule/index.ts +++ b/modules/rtdModule/index.ts @@ -2,8 +2,8 @@ import {config} from '../../src/config.js'; import {getHook, module} from '../../src/hook.js'; import {logError, logInfo, logWarn, mergeDeep} from '../../src/utils.js'; import * as events from '../../src/events.js'; -import { EVENTS, JSON_MAPPING } from '../../src/constants.js'; -import adapterManager, {gdprDataHandler, uspDataHandler, gppDataHandler} from '../../src/adapterManager.js'; +import {EVENTS, JSON_MAPPING} from '../../src/constants.js'; +import adapterManager, {gdprDataHandler, gppDataHandler, uspDataHandler} from '../../src/adapterManager.js'; import {timedAuctionHook} from '../../src/utils/perfMetrics.js'; import {GDPR_GVLIDS} from '../../src/consentHandler.js'; import {MODULE_TYPE_RTD} from '../../src/activities/modules.js'; @@ -163,10 +163,31 @@ export const setBidRequestsData = timedAuctionHook('rtd', function setBidRequest const timeout = shouldDelayAuction ? _moduleConfig.auctionDelay : 0; waitTimeout = setTimeout(exitHook, timeout); + const fpdKey = 'ortb2Fragments'; relevantSubModules.forEach(sm => { - const fpdGuard = guardOrtb2Fragments(reqBidsConfigObj.ortb2Fragments || {}, activityParams(MODULE_TYPE_RTD, sm.name)); - sm.getBidRequestData({...reqBidsConfigObj, ortb2Fragments: fpdGuard}, onGetBidRequestDataCallback.bind(sm), sm.config, _userConsent, timeout); + const fpdGuard = guardOrtb2Fragments(reqBidsConfigObj[fpdKey] ?? {}, activityParams(MODULE_TYPE_RTD, sm.name)); + // submodules need to be able to modify the request object, but we need + // to protect the FPD portion of it. Use a proxy that passes through everything + // except 'ortb2Fragments'. + const request = new Proxy(reqBidsConfigObj, { + get(target, prop, receiver) { + if (prop === fpdKey) return fpdGuard; + return Reflect.get(target, prop, receiver); + }, + set(target, prop, value, receiver) { + if (prop === fpdKey) { + mergeDeep(fpdGuard, value); + return true; + } + return Reflect.set(target, prop, value, receiver); + }, + deleteProperty(target, prop) { + if (prop === fpdKey) return true; + return Reflect.deleteProperty(target, prop) + } + }) + sm.getBidRequestData(request, onGetBidRequestDataCallback.bind(sm), sm.config, _userConsent, timeout); }); function onGetBidRequestDataCallback() { diff --git a/test/spec/activities/objectGuard_spec.js b/test/spec/activities/objectGuard_spec.js index 5a86160c1f3..f71424a60f5 100644 --- a/test/spec/activities/objectGuard_spec.js +++ b/test/spec/activities/objectGuard_spec.js @@ -13,6 +13,13 @@ describe('objectGuard', () => { get(val) { return `repl${val}` }, } }) + + it('should reject conflicting rules', () => { + const crule = {...rule, paths: ['outer']}; + expect(() => objectGuard([rule, crule])).to.throw(); + expect(() => objectGuard([crule, rule])).to.throw(); + }); + it('should preserve object identity', () => { const guard = objectGuard([rule])({outer: {inner: {foo: 'bar'}}}); expect(guard.outer).to.equal(guard.outer); @@ -102,6 +109,12 @@ describe('objectGuard', () => { }); }); + it('should reject conflicting rules', () => { + const crule = {...rule, paths: ['outer']}; + expect(() => objectGuard([rule, crule])).to.throw(); + expect(() => objectGuard([crule, rule])).to.throw(); + }); + it('should preserve object identity', () => { const guard = objectGuard([rule])({outer: {inner: {foo: 'bar'}}}); expect(guard.outer).to.equal(guard.outer); @@ -258,22 +271,31 @@ describe('objectGuard', () => { expect(obj.foo).to.eql('21bar'); }); - it('can apply both redact and write protect', () => { - const obj = objectGuard([ - redactRule({ - paths: ['foo'], - applies: () => true, - get(val) { - return 'redact' + val; - }, - }), - writeProtectRule({ - paths: ['foo'], - applies: () => true, + describe('when a property has both redact and write protect rules', () => { + let rules; + beforeEach(() => { + rules = [ + redactRule({ + paths: ['foo'], + applies: () => true, + }), + writeProtectRule({ + paths: ['foo'], + applies: () => true, + }) + ]; + }) + Object.entries({ + 'simple value': 'val', + 'object value': {inner: 'val'} + }).forEach(([t, val]) => { + it(`can apply them both (on ${t})`, () => { + const obj = objectGuard(rules)({foo: val}); + expect(obj.foo).to.not.exist; + obj.foo = {other: 'val'}; + expect(obj.foo).to.not.exist; }) - ])({foo: 'bar'}); - obj.foo = 'baz'; - expect(obj.foo).to.eql('redactbar'); - }); + }) + }) }) }); diff --git a/test/spec/modules/realTimeDataModule_spec.js b/test/spec/modules/realTimeDataModule_spec.js index 883e8bcc3c7..bad591eb133 100644 --- a/test/spec/modules/realTimeDataModule_spec.js +++ b/test/spec/modules/realTimeDataModule_spec.js @@ -7,13 +7,14 @@ import 'src/prebid.js'; import {attachRealTimeDataProvider, onDataDeletionRequest} from 'modules/rtdModule/index.js'; import {GDPR_GVLIDS} from '../../../src/consentHandler.js'; import {MODULE_TYPE_RTD} from '../../../src/activities/modules.js'; - -const getBidRequestDataSpy = sinon.spy(); +import {registerActivityControl} from '../../../src/activities/rules.js'; +import {ACTIVITY_ENRICH_UFPD, ACTIVITY_TRANSMIT_EIDS} from '../../../src/activities/activities.js'; describe('Real time module', function () { let eventHandlers; let sandbox; let validSM, validSMWait, invalidSM, failureSM, nonConfSM, conf; + let getBidRequestDataStub; function mockEmitEvent(event, ...args) { (eventHandlers[event] || []).forEach((h) => h(...args)); @@ -22,6 +23,8 @@ describe('Real time module', function () { before(() => { eventHandlers = {}; sandbox = sinon.createSandbox(); + getBidRequestDataStub = sinon.stub(); + sandbox.stub(events, 'on').callsFake((event, handler) => { if (!eventHandlers.hasOwnProperty(event)) { eventHandlers[event] = []; @@ -41,7 +44,7 @@ describe('Real time module', function () { getTargetingData: (adUnitsCodes) => { return {'ad2': {'key': 'validSM'}} }, - getBidRequestData: getBidRequestDataSpy + getBidRequestData: getBidRequestDataStub }; validSMWait = { @@ -50,7 +53,7 @@ describe('Real time module', function () { getTargetingData: (adUnitsCodes) => { return {'ad1': {'key': 'validSMWait'}} }, - getBidRequestData: getBidRequestDataSpy + getBidRequestData: getBidRequestDataStub }; invalidSM = { @@ -112,18 +115,27 @@ describe('Real time module', function () { }) describe('', () => { - let PROVIDERS, _detachers; + let PROVIDERS, _detachers, rules; beforeEach(function () { PROVIDERS = [validSM, invalidSM, failureSM, nonConfSM, validSMWait]; _detachers = PROVIDERS.map(rtdModule.attachRealTimeDataProvider); rtdModule.init(config); config.setConfig(conf); + rules = [ + registerActivityControl(ACTIVITY_TRANSMIT_EIDS, 'test', (params) => { + return {allow: false}; + }), + registerActivityControl(ACTIVITY_ENRICH_UFPD, 'test', (params) => { + return {allow: false}; + }) + ] }); afterEach(function () { _detachers.forEach((f) => f()); config.resetConfig(); + rules.forEach(rule => rule()); }); it('should use only valid modules', function () { @@ -131,11 +143,49 @@ describe('Real time module', function () { }); it('should be able to modify bid request', function (done) { + const request = {bidRequest: {}}; + getBidRequestDataStub.callsFake((req) => { + req.foo = 'bar'; + }); + rtdModule.setBidRequestsData(() => { + assert(getBidRequestDataStub.calledTwice); + assert(getBidRequestDataStub.calledWith(sinon.match({bidRequest: {}}))); + expect(request.foo).to.eql('bar'); + done(); + }, request) + }); + + it('should apply guard to modules, but not affect ortb2Fragments otherwise', (done) => { + const ortb2Fragments = { + global: { + user: { + eids: ['id'] + } + }, + bidder: { + bidderA: { + user: { + eids: ['bid'] + } + } + } + }; + const request = {ortb2Fragments}; + getBidRequestDataStub.callsFake((req) => { + expect(req.ortb2Fragments.global.user.eids).to.not.exist; + expect(req.ortb2Fragments.bidder.bidderA.eids).to.not.exist; + req.ortb2Fragments.global.user.yob = 123; + req.ortb2Fragments.bidder.bidderB = { + user: { + yob: 123 + } + }; + }); rtdModule.setBidRequestsData(() => { - assert(getBidRequestDataSpy.calledTwice); - assert(getBidRequestDataSpy.calledWith(sinon.match({bidRequest: {}}))); + expect(request.ortb2Fragments.global.user.eids).to.eql(['id']); + expect(request.ortb2Fragments.bidder.bidderB?.user).to.not.exist; done(); - }, {bidRequest: {}}) + }, request); }); it('sould place targeting on adUnits', function (done) { From 55d6e714693dc6e82d1e8fe749181c8aac27571c Mon Sep 17 00:00:00 2001 From: Filipe Neves Date: Thu, 27 Nov 2025 04:07:53 +0100 Subject: [PATCH 029/248] Impactify Bid Adapter: Removing unused logger on onBidderError. (#14215) * Updated bid adapter to log errors * Remove onBidderError function and LOGGER_JS_URI Removed unused onBidderError function and LOGGER_JS_URI constant. * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Abdou <40374175+disparate1@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- modules/impactifyBidAdapter.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/impactifyBidAdapter.js b/modules/impactifyBidAdapter.js index 9819a1587e9..49ffe99245d 100644 --- a/modules/impactifyBidAdapter.js +++ b/modules/impactifyBidAdapter.js @@ -22,7 +22,6 @@ const DEFAULT_VIDEO_WIDTH = 640; const DEFAULT_VIDEO_HEIGHT = 360; const ORIGIN = 'https://sonic.impactify.media'; const LOGGER_URI = 'https://logger.impactify.media'; -const LOGGER_JS_URI = 'https://log.impactify.it' const AUCTION_URI = '/bidder'; const COOKIE_SYNC_URI = '/static/cookie_sync.html'; const GVL_ID = 606; @@ -387,18 +386,5 @@ export const spec = { return true; }, - - /** - * Register bidder specific code, which will execute if the bid request failed - * @param {*} param0 - */ - onBidderError: function ({ error, bidderRequest }) { - ajax(`${LOGGER_JS_URI}/logger`, null, JSON.stringify({ error, bidderRequest }), { - method: 'POST', - contentType: 'application/json' - }); - - return true; - }, }; registerBidder(spec); From 65ea7c7b18df89dba1ff4401105c04d81afd7021 Mon Sep 17 00:00:00 2001 From: andy <49372179+arezitopedia@users.noreply.github.com> Date: Fri, 28 Nov 2025 02:15:07 -0300 Subject: [PATCH 030/248] Add oftmediaRtdProvider to the RTD module list (#14225) Co-authored-by: Monis Qadri --- modules/.submodules.json | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/.submodules.json b/modules/.submodules.json index 791f7ed822b..c6274fdcbfd 100644 --- a/modules/.submodules.json +++ b/modules/.submodules.json @@ -111,6 +111,7 @@ "mobianRtdProvider", "neuwoRtdProvider", "nodalsAiRtdProvider", + "oftmediaRtdProvider", "oneKeyRtdProvider", "optableRtdProvider", "optimeraRtdProvider", From 43a35832325c57f8fed667210717a6f19a4954fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Sok=C3=B3=C5=82?= <88041828+krzysztofequativ@users.noreply.github.com> Date: Mon, 1 Dec 2025 21:11:58 +0100 Subject: [PATCH 031/248] Sharethrough Bid Adapter: drop supporting cdep (#14199) * drop cdep support * revert change in smartadserver adapter --- modules/sharethroughBidAdapter.js | 4 -- .../modules/sharethroughBidAdapter_spec.js | 37 ------------------- 2 files changed, 41 deletions(-) diff --git a/modules/sharethroughBidAdapter.js b/modules/sharethroughBidAdapter.js index 4d84c21a99e..a11820b5897 100644 --- a/modules/sharethroughBidAdapter.js +++ b/modules/sharethroughBidAdapter.js @@ -116,10 +116,6 @@ export const sharethroughAdapterSpec = { } } - if (bidderRequest.ortb2?.device?.ext?.cdep) { - req.device.ext['cdep'] = bidderRequest.ortb2.device.ext.cdep; - } - // if present, merge device object from ortb2 into `req.device` if (bidderRequest?.ortb2?.device) { mergeDeep(req.device, bidderRequest.ortb2.device); diff --git a/test/spec/modules/sharethroughBidAdapter_spec.js b/test/spec/modules/sharethroughBidAdapter_spec.js index dfe9c85e3a3..56f238ff1ba 100644 --- a/test/spec/modules/sharethroughBidAdapter_spec.js +++ b/test/spec/modules/sharethroughBidAdapter_spec.js @@ -895,43 +895,6 @@ describe('sharethrough adapter spec', function () { }); }); - describe('cookie deprecation', () => { - it('should not add cdep if we do not get it in an impression request', () => { - const builtRequests = spec.buildRequests(bidRequests, { - auctionId: 'new-auction-id', - ortb2: { - device: { - ext: { - propThatIsNotCdep: 'value-we-dont-care-about', - }, - }, - }, - }); - const noCdep = builtRequests.every((builtRequest) => { - const ourCdepValue = builtRequest.data.device?.ext?.cdep; - return ourCdepValue === undefined; - }); - expect(noCdep).to.be.true; - }); - - it('should add cdep if we DO get it in an impression request', () => { - const builtRequests = spec.buildRequests(bidRequests, { - auctionId: 'new-auction-id', - ortb2: { - device: { - ext: { - cdep: 'cdep-value', - }, - }, - }, - }); - const cdepPresent = builtRequests.every((builtRequest) => { - return builtRequest.data.device.ext.cdep === 'cdep-value'; - }); - expect(cdepPresent).to.be.true; - }); - }); - describe('first party data', () => { const firstPartyData = { site: { From 97c37b6d5000d58c9bf3f163d393f4603677c89a Mon Sep 17 00:00:00 2001 From: Nitin Shirsat <107102698+pm-nitin-shirsat@users.noreply.github.com> Date: Tue, 2 Dec 2025 01:42:57 +0530 Subject: [PATCH 032/248] Handle a case when getUserIds is not present (#14222) --- modules/pubmaticAnalyticsAdapter.js | 3 +- .../modules/pubmaticAnalyticsAdapter_spec.js | 41 +++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/modules/pubmaticAnalyticsAdapter.js b/modules/pubmaticAnalyticsAdapter.js index 38e27e8b7b9..19b1c11ffe9 100755 --- a/modules/pubmaticAnalyticsAdapter.js +++ b/modules/pubmaticAnalyticsAdapter.js @@ -1,4 +1,4 @@ -import { isArray, logError, logWarn, pick } from '../src/utils.js'; +import { isArray, logError, logWarn, pick, isFn } from '../src/utils.js'; import adapter from '../libraries/analyticsAdapter/AnalyticsAdapter.js'; import adapterManager from '../src/adapterManager.js'; import { BID_STATUS, STATUS, REJECTION_REASON } from '../src/constants.js'; @@ -233,6 +233,7 @@ function getFeatureLevelDetails(auctionCache) { function getListOfIdentityPartners() { const namespace = getGlobal(); + if (!isFn(namespace.getUserIds)) return; const publisherProvidedEids = namespace.getConfig("ortb2.user.eids") || []; const availableUserIds = namespace.getUserIds() || {}; const identityModules = namespace.getConfig('userSync')?.userIds || []; diff --git a/test/spec/modules/pubmaticAnalyticsAdapter_spec.js b/test/spec/modules/pubmaticAnalyticsAdapter_spec.js index b890a9d575d..c0c3367881d 100755 --- a/test/spec/modules/pubmaticAnalyticsAdapter_spec.js +++ b/test/spec/modules/pubmaticAnalyticsAdapter_spec.js @@ -686,6 +686,47 @@ describe('pubmatic analytics adapter', function () { expect(trackerData.rd.ctr).to.equal('US'); }); + it('Logger: does not include identity partners when getUserIds is not a function', function () { + this.timeout(5000); + + // Make sure getUserIds is NOT a function so that getListOfIdentityPartners returns early + const namespace = getGlobal(); + const originalGetUserIds = namespace.getUserIds; + namespace.getUserIds = null; + + sandbox.stub(getGlobal(), 'getHighestCpmBids').callsFake(() => { + return [MOCK.BID_RESPONSE[0], MOCK.BID_RESPONSE[1]]; + }); + + config.setConfig({ + testGroupId: 15 + }); + + // Standard event flow to trigger the logger + events.emit(AUCTION_INIT, MOCK.AUCTION_INIT); + events.emit(BID_REQUESTED, MOCK.BID_REQUESTED); + events.emit(BID_RESPONSE, MOCK.BID_RESPONSE[0]); + events.emit(BID_RESPONSE, MOCK.BID_RESPONSE[1]); + events.emit(BIDDER_DONE, MOCK.BIDDER_DONE); + events.emit(AUCTION_END, MOCK.AUCTION_END); + events.emit(SET_TARGETING, MOCK.SET_TARGETING); + + clock.tick(2000 + 1000); // wait for SEND_TIMEOUT + + expect(requests.length).to.equal(1); // only the logger should fire + const request = requests[0]; + expect(request.url).to.equal('https://t.pubmatic.com/wl?v=1&psrc=web'); + + const data = getLoggerJsonFromRequest(request.requestBody); + + // fd should exist, but bdv (identity partners) should NOT be present + expect(data).to.have.property('fd'); + expect(data.fd.bdv).to.be.undefined; + + // restore original getUserIds to avoid side effects on other tests + namespace.getUserIds = originalGetUserIds; + }); + it('Logger: log floor fields when prebids floor shows setConfig in location property', function () { const BID_REQUESTED_COPY = utils.deepClone(MOCK.BID_REQUESTED); BID_REQUESTED_COPY['bids'][1]['floorData']['location'] = 'fetch'; From 91627a67fc8e0b92e24ffb071d4ecc2d8a6101a9 Mon Sep 17 00:00:00 2001 From: abazylewicz-id5 <106807984+abazylewicz-id5@users.noreply.github.com> Date: Mon, 1 Dec 2025 21:13:29 +0100 Subject: [PATCH 033/248] ID5 Analytics module - support gzip compression of large events (#14129) * ID5 Analytics module - support gzip compression of large events Some of the events we are collecting are really large, and it takes a lot of time to send them over the network uncompressed. By compressing them we can save some bandwidth and also cut the receiving time. * ID5 Analytics module - add check for gzip supported in tests --- modules/id5AnalyticsAdapter.js | 19 ++++++- test/spec/modules/id5AnalyticsAdapter_spec.js | 56 +++++++++++++++++-- 2 files changed, 66 insertions(+), 9 deletions(-) diff --git a/modules/id5AnalyticsAdapter.js b/modules/id5AnalyticsAdapter.js index f1db7890871..dca244bb317 100644 --- a/modules/id5AnalyticsAdapter.js +++ b/modules/id5AnalyticsAdapter.js @@ -2,7 +2,7 @@ import buildAdapter from '../libraries/analyticsAdapter/AnalyticsAdapter.js'; import {EVENTS} from '../src/constants.js'; import adapterManager from '../src/adapterManager.js'; import {ajax} from '../src/ajax.js'; -import {logError, logInfo} from '../src/utils.js'; +import {compressDataWithGZip, isGzipCompressionSupported, logError, logInfo} from '../src/utils.js'; import * as events from '../src/events.js'; const { @@ -12,6 +12,7 @@ const { } = EVENTS const GVLID = 131; +const COMPRESSION_THRESHOLD = 2048; const STANDARD_EVENTS_TO_TRACK = [ AUCTION_END, @@ -44,8 +45,20 @@ const id5Analytics = Object.assign(buildAdapter({analyticsType: 'endpoint'}), { }, sendEvent: (eventToSend) => { - // By giving some content this will be automatically a POST - ajax(id5Analytics.options.ingestUrl, null, JSON.stringify(eventToSend)); + const serializedEvent = JSON.stringify(eventToSend); + if (!id5Analytics.options.compressionDisabled && isGzipCompressionSupported() && serializedEvent.length > COMPRESSION_THRESHOLD) { + compressDataWithGZip(serializedEvent).then(compressedData => { + ajax(id5Analytics.options.ingestUrl, null, compressedData, { + contentType: 'application/json', + customHeaders: { + 'Content-Encoding': 'gzip' + } + }); + }) + } else { + // By giving some content this will be automatically a POST + ajax(id5Analytics.options.ingestUrl, null, serializedEvent); + } }, makeEvent: (event, payload) => { diff --git a/test/spec/modules/id5AnalyticsAdapter_spec.js b/test/spec/modules/id5AnalyticsAdapter_spec.js index e213494ce78..1e1df900f81 100644 --- a/test/spec/modules/id5AnalyticsAdapter_spec.js +++ b/test/spec/modules/id5AnalyticsAdapter_spec.js @@ -1,12 +1,13 @@ import adapterManager from '../../../src/adapterManager.js'; import id5AnalyticsAdapter from '../../../modules/id5AnalyticsAdapter.js'; -import { expect } from 'chai'; +import {expect} from 'chai'; import * as events from '../../../src/events.js'; -import { EVENTS } from '../../../src/constants.js'; -import { generateUUID } from '../../../src/utils.js'; +import {EVENTS} from '../../../src/constants.js'; +import {generateUUID} from '../../../src/utils.js'; import {server} from '../../mocks/xhr.js'; import {getGlobal} from '../../../src/prebidGlobal.js'; import {enrichEidsRule} from "../../../modules/tcfControl.ts"; +import * as utils from '../../../src/utils.js'; const CONFIG_URL = 'https://api.id5-sync.com/analytics/12349/pbjs'; const INGEST_URL = 'https://test.me/ingest'; @@ -20,6 +21,7 @@ describe('ID5 analytics adapter', () => { config = { options: { partnerId: 12349, + compressionDisabled: true } }; }); @@ -129,6 +131,32 @@ describe('ID5 analytics adapter', () => { expect(body2.payload).to.eql(auction); }); + it('compresses large events with gzip when enabled', async function() { + // turn ON compression + config.options.compressionDisabled = false; + + const longCode = 'x'.repeat(2048); + auction.adUnits[0].code = longCode; + auction.adUnits[0].adUnitCodes = [longCode]; + + id5AnalyticsAdapter.enableAnalytics(config); + server.respond(); + events.emit(EVENTS.AUCTION_END, auction); + server.respond(); + + // Wait as gzip stream is async, we need to wait until it is processed. 3 requests: config, tcf2Enforcement, auctionEnd + await waitForRequests(3); + const eventReq = server.requests[2]; + if (utils.isGzipCompressionSupported()) { + expect(eventReq.requestHeaders['Content-Encoding']).to.equal('gzip'); + expect(eventReq.requestBody).to.be.instanceof(Uint8Array); + } else { // compression is not supported in some test browsers, so we expect the event to be uncompressed. + expect(eventReq.requestHeaders['Content-Encoding']).to.be.undefined; + const body = JSON.parse(eventReq.requestBody); + expect(body.event).to.equal(EVENTS.AUCTION_END); + } + }); + it('does not repeat already sent events on new events', () => { id5AnalyticsAdapter.enableAnalytics(config); server.respond(); @@ -160,7 +188,7 @@ describe('ID5 analytics adapter', () => { 'criteoId': '_h_y_19IMUhMZG1TOTRReHFNc29TekJ3TzQ3elhnRU81ayUyQjhiRkdJJTJGaTFXJTJCdDRnVmN4S0FETUhQbXdmQWg0M3g1NWtGbGolMkZXalclMkJvWjJDOXFDSk1HU3ZKaVElM0QlM0Q', 'id5id': { 'uid': 'ID5-ZHMOQ99ulpk687Fd9xVwzxMsYtkQIJnI-qm3iWdtww!ID5*FSycZQy7v7zWXiKbEpPEWoB3_UiWdPGzh554ncYDvOkAAA3rajiR0yNrFAU7oDTu', - 'ext': { 'linkType': 1 } + 'ext': {'linkType': 1} }, 'tdid': '888a6042-8f99-483b-aa26-23c44bc9166b' }, @@ -175,7 +203,7 @@ describe('ID5 analytics adapter', () => { 'uids': [{ 'id': 'ID5-ZHMOQ99ulpk687Fd9xVwzxMsYtkQIJnI-qm3iWdtww!ID5*FSycZQy7v7zWXiKbEpPEWoB3_UiWdPGzh554ncYDvOkAAA3rajiR0yNrFAU7oDTu', 'atype': 1, - 'ext': { 'linkType': 1 } + 'ext': {'linkType': 1} }] }] }]; @@ -489,7 +517,7 @@ describe('ID5 analytics adapter', () => { 'userId': { 'id5id': { 'uid': 'ID5-ZHMOQ99ulpk687Fd9xVwzxMsYtkQIJnI-qm3iWdtww!ID5*FSycZQy7v7zWXiKbEpPEWoB3_UiWdPGzh554ncYDvOkAAA3rajiR0yNrFAU7oDTu', - 'ext': { 'linkType': 1 } + 'ext': {'linkType': 1} } } }]; @@ -511,5 +539,21 @@ describe('ID5 analytics adapter', () => { expect(body.payload.bidsReceived[0].meta).to.equal(undefined); // new rule expect(body.payload.adUnits[0].bids[0].userId.id5id.uid).to.equal(auction.adUnits[0].bids[0].userId.id5id.uid); // old, overridden rule }); + + // helper to wait until server has received at least `expected` requests + async function waitForRequests(expected = 3, timeout = 2000, interval = 10) { + return new Promise((resolve, reject) => { + const start = Date.now(); + const timer = setInterval(() => { + if (server.requests.length >= expected) { + clearInterval(timer); + resolve(); + } else if (Date.now() - start > timeout) { + clearInterval(timer); + reject(new Error('Timed out waiting for requests: expected ' + expected)); + } + }, interval); + }); + } }); }); From 32bc0c6a8e4e083a9a82bef86f277a0ddd55477d Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 1 Dec 2025 15:13:46 -0500 Subject: [PATCH 034/248] Refactor native asset handling for datablocks and mediaforce (#14186) --- libraries/nativeAssetsUtils.js | 153 ++++++++++++++++++++++++++++++ modules/datablocksBidAdapter.js | 160 +------------------------------- modules/mediaforceBidAdapter.js | 159 +------------------------------ 3 files changed, 161 insertions(+), 311 deletions(-) create mode 100644 libraries/nativeAssetsUtils.js diff --git a/libraries/nativeAssetsUtils.js b/libraries/nativeAssetsUtils.js new file mode 100644 index 00000000000..9a59716cc68 --- /dev/null +++ b/libraries/nativeAssetsUtils.js @@ -0,0 +1,153 @@ +import { isEmpty } from '../src/utils.js'; + +export const NATIVE_PARAMS = { + title: { + id: 1, + name: 'title' + }, + icon: { + id: 2, + type: 1, + name: 'img' + }, + image: { + id: 3, + type: 3, + name: 'img' + }, + body: { + id: 4, + name: 'data', + type: 2 + }, + sponsoredBy: { + id: 5, + name: 'data', + type: 1 + }, + cta: { + id: 6, + type: 12, + name: 'data' + }, + body2: { + id: 7, + name: 'data', + type: 10 + }, + rating: { + id: 8, + name: 'data', + type: 3 + }, + likes: { + id: 9, + name: 'data', + type: 4 + }, + downloads: { + id: 10, + name: 'data', + type: 5 + }, + displayUrl: { + id: 11, + name: 'data', + type: 11 + }, + price: { + id: 12, + name: 'data', + type: 6 + }, + salePrice: { + id: 13, + name: 'data', + type: 7 + }, + address: { + id: 14, + name: 'data', + type: 9 + }, + phone: { + id: 15, + name: 'data', + type: 8 + } +}; + +const NATIVE_ID_MAP = Object.entries(NATIVE_PARAMS).reduce((result, [key, asset]) => { + result[asset.id] = key; + return result; +}, {}); + +export function buildNativeRequest(nativeParams) { + const assets = []; + if (nativeParams) { + Object.keys(nativeParams).forEach((key) => { + if (NATIVE_PARAMS[key]) { + const {name, type, id} = NATIVE_PARAMS[key]; + const assetObj = type ? {type} : {}; + let {len, sizes, required, aspect_ratios: aRatios} = nativeParams[key]; + if (len) { + assetObj.len = len; + } + if (aRatios && aRatios[0]) { + aRatios = aRatios[0]; + const wmin = aRatios.min_width || 0; + const hmin = aRatios.ratio_height * wmin / aRatios.ratio_width | 0; + assetObj.wmin = wmin; + assetObj.hmin = hmin; + } + if (sizes && sizes.length) { + sizes = [].concat(...sizes); + assetObj.w = sizes[0]; + assetObj.h = sizes[1]; + } + const asset = {required: required ? 1 : 0, id}; + asset[name] = assetObj; + assets.push(asset); + } + }); + } + return { + ver: '1.2', + request: { + assets: assets, + context: 1, + plcmttype: 1, + ver: '1.2' + } + }; +} + +export function parseNativeResponse(native) { + const {assets, link, imptrackers, jstracker} = native; + const result = { + clickUrl: link.url, + clickTrackers: link.clicktrackers || [], + impressionTrackers: imptrackers || [], + javascriptTrackers: jstracker ? [jstracker] : [] + }; + + (assets || []).forEach((asset) => { + const {id, img, data, title} = asset; + const key = NATIVE_ID_MAP[id]; + if (key) { + if (!isEmpty(title)) { + result.title = title.text; + } else if (!isEmpty(img)) { + result[key] = { + url: img.url, + height: img.h, + width: img.w + }; + } else if (!isEmpty(data)) { + result[key] = data.value; + } + } + }); + + return result; +} diff --git a/modules/datablocksBidAdapter.js b/modules/datablocksBidAdapter.js index bfb26ac0bc9..b37ceab6631 100644 --- a/modules/datablocksBidAdapter.js +++ b/modules/datablocksBidAdapter.js @@ -1,4 +1,4 @@ -import {deepAccess, getWinDimensions, getWindowTop, isEmpty, isGptPubadsDefined} from '../src/utils.js'; +import {deepAccess, getWinDimensions, getWindowTop, isGptPubadsDefined} from '../src/utils.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; import {config} from '../src/config.js'; import {BANNER, NATIVE} from '../src/mediaTypes.js'; @@ -7,91 +7,10 @@ import {ajax} from '../src/ajax.js'; import {convertOrtbRequestToProprietaryNative} from '../src/native.js'; import {getAdUnitSizes} from '../libraries/sizeUtils/sizeUtils.js'; import {isWebdriverEnabled} from '../libraries/webdriver/webdriver.js'; +import { buildNativeRequest, parseNativeResponse } from '../libraries/nativeAssetsUtils.js'; export const storage = getStorageManager({bidderCode: 'datablocks'}); -const NATIVE_ID_MAP = {}; -const NATIVE_PARAMS = { - title: { - id: 1, - name: 'title' - }, - icon: { - id: 2, - type: 1, - name: 'img' - }, - image: { - id: 3, - type: 3, - name: 'img' - }, - body: { - id: 4, - name: 'data', - type: 2 - }, - sponsoredBy: { - id: 5, - name: 'data', - type: 1 - }, - cta: { - id: 6, - type: 12, - name: 'data' - }, - body2: { - id: 7, - name: 'data', - type: 10 - }, - rating: { - id: 8, - name: 'data', - type: 3 - }, - likes: { - id: 9, - name: 'data', - type: 4 - }, - downloads: { - id: 10, - name: 'data', - type: 5 - }, - displayUrl: { - id: 11, - name: 'data', - type: 11 - }, - price: { - id: 12, - name: 'data', - type: 6 - }, - salePrice: { - id: 13, - name: 'data', - type: 7 - }, - address: { - id: 14, - name: 'data', - type: 9 - }, - phone: { - id: 15, - name: 'data', - type: 8 - } -}; - -Object.keys(NATIVE_PARAMS).forEach((key) => { - NATIVE_ID_MAP[NATIVE_PARAMS[key].id] = key; -}); - // DEFINE THE PREBID BIDDER SPEC export const spec = { supportedMediaTypes: [BANNER, NATIVE], @@ -266,46 +185,6 @@ export const spec = { return []; } - // CONVERT PREBID NATIVE REQUEST OBJ INTO RTB OBJ - function createNativeRequest(bid) { - const assets = []; - if (bid.nativeParams) { - Object.keys(bid.nativeParams).forEach((key) => { - if (NATIVE_PARAMS[key]) { - const {name, type, id} = NATIVE_PARAMS[key]; - const assetObj = type ? {type} : {}; - let {len, sizes, required, aspect_ratios: aRatios} = bid.nativeParams[key]; - if (len) { - assetObj.len = len; - } - if (aRatios && aRatios[0]) { - aRatios = aRatios[0]; - const wmin = aRatios.min_width || 0; - const hmin = aRatios.ratio_height * wmin / aRatios.ratio_width | 0; - assetObj.wmin = wmin; - assetObj.hmin = hmin; - } - if (sizes && sizes.length) { - sizes = [].concat(...sizes); - assetObj.w = sizes[0]; - assetObj.h = sizes[1]; - } - const asset = {required: required ? 1 : 0, id}; - asset[name] = assetObj; - assets.push(asset); - } - }); - } - return { - ver: '1.2', - request: { - assets: assets, - context: 1, - plcmttype: 1, - ver: '1.2' - } - } - } const imps = []; // ITERATE THE VALID REQUESTS AND GENERATE IMP OBJECT validRequests.forEach(bidRequest => { @@ -343,7 +222,7 @@ export const spec = { } } else if (deepAccess(bidRequest, `mediaTypes.native`)) { // ADD TO THE LIST OF IMP REQUESTS - imp.native = createNativeRequest(bidRequest); + imp.native = buildNativeRequest(bidRequest.nativeParams); imps.push(imp); } }); @@ -517,37 +396,6 @@ export const spec = { // PARSE THE RTB RESPONSE AND RETURN FINAL RESULTS interpretResponse: function(rtbResponse, bidRequest) { - // CONVERT NATIVE RTB RESPONSE INTO PREBID RESPONSE - function parseNative(native) { - const {assets, link, imptrackers, jstracker} = native; - const result = { - clickUrl: link.url, - clickTrackers: link.clicktrackers || [], - impressionTrackers: imptrackers || [], - javascriptTrackers: jstracker ? [jstracker] : [] - }; - - (assets || []).forEach((asset) => { - const {id, img, data, title} = asset; - const key = NATIVE_ID_MAP[id]; - if (key) { - if (!isEmpty(title)) { - result.title = title.text - } else if (!isEmpty(img)) { - result[key] = { - url: img.url, - height: img.h, - width: img.w - } - } else if (!isEmpty(data)) { - result[key] = data.value; - } - } - }); - - return result; - } - const bids = []; const resBids = deepAccess(rtbResponse, 'body.seatbid') || []; resBids.forEach(bid => { @@ -561,7 +409,7 @@ export const spec = { case 'native': const nativeResult = JSON.parse(bid.adm); - bids.push(Object.assign({}, resultItem, {mediaType: NATIVE, native: parseNative(nativeResult.native)})); + bids.push(Object.assign({}, resultItem, {mediaType: NATIVE, native: parseNativeResponse(nativeResult.native)})); break; default: diff --git a/modules/mediaforceBidAdapter.js b/modules/mediaforceBidAdapter.js index 3d7598e1ca9..a1d333ab0af 100644 --- a/modules/mediaforceBidAdapter.js +++ b/modules/mediaforceBidAdapter.js @@ -1,8 +1,9 @@ import {getDNT} from '../libraries/dnt/index.js'; -import { deepAccess, isStr, replaceAuctionPrice, triggerPixel, parseGPTSingleSizeArrayToRtbSize, isEmpty } from '../src/utils.js'; +import { deepAccess, isStr, replaceAuctionPrice, triggerPixel, parseGPTSingleSizeArrayToRtbSize } from '../src/utils.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; import {BANNER, NATIVE, VIDEO} from '../src/mediaTypes.js'; import { convertOrtbRequestToProprietaryNative } from '../src/native.js'; +import { buildNativeRequest, parseNativeResponse } from '../libraries/nativeAssetsUtils.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -27,88 +28,6 @@ const BIDDER_CODE = 'mediaforce'; const GVLID = 671; const ENDPOINT_URL = 'https://rtb.mfadsrvr.com/header_bid'; const TEST_ENDPOINT_URL = 'https://rtb.mfadsrvr.com/header_bid?debug_key=abcdefghijklmnop'; -const NATIVE_ID_MAP = {}; -const NATIVE_PARAMS = { - title: { - id: 1, - name: 'title' - }, - icon: { - id: 2, - type: 1, - name: 'img' - }, - image: { - id: 3, - type: 3, - name: 'img' - }, - body: { - id: 4, - name: 'data', - type: 2 - }, - sponsoredBy: { - id: 5, - name: 'data', - type: 1 - }, - cta: { - id: 6, - type: 12, - name: 'data' - }, - body2: { - id: 7, - name: 'data', - type: 10 - }, - rating: { - id: 8, - name: 'data', - type: 3 - }, - likes: { - id: 9, - name: 'data', - type: 4 - }, - downloads: { - id: 10, - name: 'data', - type: 5 - }, - displayUrl: { - id: 11, - name: 'data', - type: 11 - }, - price: { - id: 12, - name: 'data', - type: 6 - }, - salePrice: { - id: 13, - name: 'data', - type: 7 - }, - address: { - id: 14, - name: 'data', - type: 9 - }, - phone: { - id: 15, - name: 'data', - type: 8 - } -}; - -Object.keys(NATIVE_PARAMS).forEach((key) => { - NATIVE_ID_MAP[NATIVE_PARAMS[key].id] = key; -}); - const SUPPORTED_MEDIA_TYPES = [BANNER, NATIVE, VIDEO]; const DEFAULT_CURRENCY = 'USD' @@ -175,7 +94,7 @@ export const spec = { validImp = true; break; case NATIVE: - impObj.native = createNativeRequest(bid); + impObj.native = buildNativeRequest(bid.nativeParams); validImp = true; break; case VIDEO: @@ -275,7 +194,7 @@ export const spec = { adm = null; } if (ext?.native) { - bid.native = parseNative(ext.native); + bid.native = parseNativeResponse(ext.native); bid.mediaType = NATIVE; } else if (adm?.trim().startsWith(' { - const {id, img, data, title} = asset; - const key = NATIVE_ID_MAP[id]; - if (key) { - if (!isEmpty(title)) { - result.title = title.text - } else if (!isEmpty(img)) { - result[key] = { - url: img.url, - height: img.h, - width: img.w - } - } else if (!isEmpty(data)) { - result[key] = data.value; - } - } - }); - - return result; -} - -function createNativeRequest(bid) { - const assets = []; - if (bid.nativeParams) { - Object.keys(bid.nativeParams).forEach((key) => { - if (NATIVE_PARAMS[key]) { - const {name, type, id} = NATIVE_PARAMS[key]; - const assetObj = type ? {type} : {}; - let {len, sizes, required, aspect_ratios: aRatios} = bid.nativeParams[key]; - if (len) { - assetObj.len = len; - } - if (aRatios && aRatios[0]) { - aRatios = aRatios[0]; - const wmin = aRatios.min_width || 0; - const hmin = aRatios.ratio_height * wmin / aRatios.ratio_width | 0; - assetObj.wmin = wmin; - assetObj.hmin = hmin; - } - if (sizes && sizes.length) { - sizes = [].concat(...sizes); - assetObj.w = sizes[0]; - assetObj.h = sizes[1]; - } - const asset = {required: required ? 1 : 0, id}; - asset[name] = assetObj; - assets.push(asset); - } - }); - } - return { - ver: '1.2', - request: { - assets: assets, - context: 1, - plcmttype: 1, - ver: '1.2' - } - } -} - function createVideoRequest(bid) { const video = bid.mediaTypes.video; if (!video || !video.playerSize) return; From 7b556c2d34e18e6304e23920b448efd559810ba3 Mon Sep 17 00:00:00 2001 From: SmartHubSolutions <87376145+SmartHubSolutions@users.noreply.github.com> Date: Mon, 1 Dec 2025 22:18:22 +0200 Subject: [PATCH 035/248] Attekmi: add RadiantFusion alias (#14223) Co-authored-by: Victor --- modules/smarthubBidAdapter.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/smarthubBidAdapter.js b/modules/smarthubBidAdapter.js index 9565f318ead..3765ae1e1e9 100644 --- a/modules/smarthubBidAdapter.js +++ b/modules/smarthubBidAdapter.js @@ -27,6 +27,7 @@ const ALIASES = { 'anzu': {area: '1', pid: '445'}, 'amcom': {area: '1', pid: '397'}, 'adastra': {area: '1', pid: '33'}, + 'radiantfusion': {area: '1', pid: '455'}, }; const BASE_URLS = { @@ -44,6 +45,7 @@ const BASE_URLS = { 'anzu': 'https://anzu-prebid.attekmi.co/pbjs', 'amcom': 'https://amcom-prebid.attekmi.co/pbjs', 'adastra': 'https://adastra-prebid.attekmi.co/pbjs', + 'radiantfusion': 'https://radiantfusion-prebid.attekmi.co/pbjs', }; const adapterState = {}; From 5c18fedee7ecab234ad758b795136bd2400089dd Mon Sep 17 00:00:00 2001 From: ClickioTech <163025633+ClickioTech@users.noreply.github.com> Date: Mon, 1 Dec 2025 23:19:15 +0300 Subject: [PATCH 036/248] clickioBidAdapter: add IAB GVL ID and TCFEU support (#14224) --- modules/clickioBidAdapter.js | 2 ++ modules/clickioBidAdapter.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/clickioBidAdapter.js b/modules/clickioBidAdapter.js index 954888291c3..3ba5094ffe5 100644 --- a/modules/clickioBidAdapter.js +++ b/modules/clickioBidAdapter.js @@ -4,6 +4,7 @@ import {ortbConverter} from '../libraries/ortbConverter/converter.js'; import {BANNER} from '../src/mediaTypes.js'; const BIDDER_CODE = 'clickio'; +const IAB_GVL_ID = 1500; export const converter = ortbConverter({ context: { @@ -19,6 +20,7 @@ export const converter = ortbConverter({ export const spec = { code: BIDDER_CODE, + gvlid: IAB_GVL_ID, supportedMediaTypes: [BANNER], buildRequests(bidRequests, bidderRequest) { const data = converter.toORTB({bidRequests, bidderRequest}) diff --git a/modules/clickioBidAdapter.md b/modules/clickioBidAdapter.md index 5d3d41488ff..7667ebe0ffd 100644 --- a/modules/clickioBidAdapter.md +++ b/modules/clickioBidAdapter.md @@ -5,6 +5,8 @@ description: Clickio Bidder Adapter biddercode: clickio media_types: banner gdpr_supported: true +tcfeu_supported: true +gvl_id: 1500 usp_supported: true gpp_supported: true schain_supported: true From 955b81763e13ecd0d075eb3cadefb5b75919289e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Lespagnol?= Date: Tue, 2 Dec 2025 15:41:39 +0100 Subject: [PATCH 037/248] Ogury Bid Adapter: sync from mobile-web-prebid (#14229) --- modules/oguryBidAdapter.js | 12 +- test/spec/modules/oguryBidAdapter_spec.js | 158 +++++----------------- 2 files changed, 34 insertions(+), 136 deletions(-) diff --git a/modules/oguryBidAdapter.js b/modules/oguryBidAdapter.js index eed8fae088d..507cb63fe2a 100644 --- a/modules/oguryBidAdapter.js +++ b/modules/oguryBidAdapter.js @@ -13,7 +13,7 @@ const DEFAULT_TIMEOUT = 1000; const BID_HOST = 'https://mweb-hb.presage.io/api/header-bidding-request'; const TIMEOUT_MONITORING_HOST = 'https://ms-ads-monitoring-events.presage.io'; const MS_COOKIE_SYNC_DOMAIN = 'https://ms-cookie-sync.presage.io'; -const ADAPTER_VERSION = '2.0.4'; +const ADAPTER_VERSION = '2.0.5'; export const ortbConverterProps = { context: { @@ -99,15 +99,7 @@ function getUserSyncs(syncOptions, serverResponses, gdprConsent, uspConsent, gpp return [ { type: 'image', - url: `${MS_COOKIE_SYNC_DOMAIN}/v1/init-sync/bid-switch?iab_string=${consent}&source=prebid&gpp=${gpp}&gpp_sid=${gppSid}` - }, - { - type: 'image', - url: `${MS_COOKIE_SYNC_DOMAIN}/ttd/init-sync?iab_string=${consent}&source=prebid&gpp=${gpp}&gpp_sid=${gppSid}` - }, - { - type: 'image', - url: `${MS_COOKIE_SYNC_DOMAIN}/xandr/init-sync?iab_string=${consent}&source=prebid&gpp=${gpp}&gpp_sid=${gppSid}` + url: `${MS_COOKIE_SYNC_DOMAIN}/user-sync?source=prebid&gdpr_consent=${consent}&gpp=${gpp}&gpp_sid=${gppSid}` } ]; } diff --git a/test/spec/modules/oguryBidAdapter_spec.js b/test/spec/modules/oguryBidAdapter_spec.js index f6922f70942..57ebea5e2ab 100644 --- a/test/spec/modules/oguryBidAdapter_spec.js +++ b/test/spec/modules/oguryBidAdapter_spec.js @@ -121,34 +121,34 @@ describe('OguryBidAdapter', () => { describe('isBidRequestValid', () => { it('should validate correct bid', () => { - const validBid = utils.deepClone(bidRequests[0]); + let validBid = utils.deepClone(bidRequests[0]); - const isValid = spec.isBidRequestValid(validBid); + let isValid = spec.isBidRequestValid(validBid); expect(isValid).to.true; }); it('should not validate when sizes is not defined', () => { - const invalidBid = utils.deepClone(bidRequests[0]); + let invalidBid = utils.deepClone(bidRequests[0]); delete invalidBid.sizes; delete invalidBid.mediaTypes; - const isValid = spec.isBidRequestValid(invalidBid); + let isValid = spec.isBidRequestValid(invalidBid); expect(isValid).to.be.false; }); it('should not validate bid when adunit is not defined', () => { - const invalidBid = utils.deepClone(bidRequests[0]); + let invalidBid = utils.deepClone(bidRequests[0]); delete invalidBid.params.adUnitId; - const isValid = spec.isBidRequestValid(invalidBid); + let isValid = spec.isBidRequestValid(invalidBid); expect(isValid).to.to.be.false; }); it('should not validate bid when assetKey is not defined', () => { - const invalidBid = utils.deepClone(bidRequests[0]); + let invalidBid = utils.deepClone(bidRequests[0]); delete invalidBid.params.assetKey; - const isValid = spec.isBidRequestValid(invalidBid); + let isValid = spec.isBidRequestValid(invalidBid); expect(isValid).to.be.false; }); @@ -201,16 +201,12 @@ describe('OguryBidAdapter', () => { syncOptions = { pixelEnabled: true }; }); - it('should return syncs array with three elements of type image', () => { + it('should return syncs array with one element of type image', () => { const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(userSyncs[0].url).to.contain('https://ms-cookie-sync.presage.io/v1/init-sync/bid-switch'); - expect(userSyncs[1].type).to.equal('image'); - expect(userSyncs[1].url).to.contain('https://ms-cookie-sync.presage.io/ttd/init-sync'); - expect(userSyncs[2].type).to.equal('image'); - expect(userSyncs[2].url).to.contain('https://ms-cookie-sync.presage.io/xandr/init-sync'); + expect(userSyncs[0].url).to.contain('https://ms-cookie-sync.presage.io/user-sync'); }); it('should set the source as query param', () => { @@ -220,23 +216,17 @@ describe('OguryBidAdapter', () => { it('should set the tcString as query param', () => { const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(new URL(userSyncs[0].url).searchParams.get('iab_string')).to.equal(gdprConsent.consentString) - expect(new URL(userSyncs[1].url).searchParams.get('iab_string')).to.equal(gdprConsent.consentString) - expect(new URL(userSyncs[2].url).searchParams.get('iab_string')).to.equal(gdprConsent.consentString) + expect(new URL(userSyncs[0].url).searchParams.get('gdpr_consent')).to.equal(gdprConsent.consentString) }); it('should set the gppString as query param', () => { const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); expect(new URL(userSyncs[0].url).searchParams.get('gpp')).to.equal(gppConsent.gppString) - expect(new URL(userSyncs[1].url).searchParams.get('gpp')).to.equal(gppConsent.gppString) - expect(new URL(userSyncs[2].url).searchParams.get('gpp')).to.equal(gppConsent.gppString) }); it('should set the gpp_sid as query param', () => { const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); expect(new URL(userSyncs[0].url).searchParams.get('gpp_sid')).to.equal(gppConsent.applicableSections.toString()) - expect(new URL(userSyncs[1].url).searchParams.get('gpp_sid')).to.equal(gppConsent.applicableSections.toString()) - expect(new URL(userSyncs[2].url).searchParams.get('gpp_sid')).to.equal(gppConsent.applicableSections.toString()) }); it('should return an empty array when pixel is disable', () => { @@ -251,13 +241,9 @@ describe('OguryBidAdapter', () => { }; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(new URL(userSyncs[0].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[1].type).to.equal('image'); - expect(new URL(userSyncs[1].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[2].type).to.equal('image'); - expect(new URL(userSyncs[2].url).searchParams.get('iab_string')).to.equal('') + expect(new URL(userSyncs[0].url).searchParams.get('gdpr_consent')).to.equal('') }); it('should return syncs array with three elements of type image when consentString is null', () => { @@ -267,39 +253,27 @@ describe('OguryBidAdapter', () => { }; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(new URL(userSyncs[0].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[1].type).to.equal('image'); - expect(new URL(userSyncs[1].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[2].type).to.equal('image'); - expect(new URL(userSyncs[2].url).searchParams.get('iab_string')).to.equal('') + expect(new URL(userSyncs[0].url).searchParams.get('gdpr_consent')).to.equal('') }); it('should return syncs array with three elements of type image when gdprConsent is undefined', () => { gdprConsent = undefined; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(new URL(userSyncs[0].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[1].type).to.equal('image'); - expect(new URL(userSyncs[1].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[2].type).to.equal('image'); - expect(new URL(userSyncs[2].url).searchParams.get('iab_string')).to.equal('') + expect(new URL(userSyncs[0].url).searchParams.get('gdpr_consent')).to.equal('') }); it('should return syncs array with three elements of type image when gdprConsent is null', () => { gdprConsent = null; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(new URL(userSyncs[0].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[1].type).to.equal('image'); - expect(new URL(userSyncs[1].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[2].type).to.equal('image'); - expect(new URL(userSyncs[2].url).searchParams.get('iab_string')).to.equal('') + expect(new URL(userSyncs[0].url).searchParams.get('gdpr_consent')).to.equal('') }); it('should return syncs array with three elements of type image when gdprConsent is null and gdprApplies is false', () => { @@ -309,13 +283,9 @@ describe('OguryBidAdapter', () => { }; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(new URL(userSyncs[0].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[1].type).to.equal('image'); - expect(new URL(userSyncs[1].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[2].type).to.equal('image'); - expect(new URL(userSyncs[2].url).searchParams.get('iab_string')).to.equal('') + expect(new URL(userSyncs[0].url).searchParams.get('gdpr_consent')).to.equal('') }); it('should return syncs array with three elements of type image when gdprConsent is empty string and gdprApplies is false', () => { @@ -325,13 +295,9 @@ describe('OguryBidAdapter', () => { }; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(new URL(userSyncs[0].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[1].type).to.equal('image'); - expect(new URL(userSyncs[1].url).searchParams.get('iab_string')).to.equal('') - expect(userSyncs[2].type).to.equal('image'); - expect(new URL(userSyncs[2].url).searchParams.get('iab_string')).to.equal('') + expect(new URL(userSyncs[0].url).searchParams.get('gdpr_consent')).to.equal('') }); it('should return syncs array with three elements of type image when gppString is undefined', () => { @@ -341,22 +307,12 @@ describe('OguryBidAdapter', () => { }; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(userSyncs[1].type).to.equal('image'); - expect(userSyncs[2].type).to.equal('image'); const firstUrlSync = new URL(userSyncs[0].url).searchParams expect(firstUrlSync.get('gpp')).to.equal('') expect(firstUrlSync.get('gpp_sid')).to.equal(gppConsent.applicableSections.toString()) - - const secondtUrlSync = new URL(userSyncs[1].url).searchParams - expect(secondtUrlSync.get('gpp')).to.equal('') - expect(secondtUrlSync.get('gpp_sid')).to.equal(gppConsent.applicableSections.toString()) - - const thirdUrlSync = new URL(userSyncs[2].url).searchParams - expect(thirdUrlSync.get('gpp')).to.equal('') - expect(thirdUrlSync.get('gpp_sid')).to.equal(gppConsent.applicableSections.toString()) }); it('should return syncs array with three elements of type image when gppString is null', () => { @@ -366,66 +322,36 @@ describe('OguryBidAdapter', () => { }; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(userSyncs[1].type).to.equal('image'); - expect(userSyncs[2].type).to.equal('image'); const firstUrlSync = new URL(userSyncs[0].url).searchParams expect(firstUrlSync.get('gpp')).to.equal('') expect(firstUrlSync.get('gpp_sid')).to.equal(gppConsent.applicableSections.toString()) - - const secondtUrlSync = new URL(userSyncs[1].url).searchParams - expect(secondtUrlSync.get('gpp')).to.equal('') - expect(secondtUrlSync.get('gpp_sid')).to.equal(gppConsent.applicableSections.toString()) - - const thirdUrlSync = new URL(userSyncs[2].url).searchParams - expect(thirdUrlSync.get('gpp')).to.equal('') - expect(thirdUrlSync.get('gpp_sid')).to.equal(gppConsent.applicableSections.toString()) }); it('should return syncs array with three elements of type image when gppConsent is undefined', () => { gppConsent = undefined; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(userSyncs[1].type).to.equal('image'); - expect(userSyncs[2].type).to.equal('image'); const firstUrlSync = new URL(userSyncs[0].url).searchParams expect(firstUrlSync.get('gpp')).to.equal('') expect(firstUrlSync.get('gpp_sid')).to.equal('') - - const secondtUrlSync = new URL(userSyncs[1].url).searchParams - expect(secondtUrlSync.get('gpp')).to.equal('') - expect(secondtUrlSync.get('gpp_sid')).to.equal('') - - const thirdUrlSync = new URL(userSyncs[2].url).searchParams - expect(thirdUrlSync.get('gpp')).to.equal('') - expect(thirdUrlSync.get('gpp_sid')).to.equal('') }); it('should return syncs array with three elements of type image when gppConsent is null', () => { gppConsent = null; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(userSyncs[1].type).to.equal('image'); - expect(userSyncs[2].type).to.equal('image'); const firstUrlSync = new URL(userSyncs[0].url).searchParams expect(firstUrlSync.get('gpp')).to.equal('') expect(firstUrlSync.get('gpp_sid')).to.equal('') - - const secondtUrlSync = new URL(userSyncs[1].url).searchParams - expect(secondtUrlSync.get('gpp')).to.equal('') - expect(secondtUrlSync.get('gpp_sid')).to.equal('') - - const thirdUrlSync = new URL(userSyncs[2].url).searchParams - expect(thirdUrlSync.get('gpp')).to.equal('') - expect(thirdUrlSync.get('gpp_sid')).to.equal('') }); it('should return syncs array with three elements of type image when gppConsent is null and applicableSections is empty', () => { @@ -435,22 +361,12 @@ describe('OguryBidAdapter', () => { }; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent, [], gppConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(userSyncs[1].type).to.equal('image'); - expect(userSyncs[2].type).to.equal('image'); const firstUrlSync = new URL(userSyncs[0].url).searchParams expect(firstUrlSync.get('gpp')).to.equal('') expect(firstUrlSync.get('gpp_sid')).to.equal('') - - const secondtUrlSync = new URL(userSyncs[1].url).searchParams - expect(secondtUrlSync.get('gpp')).to.equal('') - expect(secondtUrlSync.get('gpp_sid')).to.equal('') - - const thirdUrlSync = new URL(userSyncs[2].url).searchParams - expect(thirdUrlSync.get('gpp')).to.equal('') - expect(thirdUrlSync.get('gpp_sid')).to.equal('') }); it('should return syncs array with three elements of type image when gppString is empty string and applicableSections is empty', () => { @@ -460,22 +376,12 @@ describe('OguryBidAdapter', () => { }; const userSyncs = spec.getUserSyncs(syncOptions, [], gdprConsent); - expect(userSyncs).to.have.lengthOf(3); + expect(userSyncs).to.have.lengthOf(1); expect(userSyncs[0].type).to.equal('image'); - expect(userSyncs[1].type).to.equal('image'); - expect(userSyncs[2].type).to.equal('image'); const firstUrlSync = new URL(userSyncs[0].url).searchParams expect(firstUrlSync.get('gpp')).to.equal('') expect(firstUrlSync.get('gpp_sid')).to.equal('') - - const secondtUrlSync = new URL(userSyncs[1].url).searchParams - expect(secondtUrlSync.get('gpp')).to.equal('') - expect(secondtUrlSync.get('gpp_sid')).to.equal('') - - const thirdUrlSync = new URL(userSyncs[2].url).searchParams - expect(thirdUrlSync.get('gpp')).to.equal('') - expect(thirdUrlSync.get('gpp_sid')).to.equal('') }); }); @@ -719,7 +625,7 @@ describe('OguryBidAdapter', () => { expect(dataRequest.ext).to.deep.equal({ prebidversion: '$prebid.version$', - adapterversion: '2.0.4' + adapterversion: '2.0.5' }); expect(dataRequest.device).to.deep.equal({ @@ -851,7 +757,7 @@ describe('OguryBidAdapter', () => { }); describe('interpretResponse', function () { - const openRtbBidResponse = { + let openRtbBidResponse = { body: { id: 'id_of_bid_response', seatbid: [{ From 020968eeb9cf0f76163f91e3867fe4ac101bd456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petric=C4=83=20Nanc=C4=83?= Date: Tue, 2 Dec 2025 16:42:46 +0200 Subject: [PATCH 038/248] sevioBidAdapter: adapter fix keywords to be sent as array (#14226) * Fix keywords to be sent as array * Add tests --- modules/sevioBidAdapter.js | 25 ++++++++++++++++++++++- test/spec/modules/sevioBidAdapter_spec.js | 13 ++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/modules/sevioBidAdapter.js b/modules/sevioBidAdapter.js index 0b34c3098dd..c06f8f86a7e 100644 --- a/modules/sevioBidAdapter.js +++ b/modules/sevioBidAdapter.js @@ -25,6 +25,24 @@ const getReferrerInfo = (bidderRequest) => { return bidderRequest?.refererInfo?.page ?? ''; } +const normalizeKeywords = (input) => { + if (!input) return []; + + if (Array.isArray(input)) { + return input.map(k => k.trim()).filter(Boolean); + } + + if (typeof input === 'string') { + return input + .split(',') + .map(k => k.trim()) + .filter(Boolean); + } + + // Any other type → ignore + return []; +}; + const parseNativeAd = function (bid) { try { const nativeAd = JSON.parse(bid.ad); @@ -227,7 +245,12 @@ export const spec = { ...(isNative && { nativeRequest: { ver: "1.2", assets: processedAssets || {}} }) }, ], - keywords: { tokens: ortbRequest?.site?.keywords || bidRequest.params?.keywords || [] }, + keywords: { + tokens: normalizeKeywords( + ortbRequest?.site?.keywords || + bidRequest.params?.keywords + ) + }, privacy: { gpp: gpp?.consentString || "", tcfeu: gdpr?.consentString || "", diff --git a/test/spec/modules/sevioBidAdapter_spec.js b/test/spec/modules/sevioBidAdapter_spec.js index d82f0da1f6c..b79c528518d 100644 --- a/test/spec/modules/sevioBidAdapter_spec.js +++ b/test/spec/modules/sevioBidAdapter_spec.js @@ -507,5 +507,18 @@ describe('sevioBidAdapter', function () { expect(payload).to.not.have.property('currency'); }); + + it('parses comma-separated keywords string into tokens array', function () { + const singleBidRequest = [{ + bidder: 'sevio', + params: { zone: 'zoneId', keywords: 'play, games, fun ' }, // string CSV + mediaTypes: { banner: { sizes: [[728, 90]] } }, + bidId: 'bid-kw-str' + }]; + const requests = spec.buildRequests(singleBidRequest, baseBidderRequest); + expect(requests).to.be.an('array').that.is.not.empty; + expect(requests[0].data).to.have.nested.property('keywords.tokens'); + expect(requests[0].data.keywords.tokens).to.deep.equal(['play', 'games', 'fun']); + }); }); }); From 6658e93b280058fd6bc9296c40dd063ea86348ac Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Tue, 2 Dec 2025 09:46:35 -0500 Subject: [PATCH 039/248] Various Adapters: nullify banned device metrics (#14188) * Adapters: nullify banned device metrics * Add hardwareConcurrency and deviceMemory to bid request * Update greenbidsBidAdapter_specs.js * Update greenbidsBidAdapter_specs.js * Fix indentation and formatting in tests * Remove hardwareConcurrency and deviceMemory tests Removed tests for hardwareConcurrency and deviceMemory from the greenbidsBidAdapter spec. --- libraries/navigatorData/navigatorData.js | 20 ----------------- modules/richaudienceBidAdapter.js | 2 +- modules/sspBCBidAdapter.js | 4 ++-- modules/teadsBidAdapter.js | 6 ++--- .../modules/richaudienceBidAdapter_spec.js | 1 - test/spec/modules/teadsBidAdapter_spec.js | 22 ------------------- 6 files changed, 6 insertions(+), 49 deletions(-) diff --git a/libraries/navigatorData/navigatorData.js b/libraries/navigatorData/navigatorData.js index f1a34fc51eb..e91a39493bf 100644 --- a/libraries/navigatorData/navigatorData.js +++ b/libraries/navigatorData/navigatorData.js @@ -7,23 +7,3 @@ export function getHLen(win = window) { } return hLen; } - -export function getHC(win = window) { - let hc; - try { - hc = win.top.navigator.hardwareConcurrency; - } catch (error) { - hc = undefined; - } - return hc; -} - -export function getDM(win = window) { - let dm; - try { - dm = win.top.navigator.deviceMemory; - } catch (error) { - dm = undefined; - } - return dm; -} diff --git a/modules/richaudienceBidAdapter.js b/modules/richaudienceBidAdapter.js index 4d61d827650..cb551bb0b62 100644 --- a/modules/richaudienceBidAdapter.js +++ b/modules/richaudienceBidAdapter.js @@ -52,7 +52,7 @@ export const spec = { demand: raiGetDemandType(bid), videoData: raiGetVideoInfo(bid), scr_rsl: raiGetResolution(), - cpuc: (typeof window.navigator !== 'undefined' ? window.navigator.hardwareConcurrency : null), + cpuc: null, kws: bid.params.keywords, schain: bid?.ortb2?.source?.ext?.schain, gpid: raiSetPbAdSlot(bid), diff --git a/modules/sspBCBidAdapter.js b/modules/sspBCBidAdapter.js index 3625b912579..09b7e6a6daa 100644 --- a/modules/sspBCBidAdapter.js +++ b/modules/sspBCBidAdapter.js @@ -165,7 +165,7 @@ const getNotificationPayload = bidData => { const applyClientHints = ortbRequest => { const { location } = document; - const { connection = {}, deviceMemory, userAgentData = {} } = navigator; + const { connection = {}, userAgentData = {} } = navigator; const viewport = getWinDimensions().visualViewport || false; const segments = []; const hints = { @@ -173,7 +173,7 @@ const applyClientHints = ortbRequest => { 'CH-Rtt': connection.rtt, 'CH-SaveData': connection.saveData, 'CH-Downlink': connection.downlink, - 'CH-DeviceMemory': deviceMemory, + 'CH-DeviceMemory': null, 'CH-Dpr': W.devicePixelRatio, 'CH-ViewportWidth': viewport.width, 'CH-BrowserBrands': JSON.stringify(userAgentData.brands), diff --git a/modules/teadsBidAdapter.js b/modules/teadsBidAdapter.js index 8d12bf81a3e..24894b9e7c1 100644 --- a/modules/teadsBidAdapter.js +++ b/modules/teadsBidAdapter.js @@ -2,7 +2,7 @@ import {logError, parseSizesInput, isArray, getBidIdParameter, getWinDimensions, import {registerBidder} from '../src/adapters/bidderFactory.js'; import {getStorageManager} from '../src/storageManager.js'; import {isAutoplayEnabled} from '../libraries/autoplayDetection/autoplay.js'; -import {getDM, getHC, getHLen} from '../libraries/navigatorData/navigatorData.js'; +import {getHLen} from '../libraries/navigatorData/navigatorData.js'; import {getTimeToFirstByte} from '../libraries/timeToFirstBytesUtils/timeToFirstBytesUtils.js'; /** @@ -77,8 +77,8 @@ export const spec = { historyLength: getHLen(), viewportHeight: getWinDimensions().visualViewport.height, viewportWidth: getWinDimensions().visualViewport.width, - hardwareConcurrency: getHC(), - deviceMemory: getDM(), + hardwareConcurrency: null, + deviceMemory: null, hb_version: '$prebid.version$', timeout: bidderRequest?.timeout, eids: getUserIdAsEids(validBidRequests), diff --git a/test/spec/modules/richaudienceBidAdapter_spec.js b/test/spec/modules/richaudienceBidAdapter_spec.js index 5f20024fec2..fb90c793188 100644 --- a/test/spec/modules/richaudienceBidAdapter_spec.js +++ b/test/spec/modules/richaudienceBidAdapter_spec.js @@ -430,7 +430,6 @@ describe('Richaudience adapter tests', function () { expect(requestContent).to.have.property('timeout').and.to.equal(600); expect(requestContent).to.have.property('numIframes').and.to.equal(0); expect(typeof requestContent.scr_rsl === 'string') - expect(typeof requestContent.cpuc === 'number') expect(typeof requestContent.gpid === 'string') expect(requestContent).to.have.property('kws').and.to.equal('key1=value1;key2=value2'); }) diff --git a/test/spec/modules/teadsBidAdapter_spec.js b/test/spec/modules/teadsBidAdapter_spec.js index cec0853c114..f776f5243a8 100644 --- a/test/spec/modules/teadsBidAdapter_spec.js +++ b/test/spec/modules/teadsBidAdapter_spec.js @@ -438,28 +438,6 @@ describe('teadsBidAdapter', () => { expect(payload.device).to.deep.equal(ortb2DeviceBidderRequest.ortb2.device); }); - it('should add hardwareConcurrency info to payload', function () { - const request = spec.buildRequests(bidRequests, bidderRequestDefault); - const payload = JSON.parse(request.data); - const hardwareConcurrency = window.top.navigator?.hardwareConcurrency - - if (hardwareConcurrency) { - expect(payload.hardwareConcurrency).to.exist; - expect(payload.hardwareConcurrency).to.deep.equal(hardwareConcurrency); - } else expect(payload.hardwareConcurrency).to.not.exist - }); - - it('should add deviceMemory info to payload', function () { - const request = spec.buildRequests(bidRequests, bidderRequestDefault); - const payload = JSON.parse(request.data); - const deviceMemory = window.top.navigator.deviceMemory - - if (deviceMemory) { - expect(payload.deviceMemory).to.exist; - expect(payload.deviceMemory).to.deep.equal(deviceMemory); - } else expect(payload.deviceMemory).to.not.exist; - }); - describe('pageTitle', function () { it('should add pageTitle info to payload based on document title', function () { const testText = 'This is a title'; From f4e7feb4e888e9f572bd3b72eb4e97ba2211fb8d Mon Sep 17 00:00:00 2001 From: Luca Corbo Date: Tue, 2 Dec 2025 15:47:18 +0100 Subject: [PATCH 040/248] WURFL RTD: Add low latency device detection (#14115) * zero latency - initial version * WURFL RTD: remove free tier wurfl_id handling * WURFL RTD: update internal version * WURFL RTD: update abSplit to be a float * WURFL RTD: LCE add iOS26 osv logic * WURFL RTD: beacon add tier * WURFL RTD: bump version to 2.0.0 * WURFL RTD: refactor LCE device detection for robustness and error tracking Refactored WurflLCEDevice.FPD() to be more error-resistant and provide better enrichment type tracking for analytics. * WURFL RTD: update LCE_ERROR value * WURFL RTD: bump version to 2.0.1 * WURFL RTD: add is_robot detection * WURFL RTD: refactor LCE device detection for robustness and error tracking * WURFL RTD: initialize bidder fragments if not already present * WURFL RTD: fix ortb2Fragments.bidder merge for Prebid 10.x compatibility * WURFL RTD: bump version to 2.0.3 * WURFL RTD: beacon add over_quota and rename bidder.enrichment to bidder.bdr_enrich * WURFL RTD: improve debug logging * WURFL RTD: bump version to 2.0.5 * WURFL RTD: use global debug flag instead of params.debug * WURFL RTD: optimize payload by moving basic+pub caps to global Optimize ortb2Fragments payload size by enriching global.device.ext.wurfl with basic+publisher capabilities when under quota, instead of duplicating them in every bidder fragment. * WURFL RTD: authorized should not receive pub caps when overquota * WURFL RTD: update module doc to include disclosure about wurfl.js loading --- modules/wurflRtdProvider.js | 1446 +++++++++++-- modules/wurflRtdProvider.md | 65 +- test/spec/modules/wurflRtdProvider_spec.js | 2132 +++++++++++++++++--- 3 files changed, 3122 insertions(+), 521 deletions(-) diff --git a/modules/wurflRtdProvider.js b/modules/wurflRtdProvider.js index d2e85f40ec7..beffabdb7b9 100644 --- a/modules/wurflRtdProvider.js +++ b/modules/wurflRtdProvider.js @@ -4,259 +4,1228 @@ import { loadExternalScript } from '../src/adloader.js'; import { mergeDeep, prefixLog, + debugTurnedOn, } from '../src/utils.js'; import { MODULE_TYPE_RTD } from '../src/activities/modules.js'; +import { getStorageManager } from '../src/storageManager.js'; +import { getGlobal } from '../src/prebidGlobal.js'; // Constants const REAL_TIME_MODULE = 'realTimeData'; const MODULE_NAME = 'wurfl'; +const MODULE_VERSION = '2.1.0'; // WURFL_JS_HOST is the host for the WURFL service endpoints const WURFL_JS_HOST = 'https://prebid.wurflcloud.com'; // WURFL_JS_ENDPOINT_PATH is the path for the WURFL.js endpoint used to load WURFL data const WURFL_JS_ENDPOINT_PATH = '/wurfl.js'; +// STATS_HOST is the host for the WURFL stats endpoint +const STATS_HOST = 'https://stats.prebid.wurflcloud.com' // STATS_ENDPOINT_PATH is the path for the stats endpoint used to send analytics data -const STATS_ENDPOINT_PATH = '/v1/prebid/stats'; +const STATS_ENDPOINT_PATH = '/v2/prebid/stats'; + +// Storage keys for localStorage caching +const WURFL_RTD_STORAGE_KEY = 'wurflrtd'; + +// OpenRTB 2.0 device type constants +// Based on OpenRTB 2.6 specification +const ORTB2_DEVICE_TYPE = { + MOBILE_OR_TABLET: 1, + PERSONAL_COMPUTER: 2, + CONNECTED_TV: 3, + PHONE: 4, + TABLET: 5, + CONNECTED_DEVICE: 6, + SET_TOP_BOX: 7, + OOH_DEVICE: 8 +}; + +// OpenRTB 2.0 device fields that can be enriched from WURFL data +const ORTB2_DEVICE_FIELDS = [ + 'make', 'model', 'devicetype', 'os', 'osv', 'hwv', + 'h', 'w', 'ppi', 'pxratio', 'js' +]; + +// Enrichment type constants +const ENRICHMENT_TYPE = { + UNKNOWN: 'unknown', + NONE: 'none', + LCE: 'lce', + LCE_ERROR: 'lcefailed', + WURFL_PUB: 'wurfl_pub', + WURFL_SSP: 'wurfl_ssp', + WURFL_PUB_SSP: 'wurfl_pub_ssp' +}; + +// Consent class constants +const CONSENT_CLASS = { + NO: 0, // No consent/opt-out/COPPA + PARTIAL: 1, // Partial or ambiguous + FULL: 2, // Full consent or non-GDPR region + ERROR: -1 // Error computing consent +}; + +// Default sampling rate constant +const DEFAULT_SAMPLING_RATE = 100; + +// Default over quota constant +const DEFAULT_OVER_QUOTA = 0; + +// A/B test constants +const AB_TEST = { + CONTROL_GROUP: 'control', + TREATMENT_GROUP: 'treatment', + DEFAULT_SPLIT: 0.5, + DEFAULT_NAME: 'unknown' +}; const logger = prefixLog('[WURFL RTD Submodule]'); -// enrichedBidders holds a list of prebid bidder names, of bidders which have been -// injected with WURFL data -const enrichedBidders = new Set(); +// Storage manager for WURFL RTD provider +export const storage = getStorageManager({ + moduleType: MODULE_TYPE_RTD, + moduleName: MODULE_NAME, +}); -/** - * init initializes the WURFL RTD submodule - * @param {Object} config Configuration for WURFL RTD submodule - * @param {Object} userConsent User consent data - */ -const init = (config, userConsent) => { - logger.logMessage('initialized'); - return true; -} +// bidderEnrichment maps bidder codes to their enrichment type for beacon reporting +let bidderEnrichment; -/** - * getBidRequestData enriches the OpenRTB 2.0 device data with WURFL data - * @param {Object} reqBidsConfigObj Bid request configuration object - * @param {Function} callback Called on completion - * @param {Object} config Configuration for WURFL RTD submodule - * @param {Object} userConsent User consent data - */ -const getBidRequestData = (reqBidsConfigObj, callback, config, userConsent) => { - const altHost = config.params?.altHost ?? null; - const isDebug = config.params?.debug ?? false; +// enrichmentType tracks the overall enrichment type used in the current auction +let enrichmentType; - const bidders = new Set(); - reqBidsConfigObj.adUnits.forEach(adUnit => { - adUnit.bids.forEach(bid => { - bidders.add(bid.bidder); - }); - }); +// wurflId stores the WURFL ID from device data +let wurflId; - let host = WURFL_JS_HOST; - if (altHost) { - host = altHost; - } +// samplingRate tracks the beacon sampling rate (0-100) +let samplingRate; - const url = new URL(host); - url.pathname = WURFL_JS_ENDPOINT_PATH; +// tier stores the WURFL tier from wurfl_pbjs data +let tier; - if (isDebug) { - url.searchParams.set('debug', 'true') +// overQuota stores the over_quota flag from wurfl_pbjs data (possible values: 0, 1) +let overQuota; + +// abTest stores A/B test configuration and variant (set by init) +let abTest; + +/** + * Safely gets an object from localStorage with JSON parsing + * @param {string} key The storage key + * @returns {Object|null} Parsed object or null if not found/invalid + */ +function getObjectFromStorage(key) { + if (!storage.hasLocalStorage() || !storage.localStorageIsEnabled()) { + return null; } - url.searchParams.set('mode', 'prebid') - url.searchParams.set('wurfl_id', 'true') + try { + const dataStr = storage.getDataFromLocalStorage(key); + return dataStr ? JSON.parse(dataStr) : null; + } catch (e) { + logger.logError(`Error parsing stored data for key ${key}:`, e); + return null; + } +} + +/** + * Safely sets an object to localStorage with JSON stringification + * @param {string} key The storage key + * @param {Object} data The data to store + * @returns {boolean} Success status + */ +function setObjectToStorage(key, data) { + if (!storage.hasLocalStorage() || !storage.localStorageIsEnabled()) { + return false; + } try { - loadExternalScript(url.toString(), MODULE_TYPE_RTD, MODULE_NAME, () => { - logger.logMessage('script injected'); - window.WURFLPromises.complete.then((res) => { - logger.logMessage('received data', res); - if (!res.wurfl_pbjs) { - logger.logError('invalid WURFL.js for Prebid response'); - } else { - enrichBidderRequests(reqBidsConfigObj, bidders, res); - } - callback(); - }); - }); - } catch (err) { - logger.logError(err); - callback(); + storage.setDataInLocalStorage(key, JSON.stringify(data)); + return true; + } catch (e) { + logger.logError(`Error storing data for key ${key}:`, e); + return false; } } /** - * enrichBidderRequests enriches the OpenRTB 2.0 device data with WURFL data for Business Edition + * enrichDeviceFPD enriches the global device object with device data * @param {Object} reqBidsConfigObj Bid request configuration object - * @param {Array} bidders List of bidders - * @param {Object} wjsResponse WURFL.js response + * @param {Object} deviceData Device data to enrich with */ -function enrichBidderRequests(reqBidsConfigObj, bidders, wjsResponse) { - const authBidders = wjsResponse.wurfl_pbjs?.authorized_bidders ?? {}; - const caps = wjsResponse.wurfl_pbjs?.caps ?? []; +function enrichDeviceFPD(reqBidsConfigObj, deviceData) { + if (!deviceData || !reqBidsConfigObj?.ortb2Fragments?.global) { + return; + } - bidders.forEach((bidderCode) => { - if (bidderCode in authBidders) { - // inject WURFL data - enrichedBidders.add(bidderCode); - const data = bidderData(wjsResponse.WURFL, caps, authBidders[bidderCode]); - data['enrich_device'] = true; - enrichBidderRequest(reqBidsConfigObj, bidderCode, data); + const prebidDevice = reqBidsConfigObj.ortb2Fragments.global.device || {}; + const enrichedDevice = {}; + + ORTB2_DEVICE_FIELDS.forEach(field => { + // Check if field already exists in prebid device + if (prebidDevice[field] !== undefined) { return; } - // inject WURFL low entropy data - const data = lowEntropyData(wjsResponse.WURFL, wjsResponse.wurfl_pbjs?.low_entropy_caps); - enrichBidderRequest(reqBidsConfigObj, bidderCode, data); + + // Check if deviceData has a valid value for this field + if (deviceData[field] === undefined) { + return; + } + + // Copy the field value from deviceData to enrichedDevice + enrichedDevice[field] = deviceData[field]; }); + + // Also copy ext field if present (contains ext.wurfl capabilities) + if (deviceData.ext) { + enrichedDevice.ext = deviceData.ext; + } + + // Use mergeDeep to properly merge into global device + mergeDeep(reqBidsConfigObj.ortb2Fragments.global, { device: enrichedDevice }); } /** - * bidderData returns the WURFL data for a bidder - * @param {Object} wurflData WURFL data - * @param {Array} caps Capability list - * @param {Array} filter Filter list - * @returns {Object} Bidder data + * enrichDeviceBidder enriches bidder-specific device data with WURFL data + * @param {Object} reqBidsConfigObj Bid request configuration object + * @param {Set} bidders Set of bidder codes + * @param {WurflJSDevice} wjsDevice WURFL.js device data with permissions and caps */ -export const bidderData = (wurflData, caps, filter) => { - const data = {}; - if ('wurfl_id' in wurflData) { - data['wurfl_id'] = wurflData.wurfl_id; +function enrichDeviceBidder(reqBidsConfigObj, bidders, wjsDevice) { + // Initialize bidder fragments if not present + if (!reqBidsConfigObj.ortb2Fragments.bidder) { + reqBidsConfigObj.ortb2Fragments.bidder = {}; } - caps.forEach((cap, index) => { - if (!filter.includes(index)) { + + const isOverQuota = wjsDevice._isOverQuota(); + + bidders.forEach((bidderCode) => { + const isAuthorized = wjsDevice._isAuthorized(bidderCode); + + if (!isAuthorized) { + // Over quota + unauthorized -> NO ENRICHMENT + if (isOverQuota) { + bidderEnrichment.set(bidderCode, ENRICHMENT_TYPE.NONE); + return; + } + // Under quota + unauthorized -> inherits from global no bidder enrichment + bidderEnrichment.set(bidderCode, ENRICHMENT_TYPE.WURFL_PUB); return; } - if (cap in wurflData) { - data[cap] = wurflData[cap]; + + // From here: bidder IS authorized + const bidderDevice = wjsDevice.Bidder(bidderCode); + bidderEnrichment.set(bidderCode, ENRICHMENT_TYPE.WURFL_SSP); + + // Edge case: authorized but no data (e.g., missing caps) + if (Object.keys(bidderDevice).length === 0) { + return; } + + // Authorized bidder with data to inject + const bd = reqBidsConfigObj.ortb2Fragments.bidder[bidderCode] || {}; + mergeDeep(bd, bidderDevice); + reqBidsConfigObj.ortb2Fragments.bidder[bidderCode] = bd; }); - return data; } /** - * lowEntropyData returns the WURFL low entropy data - * @param {Object} wurflData WURFL data - * @param {Array} lowEntropyCaps Low entropy capability list - * @returns {Object} Bidder data + * loadWurflJsAsync loads WURFL.js asynchronously and stores response to localStorage + * @param {Object} config Configuration for WURFL RTD submodule + * @param {Set} bidders Set of bidder codes */ -export const lowEntropyData = (wurflData, lowEntropyCaps) => { - const data = {}; - lowEntropyCaps.forEach((cap, _) => { - let value = wurflData[cap]; - if (cap === 'complete_device_name') { - value = value.replace(/Apple (iP(hone|ad|od)).*/, 'Apple iP$2'); - } - data[cap] = value; - }); - if ('model_name' in wurflData) { - data['model_name'] = wurflData.model_name.replace(/(iP(hone|ad|od)).*/, 'iP$2'); +function loadWurflJsAsync(config, bidders) { + const altHost = config.params?.altHost ?? null; + const isDebug = debugTurnedOn(); + + let host = WURFL_JS_HOST; + if (altHost) { + host = altHost; } - if ('brand_name' in wurflData) { - data['brand_name'] = wurflData.brand_name; + + const url = new URL(host); + url.pathname = WURFL_JS_ENDPOINT_PATH; + + // Start timing WURFL.js load + WurflDebugger.wurflJsLoadStart(); + + if (isDebug) { + url.searchParams.set('debug', 'true'); } - if ('wurfl_id' in wurflData) { - data['wurfl_id'] = wurflData.wurfl_id; + + url.searchParams.set('mode', 'prebid2'); + + // Add bidders list for server optimization + if (bidders && bidders.size > 0) { + url.searchParams.set('bidders', Array.from(bidders).join(',')); + } + + // Helper function to load WURFL.js script + const loadWurflJs = (scriptUrl) => { + try { + loadExternalScript(scriptUrl, MODULE_TYPE_RTD, MODULE_NAME, () => { + window.WURFLPromises.complete.then((res) => { + logger.logMessage('async WURFL.js data received', res); + if (res.wurfl_pbjs) { + // Create optimized cache object with only relevant device data + WurflDebugger.cacheWriteStart(); + const cacheData = { + WURFL: res.WURFL, + wurfl_pbjs: res.wurfl_pbjs, + expire_at: Date.now() + (res.wurfl_pbjs.ttl * 1000) + }; + setObjectToStorage(WURFL_RTD_STORAGE_KEY, cacheData); + WurflDebugger.cacheWriteStop(); + logger.logMessage('WURFL.js device cache stored to localStorage'); + } else { + logger.logError('invalid async WURFL.js for Prebid response'); + } + }).catch((err) => { + logger.logError('async WURFL.js promise error:', err); + }); + }); + } catch (err) { + logger.logError('async WURFL.js loading error:', err); + } + }; + + // Collect Client Hints if available, then load script + if (navigator?.userAgentData?.getHighEntropyValues) { + const hints = ['architecture', 'bitness', 'model', 'platformVersion', 'uaFullVersion', 'fullVersionList']; + navigator.userAgentData.getHighEntropyValues(hints) + .then(ch => { + if (ch !== null) { + url.searchParams.set('uach', JSON.stringify(ch)); + } + }) + .finally(() => { + loadWurflJs(url.toString()); + }); + } else { + // Load script immediately when Client Hints not available + loadWurflJs(url.toString()); } - return data; } + /** - * enrichBidderRequest enriches the bidder request with WURFL data - * @param {Object} reqBidsConfigObj Bid request configuration object - * @param {String} bidderCode Bidder code - * @param {Object} wurflData WURFL data + * shouldSample determines if an action should be taken based on sampling rate + * @param {number} rate Sampling rate from 0-100 (percentage) + * @returns {boolean} True if should proceed, false if should skip */ -export const enrichBidderRequest = (reqBidsConfigObj, bidderCode, wurflData) => { - const ortb2data = { - 'device': { - 'ext': {}, - }, - }; +function shouldSample(rate) { + if (rate >= 100) { + return true; + } + if (rate <= 0) { + return false; + } + const randomValue = Math.floor(Math.random() * 100); + return randomValue < rate; +} - const device = reqBidsConfigObj.ortb2Fragments.global.device; - enrichOrtb2DeviceData('make', wurflData.brand_name, device, ortb2data); - enrichOrtb2DeviceData('model', wurflData.model_name, device, ortb2data); - if (wurflData.enrich_device) { - delete wurflData.enrich_device; - enrichOrtb2DeviceData('devicetype', makeOrtb2DeviceType(wurflData), device, ortb2data); - enrichOrtb2DeviceData('os', wurflData.advertised_device_os, device, ortb2data); - enrichOrtb2DeviceData('osv', wurflData.advertised_device_os_version, device, ortb2data); - enrichOrtb2DeviceData('hwv', wurflData.model_name, device, ortb2data); - enrichOrtb2DeviceData('h', wurflData.resolution_height, device, ortb2data); - enrichOrtb2DeviceData('w', wurflData.resolution_width, device, ortb2data); - enrichOrtb2DeviceData('ppi', wurflData.pixel_density, device, ortb2data); - enrichOrtb2DeviceData('pxratio', toNumber(wurflData.density_class), device, ortb2data); - enrichOrtb2DeviceData('js', toNumber(wurflData.ajax_support_javascript), device, ortb2data); - } - ortb2data.device.ext['wurfl'] = wurflData - mergeDeep(reqBidsConfigObj.ortb2Fragments.bidder, { [bidderCode]: ortb2data }); +/** + * getABVariant determines A/B test variant assignment based on split + * @param {number} split Treatment group split from 0-1 (float, e.g., 0.5 = 50% treatment) + * @returns {string} AB_TEST.TREATMENT_GROUP or AB_TEST.CONTROL_GROUP + */ +function getABVariant(split) { + if (split >= 1) { + return AB_TEST.TREATMENT_GROUP; + } + if (split <= 0) { + return AB_TEST.CONTROL_GROUP; + } + return Math.random() < split ? AB_TEST.TREATMENT_GROUP : AB_TEST.CONTROL_GROUP; } /** - * makeOrtb2DeviceType returns the ortb2 device type based on WURFL data - * @param {Object} wurflData WURFL data - * @returns {Number} ortb2 device type - * @see https://www.scientiamobile.com/how-to-populate-iab-openrtb-device-object/ + * getConsentClass calculates the consent classification level + * @param {Object} userConsent User consent data + * @returns {number} Consent class (0, 1, or 2) */ -export function makeOrtb2DeviceType(wurflData) { - if (wurflData.is_mobile) { - if (!('is_phone' in wurflData) || !('is_tablet' in wurflData)) { - return undefined; - } - if (wurflData.is_phone || wurflData.is_tablet) { - return 1; +function getConsentClass(userConsent) { + // Default to no consent if userConsent is not provided or is an empty object + if (!userConsent || Object.keys(userConsent).length === 0) { + return CONSENT_CLASS.NO; + } + + // Check COPPA (Children's Privacy) + if (userConsent.coppa === true) { + return CONSENT_CLASS.NO; + } + + // Check USP/CCPA (US Privacy) + if (userConsent.usp && typeof userConsent.usp === 'string') { + if (userConsent.usp.substring(0, 2) === '1Y') { + return CONSENT_CLASS.NO; } - return 6; } - if (wurflData.is_full_desktop) { - return 2; + + // Check GDPR object exists + if (!userConsent.gdpr) { + return CONSENT_CLASS.FULL; // No GDPR data means not applicable + } + + // Check GDPR applicability - Note: might be in vendorData + const gdprApplies = userConsent.gdpr.gdprApplies === true || userConsent.gdpr.vendorData?.gdprApplies === true; + + if (!gdprApplies) { + return CONSENT_CLASS.FULL; + } + + // GDPR applies - evaluate purposes + const vendorData = userConsent.gdpr.vendorData; + + if (!vendorData || !vendorData.purpose) { + return CONSENT_CLASS.NO; + } + + const purposes = vendorData.purpose; + const consents = purposes.consents || {}; + const legitimateInterests = purposes.legitimateInterests || {}; + + // Count allowed purposes (7, 8, 10) + let allowedCount = 0; + + // Purpose 7: Measure ad performance + if (consents['7'] === true || legitimateInterests['7'] === true) { + allowedCount++; } - if (wurflData.is_connected_tv) { - return 3; + + // Purpose 8: Market research + if (consents['8'] === true || legitimateInterests['8'] === true) { + allowedCount++; } - if (wurflData.is_phone) { - return 4; + + // Purpose 10: Develop/improve products + if (consents['10'] === true || legitimateInterests['10'] === true) { + allowedCount++; } - if (wurflData.is_tablet) { - return 5; + + // Classify based on allowed purposes count + if (allowedCount === 0) { + return CONSENT_CLASS.NO; } - if (wurflData.is_ott) { - return 7; + if (allowedCount === 3) { + return CONSENT_CLASS.FULL; } - return undefined; + return CONSENT_CLASS.PARTIAL; +} + +// ==================== CLASSES ==================== + +// WurflDebugger object for performance tracking and debugging +const WurflDebugger = { + // Private timing start values + _moduleExecutionStart: null, + _cacheReadStart: null, + _lceDetectionStart: null, + _cacheWriteStart: null, + _wurflJsLoadStart: null, + + // Initialize WURFL debug tracking + init() { + if (!debugTurnedOn()) { + // Replace all methods (except init) with no-ops for zero overhead + Object.keys(this).forEach(key => { + if (typeof this[key] === 'function' && key !== 'init') { + this[key] = () => { }; + } + }); + return; + } + + // Full debug mode - create/reset window object for tracking + if (typeof window !== 'undefined') { + window.WurflRtdDebug = { + // Module version + version: MODULE_VERSION, + + // Prebid.js version + pbjsVersion: getGlobal().version, + + // Data source for current auction + dataSource: 'unknown', // 'cache' | 'lce' + + // Cache state + cacheExpired: false, // Whether the cache was expired when used + + // Simple timing measurements + moduleExecutionTime: null, // Total time from getBidRequestData start to callback + cacheReadTime: null, // Single cache read time (hit or miss) + lceDetectionTime: null, // LCE detection time (only if dataSource = 'lce') + cacheWriteTime: null, // Async cache write time (for future auctions) + wurflJsLoadTime: null, // Total time from WURFL.js load start to cache complete + + // The actual data used in current auction + data: { + // When dataSource = 'cache' + wurflData: null, // The cached WURFL device data + pbjsData: null, // The cached wurfl_pbjs data + + // When dataSource = 'lce' + lceDevice: null // The LCE-generated device object + }, + + // Beacon payload sent to analytics endpoint + beaconPayload: null + }; + } + }, + + // Module execution timing methods + moduleExecutionStart() { + this._moduleExecutionStart = performance.now(); + }, + + moduleExecutionStop() { + if (this._moduleExecutionStart === null) return; + const duration = performance.now() - this._moduleExecutionStart; + window.WurflRtdDebug.moduleExecutionTime = duration; + this._moduleExecutionStart = null; + }, + + // Cache read timing methods + cacheReadStart() { + this._cacheReadStart = performance.now(); + }, + + cacheReadStop() { + if (this._cacheReadStart === null) return; + const duration = performance.now() - this._cacheReadStart; + window.WurflRtdDebug.cacheReadTime = duration; + this._cacheReadStart = null; + }, + + // LCE detection timing methods + lceDetectionStart() { + this._lceDetectionStart = performance.now(); + }, + + lceDetectionStop() { + if (this._lceDetectionStart === null) return; + const duration = performance.now() - this._lceDetectionStart; + window.WurflRtdDebug.lceDetectionTime = duration; + this._lceDetectionStart = null; + }, + + // Cache write timing methods + cacheWriteStart() { + this._cacheWriteStart = performance.now(); + }, + + cacheWriteStop() { + if (this._cacheWriteStart === null) return; + const duration = performance.now() - this._cacheWriteStart; + window.WurflRtdDebug.cacheWriteTime = duration; + this._cacheWriteStart = null; + + // Calculate total WURFL.js load time (from load start to cache complete) + if (this._wurflJsLoadStart !== null) { + const totalLoadTime = performance.now() - this._wurflJsLoadStart; + window.WurflRtdDebug.wurflJsLoadTime = totalLoadTime; + this._wurflJsLoadStart = null; + } + + // Dispatch custom event when cache write data is available + if (typeof window !== 'undefined' && window.dispatchEvent) { + const event = new CustomEvent('wurflCacheWriteComplete', { + detail: { + duration: duration, + timestamp: Date.now(), + debugData: window.WurflRtdDebug + } + }); + window.dispatchEvent(event); + } + }, + + // WURFL.js load timing methods + wurflJsLoadStart() { + this._wurflJsLoadStart = performance.now(); + }, + + // Data tracking methods + setDataSource(source) { + window.WurflRtdDebug.dataSource = source; + }, + + setCacheData(wurflData, pbjsData) { + window.WurflRtdDebug.data.wurflData = wurflData; + window.WurflRtdDebug.data.pbjsData = pbjsData; + }, + + setLceData(lceDevice) { + window.WurflRtdDebug.data.lceDevice = lceDevice; + }, + + setCacheExpired(expired) { + window.WurflRtdDebug.cacheExpired = expired; + }, + + setBeaconPayload(payload) { + window.WurflRtdDebug.beaconPayload = payload; + } +}; + +// ==================== WURFL JS DEVICE MODULE ==================== +const WurflJSDevice = { + // Private properties + _wurflData: null, // WURFL data containing capability values (from window.WURFL) + _pbjsData: null, // wurfl_pbjs data with caps array and permissions (from response) + _basicCaps: null, // Cached basic capabilities (computed once) + _pubCaps: null, // Cached publisher capabilities (computed once) + _device: null, // Cached device object (computed once) + + // Constructor from WURFL.js local cache + fromCache(res) { + this._wurflData = res.WURFL || {}; + this._pbjsData = res.wurfl_pbjs || {}; + this._basicCaps = null; + this._pubCaps = null; + this._device = null; + return this; + }, + + // Private method - converts a given value to a number + _toNumber(value) { + if (value === '' || value === null) { + return undefined; + } + const num = Number(value); + return Number.isNaN(num) ? undefined : num; + }, + + // Private method - filters capabilities based on indices + _filterCaps(indexes) { + const data = {}; + const caps = this._pbjsData.caps; // Array of capability names + const wurflData = this._wurflData; // WURFL data containing capability values + + if (!indexes || !caps || !wurflData) { + return data; + } + + indexes.forEach((index) => { + const capName = caps[index]; // Get capability name by index + if (capName && capName in wurflData) { + data[capName] = wurflData[capName]; // Get value from WURFL data + } + }); + + return data; + }, + + // Private method - gets basic capabilities + _getBasicCaps() { + if (this._basicCaps !== null) { + return this._basicCaps; + } + const basicCaps = this._pbjsData.global?.basic_set?.cap_indices || []; + this._basicCaps = this._filterCaps(basicCaps); + return this._basicCaps; + }, + + // Private method - gets publisher capabilities + _getPubCaps() { + if (this._pubCaps !== null) { + return this._pubCaps; + } + const pubCaps = this._pbjsData.global?.publisher?.cap_indices || []; + this._pubCaps = this._filterCaps(pubCaps); + return this._pubCaps; + }, + + // Private method - gets bidder-specific capabilities + _getBidderCaps(bidderCode) { + const bidderCaps = this._pbjsData.bidders?.[bidderCode]?.cap_indices || []; + return this._filterCaps(bidderCaps); + }, + + // Private method - checks if bidder is authorized + _isAuthorized(bidderCode) { + return !!(this._pbjsData.bidders && bidderCode in this._pbjsData.bidders); + }, + + // Private method - checks if over quota + _isOverQuota() { + return this._pbjsData.over_quota === 1; + }, + + // Private method - returns the ortb2 device type based on WURFL data + _makeOrtb2DeviceType(wurflData) { + if (('is_ott' in wurflData) && (wurflData.is_ott)) { + return ORTB2_DEVICE_TYPE.SET_TOP_BOX; + } + if (('is_console' in wurflData) && (wurflData.is_console)) { + return ORTB2_DEVICE_TYPE.CONNECTED_DEVICE; + } + if (('physical_form_factor' in wurflData) && (wurflData.physical_form_factor === 'out_of_home_device')) { + return ORTB2_DEVICE_TYPE.OOH_DEVICE; + } + if (!('form_factor' in wurflData)) { + return undefined; + } + switch (wurflData.form_factor) { + case 'Desktop': + return ORTB2_DEVICE_TYPE.PERSONAL_COMPUTER; + case 'Smartphone': + return ORTB2_DEVICE_TYPE.PHONE; + case 'Feature Phone': + return ORTB2_DEVICE_TYPE.PHONE; + case 'Tablet': + return ORTB2_DEVICE_TYPE.TABLET; + case 'Smart-TV': + return ORTB2_DEVICE_TYPE.CONNECTED_TV; + case 'Other Non-Mobile': + return ORTB2_DEVICE_TYPE.CONNECTED_DEVICE; + case 'Other Mobile': + return ORTB2_DEVICE_TYPE.MOBILE_OR_TABLET; + default: + return undefined; + } + }, + + // Public API - returns device object for First Party Data (global) + // When under quota: returns device fields + ext.wurfl(basic+pub) + // When over quota: returns device fields only + FPD() { + if (this._device !== null) { + return this._device; + } + + const wd = this._wurflData; + if (!wd) { + this._device = {}; + return this._device; + } + + this._device = { + make: wd.brand_name, + model: wd.model_name, + devicetype: this._makeOrtb2DeviceType(wd), + os: wd.advertised_device_os, + osv: wd.advertised_device_os_version, + hwv: wd.model_name, + h: wd.resolution_height, + w: wd.resolution_width, + ppi: wd.pixel_density, + pxratio: this._toNumber(wd.density_class), + js: this._toNumber(wd.ajax_support_javascript) + }; + + const isOverQuota = this._isOverQuota(); + if (!isOverQuota) { + const basicCaps = this._getBasicCaps(); + const pubCaps = this._getPubCaps(); + this._device.ext = { + wurfl: { + ...basicCaps, + ...pubCaps + } + }; + } + + return this._device; + }, + + // Public API - returns device with bidder-specific ext data + Bidder(bidderCode) { + const isAuthorized = this._isAuthorized(bidderCode); + const isOverQuota = this._isOverQuota(); + + // When unauthorized return empty + if (!isAuthorized) { + return {}; + } + + // Start with empty device, populate only if publisher is over quota + // When over quota, we send device data to each authorized bidder individually + let fpdDevice = {}; + if (isOverQuota) { + fpdDevice = this.FPD(); + } + + if (!this._pbjsData.caps) { + return { device: fpdDevice }; + } + + // For authorized bidders: basic + pub + bidder-specific caps + const wurflData = { + ...(isOverQuota ? this._getBasicCaps() : {}), + ...this._getBidderCaps(bidderCode) + }; + + return { + device: { + ...fpdDevice, + ext: { + wurfl: wurflData + } + } + }; + } +}; +// ==================== END WURFL JS DEVICE MODULE ==================== + +// ==================== WURFL LCE DEVICE MODULE ==================== +const WurflLCEDevice = { + // Private mappings for device detection + _desktopMapping: new Map([ + ['Windows NT', 'Windows'], + ['Macintosh; Intel Mac OS X', 'macOS'], + ['Mozilla/5.0 (X11; Linux', 'Linux'], + ['X11; Ubuntu; Linux x86_64', 'Linux'], + ['Mozilla/5.0 (X11; CrOS', 'ChromeOS'], + ]), + + _tabletMapping: new Map([ + ['iPad; CPU OS ', 'iPadOS'], + ]), + + _smartphoneMapping: new Map([ + ['Android', 'Android'], + ['iPhone; CPU iPhone OS', 'iOS'], + ]), + + _smarttvMapping: new Map([ + ['Web0S', 'LG webOS'], + ['SMART-TV; Linux; Tizen', 'Tizen'], + ]), + + _ottMapping: new Map([ + ['Roku', 'Roku OS'], + ['Xbox', 'Windows'], + ['PLAYSTATION', 'PlayStation OS'], + ['PlayStation', 'PlayStation OS'], + ]), + + _makeMapping: new Map([ + ['motorola', 'Motorola'], + [' moto ', 'Motorola'], + ['Android', 'Generic'], + ['iPad', 'Apple'], + ['iPhone', 'Apple'], + ['Firefox', 'Mozilla'], + ['Edge', 'Microsoft'], + ['Chrome', 'Google'], + ]), + + _modelMapping: new Map([ + ['Android', 'Android'], + ['iPad', 'iPad'], + ['iPhone', 'iPhone'], + ['Firefox', 'Firefox'], + ['Edge', 'Edge'], + ['Chrome', 'Chrome'], + ]), + + // Private helper methods + _parseOsVersion(ua, osName) { + switch (osName) { + case 'Windows': { + const matches = ua.match(/Windows NT ([\d.]+)/); + return matches ? matches[1] : ''; + } + case 'macOS': { + const matches = ua.match(/Mac OS X ([\d_]+)/); + return matches ? matches[1].replace(/_/g, '.') : ''; + } + case 'iOS': { + // iOS 26 specific logic + const matches1 = ua.match(/iPhone; CPU iPhone OS 18[\d_]+ like Mac OS X\).+(?:Version|FBSV)\/(26[\d.]+)/); + if (matches1) { + return matches1[1]; + } + // iOS 18.x and lower + const matches2 = ua.match(/iPhone; CPU iPhone OS ([\d_]+) like Mac OS X/); + return matches2 ? matches2[1].replace(/_/g, '.') : ''; + } + case 'iPadOS': { + // iOS 26 specific logic + const matches1 = ua.match(/iPad; CPU OS 18[\d_]+ like Mac OS X\).+(?:Version|FBSV)\/(26[\d.]+)/); + if (matches1) { + return matches1[1]; + } + // iOS 18.x and lower + const matches2 = ua.match(/iPad; CPU OS ([\d_]+) like Mac OS X/); + return matches2 ? matches2[1].replace(/_/g, '.') : ''; + } + case 'Android': { + // For Android UAs with a decimal + const matches1 = ua.match(/Android ([\d.]+)/); + if (matches1) { + return matches1[1]; + } + // For Android UAs without a decimal + const matches2 = ua.match(/Android ([\d]+)/); + return matches2 ? matches2[1] : ''; + } + case 'ChromeOS': { + const matches = ua.match(/CrOS x86_64 ([\d.]+)/); + return matches ? matches[1] : ''; + } + case 'Tizen': { + const matches = ua.match(/Tizen ([\d.]+)/); + return matches ? matches[1] : ''; + } + case 'Roku OS': { + const matches = ua.match(/Roku\/DVP [\dA-Z]+ [\d.]+\/([\d.]+)/); + return matches ? matches[1] : ''; + } + case 'PlayStation OS': { + // PS4 + const matches1 = ua.match(/PlayStation \d\/([\d.]+)/); + if (matches1) { + return matches1[1]; + } + // PS3 + const matches2 = ua.match(/PLAYSTATION \d ([\d.]+)/); + return matches2 ? matches2[1] : ''; + } + case 'Linux': + case 'LG webOS': + default: + return ''; + } + }, + + _makeDeviceInfo(deviceType, osName, ua) { + return { deviceType, osName, osVersion: this._parseOsVersion(ua, osName) }; + }, + + _getDeviceInfo(ua) { + // Iterate over ottMapping + // Should remove above Desktop + for (const [osToken, osName] of this._ottMapping) { + if (ua.includes(osToken)) { + return this._makeDeviceInfo(ORTB2_DEVICE_TYPE.SET_TOP_BOX, osName, ua); + } + } + // Iterate over desktopMapping + for (const [osToken, osName] of this._desktopMapping) { + if (ua.includes(osToken)) { + return this._makeDeviceInfo(ORTB2_DEVICE_TYPE.PERSONAL_COMPUTER, osName, ua); + } + } + // Iterate over tabletMapping + for (const [osToken, osName] of this._tabletMapping) { + if (ua.includes(osToken)) { + return this._makeDeviceInfo(ORTB2_DEVICE_TYPE.TABLET, osName, ua); + } + } + // Android Tablets + if (ua.includes('Android') && !ua.includes('Mobile Safari') && ua.includes('Safari')) { + return this._makeDeviceInfo(ORTB2_DEVICE_TYPE.TABLET, 'Android', ua); + } + // Iterate over smartphoneMapping + for (const [osToken, osName] of this._smartphoneMapping) { + if (ua.includes(osToken)) { + return this._makeDeviceInfo(ORTB2_DEVICE_TYPE.PHONE, osName, ua); + } + } + // Iterate over smarttvMapping + for (const [osToken, osName] of this._smarttvMapping) { + if (ua.includes(osToken)) { + return this._makeDeviceInfo(ORTB2_DEVICE_TYPE.CONNECTED_TV, osName, ua); + } + } + return { deviceType: '', osName: '', osVersion: '' }; + }, + + _getDevicePixelRatioValue() { + if (window.devicePixelRatio) { + return window.devicePixelRatio; + } + + // Assumes window.screen exists (caller checked) + if (window.screen.deviceXDPI && window.screen.logicalXDPI && window.screen.logicalXDPI > 0) { + return window.screen.deviceXDPI / window.screen.logicalXDPI; + } + + const screenWidth = window.screen.availWidth; + const docWidth = window.document?.documentElement?.clientWidth; + + if (screenWidth && docWidth && docWidth > 0) { + return Math.round(screenWidth / docWidth); + } + + return undefined; + }, + + _getScreenWidth(pixelRatio) { + // Assumes window.screen exists (caller checked) + return Math.round(window.screen.width * pixelRatio); + }, + + _getScreenHeight(pixelRatio) { + // Assumes window.screen exists (caller checked) + return Math.round(window.screen.height * pixelRatio); + }, + + _getMake(ua) { + for (const [makeToken, brandName] of this._makeMapping) { + if (ua.includes(makeToken)) { + return brandName; + } + } + return 'Generic'; + }, + + _getModel(ua) { + for (const [modelToken, modelName] of this._modelMapping) { + if (ua.includes(modelToken)) { + return modelName; + } + } + return ''; + }, + + _getUserAgent() { + return window.navigator?.userAgent || ''; + }, + + _isRobot(useragent) { + const botTokens = ['+http', 'Googlebot', 'BingPreview', 'Yahoo! Slurp']; + for (const botToken of botTokens) { + if (useragent.includes(botToken)) { + return true; + } + } + return false; + }, + + // Public API - returns device object for First Party Data (global) + FPD() { + // Early exit - check window exists + if (typeof window === 'undefined') { + return { js: 1 }; + } + + // Check what globals are available upfront + const hasScreen = !!window.screen; + + const device = { js: 1 }; + const useragent = this._getUserAgent(); + + // Only process UA-dependent properties if we have a UA + if (useragent) { + // Get device info + const deviceInfo = this._getDeviceInfo(useragent); + if (deviceInfo.deviceType !== undefined) { + device.devicetype = deviceInfo.deviceType; + } + if (deviceInfo.osName !== undefined) { + device.os = deviceInfo.osName; + } + if (deviceInfo.osVersion !== undefined) { + device.osv = deviceInfo.osVersion; + } + + // Make/model + const make = this._getMake(useragent); + if (make !== undefined) { + device.make = make; + } + + const model = this._getModel(useragent); + if (model !== undefined) { + device.model = model; + device.hwv = model; + } + } + + // Screen-dependent properties (independent of UA) + if (hasScreen) { + const pixelRatio = this._getDevicePixelRatioValue(); + if (pixelRatio !== undefined) { + device.pxratio = pixelRatio; + + const width = this._getScreenWidth(pixelRatio); + if (width !== undefined) { + device.w = width; + } + + const height = this._getScreenHeight(pixelRatio); + if (height !== undefined) { + device.h = height; + } + } + } + + // Add ext.wurfl with is_robot detection + if (useragent) { + device.ext = { + wurfl: { + is_robot: this._isRobot(useragent) + } + }; + } + + return device; + } +}; +// ==================== END WURFL LCE DEVICE MODULE ==================== + +// ==================== EXPORTED FUNCTIONS ==================== + +/** + * init initializes the WURFL RTD submodule + * @param {Object} config Configuration for WURFL RTD submodule + * @param {Object} userConsent User consent data + */ +const init = (config, userConsent) => { + // Initialize debugger based on global debug flag + WurflDebugger.init(); + + // Initialize module state + bidderEnrichment = new Map(); + enrichmentType = ENRICHMENT_TYPE.UNKNOWN; + wurflId = ''; + samplingRate = DEFAULT_SAMPLING_RATE; + tier = ''; + overQuota = DEFAULT_OVER_QUOTA; + abTest = null; + + // A/B testing: set if enabled + const abTestEnabled = config?.params?.abTest ?? false; + if (abTestEnabled) { + const abName = config?.params?.abName ?? AB_TEST.DEFAULT_NAME; + const abSplit = config?.params?.abSplit ?? AB_TEST.DEFAULT_SPLIT; + const abVariant = getABVariant(abSplit); + abTest = { ab_name: abName, ab_variant: abVariant }; + logger.logMessage(`A/B test "${abName}": user in ${abVariant} group`); + } + + logger.logMessage('initialized', { + version: MODULE_VERSION, + abTest: abTest ? `${abTest.ab_name}:${abTest.ab_variant}` : 'disabled' + }); + return true; } /** - * enrichOrtb2DeviceData enriches the ortb2data device data with WURFL data. - * Note: it does not overrides properties set by Prebid.js - * @param {String} key the device property key - * @param {any} value the value of the device property - * @param {Object} device the ortb2 device object from Prebid.js - * @param {Object} ortb2data the ortb2 device data enrchiced with WURFL data + * getBidRequestData enriches the OpenRTB 2.0 device data with WURFL data + * @param {Object} reqBidsConfigObj Bid request configuration object + * @param {Function} callback Called on completion + * @param {Object} config Configuration for WURFL RTD submodule + * @param {Object} userConsent User consent data */ -function enrichOrtb2DeviceData(key, value, device, ortb2data) { - if (device?.[key] !== undefined) { - // value already defined by Prebid.js, do not overrides +const getBidRequestData = (reqBidsConfigObj, callback, config, userConsent) => { + // Start module execution timing + WurflDebugger.moduleExecutionStart(); + + // Extract bidders from request configuration and set default enrichment + const bidders = new Set(); + reqBidsConfigObj.adUnits.forEach(adUnit => { + adUnit.bids.forEach(bid => { + bidders.add(bid.bidder); + bidderEnrichment.set(bid.bidder, ENRICHMENT_TYPE.UNKNOWN); + }); + }); + + // A/B test: Skip enrichment for control group but allow beacon sending + if (abTest && abTest.ab_variant === AB_TEST.CONTROL_GROUP) { + logger.logMessage('A/B test control group: skipping enrichment'); + enrichmentType = ENRICHMENT_TYPE.NONE; + bidders.forEach(bidder => bidderEnrichment.set(bidder, ENRICHMENT_TYPE.NONE)); + WurflDebugger.moduleExecutionStop(); + callback(); return; } - if (value === undefined) { + + // Priority 1: Check if WURFL.js response is cached + WurflDebugger.cacheReadStart(); + const cachedWurflData = getObjectFromStorage(WURFL_RTD_STORAGE_KEY); + WurflDebugger.cacheReadStop(); + + if (cachedWurflData) { + const isExpired = cachedWurflData.expire_at && Date.now() > cachedWurflData.expire_at; + + WurflDebugger.setDataSource('cache'); + WurflDebugger.setCacheExpired(isExpired); + WurflDebugger.setCacheData(cachedWurflData.WURFL, cachedWurflData.wurfl_pbjs); + + const wjsDevice = WurflJSDevice.fromCache(cachedWurflData); + if (wjsDevice._isOverQuota()) { + enrichmentType = ENRICHMENT_TYPE.NONE; + } else { + enrichDeviceFPD(reqBidsConfigObj, wjsDevice.FPD()); + enrichmentType = ENRICHMENT_TYPE.WURFL_PUB; + } + enrichDeviceBidder(reqBidsConfigObj, bidders, wjsDevice); + + // Store WURFL ID for analytics + wurflId = cachedWurflData.WURFL?.wurfl_id || ''; + + // Store sampling rate for beacon + samplingRate = cachedWurflData.wurfl_pbjs?.sampling_rate ?? DEFAULT_SAMPLING_RATE; + + // Store tier for beacon + tier = cachedWurflData.wurfl_pbjs?.tier ?? ''; + + // Store over_quota for beacon + overQuota = cachedWurflData.wurfl_pbjs?.over_quota ?? DEFAULT_OVER_QUOTA; + + // If expired, refresh cache async + if (isExpired) { + loadWurflJsAsync(config, bidders); + } + + logger.logMessage('enrichment completed', { + type: enrichmentType, + dataSource: 'cache', + cacheExpired: isExpired, + bidders: Object.fromEntries(bidderEnrichment), + totalBidders: bidderEnrichment.size + }); + + WurflDebugger.moduleExecutionStop(); + callback(); return; } - ortb2data.device[key] = value; -} -/** - * toNumber converts a given value to a number. - * Returns `undefined` if the conversion results in `NaN`. - * @param {any} value - The value to convert to a number. - * @returns {number|undefined} The converted number, or `undefined` if the conversion fails. - */ -export function toNumber(value) { - if (value === '' || value === null) { - return undefined; + // Priority 2: return LCE data + WurflDebugger.setDataSource('lce'); + WurflDebugger.lceDetectionStart(); + + let lceDevice; + try { + lceDevice = WurflLCEDevice.FPD(); + enrichmentType = ENRICHMENT_TYPE.LCE; + } catch (e) { + logger.logError('Error generating LCE device data:', e); + lceDevice = { js: 1 }; + enrichmentType = ENRICHMENT_TYPE.LCE_ERROR; } - const num = Number(value); - return Number.isNaN(num) ? undefined : num; + + WurflDebugger.lceDetectionStop(); + WurflDebugger.setLceData(lceDevice); + enrichDeviceFPD(reqBidsConfigObj, lceDevice); + + // Set enrichment type for all bidders + bidders.forEach(bidder => bidderEnrichment.set(bidder, enrichmentType)); + + // Set default sampling rate for LCE + samplingRate = DEFAULT_SAMPLING_RATE; + + // Set default tier for LCE + tier = ''; + + // Set default over_quota for LCE + overQuota = DEFAULT_OVER_QUOTA; + + // Load WURFL.js async for future requests + loadWurflJsAsync(config, bidders); + + logger.logMessage('enrichment completed', { + type: enrichmentType, + dataSource: 'lce', + bidders: Object.fromEntries(bidderEnrichment), + totalBidders: bidderEnrichment.size + }); + + WurflDebugger.moduleExecutionStop(); + callback(); } /** @@ -266,23 +1235,130 @@ export function toNumber(value) { * @param {Object} userConsent User consent data */ function onAuctionEndEvent(auctionDetails, config, userConsent) { - const altHost = config.params?.altHost ?? null; + // Apply sampling + if (!shouldSample(samplingRate)) { + logger.logMessage(`beacon skipped due to sampling (rate: ${samplingRate}%)`); + return; + } - let host = WURFL_JS_HOST; - if (altHost) { - host = altHost; + const statsHost = config.params?.statsHost ?? null; + + let host = STATS_HOST; + if (statsHost) { + host = statsHost; } const url = new URL(host); url.pathname = STATS_ENDPOINT_PATH; - if (enrichedBidders.size === 0) { + // Calculate consent class + let consentClass; + try { + consentClass = getConsentClass(userConsent); + logger.logMessage('consent class', consentClass); + } catch (e) { + logger.logError('Error calculating consent class:', e); + consentClass = CONSENT_CLASS.ERROR; + } + + // Only send beacon if there are bids to report + if (!auctionDetails.bidsReceived || auctionDetails.bidsReceived.length === 0) { + logger.logMessage('auction completed - no bids received'); return; } - var payload = JSON.stringify({ bidders: [...enrichedBidders] }); + // Build a lookup object for winning bid request IDs + const winningBids = getGlobal().getHighestCpmBids() || []; + const winningBidIds = {}; + for (let i = 0; i < winningBids.length; i++) { + const bid = winningBids[i]; + winningBidIds[bid.requestId] = true; + } + + // Build a lookup object for bid responses: "adUnitCode:bidderCode" -> bid + const bidResponseMap = {}; + for (let i = 0; i < auctionDetails.bidsReceived.length; i++) { + const bid = auctionDetails.bidsReceived[i]; + const adUnitCode = bid.adUnitCode; + const bidderCode = bid.bidderCode || bid.bidder; + const key = adUnitCode + ':' + bidderCode; + bidResponseMap[key] = bid; + } + + // Build ad units array with all bidders (including non-responders) + const adUnits = []; + + if (auctionDetails.adUnits) { + for (let i = 0; i < auctionDetails.adUnits.length; i++) { + const adUnit = auctionDetails.adUnits[i]; + const adUnitCode = adUnit.code; + const bidders = []; + + // Check each bidder configured for this ad unit + for (let j = 0; j < adUnit.bids.length; j++) { + const bidConfig = adUnit.bids[j]; + const bidderCode = bidConfig.bidder; + const key = adUnitCode + ':' + bidderCode; + const bidResponse = bidResponseMap[key]; + + if (bidResponse) { + // Bidder responded - include full data + const isWinner = winningBidIds[bidResponse.requestId] === true; + bidders.push({ + bidder: bidderCode, + bdr_enrich: bidderEnrichment.get(bidderCode), + cpm: bidResponse.cpm, + currency: bidResponse.currency, + won: isWinner + }); + } else { + // Bidder didn't respond - include without cpm/currency + bidders.push({ + bidder: bidderCode, + bdr_enrich: bidderEnrichment.get(bidderCode), + won: false + }); + } + } + + adUnits.push({ + ad_unit_code: adUnitCode, + bidders: bidders + }); + } + } + + logger.logMessage('auction completed', { + bidsReceived: auctionDetails.bidsReceived.length, + bidsWon: winningBids.length, + adUnits: adUnits.length + }); + + // Build complete payload + const payloadData = { + version: MODULE_VERSION, + domain: typeof window !== 'undefined' ? window.location.hostname : '', + path: typeof window !== 'undefined' ? window.location.pathname : '', + sampling_rate: samplingRate, + enrichment: enrichmentType, + wurfl_id: wurflId, + tier: tier, + over_quota: overQuota, + consent_class: consentClass, + ad_units: adUnits + }; + + // Add A/B test fields if enabled + if (abTest) { + payloadData.ab_name = abTest.ab_name; + payloadData.ab_variant = abTest.ab_variant; + } + + const payload = JSON.stringify(payloadData); + const sentBeacon = sendBeacon(url.toString(), payload); if (sentBeacon) { + WurflDebugger.setBeaconPayload(JSON.parse(payload)); return; } @@ -292,8 +1368,12 @@ function onAuctionEndEvent(auctionDetails, config, userConsent) { mode: 'no-cors', keepalive: true }); + + WurflDebugger.setBeaconPayload(JSON.parse(payload)); } +// ==================== MODULE EXPORT ==================== + // The WURFL submodule export const wurflSubmodule = { name: MODULE_NAME, diff --git a/modules/wurflRtdProvider.md b/modules/wurflRtdProvider.md index abee06c02e7..551cf2f0792 100644 --- a/modules/wurflRtdProvider.md +++ b/modules/wurflRtdProvider.md @@ -13,6 +13,8 @@ The module sets the WURFL data in `device.ext.wurfl` and all the bidder adapters For a more detailed analysis bidders can subscribe to detect iPhone and iPad models and receive additional [WURFL device capabilities](https://www.scientiamobile.com/capabilities/?products%5B%5D=wurfl-js). +**Note:** This module loads a dynamically generated JavaScript from prebid.wurflcloud.com + ## User-Agent Client Hints WURFL.js is fully compatible with Chromium's User-Agent Client Hints (UA-CH) initiative. If User-Agent Client Hints are absent in the HTTP headers that WURFL.js receives, the service will automatically fall back to using the User-Agent Client Hints' JS API to fetch [high entropy client hint values](https://wicg.github.io/ua-client-hints/#getHighEntropyValues) from the client device. However, we recommend that you explicitly opt-in/advertise support for User-Agent Client Hints on your website and delegate them to the WURFL.js service for the fastest detection experience. Our documentation regarding implementing User-Agent Client Hint support [is available here](https://docs.scientiamobile.com/guides/implementing-useragent-clienthints). @@ -20,6 +22,7 @@ WURFL.js is fully compatible with Chromium's User-Agent Client Hints (UA-CH) ini ## Usage ### Build + ``` gulp build --modules="wurflRtdProvider,appnexusBidAdapter,..." ``` @@ -33,28 +36,56 @@ This module is configured as part of the `realTimeData.dataProviders` ```javascript var TIMEOUT = 1000; pbjs.setConfig({ - realTimeData: { - auctionDelay: TIMEOUT, - dataProviders: [{ - name: 'wurfl', - waitForIt: true, - params: { - debug: false - } - }] - } + realTimeData: { + auctionDelay: TIMEOUT, + dataProviders: [ + { + name: "wurfl", + }, + ], + }, }); ``` ### Parameters -| Name | Type | Description | Default | -| :------------------------ | :------------ | :--------------------------------------------------------------- |:----------------- | -| name | String | Real time data module name | Always 'wurfl' | -| waitForIt | Boolean | Should be `true` if there's an `auctionDelay` defined (optional) | `false` | -| params | Object | | | -| params.altHost | String | Alternate host to connect to WURFL.js | | -| params.debug | Boolean | Enable debug | `false` | +| Name | Type | Description | Default | +| :------------- | :------ | :--------------------------------------------------------------- | :------------- | +| name | String | Real time data module name | Always 'wurfl' | +| waitForIt | Boolean | Should be `true` if there's an `auctionDelay` defined (optional) | `false` | +| params | Object | | | +| params.altHost | String | Alternate host to connect to WURFL.js | | +| params.abTest | Boolean | Enable A/B testing mode | `false` | +| params.abName | String | A/B test name identifier | `'unknown'` | +| params.abSplit | Number | Fraction of users in treatment group (0-1) | `0.5` | + +### A/B Testing + +The WURFL RTD module supports A/B testing to measure the impact of WURFL enrichment on ad performance: + +```javascript +pbjs.setConfig({ + realTimeData: { + auctionDelay: 1000, + dataProviders: [ + { + name: "wurfl", + waitForIt: true, + params: { + abTest: true, + abName: "pub_test_sept23", + abSplit: 0.5, // 50% treatment, 50% control + }, + }, + ], + }, +}); +``` + +- **Treatment group** (`abSplit` \* 100%): Module enabled, bid requests enriched with WURFL device data +- **Control group** ((1 - `abSplit`) \* 100%): Module disabled, no enrichment occurs +- Assignment is random on each page load based on `Math.random()` +- Example: `abSplit: 0.75` means 75% get WURFL enrichment, 25% don't ## Testing diff --git a/test/spec/modules/wurflRtdProvider_spec.js b/test/spec/modules/wurflRtdProvider_spec.js index fa6ea2e642f..371d8cde95f 100644 --- a/test/spec/modules/wurflRtdProvider_spec.js +++ b/test/spec/modules/wurflRtdProvider_spec.js @@ -1,24 +1,41 @@ import { - bidderData, - enrichBidderRequest, - lowEntropyData, wurflSubmodule, - makeOrtb2DeviceType, - toNumber, + storage } from 'modules/wurflRtdProvider'; import * as ajaxModule from 'src/ajax'; import { loadExternalScriptStub } from 'test/mocks/adloaderStub.js'; +import * as prebidGlobalModule from 'src/prebidGlobal.js'; +import { guardOrtb2Fragments } from 'libraries/objectGuard/ortbGuard.js'; +import { config } from 'src/config.js'; describe('wurflRtdProvider', function () { describe('wurflSubmodule', function () { const altHost = 'http://example.local/wurfl.js'; + // Global cleanup to ensure debug config doesn't leak between tests + afterEach(function () { + config.resetConfig(); + }); + const wurfl_pbjs = { - low_entropy_caps: ['is_mobile', 'complete_device_name', 'form_factor'], - caps: ['advertised_browser', 'advertised_browser_version', 'advertised_device_os', 'advertised_device_os_version', 'ajax_support_javascript', 'brand_name', 'complete_device_name', 'density_class', 'form_factor', 'is_android', 'is_app_webview', 'is_connected_tv', 'is_full_desktop', 'is_ios', 'is_mobile', 'is_ott', 'is_phone', 'is_robot', 'is_smartphone', 'is_smarttv', 'is_tablet', 'manufacturer_name', 'marketing_name', 'max_image_height', 'max_image_width', 'model_name', 'physical_screen_height', 'physical_screen_width', 'pixel_density', 'pointing_method', 'resolution_height', 'resolution_width'], - authorized_bidders: { - bidder1: [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31], - bidder2: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 21, 25, 28, 30, 31] + caps: ['wurfl_id', 'advertised_browser', 'advertised_browser_version', 'advertised_device_os', 'advertised_device_os_version', 'ajax_support_javascript', 'brand_name', 'complete_device_name', 'density_class', 'form_factor', 'is_android', 'is_app_webview', 'is_connected_tv', 'is_full_desktop', 'is_ios', 'is_mobile', 'is_ott', 'is_phone', 'is_robot', 'is_smartphone', 'is_smarttv', 'is_tablet', 'manufacturer_name', 'marketing_name', 'max_image_height', 'max_image_width', 'model_name', 'physical_screen_height', 'physical_screen_width', 'pixel_density', 'pointing_method', 'resolution_height', 'resolution_width'], + over_quota: 0, + sampling_rate: 100, + global: { + basic_set: { + cap_indices: [0, 9, 15, 16, 17, 18, 32] + }, + publisher: { + cap_indices: [1, 2, 3, 4, 5] + } + }, + bidders: { + bidder1: { + cap_indices: [6, 7, 8, 10, 11, 26, 27] + }, + bidder2: { + cap_indices: [12, 13, 14, 19, 20, 21, 22] + } } } const WURFL = { @@ -58,10 +75,12 @@ describe('wurflRtdProvider', function () { }; // expected analytics values - const expectedStatsURL = 'https://prebid.wurflcloud.com/v1/prebid/stats'; + const expectedStatsURL = 'https://stats.prebid.wurflcloud.com/v2/prebid/stats'; const expectedData = JSON.stringify({ bidders: ['bidder1', 'bidder2'] }); let sandbox; + // originalUserAgentData to restore after tests + let originalUAData; beforeEach(function () { sandbox = sinon.createSandbox(); @@ -69,12 +88,19 @@ describe('wurflRtdProvider', function () { init: new Promise(function (resolve, reject) { resolve({ WURFL, wurfl_pbjs }) }), complete: new Promise(function (resolve, reject) { resolve({ WURFL, wurfl_pbjs }) }), }; + originalUAData = window.navigator.userAgentData; + // Initialize module with clean state for each test + wurflSubmodule.init({ params: {} }); }); afterEach(() => { // Restore the original functions sandbox.restore(); window.WURFLPromises = undefined; + Object.defineProperty(window.navigator, 'userAgentData', { + value: originalUAData, + configurable: true, + }); }); // Bid request config @@ -94,396 +120,1860 @@ describe('wurflRtdProvider', function () { } }; + // Client Hints tests + describe('Client Hints support', () => { + it('should collect and send client hints when available', (done) => { + const clock = sinon.useFakeTimers(); + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // Mock Client Hints + const mockClientHints = { + architecture: 'arm', + bitness: '64', + model: 'Pixel 5', + platformVersion: '13.0.0', + uaFullVersion: '130.0.6723.58', + fullVersionList: [ + { brand: 'Chromium', version: '130.0.6723.58' } + ] + }; + + const getHighEntropyValuesStub = sandbox.stub().resolves(mockClientHints); + Object.defineProperty(navigator, 'userAgentData', { + value: { getHighEntropyValues: getHighEntropyValuesStub }, + configurable: true, + writable: true + }); + + // Empty cache to trigger async load + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const callback = async () => { + // Verify client hints were requested + expect(getHighEntropyValuesStub.calledOnce).to.be.true; + expect(getHighEntropyValuesStub.calledWith( + ['architecture', 'bitness', 'model', 'platformVersion', 'uaFullVersion', 'fullVersionList'] + )).to.be.true; + + try { + // Use tickAsync to properly handle promise microtasks + await clock.tickAsync(1); + + // Now verify WURFL.js was loaded with client hints in URL + expect(loadExternalScriptStub.called).to.be.true; + const scriptUrl = loadExternalScriptStub.getCall(0).args[0]; + + const url = new URL(scriptUrl); + const uachParam = url.searchParams.get('uach'); + expect(uachParam).to.not.be.null; + + const parsedHints = JSON.parse(uachParam); + expect(parsedHints).to.deep.equal(mockClientHints); + + clock.restore(); + done(); + } catch (err) { + clock.restore(); + done(err); + } + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }) + it('should load WURFL.js without client hints when not available', (done) => { + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // No client hints available + Object.defineProperty(navigator, 'userAgentData', { + value: undefined, + configurable: true, + writable: true + }); + + // Empty cache to trigger async load + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const callback = () => { + // Verify WURFL.js was loaded without uach parameter + expect(loadExternalScriptStub.calledOnce).to.be.true; + const scriptUrl = loadExternalScriptStub.getCall(0).args[0]; + + const url = new URL(scriptUrl); + const uachParam = url.searchParams.get('uach'); + expect(uachParam).to.be.null; + + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + }); + + // TTL handling tests + describe('TTL handling', () => { + it('should use valid (not expired) cached data without triggering async load', (done) => { + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // Setup cache with valid TTL (expires in future) + const futureExpiry = Date.now() + 1000000; // expires in future + const cachedData = { + WURFL, + wurfl_pbjs: { ...wurfl_pbjs, ttl: 2592000 }, + expire_at: futureExpiry + }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const callback = () => { + // Verify global FPD enrichment happened (not over quota) + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.deep.include({ + make: 'Google', + model: 'Nexus 5', + devicetype: 4 + }); + + // Verify no async load was triggered (cache is valid) + expect(loadExternalScriptStub.called).to.be.false; + + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should use expired cached data and trigger async refresh (without Client Hints)', (done) => { + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + Object.defineProperty(navigator, 'userAgentData', { + value: undefined, + configurable: true, + writable: true + }); + // Setup cache with expired TTL + const pastExpiry = Date.now() - 1000; // expired 1 second ago + const cachedData = { + WURFL, + wurfl_pbjs: { ...wurfl_pbjs, ttl: 2592000 }, + expire_at: pastExpiry + }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const callback = () => { + // Verify expired cache data is still used for enrichment + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.deep.include({ + make: 'Google', + model: 'Nexus 5', + devicetype: 4 + }); + + // Verify bidders were enriched + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder1).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder2).to.exist; + + // Verify async load WAS triggered for refresh (cache expired) + expect(loadExternalScriptStub.calledOnce).to.be.true; + + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + }); + + // Debug mode initialization tests + describe('Debug mode', () => { + afterEach(() => { + // Clean up window object after each test + delete window.WurflRtdDebug; + // Reset global config + config.resetConfig(); + }); + + it('should not create window.WurflRtdDebug when global debug=false', () => { + config.setConfig({ debug: false }); + const moduleConfig = { params: {} }; + wurflSubmodule.init(moduleConfig); + expect(window.WurflRtdDebug).to.be.undefined; + }); + + it('should not create window.WurflRtdDebug when global debug is not configured', () => { + config.resetConfig(); + const moduleConfig = { params: {} }; + wurflSubmodule.init(moduleConfig); + expect(window.WurflRtdDebug).to.be.undefined; + }); + + it('should create window.WurflRtdDebug when global debug=true', () => { + config.setConfig({ debug: true }); + const moduleConfig = { params: {} }; + wurflSubmodule.init(moduleConfig); + expect(window.WurflRtdDebug).to.exist; + expect(window.WurflRtdDebug.dataSource).to.equal('unknown'); + expect(window.WurflRtdDebug.cacheExpired).to.be.false; + }); + }); + it('initialises the WURFL RTD provider', function () { expect(wurflSubmodule.init()).to.be.true; }); - it('should enrich the bid request data', (done) => { + describe('A/B testing', () => { + it('should return true when A/B testing is disabled', () => { + const config = { params: { abTest: false } }; + expect(wurflSubmodule.init(config)).to.be.true; + }); + + it('should return true when A/B testing is not configured', () => { + const config = { params: {} }; + expect(wurflSubmodule.init(config)).to.be.true; + }); + + it('should return true for users in treatment group (random < abSplit)', () => { + sandbox.stub(Math, 'random').returns(0.25); // 0.25 < 0.5 = treatment + const config = { params: { abTest: true, abName: 'test_sept', abSplit: 0.5 } }; + expect(wurflSubmodule.init(config)).to.be.true; + }); + + it('should return true for users in control group (random >= abSplit)', () => { + sandbox.stub(Math, 'random').returns(0.75); // 0.75 >= 0.5 = control + const config = { params: { abTest: true, abName: 'test_sept', abSplit: 0.5 } }; + expect(wurflSubmodule.init(config)).to.be.true; + }); + + it('should use default abSplit of 0.5 when not specified', () => { + sandbox.stub(Math, 'random').returns(0.40); // 0.40 < 0.5 = treatment + const config = { params: { abTest: true, abName: 'test_sept' } }; + expect(wurflSubmodule.init(config)).to.be.true; + }); + + it('should handle abSplit of 0 (all control)', () => { + sandbox.stub(Math, 'random').returns(0.01); // split <= 0 = control + const config = { params: { abTest: true, abName: 'test_sept', abSplit: 0 } }; + expect(wurflSubmodule.init(config)).to.be.true; + }); + + it('should handle abSplit of 1 (all treatment)', () => { + sandbox.stub(Math, 'random').returns(0.99); // split >= 1 = treatment + const config = { params: { abTest: true, abName: 'test_sept', abSplit: 1 } }; + expect(wurflSubmodule.init(config)).to.be.true; + }); + + it('should skip enrichment for control group in getBidRequestData', (done) => { + sandbox.stub(Math, 'random').returns(0.75); // Control group + const config = { params: { abTest: true, abName: 'test_sept', abSplit: 0.5 } }; + + // Initialize with A/B test config + wurflSubmodule.init(config); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + // Control group should not enrich + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.deep.equal({}); + expect(reqBidsConfigObj.ortb2Fragments.bidder).to.deep.equal({}); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should send beacon with ab_name and ab_variant for treatment group', (done) => { + sandbox.stub(Math, 'random').returns(0.25); // Treatment group + const config = { params: { abTest: true, abName: 'test_sept', abSplit: 0.5 } }; + + // Initialize with A/B test config + wurflSubmodule.init(config); + + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, null); + + expect(sendBeaconStub.calledOnce).to.be.true; + const beaconCall = sendBeaconStub.getCall(0); + const payload = JSON.parse(beaconCall.args[1]); + expect(payload).to.have.property('ab_name', 'test_sept'); + expect(payload).to.have.property('ab_variant', 'treatment'); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should send beacon with ab_name and ab_variant for control group', (done) => { + sandbox.stub(Math, 'random').returns(0.75); // Control group + const config = { params: { abTest: true, abName: 'test_sept', abSplit: 0.5 } }; + + // Initialize with A/B test config + wurflSubmodule.init(config); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, null); + + expect(sendBeaconStub.calledOnce).to.be.true; + const beaconCall = sendBeaconStub.getCall(0); + const payload = JSON.parse(beaconCall.args[1]); + expect(payload).to.have.property('ab_name', 'test_sept'); + expect(payload).to.have.property('ab_variant', 'control'); + expect(payload).to.have.property('enrichment', 'none'); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + }); + + it('should enrich multiple bidders with cached WURFL data (not over quota)', (done) => { + // Reset reqBidsConfigObj to clean state + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // Setup localStorage with cached WURFL data + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const callback = () => { + // Verify global FPD has device data (not over quota) + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.deep.include({ + make: 'Google', + model: 'Nexus 5', + devicetype: 4, + os: 'Android', + osv: '6.0', + hwv: 'Nexus 5', + h: 1920, + w: 1080, + ppi: 443, + pxratio: 3.0, + js: 1 + }); + + // Verify global has ext.wurfl with basic+pub capabilities (new behavior) + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl).to.exist; + + // Calculate expected basic+pub caps + const basicIndices = wurfl_pbjs.global.basic_set.cap_indices; + const pubIndices = wurfl_pbjs.global.publisher.cap_indices; + const allBasicPubIndices = [...new Set([...basicIndices, ...pubIndices])]; + const expectedBasicPubCaps = {}; + allBasicPubIndices.forEach(index => { + const capName = wurfl_pbjs.caps[index]; + if (capName && capName in WURFL) { + expectedBasicPubCaps[capName] = WURFL[capName]; + } + }); + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl).to.deep.equal(expectedBasicPubCaps); + + // Under quota, authorized bidders: should get only bidder-specific caps (delta) + const bidder1Indices = wurfl_pbjs.bidders.bidder1.cap_indices; + const expectedBidder1Caps = {}; + bidder1Indices.forEach(index => { + const capName = wurfl_pbjs.caps[index]; + if (capName && capName in WURFL) { + expectedBidder1Caps[capName] = WURFL[capName]; + } + }); + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder1.device.ext.wurfl).to.deep.equal(expectedBidder1Caps); + + const bidder2Indices = wurfl_pbjs.bidders.bidder2.cap_indices; + const expectedBidder2Caps = {}; + bidder2Indices.forEach(index => { + const capName = wurfl_pbjs.caps[index]; + if (capName && capName in WURFL) { + expectedBidder2Caps[capName] = WURFL[capName]; + } + }); + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder2.device.ext.wurfl).to.deep.equal(expectedBidder2Caps); + + // bidder3 is NOT authorized, should get empty object (inherits from global) + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder3).to.not.exist; + + done(); + }; + + const config = { params: {} }; + const userConsent = {}; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, userConsent); + }); + + it('should use LCE data when cache is empty and load WURFL.js async', (done) => { + // Reset reqBidsConfigObj to clean state + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // Setup empty cache + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + // Set global debug flag + config.setConfig({ debug: true }); + const expectedURL = new URL(altHost); - expectedURL.searchParams.set('debug', true); - expectedURL.searchParams.set('mode', 'prebid'); - expectedURL.searchParams.set('wurfl_id', true); + expectedURL.searchParams.set('debug', 'true'); + expectedURL.searchParams.set('mode', 'prebid2'); + expectedURL.searchParams.set('bidders', 'bidder1,bidder2,bidder3'); const callback = () => { - const v = { - bidder1: { - device: { - make: 'Google', - model: 'Nexus 5', - devicetype: 1, - os: 'Android', - osv: '6.0', - hwv: 'Nexus 5', - h: 1920, - w: 1080, - ppi: 443, - pxratio: 3.0, - js: 1, - ext: { - wurfl: { - advertised_browser: 'Chrome Mobile', - advertised_browser_version: '130.0.0.0', - advertised_device_os: 'Android', - advertised_device_os_version: '6.0', - ajax_support_javascript: !0, - brand_name: 'Google', - complete_device_name: 'Google Nexus 5', - density_class: '3.0', - form_factor: 'Feature Phone', - is_app_webview: !1, - is_connected_tv: !1, - is_full_desktop: !1, - is_mobile: !0, - is_ott: !1, - is_phone: !0, - is_robot: !1, - is_smartphone: !1, - is_smarttv: !1, - is_tablet: !1, - manufacturer_name: 'LG', - marketing_name: '', - max_image_height: 640, - max_image_width: 360, - model_name: 'Nexus 5', - physical_screen_height: 110, - physical_screen_width: 62, - pixel_density: 443, - pointing_method: 'touchscreen', - resolution_height: 1920, - resolution_width: 1080, - wurfl_id: 'lg_nexus5_ver1', - }, - }, - }, - }, - bidder2: { - device: { - make: 'Google', - model: 'Nexus 5', - devicetype: 1, - os: 'Android', - osv: '6.0', - hwv: 'Nexus 5', - h: 1920, - w: 1080, - ppi: 443, - pxratio: 3.0, - js: 1, - ext: { - wurfl: { - advertised_device_os: 'Android', - advertised_device_os_version: '6.0', - ajax_support_javascript: !0, - brand_name: 'Google', - complete_device_name: 'Google Nexus 5', - density_class: '3.0', - form_factor: 'Feature Phone', - is_android: !0, - is_app_webview: !1, - is_connected_tv: !1, - is_full_desktop: !1, - is_ios: !1, - is_mobile: !0, - is_ott: !1, - is_phone: !0, - is_tablet: !1, - manufacturer_name: 'LG', - model_name: 'Nexus 5', - pixel_density: 443, - resolution_height: 1920, - resolution_width: 1080, - wurfl_id: 'lg_nexus5_ver1', - }, - }, - }, - }, - bidder3: { - device: { - make: 'Google', - model: 'Nexus 5', - ext: { - wurfl: { - complete_device_name: 'Google Nexus 5', - form_factor: 'Feature Phone', - is_mobile: !0, - model_name: 'Nexus 5', - brand_name: 'Google', - wurfl_id: 'lg_nexus5_ver1', - }, - }, - }, - }, - }; - expect(reqBidsConfigObj.ortb2Fragments.bidder).to.deep.equal(v); + // Verify global FPD has LCE device data + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.global.device.js).to.equal(1); + + // Verify ext.wurfl.is_robot is set + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl.is_robot).to.be.false; + + // No bidder enrichment should occur without cached WURFL data + expect(reqBidsConfigObj.ortb2Fragments.bidder).to.deep.equal({}); + done(); }; - const config = { + const moduleConfig = { params: { altHost: altHost, - debug: true, } }; const userConsent = {}; - wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, userConsent); + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, moduleConfig, userConsent); + + // Verify WURFL.js is loaded async for future requests expect(loadExternalScriptStub.calledOnce).to.be.true; const loadExternalScriptCall = loadExternalScriptStub.getCall(0); expect(loadExternalScriptCall.args[0]).to.equal(expectedURL.toString()); expect(loadExternalScriptCall.args[2]).to.equal('wurfl'); }); - it('onAuctionEndEvent: should send analytics data using navigator.sendBeacon, if available', () => { - const auctionDetails = {}; - const config = {}; - const userConsent = {}; + describe('LCE bot detection', () => { + let originalUserAgent; - const sendBeaconStub = sandbox.stub(navigator, 'sendBeacon'); + beforeEach(() => { + // Setup empty cache to trigger LCE + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); - // Call the function - wurflSubmodule.onAuctionEndEvent(auctionDetails, config, userConsent); + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; - // Assertions - expect(sendBeaconStub.calledOnce).to.be.true; - expect(sendBeaconStub.calledWithExactly(expectedStatsURL, expectedData)).to.be.true; - }); + // Save original userAgent + originalUserAgent = navigator.userAgent; + }); - it('onAuctionEndEvent: should send analytics data using fetch as fallback, if navigator.sendBeacon is not available', () => { - const auctionDetails = {}; - const config = {}; - const userConsent = {}; + afterEach(() => { + // Restore original userAgent + Object.defineProperty(navigator, 'userAgent', { + value: originalUserAgent, + configurable: true, + writable: true + }); + }); - const sendBeaconStub = sandbox.stub(navigator, 'sendBeacon').value(undefined); - const windowFetchStub = sandbox.stub(window, 'fetch'); - const fetchAjaxStub = sandbox.stub(ajaxModule, 'fetch'); + it('should detect Googlebot and set is_robot to true', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)', + configurable: true, + writable: true + }); + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl.is_robot).to.be.true; + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should detect BingPreview and set is_robot to true', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534+ (KHTML, like Gecko) BingPreview/1.0b', + configurable: true, + writable: true + }); + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl.is_robot).to.be.true; + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should detect Yahoo! Slurp and set is_robot to true', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)', + configurable: true, + writable: true + }); + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl.is_robot).to.be.true; + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should detect +http bot token and set is_robot to true', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'SomeBot/1.0 (+http://example.com/bot)', + configurable: true, + writable: true + }); + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl.is_robot).to.be.true; + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); - // Call the function - wurflSubmodule.onAuctionEndEvent(auctionDetails, config, userConsent); + it('should set is_robot to false for regular Chrome user agent', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36', + configurable: true, + writable: true + }); - // Assertions - expect(sendBeaconStub.called).to.be.false; + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl.is_robot).to.be.false; + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should set is_robot to false for regular mobile Safari user agent', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1', + configurable: true, + writable: true + }); - expect(fetchAjaxStub.calledOnce).to.be.true; - const fetchAjaxCall = fetchAjaxStub.getCall(0); - expect(fetchAjaxCall.args[0]).to.equal(expectedStatsURL); - expect(fetchAjaxCall.args[1].method).to.equal('POST'); - expect(fetchAjaxCall.args[1].body).to.equal(expectedData); - expect(fetchAjaxCall.args[1].mode).to.equal('no-cors'); + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl.is_robot).to.be.false; + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); }); - }); - describe('bidderData', () => { - it('should return the WURFL data for a bidder', () => { - const wjsData = { - capability1: 'value1', - capability2: 'value2', - capability3: 'value3', + it('should enrich only bidders when over quota', (done) => { + // Reset reqBidsConfigObj to clean state + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // Setup localStorage with cached WURFL data (over quota) + const wurfl_pbjs_over_quota = { + ...wurfl_pbjs, + over_quota: 1 }; - const caps = ['capability1', 'capability2', 'capability3']; - const filter = [0, 2]; + const cachedData = { WURFL, wurfl_pbjs: wurfl_pbjs_over_quota }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); - const result = bidderData(wjsData, caps, filter); + const callback = () => { + // Verify global FPD does NOT have device data (over quota) + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.deep.equal({}); - expect(result).to.deep.equal({ - capability1: 'value1', - capability3: 'value3', - }); + // Over quota, authorized bidders: should get basic + bidder-specific (NO pub) + // bidder1 should get device fields + ext.wurfl with basic + bidder1-specific + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder1.device).to.deep.include({ + make: 'Google', + model: 'Nexus 5', + devicetype: 4, + os: 'Android', + osv: '6.0', + hwv: 'Nexus 5', + h: 1920, + w: 1080, + ppi: 443, + pxratio: 3.0, + js: 1 + }); + const basicIndices = wurfl_pbjs_over_quota.global.basic_set.cap_indices; + const bidder1Indices = wurfl_pbjs_over_quota.bidders.bidder1.cap_indices; + const allBidder1Indices = [...new Set([...basicIndices, ...bidder1Indices])]; + const expectedBidder1AllCaps = {}; + allBidder1Indices.forEach(index => { + const capName = wurfl_pbjs_over_quota.caps[index]; + if (capName && capName in WURFL) { + expectedBidder1AllCaps[capName] = WURFL[capName]; + } + }); + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder1.device.ext.wurfl).to.deep.equal(expectedBidder1AllCaps); + + // bidder2 should get device fields + ext.wurfl with basic + bidder2-specific + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder2.device).to.deep.include({ + make: 'Google', + model: 'Nexus 5', + devicetype: 4, + os: 'Android', + osv: '6.0', + hwv: 'Nexus 5', + h: 1920, + w: 1080, + ppi: 443, + pxratio: 3.0, + js: 1 + }); + const bidder2Indices = wurfl_pbjs_over_quota.bidders.bidder2.cap_indices; + const allBidder2Indices = [...new Set([...basicIndices, ...bidder2Indices])]; + const expectedBidder2AllCaps = {}; + allBidder2Indices.forEach(index => { + const capName = wurfl_pbjs_over_quota.caps[index]; + if (capName && capName in WURFL) { + expectedBidder2AllCaps[capName] = WURFL[capName]; + } + }); + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder2.device.ext.wurfl).to.deep.equal(expectedBidder2AllCaps); + + // bidder3 is NOT authorized, should get nothing + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder3).to.be.undefined; + + done(); + }; + + const config = { params: {} }; + const userConsent = {}; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, userConsent); }); - it('should return an empty object if the filter is empty', () => { - const wjsData = { - capability1: 'value1', - capability2: 'value2', - capability3: 'value3', + it('should initialize ortb2Fragments.bidder when undefined and enrich authorized bidders (over quota)', (done) => { + // Test the fix for ortb2Fragments.bidder being undefined + reqBidsConfigObj.ortb2Fragments.global.device = {}; + // Explicitly set bidder to undefined to simulate the race condition + reqBidsConfigObj.ortb2Fragments.bidder = undefined; + + // Setup localStorage with cached WURFL data (over quota) + const wurfl_pbjs_over_quota = { + ...wurfl_pbjs, + over_quota: 1 }; - const caps = ['capability1', 'capability3']; - const filter = []; + const cachedData = { WURFL, wurfl_pbjs: wurfl_pbjs_over_quota }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); - const result = bidderData(wjsData, caps, filter); + const callback = () => { + // Verify ortb2Fragments.bidder was properly initialized + expect(reqBidsConfigObj.ortb2Fragments.bidder).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.bidder).to.be.an('object'); + + // Verify global FPD does NOT have device data (over quota) + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.deep.equal({}); + + // Over quota, authorized bidders: should get basic + pub + bidder-specific caps (ALL) + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder1).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder1.device).to.deep.include({ + make: 'Google', + model: 'Nexus 5', + devicetype: 4, + os: 'Android', + osv: '6.0', + hwv: 'Nexus 5', + h: 1920, + w: 1080, + ppi: 443, + pxratio: 3.0, + js: 1 + }); + const basicIndices = wurfl_pbjs_over_quota.global.basic_set.cap_indices; + const bidder1Indices = wurfl_pbjs_over_quota.bidders.bidder1.cap_indices; + const allBidder1Indices = [...new Set([...basicIndices, ...bidder1Indices])]; + const expectedBidder1AllCaps = {}; + allBidder1Indices.forEach(index => { + const capName = wurfl_pbjs_over_quota.caps[index]; + if (capName && capName in WURFL) { + expectedBidder1AllCaps[capName] = WURFL[capName]; + } + }); + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder1.device.ext.wurfl).to.deep.equal(expectedBidder1AllCaps); + + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder2).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder2.device).to.deep.include({ + make: 'Google', + model: 'Nexus 5', + devicetype: 4 + }); + const bidder2Indices = wurfl_pbjs_over_quota.bidders.bidder2.cap_indices; + const allBidder2Indices = [...new Set([...basicIndices, ...bidder2Indices])]; + const expectedBidder2AllCaps = {}; + allBidder2Indices.forEach(index => { + const capName = wurfl_pbjs_over_quota.caps[index]; + if (capName && capName in WURFL) { + expectedBidder2AllCaps[capName] = WURFL[capName]; + } + }); + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder2.device.ext.wurfl).to.deep.equal(expectedBidder2AllCaps); + + // bidder3 is NOT authorized, should get nothing + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder3).to.be.undefined; + + done(); + }; + + const config = { params: {} }; + const userConsent = {}; - expect(result).to.deep.equal({}); + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, userConsent); }); - }); - describe('lowEntropyData', () => { - it('should return the correct low entropy data for Apple devices', () => { - const wjsData = { - complete_device_name: 'Apple iPhone X', - form_factor: 'Smartphone', - is_mobile: !0, - brand_name: 'Apple', - model_name: 'iPhone X', + it('should work with guardOrtb2Fragments Proxy (Prebid 10.x compatibility)', (done) => { + // Simulate Prebid 10.x where rtdModule wraps ortb2Fragments with guardOrtb2Fragments + const plainFragments = { + global: { device: {} }, + bidder: {} }; - const lowEntropyCaps = ['complete_device_name', 'form_factor', 'is_mobile']; - const expectedData = { - complete_device_name: 'Apple iPhone', - form_factor: 'Smartphone', - is_mobile: !0, - brand_name: 'Apple', - model_name: 'iPhone', + + const plainReqBidsConfigObj = { + adUnits: [{ + bids: [ + { bidder: 'bidder1' }, + { bidder: 'bidder2' } + ] + }], + ortb2Fragments: plainFragments }; - const result = lowEntropyData(wjsData, lowEntropyCaps); - expect(result).to.deep.equal(expectedData); + + // Setup localStorage with cached WURFL data (over quota) + const wurfl_pbjs_over_quota = { + ...wurfl_pbjs, + over_quota: 1 + }; + const cachedData = { WURFL, wurfl_pbjs: wurfl_pbjs_over_quota }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + // Wrap with guard (like rtdModule does in production) + const guardedFragments = guardOrtb2Fragments(plainFragments, {}); + const guardedReqBidsConfigObj = { ...plainReqBidsConfigObj, ortb2Fragments: guardedFragments }; + + const callback = () => { + // Over quota, authorized bidders: should get basic + pub + bidder-specific caps (ALL) + expect(plainFragments.bidder.bidder1).to.exist; + expect(plainFragments.bidder.bidder1.device).to.exist; + expect(plainFragments.bidder.bidder1.device.ext).to.exist; + + const basicIndices = wurfl_pbjs_over_quota.global.basic_set.cap_indices; + const bidder1Indices = wurfl_pbjs_over_quota.bidders.bidder1.cap_indices; + const allBidder1Indices = [...new Set([...basicIndices, ...bidder1Indices])]; + const expectedBidder1AllCaps = {}; + allBidder1Indices.forEach(index => { + const capName = wurfl_pbjs_over_quota.caps[index]; + if (capName && capName in WURFL) { + expectedBidder1AllCaps[capName] = WURFL[capName]; + } + }); + expect(plainFragments.bidder.bidder1.device.ext.wurfl).to.deep.equal(expectedBidder1AllCaps); + + // Verify FPD is present + expect(plainFragments.bidder.bidder1.device).to.deep.include({ + make: 'Google', + model: 'Nexus 5', + devicetype: 4, + os: 'Android', + osv: '6.0' + }); + + // Verify bidder2 (authorized) also got enriched + expect(plainFragments.bidder.bidder2).to.exist; + const bidder2Indices = wurfl_pbjs_over_quota.bidders.bidder2.cap_indices; + const allBidder2Indices = [...new Set([...basicIndices, ...bidder2Indices])]; + const expectedBidder2AllCaps = {}; + allBidder2Indices.forEach(index => { + const capName = wurfl_pbjs_over_quota.caps[index]; + if (capName && capName in WURFL) { + expectedBidder2AllCaps[capName] = WURFL[capName]; + } + }); + expect(plainFragments.bidder.bidder2.device.ext.wurfl).to.deep.equal(expectedBidder2AllCaps); + + done(); + }; + + const config = { params: {} }; + const userConsent = {}; + + wurflSubmodule.getBidRequestData(guardedReqBidsConfigObj, callback, config, userConsent); }); - it('should return the correct low entropy data for Android devices', () => { - const wjsData = { - complete_device_name: 'Samsung SM-G981B (Galaxy S20 5G)', - form_factor: 'Smartphone', - is_mobile: !0, + it('should pass basic+pub caps via global and authorized bidders get full caps when under quota', (done) => { + // Reset reqBidsConfigObj to clean state + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // Setup localStorage with cached WURFL data (NOT over quota) + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const callback = () => { + // Verify global FPD has device data (not over quota) + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.deep.include({ + make: 'Google', + model: 'Nexus 5', + devicetype: 4 + }); + + // Calculate expected caps for basic + pub (no bidder-specific) + const basicIndices = wurfl_pbjs.global.basic_set.cap_indices; + const pubIndices = wurfl_pbjs.global.publisher.cap_indices; + const allBasicPubIndices = [...new Set([...basicIndices, ...pubIndices])]; + + const expectedBasicPubCaps = {}; + allBasicPubIndices.forEach(index => { + const capName = wurfl_pbjs.caps[index]; + if (capName && capName in WURFL) { + expectedBasicPubCaps[capName] = WURFL[capName]; + } + }); + + // Verify global has ext.wurfl with basic+pub caps (new behavior) + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl).to.deep.equal(expectedBasicPubCaps); + + // Under quota, authorized bidders: should get only bidder-specific caps (delta) + const bidder1Indices = wurfl_pbjs.bidders.bidder1.cap_indices; + const expectedBidder1Caps = {}; + bidder1Indices.forEach(index => { + const capName = wurfl_pbjs.caps[index]; + if (capName && capName in WURFL) { + expectedBidder1Caps[capName] = WURFL[capName]; + } + }); + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder1.device.ext.wurfl).to.deep.equal(expectedBidder1Caps); + + const bidder2Indices = wurfl_pbjs.bidders.bidder2.cap_indices; + const expectedBidder2Caps = {}; + bidder2Indices.forEach(index => { + const capName = wurfl_pbjs.caps[index]; + if (capName && capName in WURFL) { + expectedBidder2Caps[capName] = WURFL[capName]; + } + }); + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder2.device.ext.wurfl).to.deep.equal(expectedBidder2Caps); + + // bidder3 is NOT authorized, should get NOTHING (inherits from global.device.ext.wurfl) + expect(reqBidsConfigObj.ortb2Fragments.bidder.bidder3).to.not.exist; + + // Verify the caps calculation: basic+pub union in global + const globalCapCount = Object.keys(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl).length; + expect(globalCapCount).to.equal(allBasicPubIndices.length); + + done(); }; - const lowEntropyCaps = ['complete_device_name', 'form_factor', 'is_mobile']; - const expectedData = { - complete_device_name: 'Samsung SM-G981B (Galaxy S20 5G)', - form_factor: 'Smartphone', - is_mobile: !0, + + const config = { params: {} }; + const userConsent = {}; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, userConsent); + }); + + it('should enrich global.device.ext.wurfl when under quota (verifies GlobalExt)', (done) => { + // This test verifies that GlobalExt() is called and global enrichment works + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const callback = () => { + // Calculate expected basic+pub caps + const basicIndices = wurfl_pbjs.global.basic_set.cap_indices; + const pubIndices = wurfl_pbjs.global.publisher.cap_indices; + const allBasicPubIndices = [...new Set([...basicIndices, ...pubIndices])]; + const expectedBasicPubCaps = {}; + allBasicPubIndices.forEach(index => { + const capName = wurfl_pbjs.caps[index]; + if (capName && capName in WURFL) { + expectedBasicPubCaps[capName] = WURFL[capName]; + } + }); + + // Verify GlobalExt() populated global.device.ext.wurfl with basic+pub + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext).to.exist; + expect(reqBidsConfigObj.ortb2Fragments.global.device.ext.wurfl).to.deep.equal(expectedBasicPubCaps); + + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('onAuctionEndEvent: should send analytics data using navigator.sendBeacon, if available', (done) => { + // Reset reqBidsConfigObj to clean state + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // Setup localStorage with cached WURFL data to populate enrichedBidders + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(navigator, 'sendBeacon').returns(true); + + // Mock getGlobal().getHighestCpmBids() + const mockHighestCpmBids = [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1' } + ]; + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => mockHighestCpmBids + }); + + const callback = () => { + // Build auctionDetails with bidsReceived and adUnits + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' }, + { requestId: 'req2', bidderCode: 'bidder2', adUnitCode: 'ad1', cpm: 1.2, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [ + { bidder: 'bidder1' }, + { bidder: 'bidder2' } + ] + } + ] + }; + const config = { params: {} }; + const userConsent = {}; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, userConsent); + + // Assertions + expect(sendBeaconStub.calledOnce).to.be.true; + const beaconCall = sendBeaconStub.getCall(0); + expect(beaconCall.args[0]).to.equal(expectedStatsURL); + + // Parse and verify payload structure + const payload = JSON.parse(beaconCall.args[1]); + expect(payload).to.have.property('version'); + expect(payload).to.have.property('domain'); + expect(payload).to.have.property('path'); + expect(payload).to.have.property('sampling_rate', 100); + expect(payload).to.have.property('enrichment', 'wurfl_pub'); + expect(payload).to.have.property('wurfl_id', 'lg_nexus5_ver1'); + expect(payload).to.have.property('over_quota', 0); + expect(payload).to.have.property('consent_class', 0); + expect(payload).to.have.property('ad_units'); + expect(payload.ad_units).to.be.an('array').with.lengthOf(1); + expect(payload.ad_units[0].ad_unit_code).to.equal('ad1'); + expect(payload.ad_units[0].bidders).to.be.an('array').with.lengthOf(2); + expect(payload.ad_units[0].bidders[0]).to.deep.include({ + bidder: 'bidder1', + bdr_enrich: 'wurfl_ssp', + cpm: 1.5, + currency: 'USD', + won: true + }); + expect(payload.ad_units[0].bidders[1]).to.deep.include({ + bidder: 'bidder2', + bdr_enrich: 'wurfl_ssp', + cpm: 1.2, + currency: 'USD', + won: false + }); + + done(); }; - const result = lowEntropyData(wjsData, lowEntropyCaps); - expect(result).to.deep.equal(expectedData); + + const config = { params: {} }; + const userConsent = {}; + + // First enrich bidders to populate enrichedBidders Set + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, userConsent); }); - it('should return an empty object if the lowEntropyCaps array is empty', () => { - const wjsData = { - complete_device_name: 'Samsung SM-G981B (Galaxy S20 5G)', - form_factor: 'Smartphone', - is_mobile: !0, + it('onAuctionEndEvent: should send analytics data using fetch as fallback, if navigator.sendBeacon is not available', (done) => { + // Reset reqBidsConfigObj to clean state + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // Setup localStorage with cached WURFL data to populate enrichedBidders + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(false); + const fetchAjaxStub = sandbox.stub(ajaxModule, 'fetch'); + + // Mock getGlobal().getHighestCpmBids() + const mockHighestCpmBids = [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1' } + ]; + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => mockHighestCpmBids + }); + + const callback = () => { + // Build auctionDetails with bidsReceived and adUnits + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' }, + { requestId: 'req2', bidderCode: 'bidder2', adUnitCode: 'ad1', cpm: 1.2, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [ + { bidder: 'bidder1' }, + { bidder: 'bidder2' } + ] + } + ] + }; + const config = { params: {} }; + const userConsent = {}; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, userConsent); + + // Assertions + expect(sendBeaconStub.calledOnce).to.be.true; + + expect(fetchAjaxStub.calledOnce).to.be.true; + const fetchAjaxCall = fetchAjaxStub.getCall(0); + expect(fetchAjaxCall.args[0]).to.equal(expectedStatsURL); + expect(fetchAjaxCall.args[1].method).to.equal('POST'); + expect(fetchAjaxCall.args[1].mode).to.equal('no-cors'); + + // Parse and verify payload structure + const payload = JSON.parse(fetchAjaxCall.args[1].body); + expect(payload).to.have.property('domain'); + expect(payload).to.have.property('path'); + expect(payload).to.have.property('sampling_rate', 100); + expect(payload).to.have.property('enrichment', 'wurfl_pub'); + expect(payload).to.have.property('wurfl_id', 'lg_nexus5_ver1'); + expect(payload).to.have.property('over_quota', 0); + expect(payload).to.have.property('consent_class', 0); + expect(payload).to.have.property('ad_units'); + expect(payload.ad_units).to.be.an('array').with.lengthOf(1); + + done(); }; - const lowEntropyCaps = []; - const expectedData = {}; - const result = lowEntropyData(wjsData, lowEntropyCaps); - expect(result).to.deep.equal(expectedData); + + const config = { params: {} }; + const userConsent = {}; + + // First enrich bidders to populate enrichedBidders Set + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, userConsent); }); - }); - describe('enrichBidderRequest', () => { - it('should enrich the bidder request with WURFL data', () => { - const reqBidsConfigObj = { - ortb2Fragments: { - global: { - device: {}, - }, - bidder: { - exampleBidder: { - device: { - ua: 'user-agent', + describe('consent classification', () => { + beforeEach(function () { + // Setup localStorage with cached WURFL data + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + // Mock getGlobal().getHighestCpmBids() + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + // Reset reqBidsConfigObj + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + }); + + const testConsentClass = (description, userConsent, expectedClass, done) => { + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + + const callback = () => { + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + const config = { params: {} }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, userConsent); + + expect(sendBeaconStub.calledOnce).to.be.true; + const beaconCall = sendBeaconStub.getCall(0); + const payload = JSON.parse(beaconCall.args[1]); + expect(payload).to.have.property('consent_class', expectedClass); + done(); + }; + + const config = { params: {} }; + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }; + + it('should return NO consent (0) when userConsent is null', (done) => { + testConsentClass('null userConsent', null, 0, done); + }); + + it('should return NO consent (0) when userConsent is empty object', (done) => { + testConsentClass('empty object', {}, 0, done); + }); + + it('should return NO consent (0) when COPPA is enabled', (done) => { + testConsentClass('COPPA enabled', { coppa: true }, 0, done); + }); + + it('should return NO consent (0) when USP opt-out (1Y)', (done) => { + testConsentClass('USP opt-out', { usp: '1YYN' }, 0, done); + }); + + it('should return NO consent (0) when GDPR applies but no purposes granted', (done) => { + const userConsent = { + gdpr: { + gdprApplies: true, + vendorData: { + purpose: { + consents: {}, + legitimateInterests: {} } } } - } - }; - const bidderCode = 'exampleBidder'; - const wjsData = { - capability1: 'value1', - capability2: 'value2' - }; + }; + testConsentClass('GDPR no purposes', userConsent, 0, done); + }); + + it('should return FULL consent (2) when no GDPR object (non-GDPR region)', (done) => { + testConsentClass('no GDPR object', { usp: '1NNN' }, 2, done); + }); - enrichBidderRequest(reqBidsConfigObj, bidderCode, wjsData); + it('should return FULL consent (2) when GDPR does not apply', (done) => { + const userConsent = { + gdpr: { + gdprApplies: false + } + }; + testConsentClass('GDPR not applicable', userConsent, 2, done); + }); - expect(reqBidsConfigObj.ortb2Fragments.bidder).to.deep.equal({ - exampleBidder: { - device: { - ua: 'user-agent', - ext: { - wurfl: { - capability1: 'value1', - capability2: 'value2' + it('should return FULL consent (2) when all 3 GDPR purposes granted via consents', (done) => { + const userConsent = { + gdpr: { + gdprApplies: true, + vendorData: { + purpose: { + consents: { 7: true, 8: true, 10: true } } } } - } + }; + testConsentClass('all purposes via consents', userConsent, 2, done); }); - }); - }); - describe('makeOrtb2DeviceType', function () { - it('should return 1 when wurflData is_mobile and is_phone is true', function () { - const wurflData = { is_mobile: true, is_phone: true, is_tablet: false }; - const result = makeOrtb2DeviceType(wurflData); - expect(result).to.equal(1); - }); + it('should return FULL consent (2) when all 3 GDPR purposes granted via legitimateInterests', (done) => { + const userConsent = { + gdpr: { + gdprApplies: true, + vendorData: { + purpose: { + legitimateInterests: { 7: true, 8: true, 10: true } + } + } + } + }; + testConsentClass('all purposes via LI', userConsent, 2, done); + }); - it('should return 1 when wurflData is_mobile and is_tablet is true', function () { - const wurflData = { is_mobile: true, is_phone: false, is_tablet: true }; - const result = makeOrtb2DeviceType(wurflData); - expect(result).to.equal(1); - }); + it('should return FULL consent (2) when all 3 GDPR purposes granted via mixed consents and LI', (done) => { + const userConsent = { + gdpr: { + gdprApplies: true, + vendorData: { + purpose: { + consents: { 7: true, 10: true }, + legitimateInterests: { 8: true } + } + } + } + }; + testConsentClass('mixed consents and LI', userConsent, 2, done); + }); - it('should return 6 when wurflData is_mobile but is_phone and is_tablet are false', function () { - const wurflData = { is_mobile: true, is_phone: false, is_tablet: false }; - const result = makeOrtb2DeviceType(wurflData); - expect(result).to.equal(6); - }); + it('should return PARTIAL consent (1) when only 1 GDPR purpose granted', (done) => { + const userConsent = { + gdpr: { + gdprApplies: true, + vendorData: { + purpose: { + consents: { 7: true } + } + } + } + }; + testConsentClass('1 purpose granted', userConsent, 1, done); + }); - it('should return 2 when wurflData is_full_desktop is true', function () { - const wurflData = { is_full_desktop: true }; - const result = makeOrtb2DeviceType(wurflData); - expect(result).to.equal(2); + it('should return PARTIAL consent (1) when 2 GDPR purposes granted', (done) => { + const userConsent = { + gdpr: { + gdprApplies: true, + vendorData: { + purpose: { + consents: { 7: true }, + legitimateInterests: { 8: true } + } + } + } + }; + testConsentClass('2 purposes granted', userConsent, 1, done); + }); }); - it('should return 3 when wurflData is_connected_tv is true', function () { - const wurflData = { is_connected_tv: true }; - const result = makeOrtb2DeviceType(wurflData); - expect(result).to.equal(3); - }); + describe('sampling rate', () => { + it('should not send beacon when sampling_rate is 0', (done) => { + // Setup WURFL data with sampling_rate: 0 + const wurfl_pbjs_zero_sampling = { ...wurfl_pbjs, sampling_rate: 0 }; + const cachedData = { WURFL, wurfl_pbjs: wurfl_pbjs_zero_sampling }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); - it('should return 4 when wurflData is_phone is true and is_mobile is false or undefined', function () { - const wurflData = { is_phone: true }; - const result = makeOrtb2DeviceType(wurflData); - expect(result).to.equal(4); - }); + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon'); + const fetchStub = sandbox.stub(ajaxModule, 'fetch'); - it('should return 5 when wurflData is_tablet is true and is_mobile is false or undefined', function () { - const wurflData = { is_tablet: true }; - const result = makeOrtb2DeviceType(wurflData); - expect(result).to.equal(5); - }); + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); - it('should return 7 when wurflData is_ott is true', function () { - const wurflData = { is_ott: true }; - const result = makeOrtb2DeviceType(wurflData); - expect(result).to.equal(7); - }); + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; - it('should return undefined when wurflData is_mobile is true but is_phone and is_tablet are missing', function () { - const wurflData = { is_mobile: true }; - const result = makeOrtb2DeviceType(wurflData); - expect(result).to.be.undefined; - }); + const callback = () => { + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + const config = { params: {} }; + const userConsent = null; - it('should return undefined when no conditions are met', function () { - const wurflData = {}; - const result = makeOrtb2DeviceType(wurflData); - expect(result).to.be.undefined; - }); - }); + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, userConsent); + + // Beacon should NOT be sent due to sampling_rate: 0 + expect(sendBeaconStub.called).to.be.false; + expect(fetchStub.called).to.be.false; + done(); + }; + + const config = { params: {} }; + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should send beacon when sampling_rate is 100', (done) => { + // Setup WURFL data with sampling_rate: 100 + const wurfl_pbjs_full_sampling = { ...wurfl_pbjs, sampling_rate: 100 }; + const cachedData = { WURFL, wurfl_pbjs: wurfl_pbjs_full_sampling }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + const config = { params: {} }; + const userConsent = null; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, userConsent); + + // Beacon should be sent + expect(sendBeaconStub.calledOnce).to.be.true; + const beaconCall = sendBeaconStub.getCall(0); + const payload = JSON.parse(beaconCall.args[1]); + expect(payload).to.have.property('sampling_rate', 100); + done(); + }; + + const config = { params: {} }; + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should use default sampling_rate (100) for LCE and send beacon', (done) => { + // No cached data - will use LCE + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; - describe('toNumber', function () { - it('converts valid numbers', function () { - expect(toNumber(42)).to.equal(42); - expect(toNumber(3.14)).to.equal(3.14); - expect(toNumber('100')).to.equal(100); - expect(toNumber('3.14')).to.equal(3.14); - expect(toNumber(' 50 ')).to.equal(50); + const callback = () => { + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + const config = { params: {} }; + const userConsent = null; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, userConsent); + + // Beacon should be sent with default sampling_rate + expect(sendBeaconStub.calledOnce).to.be.true; + const beaconCall = sendBeaconStub.getCall(0); + const payload = JSON.parse(beaconCall.args[1]); + expect(payload).to.have.property('sampling_rate', 100); + // Enrichment type can be 'lce' or 'lcefailed' depending on what data is available + expect(payload.enrichment).to.be.oneOf(['lce', 'lcefailed']); + done(); + }; + + const config = { params: {} }; + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); }); - it('converts booleans correctly', function () { - expect(toNumber(true)).to.equal(1); - expect(toNumber(false)).to.equal(0); + describe('onAuctionEndEvent: overquota beacon enrichment', () => { + beforeEach(() => { + // Mock getGlobal().getHighestCpmBids() + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + // Reset reqBidsConfigObj + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + }); + + it('should report wurfl_ssp for authorized bidders and none for unauthorized when overquota', (done) => { + // Setup overquota scenario + const wurfl_pbjs_over_quota = { + ...wurfl_pbjs, + over_quota: 1 + }; + const cachedData = { WURFL, wurfl_pbjs: wurfl_pbjs_over_quota }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + + const callback = () => { + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' }, + { requestId: 'req2', bidderCode: 'bidder2', adUnitCode: 'ad1', cpm: 1.2, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [ + { bidder: 'bidder1' }, // authorized + { bidder: 'bidder2' }, // authorized + { bidder: 'bidder3' } // NOT authorized + ] + } + ] + }; + const config = { params: {} }; + const userConsent = {}; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, userConsent); + + expect(sendBeaconStub.calledOnce).to.be.true; + const beaconCall = sendBeaconStub.getCall(0); + const payload = JSON.parse(beaconCall.args[1]); + + // Verify overall enrichment is none when overquota (publisher not enriched) + expect(payload).to.have.property('enrichment', 'none'); + expect(payload).to.have.property('over_quota', 1); + + // Verify per-bidder enrichment + expect(payload.ad_units).to.be.an('array').with.lengthOf(1); + expect(payload.ad_units[0].bidders).to.be.an('array').with.lengthOf(3); + + // bidder1 and bidder2 are authorized - should report wurfl_ssp + expect(payload.ad_units[0].bidders[0]).to.deep.include({ + bidder: 'bidder1', + bdr_enrich: 'wurfl_ssp', + cpm: 1.5, + currency: 'USD', + won: false + }); + expect(payload.ad_units[0].bidders[1]).to.deep.include({ + bidder: 'bidder2', + bdr_enrich: 'wurfl_ssp', + cpm: 1.2, + currency: 'USD', + won: false + }); + + // bidder3 is NOT authorized and overquota - should report none + expect(payload.ad_units[0].bidders[2]).to.deep.include({ + bidder: 'bidder3', + bdr_enrich: 'none', + won: false + }); + + done(); + }; + + const config = { params: {} }; + const userConsent = {}; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, userConsent); + }); + + it('should report wurfl_ssp for authorized and wurfl_pub for unauthorized when not overquota', (done) => { + // Setup NOT overquota scenario + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + + const callback = () => { + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' }, + { requestId: 'req3', bidderCode: 'bidder3', adUnitCode: 'ad1', cpm: 1.0, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [ + { bidder: 'bidder1' }, // authorized + { bidder: 'bidder3' } // NOT authorized + ] + } + ] + }; + const config = { params: {} }; + const userConsent = {}; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, userConsent); + + expect(sendBeaconStub.calledOnce).to.be.true; + const beaconCall = sendBeaconStub.getCall(0); + const payload = JSON.parse(beaconCall.args[1]); + + // Verify overall enrichment is wurfl_pub when not overquota + expect(payload).to.have.property('enrichment', 'wurfl_pub'); + expect(payload).to.have.property('over_quota', 0); + + // Verify per-bidder enrichment + expect(payload.ad_units).to.be.an('array').with.lengthOf(1); + expect(payload.ad_units[0].bidders).to.be.an('array').with.lengthOf(2); + + // bidder1 is authorized - should always report wurfl_ssp + expect(payload.ad_units[0].bidders[0]).to.deep.include({ + bidder: 'bidder1', + bdr_enrich: 'wurfl_ssp', + cpm: 1.5, + currency: 'USD', + won: false + }); + + // bidder3 is NOT authorized but not overquota - should report wurfl_pub + expect(payload.ad_units[0].bidders[1]).to.deep.include({ + bidder: 'bidder3', + bdr_enrich: 'wurfl_pub', + cpm: 1.0, + currency: 'USD', + won: false + }); + + done(); + }; + + const config = { params: {} }; + const userConsent = {}; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, userConsent); + }); }); - it('handles special cases', function () { - expect(toNumber(null)).to.be.undefined; - expect(toNumber('')).to.be.undefined; + describe('device type mapping', () => { + it('should map is_ott priority over form_factor', (done) => { + const wurflWithOtt = { ...WURFL, is_ott: true, form_factor: 'Desktop' }; + const cachedData = { WURFL: wurflWithOtt, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.equal(7); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should map is_console priority over form_factor', (done) => { + const wurflWithConsole = { ...WURFL, is_console: true, form_factor: 'Desktop' }; + const cachedData = { WURFL: wurflWithConsole, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.equal(6); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should map physical_form_factor out_of_home_device', (done) => { + const wurflWithOOH = { ...WURFL, physical_form_factor: 'out_of_home_device', form_factor: 'Desktop' }; + const cachedData = { WURFL: wurflWithOOH, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.equal(8); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should map form_factor Desktop to PERSONAL_COMPUTER', (done) => { + const wurflDesktop = { ...WURFL, form_factor: 'Desktop' }; + const cachedData = { WURFL: wurflDesktop, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.equal(2); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should map form_factor Smartphone to PHONE', (done) => { + const wurflSmartphone = { ...WURFL, form_factor: 'Smartphone' }; + const cachedData = { WURFL: wurflSmartphone, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.equal(4); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should map form_factor Tablet to TABLET', (done) => { + const wurflTablet = { ...WURFL, form_factor: 'Tablet' }; + const cachedData = { WURFL: wurflTablet, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.equal(5); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should map form_factor Smart-TV to CONNECTED_TV', (done) => { + const wurflSmartTV = { ...WURFL, form_factor: 'Smart-TV' }; + const cachedData = { WURFL: wurflSmartTV, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.equal(3); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should map form_factor Other Non-Mobile to CONNECTED_DEVICE', (done) => { + const wurflOtherNonMobile = { ...WURFL, form_factor: 'Other Non-Mobile' }; + const cachedData = { WURFL: wurflOtherNonMobile, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.equal(6); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should map form_factor Other Mobile to MOBILE_OR_TABLET', (done) => { + const wurflOtherMobile = { ...WURFL, form_factor: 'Other Mobile' }; + const cachedData = { WURFL: wurflOtherMobile, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.equal(1); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should return undefined when form_factor is missing', (done) => { + const wurflNoFormFactor = { ...WURFL }; + delete wurflNoFormFactor.form_factor; + const cachedData = { WURFL: wurflNoFormFactor, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.be.undefined; + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should return undefined for unknown form_factor', (done) => { + const wurflUnknownFormFactor = { ...WURFL, form_factor: 'UnknownDevice' }; + const cachedData = { WURFL: wurflUnknownFormFactor, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + expect(reqBidsConfigObj.ortb2Fragments.global.device.devicetype).to.be.undefined; + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); }); - it('returns undefined for non-numeric values', function () { - expect(toNumber('abc')).to.be.undefined; - expect(toNumber(undefined)).to.be.undefined; - expect(toNumber(NaN)).to.be.undefined; - expect(toNumber({})).to.be.undefined; - expect(toNumber([1, 2, 3])).to.be.undefined; - // WURFL.js cannot return [] so it is safe to not handle and return undefined - expect(toNumber([])).to.equal(0); + describe('LCE Error Handling', function () { + beforeEach(function () { + // Setup empty cache to force LCE + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + }); + + it('should set LCE_ERROR enrichment type when LCE device detection throws error', (done) => { + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + // Import the WurflLCEDevice to stub it + const wurflRtdProvider = require('modules/wurflRtdProvider.js'); + + const callback = () => { + const device = reqBidsConfigObj.ortb2Fragments.global.device; + + // Should have minimal fallback data + expect(device.js).to.equal(1); + + // UA-dependent fields should not be set when error occurs + expect(device.devicetype).to.be.undefined; + expect(device.os).to.be.undefined; + + // Trigger auction to verify enrichment type in beacon + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, { params: {} }, null); + + // Check beacon was sent with lcefailed enrichment type + expect(sendBeaconStub.calledOnce).to.be.true; + const beaconCall = sendBeaconStub.getCall(0); + const payload = JSON.parse(beaconCall.args[1]); + expect(payload).to.have.property('enrichment', 'lcefailed'); + + done(); + }; + + // Stub _getDeviceInfo to throw an error + const originalGetDeviceInfo = window.navigator.userAgent; + Object.defineProperty(window.navigator, 'userAgent', { + get: () => { + throw new Error('User agent access failed'); + }, + configurable: true + }); + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + + // Restore + Object.defineProperty(window.navigator, 'userAgent', { + value: originalGetDeviceInfo, + configurable: true + }); + }); }); }); }); From f4115757c279cd830b77a7e50aa630017f7bbd97 Mon Sep 17 00:00:00 2001 From: RuzannaAvetisyan <44729750+RuzannaAvetisyan@users.noreply.github.com> Date: Tue, 2 Dec 2025 18:52:13 +0400 Subject: [PATCH 041/248] limelightDigital Bid Adapter: support get floor module (#14144) * Added the ability to send floor info for each ad unit size * refactor test * Update floor value in limelightDigitalBidAdapter tests --------- Co-authored-by: Alexander Pykhteyev Co-authored-by: Ilia Medvedev --- modules/limelightDigitalBidAdapter.js | 15 ++- .../limelightDigitalBidAdapter_spec.js | 98 ++++++++++++++++++- 2 files changed, 110 insertions(+), 3 deletions(-) diff --git a/modules/limelightDigitalBidAdapter.js b/modules/limelightDigitalBidAdapter.js index 40728c54245..ed27c054033 100644 --- a/modules/limelightDigitalBidAdapter.js +++ b/modules/limelightDigitalBidAdapter.js @@ -177,10 +177,21 @@ function buildPlacement(bidRequest) { bidId: bidRequest.bidId, transactionId: bidRequest.ortb2Imp?.ext?.tid, sizes: sizes.map(size => { + let floorInfo = null; + if (typeof bidRequest.getFloor === 'function') { + try { + floorInfo = bidRequest.getFloor({ + currency: 'USD', + mediaType: bidRequest.params.adUnitType, + size: [size[0], size[1]] + }); + } catch (e) {} + } return { width: size[0], - height: size[1] - } + height: size[1], + floorInfo: floorInfo + }; }), type: bidRequest.params.adUnitType.toUpperCase(), ortb2Imp: bidRequest.ortb2Imp, diff --git a/test/spec/modules/limelightDigitalBidAdapter_spec.js b/test/spec/modules/limelightDigitalBidAdapter_spec.js index a4b161b7026..31b8530c7eb 100644 --- a/test/spec/modules/limelightDigitalBidAdapter_spec.js +++ b/test/spec/modules/limelightDigitalBidAdapter_spec.js @@ -736,6 +736,101 @@ describe('limelightDigitalAdapter', function () { ]); }); }); + describe('getFloor support', function() { + const bidderRequest = { + ortb2: { + device: { + sua: { + browsers: [], + platform: [], + mobile: 1, + architecture: 'arm' + } + } + }, + refererInfo: { + page: 'testPage' + } + }; + it('should include floorInfo when getFloor is available', function() { + const bidWithFloor = { + ...bid1, + getFloor: function(params) { + if (params.size[0] === 300 && params.size[1] === 250) { + return { currency: 'USD', floor: 2.0 }; + } + return { currency: 'USD', floor: 0 }; + } + }; + + const serverRequests = spec.buildRequests([bidWithFloor], bidderRequest); + expect(serverRequests).to.have.lengthOf(1); + const adUnit = serverRequests[0].data.adUnits[0]; + expect(adUnit.sizes).to.have.lengthOf(1); + expect(adUnit.sizes[0].floorInfo).to.exist; + expect(adUnit.sizes[0].floorInfo.currency).to.equal('USD'); + expect(adUnit.sizes[0].floorInfo.floor).to.equal(2.0); + }); + it('should set floorInfo to null when getFloor is not available', function() { + const bidWithoutFloor = { ...bid1 }; + delete bidWithoutFloor.getFloor; + + const serverRequests = spec.buildRequests([bidWithoutFloor], bidderRequest); + expect(serverRequests).to.have.lengthOf(1); + expect(serverRequests[0].data.adUnits[0].sizes[0].floorInfo).to.be.null; + }); + it('should handle multiple sizes with different floors', function() { + const bidWithMultipleSizes = { + ...bid1, + mediaTypes: { + banner: { + sizes: [[300, 250], [728, 90]] + } + }, + getFloor: function(params) { + if (params.size[0] === 300 && params.size[1] === 250) { + return { currency: 'USD', floor: 1.5 }; + } + if (params.size[0] === 728 && params.size[1] === 90) { + return { currency: 'USD', floor: 2.0 }; + } + return { currency: 'USD', floor: 0 }; + } + }; + + const serverRequests = spec.buildRequests([bidWithMultipleSizes], bidderRequest); + expect(serverRequests).to.have.lengthOf(1); + const adUnit = serverRequests[0].data.adUnits[0]; + expect(adUnit.sizes).to.have.lengthOf(2); + expect(adUnit.sizes[0].floorInfo.floor).to.equal(1.5); + expect(adUnit.sizes[1].floorInfo.floor).to.equal(2.0); + }); + it('should set floorInfo to null when getFloor returns empty object', function() { + const bidWithEmptyFloor = { + ...bid1, + getFloor: function() { + return {}; + } + }; + + const serverRequests = spec.buildRequests([bidWithEmptyFloor], bidderRequest); + expect(serverRequests).to.have.lengthOf(1); + expect(serverRequests[0].data.adUnits[0].sizes[0].floorInfo).to.deep.equal({}); + }); + it('should handle getFloor errors and set floorInfo to null', function() { + const bidWithErrorFloor = { + ...bid1, + getFloor: function() { + throw new Error('Floor module error'); + } + }; + + const serverRequests = spec.buildRequests([bidWithErrorFloor], bidderRequest); + expect(serverRequests).to.have.lengthOf(1); + const adUnit = serverRequests[0].data.adUnits[0]; + expect(adUnit.sizes[0].floorInfo).to.be.null; + }); + }); }); function validateAdUnit(adUnit, bid) { @@ -758,7 +853,8 @@ function validateAdUnit(adUnit, bid) { expect(adUnit.sizes).to.deep.equal(bidSizes.map(size => { return { width: size[0], - height: size[1] + height: size[1], + floorInfo: null } })); expect(adUnit.publisherId).to.equal(bid.params.publisherId); From 123426510b64679280f694a426c8a8dea70de4cd Mon Sep 17 00:00:00 2001 From: Hasan Kanjee <55110940+hasan-kanjee@users.noreply.github.com> Date: Tue, 2 Dec 2025 14:26:59 -0500 Subject: [PATCH 042/248] Flipp: update endpoint to not use cdn (#14232) --- modules/flippBidAdapter.js | 2 +- test/spec/modules/flippBidAdapter_spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/flippBidAdapter.js b/modules/flippBidAdapter.js index 95fd67c779b..d1e8048be85 100644 --- a/modules/flippBidAdapter.js +++ b/modules/flippBidAdapter.js @@ -18,7 +18,7 @@ const AD_TYPES = [4309, 641]; const DTX_TYPES = [5061]; const TARGET_NAME = 'inline'; const BIDDER_CODE = 'flipp'; -const ENDPOINT = 'https://gateflipp.flippback.com/flyer-locator-service/client_bidding'; +const ENDPOINT = 'https://ads-flipp.com/flyer-locator-service/client_bidding'; const DEFAULT_TTL = 30; const DEFAULT_CURRENCY = 'USD'; const DEFAULT_CREATIVE_TYPE = 'NativeX'; diff --git a/test/spec/modules/flippBidAdapter_spec.js b/test/spec/modules/flippBidAdapter_spec.js index e7867c8b479..0e17f1d2270 100644 --- a/test/spec/modules/flippBidAdapter_spec.js +++ b/test/spec/modules/flippBidAdapter_spec.js @@ -1,7 +1,7 @@ import {expect} from 'chai'; import {spec} from 'modules/flippBidAdapter'; import {newBidder} from 'src/adapters/bidderFactory'; -const ENDPOINT = 'https://gateflipp.flippback.com/flyer-locator-service/client_bidding'; +const ENDPOINT = 'https://ads-flipp.com/flyer-locator-service/client_bidding'; describe('flippAdapter', function () { const adapter = newBidder(spec); From f269d7e8bf7f5596c40a77bb0ebf284107c8cee4 Mon Sep 17 00:00:00 2001 From: zeta-xiao Date: Wed, 3 Dec 2025 11:08:56 -0500 Subject: [PATCH 043/248] LI Analytics: include ad size as a field that in the data collected by the client side analytics adapter (#14207) * LiveIntentAnalyticsAdapter: Include ad size when sending data to winning bid analytics on auction init event * LiveIntentAnalyticsAdapter: update test url to be encoded format * LiveIntentAnalyticsAdapter: generate adsize using utils/parseSizesInput * LiveIntentAnalyticsAdapter: fix bug --- modules/liveIntentAnalyticsAdapter.js | 15 +++++++++++--- test/fixtures/liveIntentAuctionEvents.js | 10 ++++++++++ .../liveIntentAnalyticsAdapter_spec.js | 20 +++++++++---------- 3 files changed, 32 insertions(+), 13 deletions(-) diff --git a/modules/liveIntentAnalyticsAdapter.js b/modules/liveIntentAnalyticsAdapter.js index 9a3bd53945e..1a548bfcd9c 100644 --- a/modules/liveIntentAnalyticsAdapter.js +++ b/modules/liveIntentAnalyticsAdapter.js @@ -1,5 +1,5 @@ import { ajax } from '../src/ajax.js'; -import { generateUUID, isNumber } from '../src/utils.js'; +import { generateUUID, isNumber, parseSizesInput } from '../src/utils.js'; import adapter from '../libraries/analyticsAdapter/AnalyticsAdapter.js'; import { EVENTS } from '../src/constants.js'; import adapterManager from '../src/adapterManager.js'; @@ -41,6 +41,13 @@ function handleAuctionInitEvent(auctionInitEvent) { // dependeing on the result of rolling the dice outside of Prebid. const partnerIdFromAnalyticsLabels = auctionInitEvent.analyticsLabels?.partnerId; + const asz = auctionInitEvent?.adUnits.reduce((acc, adUnit) => + acc.concat( + parseSizesInput(adUnit?.mediaTypes?.banner?.sizes), + parseSizesInput(adUnit?.mediaTypes?.video?.playerSize) + ), [] + ) + const data = { id: generateUUID(), aid: auctionInitEvent.auctionId, @@ -51,7 +58,8 @@ function handleAuctionInitEvent(auctionInitEvent) { tr: window.liTreatmentRate, me: encodeBoolean(window.liModuleEnabled), liip: encodeBoolean(liveIntentIdsPresent), - aun: auctionInitEvent?.adUnits?.length || 0 + aun: auctionInitEvent?.adUnits?.length || 0, + asz: asz.join(',') }; const filteredData = ignoreUndefined(data); sendData('auction-init', filteredData); @@ -82,7 +90,8 @@ function handleBidWonEvent(bidWonEvent) { rts: bidWonEvent.responseTimestamp, tr: window.liTreatmentRate, me: encodeBoolean(window.liModuleEnabled), - liip: encodeBoolean(liveIntentIdsPresent) + liip: encodeBoolean(liveIntentIdsPresent), + asz: bidWonEvent.width + 'x' + bidWonEvent.height }; const filteredData = ignoreUndefined(data); diff --git a/test/fixtures/liveIntentAuctionEvents.js b/test/fixtures/liveIntentAuctionEvents.js index cb0198f7caa..080ae5fc776 100644 --- a/test/fixtures/liveIntentAuctionEvents.js +++ b/test/fixtures/liveIntentAuctionEvents.js @@ -140,6 +140,16 @@ export const AUCTION_INIT_EVENT = { 90 ] ] + }, + 'video': { + 'playerSize': [300, 250], + 'mimes': ["video/x-ms-wmv", "video/mp4"], + 'minduration': 0, + 'maxduration': 30, + 'protocols': [1, 2], + 'api': [1, 2, 4, 6], + 'placement': 1, + 'plcmt': 1 } }, 'bids': [ diff --git a/test/spec/modules/liveIntentAnalyticsAdapter_spec.js b/test/spec/modules/liveIntentAnalyticsAdapter_spec.js index 51ada80b825..869e9eb789c 100644 --- a/test/spec/modules/liveIntentAnalyticsAdapter_spec.js +++ b/test/spec/modules/liveIntentAnalyticsAdapter_spec.js @@ -77,11 +77,11 @@ describe('LiveIntent Analytics Adapter ', () => { events.emit(EVENTS.AUCTION_INIT, AUCTION_INIT_EVENT); expect(server.requests.length).to.equal(1); - expect(server.requests[0].url).to.equal('https://wba.liadm.com/analytic-events/auction-init?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&liip=y&aun=2') + expect(server.requests[0].url).to.equal('https://wba.liadm.com/analytic-events/auction-init?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&liip=y&aun=2&asz=300x250%2C728x90%2C300x250'); events.emit(EVENTS.BID_WON, BID_WON_EVENT); expect(server.requests.length).to.equal(2); - expect(server.requests[1].url).to.equal('https://wba.liadm.com/analytic-events/bid-won?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&auc=test-div2&auid=afc6bc6a-3082-4940-b37f-d22e1b026e48&cpm=1.5&c=USD&b=appnexus&bc=appnexus&pid=a123&iid=pbjs&sts=1739971147744&rts=1739971147806&liip=y'); + expect(server.requests[1].url).to.equal('https://wba.liadm.com/analytic-events/bid-won?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&auc=test-div2&auid=afc6bc6a-3082-4940-b37f-d22e1b026e48&cpm=1.5&c=USD&b=appnexus&bc=appnexus&pid=a123&iid=pbjs&sts=1739971147744&rts=1739971147806&liip=y&asz=728x90'); }); it('request is computed and sent correctly when sampling is 1 and liModule is enabled', () => { @@ -90,11 +90,11 @@ describe('LiveIntent Analytics Adapter ', () => { events.emit(EVENTS.AUCTION_INIT, AUCTION_INIT_EVENT); expect(server.requests.length).to.equal(1); - expect(server.requests[0].url).to.equal('https://wba.liadm.com/analytic-events/auction-init?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&me=y&liip=y&aun=2') + expect(server.requests[0].url).to.equal('https://wba.liadm.com/analytic-events/auction-init?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&me=y&liip=y&aun=2&asz=300x250%2C728x90%2C300x250') events.emit(EVENTS.BID_WON, BID_WON_EVENT); expect(server.requests.length).to.equal(2); - expect(server.requests[1].url).to.equal('https://wba.liadm.com/analytic-events/bid-won?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&auc=test-div2&auid=afc6bc6a-3082-4940-b37f-d22e1b026e48&cpm=1.5&c=USD&b=appnexus&bc=appnexus&pid=a123&iid=pbjs&sts=1739971147744&rts=1739971147806&me=y&liip=y'); + expect(server.requests[1].url).to.equal('https://wba.liadm.com/analytic-events/bid-won?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&auc=test-div2&auid=afc6bc6a-3082-4940-b37f-d22e1b026e48&cpm=1.5&c=USD&b=appnexus&bc=appnexus&pid=a123&iid=pbjs&sts=1739971147744&rts=1739971147806&me=y&liip=y&asz=728x90'); }); it('request is computed and sent correctly when sampling is 1 and liModule is disabled', () => { @@ -103,11 +103,11 @@ describe('LiveIntent Analytics Adapter ', () => { events.emit(EVENTS.AUCTION_INIT, AUCTION_INIT_EVENT); expect(server.requests.length).to.equal(1); - expect(server.requests[0].url).to.equal('https://wba.liadm.com/analytic-events/auction-init?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&me=n&liip=y&aun=2') + expect(server.requests[0].url).to.equal('https://wba.liadm.com/analytic-events/auction-init?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&me=n&liip=y&aun=2&asz=300x250%2C728x90%2C300x250') events.emit(EVENTS.BID_WON, BID_WON_EVENT); expect(server.requests.length).to.equal(2); - expect(server.requests[1].url).to.equal('https://wba.liadm.com/analytic-events/bid-won?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&auc=test-div2&auid=afc6bc6a-3082-4940-b37f-d22e1b026e48&cpm=1.5&c=USD&b=appnexus&bc=appnexus&pid=a123&iid=pbjs&sts=1739971147744&rts=1739971147806&me=n&liip=y'); + expect(server.requests[1].url).to.equal('https://wba.liadm.com/analytic-events/bid-won?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&auc=test-div2&auid=afc6bc6a-3082-4940-b37f-d22e1b026e48&cpm=1.5&c=USD&b=appnexus&bc=appnexus&pid=a123&iid=pbjs&sts=1739971147744&rts=1739971147806&me=n&liip=y&asz=728x90'); }); it('request is computed and sent correctly when sampling is 1 and should forward the correct liTreatmentRate', () => { @@ -116,11 +116,11 @@ describe('LiveIntent Analytics Adapter ', () => { events.emit(EVENTS.AUCTION_INIT, AUCTION_INIT_EVENT); expect(server.requests.length).to.equal(1); - expect(server.requests[0].url).to.equal('https://wba.liadm.com/analytic-events/auction-init?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&tr=0.95&liip=y&aun=2') + expect(server.requests[0].url).to.equal('https://wba.liadm.com/analytic-events/auction-init?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&tr=0.95&liip=y&aun=2&asz=300x250%2C728x90%2C300x250') events.emit(EVENTS.BID_WON, BID_WON_EVENT); expect(server.requests.length).to.equal(2); - expect(server.requests[1].url).to.equal('https://wba.liadm.com/analytic-events/bid-won?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&auc=test-div2&auid=afc6bc6a-3082-4940-b37f-d22e1b026e48&cpm=1.5&c=USD&b=appnexus&bc=appnexus&pid=a123&iid=pbjs&sts=1739971147744&rts=1739971147806&tr=0.95&liip=y'); + expect(server.requests[1].url).to.equal('https://wba.liadm.com/analytic-events/bid-won?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&auc=test-div2&auid=afc6bc6a-3082-4940-b37f-d22e1b026e48&cpm=1.5&c=USD&b=appnexus&bc=appnexus&pid=a123&iid=pbjs&sts=1739971147744&rts=1739971147806&tr=0.95&liip=y&asz=728x90'); }); it('not send any events on auction init if disabled in settings', () => { @@ -137,7 +137,7 @@ describe('LiveIntent Analytics Adapter ', () => { events.emit(EVENTS.BID_WON, BID_WON_EVENT_UNDEFINED); expect(server.requests.length).to.equal(2); - expect(server.requests[1].url).to.equal('https://wba.liadm.com/analytic-events/bid-won?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&liip=y'); + expect(server.requests[1].url).to.equal('https://wba.liadm.com/analytic-events/bid-won?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&liip=y&asz=728x90'); }); it('liip should be n if there is no source or provider in userIdAsEids have the value liveintent.com', () => { @@ -145,7 +145,7 @@ describe('LiveIntent Analytics Adapter ', () => { events.emit(EVENTS.AUCTION_INIT, AUCTION_INIT_EVENT_NOT_LI); expect(server.requests.length).to.equal(1); - expect(server.requests[0].url).to.equal('https://wba.liadm.com/analytic-events/auction-init?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&liip=n&aun=2'); + expect(server.requests[0].url).to.equal('https://wba.liadm.com/analytic-events/auction-init?id=77abbc81-c1f1-41cd-8f25-f7149244c800&aid=87b4a93d-19ae-432a-96f0-8c2d4cc1c539&u=https%3A%2F%2Fwww.test.com&ats=1739969798557&pid=a123&iid=pbjs&liip=n&aun=2&asz=300x250%2C728x90'); }); it('no request is computed when sampling is 0', () => { From b4c742897c35e1392d812a63ce2f8a5e9b98bee1 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Wed, 3 Dec 2025 16:39:28 +0000 Subject: [PATCH 044/248] Prebid 10.19.0 release --- metadata/modules.json | 17 +++++++---- metadata/modules/33acrossBidAdapter.json | 2 +- metadata/modules/33acrossIdSystem.json | 2 +- metadata/modules/acuityadsBidAdapter.json | 2 +- metadata/modules/adagioBidAdapter.json | 2 +- metadata/modules/adagioRtdProvider.json | 2 +- metadata/modules/adbroBidAdapter.json | 2 +- metadata/modules/addefendBidAdapter.json | 2 +- metadata/modules/adfBidAdapter.json | 2 +- metadata/modules/adfusionBidAdapter.json | 2 +- metadata/modules/adheseBidAdapter.json | 2 +- metadata/modules/adipoloBidAdapter.json | 2 +- metadata/modules/adkernelAdnBidAdapter.json | 2 +- metadata/modules/adkernelBidAdapter.json | 8 ++--- metadata/modules/admaticBidAdapter.json | 4 +-- metadata/modules/admixerBidAdapter.json | 2 +- metadata/modules/admixerIdSystem.json | 2 +- metadata/modules/adnowBidAdapter.json | 2 +- metadata/modules/adnuntiusBidAdapter.json | 2 +- metadata/modules/adnuntiusRtdProvider.json | 2 +- metadata/modules/adotBidAdapter.json | 2 +- metadata/modules/adponeBidAdapter.json | 2 +- metadata/modules/adqueryBidAdapter.json | 2 +- metadata/modules/adqueryIdSystem.json | 2 +- metadata/modules/adrinoBidAdapter.json | 2 +- .../modules/ads_interactiveBidAdapter.json | 2 +- metadata/modules/adtargetBidAdapter.json | 2 +- metadata/modules/adtelligentBidAdapter.json | 6 ++-- metadata/modules/adtelligentIdSystem.json | 2 +- metadata/modules/aduptechBidAdapter.json | 2 +- metadata/modules/airgridRtdProvider.json | 2 +- metadata/modules/alkimiBidAdapter.json | 2 +- metadata/modules/amxBidAdapter.json | 2 +- metadata/modules/amxIdSystem.json | 2 +- metadata/modules/aniviewBidAdapter.json | 2 +- metadata/modules/anonymisedRtdProvider.json | 2 +- metadata/modules/appStockSSPBidAdapter.json | 2 +- metadata/modules/appierBidAdapter.json | 2 +- metadata/modules/appnexusBidAdapter.json | 10 +++---- metadata/modules/appushBidAdapter.json | 2 +- metadata/modules/apstreamBidAdapter.json | 2 +- metadata/modules/audiencerunBidAdapter.json | 2 +- metadata/modules/axisBidAdapter.json | 2 +- metadata/modules/azerionedgeRtdProvider.json | 2 +- metadata/modules/beachfrontBidAdapter.json | 2 +- metadata/modules/beopBidAdapter.json | 2 +- metadata/modules/betweenBidAdapter.json | 2 +- metadata/modules/bidfuseBidAdapter.json | 2 +- metadata/modules/bidmaticBidAdapter.json | 2 +- metadata/modules/bidtheatreBidAdapter.json | 2 +- metadata/modules/bliinkBidAdapter.json | 2 +- metadata/modules/blockthroughBidAdapter.json | 2 +- metadata/modules/blueBidAdapter.json | 2 +- metadata/modules/bmsBidAdapter.json | 2 +- metadata/modules/boldwinBidAdapter.json | 2 +- metadata/modules/bridBidAdapter.json | 2 +- metadata/modules/browsiBidAdapter.json | 2 +- metadata/modules/bucksenseBidAdapter.json | 2 +- metadata/modules/carodaBidAdapter.json | 2 +- metadata/modules/categoryTranslation.json | 2 +- metadata/modules/ceeIdSystem.json | 2 +- metadata/modules/chromeAiRtdProvider.json | 2 +- metadata/modules/clickioBidAdapter.json | 11 +++++-- metadata/modules/compassBidAdapter.json | 2 +- metadata/modules/conceptxBidAdapter.json | 2 +- metadata/modules/connatixBidAdapter.json | 2 +- metadata/modules/connectIdSystem.json | 2 +- metadata/modules/connectadBidAdapter.json | 2 +- .../modules/contentexchangeBidAdapter.json | 2 +- metadata/modules/conversantBidAdapter.json | 2 +- metadata/modules/copper6sspBidAdapter.json | 2 +- metadata/modules/cpmstarBidAdapter.json | 2 +- metadata/modules/criteoBidAdapter.json | 2 +- metadata/modules/criteoIdSystem.json | 2 +- metadata/modules/cwireBidAdapter.json | 2 +- metadata/modules/czechAdIdSystem.json | 2 +- metadata/modules/dailymotionBidAdapter.json | 2 +- metadata/modules/debugging.json | 2 +- metadata/modules/deepintentBidAdapter.json | 2 +- metadata/modules/defineMediaBidAdapter.json | 2 +- metadata/modules/deltaprojectsBidAdapter.json | 2 +- metadata/modules/dianomiBidAdapter.json | 2 +- metadata/modules/digitalMatterBidAdapter.json | 2 +- metadata/modules/distroscaleBidAdapter.json | 2 +- .../modules/docereeAdManagerBidAdapter.json | 2 +- metadata/modules/docereeBidAdapter.json | 2 +- metadata/modules/dspxBidAdapter.json | 2 +- metadata/modules/e_volutionBidAdapter.json | 2 +- metadata/modules/edge226BidAdapter.json | 2 +- metadata/modules/empowerBidAdapter.json | 2 +- metadata/modules/equativBidAdapter.json | 2 +- metadata/modules/eskimiBidAdapter.json | 2 +- metadata/modules/etargetBidAdapter.json | 2 +- metadata/modules/euidIdSystem.json | 2 +- metadata/modules/exadsBidAdapter.json | 2 +- metadata/modules/feedadBidAdapter.json | 2 +- metadata/modules/fwsspBidAdapter.json | 2 +- metadata/modules/gamoshiBidAdapter.json | 2 +- metadata/modules/gemiusIdSystem.json | 2 +- metadata/modules/glomexBidAdapter.json | 2 +- metadata/modules/goldbachBidAdapter.json | 2 +- metadata/modules/gridBidAdapter.json | 2 +- metadata/modules/gumgumBidAdapter.json | 2 +- metadata/modules/hadronIdSystem.json | 2 +- metadata/modules/hadronRtdProvider.json | 2 +- metadata/modules/holidBidAdapter.json | 2 +- metadata/modules/hybridBidAdapter.json | 2 +- metadata/modules/id5IdSystem.json | 2 +- metadata/modules/identityLinkIdSystem.json | 2 +- metadata/modules/illuminBidAdapter.json | 2 +- metadata/modules/impactifyBidAdapter.json | 2 +- .../modules/improvedigitalBidAdapter.json | 2 +- metadata/modules/inmobiBidAdapter.json | 2 +- metadata/modules/insticatorBidAdapter.json | 2 +- metadata/modules/intentIqIdSystem.json | 2 +- metadata/modules/invibesBidAdapter.json | 2 +- metadata/modules/ipromBidAdapter.json | 2 +- metadata/modules/ixBidAdapter.json | 2 +- metadata/modules/justIdSystem.json | 2 +- metadata/modules/justpremiumBidAdapter.json | 2 +- metadata/modules/jwplayerBidAdapter.json | 2 +- metadata/modules/kargoBidAdapter.json | 2 +- metadata/modules/kueezRtbBidAdapter.json | 2 +- .../modules/limelightDigitalBidAdapter.json | 4 +-- metadata/modules/liveIntentIdSystem.json | 2 +- metadata/modules/liveIntentRtdProvider.json | 2 +- metadata/modules/livewrappedBidAdapter.json | 2 +- metadata/modules/loopmeBidAdapter.json | 2 +- metadata/modules/lotamePanoramaIdSystem.json | 2 +- metadata/modules/luponmediaBidAdapter.json | 2 +- metadata/modules/madvertiseBidAdapter.json | 2 +- metadata/modules/marsmediaBidAdapter.json | 2 +- .../modules/mediaConsortiumBidAdapter.json | 2 +- metadata/modules/mediaforceBidAdapter.json | 2 +- metadata/modules/mediafuseBidAdapter.json | 2 +- metadata/modules/mediagoBidAdapter.json | 2 +- metadata/modules/mediakeysBidAdapter.json | 2 +- metadata/modules/medianetBidAdapter.json | 4 +-- metadata/modules/mediasquareBidAdapter.json | 2 +- metadata/modules/mgidBidAdapter.json | 2 +- metadata/modules/mgidRtdProvider.json | 2 +- metadata/modules/mgidXBidAdapter.json | 2 +- metadata/modules/minutemediaBidAdapter.json | 2 +- metadata/modules/missenaBidAdapter.json | 2 +- metadata/modules/mobianRtdProvider.json | 2 +- metadata/modules/mobkoiBidAdapter.json | 2 +- metadata/modules/mobkoiIdSystem.json | 2 +- metadata/modules/msftBidAdapter.json | 2 +- metadata/modules/nativeryBidAdapter.json | 2 +- metadata/modules/nativoBidAdapter.json | 2 +- metadata/modules/newspassidBidAdapter.json | 2 +- .../modules/nextMillenniumBidAdapter.json | 2 +- metadata/modules/nextrollBidAdapter.json | 2 +- metadata/modules/nexx360BidAdapter.json | 14 ++++----- metadata/modules/nobidBidAdapter.json | 2 +- metadata/modules/nodalsAiRtdProvider.json | 2 +- metadata/modules/novatiqIdSystem.json | 2 +- metadata/modules/oguryBidAdapter.json | 2 +- metadata/modules/omnidexBidAdapter.json | 2 +- metadata/modules/omsBidAdapter.json | 2 +- metadata/modules/onetagBidAdapter.json | 2 +- metadata/modules/openwebBidAdapter.json | 2 +- metadata/modules/openxBidAdapter.json | 2 +- metadata/modules/operaadsBidAdapter.json | 2 +- metadata/modules/optidigitalBidAdapter.json | 2 +- metadata/modules/optoutBidAdapter.json | 2 +- metadata/modules/orbidderBidAdapter.json | 2 +- metadata/modules/outbrainBidAdapter.json | 2 +- metadata/modules/ozoneBidAdapter.json | 2 +- metadata/modules/pairIdSystem.json | 2 +- metadata/modules/performaxBidAdapter.json | 2 +- .../permutiveIdentityManagerIdSystem.json | 4 +-- metadata/modules/permutiveRtdProvider.json | 4 +-- metadata/modules/pixfutureBidAdapter.json | 2 +- metadata/modules/playdigoBidAdapter.json | 2 +- metadata/modules/prebid-core.json | 4 +-- metadata/modules/precisoBidAdapter.json | 2 +- metadata/modules/prismaBidAdapter.json | 2 +- metadata/modules/programmaticXBidAdapter.json | 2 +- metadata/modules/proxistoreBidAdapter.json | 2 +- metadata/modules/publinkIdSystem.json | 2 +- metadata/modules/pubmaticBidAdapter.json | 2 +- metadata/modules/pubmaticIdSystem.json | 2 +- metadata/modules/pulsepointBidAdapter.json | 2 +- metadata/modules/quantcastBidAdapter.json | 2 +- metadata/modules/quantcastIdSystem.json | 2 +- metadata/modules/r2b2BidAdapter.json | 2 +- metadata/modules/readpeakBidAdapter.json | 2 +- metadata/modules/relayBidAdapter.json | 2 +- .../modules/relevantdigitalBidAdapter.json | 2 +- metadata/modules/resetdigitalBidAdapter.json | 2 +- metadata/modules/responsiveAdsBidAdapter.json | 2 +- metadata/modules/revcontentBidAdapter.json | 2 +- metadata/modules/rhythmoneBidAdapter.json | 2 +- metadata/modules/richaudienceBidAdapter.json | 2 +- metadata/modules/riseBidAdapter.json | 4 +-- metadata/modules/rixengineBidAdapter.json | 2 +- metadata/modules/rtbhouseBidAdapter.json | 2 +- metadata/modules/rubiconBidAdapter.json | 2 +- metadata/modules/scaliburBidAdapter.json | 2 +- metadata/modules/screencoreBidAdapter.json | 2 +- .../modules/seedingAllianceBidAdapter.json | 2 +- metadata/modules/seedtagBidAdapter.json | 2 +- metadata/modules/semantiqRtdProvider.json | 2 +- metadata/modules/setupadBidAdapter.json | 2 +- metadata/modules/sevioBidAdapter.json | 2 +- metadata/modules/sharedIdSystem.json | 2 +- metadata/modules/sharethroughBidAdapter.json | 2 +- metadata/modules/showheroes-bsBidAdapter.json | 2 +- metadata/modules/silvermobBidAdapter.json | 2 +- metadata/modules/sirdataRtdProvider.json | 2 +- metadata/modules/smaatoBidAdapter.json | 2 +- metadata/modules/smartadserverBidAdapter.json | 2 +- metadata/modules/smarthubBidAdapter.json | 7 +++++ metadata/modules/smartxBidAdapter.json | 2 +- metadata/modules/smartyadsBidAdapter.json | 2 +- metadata/modules/smilewantedBidAdapter.json | 2 +- metadata/modules/snigelBidAdapter.json | 2 +- metadata/modules/sonaradsBidAdapter.json | 2 +- metadata/modules/sonobiBidAdapter.json | 2 +- metadata/modules/sovrnBidAdapter.json | 2 +- metadata/modules/sparteoBidAdapter.json | 2 +- metadata/modules/ssmasBidAdapter.json | 2 +- metadata/modules/sspBCBidAdapter.json | 2 +- metadata/modules/stackadaptBidAdapter.json | 2 +- metadata/modules/startioBidAdapter.json | 2 +- metadata/modules/stroeerCoreBidAdapter.json | 2 +- metadata/modules/stvBidAdapter.json | 2 +- metadata/modules/sublimeBidAdapter.json | 2 +- metadata/modules/taboolaBidAdapter.json | 2 +- metadata/modules/taboolaIdSystem.json | 2 +- metadata/modules/tadvertisingBidAdapter.json | 2 +- metadata/modules/tappxBidAdapter.json | 2 +- metadata/modules/targetVideoBidAdapter.json | 2 +- metadata/modules/teadsBidAdapter.json | 2 +- metadata/modules/teadsIdSystem.json | 2 +- metadata/modules/tealBidAdapter.json | 2 +- metadata/modules/tncIdSystem.json | 2 +- metadata/modules/topicsFpdModule.json | 2 +- metadata/modules/toponBidAdapter.json | 2 +- metadata/modules/tripleliftBidAdapter.json | 2 +- metadata/modules/ttdBidAdapter.json | 2 +- metadata/modules/twistDigitalBidAdapter.json | 2 +- metadata/modules/underdogmediaBidAdapter.json | 2 +- metadata/modules/undertoneBidAdapter.json | 2 +- metadata/modules/unifiedIdSystem.json | 2 +- metadata/modules/unrulyBidAdapter.json | 2 +- metadata/modules/userId.json | 2 +- metadata/modules/utiqIdSystem.json | 2 +- metadata/modules/utiqMtpIdSystem.json | 2 +- metadata/modules/validationFpdModule.json | 2 +- metadata/modules/valuadBidAdapter.json | 2 +- metadata/modules/vidazooBidAdapter.json | 2 +- metadata/modules/vidoomyBidAdapter.json | 2 +- metadata/modules/viouslyBidAdapter.json | 2 +- metadata/modules/visxBidAdapter.json | 2 +- metadata/modules/vlybyBidAdapter.json | 2 +- metadata/modules/voxBidAdapter.json | 2 +- metadata/modules/vrtcalBidAdapter.json | 2 +- metadata/modules/vuukleBidAdapter.json | 2 +- metadata/modules/weboramaRtdProvider.json | 2 +- metadata/modules/welectBidAdapter.json | 2 +- metadata/modules/yahooAdsBidAdapter.json | 2 +- metadata/modules/yieldlabBidAdapter.json | 2 +- metadata/modules/yieldloveBidAdapter.json | 2 +- metadata/modules/yieldmoBidAdapter.json | 2 +- metadata/modules/zeotapIdPlusIdSystem.json | 2 +- metadata/modules/zeta_globalBidAdapter.json | 2 +- .../modules/zeta_global_sspBidAdapter.json | 2 +- package-lock.json | 29 +++++++++---------- package.json | 2 +- 271 files changed, 330 insertions(+), 312 deletions(-) diff --git a/metadata/modules.json b/metadata/modules.json index a08bfd3b4ac..68eb9a03b1a 100644 --- a/metadata/modules.json +++ b/metadata/modules.json @@ -1713,7 +1713,7 @@ "componentType": "bidder", "componentName": "clickio", "aliasOf": null, - "gvlid": null, + "gvlid": 1500, "disclosureURL": null }, { @@ -4271,6 +4271,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "radiantfusion", + "aliasOf": "smarthub", + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "smartico", @@ -5290,8 +5297,8 @@ { "componentType": "rtd", "componentName": "permutive", - "gvlid": 361, - "disclosureURL": null + "gvlid": null, + "disclosureURL": "https://assets.permutive.app/tcf/tcf.json" }, { "componentType": "rtd", @@ -5695,8 +5702,8 @@ { "componentType": "userId", "componentName": "permutiveIdentityManagerId", - "gvlid": 361, - "disclosureURL": null, + "gvlid": null, + "disclosureURL": "https://assets.permutive.app/tcf/tcf.json", "aliasOf": null }, { diff --git a/metadata/modules/33acrossBidAdapter.json b/metadata/modules/33acrossBidAdapter.json index eeeb3d3c81b..67630cda402 100644 --- a/metadata/modules/33acrossBidAdapter.json +++ b/metadata/modules/33acrossBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2025-11-24T17:31:25.747Z", + "timestamp": "2025-12-03T16:37:39.026Z", "disclosures": [] } }, diff --git a/metadata/modules/33acrossIdSystem.json b/metadata/modules/33acrossIdSystem.json index 9f5f58bbbc4..2e119310259 100644 --- a/metadata/modules/33acrossIdSystem.json +++ b/metadata/modules/33acrossIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2025-11-24T17:31:25.855Z", + "timestamp": "2025-12-03T16:37:39.141Z", "disclosures": [] } }, diff --git a/metadata/modules/acuityadsBidAdapter.json b/metadata/modules/acuityadsBidAdapter.json index cc00c0265f0..638529984e0 100644 --- a/metadata/modules/acuityadsBidAdapter.json +++ b/metadata/modules/acuityadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.acuityads.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:25.858Z", + "timestamp": "2025-12-03T16:37:39.144Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioBidAdapter.json b/metadata/modules/adagioBidAdapter.json index 79de0aadda1..501526f269d 100644 --- a/metadata/modules/adagioBidAdapter.json +++ b/metadata/modules/adagioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:25.897Z", + "timestamp": "2025-12-03T16:37:39.176Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioRtdProvider.json b/metadata/modules/adagioRtdProvider.json index d998e2df378..ff1a2484743 100644 --- a/metadata/modules/adagioRtdProvider.json +++ b/metadata/modules/adagioRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:25.969Z", + "timestamp": "2025-12-03T16:37:39.236Z", "disclosures": [] } }, diff --git a/metadata/modules/adbroBidAdapter.json b/metadata/modules/adbroBidAdapter.json index 1dd5046c372..b5095141329 100644 --- a/metadata/modules/adbroBidAdapter.json +++ b/metadata/modules/adbroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tag.adbro.me/privacy/devicestorage.json": { - "timestamp": "2025-11-24T17:31:25.969Z", + "timestamp": "2025-12-03T16:37:39.236Z", "disclosures": [] } }, diff --git a/metadata/modules/addefendBidAdapter.json b/metadata/modules/addefendBidAdapter.json index 5c5fce69666..982caf031b9 100644 --- a/metadata/modules/addefendBidAdapter.json +++ b/metadata/modules/addefendBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.addefend.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:26.249Z", + "timestamp": "2025-12-03T16:37:39.518Z", "disclosures": [] } }, diff --git a/metadata/modules/adfBidAdapter.json b/metadata/modules/adfBidAdapter.json index a5f6794596d..7bacef5ae20 100644 --- a/metadata/modules/adfBidAdapter.json +++ b/metadata/modules/adfBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://site.adform.com/assets/devicestorage.json": { - "timestamp": "2025-11-24T17:31:26.910Z", + "timestamp": "2025-12-03T16:37:40.195Z", "disclosures": [] } }, diff --git a/metadata/modules/adfusionBidAdapter.json b/metadata/modules/adfusionBidAdapter.json index 4f9513eb0e4..7c286d8e772 100644 --- a/metadata/modules/adfusionBidAdapter.json +++ b/metadata/modules/adfusionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spicyrtb.com/static/iab-disclosure.json": { - "timestamp": "2025-11-24T17:31:26.911Z", + "timestamp": "2025-12-03T16:37:40.195Z", "disclosures": [] } }, diff --git a/metadata/modules/adheseBidAdapter.json b/metadata/modules/adheseBidAdapter.json index 17e905ae542..40f5dc1b0e9 100644 --- a/metadata/modules/adheseBidAdapter.json +++ b/metadata/modules/adheseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adhese.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:27.266Z", + "timestamp": "2025-12-03T16:37:40.548Z", "disclosures": [] } }, diff --git a/metadata/modules/adipoloBidAdapter.json b/metadata/modules/adipoloBidAdapter.json index 3b3629472be..633958edfe7 100644 --- a/metadata/modules/adipoloBidAdapter.json +++ b/metadata/modules/adipoloBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adipolo.com/device_storage_disclosure.json": { - "timestamp": "2025-11-24T17:31:27.539Z", + "timestamp": "2025-12-03T16:37:40.813Z", "disclosures": [] } }, diff --git a/metadata/modules/adkernelAdnBidAdapter.json b/metadata/modules/adkernelAdnBidAdapter.json index b06ce5af653..b91ff3e3df6 100644 --- a/metadata/modules/adkernelAdnBidAdapter.json +++ b/metadata/modules/adkernelAdnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:27.666Z", + "timestamp": "2025-12-03T16:37:40.952Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", diff --git a/metadata/modules/adkernelBidAdapter.json b/metadata/modules/adkernelBidAdapter.json index 4edd25baeb6..f6c70ec4bfb 100644 --- a/metadata/modules/adkernelBidAdapter.json +++ b/metadata/modules/adkernelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:27.717Z", + "timestamp": "2025-12-03T16:37:40.986Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", @@ -17,15 +17,15 @@ ] }, "https://data.converge-digital.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:27.717Z", + "timestamp": "2025-12-03T16:37:40.986Z", "disclosures": [] }, "https://spinx.biz/tcf-spinx.json": { - "timestamp": "2025-11-24T17:31:27.760Z", + "timestamp": "2025-12-03T16:37:41.042Z", "disclosures": [] }, "https://gdpr.memob.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:28.483Z", + "timestamp": "2025-12-03T16:37:41.731Z", "disclosures": [] } }, diff --git a/metadata/modules/admaticBidAdapter.json b/metadata/modules/admaticBidAdapter.json index 30753d6facb..ea1b254daad 100644 --- a/metadata/modules/admaticBidAdapter.json +++ b/metadata/modules/admaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.admatic.de/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2025-11-24T17:31:28.964Z", + "timestamp": "2025-12-03T16:37:42.256Z", "disclosures": [ { "identifier": "px_pbjs", @@ -12,7 +12,7 @@ ] }, "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:28.612Z", + "timestamp": "2025-12-03T16:37:41.889Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/admixerBidAdapter.json b/metadata/modules/admixerBidAdapter.json index 7ad13def570..bcf72b90707 100644 --- a/metadata/modules/admixerBidAdapter.json +++ b/metadata/modules/admixerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2025-11-24T17:31:28.964Z", + "timestamp": "2025-12-03T16:37:42.256Z", "disclosures": [] } }, diff --git a/metadata/modules/admixerIdSystem.json b/metadata/modules/admixerIdSystem.json index 65643ca0baa..5275b31a737 100644 --- a/metadata/modules/admixerIdSystem.json +++ b/metadata/modules/admixerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2025-11-24T17:31:29.336Z", + "timestamp": "2025-12-03T16:37:42.658Z", "disclosures": [] } }, diff --git a/metadata/modules/adnowBidAdapter.json b/metadata/modules/adnowBidAdapter.json index 2144c061c94..9502a4e83e9 100644 --- a/metadata/modules/adnowBidAdapter.json +++ b/metadata/modules/adnowBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adnow.com/vdsod.json": { - "timestamp": "2025-11-24T17:31:29.337Z", + "timestamp": "2025-12-03T16:37:42.658Z", "disclosures": [ { "identifier": "SC_unique_*", diff --git a/metadata/modules/adnuntiusBidAdapter.json b/metadata/modules/adnuntiusBidAdapter.json index 64e2ac530bf..ab898368021 100644 --- a/metadata/modules/adnuntiusBidAdapter.json +++ b/metadata/modules/adnuntiusBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:29.564Z", + "timestamp": "2025-12-03T16:37:42.935Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adnuntiusRtdProvider.json b/metadata/modules/adnuntiusRtdProvider.json index dd87980c348..993d83e2e34 100644 --- a/metadata/modules/adnuntiusRtdProvider.json +++ b/metadata/modules/adnuntiusRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:29.883Z", + "timestamp": "2025-12-03T16:37:43.272Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adotBidAdapter.json b/metadata/modules/adotBidAdapter.json index ea06395d462..0d0e2d16d56 100644 --- a/metadata/modules/adotBidAdapter.json +++ b/metadata/modules/adotBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.adotmob.com/tcf/tcf.json": { - "timestamp": "2025-11-24T17:31:29.883Z", + "timestamp": "2025-12-03T16:37:43.272Z", "disclosures": [] } }, diff --git a/metadata/modules/adponeBidAdapter.json b/metadata/modules/adponeBidAdapter.json index 252d5cb36ca..4e1c3a30c25 100644 --- a/metadata/modules/adponeBidAdapter.json +++ b/metadata/modules/adponeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.adpone.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:29.923Z", + "timestamp": "2025-12-03T16:37:43.314Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryBidAdapter.json b/metadata/modules/adqueryBidAdapter.json index 8ed790ec5c4..a9188b1e7d5 100644 --- a/metadata/modules/adqueryBidAdapter.json +++ b/metadata/modules/adqueryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2025-11-24T17:31:29.948Z", + "timestamp": "2025-12-03T16:37:43.338Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryIdSystem.json b/metadata/modules/adqueryIdSystem.json index 842cf28ef75..8e3d9f646e4 100644 --- a/metadata/modules/adqueryIdSystem.json +++ b/metadata/modules/adqueryIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2025-11-24T17:31:30.365Z", + "timestamp": "2025-12-03T16:37:43.697Z", "disclosures": [] } }, diff --git a/metadata/modules/adrinoBidAdapter.json b/metadata/modules/adrinoBidAdapter.json index 7186676f10c..93afd013173 100644 --- a/metadata/modules/adrinoBidAdapter.json +++ b/metadata/modules/adrinoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.adrino.cloud/iab/device-storage.json": { - "timestamp": "2025-11-24T17:31:30.365Z", + "timestamp": "2025-12-03T16:37:43.697Z", "disclosures": [] } }, diff --git a/metadata/modules/ads_interactiveBidAdapter.json b/metadata/modules/ads_interactiveBidAdapter.json index e525192fa68..e5b95b040f8 100644 --- a/metadata/modules/ads_interactiveBidAdapter.json +++ b/metadata/modules/ads_interactiveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adsinteractive.com/vendor.json": { - "timestamp": "2025-11-24T17:31:30.410Z", + "timestamp": "2025-12-03T16:37:43.794Z", "disclosures": [] } }, diff --git a/metadata/modules/adtargetBidAdapter.json b/metadata/modules/adtargetBidAdapter.json index c9950be3e43..37affb15130 100644 --- a/metadata/modules/adtargetBidAdapter.json +++ b/metadata/modules/adtargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:30.712Z", + "timestamp": "2025-12-03T16:37:44.097Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/adtelligentBidAdapter.json b/metadata/modules/adtelligentBidAdapter.json index e893504d93b..fb9ac8540b0 100644 --- a/metadata/modules/adtelligentBidAdapter.json +++ b/metadata/modules/adtelligentBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:30.712Z", + "timestamp": "2025-12-03T16:37:44.098Z", "disclosures": [] }, "https://www.selectmedia.asia/gdpr/devicestorage.json": { - "timestamp": "2025-11-24T17:31:30.732Z", + "timestamp": "2025-12-03T16:37:44.116Z", "disclosures": [ { "identifier": "waterFallCacheAnsKey_*", @@ -81,7 +81,7 @@ ] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2025-11-24T17:31:30.877Z", + "timestamp": "2025-12-03T16:37:44.259Z", "disclosures": [] } }, diff --git a/metadata/modules/adtelligentIdSystem.json b/metadata/modules/adtelligentIdSystem.json index 21eb09bd7e1..b18e43dcc56 100644 --- a/metadata/modules/adtelligentIdSystem.json +++ b/metadata/modules/adtelligentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:30.959Z", + "timestamp": "2025-12-03T16:37:44.340Z", "disclosures": [] } }, diff --git a/metadata/modules/aduptechBidAdapter.json b/metadata/modules/aduptechBidAdapter.json index 8910732c539..a2368c06054 100644 --- a/metadata/modules/aduptechBidAdapter.json +++ b/metadata/modules/aduptechBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.d.adup-tech.com/gdpr/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:30.960Z", + "timestamp": "2025-12-03T16:37:44.340Z", "disclosures": [] } }, diff --git a/metadata/modules/airgridRtdProvider.json b/metadata/modules/airgridRtdProvider.json index 93c9d80ba68..d8f1dc91ed6 100644 --- a/metadata/modules/airgridRtdProvider.json +++ b/metadata/modules/airgridRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.wearemiq.com/privacy-and-compliance/devicestoragedisclosures.json": { - "timestamp": "2025-11-24T17:31:31.429Z", + "timestamp": "2025-12-03T16:37:47.844Z", "disclosures": [] } }, diff --git a/metadata/modules/alkimiBidAdapter.json b/metadata/modules/alkimiBidAdapter.json index 047755db4f1..88b3485c350 100644 --- a/metadata/modules/alkimiBidAdapter.json +++ b/metadata/modules/alkimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d1xjh92lb8fey3.cloudfront.net/tcf/alkimi_exchange_tcf.json": { - "timestamp": "2025-11-24T17:31:31.471Z", + "timestamp": "2025-12-03T16:37:47.884Z", "disclosures": [] } }, diff --git a/metadata/modules/amxBidAdapter.json b/metadata/modules/amxBidAdapter.json index a4d40867a2e..bf293280b6c 100644 --- a/metadata/modules/amxBidAdapter.json +++ b/metadata/modules/amxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2025-11-24T17:31:31.743Z", + "timestamp": "2025-12-03T16:37:48.165Z", "disclosures": [] } }, diff --git a/metadata/modules/amxIdSystem.json b/metadata/modules/amxIdSystem.json index 5a31aba6c84..77952892bca 100644 --- a/metadata/modules/amxIdSystem.json +++ b/metadata/modules/amxIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2025-11-24T17:31:31.888Z", + "timestamp": "2025-12-03T16:37:48.215Z", "disclosures": [] } }, diff --git a/metadata/modules/aniviewBidAdapter.json b/metadata/modules/aniviewBidAdapter.json index d933bc0239a..34b6d8a97ee 100644 --- a/metadata/modules/aniviewBidAdapter.json +++ b/metadata/modules/aniviewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.aniview.com/gdpr/gdpr.json": { - "timestamp": "2025-11-24T17:31:31.888Z", + "timestamp": "2025-12-03T16:37:48.215Z", "disclosures": [ { "identifier": "av_*", diff --git a/metadata/modules/anonymisedRtdProvider.json b/metadata/modules/anonymisedRtdProvider.json index b765bc45308..cc75f3739ba 100644 --- a/metadata/modules/anonymisedRtdProvider.json +++ b/metadata/modules/anonymisedRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.anonymised.io/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:32.195Z", + "timestamp": "2025-12-03T16:37:48.314Z", "disclosures": [ { "identifier": "oidc.user*", diff --git a/metadata/modules/appStockSSPBidAdapter.json b/metadata/modules/appStockSSPBidAdapter.json index 1d009491ef3..540ecea5b49 100644 --- a/metadata/modules/appStockSSPBidAdapter.json +++ b/metadata/modules/appStockSSPBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://app-stock.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:32.212Z", + "timestamp": "2025-12-03T16:37:48.542Z", "disclosures": [] } }, diff --git a/metadata/modules/appierBidAdapter.json b/metadata/modules/appierBidAdapter.json index 3845c49f9ae..2ed3c34d10a 100644 --- a/metadata/modules/appierBidAdapter.json +++ b/metadata/modules/appierBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.appier.com/deviceStorage2025.json": { - "timestamp": "2025-11-24T17:31:32.257Z", + "timestamp": "2025-12-03T16:37:48.628Z", "disclosures": [ { "identifier": "_atrk_ssid", diff --git a/metadata/modules/appnexusBidAdapter.json b/metadata/modules/appnexusBidAdapter.json index 62f848d6681..5a6a6bc26a0 100644 --- a/metadata/modules/appnexusBidAdapter.json +++ b/metadata/modules/appnexusBidAdapter.json @@ -2,23 +2,23 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2025-11-24T17:31:32.919Z", + "timestamp": "2025-12-03T16:37:49.311Z", "disclosures": [] }, "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:32.336Z", + "timestamp": "2025-12-03T16:37:48.756Z", "disclosures": [] }, "https://beintoo-support.b-cdn.net/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:32.360Z", + "timestamp": "2025-12-03T16:37:48.773Z", "disclosures": [] }, "https://projectagora.net/1032_deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:32.459Z", + "timestamp": "2025-12-03T16:37:48.876Z", "disclosures": [] }, "https://adzymic.com/tcf.json": { - "timestamp": "2025-11-24T17:31:32.919Z", + "timestamp": "2025-12-03T16:37:49.311Z", "disclosures": [] } }, diff --git a/metadata/modules/appushBidAdapter.json b/metadata/modules/appushBidAdapter.json index 72faf944914..cdad3ac4680 100644 --- a/metadata/modules/appushBidAdapter.json +++ b/metadata/modules/appushBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.thebiding.com/disclosures.json": { - "timestamp": "2025-11-24T17:31:32.954Z", + "timestamp": "2025-12-03T16:37:49.339Z", "disclosures": [] } }, diff --git a/metadata/modules/apstreamBidAdapter.json b/metadata/modules/apstreamBidAdapter.json index 2b37ed2987e..7ec9d463199 100644 --- a/metadata/modules/apstreamBidAdapter.json +++ b/metadata/modules/apstreamBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sak.userreport.com/tcf.json": { - "timestamp": "2025-11-24T17:31:33.028Z", + "timestamp": "2025-12-03T16:37:49.404Z", "disclosures": [ { "identifier": "apr_dsu", diff --git a/metadata/modules/audiencerunBidAdapter.json b/metadata/modules/audiencerunBidAdapter.json index b73a8a92fd3..6c0c062f51a 100644 --- a/metadata/modules/audiencerunBidAdapter.json +++ b/metadata/modules/audiencerunBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.audiencerun.com/tcf.json": { - "timestamp": "2025-11-24T17:31:33.054Z", + "timestamp": "2025-12-03T16:37:49.426Z", "disclosures": [] } }, diff --git a/metadata/modules/axisBidAdapter.json b/metadata/modules/axisBidAdapter.json index eae1c61e2b0..7d5beb0e081 100644 --- a/metadata/modules/axisBidAdapter.json +++ b/metadata/modules/axisBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://axis-marketplace.com/tcf.json": { - "timestamp": "2025-11-24T17:31:33.103Z", + "timestamp": "2025-12-03T16:37:49.470Z", "disclosures": [] } }, diff --git a/metadata/modules/azerionedgeRtdProvider.json b/metadata/modules/azerionedgeRtdProvider.json index 6f9893b067e..36459ae70db 100644 --- a/metadata/modules/azerionedgeRtdProvider.json +++ b/metadata/modules/azerionedgeRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2025-11-24T17:31:33.143Z", + "timestamp": "2025-12-03T16:37:49.515Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/beachfrontBidAdapter.json b/metadata/modules/beachfrontBidAdapter.json index 970620f1ad4..877b07f4537 100644 --- a/metadata/modules/beachfrontBidAdapter.json +++ b/metadata/modules/beachfrontBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2025-11-24T17:31:33.163Z", + "timestamp": "2025-12-03T16:37:49.539Z", "disclosures": [] } }, diff --git a/metadata/modules/beopBidAdapter.json b/metadata/modules/beopBidAdapter.json index e2e2c2d1824..099a450de03 100644 --- a/metadata/modules/beopBidAdapter.json +++ b/metadata/modules/beopBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://beop.io/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:33.294Z", + "timestamp": "2025-12-03T16:37:49.676Z", "disclosures": [] } }, diff --git a/metadata/modules/betweenBidAdapter.json b/metadata/modules/betweenBidAdapter.json index 093a1bd454e..e9a028f46d4 100644 --- a/metadata/modules/betweenBidAdapter.json +++ b/metadata/modules/betweenBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.betweenx.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:33.409Z", + "timestamp": "2025-12-03T16:37:49.846Z", "disclosures": [] } }, diff --git a/metadata/modules/bidfuseBidAdapter.json b/metadata/modules/bidfuseBidAdapter.json index e03097eea9b..62b7f83d58f 100644 --- a/metadata/modules/bidfuseBidAdapter.json +++ b/metadata/modules/bidfuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidfuse.com/disclosure.json": { - "timestamp": "2025-11-24T17:31:33.444Z", + "timestamp": "2025-12-03T16:37:49.888Z", "disclosures": [] } }, diff --git a/metadata/modules/bidmaticBidAdapter.json b/metadata/modules/bidmaticBidAdapter.json index 9a33bf9eb55..7b0bd87e88c 100644 --- a/metadata/modules/bidmaticBidAdapter.json +++ b/metadata/modules/bidmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidmatic.io/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:33.636Z", + "timestamp": "2025-12-03T16:37:50.081Z", "disclosures": [] } }, diff --git a/metadata/modules/bidtheatreBidAdapter.json b/metadata/modules/bidtheatreBidAdapter.json index 574d22f244c..1268557a26e 100644 --- a/metadata/modules/bidtheatreBidAdapter.json +++ b/metadata/modules/bidtheatreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.bidtheatre.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:33.680Z", + "timestamp": "2025-12-03T16:37:50.132Z", "disclosures": [] } }, diff --git a/metadata/modules/bliinkBidAdapter.json b/metadata/modules/bliinkBidAdapter.json index 1fdd1963447..92c6fa0f4ae 100644 --- a/metadata/modules/bliinkBidAdapter.json +++ b/metadata/modules/bliinkBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bliink.io/disclosures.json": { - "timestamp": "2025-11-24T17:31:33.970Z", + "timestamp": "2025-12-03T16:37:50.451Z", "disclosures": [] } }, diff --git a/metadata/modules/blockthroughBidAdapter.json b/metadata/modules/blockthroughBidAdapter.json index 4a8152db033..86afb27810a 100644 --- a/metadata/modules/blockthroughBidAdapter.json +++ b/metadata/modules/blockthroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://blockthrough.com/tcf_disclosures.json": { - "timestamp": "2025-11-24T17:31:34.504Z", + "timestamp": "2025-12-03T16:37:50.762Z", "disclosures": null } }, diff --git a/metadata/modules/blueBidAdapter.json b/metadata/modules/blueBidAdapter.json index b7072428a2b..8c28e81e864 100644 --- a/metadata/modules/blueBidAdapter.json +++ b/metadata/modules/blueBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://getblue.io/iab/iab.json": { - "timestamp": "2025-11-24T17:31:34.570Z", + "timestamp": "2025-12-03T16:37:50.884Z", "disclosures": [] } }, diff --git a/metadata/modules/bmsBidAdapter.json b/metadata/modules/bmsBidAdapter.json index afa59d2f574..ee794c97715 100644 --- a/metadata/modules/bmsBidAdapter.json +++ b/metadata/modules/bmsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bluems.com/iab.json": { - "timestamp": "2025-11-24T17:31:34.919Z", + "timestamp": "2025-12-03T16:37:51.241Z", "disclosures": [] } }, diff --git a/metadata/modules/boldwinBidAdapter.json b/metadata/modules/boldwinBidAdapter.json index 618dde00a5b..32e22e9867c 100644 --- a/metadata/modules/boldwinBidAdapter.json +++ b/metadata/modules/boldwinBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://magav.videowalldirect.com/iab/videowalldirectiab.json": { - "timestamp": "2025-11-24T17:31:34.938Z", + "timestamp": "2025-12-03T16:37:51.260Z", "disclosures": [] } }, diff --git a/metadata/modules/bridBidAdapter.json b/metadata/modules/bridBidAdapter.json index 18f04691dd7..80e5fa27555 100644 --- a/metadata/modules/bridBidAdapter.json +++ b/metadata/modules/bridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2025-11-24T17:31:34.963Z", + "timestamp": "2025-12-03T16:37:51.280Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/browsiBidAdapter.json b/metadata/modules/browsiBidAdapter.json index 14322d94a18..fec82f42117 100644 --- a/metadata/modules/browsiBidAdapter.json +++ b/metadata/modules/browsiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.browsiprod.com/ads/tcf.json": { - "timestamp": "2025-11-24T17:31:35.104Z", + "timestamp": "2025-12-03T16:37:51.420Z", "disclosures": [] } }, diff --git a/metadata/modules/bucksenseBidAdapter.json b/metadata/modules/bucksenseBidAdapter.json index e30a510a4f5..c5ffdd60f75 100644 --- a/metadata/modules/bucksenseBidAdapter.json +++ b/metadata/modules/bucksenseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://j.bksnimages.com/iab/devsto02.json": { - "timestamp": "2025-11-24T17:31:35.121Z", + "timestamp": "2025-12-03T16:37:51.436Z", "disclosures": [] } }, diff --git a/metadata/modules/carodaBidAdapter.json b/metadata/modules/carodaBidAdapter.json index 7572112e7cf..dec63db8488 100644 --- a/metadata/modules/carodaBidAdapter.json +++ b/metadata/modules/carodaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn2.caroda.io/tcfvds/2022-05-17/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:35.182Z", + "timestamp": "2025-12-03T16:37:51.514Z", "disclosures": [] } }, diff --git a/metadata/modules/categoryTranslation.json b/metadata/modules/categoryTranslation.json index 2638ee1a783..223a70829d9 100644 --- a/metadata/modules/categoryTranslation.json +++ b/metadata/modules/categoryTranslation.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/categoryTranslation.json": { - "timestamp": "2025-11-24T17:31:25.745Z", + "timestamp": "2025-12-03T16:37:39.024Z", "disclosures": [ { "identifier": "iabToFwMappingkey", diff --git a/metadata/modules/ceeIdSystem.json b/metadata/modules/ceeIdSystem.json index 96566d8b5a0..2643cab6ea8 100644 --- a/metadata/modules/ceeIdSystem.json +++ b/metadata/modules/ceeIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:35.496Z", + "timestamp": "2025-12-03T16:37:51.804Z", "disclosures": null } }, diff --git a/metadata/modules/chromeAiRtdProvider.json b/metadata/modules/chromeAiRtdProvider.json index e87846a6269..9150afebc6b 100644 --- a/metadata/modules/chromeAiRtdProvider.json +++ b/metadata/modules/chromeAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/chromeAiRtdProvider.json": { - "timestamp": "2025-11-24T17:31:35.850Z", + "timestamp": "2025-12-03T16:37:52.133Z", "disclosures": [ { "identifier": "chromeAi_detected_data", diff --git a/metadata/modules/clickioBidAdapter.json b/metadata/modules/clickioBidAdapter.json index de263bb0585..1668f24af03 100644 --- a/metadata/modules/clickioBidAdapter.json +++ b/metadata/modules/clickioBidAdapter.json @@ -1,13 +1,18 @@ { "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", - "disclosures": {}, + "disclosures": { + "https://o.clickiocdn.com/tcf_storage_info.json": { + "timestamp": "2025-12-03T16:37:52.135Z", + "disclosures": [] + } + }, "components": [ { "componentType": "bidder", "componentName": "clickio", "aliasOf": null, - "gvlid": null, - "disclosureURL": null + "gvlid": 1500, + "disclosureURL": "https://o.clickiocdn.com/tcf_storage_info.json" } ] } \ No newline at end of file diff --git a/metadata/modules/compassBidAdapter.json b/metadata/modules/compassBidAdapter.json index d9dfa42106d..b2733e8e4f4 100644 --- a/metadata/modules/compassBidAdapter.json +++ b/metadata/modules/compassBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2025-11-24T17:31:35.854Z", + "timestamp": "2025-12-03T16:37:52.582Z", "disclosures": [] } }, diff --git a/metadata/modules/conceptxBidAdapter.json b/metadata/modules/conceptxBidAdapter.json index e0ae8236215..f3cb79b1ac1 100644 --- a/metadata/modules/conceptxBidAdapter.json +++ b/metadata/modules/conceptxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cncptx.com/device_storage_disclosure.json": { - "timestamp": "2025-11-24T17:31:35.872Z", + "timestamp": "2025-12-03T16:37:52.597Z", "disclosures": [] } }, diff --git a/metadata/modules/connatixBidAdapter.json b/metadata/modules/connatixBidAdapter.json index 6fadc2a76d6..3d76133fbe2 100644 --- a/metadata/modules/connatixBidAdapter.json +++ b/metadata/modules/connatixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://connatix.com/iab-tcf-disclosure.json": { - "timestamp": "2025-11-24T17:31:35.895Z", + "timestamp": "2025-12-03T16:37:52.620Z", "disclosures": [ { "identifier": "cnx_userId", diff --git a/metadata/modules/connectIdSystem.json b/metadata/modules/connectIdSystem.json index db506fa04da..35afc93fca3 100644 --- a/metadata/modules/connectIdSystem.json +++ b/metadata/modules/connectIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2025-11-24T17:31:35.973Z", + "timestamp": "2025-12-03T16:37:52.702Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/connectadBidAdapter.json b/metadata/modules/connectadBidAdapter.json index 3883190620f..02a6a9e3316 100644 --- a/metadata/modules/connectadBidAdapter.json +++ b/metadata/modules/connectadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.connectad.io/tcf_storage_info.json": { - "timestamp": "2025-11-24T17:31:36.048Z", + "timestamp": "2025-12-03T16:37:52.749Z", "disclosures": [] } }, diff --git a/metadata/modules/contentexchangeBidAdapter.json b/metadata/modules/contentexchangeBidAdapter.json index 0cd38a1ea4d..165512fce06 100644 --- a/metadata/modules/contentexchangeBidAdapter.json +++ b/metadata/modules/contentexchangeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://hb.contentexchange.me/template/device_storage.json": { - "timestamp": "2025-11-24T17:31:36.479Z", + "timestamp": "2025-12-03T16:37:53.181Z", "disclosures": null } }, diff --git a/metadata/modules/conversantBidAdapter.json b/metadata/modules/conversantBidAdapter.json index fce71020f16..fd353cdb0a6 100644 --- a/metadata/modules/conversantBidAdapter.json +++ b/metadata/modules/conversantBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.8/device_storage_disclosure.json": { - "timestamp": "2025-11-24T17:31:36.514Z", + "timestamp": "2025-12-03T16:37:53.244Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/copper6sspBidAdapter.json b/metadata/modules/copper6sspBidAdapter.json index 9bc59729a69..b72717aed4a 100644 --- a/metadata/modules/copper6sspBidAdapter.json +++ b/metadata/modules/copper6sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.copper6.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:36.538Z", + "timestamp": "2025-12-03T16:37:53.270Z", "disclosures": [] } }, diff --git a/metadata/modules/cpmstarBidAdapter.json b/metadata/modules/cpmstarBidAdapter.json index 19935452977..ecba508707c 100644 --- a/metadata/modules/cpmstarBidAdapter.json +++ b/metadata/modules/cpmstarBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2025-11-24T17:31:36.631Z", + "timestamp": "2025-12-03T16:37:53.387Z", "disclosures": [] } }, diff --git a/metadata/modules/criteoBidAdapter.json b/metadata/modules/criteoBidAdapter.json index 40bff7b21dc..31fdf1f0d1d 100644 --- a/metadata/modules/criteoBidAdapter.json +++ b/metadata/modules/criteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2025-11-24T17:31:36.683Z", + "timestamp": "2025-12-03T16:37:53.495Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/criteoIdSystem.json b/metadata/modules/criteoIdSystem.json index d85e00c456b..7972939869f 100644 --- a/metadata/modules/criteoIdSystem.json +++ b/metadata/modules/criteoIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2025-11-24T17:31:36.704Z", + "timestamp": "2025-12-03T16:37:53.514Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/cwireBidAdapter.json b/metadata/modules/cwireBidAdapter.json index 9660a92ee09..72e2fd078ad 100644 --- a/metadata/modules/cwireBidAdapter.json +++ b/metadata/modules/cwireBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.cwi.re/artifacts/iab/iab.json": { - "timestamp": "2025-11-24T17:31:36.705Z", + "timestamp": "2025-12-03T16:37:53.514Z", "disclosures": [] } }, diff --git a/metadata/modules/czechAdIdSystem.json b/metadata/modules/czechAdIdSystem.json index bed7c13fae8..24c0f58f11c 100644 --- a/metadata/modules/czechAdIdSystem.json +++ b/metadata/modules/czechAdIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cpex.cz/storagedisclosure.json": { - "timestamp": "2025-11-24T17:31:37.225Z", + "timestamp": "2025-12-03T16:37:53.533Z", "disclosures": [] } }, diff --git a/metadata/modules/dailymotionBidAdapter.json b/metadata/modules/dailymotionBidAdapter.json index 4d346977a56..ed12ea73bc0 100644 --- a/metadata/modules/dailymotionBidAdapter.json +++ b/metadata/modules/dailymotionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://statics.dmcdn.net/a/vds.json": { - "timestamp": "2025-11-24T17:31:37.540Z", + "timestamp": "2025-12-03T16:37:53.941Z", "disclosures": [ { "identifier": "uid_dm", diff --git a/metadata/modules/debugging.json b/metadata/modules/debugging.json index b7d9dcdf082..e8c00af1e9e 100644 --- a/metadata/modules/debugging.json +++ b/metadata/modules/debugging.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2025-11-24T17:31:25.743Z", + "timestamp": "2025-12-03T16:37:39.022Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/deepintentBidAdapter.json b/metadata/modules/deepintentBidAdapter.json index 15cda4f77d9..e7a79cbe8ab 100644 --- a/metadata/modules/deepintentBidAdapter.json +++ b/metadata/modules/deepintentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.deepintent.com/iabeurope_vendor_disclosures.json": { - "timestamp": "2025-11-24T17:31:37.561Z", + "timestamp": "2025-12-03T16:37:53.967Z", "disclosures": [] } }, diff --git a/metadata/modules/defineMediaBidAdapter.json b/metadata/modules/defineMediaBidAdapter.json index 0d14daff1d7..612773ac882 100644 --- a/metadata/modules/defineMediaBidAdapter.json +++ b/metadata/modules/defineMediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://definemedia.de/tcf/deviceStorageDisclosureURL.json": { - "timestamp": "2025-11-24T17:31:37.638Z", + "timestamp": "2025-12-03T16:37:54.026Z", "disclosures": [ { "identifier": "conative$dataGathering$Adex", diff --git a/metadata/modules/deltaprojectsBidAdapter.json b/metadata/modules/deltaprojectsBidAdapter.json index afbc31387cd..fad2b24869d 100644 --- a/metadata/modules/deltaprojectsBidAdapter.json +++ b/metadata/modules/deltaprojectsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.de17a.com/policy/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:38.077Z", + "timestamp": "2025-12-03T16:37:54.517Z", "disclosures": [] } }, diff --git a/metadata/modules/dianomiBidAdapter.json b/metadata/modules/dianomiBidAdapter.json index 5d8670ebd10..2bcb18c1d53 100644 --- a/metadata/modules/dianomiBidAdapter.json +++ b/metadata/modules/dianomiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.dianomi.com/device_storage.json": { - "timestamp": "2025-11-24T17:31:38.532Z", + "timestamp": "2025-12-03T16:37:54.944Z", "disclosures": [] } }, diff --git a/metadata/modules/digitalMatterBidAdapter.json b/metadata/modules/digitalMatterBidAdapter.json index 682a22f1664..d2e4d26e0d9 100644 --- a/metadata/modules/digitalMatterBidAdapter.json +++ b/metadata/modules/digitalMatterBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://digitalmatter.ai/disclosures.json": { - "timestamp": "2025-11-24T17:31:38.532Z", + "timestamp": "2025-12-03T16:37:54.945Z", "disclosures": [] } }, diff --git a/metadata/modules/distroscaleBidAdapter.json b/metadata/modules/distroscaleBidAdapter.json index 6ac5edc6395..b717680c1b4 100644 --- a/metadata/modules/distroscaleBidAdapter.json +++ b/metadata/modules/distroscaleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.jsrdn.com/tcf/tcf-vendor-disclosure.json": { - "timestamp": "2025-11-24T17:31:38.938Z", + "timestamp": "2025-12-03T16:37:55.335Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeAdManagerBidAdapter.json b/metadata/modules/docereeAdManagerBidAdapter.json index 4834b0ed2cf..fb425f44df3 100644 --- a/metadata/modules/docereeAdManagerBidAdapter.json +++ b/metadata/modules/docereeAdManagerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:38.972Z", + "timestamp": "2025-12-03T16:37:55.371Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeBidAdapter.json b/metadata/modules/docereeBidAdapter.json index 9c41e5ef415..35c15b97ba1 100644 --- a/metadata/modules/docereeBidAdapter.json +++ b/metadata/modules/docereeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:39.777Z", + "timestamp": "2025-12-03T16:37:56.125Z", "disclosures": [] } }, diff --git a/metadata/modules/dspxBidAdapter.json b/metadata/modules/dspxBidAdapter.json index 212cc4b9bb6..00e90d6a79e 100644 --- a/metadata/modules/dspxBidAdapter.json +++ b/metadata/modules/dspxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/os.json": { - "timestamp": "2025-11-24T17:31:39.777Z", + "timestamp": "2025-12-03T16:37:56.126Z", "disclosures": [] } }, diff --git a/metadata/modules/e_volutionBidAdapter.json b/metadata/modules/e_volutionBidAdapter.json index cfd0db5ee11..df6f5109ee1 100644 --- a/metadata/modules/e_volutionBidAdapter.json +++ b/metadata/modules/e_volutionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://e-volution.ai/file.json": { - "timestamp": "2025-11-24T17:31:40.444Z", + "timestamp": "2025-12-03T16:37:56.784Z", "disclosures": [] } }, diff --git a/metadata/modules/edge226BidAdapter.json b/metadata/modules/edge226BidAdapter.json index 6c8314d3f3b..e402c024fe6 100644 --- a/metadata/modules/edge226BidAdapter.json +++ b/metadata/modules/edge226BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.serveteck.com/cdn_storage/tcf/tcf.json?a=1.io": { - "timestamp": "2025-11-24T17:31:40.754Z", + "timestamp": "2025-12-03T16:37:57.096Z", "disclosures": [] } }, diff --git a/metadata/modules/empowerBidAdapter.json b/metadata/modules/empowerBidAdapter.json index 1637fba1b24..add9cbf9d50 100644 --- a/metadata/modules/empowerBidAdapter.json +++ b/metadata/modules/empowerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.empower.net/vendor/vendor.json": { - "timestamp": "2025-11-24T17:31:40.821Z", + "timestamp": "2025-12-03T16:37:57.134Z", "disclosures": [] } }, diff --git a/metadata/modules/equativBidAdapter.json b/metadata/modules/equativBidAdapter.json index f36e0b5924c..0658ac03883 100644 --- a/metadata/modules/equativBidAdapter.json +++ b/metadata/modules/equativBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2025-11-24T17:31:40.854Z", + "timestamp": "2025-12-03T16:37:57.171Z", "disclosures": [] } }, diff --git a/metadata/modules/eskimiBidAdapter.json b/metadata/modules/eskimiBidAdapter.json index 03d9387e194..d24be8a9287 100644 --- a/metadata/modules/eskimiBidAdapter.json +++ b/metadata/modules/eskimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://dsp-media.eskimi.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:40.878Z", + "timestamp": "2025-12-03T16:37:57.902Z", "disclosures": [] } }, diff --git a/metadata/modules/etargetBidAdapter.json b/metadata/modules/etargetBidAdapter.json index 9263164ea05..9104cc07b06 100644 --- a/metadata/modules/etargetBidAdapter.json +++ b/metadata/modules/etargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.etarget.sk/cookies3.json": { - "timestamp": "2025-11-24T17:31:40.897Z", + "timestamp": "2025-12-03T16:37:57.922Z", "disclosures": [] } }, diff --git a/metadata/modules/euidIdSystem.json b/metadata/modules/euidIdSystem.json index 5c5d13192f7..5acdb242ba5 100644 --- a/metadata/modules/euidIdSystem.json +++ b/metadata/modules/euidIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-11-24T17:31:41.469Z", + "timestamp": "2025-12-03T16:37:58.493Z", "disclosures": [] } }, diff --git a/metadata/modules/exadsBidAdapter.json b/metadata/modules/exadsBidAdapter.json index 26829a36d6a..0e67a9360b5 100644 --- a/metadata/modules/exadsBidAdapter.json +++ b/metadata/modules/exadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.native7.com/tcf/deviceStorage.php": { - "timestamp": "2025-11-24T17:31:41.696Z", + "timestamp": "2025-12-03T16:37:58.714Z", "disclosures": [ { "identifier": "pn-zone-*", diff --git a/metadata/modules/feedadBidAdapter.json b/metadata/modules/feedadBidAdapter.json index f89d247794c..81e7c36f561 100644 --- a/metadata/modules/feedadBidAdapter.json +++ b/metadata/modules/feedadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.feedad.com/tcf-device-disclosures.json": { - "timestamp": "2025-11-24T17:31:41.896Z", + "timestamp": "2025-12-03T16:37:58.910Z", "disclosures": [ { "identifier": "__fad_data", diff --git a/metadata/modules/fwsspBidAdapter.json b/metadata/modules/fwsspBidAdapter.json index 4d81ee7ceda..a9767e78814 100644 --- a/metadata/modules/fwsspBidAdapter.json +++ b/metadata/modules/fwsspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.fwmrm.net/g/devicedisclosure.json": { - "timestamp": "2025-11-24T17:31:42.004Z", + "timestamp": "2025-12-03T16:37:59.038Z", "disclosures": [] } }, diff --git a/metadata/modules/gamoshiBidAdapter.json b/metadata/modules/gamoshiBidAdapter.json index bccfb40bb07..f274f95f68e 100644 --- a/metadata/modules/gamoshiBidAdapter.json +++ b/metadata/modules/gamoshiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gamoshi.com/disclosures-client-storage.json": { - "timestamp": "2025-11-24T17:31:42.098Z", + "timestamp": "2025-12-03T16:37:59.672Z", "disclosures": [] } }, diff --git a/metadata/modules/gemiusIdSystem.json b/metadata/modules/gemiusIdSystem.json index b99329b6eef..6fe909b07a6 100644 --- a/metadata/modules/gemiusIdSystem.json +++ b/metadata/modules/gemiusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2025-11-24T17:31:42.278Z", + "timestamp": "2025-12-03T16:37:59.940Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/glomexBidAdapter.json b/metadata/modules/glomexBidAdapter.json index 617da2d124b..480cf6c3551 100644 --- a/metadata/modules/glomexBidAdapter.json +++ b/metadata/modules/glomexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:42.847Z", + "timestamp": "2025-12-03T16:38:00.476Z", "disclosures": [ { "identifier": "glomexUser", diff --git a/metadata/modules/goldbachBidAdapter.json b/metadata/modules/goldbachBidAdapter.json index 810db49033b..e329d397071 100644 --- a/metadata/modules/goldbachBidAdapter.json +++ b/metadata/modules/goldbachBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gb-next.ch/TcfGoldbachDeviceStorage.json": { - "timestamp": "2025-11-24T17:31:42.870Z", + "timestamp": "2025-12-03T16:38:00.496Z", "disclosures": [ { "identifier": "dakt_2_session_id", diff --git a/metadata/modules/gridBidAdapter.json b/metadata/modules/gridBidAdapter.json index df349923d0b..d11401017b1 100644 --- a/metadata/modules/gridBidAdapter.json +++ b/metadata/modules/gridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.themediagrid.com/devicestorage.json": { - "timestamp": "2025-11-24T17:31:42.901Z", + "timestamp": "2025-12-03T16:38:00.585Z", "disclosures": [] } }, diff --git a/metadata/modules/gumgumBidAdapter.json b/metadata/modules/gumgumBidAdapter.json index 72c9162a121..2938665d2da 100644 --- a/metadata/modules/gumgumBidAdapter.json +++ b/metadata/modules/gumgumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://marketing.gumgum.com/devicestoragedisclosures.json": { - "timestamp": "2025-11-24T17:31:43.013Z", + "timestamp": "2025-12-03T16:38:00.712Z", "disclosures": [] } }, diff --git a/metadata/modules/hadronIdSystem.json b/metadata/modules/hadronIdSystem.json index 20fe6a95004..4eca9a290ff 100644 --- a/metadata/modules/hadronIdSystem.json +++ b/metadata/modules/hadronIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2025-11-24T17:31:43.077Z", + "timestamp": "2025-12-03T16:38:00.773Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/hadronRtdProvider.json b/metadata/modules/hadronRtdProvider.json index 1d6a7342546..9f75569a8ef 100644 --- a/metadata/modules/hadronRtdProvider.json +++ b/metadata/modules/hadronRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2025-11-24T17:31:43.210Z", + "timestamp": "2025-12-03T16:38:00.934Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/holidBidAdapter.json b/metadata/modules/holidBidAdapter.json index 2657570a2eb..a63f8cc9a3b 100644 --- a/metadata/modules/holidBidAdapter.json +++ b/metadata/modules/holidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ads.holid.io/devicestorage.json": { - "timestamp": "2025-11-24T17:31:43.210Z", + "timestamp": "2025-12-03T16:38:00.934Z", "disclosures": [ { "identifier": "uids", diff --git a/metadata/modules/hybridBidAdapter.json b/metadata/modules/hybridBidAdapter.json index fe289fef181..78bbc1cdfba 100644 --- a/metadata/modules/hybridBidAdapter.json +++ b/metadata/modules/hybridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:43.458Z", + "timestamp": "2025-12-03T16:38:01.164Z", "disclosures": [] } }, diff --git a/metadata/modules/id5IdSystem.json b/metadata/modules/id5IdSystem.json index 25b55c951fc..e833dcec97f 100644 --- a/metadata/modules/id5IdSystem.json +++ b/metadata/modules/id5IdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://id5-sync.com/tcf/disclosures.json": { - "timestamp": "2025-11-24T17:31:43.748Z", + "timestamp": "2025-12-03T16:38:01.391Z", "disclosures": [] } }, diff --git a/metadata/modules/identityLinkIdSystem.json b/metadata/modules/identityLinkIdSystem.json index c1c63d185b2..39cd3b528f2 100644 --- a/metadata/modules/identityLinkIdSystem.json +++ b/metadata/modules/identityLinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.ats.rlcdn.com/device-storage-disclosure.json": { - "timestamp": "2025-11-24T17:31:44.034Z", + "timestamp": "2025-12-03T16:38:01.663Z", "disclosures": [ { "identifier": "_lr_retry_request", diff --git a/metadata/modules/illuminBidAdapter.json b/metadata/modules/illuminBidAdapter.json index 95849a32bab..4b7a6d0329d 100644 --- a/metadata/modules/illuminBidAdapter.json +++ b/metadata/modules/illuminBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admanmedia.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:44.059Z", + "timestamp": "2025-12-03T16:38:01.681Z", "disclosures": [] } }, diff --git a/metadata/modules/impactifyBidAdapter.json b/metadata/modules/impactifyBidAdapter.json index 83a7eba75b8..2caba0ce6e6 100644 --- a/metadata/modules/impactifyBidAdapter.json +++ b/metadata/modules/impactifyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.impactify.io/tcfvendors.json": { - "timestamp": "2025-11-24T17:31:44.346Z", + "timestamp": "2025-12-03T16:38:01.966Z", "disclosures": [ { "identifier": "_im*", diff --git a/metadata/modules/improvedigitalBidAdapter.json b/metadata/modules/improvedigitalBidAdapter.json index 1f799e744dc..5f672d83569 100644 --- a/metadata/modules/improvedigitalBidAdapter.json +++ b/metadata/modules/improvedigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2025-11-24T17:31:44.642Z", + "timestamp": "2025-12-03T16:38:02.267Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/inmobiBidAdapter.json b/metadata/modules/inmobiBidAdapter.json index 19b85a18e3e..867328014ca 100644 --- a/metadata/modules/inmobiBidAdapter.json +++ b/metadata/modules/inmobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publisher.inmobi.com/public/disclosure": { - "timestamp": "2025-11-24T17:31:44.642Z", + "timestamp": "2025-12-03T16:38:02.267Z", "disclosures": [] } }, diff --git a/metadata/modules/insticatorBidAdapter.json b/metadata/modules/insticatorBidAdapter.json index 2241b246e95..930b2850688 100644 --- a/metadata/modules/insticatorBidAdapter.json +++ b/metadata/modules/insticatorBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.insticator.com/iab/device-storage-disclosure.json": { - "timestamp": "2025-11-24T17:31:44.673Z", + "timestamp": "2025-12-03T16:38:02.296Z", "disclosures": [ { "identifier": "visitorGeo", diff --git a/metadata/modules/intentIqIdSystem.json b/metadata/modules/intentIqIdSystem.json index 61886687791..d9feb16465c 100644 --- a/metadata/modules/intentIqIdSystem.json +++ b/metadata/modules/intentIqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://agent.intentiq.com/GDPR/gdpr.json": { - "timestamp": "2025-11-24T17:31:44.702Z", + "timestamp": "2025-12-03T16:38:02.329Z", "disclosures": [] } }, diff --git a/metadata/modules/invibesBidAdapter.json b/metadata/modules/invibesBidAdapter.json index 271b6557f0b..9d941c09efa 100644 --- a/metadata/modules/invibesBidAdapter.json +++ b/metadata/modules/invibesBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.invibes.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:44.767Z", + "timestamp": "2025-12-03T16:38:02.386Z", "disclosures": [ { "identifier": "ivvcap", diff --git a/metadata/modules/ipromBidAdapter.json b/metadata/modules/ipromBidAdapter.json index f4cf8555318..b7aa846f9ba 100644 --- a/metadata/modules/ipromBidAdapter.json +++ b/metadata/modules/ipromBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://core.iprom.net/info/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:45.097Z", + "timestamp": "2025-12-03T16:38:02.728Z", "disclosures": [] } }, diff --git a/metadata/modules/ixBidAdapter.json b/metadata/modules/ixBidAdapter.json index 6c3e5b8c01e..bf7b22835ce 100644 --- a/metadata/modules/ixBidAdapter.json +++ b/metadata/modules/ixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.indexexchange.com/device_storage_disclosure.json": { - "timestamp": "2025-11-24T17:31:45.647Z", + "timestamp": "2025-12-03T16:38:03.193Z", "disclosures": [ { "identifier": "ix_features", diff --git a/metadata/modules/justIdSystem.json b/metadata/modules/justIdSystem.json index 5c3afcb5b8b..b5ee294334f 100644 --- a/metadata/modules/justIdSystem.json +++ b/metadata/modules/justIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audience-solutions.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:45.824Z", + "timestamp": "2025-12-03T16:38:03.429Z", "disclosures": [ { "identifier": "__jtuid", diff --git a/metadata/modules/justpremiumBidAdapter.json b/metadata/modules/justpremiumBidAdapter.json index 004a538359d..d4ef7913b2a 100644 --- a/metadata/modules/justpremiumBidAdapter.json +++ b/metadata/modules/justpremiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.justpremium.com/devicestoragedisclosures.json": { - "timestamp": "2025-11-24T17:31:46.305Z", + "timestamp": "2025-12-03T16:38:03.955Z", "disclosures": [] } }, diff --git a/metadata/modules/jwplayerBidAdapter.json b/metadata/modules/jwplayerBidAdapter.json index d4e956349a8..b724cdd34fd 100644 --- a/metadata/modules/jwplayerBidAdapter.json +++ b/metadata/modules/jwplayerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.jwplayer.com/devicestorage.json": { - "timestamp": "2025-11-24T17:31:46.328Z", + "timestamp": "2025-12-03T16:38:03.971Z", "disclosures": [] } }, diff --git a/metadata/modules/kargoBidAdapter.json b/metadata/modules/kargoBidAdapter.json index 8ba1ff9b99d..ac21447abcf 100644 --- a/metadata/modules/kargoBidAdapter.json +++ b/metadata/modules/kargoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://storage.cloud.kargo.com/device_storage_disclosure.json": { - "timestamp": "2025-11-24T17:31:46.474Z", + "timestamp": "2025-12-03T16:38:04.079Z", "disclosures": [ { "identifier": "krg_crb", diff --git a/metadata/modules/kueezRtbBidAdapter.json b/metadata/modules/kueezRtbBidAdapter.json index 6c9c073f4eb..5944f237f82 100644 --- a/metadata/modules/kueezRtbBidAdapter.json +++ b/metadata/modules/kueezRtbBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.kueez.com/tcf.json": { - "timestamp": "2025-11-24T17:31:46.629Z", + "timestamp": "2025-12-03T16:38:04.103Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/limelightDigitalBidAdapter.json b/metadata/modules/limelightDigitalBidAdapter.json index 4edd999b76f..5fb7a93faf3 100644 --- a/metadata/modules/limelightDigitalBidAdapter.json +++ b/metadata/modules/limelightDigitalBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://policy.iion.io/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:46.685Z", + "timestamp": "2025-12-03T16:38:04.174Z", "disclosures": [] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2025-11-24T17:31:46.737Z", + "timestamp": "2025-12-03T16:38:04.236Z", "disclosures": [] } }, diff --git a/metadata/modules/liveIntentIdSystem.json b/metadata/modules/liveIntentIdSystem.json index 4a32dc59eb5..4bd09b6f881 100644 --- a/metadata/modules/liveIntentIdSystem.json +++ b/metadata/modules/liveIntentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:46.737Z", + "timestamp": "2025-12-03T16:38:04.236Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/liveIntentRtdProvider.json b/metadata/modules/liveIntentRtdProvider.json index 82d2f474903..ca7fcce05f7 100644 --- a/metadata/modules/liveIntentRtdProvider.json +++ b/metadata/modules/liveIntentRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:46.795Z", + "timestamp": "2025-12-03T16:38:04.249Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/livewrappedBidAdapter.json b/metadata/modules/livewrappedBidAdapter.json index b9b8bef290f..8fe535b2abe 100644 --- a/metadata/modules/livewrappedBidAdapter.json +++ b/metadata/modules/livewrappedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://content.lwadm.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:46.795Z", + "timestamp": "2025-12-03T16:38:04.249Z", "disclosures": [ { "identifier": "uid", diff --git a/metadata/modules/loopmeBidAdapter.json b/metadata/modules/loopmeBidAdapter.json index d7a81d1d620..f8acd102a51 100644 --- a/metadata/modules/loopmeBidAdapter.json +++ b/metadata/modules/loopmeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://co.loopme.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:46.816Z", + "timestamp": "2025-12-03T16:38:04.276Z", "disclosures": [] } }, diff --git a/metadata/modules/lotamePanoramaIdSystem.json b/metadata/modules/lotamePanoramaIdSystem.json index 2490f6310d1..3cad02fae56 100644 --- a/metadata/modules/lotamePanoramaIdSystem.json +++ b/metadata/modules/lotamePanoramaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tags.crwdcntrl.net/privacy/tcf-purposes.json": { - "timestamp": "2025-11-24T17:31:46.955Z", + "timestamp": "2025-12-03T16:38:04.330Z", "disclosures": [ { "identifier": "panoramaId", diff --git a/metadata/modules/luponmediaBidAdapter.json b/metadata/modules/luponmediaBidAdapter.json index aef95710768..b4bb3dba49e 100644 --- a/metadata/modules/luponmediaBidAdapter.json +++ b/metadata/modules/luponmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://luponmedia.com/vendor_device_storage.json": { - "timestamp": "2025-11-24T17:31:46.974Z", + "timestamp": "2025-12-03T16:38:04.343Z", "disclosures": [] } }, diff --git a/metadata/modules/madvertiseBidAdapter.json b/metadata/modules/madvertiseBidAdapter.json index dbf29cf946d..af24722d22a 100644 --- a/metadata/modules/madvertiseBidAdapter.json +++ b/metadata/modules/madvertiseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.bluestack.app/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:47.374Z", + "timestamp": "2025-12-03T16:38:04.751Z", "disclosures": [] } }, diff --git a/metadata/modules/marsmediaBidAdapter.json b/metadata/modules/marsmediaBidAdapter.json index af02ba11bad..12437e8934d 100644 --- a/metadata/modules/marsmediaBidAdapter.json +++ b/metadata/modules/marsmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mars.media/apis/tcf-v2.json": { - "timestamp": "2025-11-24T17:31:47.725Z", + "timestamp": "2025-12-03T16:38:05.106Z", "disclosures": [] } }, diff --git a/metadata/modules/mediaConsortiumBidAdapter.json b/metadata/modules/mediaConsortiumBidAdapter.json index 2da9701345c..149e12eaead 100644 --- a/metadata/modules/mediaConsortiumBidAdapter.json +++ b/metadata/modules/mediaConsortiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.hubvisor.io/assets/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:47.825Z", + "timestamp": "2025-12-03T16:38:05.228Z", "disclosures": [ { "identifier": "hbv:turbo-cmp", diff --git a/metadata/modules/mediaforceBidAdapter.json b/metadata/modules/mediaforceBidAdapter.json index 2dfefe125b9..cb0734eddd2 100644 --- a/metadata/modules/mediaforceBidAdapter.json +++ b/metadata/modules/mediaforceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://comparisons.org/privacy.json": { - "timestamp": "2025-11-24T17:31:47.838Z", + "timestamp": "2025-12-03T16:38:05.368Z", "disclosures": [] } }, diff --git a/metadata/modules/mediafuseBidAdapter.json b/metadata/modules/mediafuseBidAdapter.json index 432c05c7e04..5fae3e34925 100644 --- a/metadata/modules/mediafuseBidAdapter.json +++ b/metadata/modules/mediafuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2025-11-24T17:31:47.876Z", + "timestamp": "2025-12-03T16:38:05.388Z", "disclosures": [] } }, diff --git a/metadata/modules/mediagoBidAdapter.json b/metadata/modules/mediagoBidAdapter.json index 4c72892512f..0c6d1f6c63f 100644 --- a/metadata/modules/mediagoBidAdapter.json +++ b/metadata/modules/mediagoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.mediago.io/js/tcf.json": { - "timestamp": "2025-11-24T17:31:47.876Z", + "timestamp": "2025-12-03T16:38:05.389Z", "disclosures": [] } }, diff --git a/metadata/modules/mediakeysBidAdapter.json b/metadata/modules/mediakeysBidAdapter.json index 2dad8f49917..06e4b800df5 100644 --- a/metadata/modules/mediakeysBidAdapter.json +++ b/metadata/modules/mediakeysBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.eu-west-3.amazonaws.com/adserving.resourcekeys.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:48.025Z", + "timestamp": "2025-12-03T16:38:05.478Z", "disclosures": [] } }, diff --git a/metadata/modules/medianetBidAdapter.json b/metadata/modules/medianetBidAdapter.json index 9f6759655e9..8ab41458d2e 100644 --- a/metadata/modules/medianetBidAdapter.json +++ b/metadata/modules/medianetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.media.net/tcfv2/gvl/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:48.314Z", + "timestamp": "2025-12-03T16:38:05.770Z", "disclosures": [ { "identifier": "_mNExInsl", @@ -246,7 +246,7 @@ ] }, "https://trustedstack.com/tcf/gvl/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:48.378Z", + "timestamp": "2025-12-03T16:38:05.914Z", "disclosures": [ { "identifier": "usp_status", diff --git a/metadata/modules/mediasquareBidAdapter.json b/metadata/modules/mediasquareBidAdapter.json index abcf774f3ee..eeefb1aae38 100644 --- a/metadata/modules/mediasquareBidAdapter.json +++ b/metadata/modules/mediasquareBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediasquare.fr/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:48.443Z", + "timestamp": "2025-12-03T16:38:05.968Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidBidAdapter.json b/metadata/modules/mgidBidAdapter.json index 020d387b576..6ee3153c9a1 100644 --- a/metadata/modules/mgidBidAdapter.json +++ b/metadata/modules/mgidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2025-11-24T17:31:48.968Z", + "timestamp": "2025-12-03T16:38:06.503Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidRtdProvider.json b/metadata/modules/mgidRtdProvider.json index 54d3cfa0d01..3f5470dcd99 100644 --- a/metadata/modules/mgidRtdProvider.json +++ b/metadata/modules/mgidRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2025-11-24T17:31:49.011Z", + "timestamp": "2025-12-03T16:38:06.546Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidXBidAdapter.json b/metadata/modules/mgidXBidAdapter.json index 92a1ec800bf..20a49a623f8 100644 --- a/metadata/modules/mgidXBidAdapter.json +++ b/metadata/modules/mgidXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2025-11-24T17:31:49.011Z", + "timestamp": "2025-12-03T16:38:06.546Z", "disclosures": [] } }, diff --git a/metadata/modules/minutemediaBidAdapter.json b/metadata/modules/minutemediaBidAdapter.json index 0507bc1aa10..d96419879c0 100644 --- a/metadata/modules/minutemediaBidAdapter.json +++ b/metadata/modules/minutemediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://disclosures.mmctsvc.com/device-storage.json": { - "timestamp": "2025-11-24T17:31:49.011Z", + "timestamp": "2025-12-03T16:38:06.547Z", "disclosures": [] } }, diff --git a/metadata/modules/missenaBidAdapter.json b/metadata/modules/missenaBidAdapter.json index 831200d41c5..6408bea6504 100644 --- a/metadata/modules/missenaBidAdapter.json +++ b/metadata/modules/missenaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.missena.io/iab.json": { - "timestamp": "2025-11-24T17:31:49.044Z", + "timestamp": "2025-12-03T16:38:06.569Z", "disclosures": [] } }, diff --git a/metadata/modules/mobianRtdProvider.json b/metadata/modules/mobianRtdProvider.json index 2b19c4f17da..a985329a07e 100644 --- a/metadata/modules/mobianRtdProvider.json +++ b/metadata/modules/mobianRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.outcomes.net/tcf.json": { - "timestamp": "2025-11-24T17:31:49.105Z", + "timestamp": "2025-12-03T16:38:06.623Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiBidAdapter.json b/metadata/modules/mobkoiBidAdapter.json index 9b845829345..cae8ca28e28 100644 --- a/metadata/modules/mobkoiBidAdapter.json +++ b/metadata/modules/mobkoiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:49.172Z", + "timestamp": "2025-12-03T16:38:06.668Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiIdSystem.json b/metadata/modules/mobkoiIdSystem.json index 4071592e276..4fa4fab181c 100644 --- a/metadata/modules/mobkoiIdSystem.json +++ b/metadata/modules/mobkoiIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:49.193Z", + "timestamp": "2025-12-03T16:38:06.691Z", "disclosures": [] } }, diff --git a/metadata/modules/msftBidAdapter.json b/metadata/modules/msftBidAdapter.json index efeaf84c8ca..52be0c9119c 100644 --- a/metadata/modules/msftBidAdapter.json +++ b/metadata/modules/msftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2025-11-24T17:31:49.193Z", + "timestamp": "2025-12-03T16:38:06.691Z", "disclosures": [] } }, diff --git a/metadata/modules/nativeryBidAdapter.json b/metadata/modules/nativeryBidAdapter.json index 08d6bb4e728..203b4670787 100644 --- a/metadata/modules/nativeryBidAdapter.json +++ b/metadata/modules/nativeryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnimg.nativery.com/widget/js/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:49.194Z", + "timestamp": "2025-12-03T16:38:06.692Z", "disclosures": [] } }, diff --git a/metadata/modules/nativoBidAdapter.json b/metadata/modules/nativoBidAdapter.json index 8e79b037560..a9215ebeacb 100644 --- a/metadata/modules/nativoBidAdapter.json +++ b/metadata/modules/nativoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.nativo.com/tcf-disclosures.json": { - "timestamp": "2025-11-24T17:31:49.546Z", + "timestamp": "2025-12-03T16:38:07.022Z", "disclosures": [] } }, diff --git a/metadata/modules/newspassidBidAdapter.json b/metadata/modules/newspassidBidAdapter.json index 7402f159adf..79aa8ae4acd 100644 --- a/metadata/modules/newspassidBidAdapter.json +++ b/metadata/modules/newspassidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2025-11-24T17:31:49.567Z", + "timestamp": "2025-12-03T16:38:07.048Z", "disclosures": [] } }, diff --git a/metadata/modules/nextMillenniumBidAdapter.json b/metadata/modules/nextMillenniumBidAdapter.json index 91723710716..06eea7525b4 100644 --- a/metadata/modules/nextMillenniumBidAdapter.json +++ b/metadata/modules/nextMillenniumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://nextmillennium.io/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:49.567Z", + "timestamp": "2025-12-03T16:38:07.048Z", "disclosures": [] } }, diff --git a/metadata/modules/nextrollBidAdapter.json b/metadata/modules/nextrollBidAdapter.json index e052e997746..99a31d8b823 100644 --- a/metadata/modules/nextrollBidAdapter.json +++ b/metadata/modules/nextrollBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.adroll.com/shares/device_storage.json": { - "timestamp": "2025-11-24T17:31:49.644Z", + "timestamp": "2025-12-03T16:38:07.090Z", "disclosures": [ { "identifier": "__adroll_fpc", diff --git a/metadata/modules/nexx360BidAdapter.json b/metadata/modules/nexx360BidAdapter.json index 9eb1f387c05..2dfdd880707 100644 --- a/metadata/modules/nexx360BidAdapter.json +++ b/metadata/modules/nexx360BidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:50.061Z", + "timestamp": "2025-12-03T16:38:07.311Z", "disclosures": [] }, "https://static.first-id.fr/tcf/cookie.json": { - "timestamp": "2025-11-24T17:31:49.924Z", + "timestamp": "2025-12-03T16:38:07.165Z", "disclosures": [] }, "https://i.plug.it/banners/js/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:49.945Z", + "timestamp": "2025-12-03T16:38:07.184Z", "disclosures": [] }, "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:50.061Z", + "timestamp": "2025-12-03T16:38:07.311Z", "disclosures": [ { "identifier": "glomexUser", @@ -46,11 +46,11 @@ ] }, "https://mediafuse.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:50.061Z", + "timestamp": "2025-12-03T16:38:07.311Z", "disclosures": [] }, "https://gdpr.pubx.ai/devicestoragedisclosure.json": { - "timestamp": "2025-11-24T17:31:50.160Z", + "timestamp": "2025-12-03T16:38:07.475Z", "disclosures": [ { "identifier": "pubx:defaults", @@ -65,7 +65,7 @@ ] }, "https://yieldbird.com/devicestorage.json": { - "timestamp": "2025-11-24T17:31:50.205Z", + "timestamp": "2025-12-03T16:38:07.514Z", "disclosures": [] } }, diff --git a/metadata/modules/nobidBidAdapter.json b/metadata/modules/nobidBidAdapter.json index 2da0f10ba38..ead49b20473 100644 --- a/metadata/modules/nobidBidAdapter.json +++ b/metadata/modules/nobidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://public.servenobid.com/gdpr_tcf/vendor_device_storage_operational_disclosures.json": { - "timestamp": "2025-11-24T17:31:50.570Z", + "timestamp": "2025-12-03T16:38:07.889Z", "disclosures": [] } }, diff --git a/metadata/modules/nodalsAiRtdProvider.json b/metadata/modules/nodalsAiRtdProvider.json index 3a58b412f8b..895db888a77 100644 --- a/metadata/modules/nodalsAiRtdProvider.json +++ b/metadata/modules/nodalsAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.nodals.ai/vendor.json": { - "timestamp": "2025-11-24T17:31:50.582Z", + "timestamp": "2025-12-03T16:38:07.904Z", "disclosures": [ { "identifier": "localStorage", diff --git a/metadata/modules/novatiqIdSystem.json b/metadata/modules/novatiqIdSystem.json index cd891c153a7..6cacc83d0dd 100644 --- a/metadata/modules/novatiqIdSystem.json +++ b/metadata/modules/novatiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://novatiq.com/privacy/iab/novatiq.json": { - "timestamp": "2025-11-24T17:31:51.770Z", + "timestamp": "2025-12-03T16:38:09.075Z", "disclosures": [ { "identifier": "novatiq", diff --git a/metadata/modules/oguryBidAdapter.json b/metadata/modules/oguryBidAdapter.json index 6a16caa2370..76557be42d3 100644 --- a/metadata/modules/oguryBidAdapter.json +++ b/metadata/modules/oguryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.ogury.co/disclosure.json": { - "timestamp": "2025-11-24T17:31:52.095Z", + "timestamp": "2025-12-03T16:38:09.421Z", "disclosures": [] } }, diff --git a/metadata/modules/omnidexBidAdapter.json b/metadata/modules/omnidexBidAdapter.json index 617db7a915d..c30df639db0 100644 --- a/metadata/modules/omnidexBidAdapter.json +++ b/metadata/modules/omnidexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.omni-dex.io/devicestorage.json": { - "timestamp": "2025-11-24T17:31:52.162Z", + "timestamp": "2025-12-03T16:38:09.484Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/omsBidAdapter.json b/metadata/modules/omsBidAdapter.json index f5fa4e2b449..6bdc74439b8 100644 --- a/metadata/modules/omsBidAdapter.json +++ b/metadata/modules/omsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2025-11-24T17:31:52.209Z", + "timestamp": "2025-12-03T16:38:09.542Z", "disclosures": [] } }, diff --git a/metadata/modules/onetagBidAdapter.json b/metadata/modules/onetagBidAdapter.json index 911241ffeec..7bb34ba8712 100644 --- a/metadata/modules/onetagBidAdapter.json +++ b/metadata/modules/onetagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://onetag-cdn.com/privacy/tcf_storage.json": { - "timestamp": "2025-11-24T17:31:52.209Z", + "timestamp": "2025-12-03T16:38:09.543Z", "disclosures": [ { "identifier": "onetag_sid", diff --git a/metadata/modules/openwebBidAdapter.json b/metadata/modules/openwebBidAdapter.json index 0a8722b7832..a2ba02c0c37 100644 --- a/metadata/modules/openwebBidAdapter.json +++ b/metadata/modules/openwebBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2025-11-24T17:31:52.508Z", + "timestamp": "2025-12-03T16:38:09.833Z", "disclosures": [] } }, diff --git a/metadata/modules/openxBidAdapter.json b/metadata/modules/openxBidAdapter.json index 6c25ea9d660..bea458bedaa 100644 --- a/metadata/modules/openxBidAdapter.json +++ b/metadata/modules/openxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.openx.com/device-storage.json": { - "timestamp": "2025-11-24T17:31:52.544Z", + "timestamp": "2025-12-03T16:38:09.916Z", "disclosures": [] } }, diff --git a/metadata/modules/operaadsBidAdapter.json b/metadata/modules/operaadsBidAdapter.json index d425a951e80..09e999ac06a 100644 --- a/metadata/modules/operaadsBidAdapter.json +++ b/metadata/modules/operaadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://res.adx.opera.com/dsd.json": { - "timestamp": "2025-11-24T17:31:52.621Z", + "timestamp": "2025-12-03T16:38:09.982Z", "disclosures": [] } }, diff --git a/metadata/modules/optidigitalBidAdapter.json b/metadata/modules/optidigitalBidAdapter.json index 231ccab9965..8917e5eb093 100644 --- a/metadata/modules/optidigitalBidAdapter.json +++ b/metadata/modules/optidigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://scripts.opti-digital.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:52.645Z", + "timestamp": "2025-12-03T16:38:10.009Z", "disclosures": [] } }, diff --git a/metadata/modules/optoutBidAdapter.json b/metadata/modules/optoutBidAdapter.json index 1522b8f1edb..3b48037f3cf 100644 --- a/metadata/modules/optoutBidAdapter.json +++ b/metadata/modules/optoutBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserving.optoutadvertising.com/dsd": { - "timestamp": "2025-11-24T17:31:52.685Z", + "timestamp": "2025-12-03T16:38:10.046Z", "disclosures": [] } }, diff --git a/metadata/modules/orbidderBidAdapter.json b/metadata/modules/orbidderBidAdapter.json index e9e28f05edf..c9ab4fa868b 100644 --- a/metadata/modules/orbidderBidAdapter.json +++ b/metadata/modules/orbidderBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://orbidder.otto.de/disclosure/dsd.json": { - "timestamp": "2025-11-24T17:31:52.963Z", + "timestamp": "2025-12-03T16:38:10.302Z", "disclosures": [] } }, diff --git a/metadata/modules/outbrainBidAdapter.json b/metadata/modules/outbrainBidAdapter.json index baaec9e0f3d..dfc2a1be9b7 100644 --- a/metadata/modules/outbrainBidAdapter.json +++ b/metadata/modules/outbrainBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.outbrain.com/privacy/wp-json/privacy/v2/devicestorage.json": { - "timestamp": "2025-11-24T17:31:53.236Z", + "timestamp": "2025-12-03T16:38:10.574Z", "disclosures": [ { "identifier": "dicbo_id", diff --git a/metadata/modules/ozoneBidAdapter.json b/metadata/modules/ozoneBidAdapter.json index d8805c7d844..6c14bdc4ea3 100644 --- a/metadata/modules/ozoneBidAdapter.json +++ b/metadata/modules/ozoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://prebid.the-ozone-project.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:53.507Z", + "timestamp": "2025-12-03T16:38:10.799Z", "disclosures": [] } }, diff --git a/metadata/modules/pairIdSystem.json b/metadata/modules/pairIdSystem.json index fc7260bf6fd..8a3ef1d0ad5 100644 --- a/metadata/modules/pairIdSystem.json +++ b/metadata/modules/pairIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gstatic.com/iabtcf/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:53.686Z", + "timestamp": "2025-12-03T16:38:11.018Z", "disclosures": [ { "identifier": "__gads", diff --git a/metadata/modules/performaxBidAdapter.json b/metadata/modules/performaxBidAdapter.json index 66b6faac1a9..6f1b986a094 100644 --- a/metadata/modules/performaxBidAdapter.json +++ b/metadata/modules/performaxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.performax.cz/device_storage.json": { - "timestamp": "2025-11-24T17:31:53.706Z", + "timestamp": "2025-12-03T16:38:11.045Z", "disclosures": [ { "identifier": "px2uid", diff --git a/metadata/modules/permutiveIdentityManagerIdSystem.json b/metadata/modules/permutiveIdentityManagerIdSystem.json index 37fb30510e8..69131363223 100644 --- a/metadata/modules/permutiveIdentityManagerIdSystem.json +++ b/metadata/modules/permutiveIdentityManagerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2025-11-24T17:31:54.211Z", + "timestamp": "2025-12-03T16:38:11.559Z", "disclosures": [ { "identifier": "_pdfps", @@ -278,7 +278,7 @@ { "componentType": "userId", "componentName": "permutiveIdentityManagerId", - "gvlid": 361, + "gvlid": null, "disclosureURL": "https://assets.permutive.app/tcf/tcf.json", "aliasOf": null } diff --git a/metadata/modules/permutiveRtdProvider.json b/metadata/modules/permutiveRtdProvider.json index 9c55e38cd8c..d158fb46fc9 100644 --- a/metadata/modules/permutiveRtdProvider.json +++ b/metadata/modules/permutiveRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2025-11-24T17:31:54.378Z", + "timestamp": "2025-12-03T16:38:11.739Z", "disclosures": [ { "identifier": "_pdfps", @@ -278,7 +278,7 @@ { "componentType": "rtd", "componentName": "permutive", - "gvlid": 361, + "gvlid": null, "disclosureURL": "https://assets.permutive.app/tcf/tcf.json" } ] diff --git a/metadata/modules/pixfutureBidAdapter.json b/metadata/modules/pixfutureBidAdapter.json index 5700ff89641..30cf8c6ba02 100644 --- a/metadata/modules/pixfutureBidAdapter.json +++ b/metadata/modules/pixfutureBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.pixfuture.com/vendor-disclosures.json": { - "timestamp": "2025-11-24T17:31:54.380Z", + "timestamp": "2025-12-03T16:38:11.749Z", "disclosures": [] } }, diff --git a/metadata/modules/playdigoBidAdapter.json b/metadata/modules/playdigoBidAdapter.json index 767000fc575..42b6a576873 100644 --- a/metadata/modules/playdigoBidAdapter.json +++ b/metadata/modules/playdigoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://playdigo.com/file.json": { - "timestamp": "2025-11-24T17:31:54.440Z", + "timestamp": "2025-12-03T16:38:11.803Z", "disclosures": [] } }, diff --git a/metadata/modules/prebid-core.json b/metadata/modules/prebid-core.json index 87822864782..54e0320a6f6 100644 --- a/metadata/modules/prebid-core.json +++ b/metadata/modules/prebid-core.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json": { - "timestamp": "2025-11-24T17:31:25.741Z", + "timestamp": "2025-12-03T16:37:39.020Z", "disclosures": [ { "identifier": "_rdc*", @@ -23,7 +23,7 @@ ] }, "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2025-11-24T17:31:25.743Z", + "timestamp": "2025-12-03T16:37:39.021Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/precisoBidAdapter.json b/metadata/modules/precisoBidAdapter.json index b3ecaf176dd..de4e5b87da6 100644 --- a/metadata/modules/precisoBidAdapter.json +++ b/metadata/modules/precisoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://preciso.net/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:54.615Z", + "timestamp": "2025-12-03T16:38:11.984Z", "disclosures": [ { "identifier": "XXXXX_viewnew", diff --git a/metadata/modules/prismaBidAdapter.json b/metadata/modules/prismaBidAdapter.json index bb04424e3f7..dc3413aff75 100644 --- a/metadata/modules/prismaBidAdapter.json +++ b/metadata/modules/prismaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:54.853Z", + "timestamp": "2025-12-03T16:38:12.211Z", "disclosures": [] } }, diff --git a/metadata/modules/programmaticXBidAdapter.json b/metadata/modules/programmaticXBidAdapter.json index 1616d2f452d..7018d66e591 100644 --- a/metadata/modules/programmaticXBidAdapter.json +++ b/metadata/modules/programmaticXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://progrtb.com/tcf-vendor-disclosures.json": { - "timestamp": "2025-11-24T17:31:54.853Z", + "timestamp": "2025-12-03T16:38:12.211Z", "disclosures": [] } }, diff --git a/metadata/modules/proxistoreBidAdapter.json b/metadata/modules/proxistoreBidAdapter.json index 65ab57d1d61..d7a2a02d4e0 100644 --- a/metadata/modules/proxistoreBidAdapter.json +++ b/metadata/modules/proxistoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://abs.proxistore.com/assets/json/proxistore_device_storage_disclosure.json": { - "timestamp": "2025-11-24T17:31:54.924Z", + "timestamp": "2025-12-03T16:38:12.274Z", "disclosures": [] } }, diff --git a/metadata/modules/publinkIdSystem.json b/metadata/modules/publinkIdSystem.json index 6051054a66d..89d150abdfa 100644 --- a/metadata/modules/publinkIdSystem.json +++ b/metadata/modules/publinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.8/device_storage_disclosure.json": { - "timestamp": "2025-11-24T17:31:55.303Z", + "timestamp": "2025-12-03T16:38:12.654Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/pubmaticBidAdapter.json b/metadata/modules/pubmaticBidAdapter.json index bd3388fa6f7..479a95f9588 100644 --- a/metadata/modules/pubmaticBidAdapter.json +++ b/metadata/modules/pubmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2025-11-24T17:31:55.304Z", + "timestamp": "2025-12-03T16:38:12.655Z", "disclosures": [] } }, diff --git a/metadata/modules/pubmaticIdSystem.json b/metadata/modules/pubmaticIdSystem.json index be0eb58e655..e92784d1947 100644 --- a/metadata/modules/pubmaticIdSystem.json +++ b/metadata/modules/pubmaticIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2025-11-24T17:31:55.351Z", + "timestamp": "2025-12-03T16:38:12.714Z", "disclosures": [] } }, diff --git a/metadata/modules/pulsepointBidAdapter.json b/metadata/modules/pulsepointBidAdapter.json index b3744f2af64..1024ab681b0 100644 --- a/metadata/modules/pulsepointBidAdapter.json +++ b/metadata/modules/pulsepointBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bh.contextweb.com/tcf/vendorInfo.json": { - "timestamp": "2025-11-24T17:31:55.352Z", + "timestamp": "2025-12-03T16:38:12.716Z", "disclosures": [] } }, diff --git a/metadata/modules/quantcastBidAdapter.json b/metadata/modules/quantcastBidAdapter.json index a7805cae422..71ab138b54f 100644 --- a/metadata/modules/quantcastBidAdapter.json +++ b/metadata/modules/quantcastBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2025-11-24T17:31:55.372Z", + "timestamp": "2025-12-03T16:38:12.744Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/quantcastIdSystem.json b/metadata/modules/quantcastIdSystem.json index 30672d1f995..0f7084bdb5e 100644 --- a/metadata/modules/quantcastIdSystem.json +++ b/metadata/modules/quantcastIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2025-11-24T17:31:55.579Z", + "timestamp": "2025-12-03T16:38:12.950Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/r2b2BidAdapter.json b/metadata/modules/r2b2BidAdapter.json index a29d5fb662e..42aa6f28790 100644 --- a/metadata/modules/r2b2BidAdapter.json +++ b/metadata/modules/r2b2BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.r2b2.io/cookie_disclosure": { - "timestamp": "2025-11-24T17:31:55.580Z", + "timestamp": "2025-12-03T16:38:12.951Z", "disclosures": [ { "identifier": "AdTrack-hide-*", diff --git a/metadata/modules/readpeakBidAdapter.json b/metadata/modules/readpeakBidAdapter.json index 44f07b47e86..51849d546a4 100644 --- a/metadata/modules/readpeakBidAdapter.json +++ b/metadata/modules/readpeakBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.readpeak.com/tcf/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:55.979Z", + "timestamp": "2025-12-03T16:38:13.388Z", "disclosures": [ { "identifier": "rp_uidfp", diff --git a/metadata/modules/relayBidAdapter.json b/metadata/modules/relayBidAdapter.json index 5ef434b371d..bc54db980c9 100644 --- a/metadata/modules/relayBidAdapter.json +++ b/metadata/modules/relayBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://relay42.com/hubfs/raw_assets/public/IAB.json": { - "timestamp": "2025-11-24T17:31:56.006Z", + "timestamp": "2025-12-03T16:38:13.424Z", "disclosures": [] } }, diff --git a/metadata/modules/relevantdigitalBidAdapter.json b/metadata/modules/relevantdigitalBidAdapter.json index 87f1f123a95..a1fe67e5822 100644 --- a/metadata/modules/relevantdigitalBidAdapter.json +++ b/metadata/modules/relevantdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.relevant-digital.com/resources/deviceStorage.json": { - "timestamp": "2025-11-24T17:31:56.081Z", + "timestamp": "2025-12-03T16:38:13.533Z", "disclosures": [] } }, diff --git a/metadata/modules/resetdigitalBidAdapter.json b/metadata/modules/resetdigitalBidAdapter.json index 3c1474dae9e..54717371ee1 100644 --- a/metadata/modules/resetdigitalBidAdapter.json +++ b/metadata/modules/resetdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resetdigital.co/GDPR-TCF.json": { - "timestamp": "2025-11-24T17:31:56.366Z", + "timestamp": "2025-12-03T16:38:13.819Z", "disclosures": [] } }, diff --git a/metadata/modules/responsiveAdsBidAdapter.json b/metadata/modules/responsiveAdsBidAdapter.json index f4258e44fc7..8fa5db9badf 100644 --- a/metadata/modules/responsiveAdsBidAdapter.json +++ b/metadata/modules/responsiveAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publish.responsiveads.com/tcf/tcf-v2.json": { - "timestamp": "2025-11-24T17:31:56.405Z", + "timestamp": "2025-12-03T16:38:13.861Z", "disclosures": [] } }, diff --git a/metadata/modules/revcontentBidAdapter.json b/metadata/modules/revcontentBidAdapter.json index d4c3e518e9d..d3f86dc219a 100644 --- a/metadata/modules/revcontentBidAdapter.json +++ b/metadata/modules/revcontentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sothebys.revcontent.com/static/device_storage.json": { - "timestamp": "2025-11-24T17:31:56.431Z", + "timestamp": "2025-12-03T16:38:13.935Z", "disclosures": [ { "identifier": "__ID", diff --git a/metadata/modules/rhythmoneBidAdapter.json b/metadata/modules/rhythmoneBidAdapter.json index dd348b55a33..08b855aa688 100644 --- a/metadata/modules/rhythmoneBidAdapter.json +++ b/metadata/modules/rhythmoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:56.460Z", + "timestamp": "2025-12-03T16:38:13.971Z", "disclosures": [] } }, diff --git a/metadata/modules/richaudienceBidAdapter.json b/metadata/modules/richaudienceBidAdapter.json index 7419aa1e93e..4fb473015ff 100644 --- a/metadata/modules/richaudienceBidAdapter.json +++ b/metadata/modules/richaudienceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnj.richaudience.com/52a26ab9400b2a9f5aabfa20acf3196g.json": { - "timestamp": "2025-11-24T17:31:56.745Z", + "timestamp": "2025-12-03T16:38:14.299Z", "disclosures": [] } }, diff --git a/metadata/modules/riseBidAdapter.json b/metadata/modules/riseBidAdapter.json index 1f79261946a..2cc732d5912 100644 --- a/metadata/modules/riseBidAdapter.json +++ b/metadata/modules/riseBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d2pm7iglz0b6eq.cloudfront.net/RiseDeviceStorage.json": { - "timestamp": "2025-11-24T17:31:56.811Z", + "timestamp": "2025-12-03T16:38:14.363Z", "disclosures": [] }, "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2025-11-24T17:31:56.811Z", + "timestamp": "2025-12-03T16:38:14.364Z", "disclosures": [] } }, diff --git a/metadata/modules/rixengineBidAdapter.json b/metadata/modules/rixengineBidAdapter.json index 20c634466c2..f63fb23ac6d 100644 --- a/metadata/modules/rixengineBidAdapter.json +++ b/metadata/modules/rixengineBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.algorix.co/gdpr-disclosure.json": { - "timestamp": "2025-11-24T17:31:56.812Z", + "timestamp": "2025-12-03T16:38:14.364Z", "disclosures": [] } }, diff --git a/metadata/modules/rtbhouseBidAdapter.json b/metadata/modules/rtbhouseBidAdapter.json index 9012e34dc77..a906d121752 100644 --- a/metadata/modules/rtbhouseBidAdapter.json +++ b/metadata/modules/rtbhouseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://rtbhouse.com/DeviceStorage.json": { - "timestamp": "2025-11-24T17:31:56.832Z", + "timestamp": "2025-12-03T16:38:14.386Z", "disclosures": [ { "identifier": "_rtbh.*", diff --git a/metadata/modules/rubiconBidAdapter.json b/metadata/modules/rubiconBidAdapter.json index 13a1cb7255e..b1c924332c1 100644 --- a/metadata/modules/rubiconBidAdapter.json +++ b/metadata/modules/rubiconBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.rubiconproject.com/dvplus/devicestoragedisclosure.json": { - "timestamp": "2025-11-24T17:31:57.034Z", + "timestamp": "2025-12-03T16:38:14.528Z", "disclosures": [] } }, diff --git a/metadata/modules/scaliburBidAdapter.json b/metadata/modules/scaliburBidAdapter.json index 422f0d33531..0b33f104f0e 100644 --- a/metadata/modules/scaliburBidAdapter.json +++ b/metadata/modules/scaliburBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://legal.overwolf.com/docs/overwolf/website/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:31:57.316Z", + "timestamp": "2025-12-03T16:38:14.786Z", "disclosures": [ { "identifier": "scluid", diff --git a/metadata/modules/screencoreBidAdapter.json b/metadata/modules/screencoreBidAdapter.json index e89672c7bfb..e17a724f6c7 100644 --- a/metadata/modules/screencoreBidAdapter.json +++ b/metadata/modules/screencoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://screencore.io/tcf.json": { - "timestamp": "2025-11-24T17:31:57.333Z", + "timestamp": "2025-12-03T16:38:14.803Z", "disclosures": null } }, diff --git a/metadata/modules/seedingAllianceBidAdapter.json b/metadata/modules/seedingAllianceBidAdapter.json index b36061903ac..f022337675a 100644 --- a/metadata/modules/seedingAllianceBidAdapter.json +++ b/metadata/modules/seedingAllianceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.nativendo.de/cdn/asset/tcf/purpose-specific-storage-and-access-information.json": { - "timestamp": "2025-11-24T17:31:59.924Z", + "timestamp": "2025-12-03T16:38:17.403Z", "disclosures": [] } }, diff --git a/metadata/modules/seedtagBidAdapter.json b/metadata/modules/seedtagBidAdapter.json index 715c3f97abe..d50cea3f572 100644 --- a/metadata/modules/seedtagBidAdapter.json +++ b/metadata/modules/seedtagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2025-11-24T17:31:59.946Z", + "timestamp": "2025-12-03T16:38:17.491Z", "disclosures": [] } }, diff --git a/metadata/modules/semantiqRtdProvider.json b/metadata/modules/semantiqRtdProvider.json index 37ced7d3650..802e1c2c3e9 100644 --- a/metadata/modules/semantiqRtdProvider.json +++ b/metadata/modules/semantiqRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audienzz.com/device_storage_disclosure_vendor_783.json": { - "timestamp": "2025-11-24T17:31:59.947Z", + "timestamp": "2025-12-03T16:38:17.491Z", "disclosures": [] } }, diff --git a/metadata/modules/setupadBidAdapter.json b/metadata/modules/setupadBidAdapter.json index 4d9640738f3..2bd032280c9 100644 --- a/metadata/modules/setupadBidAdapter.json +++ b/metadata/modules/setupadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cookies.stpd.cloud/disclosures.json": { - "timestamp": "2025-11-24T17:31:59.997Z", + "timestamp": "2025-12-03T16:38:17.544Z", "disclosures": [] } }, diff --git a/metadata/modules/sevioBidAdapter.json b/metadata/modules/sevioBidAdapter.json index f8fbbe5211b..5171e439349 100644 --- a/metadata/modules/sevioBidAdapter.json +++ b/metadata/modules/sevioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sevio.com/tcf.json": { - "timestamp": "2025-11-24T17:32:00.127Z", + "timestamp": "2025-12-03T16:38:17.699Z", "disclosures": [] } }, diff --git a/metadata/modules/sharedIdSystem.json b/metadata/modules/sharedIdSystem.json index f7df5e5f10a..896dc8a0795 100644 --- a/metadata/modules/sharedIdSystem.json +++ b/metadata/modules/sharedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2025-11-24T17:32:00.263Z", + "timestamp": "2025-12-03T16:38:17.841Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/sharethroughBidAdapter.json b/metadata/modules/sharethroughBidAdapter.json index 9389105c3c1..218716871f0 100644 --- a/metadata/modules/sharethroughBidAdapter.json +++ b/metadata/modules/sharethroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.sharethrough.com/gvl.json": { - "timestamp": "2025-11-24T17:32:00.264Z", + "timestamp": "2025-12-03T16:38:17.842Z", "disclosures": [] } }, diff --git a/metadata/modules/showheroes-bsBidAdapter.json b/metadata/modules/showheroes-bsBidAdapter.json index 2307722c310..01226e93e51 100644 --- a/metadata/modules/showheroes-bsBidAdapter.json +++ b/metadata/modules/showheroes-bsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static-origin.showheroes.com/gvl_storage_disclosure.json": { - "timestamp": "2025-11-24T17:32:00.286Z", + "timestamp": "2025-12-03T16:38:17.869Z", "disclosures": [] } }, diff --git a/metadata/modules/silvermobBidAdapter.json b/metadata/modules/silvermobBidAdapter.json index 4ad031ba997..37aa79a9cf5 100644 --- a/metadata/modules/silvermobBidAdapter.json +++ b/metadata/modules/silvermobBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://silvermob.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:32:00.708Z", + "timestamp": "2025-12-03T16:38:18.306Z", "disclosures": [] } }, diff --git a/metadata/modules/sirdataRtdProvider.json b/metadata/modules/sirdataRtdProvider.json index 21a84cd6d98..d51dc768b9d 100644 --- a/metadata/modules/sirdataRtdProvider.json +++ b/metadata/modules/sirdataRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sirdata.eu/sirdata_device_storage_disclosure.json": { - "timestamp": "2025-11-24T17:32:00.731Z", + "timestamp": "2025-12-03T16:38:18.328Z", "disclosures": [] } }, diff --git a/metadata/modules/smaatoBidAdapter.json b/metadata/modules/smaatoBidAdapter.json index 4350c89732d..1cd66711d56 100644 --- a/metadata/modules/smaatoBidAdapter.json +++ b/metadata/modules/smaatoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resources.smaato.com/hubfs/Smaato/IAB/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:01.065Z", + "timestamp": "2025-12-03T16:38:18.629Z", "disclosures": [] } }, diff --git a/metadata/modules/smartadserverBidAdapter.json b/metadata/modules/smartadserverBidAdapter.json index 8ed6c575827..64918e4cd2a 100644 --- a/metadata/modules/smartadserverBidAdapter.json +++ b/metadata/modules/smartadserverBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2025-11-24T17:32:01.126Z", + "timestamp": "2025-12-03T16:38:18.705Z", "disclosures": [] } }, diff --git a/metadata/modules/smarthubBidAdapter.json b/metadata/modules/smarthubBidAdapter.json index eb77b60b1e7..7aff9b5ebd5 100644 --- a/metadata/modules/smarthubBidAdapter.json +++ b/metadata/modules/smarthubBidAdapter.json @@ -92,6 +92,13 @@ "aliasOf": "smarthub", "gvlid": null, "disclosureURL": null + }, + { + "componentType": "bidder", + "componentName": "radiantfusion", + "aliasOf": "smarthub", + "gvlid": null, + "disclosureURL": null } ] } \ No newline at end of file diff --git a/metadata/modules/smartxBidAdapter.json b/metadata/modules/smartxBidAdapter.json index ba26f5cc86d..4b9c4e78466 100644 --- a/metadata/modules/smartxBidAdapter.json +++ b/metadata/modules/smartxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.smartclip.net/iab/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:32:01.127Z", + "timestamp": "2025-12-03T16:38:18.705Z", "disclosures": [] } }, diff --git a/metadata/modules/smartyadsBidAdapter.json b/metadata/modules/smartyadsBidAdapter.json index 6efe1a4afd1..bb017ec4ba3 100644 --- a/metadata/modules/smartyadsBidAdapter.json +++ b/metadata/modules/smartyadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smartyads.com/tcf.json": { - "timestamp": "2025-11-24T17:32:01.145Z", + "timestamp": "2025-12-03T16:38:18.728Z", "disclosures": [] } }, diff --git a/metadata/modules/smilewantedBidAdapter.json b/metadata/modules/smilewantedBidAdapter.json index 47e20c53df7..d64acbe1810 100644 --- a/metadata/modules/smilewantedBidAdapter.json +++ b/metadata/modules/smilewantedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smilewanted.com/vendor-device-storage-disclosures.json": { - "timestamp": "2025-11-24T17:32:01.188Z", + "timestamp": "2025-12-03T16:38:18.768Z", "disclosures": [] } }, diff --git a/metadata/modules/snigelBidAdapter.json b/metadata/modules/snigelBidAdapter.json index 49efb0cf572..26b4696ed66 100644 --- a/metadata/modules/snigelBidAdapter.json +++ b/metadata/modules/snigelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.snigelweb.com/gvl/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:32:01.638Z", + "timestamp": "2025-12-03T16:38:19.214Z", "disclosures": [] } }, diff --git a/metadata/modules/sonaradsBidAdapter.json b/metadata/modules/sonaradsBidAdapter.json index f51f35d5547..49da882078b 100644 --- a/metadata/modules/sonaradsBidAdapter.json +++ b/metadata/modules/sonaradsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bridgeupp.com/device-storage-disclosure.json": { - "timestamp": "2025-11-24T17:32:01.690Z", + "timestamp": "2025-12-03T16:38:19.247Z", "disclosures": [] } }, diff --git a/metadata/modules/sonobiBidAdapter.json b/metadata/modules/sonobiBidAdapter.json index ba22af42fd2..365a157d70a 100644 --- a/metadata/modules/sonobiBidAdapter.json +++ b/metadata/modules/sonobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sonobi.com/tcf2-device-storage-disclosure.json": { - "timestamp": "2025-11-24T17:32:01.916Z", + "timestamp": "2025-12-03T16:38:19.550Z", "disclosures": [] } }, diff --git a/metadata/modules/sovrnBidAdapter.json b/metadata/modules/sovrnBidAdapter.json index 992c70401f3..dc1111d4174 100644 --- a/metadata/modules/sovrnBidAdapter.json +++ b/metadata/modules/sovrnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sovrn.com/tcf-cookie-disclosure/disclosure.json": { - "timestamp": "2025-11-24T17:32:02.153Z", + "timestamp": "2025-12-03T16:38:19.780Z", "disclosures": [] } }, diff --git a/metadata/modules/sparteoBidAdapter.json b/metadata/modules/sparteoBidAdapter.json index ae4eb717c5c..08f54606e60 100644 --- a/metadata/modules/sparteoBidAdapter.json +++ b/metadata/modules/sparteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:02.175Z", + "timestamp": "2025-12-03T16:38:19.799Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/ssmasBidAdapter.json b/metadata/modules/ssmasBidAdapter.json index 1e82d9e05fe..2865e4eacb3 100644 --- a/metadata/modules/ssmasBidAdapter.json +++ b/metadata/modules/ssmasBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://semseoymas.com/iab.json": { - "timestamp": "2025-11-24T17:32:02.473Z", + "timestamp": "2025-12-03T16:38:20.079Z", "disclosures": null } }, diff --git a/metadata/modules/sspBCBidAdapter.json b/metadata/modules/sspBCBidAdapter.json index ecaf0326260..3b4a7522d02 100644 --- a/metadata/modules/sspBCBidAdapter.json +++ b/metadata/modules/sspBCBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:03.061Z", + "timestamp": "2025-12-03T16:38:23.002Z", "disclosures": null } }, diff --git a/metadata/modules/stackadaptBidAdapter.json b/metadata/modules/stackadaptBidAdapter.json index 05f85255abc..d94fd746e11 100644 --- a/metadata/modules/stackadaptBidAdapter.json +++ b/metadata/modules/stackadaptBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.amazonaws.com/stackadapt_public/disclosures.json": { - "timestamp": "2025-11-24T17:32:03.062Z", + "timestamp": "2025-12-03T16:38:23.003Z", "disclosures": [ { "identifier": "sa-camp-*", diff --git a/metadata/modules/startioBidAdapter.json b/metadata/modules/startioBidAdapter.json index 00f6ff94cdc..166817ac853 100644 --- a/metadata/modules/startioBidAdapter.json +++ b/metadata/modules/startioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://info.startappservice.com/tcf/start.io_domains.json": { - "timestamp": "2025-11-24T17:32:03.127Z", + "timestamp": "2025-12-03T16:38:23.033Z", "disclosures": [] } }, diff --git a/metadata/modules/stroeerCoreBidAdapter.json b/metadata/modules/stroeerCoreBidAdapter.json index 7d2f1c3b46b..0500156063a 100644 --- a/metadata/modules/stroeerCoreBidAdapter.json +++ b/metadata/modules/stroeerCoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.stroeer.de/StroeerSSP_deviceStorage.json": { - "timestamp": "2025-11-24T17:32:03.148Z", + "timestamp": "2025-12-03T16:38:23.049Z", "disclosures": [] } }, diff --git a/metadata/modules/stvBidAdapter.json b/metadata/modules/stvBidAdapter.json index 77971d9900c..d475689d0a6 100644 --- a/metadata/modules/stvBidAdapter.json +++ b/metadata/modules/stvBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/stv.json": { - "timestamp": "2025-11-24T17:32:03.507Z", + "timestamp": "2025-12-03T16:38:23.373Z", "disclosures": [] } }, diff --git a/metadata/modules/sublimeBidAdapter.json b/metadata/modules/sublimeBidAdapter.json index f5341140539..c69911515e8 100644 --- a/metadata/modules/sublimeBidAdapter.json +++ b/metadata/modules/sublimeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.ayads.co/cookiepolicy.json": { - "timestamp": "2025-11-24T17:32:04.195Z", + "timestamp": "2025-12-03T16:38:24.006Z", "disclosures": [ { "identifier": "dnt", diff --git a/metadata/modules/taboolaBidAdapter.json b/metadata/modules/taboolaBidAdapter.json index 973f21cc1d8..d958e2afcc8 100644 --- a/metadata/modules/taboolaBidAdapter.json +++ b/metadata/modules/taboolaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2025-11-24T17:32:04.464Z", + "timestamp": "2025-12-03T16:38:24.266Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/taboolaIdSystem.json b/metadata/modules/taboolaIdSystem.json index 59719464534..def5bc59341 100644 --- a/metadata/modules/taboolaIdSystem.json +++ b/metadata/modules/taboolaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2025-11-24T17:32:05.100Z", + "timestamp": "2025-12-03T16:38:24.930Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/tadvertisingBidAdapter.json b/metadata/modules/tadvertisingBidAdapter.json index 02b53a302e8..d06af6c6183 100644 --- a/metadata/modules/tadvertisingBidAdapter.json +++ b/metadata/modules/tadvertisingBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:32:05.100Z", + "timestamp": "2025-12-03T16:38:24.931Z", "disclosures": [] } }, diff --git a/metadata/modules/tappxBidAdapter.json b/metadata/modules/tappxBidAdapter.json index 0f549c2060f..81c629234ef 100644 --- a/metadata/modules/tappxBidAdapter.json +++ b/metadata/modules/tappxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tappx.com/devicestorage.json": { - "timestamp": "2025-11-24T17:32:05.101Z", + "timestamp": "2025-12-03T16:38:24.932Z", "disclosures": [] } }, diff --git a/metadata/modules/targetVideoBidAdapter.json b/metadata/modules/targetVideoBidAdapter.json index 660bd880c6d..9462c87082e 100644 --- a/metadata/modules/targetVideoBidAdapter.json +++ b/metadata/modules/targetVideoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2025-11-24T17:32:05.135Z", + "timestamp": "2025-12-03T16:38:24.962Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/teadsBidAdapter.json b/metadata/modules/teadsBidAdapter.json index 43e6b02b82b..62b5cae32e1 100644 --- a/metadata/modules/teadsBidAdapter.json +++ b/metadata/modules/teadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:05.136Z", + "timestamp": "2025-12-03T16:38:24.963Z", "disclosures": [] } }, diff --git a/metadata/modules/teadsIdSystem.json b/metadata/modules/teadsIdSystem.json index c5ada4747f5..570ebf343f6 100644 --- a/metadata/modules/teadsIdSystem.json +++ b/metadata/modules/teadsIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:05.155Z", + "timestamp": "2025-12-03T16:38:24.980Z", "disclosures": [] } }, diff --git a/metadata/modules/tealBidAdapter.json b/metadata/modules/tealBidAdapter.json index c4a7dcdba1c..b76a9d28cf5 100644 --- a/metadata/modules/tealBidAdapter.json +++ b/metadata/modules/tealBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://c.bids.ws/iab/disclosures.json": { - "timestamp": "2025-11-24T17:32:05.155Z", + "timestamp": "2025-12-03T16:38:24.980Z", "disclosures": [] } }, diff --git a/metadata/modules/tncIdSystem.json b/metadata/modules/tncIdSystem.json index 2639743fe62..079fed6a321 100644 --- a/metadata/modules/tncIdSystem.json +++ b/metadata/modules/tncIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.tncid.app/iab-tcf-device-storage-disclosure.json": { - "timestamp": "2025-11-24T17:32:05.194Z", + "timestamp": "2025-12-03T16:38:25.014Z", "disclosures": [] } }, diff --git a/metadata/modules/topicsFpdModule.json b/metadata/modules/topicsFpdModule.json index 0e73a97a44d..c72913716ba 100644 --- a/metadata/modules/topicsFpdModule.json +++ b/metadata/modules/topicsFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/topicsFpdModule.json": { - "timestamp": "2025-11-24T17:31:25.744Z", + "timestamp": "2025-12-03T16:37:39.022Z", "disclosures": [ { "identifier": "prebid:topics", diff --git a/metadata/modules/toponBidAdapter.json b/metadata/modules/toponBidAdapter.json index e9f5166d780..a5a6b6a8858 100644 --- a/metadata/modules/toponBidAdapter.json +++ b/metadata/modules/toponBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mores.toponad.net/tmp/tpn/toponads_tcf_disclosure.json": { - "timestamp": "2025-11-24T17:32:05.215Z", + "timestamp": "2025-12-03T16:38:25.034Z", "disclosures": [] } }, diff --git a/metadata/modules/tripleliftBidAdapter.json b/metadata/modules/tripleliftBidAdapter.json index 842bb6e7529..709350dbd4a 100644 --- a/metadata/modules/tripleliftBidAdapter.json +++ b/metadata/modules/tripleliftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://triplelift.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:05.240Z", + "timestamp": "2025-12-03T16:38:25.060Z", "disclosures": [] } }, diff --git a/metadata/modules/ttdBidAdapter.json b/metadata/modules/ttdBidAdapter.json index d9a5b50bf6f..fcb2ce966b3 100644 --- a/metadata/modules/ttdBidAdapter.json +++ b/metadata/modules/ttdBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-11-24T17:32:05.290Z", + "timestamp": "2025-12-03T16:38:25.095Z", "disclosures": [] } }, diff --git a/metadata/modules/twistDigitalBidAdapter.json b/metadata/modules/twistDigitalBidAdapter.json index ca1bc55d80f..60cb3575251 100644 --- a/metadata/modules/twistDigitalBidAdapter.json +++ b/metadata/modules/twistDigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://twistdigital.net/iab.json": { - "timestamp": "2025-11-24T17:32:05.290Z", + "timestamp": "2025-12-03T16:38:25.095Z", "disclosures": [ { "identifier": "vdzj1_{id}", diff --git a/metadata/modules/underdogmediaBidAdapter.json b/metadata/modules/underdogmediaBidAdapter.json index 06ad4a04ec1..1ad33a0e9a4 100644 --- a/metadata/modules/underdogmediaBidAdapter.json +++ b/metadata/modules/underdogmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.underdog.media/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:05.378Z", + "timestamp": "2025-12-03T16:38:25.150Z", "disclosures": [] } }, diff --git a/metadata/modules/undertoneBidAdapter.json b/metadata/modules/undertoneBidAdapter.json index a0d5d41f6c2..2758f3dbf0d 100644 --- a/metadata/modules/undertoneBidAdapter.json +++ b/metadata/modules/undertoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.undertone.com/js/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:05.402Z", + "timestamp": "2025-12-03T16:38:25.173Z", "disclosures": [] } }, diff --git a/metadata/modules/unifiedIdSystem.json b/metadata/modules/unifiedIdSystem.json index 800c137c4d8..9034b9e4288 100644 --- a/metadata/modules/unifiedIdSystem.json +++ b/metadata/modules/unifiedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-11-24T17:32:05.417Z", + "timestamp": "2025-12-03T16:38:25.189Z", "disclosures": [] } }, diff --git a/metadata/modules/unrulyBidAdapter.json b/metadata/modules/unrulyBidAdapter.json index a3bb0a8af1e..264c65b4739 100644 --- a/metadata/modules/unrulyBidAdapter.json +++ b/metadata/modules/unrulyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:32:05.418Z", + "timestamp": "2025-12-03T16:38:25.190Z", "disclosures": [] } }, diff --git a/metadata/modules/userId.json b/metadata/modules/userId.json index 4a028565ca3..ae8b8917317 100644 --- a/metadata/modules/userId.json +++ b/metadata/modules/userId.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/userId-optout.json": { - "timestamp": "2025-11-24T17:31:25.745Z", + "timestamp": "2025-12-03T16:37:39.024Z", "disclosures": [ { "identifier": "_pbjs_id_optout", diff --git a/metadata/modules/utiqIdSystem.json b/metadata/modules/utiqIdSystem.json index a5f034f9190..eb456d79f37 100644 --- a/metadata/modules/utiqIdSystem.json +++ b/metadata/modules/utiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:32:05.418Z", + "timestamp": "2025-12-03T16:38:25.191Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/utiqMtpIdSystem.json b/metadata/modules/utiqMtpIdSystem.json index 05e5bae8afe..6916b8c2fad 100644 --- a/metadata/modules/utiqMtpIdSystem.json +++ b/metadata/modules/utiqMtpIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:32:05.420Z", + "timestamp": "2025-12-03T16:38:25.191Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/validationFpdModule.json b/metadata/modules/validationFpdModule.json index 5d8a43f0b63..11bbfff2180 100644 --- a/metadata/modules/validationFpdModule.json +++ b/metadata/modules/validationFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2025-11-24T17:31:25.744Z", + "timestamp": "2025-12-03T16:37:39.023Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/valuadBidAdapter.json b/metadata/modules/valuadBidAdapter.json index 6b1e577c72b..a55e70b4f90 100644 --- a/metadata/modules/valuadBidAdapter.json +++ b/metadata/modules/valuadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.valuad.cloud/tcfdevice.json": { - "timestamp": "2025-11-24T17:32:05.421Z", + "timestamp": "2025-12-03T16:38:25.192Z", "disclosures": [] } }, diff --git a/metadata/modules/vidazooBidAdapter.json b/metadata/modules/vidazooBidAdapter.json index 89d37b9d3e8..a97e0c4e3ab 100644 --- a/metadata/modules/vidazooBidAdapter.json +++ b/metadata/modules/vidazooBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidazoo.com/gdpr-tcf/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:05.712Z", + "timestamp": "2025-12-03T16:38:25.441Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/vidoomyBidAdapter.json b/metadata/modules/vidoomyBidAdapter.json index b7fd8d975fd..b9138f26725 100644 --- a/metadata/modules/vidoomyBidAdapter.json +++ b/metadata/modules/vidoomyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidoomy.com/storageurl/devicestoragediscurl.json": { - "timestamp": "2025-11-24T17:32:05.781Z", + "timestamp": "2025-12-03T16:38:25.529Z", "disclosures": [] } }, diff --git a/metadata/modules/viouslyBidAdapter.json b/metadata/modules/viouslyBidAdapter.json index 610e201a73f..4ce43a72d0b 100644 --- a/metadata/modules/viouslyBidAdapter.json +++ b/metadata/modules/viouslyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:05.898Z", + "timestamp": "2025-12-03T16:38:25.683Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/visxBidAdapter.json b/metadata/modules/visxBidAdapter.json index 29453b72acc..d036bff8254 100644 --- a/metadata/modules/visxBidAdapter.json +++ b/metadata/modules/visxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.yoc.com/visx/sellers/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:05.899Z", + "timestamp": "2025-12-03T16:38:25.684Z", "disclosures": [ { "identifier": "__vads", diff --git a/metadata/modules/vlybyBidAdapter.json b/metadata/modules/vlybyBidAdapter.json index 7711d806952..6276f35e4d7 100644 --- a/metadata/modules/vlybyBidAdapter.json +++ b/metadata/modules/vlybyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vlyby.com/conf/iab/gvl.json": { - "timestamp": "2025-11-24T17:32:06.205Z", + "timestamp": "2025-12-03T16:38:25.862Z", "disclosures": [] } }, diff --git a/metadata/modules/voxBidAdapter.json b/metadata/modules/voxBidAdapter.json index 6318dbc0aae..2dfcbe5c4a5 100644 --- a/metadata/modules/voxBidAdapter.json +++ b/metadata/modules/voxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:06.539Z", + "timestamp": "2025-12-03T16:38:25.887Z", "disclosures": [] } }, diff --git a/metadata/modules/vrtcalBidAdapter.json b/metadata/modules/vrtcalBidAdapter.json index 166628bd69c..30c8a9585b5 100644 --- a/metadata/modules/vrtcalBidAdapter.json +++ b/metadata/modules/vrtcalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vrtcal.com/docs/gdpr-tcf-disclosures.json": { - "timestamp": "2025-11-24T17:32:06.539Z", + "timestamp": "2025-12-03T16:38:25.887Z", "disclosures": [] } }, diff --git a/metadata/modules/vuukleBidAdapter.json b/metadata/modules/vuukleBidAdapter.json index e18a81495c0..c7c25a4ec19 100644 --- a/metadata/modules/vuukleBidAdapter.json +++ b/metadata/modules/vuukleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vuukle.com/data-privacy/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:06.753Z", + "timestamp": "2025-12-03T16:38:26.104Z", "disclosures": [ { "identifier": "vuukle_token", diff --git a/metadata/modules/weboramaRtdProvider.json b/metadata/modules/weboramaRtdProvider.json index 6ec9051b402..3e3b92c6ea9 100644 --- a/metadata/modules/weboramaRtdProvider.json +++ b/metadata/modules/weboramaRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://weborama.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:07.036Z", + "timestamp": "2025-12-03T16:38:26.404Z", "disclosures": [] } }, diff --git a/metadata/modules/welectBidAdapter.json b/metadata/modules/welectBidAdapter.json index f3e67b3a53c..d411c46ba84 100644 --- a/metadata/modules/welectBidAdapter.json +++ b/metadata/modules/welectBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.welect.de/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:07.307Z", + "timestamp": "2025-12-03T16:38:26.686Z", "disclosures": [] } }, diff --git a/metadata/modules/yahooAdsBidAdapter.json b/metadata/modules/yahooAdsBidAdapter.json index 724794bbea1..b1a19554279 100644 --- a/metadata/modules/yahooAdsBidAdapter.json +++ b/metadata/modules/yahooAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2025-11-24T17:32:07.691Z", + "timestamp": "2025-12-03T16:38:27.088Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/yieldlabBidAdapter.json b/metadata/modules/yieldlabBidAdapter.json index 530c38d0b9f..2d376e332b1 100644 --- a/metadata/modules/yieldlabBidAdapter.json +++ b/metadata/modules/yieldlabBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.yieldlab.net/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:07.692Z", + "timestamp": "2025-12-03T16:38:27.089Z", "disclosures": [] } }, diff --git a/metadata/modules/yieldloveBidAdapter.json b/metadata/modules/yieldloveBidAdapter.json index d2b0ba43b29..d89869ff611 100644 --- a/metadata/modules/yieldloveBidAdapter.json +++ b/metadata/modules/yieldloveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn-a.yieldlove.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:07.820Z", + "timestamp": "2025-12-03T16:38:27.209Z", "disclosures": [ { "identifier": "session_id", diff --git a/metadata/modules/yieldmoBidAdapter.json b/metadata/modules/yieldmoBidAdapter.json index bb29a9b3a0f..85ad88c9716 100644 --- a/metadata/modules/yieldmoBidAdapter.json +++ b/metadata/modules/yieldmoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://devicestoragedisclosureurl.yieldmo.com/deviceStorage.json": { - "timestamp": "2025-11-24T17:32:07.841Z", + "timestamp": "2025-12-03T16:38:27.230Z", "disclosures": [] } }, diff --git a/metadata/modules/zeotapIdPlusIdSystem.json b/metadata/modules/zeotapIdPlusIdSystem.json index e3182aeb998..b4dbd32133c 100644 --- a/metadata/modules/zeotapIdPlusIdSystem.json +++ b/metadata/modules/zeotapIdPlusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spl.zeotap.com/assets/iab-disclosure.json": { - "timestamp": "2025-11-24T17:32:07.920Z", + "timestamp": "2025-12-03T16:38:27.328Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_globalBidAdapter.json b/metadata/modules/zeta_globalBidAdapter.json index 20f0803890d..38017fb57b0 100644 --- a/metadata/modules/zeta_globalBidAdapter.json +++ b/metadata/modules/zeta_globalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:32:08.037Z", + "timestamp": "2025-12-03T16:38:27.490Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_global_sspBidAdapter.json b/metadata/modules/zeta_global_sspBidAdapter.json index f4202a604a8..13d4e81d1b8 100644 --- a/metadata/modules/zeta_global_sspBidAdapter.json +++ b/metadata/modules/zeta_global_sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2025-11-24T17:32:08.153Z", + "timestamp": "2025-12-03T16:38:27.597Z", "disclosures": [] } }, diff --git a/package-lock.json b/package-lock.json index 5d06a914ebe..7fdf9521f14 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.19.0-pre", + "version": "10.19.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.19.0-pre", + "version": "10.19.0", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", @@ -7267,10 +7267,9 @@ } }, "node_modules/baseline-browser-mapping": { - "version": "2.8.17", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.17.tgz", - "integrity": "sha512-j5zJcx6golJYTG6c05LUZ3Z8Gi+M62zRT/ycz4Xq4iCOdpcxwg7ngEYD4KA0eWZC7U17qh/Smq8bYbACJ0ipBA==", - "license": "Apache-2.0", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.0.tgz", + "integrity": "sha512-Mh++g+2LPfzZToywfE1BUzvZbfOY52Nil0rn9H1CPC5DJ7fX+Vir7nToBeoiSbB1zTNeGYbELEvJESujgGrzXw==", "bin": { "baseline-browser-mapping": "dist/cli.js" } @@ -7672,9 +7671,9 @@ "license": "MIT" }, "node_modules/caniuse-lite": { - "version": "1.0.30001757", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001757.tgz", - "integrity": "sha512-r0nnL/I28Zi/yjk1el6ilj27tKcdjLsNqAOZr0yVjWPrSQyHgKI2INaEWw21bAQSv2LXRt1XuCS/GomNpWOxsQ==", + "version": "1.0.30001759", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001759.tgz", + "integrity": "sha512-Pzfx9fOKoKvevQf8oCXoyNRQ5QyxJj+3O0Rqx2V5oxT61KGx8+n6hV/IUyJeifUci2clnmmKVpvtiqRzgiWjSw==", "funding": [ { "type": "opencollective", @@ -26536,9 +26535,9 @@ "version": "2.0.0" }, "baseline-browser-mapping": { - "version": "2.8.17", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.17.tgz", - "integrity": "sha512-j5zJcx6golJYTG6c05LUZ3Z8Gi+M62zRT/ycz4Xq4iCOdpcxwg7ngEYD4KA0eWZC7U17qh/Smq8bYbACJ0ipBA==" + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.0.tgz", + "integrity": "sha512-Mh++g+2LPfzZToywfE1BUzvZbfOY52Nil0rn9H1CPC5DJ7fX+Vir7nToBeoiSbB1zTNeGYbELEvJESujgGrzXw==" }, "basic-auth": { "version": "2.0.1", @@ -26807,9 +26806,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001757", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001757.tgz", - "integrity": "sha512-r0nnL/I28Zi/yjk1el6ilj27tKcdjLsNqAOZr0yVjWPrSQyHgKI2INaEWw21bAQSv2LXRt1XuCS/GomNpWOxsQ==" + "version": "1.0.30001759", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001759.tgz", + "integrity": "sha512-Pzfx9fOKoKvevQf8oCXoyNRQ5QyxJj+3O0Rqx2V5oxT61KGx8+n6hV/IUyJeifUci2clnmmKVpvtiqRzgiWjSw==" }, "chai": { "version": "4.4.1", diff --git a/package.json b/package.json index a257e58c0cf..110573644c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.19.0-pre", + "version": "10.19.0", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From d459ef865f73e92abc87a584fadf54f1cefd9e72 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Wed, 3 Dec 2025 16:39:28 +0000 Subject: [PATCH 045/248] Increment version to 10.20.0-pre --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7fdf9521f14..189b7534837 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.19.0", + "version": "10.20.0-pre", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.19.0", + "version": "10.20.0-pre", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", diff --git a/package.json b/package.json index 110573644c3..fb6e641ee25 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.19.0", + "version": "10.20.0-pre", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From 81313d449248af81a9f1352c133ce1694572bab4 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Wed, 3 Dec 2025 14:01:37 -0500 Subject: [PATCH 046/248] Various adapters: Centralize timezone retrieval (#14193) * Centralize timezone retrieval * Core: move timezone helper to libraries * Update screencoreBidAdapter.js * remove unused file; move library to a library * remove unnecessary checks and suspiciuos fallbacks * more suspicious fallbacks --------- Co-authored-by: Demetrio Girardi --- libraries/precisoUtils/bidUtils.js | 3 ++- libraries/smartyadsUtils/getAdUrlByRegion.js | 25 +++++++++----------- libraries/timezone/timezone.js | 3 +++ modules/adipoloBidAdapter.js | 4 ++-- modules/byDataAnalyticsAdapter.js | 3 ++- modules/escalaxBidAdapter.js | 4 ++-- modules/eskimiBidAdapter.js | 4 ++-- modules/gammaBidAdapter.js | 4 ++-- modules/screencoreBidAdapter.js | 4 ++-- 9 files changed, 28 insertions(+), 26 deletions(-) create mode 100644 libraries/timezone/timezone.js diff --git a/libraries/precisoUtils/bidUtils.js b/libraries/precisoUtils/bidUtils.js index 98ac87ad193..050f758601c 100644 --- a/libraries/precisoUtils/bidUtils.js +++ b/libraries/precisoUtils/bidUtils.js @@ -4,11 +4,12 @@ import { ajax } from '../../src/ajax.js'; // import { NATIVE } from '../../src/mediaTypes.js'; import { consentCheck, getBidFloor } from './bidUtilsCommon.js'; import { interpretNativeBid } from './bidNativeUtils.js'; +import { getTimeZone } from '../timezone/timezone.js'; export const buildRequests = (endpoint) => (validBidRequests = [], bidderRequest) => { validBidRequests = convertOrtbRequestToProprietaryNative(validBidRequests); logInfo('validBidRequests1 ::' + JSON.stringify(validBidRequests)); - var city = Intl.DateTimeFormat().resolvedOptions().timeZone; + const city = getTimeZone(); let req = { id: validBidRequests[0].auctionId, imp: validBidRequests.map(slot => mapImpression(slot, bidderRequest)), diff --git a/libraries/smartyadsUtils/getAdUrlByRegion.js b/libraries/smartyadsUtils/getAdUrlByRegion.js index cad9055f671..8465d3e1584 100644 --- a/libraries/smartyadsUtils/getAdUrlByRegion.js +++ b/libraries/smartyadsUtils/getAdUrlByRegion.js @@ -1,3 +1,5 @@ +import { getTimeZone } from '../timezone/timezone.js'; + const adUrls = { US_EAST: 'https://n1.smartyads.com/?c=o&m=prebid&secret_key=prebid_js', EU: 'https://n2.smartyads.com/?c=o&m=prebid&secret_key=prebid_js', @@ -10,21 +12,16 @@ export function getAdUrlByRegion(bid) { if (bid.params.region && adUrls[bid.params.region]) { adUrl = adUrls[bid.params.region]; } else { - try { - const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone; - const region = timezone.split('/')[0]; + const region = getTimeZone().split('/')[0]; - switch (region) { - case 'Europe': - adUrl = adUrls['EU']; - break; - case 'Asia': - adUrl = adUrls['SGP']; - break; - default: adUrl = adUrls['US_EAST']; - } - } catch (err) { - adUrl = adUrls['US_EAST']; + switch (region) { + case 'Europe': + adUrl = adUrls['EU']; + break; + case 'Asia': + adUrl = adUrls['SGP']; + break; + default: adUrl = adUrls['US_EAST']; } } diff --git a/libraries/timezone/timezone.js b/libraries/timezone/timezone.js new file mode 100644 index 00000000000..e4ef39f28ef --- /dev/null +++ b/libraries/timezone/timezone.js @@ -0,0 +1,3 @@ +export function getTimeZone() { + return Intl.DateTimeFormat().resolvedOptions().timeZone; +} diff --git a/modules/adipoloBidAdapter.js b/modules/adipoloBidAdapter.js index ace9fc42c86..51c2a97a1f0 100644 --- a/modules/adipoloBidAdapter.js +++ b/modules/adipoloBidAdapter.js @@ -1,6 +1,7 @@ import {BANNER, VIDEO} from '../src/mediaTypes.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; import {buildRequests, getUserSyncs, interpretResponse, isBidRequestValid} from '../libraries/xeUtils/bidderUtils.js'; +import { getTimeZone } from '../libraries/timezone/timezone.js'; const BIDDER_CODE = 'adipolo'; const GVL_ID = 1456; @@ -12,8 +13,7 @@ function getSubdomain() { }; try { - const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone; - const region = timezone.split('/')[0]; + const region = getTimeZone().split('/')[0]; return regionMap[region] || regionMap.America; } catch (err) { return regionMap.America; diff --git a/modules/byDataAnalyticsAdapter.js b/modules/byDataAnalyticsAdapter.js index ddc1112796d..265dcf2115b 100644 --- a/modules/byDataAnalyticsAdapter.js +++ b/modules/byDataAnalyticsAdapter.js @@ -11,6 +11,7 @@ import { ajax } from '../src/ajax.js'; import {MODULE_TYPE_ANALYTICS} from '../src/activities/modules.js'; import { getViewportSize } from '../libraries/viewport/viewport.js'; import { getOsBrowserInfo } from '../libraries/userAgentUtils/detailed.js'; +import { getTimeZone } from '../libraries/timezone/timezone.js'; const versionCode = '4.4.1' const secretKey = 'bydata@123456' @@ -234,7 +235,7 @@ ascAdapter.getVisitorData = function (data = {}) { ua["brv"] = info.browser.version; ua['ss'] = screenSize; ua['de'] = deviceType; - ua['tz'] = window.Intl.DateTimeFormat().resolvedOptions().timeZone; + ua['tz'] = getTimeZone(); } var signedToken = getJWToken(ua); payload['visitor_data'] = signedToken; diff --git a/modules/escalaxBidAdapter.js b/modules/escalaxBidAdapter.js index 027e41d7c56..cf8997105b5 100644 --- a/modules/escalaxBidAdapter.js +++ b/modules/escalaxBidAdapter.js @@ -2,6 +2,7 @@ import { ortbConverter } from '../libraries/ortbConverter/converter.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; import { config } from '../src/config.js'; import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; +import { getTimeZone } from '../libraries/timezone/timezone.js'; const BIDDER_CODE = 'escalax'; const ESCALAX_SOURCE_ID_MACRO = '[sourceId]'; @@ -52,8 +53,7 @@ function getSubdomain() { }; try { - const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone; - const region = timezone.split('/')[0]; + const region = getTimeZone().split('/')[0]; return regionMap[region] || 'bidder_us'; } catch (err) { return 'bidder_us'; diff --git a/modules/eskimiBidAdapter.js b/modules/eskimiBidAdapter.js index 56079a0a652..b345bf3b9af 100644 --- a/modules/eskimiBidAdapter.js +++ b/modules/eskimiBidAdapter.js @@ -3,6 +3,7 @@ import {registerBidder} from '../src/adapters/bidderFactory.js'; import {BANNER, VIDEO} from '../src/mediaTypes.js'; import * as utils from '../src/utils.js'; import {getBidIdParameter, logInfo, mergeDeep} from '../src/utils.js'; +import { getTimeZone } from '../libraries/timezone/timezone.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -303,8 +304,7 @@ function getUserSyncUrlByRegion() { */ function getRegionSubdomainSuffix() { try { - const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone; - const region = timezone.split('/')[0]; + const region = getTimeZone().split('/')[0]; switch (region) { case 'Europe': diff --git a/modules/gammaBidAdapter.js b/modules/gammaBidAdapter.js index 640a871e654..a260dfa6ed7 100644 --- a/modules/gammaBidAdapter.js +++ b/modules/gammaBidAdapter.js @@ -1,3 +1,4 @@ +import { getTimeZone } from '../libraries/timezone/timezone.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; /** @@ -81,8 +82,7 @@ function getAdUrlByRegion(bid) { ENDPOINT = ENDPOINTS[bid.params.region]; } else { try { - const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone; - const region = timezone.split('/')[0]; + const region = getTimeZone().split('/')[0]; switch (region) { case 'Europe': diff --git a/modules/screencoreBidAdapter.js b/modules/screencoreBidAdapter.js index 22f71cf1379..ccf59b28ce7 100644 --- a/modules/screencoreBidAdapter.js +++ b/modules/screencoreBidAdapter.js @@ -7,6 +7,7 @@ import { getUserSyncs, buildPlacementProcessingFunction } from '../libraries/teqblazeUtils/bidderUtils.js'; +import { getTimeZone } from '../libraries/timezone/timezone.js'; const BIDDER_CODE = 'screencore'; const GVLID = 1473; @@ -24,8 +25,7 @@ const REGION_SUBDOMAIN_SUFFIX = { */ function getRegionSubdomainSuffix() { try { - const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone; - const region = timezone.split('/')[0]; + const region = getTimeZone().split('/')[0]; switch (region) { case 'Asia': From b5d0701109cd963df17df9d75dc907c643aad929 Mon Sep 17 00:00:00 2001 From: mosherBT <115997271+mosherBT@users.noreply.github.com> Date: Wed, 3 Dec 2025 17:14:45 -0500 Subject: [PATCH 047/248] Optable RTD Module: Support multiple instances on page (#14228) * multi instance support * no throw * tests --- modules/optableRtdProvider.js | 29 +++++++++++---- modules/optableRtdProvider.md | 16 ++++---- test/spec/modules/optableRtdProvider_spec.js | 39 ++++++++++++++------ 3 files changed, 58 insertions(+), 26 deletions(-) diff --git a/modules/optableRtdProvider.js b/modules/optableRtdProvider.js index f142a5a7634..29638ba3a94 100644 --- a/modules/optableRtdProvider.js +++ b/modules/optableRtdProvider.js @@ -17,6 +17,7 @@ export const parseConfig = (moduleConfig) => { let bundleUrl = deepAccess(moduleConfig, 'params.bundleUrl', null); const adserverTargeting = deepAccess(moduleConfig, 'params.adserverTargeting', true); const handleRtd = deepAccess(moduleConfig, 'params.handleRtd', null); + const instance = deepAccess(moduleConfig, 'params.instance', null); // If present, trim the bundle URL if (typeof bundleUrl === 'string') { @@ -25,16 +26,20 @@ export const parseConfig = (moduleConfig) => { // Verify that bundleUrl is a valid URL: only secure (HTTPS) URLs are allowed if (typeof bundleUrl === 'string' && bundleUrl.length && !bundleUrl.startsWith('https://')) { - throw new Error( - LOG_PREFIX + ' Invalid URL format for bundleUrl in moduleConfig. Only HTTPS URLs are allowed.' - ); + logError('Invalid URL format for bundleUrl in moduleConfig. Only HTTPS URLs are allowed.'); + return {bundleUrl: null, adserverTargeting, handleRtd: null}; } if (handleRtd && typeof handleRtd !== 'function') { - throw new Error(LOG_PREFIX + ' handleRtd must be a function'); + logError('handleRtd must be a function'); + return {bundleUrl, adserverTargeting, handleRtd: null}; } - return {bundleUrl, adserverTargeting, handleRtd}; + const result = {bundleUrl, adserverTargeting, handleRtd}; + if (instance !== null) { + result.instance = instance; + } + return result; } /** @@ -156,8 +161,8 @@ export const getBidRequestData = (reqBidsConfigObj, callback, moduleConfig, user * @returns {Object} Targeting data */ export const getTargetingData = (adUnits, moduleConfig, userConsent, auction) => { - // Extract `adserverTargeting` from the module configuration - const {adserverTargeting} = parseConfig(moduleConfig); + // Extract `adserverTargeting` and `instance` from the module configuration + const {adserverTargeting, instance} = parseConfig(moduleConfig); logMessage('Ad Server targeting: ', adserverTargeting); if (!adserverTargeting) { @@ -166,9 +171,17 @@ export const getTargetingData = (adUnits, moduleConfig, userConsent, auction) => } const targetingData = {}; + // Resolve the SDK instance object based on the instance string + // Default to 'instance' if not provided + const instanceKey = instance || 'instance'; + const sdkInstance = window?.optable?.[instanceKey]; + if (!sdkInstance) { + logWarn(`No Optable SDK instance found for: ${instanceKey}`); + return targetingData; + } // Get the Optable targeting data from the cache - const optableTargetingData = window?.optable?.instance?.targetingKeyValuesFromCache() || {}; + const optableTargetingData = sdkInstance?.targetingKeyValuesFromCache?.() || targetingData; // If no Optable targeting data is found, return an empty object if (!Object.keys(optableTargetingData).length) { diff --git a/modules/optableRtdProvider.md b/modules/optableRtdProvider.md index 45fc7d589d7..4ac0d4541f4 100644 --- a/modules/optableRtdProvider.md +++ b/modules/optableRtdProvider.md @@ -46,7 +46,8 @@ pbjs.setConfig({ { name: 'optable', params: { - adserverTargeting: '', + adserverTargeting: true, // optional, true by default, set to true to also set GAM targeting keywords to ad slots + instance: window.optable.rtd.instance, // optional, defaults to window.optable.rtd.instance if not specified }, }, ], @@ -56,12 +57,13 @@ pbjs.setConfig({ ### Parameters -| Name | Type | Description | Default | Notes | -|--------------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------|----------| -| name | String | Real time data module name | Always `optable` | | -| params | Object | | | | -| params.adserverTargeting | Boolean | If set to `true`, targeting keywords will be passed to the ad server upon auction completion | `true` | Optional | -| params.handleRtd | Function | An optional function that uses Optable data to enrich `reqBidsConfigObj` with the real-time data. If not provided, the module will do a default call to Optable bundle. The function signature is `[async] (reqBidsConfigObj, optableExtraData, mergeFn) => {}` | `null` | Optional | +| Name | Type | Description | Default | Notes | +|--------------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------|----------| +| name | String | Real time data module name | Always `optable` | | +| params | Object | | | | +| params.adserverTargeting | Boolean | If set to `true`, targeting keywords will be passed to the ad server upon auction completion | `true` | Optional | +| params.instance | Object | Optable SDK instance to use for targeting data. | `window.optable.rtd.instance` | Optional | +| params.handleRtd | Function | An optional function that uses Optable data to enrich `reqBidsConfigObj` with the real-time data. If not provided, the module will do a default call to Optable bundle. The function signature is `[async] (reqBidsConfigObj, optableExtraData, mergeFn) => {}` | `null` | Optional | ## Publisher Customized RTD Handler Function diff --git a/test/spec/modules/optableRtdProvider_spec.js b/test/spec/modules/optableRtdProvider_spec.js index 58c7992f58e..271d31d0185 100644 --- a/test/spec/modules/optableRtdProvider_spec.js +++ b/test/spec/modules/optableRtdProvider_spec.js @@ -29,15 +29,15 @@ describe('Optable RTD Submodule', function () { expect(parseConfig(config).bundleUrl).to.equal('https://cdn.optable.co/bundle.js'); }); - it('throws an error for invalid bundleUrl format', function () { - expect(() => parseConfig({params: {bundleUrl: 'invalidURL'}})).to.throw(); - expect(() => parseConfig({params: {bundleUrl: 'www.invalid.com'}})).to.throw(); + it('returns null bundleUrl for invalid bundleUrl format', function () { + expect(parseConfig({params: {bundleUrl: 'invalidURL'}}).bundleUrl).to.be.null; + expect(parseConfig({params: {bundleUrl: 'www.invalid.com'}}).bundleUrl).to.be.null; }); - it('throws an error for non-HTTPS bundleUrl', function () { - expect(() => parseConfig({params: {bundleUrl: 'http://cdn.optable.co/bundle.js'}})).to.throw(); - expect(() => parseConfig({params: {bundleUrl: '//cdn.optable.co/bundle.js'}})).to.throw(); - expect(() => parseConfig({params: {bundleUrl: '/bundle.js'}})).to.throw(); + it('returns null bundleUrl for non-HTTPS bundleUrl', function () { + expect(parseConfig({params: {bundleUrl: 'http://cdn.optable.co/bundle.js'}}).bundleUrl).to.be.null; + expect(parseConfig({params: {bundleUrl: '//cdn.optable.co/bundle.js'}}).bundleUrl).to.be.null; + expect(parseConfig({params: {bundleUrl: '/bundle.js'}}).bundleUrl).to.be.null; }); it('defaults adserverTargeting to true if missing', function () { @@ -46,8 +46,8 @@ describe('Optable RTD Submodule', function () { ).adserverTargeting).to.be.true; }); - it('throws an error if handleRtd is not a function', function () { - expect(() => parseConfig({params: {handleRtd: 'notAFunction'}})).to.throw(); + it('returns null handleRtd if handleRtd is not a function', function () { + expect(parseConfig({params: {handleRtd: 'notAFunction'}}).handleRtd).to.be.null; }); }); @@ -223,15 +223,32 @@ describe('Optable RTD Submodule', function () { it('getBidRequestData catches error and executes callback when something goes wrong', function (done) { moduleConfig.params.bundleUrl = null; moduleConfig.params.handleRtd = 'not a function'; + window.optable = { + cmd: [], + instance: { + targetingFromCache: sandbox.stub().returns(null) + } + }; getBidRequestData(reqBidsConfigObj, callback, moduleConfig, {}); - expect(window.optable.cmd.length).to.equal(0); + expect(window.optable.cmd.length).to.equal(1); + + // Dispatch event after a short delay + setTimeout(() => { + const event = new CustomEvent('optable-targeting:change', { + detail: {ortb2: {user: {ext: {optable: 'testData'}}}} + }); + window.dispatchEvent(event); + }, 10); + + // Execute the queued command + window.optable.cmd[0](); setTimeout(() => { expect(callback.calledOnce).to.be.true; done(); - }, 50); + }, 100); }); it("doesn't fail when optable is not available", function (done) { From 8d139bf5fe6fbf088f1f9f2616d229d96ad35835 Mon Sep 17 00:00:00 2001 From: adquery <89853721+adquery@users.noreply.github.com> Date: Thu, 4 Dec 2025 12:40:32 +0100 Subject: [PATCH 048/248] Adquery Bid Adapter: added video outstreamsupport (#14166) * added referrer to bid request * added referrer to bid request - tests * adquery/prebid_qid_work7_video_1 * adquery/prebid_qid_work7_video_1 * adquery/prebid_qid_work7_video_1 * adquery/prebid_qid_work7_video_1 * adquery/prebid_qid_work7_video_1 * adquery/prebid_qid_work7_video_1 * adquery/prebid_qid_work7_video_1 * adquery/prebid_qid_work7_video_1 --------- Co-authored-by: Demetrio Girardi --- modules/adqueryBidAdapter.js | 131 ++- test/spec/modules/adqueryBidAdapter_spec.js | 902 +++++++++++++++++++- 2 files changed, 1000 insertions(+), 33 deletions(-) diff --git a/modules/adqueryBidAdapter.js b/modules/adqueryBidAdapter.js index b0770d3e45e..36a7eee206c 100644 --- a/modules/adqueryBidAdapter.js +++ b/modules/adqueryBidAdapter.js @@ -1,6 +1,13 @@ import {registerBidder} from '../src/adapters/bidderFactory.js'; -import {BANNER} from '../src/mediaTypes.js'; -import {buildUrl, logInfo, logMessage, parseSizesInput, triggerPixel} from '../src/utils.js'; +import {BANNER, VIDEO} from '../src/mediaTypes.js'; +import { + buildUrl, + logInfo, + logMessage, + parseSizesInput, + triggerPixel, + deepSetValue +} from '../src/utils.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -25,13 +32,18 @@ const ADQUERY_TTL = 360; export const spec = { code: ADQUERY_BIDDER_CODE, gvlid: ADQUERY_GVLID, - supportedMediaTypes: [BANNER], + supportedMediaTypes: [BANNER, VIDEO], /** * @param {object} bid * @return {boolean} */ isBidRequestValid: (bid) => { + const video = bid.mediaTypes && bid.mediaTypes.video; + if (video) { + return !!(video.playerSize && video.context === 'outstream');// Focus on outstream + } + return !!(bid && bid.params && bid.params.placementId && bid.mediaTypes.banner.sizes) }, @@ -47,19 +59,33 @@ export const spec = { protocol: ADQUERY_BIDDER_DOMAIN_PROTOCOL, hostname: ADQUERY_BIDDER_DOMAIN, pathname: '/prebid/bid', - // search: params }); for (let i = 0, len = bidRequests.length; i < len; i++) { + const bid = bidRequests[i]; + const isVideo = bid.mediaTypes && bid.mediaTypes.video && bid.mediaTypes.video.context === 'outstream'; + + let requestUrl = adqueryRequestUrl; + + if (isVideo) { + requestUrl = buildUrl({ + protocol: ADQUERY_BIDDER_DOMAIN_PROTOCOL, + hostname: ADQUERY_BIDDER_DOMAIN, + pathname: '/openrtb2/auction2', + }); + } + const request = { method: 'POST', - url: adqueryRequestUrl, // ADQUERY_BIDDER_DOMAIN_PROTOCOL + '://' + ADQUERY_BIDDER_DOMAIN + '/prebid/bid', - data: buildRequest(bidRequests[i], bidderRequest), + url: requestUrl, + data: buildRequest(bid, bidderRequest, isVideo), options: { withCredentials: false, crossOrigin: true - } + }, + bidId: bid.bidId }; + requests.push(request); } return requests; @@ -71,14 +97,47 @@ export const spec = { * @return {Bid[]} */ interpretResponse: (response, request) => { - logMessage(request); - logMessage(response); + const bidResponses = []; + + if (response?.body?.seatbid) { + response.body.seatbid.forEach(seat => { + seat.bid.forEach(bid => { + logMessage('bidObj', bid); + + const bidResponse = { + requestId: bid.impid, + mediaType: 'video', + cpm: bid.price, + currency: response.body.cur || 'USD', + ttl: 3600, // video żyje dłużej + creativeId: bid.crid || bid.id, + netRevenue: true, + dealId: bid.dealid || undefined, + nurl: bid.nurl || undefined, + + // VAST – priority: inline XML > admurl > nurl as a wrapper + vastXml: bid.adm || null, + vastUrl: bid.admurl || null, + + width: bid.w || 640, + height: bid.h || 360, + + meta: { + advertiserDomains: bid.adomain && bid.adomain.length ? bid.adomain : [], + networkName: seat.seat || undefined, + mediaType: 'video' + } + }; + + bidResponses.push(bidResponse); + }); + }); + } const res = response && response.body && response.body.data; - const bidResponses = []; if (!res) { - return []; + return bidResponses; } const bidResponse = { @@ -134,6 +193,12 @@ export const spec = { */ onBidWon: (bid) => { logInfo('onBidWon', bid); + + if (bid.nurl) { + triggerPixel(bid.nurl) + return + } + const copyOfBid = { ...bid } delete copyOfBid.ad const shortBidString = JSON.stringify(copyOfBid); @@ -222,10 +287,7 @@ export const spec = { } }; -function buildRequest(validBidRequests, bidderRequest) { - const bid = validBidRequests; - logInfo('buildRequest: ', bid); - +function buildRequest(bid, bidderRequest, isVideo = false) { let userId = null; if (window.qid) { userId = window.qid; @@ -235,6 +297,10 @@ function buildRequest(validBidRequests, bidderRequest) { userId = bid.userId.qid } + if (!userId) { + userId = bid.ortb2?.user.ext.eids.find(eid => eid.source === "adquery.io")?.uids[0]?.id; + } + if (!userId) { // onetime User ID const ramdomValues = Array.from(window.crypto.getRandomValues(new Uint32Array(4))); @@ -248,6 +314,41 @@ function buildRequest(validBidRequests, bidderRequest) { pageUrl = bidderRequest.refererInfo.page || ''; } + if (isVideo) { + let baseRequest = bid.ortb2 + let videoRequest = { + ...baseRequest, + imp: [{ + id: bid.bidId, + video: bid.ortb2Imp?.video || {}, + }] + } + + deepSetValue(videoRequest, 'site.ext.bidder', bid.params); + videoRequest.id = bid.bidId + + let currency = bid?.ortb2?.ext?.prebid?.adServerCurrency || "PLN"; + videoRequest.cur = [ currency ] + + let floorInfo; + if (typeof bid.getFloor === 'function') { + floorInfo = bid.getFloor({ + currency: currency, + mediaType: "video", + size: "*" + }); + } + const bidfloor = floorInfo?.floor; + const bidfloorcur = floorInfo?.currency; + + if (bidfloor && bidfloorcur) { + videoRequest.imp[0].video.bidfloor = bidfloor + videoRequest.imp[0].video.bidfloorcur = bidfloorcur + } + + return videoRequest + } + return { v: '$prebid.version$', placementCode: bid.params.placementId, diff --git a/test/spec/modules/adqueryBidAdapter_spec.js b/test/spec/modules/adqueryBidAdapter_spec.js index fef5b65c4fc..e101eaabdb2 100644 --- a/test/spec/modules/adqueryBidAdapter_spec.js +++ b/test/spec/modules/adqueryBidAdapter_spec.js @@ -74,18 +74,364 @@ describe('adqueryBidAdapter', function () { it('should return false when sizes for banner are not specified', () => { const bid = utils.deepClone(bidRequest); delete bid.mediaTypes.banner.sizes; - expect(spec.isBidRequestValid(bid)).to.equal(false); }); + + it('should return false when sizes for video are not specified', () => { + expect(spec.isBidRequestValid( + { + "bidder": "adquery", + "params": { + "placementId": "d30f79cf7fef47bd7a5611719f936539bec0d2e9", + "test": true, + }, + "ortb2Imp": { + "video": { + "mimes": [ + "video/mp4", + "video/webm" + ], + "startdelay": 0, + "protocols": [ + 2, + 3, + 5, + 6, + 7, + 8 + ], + "w": 640, + "h": 360, + "plcmt": 4, + "skip": 1, + "api": [ + 2 + ] + }, + "ext": {} + }, + "renderer": { + "url": "https://cdn.jsdelivr.net/npm/in-renderer-js@1/dist/in-renderer.umd.min.js" + }, + "mediaTypes": { + "video": { + "context": "outstream", + "playerSRAYERSize": [ + [ + 640, + 360 + ] + ], + "mimes": [ + "video/mp4", + "video/webm" + ], + "protocols": [ + 2, + 3, + 5, + 6, + 7, + 8 + ], + "api": [ + 2 + ], + "startdelay": 0, + "skip": 1, + "plcmt": 4, + "w": 640, + "h": 360 + } + }, + "adUnitCode": "video-placement-1", + "transactionId": null, + "adUnitId": "40393f1b-b89a-4539-a44d-f62a854ced7e", + "sizes": [ + [ + 640, + 360 + ] + ], + "bidId": "919f45d2-b2cb-4d4d-a851-0f464612d1bf", + "bidderRequestId": "7d740e98-136d-4eab-92ee-c61934d2f6a3", + "auctionId": null, + "src": "client", + "metrics": { + "userId.init.consent": [ + 0 + ], + "userId.mod.init": [ + 0.699999988079071 + ], + "userId.mods.qid.init": [ + 0.699999988079071 + ], + "userId.init.modules": [ + 2.5 + ], + "userId.callbacks.pending": [ + 0 + ], + "userId.total": [ + 11.699999988079071 + ], + "requestBids.userId": 0.3999999761581421, + "requestBids.validate": 0.800000011920929, + "requestBids.makeRequests": 4.5, + "adapter.client.validate": 2.600000023841858, + "adapters.client.adquery.validate": 2.600000023841858 + }, + "auctionsCount": 1, + "bidRequestsCount": 1, + "bidderRequestsCount": 1, + "bidderWinsCount": 0, + "deferBilling": false, + "ortb2": { + "site": { + "domain": "devad.adquery.io", + "publisher": { + "domain": "adquery.io" + }, + "page": "https://devad.adquery.io/prod_pbjs_10.15/index.html", + "ext": { + "data": { + "documentLang": "en" + } + }, + "content": { + "language": "en" + } + }, + "device": { + "w": 1920, + "h": 1080, + "dnt": 0, + "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36", + "language": "en", + "ext": { + "vpw": 932, + "vph": 951 + }, + "sua": { + "source": 1, + "platform": { + "brand": "Linux" + }, + "browsers": [ + { + "brand": "Chromium", + "version": [ + "142" + ] + }, + { + "brand": "Google Chrome", + "version": [ + "142" + ] + }, + { + "brand": "Not_A Brand", + "version": [ + "99" + ] + } + ], + "mobile": 0 + } + }, + "user": { + "ext": { + "eids": [ + { + "source": "adquery.io", + "uids": [ + { + "id": "qd_6bflp6cos2ynv7jozdlva9vck3dcy", + "atype": 1 + } + ] + } + ] + } + }, + "source": { + "ext": {} + } + } + } + )).to.equal(false); + }); + it('should return false when sizes for video are specified', () => { + expect(spec.isBidRequestValid( + { + "bidder": "adquery", + "params": { + "placementId": "d30f79cf7fef47bd7a5611719f936539bec0d2e9", + "test": true, + }, + "mediaTypes": { + "video": { + "context": "outstream", + "playerSize": [ + [ + 640, + 360 + ] + ], + "mimes": [ + "video/mp4", + "video/webm" + ], + "protocols": [ + 2, + 3, + 5, + 6, + 7, + 8 + ], + "api": [ + 2 + ], + "startdelay": 0, + "skip": 1, + "plcmt": 4, + "w": 640, + "h": 360 + } + }, + "adUnitCode": "video-placement-1", + "transactionId": null, + "adUnitId": "40393f1b-b89a-4539-a44d-f62a854ced7e", + "sizes": [ + [ + 640, + 360 + ] + ], + "bidId": "919f45d2-b2cb-4d4d-a851-0f464612d1bf", + "bidderRequestId": "7d740e98-136d-4eab-92ee-c61934d2f6a3", + "auctionId": null, + "src": "client", + } + )).to.equal(true); + }); + it('should return false when context for video is correct', () => { + expect(spec.isBidRequestValid( + { + "bidder": "adquery", + "params": { + "placementId": "d30f79cf7fef47bd7a5611719f936539bec0d2e9", + "test": true, + }, + "mediaTypes": { + "video": { + "context": "outstream", + "playerSize": [ + [ + 640, + 360 + ] + ], + "mimes": [ + "video/mp4", + "video/webm" + ], + "protocols": [ + 2, + 3, + 5, + 6, + 7, + 8 + ], + "api": [ + 2 + ], + "startdelay": 0, + "skip": 1, + "plcmt": 4, + "w": 640, + "h": 360 + } + }, + "adUnitCode": "video-placement-1", + "transactionId": null, + "adUnitId": "40393f1b-b89a-4539-a44d-f62a854ced7e", + "sizes": [ + [ + 640, + 360 + ] + ], + "bidId": "919f45d2-b2cb-4d4d-a851-0f464612d1bf", + "bidderRequestId": "7d740e98-136d-4eab-92ee-c61934d2f6a3", + "auctionId": null, + "src": "client", + } + )).to.equal(true); + }); + it('should return false when context for video is NOT correct', () => { + expect(spec.isBidRequestValid( + { + "bidder": "adquery", + "params": { + "placementId": "d30f79cf7fef47bd7a5611719f936539bec0d2e9", + "test": true, + }, + "mediaTypes": { + "video": { + "context": "instream", + "playerSize": [ + [ + 640, + 360 + ] + ], + "mimes": [ + "video/mp4", + "video/webm" + ], + "protocols": [ + 2, + 3, + 5, + 6, + 7, + 8 + ], + "api": [ + 2 + ], + "startdelay": 0, + "skip": 1, + "plcmt": 4, + "w": 640, + "h": 360 + } + }, + "adUnitCode": "video-placement-1", + "transactionId": null, + "adUnitId": "40393f1b-b89a-4539-a44d-f62a854ced7e", + "sizes": [ + [ + 640, + 360 + ] + ], + "bidId": "919f45d2-b2cb-4d4d-a851-0f464612d1bf", + "bidderRequestId": "7d740e98-136d-4eab-92ee-c61934d2f6a3", + "auctionId": null, + "src": "client", + } + )).to.equal(false); + }); }) describe('buildRequests', function () { - let req; - beforeEach(() => { - req = spec.buildRequests([ bidRequest ], { refererInfo: { } })[0] - }) - - let rdata + const req = spec.buildRequests([ bidRequest ], { refererInfo: { } })[0] it('should return request object', function () { expect(req).to.not.be.null @@ -96,41 +442,493 @@ describe('adqueryBidAdapter', function () { }) it('should include one request', function () { - rdata = req.data; - expect(rdata.data).to.not.be.null + expect(req.data.data).to.not.be.null }) it('should include placementCode', function () { - expect(rdata.placementCode).not.be.null + expect(req.data.placementCode).not.be.null }) it('should include qid', function () { - expect(rdata.qid).not.be.null + expect(req.data.qid).not.be.null }) it('should include type', function () { - expect(rdata.type !== null).not.be.null + expect(req.data.type !== null).not.be.null }) it('should include all publisher params', function () { - expect(rdata.type !== null && rdata.placementCode !== null).to.be.true + expect(req.data.type !== null && req.data.placementCode !== null).to.be.true }) it('should include bidder', function () { - expect(rdata.bidder !== null).to.be.true + expect(req.data.bidder !== null).to.be.true }) it('should include sizes', function () { - expect(rdata.sizes).not.be.null + expect(req.data.sizes).not.be.null }) it('should include version', function () { - expect(rdata.v).not.be.null - expect(rdata.v).equal('$prebid.version$') + expect(req.data.v).not.be.null + expect(req.data.v).equal('$prebid.version$') }) it('should include referrer', function () { - expect(rdata.bidPageUrl).not.be.null + expect(req.data.bidPageUrl).not.be.null + }) + + const req_video = spec.buildRequests([ + { + "bidder": "adquery", + "params": { + "placementId": "d30f79cf7fef47bd7a5611719f936539bec0d2e9", + "test": true, + }, + "ortb2Imp": { + "video": { + "mimes": [ + "video/mp4", + "video/webm" + ], + "startdelay": 0, + "protocols": [ + 2, + 3, + 5, + 6, + 7, + 8 + ], + "w": 640, + "h": 360, + "plcmt": 4, + "skip": 1, + "api": [ + 2 + ] + }, + "ext": {} + }, + "renderer": { + "url": "https://cdn.jsdelivr.net/npm/in-renderer-js@1/dist/in-renderer.umd.min.js" + }, + "mediaTypes": { + "video": { + "context": "outstream", + "playerSize": [ + [ + 640, + 360 + ] + ], + "mimes": [ + "video/mp4", + "video/webm" + ], + "protocols": [ + 2, + 3, + 5, + 6, + 7, + 8 + ], + "api": [ + 2 + ], + "startdelay": 0, + "skip": 1, + "plcmt": 4, + "w": 640, + "h": 360 + } + }, + "adUnitCode": "video-placement-1", + "transactionId": null, + "adUnitId": "40393f1b-b89a-4539-a44d-f62a854ced7e", + "sizes": [ + [ + 640, + 360 + ] + ], + "bidId": "919f45d2-b2cb-4d4d-a851-0f464612d1bf", + "bidderRequestId": "7d740e98-136d-4eab-92ee-c61934d2f6a3", + "auctionId": null, + "src": "client", + "metrics": { + "userId.init.consent": [ + 0 + ], + "userId.mod.init": [ + 0.699999988079071 + ], + "userId.mods.qid.init": [ + 0.699999988079071 + ], + "userId.init.modules": [ + 2.5 + ], + "userId.callbacks.pending": [ + 0 + ], + "userId.total": [ + 11.699999988079071 + ], + "requestBids.userId": 0.3999999761581421, + "requestBids.validate": 0.800000011920929, + "requestBids.makeRequests": 4.5, + "adapter.client.validate": 2.600000023841858, + "adapters.client.adquery.validate": 2.600000023841858 + }, + "auctionsCount": 1, + "bidRequestsCount": 1, + "bidderRequestsCount": 1, + "bidderWinsCount": 0, + "deferBilling": false, + "ortb2": { + "site": { + "domain": "devad.adquery.io", + "publisher": { + "domain": "adquery.io" + }, + "page": "https://devad.adquery.io/prod_pbjs_10.15/index.html", + "ext": { + "data": { + "documentLang": "en" + }, + "bidder": { + "placementId": "d30f79cf7fef47bd7a5611719f936539bec0d2e9", + "test": true + } + }, + "content": { + "language": "en" + } + }, + "device": { + "w": 1920, + "h": 1080, + "dnt": 0, + "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36", + "language": "en", + "ext": { + "vpw": 932, + "vph": 951 + }, + "sua": { + "source": 1, + "platform": { + "brand": "Linux" + }, + "browsers": [ + { + "brand": "Chromium", + "version": [ + "142" + ] + }, + { + "brand": "Google Chrome", + "version": [ + "142" + ] + }, + { + "brand": "Not_A Brand", + "version": [ + "99" + ] + } + ], + "mobile": 0 + } + }, + "user": { + "ext": { + "eids": [ + { + "source": "adquery.io", + "uids": [ + { + "id": "qd_6bflp6cos2ynv7jozdlva9vck3dcy", + "atype": 1 + } + ] + } + ] + } + }, + "source": { + "ext": {} + } + } + } + ], {refererInfo: {}})[0] + + it('should include video', function () { + expect(req_video.data.bidPageUrl).not.be.null + }) + + it('url must be auction2', function () { + expect(req_video.url).eq('https://bidder.adquery.io/openrtb2/auction2') + }) + + it('data must have id key', function () { + expect(req_video.data.id).not.be.null; + }) + + it('data must have cur key', function () { + expect(req_video.data.cur).not.be.null; + }) + + it('data must have video key', function () { + expect(req_video.data.imp[0].video).not.be.null; + }) + + it('data must have video h property', function () { + expect(req_video.data.imp[0].video.h).not.be.null; + }) + + it('data must have video w property', function () { + expect(req_video.data.imp[0].video.w).not.be.null; + }) + + it('data must have video protocols property', function () { + expect(req_video.data.imp[0].video.protocols).not.be.null; + }) + + it('data must have video mimes property', function () { + expect(req_video.data.imp[0].video.mimes).not.be.null; + }) + + it('data must have video bidfloor property', function () { + expect(req_video.data.imp[0].video.bidfloor).not.exist; + }) + + it('data must have video bidfloorcur property', function () { + expect(req_video.data.imp[0].video.bidfloorcur).not.exist; + }) + + it('data must have bidder placementCode', function () { + expect(req_video.data.site.ext.bidder.placementId).eq('d30f79cf7fef47bd7a5611719f936539bec0d2e9'); + }) + + it('data must have user key', function () { + expect(req_video.data.user).not.be.null; + }) + + it('data must have device.ua key', function () { + expect(req_video.data.device.ua).not.be.null; + }) + + it('data must have site.page key', function () { + expect(req_video.data.site.page).not.be.null; + }) + + it('data must have site.domain key', function () { + expect(req_video.data.site.domain).not.be.null; + }) + + const req_video_for_floor = spec.buildRequests([ + { + "getFloor": function () { + return {currency: "USD", floor: 1.13}; + }, + "bidder": "adquery", + "params": { + "placementId": "d30f79cf7fef47bd7a5611719f936539bec0d2e9", + "test": true, + }, + "ortb2Imp": { + "video": { + "mimes": [ + "video/mp4", + "video/webm" + ], + "startdelay": 0, + "protocols": [ + 2, + 3, + 5, + 6, + 7, + 8 + ], + "w": 640, + "h": 360, + "plcmt": 4, + "skip": 1, + "api": [ + 2 + ] + }, + "ext": {} + }, + "renderer": { + "url": "https://cdn.jsdelivr.net/npm/in-renderer-js@1/dist/in-renderer.umd.min.js" + }, + "mediaTypes": { + "video": { + "context": "outstream", + "playerSize": [ + [ + 640, + 360 + ] + ], + "mimes": [ + "video/mp4", + "video/webm" + ], + "protocols": [ + 2, + 3, + 5, + 6, + 7, + 8 + ], + "api": [ + 2 + ], + "startdelay": 0, + "skip": 1, + "plcmt": 4, + "w": 640, + "h": 360 + } + }, + "adUnitCode": "video-placement-1", + "transactionId": null, + "adUnitId": "40393f1b-b89a-4539-a44d-f62a854ced7e", + "sizes": [ + [ + 640, + 360 + ] + ], + "bidId": "919f45d2-b2cb-4d4d-a851-0f464612d1bf", + "bidderRequestId": "7d740e98-136d-4eab-92ee-c61934d2f6a3", + "auctionId": null, + "src": "client", + "metrics": { + "userId.init.consent": [ + 0 + ], + "userId.mod.init": [ + 0.699999988079071 + ], + "userId.mods.qid.init": [ + 0.699999988079071 + ], + "userId.init.modules": [ + 2.5 + ], + "userId.callbacks.pending": [ + 0 + ], + "userId.total": [ + 11.699999988079071 + ], + "requestBids.userId": 0.3999999761581421, + "requestBids.validate": 0.800000011920929, + "requestBids.makeRequests": 4.5, + "adapter.client.validate": 2.600000023841858, + "adapters.client.adquery.validate": 2.600000023841858 + }, + "auctionsCount": 1, + "bidRequestsCount": 1, + "bidderRequestsCount": 1, + "bidderWinsCount": 0, + "deferBilling": false, + "ortb2": { + "site": { + "domain": "devad.adquery.io", + "publisher": { + "domain": "adquery.io" + }, + "page": "https://devad.adquery.io/prod_pbjs_10.15/index.html", + "ext": { + "data": { + "documentLang": "en" + }, + "bidder": { + "placementId": "d30f79cf7fef47bd7a5611719f936539bec0d2e9", + "test": true + } + }, + "content": { + "language": "en" + } + }, + "device": { + "w": 1920, + "h": 1080, + "dnt": 0, + "ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36", + "language": "en", + "ext": { + "vpw": 932, + "vph": 951 + }, + "sua": { + "source": 1, + "platform": { + "brand": "Linux" + }, + "browsers": [ + { + "brand": "Chromium", + "version": [ + "142" + ] + }, + { + "brand": "Google Chrome", + "version": [ + "142" + ] + }, + { + "brand": "Not_A Brand", + "version": [ + "99" + ] + } + ], + "mobile": 0 + } + }, + "user": { + "ext": { + "eids": [ + { + "source": "adquery.io", + "uids": [ + { + "id": "qd_6bflp6cos2ynv7jozdlva9vck3dcy", + "atype": 1 + } + ] + } + ] + } + }, + "source": { + "ext": {} + } + } + } + ], {refererInfo: {}})[0] + + it('data with floor must have video bidfloor property', function () { + expect(req_video_for_floor.data.imp[0].video.bidfloor).eq(1.13); + }) + + it('data with floor must have video bidfloorcur property', function () { + expect(req_video_for_floor.data.imp[0].video.bidfloorcur).eq("USD"); }) }) @@ -151,6 +949,69 @@ describe('adqueryBidAdapter', function () { const result = spec.interpretResponse(response); expect(result.length).to.equal(0); }) + + it('validate video response params, seatbid', function () { + const newResponse = spec.interpretResponse({ + "body": { + "id": "48169c9f-f033-48fa-878d-a319273e5c16", + "seatbid": [ + { + "bid": [ + { + "id": "48169c9f-f033-48fa-878d-a319273e5c15", + "impid": "48169c9f-f033-48fa-878d-a319273e5c15", + "price": 1.71, + "nurl": "https://bidder.adquery.io/openrtb2/uuid/nurl/d", + "adm": "\n<\/VAST>\n", + "ext": { + "origbidcpm": "6.84", + "origbidcur": "PLN" + } + } + ], + "seat": "adquery" + } + ], + "cur": "USD", + "ext": { + "test": "1" + } + } + }, bidRequest); + expect(newResponse[0].requestId).to.be.equal("48169c9f-f033-48fa-878d-a319273e5c15") + }); + + it('validate video response params, seatbid: nurl, vastXml', function () { + const newResponse = spec.interpretResponse({ + "body": { + "id": "48169c9f-f033-48fa-878d-a319273e5c16", + "seatbid": [ + { + "bid": [ + { + "id": "48169c9f-f033-48fa-878d-a319273e5c15", + "impid": "48169c9f-f033-48fa-878d-a319273e5c15", + "price": 1.71, + "nurl": "https://bidder.adquery.io/openrtb2/uuid/nurl/d", + "adm": "\n<\/VAST>\n", + "ext": { + "origbidcpm": "6.84", + "origbidcur": "PLN" + } + } + ], + "seat": "adquery" + } + ], + "cur": "USD", + "ext": { + "test": "1" + } + } + }, bidRequest); + expect(newResponse[0].nurl).to.be.equal("https://bidder.adquery.io/openrtb2/uuid/nurl/d") + expect(newResponse[0].vastXml).to.be.equal("\n<\/VAST>\n") + }); }) describe('getUserSyncs', function () { @@ -216,6 +1077,11 @@ describe('adqueryBidAdapter', function () { expect(response).to.be.an('undefined') expect(utils.triggerPixel.called).to.equal(true); }); + it('should use nurl if exists', function () { + var response = spec.onBidWon({nurl: "https://example.com/test-nurl"}); + expect(response).to.be.an('undefined') + expect(utils.triggerPixel.calledWith("https://example.com/test-nurl")).to.equal(true); + }); }) describe('onTimeout', function () { From 2a7e9b46dad587a2941716b935289082a729cc08 Mon Sep 17 00:00:00 2001 From: Siminko Vlad <85431371+siminkovladyslav@users.noreply.github.com> Date: Thu, 4 Dec 2025 16:25:57 +0100 Subject: [PATCH 049/248] OMS Bid Adapter: fix response for video (add vastXml), fix banner size in request (remove video size), update tests (#14201) --- modules/omsBidAdapter.js | 5 +++-- test/spec/modules/omsBidAdapter_spec.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/omsBidAdapter.js b/modules/omsBidAdapter.js index 68d93a123f7..fd7be06409e 100644 --- a/modules/omsBidAdapter.js +++ b/modules/omsBidAdapter.js @@ -38,7 +38,7 @@ export const spec = { function buildRequests(bidReqs, bidderRequest) { try { const impressions = bidReqs.map(bid => { - let bidSizes = bid?.mediaTypes?.banner?.sizes || bid?.mediaTypes?.video?.playerSize || bid.sizes; + let bidSizes = bid?.mediaTypes?.banner?.sizes || bid.sizes || []; bidSizes = ((isArray(bidSizes) && isArray(bidSizes[0])) ? bidSizes : [bidSizes]); bidSizes = bidSizes.filter(size => isArray(size)); const processedSizes = bidSizes.map(size => ({w: parseInt(size[0], 10), h: parseInt(size[1], 10)})); @@ -175,7 +175,6 @@ function interpretResponse(serverResponse) { creativeId: bid.crid || bid.id, currency: 'USD', netRevenue: true, - ad: _getAdMarkup(bid), ttl: 300, meta: { advertiserDomains: bid?.adomain || [] @@ -184,8 +183,10 @@ function interpretResponse(serverResponse) { if (bid.mtype === 2) { bidResponse.mediaType = VIDEO; + bidResponse.vastXml = bid.adm; } else { bidResponse.mediaType = BANNER; + bidResponse.ad = _getAdMarkup(bid); } return bidResponse; diff --git a/test/spec/modules/omsBidAdapter_spec.js b/test/spec/modules/omsBidAdapter_spec.js index 2c36465c66d..f1f7df46843 100644 --- a/test/spec/modules/omsBidAdapter_spec.js +++ b/test/spec/modules/omsBidAdapter_spec.js @@ -451,7 +451,7 @@ describe('omsBidAdapter', function () { 'currency': 'USD', 'netRevenue': true, 'mediaType': 'video', - 'ad': `
`, + 'vastXml': ``, 'ttl': 300, 'meta': { 'advertiserDomains': ['example.com'] From b218de6d4eafc7bb2d67919d171416187c469959 Mon Sep 17 00:00:00 2001 From: Alexandr Kim <47887567+alexandr-kim-vl@users.noreply.github.com> Date: Thu, 4 Dec 2025 20:28:05 +0500 Subject: [PATCH 050/248] fix tests path in CONTRIBUTING.md (#14235) --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 606d26cd25a..b7a797beeb4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -22,7 +22,7 @@ Prebid uses [Mocha](http://mochajs.org/) and [Chai](http://chaijs.com/) for unit provides mocks, stubs, and spies. [Karma](https://karma-runner.github.io/1.0/index.html) runs the tests and generates code coverage reports at `build/coverage/lcov/lcov-report/index.html`. -Tests are stored in the [test/spec](test/spec) directory. Tests for Adapters are located in [test/spec/adapters](test/spec/adapters). +Tests are stored in the [test/spec](test/spec) directory. Tests for Adapters are located in [test/spec/modules](test/spec/modules). They can be run with the following commands: - `gulp test` - run the test suite once (`npm test` is aliased to call `gulp test`) From 344444508109aa06fd36760d69d841d26d83edb2 Mon Sep 17 00:00:00 2001 From: talbotja Date: Thu, 4 Dec 2025 18:15:08 +0000 Subject: [PATCH 051/248] Add support for pairId to permutiveIdentityManagerIdSystem (#14237) --- modules/permutiveIdentityManagerIdSystem.js | 21 +++++++- test/spec/modules/permutiveCombined_spec.js | 53 ++++++++++++++++++++- 2 files changed, 71 insertions(+), 3 deletions(-) diff --git a/modules/permutiveIdentityManagerIdSystem.js b/modules/permutiveIdentityManagerIdSystem.js index a757869b0f0..cbd2a1b0d2b 100644 --- a/modules/permutiveIdentityManagerIdSystem.js +++ b/modules/permutiveIdentityManagerIdSystem.js @@ -17,8 +17,9 @@ const PERMUTIVE_ID_DATA_STORAGE_KEY = 'permutive-prebid-id' const ID5_DOMAIN = 'id5-sync.com' const LIVERAMP_DOMAIN = 'liveramp.com' const UID_DOMAIN = 'uidapi.com' +const GOOGLE_DOMAIN = 'google.com' -const PRIMARY_IDS = ['id5id', 'idl_env', 'uid2'] +const PRIMARY_IDS = ['id5id', 'idl_env', 'uid2', 'pairId'] export const storage = getStorageManager({moduleType: MODULE_TYPE_UID, moduleName: MODULE_NAME}) @@ -94,7 +95,19 @@ export const permutiveIdentityManagerIdSubmodule = { * @returns {(Object|undefined)} */ decode(value, config) { - return value + const storedPairId = value['pairId'] + let pairId + try { + if (storedPairId !== undefined) { + const decoded = safeJSONParse(atob(storedPairId)) + if (Array.isArray(decoded)) { + pairId = decoded + } + } + } catch (e) { + logger.logInfo('Error parsing pairId') + } + return pairId === undefined ? value : {...value, pairId} }, /** @@ -155,6 +168,10 @@ export const permutiveIdentityManagerIdSubmodule = { return data.ext } } + }, + 'pairId': { + source: GOOGLE_DOMAIN, + atype: 571187 } } } diff --git a/test/spec/modules/permutiveCombined_spec.js b/test/spec/modules/permutiveCombined_spec.js index dc25be6bf77..244558d8378 100644 --- a/test/spec/modules/permutiveCombined_spec.js +++ b/test/spec/modules/permutiveCombined_spec.js @@ -1030,7 +1030,7 @@ describe('permutiveIdentityManagerIdSystem', () => { }) describe('decode', () => { - it('returns the input unchanged', () => { + it('returns the input unchanged for most IDs', () => { const input = { id5id: { uid: '0', @@ -1044,6 +1044,17 @@ describe('permutiveIdentityManagerIdSystem', () => { const result = permutiveIdentityManagerIdSubmodule.decode(input) expect(result).to.be.equal(input) }) + + it('decodes the base64-encoded array for pairId', () => { + const input = { + pairId: 'WyJBeVhiNUF0dmsvVS8xQ1d2ejJuRVk5aFl4T1g3TVFPUTJVQk1BMFdiV1ZFbSJd' + } + const result = permutiveIdentityManagerIdSubmodule.decode(input) + const expected = { + pairId: ["AyXb5Atvk/U/1CWvz2nEY9hYxOX7MQOQ2UBMA0WbWVEm"] + } + expect(result).to.deep.equal(expected) + }) }) describe('getId', () => { @@ -1067,6 +1078,46 @@ describe('permutiveIdentityManagerIdSystem', () => { expect(result).to.deep.equal(expected) }) + it('handles idl_env without pairId', () => { + const data = { + 'providers': { + 'idl_env': { + 'userId': 'ats_envelope_value' + } + } + } + storage.setDataInLocalStorage(STORAGE_KEY, JSON.stringify(data)) + const result = permutiveIdentityManagerIdSubmodule.getId({}) + const expected = { + 'id': { + 'idl_env': 'ats_envelope_value' + } + } + expect(result).to.deep.equal(expected) + }) + + it('handles idl_env with pairId', () => { + const data = { + 'providers': { + 'idl_env': { + 'userId': 'ats_envelope_value', + }, + 'pairId': { + 'userId': 'pair_id_encoded_value' + } + } + } + storage.setDataInLocalStorage(STORAGE_KEY, JSON.stringify(data)) + const result = permutiveIdentityManagerIdSubmodule.getId({}) + const expected = { + 'id': { + 'idl_env': 'ats_envelope_value', + 'pairId': 'pair_id_encoded_value' + } + } + expect(result).to.deep.equal(expected) + }) + it('returns undefined if no relevant IDs are found in localStorage', () => { storage.setDataInLocalStorage(STORAGE_KEY, '{}') const result = permutiveIdentityManagerIdSubmodule.getId({}) From 8f3cd344946bfed64eb46afaa207219538a707e1 Mon Sep 17 00:00:00 2001 From: Roger <104763658+rogerDyl@users.noreply.github.com> Date: Fri, 5 Dec 2025 03:39:55 +0100 Subject: [PATCH 052/248] Core: Add timeToRespond in noBid responses (#14097) * Add timeToRespond in noBid responses * Extract common time props to addBidTimingProperties --- src/auction.ts | 22 +++++++++++++++++----- test/spec/auctionmanager_spec.js | 11 +++++++++++ 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/src/auction.ts b/src/auction.ts index 4fe57c74223..3e3d19f35b0 100644 --- a/src/auction.ts +++ b/src/auction.ts @@ -548,6 +548,7 @@ export function auctionCallbacks(auctionDone, auctionInstance, {index = auctionM bidderRequest.bids.forEach(bid => { if (!bidResponseMap[bid.bidId]) { + addBidTimingProperties(bid); auctionInstance.addNoBid(bid); events.emit(EVENTS.NO_BID, bid); } @@ -704,17 +705,30 @@ declare module './bidfactory' { adserverTargeting: BaseBidResponse['adserverTargeting']; } } + /** - * Augment `bidResponse` with properties that are common across all bids - including rejected bids. + * Add timing properties to a bid response */ -function addCommonResponseProperties(bidResponse: Partial, adUnitCode: string, {index = auctionManager.index} = {}) { +function addBidTimingProperties(bidResponse: Partial, {index = auctionManager.index} = {}) { const bidderRequest = index.getBidderRequest(bidResponse); - const adUnit = index.getAdUnit(bidResponse); const start = (bidderRequest && bidderRequest.start) || bidResponse.requestTimestamp; Object.assign(bidResponse, { responseTimestamp: bidResponse.responseTimestamp || timestamp(), requestTimestamp: bidResponse.requestTimestamp || start, + }); + bidResponse.timeToRespond = bidResponse.responseTimestamp - bidResponse.requestTimestamp; +} + +/** + * Augment `bidResponse` with properties that are common across all bids - including rejected bids. + */ +function addCommonResponseProperties(bidResponse: Partial, adUnitCode: string, {index = auctionManager.index} = {}) { + const adUnit = index.getAdUnit(bidResponse); + + addBidTimingProperties(bidResponse, {index}) + + Object.assign(bidResponse, { cpm: parseFloat(bidResponse.cpm) || 0, bidder: bidResponse.bidder || bidResponse.bidderCode, adUnitCode @@ -723,8 +737,6 @@ function addCommonResponseProperties(bidResponse: Partial, adUnitCode: stri if (adUnit?.ttlBuffer != null) { bidResponse.ttlBuffer = adUnit.ttlBuffer; } - - bidResponse.timeToRespond = bidResponse.responseTimestamp - bidResponse.requestTimestamp; } /** diff --git a/test/spec/auctionmanager_spec.js b/test/spec/auctionmanager_spec.js index 4758c2f9ae9..6ebb8666096 100644 --- a/test/spec/auctionmanager_spec.js +++ b/test/spec/auctionmanager_spec.js @@ -967,6 +967,17 @@ describe('auctionmanager.js', function () { }) }); + it('sets timeToRespond on noBid entries', async () => { + auction.callBids(); + await auction.end; + const noBids = auction.getNoBids(); + expect(noBids.length).to.equal(1); + + const noBid = noBids[0]; + expect(noBid).to.have.property('timeToRespond'); + expect(noBid.timeToRespond).to.be.a('number'); + }); + Object.entries({ 'bids': { bd: [{ From 84e54304e658d211976ae99944dedc42cdf7f203 Mon Sep 17 00:00:00 2001 From: Nitin Shirsat <107102698+pm-nitin-shirsat@users.noreply.github.com> Date: Fri, 5 Dec 2025 08:11:01 +0530 Subject: [PATCH 053/248] PubMatic RTD Provider: Dynamic timeout plugin & code refactoring (#14104) * PubMatic RTD Provider: Plugin based architectural changes * PubMatic RTD Provider: Minor changes to the Plugins * PubMatic RTD Provider: Moved configJsonManager to the RTD provider * PubMatic RTD Provider: Move bidderOptimisation to one file * Adding testcases for floorProvider.js for floorPlugin * PubMatic RTD provider: Update endpoint to actual after testing * Adding test cases for floorProvider * Adding test cases for config * PubMatic RTD provider: Handle the getTargetting effectively * Pubmatic RTD Provider: Handle null case * Adding test cases for floorProviders * fixing linting issues * Fixing linting and other errors * RTD provider: Update pubmaticRtdProvider.js * RTD Provider: Update pubmaticRtdProvider_spec.js * RTD Provider: Dynamic Timeout Plugin * RTD Provider: Dynamic Timeout Plugin Updated with new schema * RTD Provider: Plugin changes * RTD Provider: Dynamic Timeout fixes * RTD Provider: Plugin changes * RTD Provider: Plugin changes * RTD Provider: Plugin changes (cherry picked from commit d440ca6ae01af946e6f019c6aa98d6026f2ea565) * RTD Provider: Plugin changes for Dynamic Timeout * RTD PRovider: Test cases : PubmaticUTils test cases and * RTD PRovider: Plugin Manager test cases * RTD Provider: Lint issues and Spec removed * RTD Provider: Dynamic TImeout Test cases * Add unit test cases for unifiedPricingRule.js * RTD Provider: Fixes for Floor and UPR working * RTD Provider: test cases updated * Dynamic timeout comments added * Remove bidder optimization * PubMatic RTD Provider: Handle Empty object case for floor data * RTD Provider: Update the priority for dynamic timeout rules * Dynamic timeout: handle default skipRate * Dynamic Timeout - Handle Negative values gracefully with 500 Default threshold * Review comments resolved * Comments added * Update pubmaticRtdProvider_Example.html * Fix lint & test cases * Update default UPR multiplier value * Remove comments * Update pubmaticRtdProvider.js - cc should be undefined default * Add test case for undefined default country code and other test cases. * Handle a case when getUserIds is not present * Remove isFunction check for continue auction * fix browsi tests --------- Co-authored-by: Tanishka Vishwakarma Co-authored-by: Komal Kumari Co-authored-by: Patrick McCann Co-authored-by: Demetrio Girardi --- .../gpt/pubmaticRtdProvider_Example.html | 180 +++ .../bidderTimeoutUtils/bidderTimeoutUtils.js | 119 ++ .../pubmaticUtils/plugins/dynamicTimeout.js | 209 +++ .../pubmaticUtils/plugins/floorProvider.js | 163 ++ .../pubmaticUtils/plugins/pluginManager.js | 106 ++ .../plugins/unifiedPricingRule.js | 375 +++++ libraries/pubmaticUtils/pubmaticUtils.js | 76 + modules/pubmaticRtdProvider.js | 627 +------- modules/timeoutRtdProvider.js | 107 +- .../bidderTimeoutUtils_spec.js | 213 +++ .../plugins/dynamicTimeout_spec.js | 746 +++++++++ .../plugins/floorProvider_spec.js | 184 +++ .../plugins/pluginManager_spec.js | 489 ++++++ .../plugins/unifiedPricingRule_spec.js | 359 +++++ .../pubmaticUtils/pubmaticUtils_spec.js | 236 +++ .../modules/browsiAnalyticsAdapter_spec.js | 2 +- test/spec/modules/pubmaticRtdProvider_spec.js | 1329 +++-------------- test/spec/modules/timeoutRtdProvider_spec.js | 200 --- 18 files changed, 3746 insertions(+), 1974 deletions(-) create mode 100644 integrationExamples/gpt/pubmaticRtdProvider_Example.html create mode 100644 libraries/bidderTimeoutUtils/bidderTimeoutUtils.js create mode 100644 libraries/pubmaticUtils/plugins/dynamicTimeout.js create mode 100644 libraries/pubmaticUtils/plugins/floorProvider.js create mode 100644 libraries/pubmaticUtils/plugins/pluginManager.js create mode 100644 libraries/pubmaticUtils/plugins/unifiedPricingRule.js create mode 100644 libraries/pubmaticUtils/pubmaticUtils.js create mode 100644 test/spec/libraries/bidderTimeoutUtils/bidderTimeoutUtils_spec.js create mode 100644 test/spec/libraries/pubmaticUtils/plugins/dynamicTimeout_spec.js create mode 100644 test/spec/libraries/pubmaticUtils/plugins/floorProvider_spec.js create mode 100644 test/spec/libraries/pubmaticUtils/plugins/pluginManager_spec.js create mode 100644 test/spec/libraries/pubmaticUtils/plugins/unifiedPricingRule_spec.js create mode 100644 test/spec/libraries/pubmaticUtils/pubmaticUtils_spec.js diff --git a/integrationExamples/gpt/pubmaticRtdProvider_Example.html b/integrationExamples/gpt/pubmaticRtdProvider_Example.html new file mode 100644 index 00000000000..83e29c0fcd6 --- /dev/null +++ b/integrationExamples/gpt/pubmaticRtdProvider_Example.html @@ -0,0 +1,180 @@ + + + PubMatic RTD Provider Example + + + + + + + + + + + + + +

Prebid.js Test

+
Div-1111
+
+ +
+
+ + +
Div 2
+
+ +
+ + diff --git a/libraries/bidderTimeoutUtils/bidderTimeoutUtils.js b/libraries/bidderTimeoutUtils/bidderTimeoutUtils.js new file mode 100644 index 00000000000..721df815159 --- /dev/null +++ b/libraries/bidderTimeoutUtils/bidderTimeoutUtils.js @@ -0,0 +1,119 @@ +import { logInfo } from '../../src/utils.js'; + +// this allows the stubbing of functions during testing +export const bidderTimeoutFunctions = { + getDeviceType, + checkVideo, + getConnectionSpeed, + calculateTimeoutModifier +}; + +/** + * Returns an array of a given object's own enumerable string-keyed property [key, value] pairs. + * @param {Object} obj + * @return {Array} + */ +const entries = Object.entries || function (obj) { + const ownProps = Object.keys(obj); + let i = ownProps.length; + let resArray = new Array(i); + while (i--) { resArray[i] = [ownProps[i], obj[ownProps[i]]]; } + return resArray; +}; + +function getDeviceType() { + const userAgent = window.navigator.userAgent.toLowerCase(); + if ((/ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(userAgent))) { + return 5; // tablet + } + if ((/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(userAgent))) { + return 4; // mobile + } + return 2; // personal computer +} + +function checkVideo(adUnits) { + return adUnits.some((adUnit) => { + return adUnit.mediaTypes && adUnit.mediaTypes.video; + }); +} + +function getConnectionSpeed() { + const connection = window.navigator.connection || window.navigator.mozConnection || window.navigator.webkitConnection || {} + const connectionType = connection.type || connection.effectiveType; + + switch (connectionType) { + case 'slow-2g': + case '2g': + return 'slow'; + + case '3g': + return 'medium'; + + case 'bluetooth': + case 'cellular': + case 'ethernet': + case 'wifi': + case 'wimax': + case '4g': + return 'fast'; + } + + return 'unknown'; +} + +/** + * Calculate the time to be added to the timeout + * @param {Array} adUnits + * @param {Object} rules + * @return {number} + */ +function calculateTimeoutModifier(adUnits, rules) { + if (!rules) { + return 0; + } + + logInfo('Timeout rules', rules); + let timeoutModifier = 0; + let toAdd = 0; + + if (rules.includesVideo) { + const hasVideo = bidderTimeoutFunctions.checkVideo(adUnits); + toAdd = rules.includesVideo[hasVideo] || 0; + logInfo(`Adding ${toAdd} to timeout for includesVideo ${hasVideo}`) + timeoutModifier += toAdd; + } + + if (rules.numAdUnits) { + const numAdUnits = adUnits.length; + if (rules.numAdUnits[numAdUnits]) { + timeoutModifier += rules.numAdUnits[numAdUnits]; + } else { + for (const [rangeStr, timeoutVal] of entries(rules.numAdUnits)) { + const [lowerBound, upperBound] = rangeStr.split('-'); + if (parseInt(lowerBound) <= numAdUnits && numAdUnits <= parseInt(upperBound)) { + logInfo(`Adding ${timeoutVal} to timeout for numAdUnits ${numAdUnits}`) + timeoutModifier += timeoutVal; + break; + } + } + } + } + + if (rules.deviceType) { + const deviceType = bidderTimeoutFunctions.getDeviceType(); + toAdd = rules.deviceType[deviceType] || 0; + logInfo(`Adding ${toAdd} to timeout for deviceType ${deviceType}`) + timeoutModifier += toAdd; + } + + if (rules.connectionSpeed) { + const connectionSpeed = bidderTimeoutFunctions.getConnectionSpeed(); + toAdd = rules.connectionSpeed[connectionSpeed] || 0; + logInfo(`Adding ${toAdd} to timeout for connectionSpeed ${connectionSpeed}`) + timeoutModifier += toAdd; + } + + logInfo('timeout Modifier calculated', timeoutModifier); + return timeoutModifier; +} diff --git a/libraries/pubmaticUtils/plugins/dynamicTimeout.js b/libraries/pubmaticUtils/plugins/dynamicTimeout.js new file mode 100644 index 00000000000..ed8cdd52e9f --- /dev/null +++ b/libraries/pubmaticUtils/plugins/dynamicTimeout.js @@ -0,0 +1,209 @@ +import { logInfo } from '../../../src/utils.js'; +import { getGlobal } from '../../../src/prebidGlobal.js'; +import { bidderTimeoutFunctions } from '../../bidderTimeoutUtils/bidderTimeoutUtils.js'; +import { shouldThrottle } from '../pubmaticUtils.js'; + +let _dynamicTimeoutConfig = null; +export const getDynamicTimeoutConfig = () => _dynamicTimeoutConfig; +export const setDynamicTimeoutConfig = (config) => { _dynamicTimeoutConfig = config; } + +export const CONSTANTS = Object.freeze({ + LOG_PRE_FIX: 'PubMatic-Dynamic-Timeout: ', + INCLUDES_VIDEOS: 'includesVideo', + NUM_AD_UNITS: 'numAdUnits', + DEVICE_TYPE: 'deviceType', + CONNECTION_SPEED: 'connectionSpeed', + DEFAULT_SKIP_RATE: 50, + DEFAULT_THRESHOLD_TIMEOUT: 500 +}); + +export const RULES_PERCENTAGE = { + [CONSTANTS.INCLUDES_VIDEOS]: { + "true": 20, // 20% of bidderTimeout + "false": 5 // 5% of bidderTimeout + }, + [CONSTANTS.NUM_AD_UNITS]: { + "1-5": 10, // 10% of bidderTimeout + "6-10": 20, // 20% of bidderTimeout + "11-15": 30 // 30% of bidderTimeout + }, + [CONSTANTS.DEVICE_TYPE]: { + "2": 5, // 5% of bidderTimeout + "4": 10, // 10% of bidderTimeout + "5": 20 // 20% of bidderTimeout + }, + [CONSTANTS.CONNECTION_SPEED]: { + "slow": 20, // 20% of bidderTimeout + "medium": 10, // 10% of bidderTimeout + "fast": 5, // 5% of bidderTimeout + "unknown": 1 // 1% of bidderTimeout + } +}; + +/** + * Initialize the dynamic timeout plugin + * @param {Object} pluginName - Plugin name + * @param {Object} configJsonManager - Configuration JSON manager object + * @returns {Promise} - Promise resolving to initialization status + */ +export async function init(pluginName, configJsonManager) { + const config = configJsonManager.getConfigByName(pluginName); + if (!config) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Dynamic Timeout configuration not found`); + return false; + } + // Set the Dynamic Timeout config + setDynamicTimeoutConfig(config); + + if (!getDynamicTimeoutConfig()?.enabled) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Dynamic Timeout configuration is disabled`); + return false; + } + return true; +} + +/** + * Process bid request by applying dynamic timeout adjustments + * @param {Object} reqBidsConfigObj - Bid request config object + * @returns {Object} - Updated bid request config object with adjusted timeout + */ +export function processBidRequest(reqBidsConfigObj) { + // Cache config to avoid multiple calls + const timeoutConfig = getDynamicTimeoutConfig(); + + // Check if request should be throttled based on skipRate + const skipRate = (timeoutConfig?.config?.skipRate !== undefined && timeoutConfig?.config?.skipRate !== null) ? timeoutConfig?.config?.skipRate : CONSTANTS.DEFAULT_SKIP_RATE; + if (shouldThrottle(skipRate)) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Dynamic timeout is skipped (skipRate: ${skipRate}%)`); + return reqBidsConfigObj; + } + + logInfo(`${CONSTANTS.LOG_PRE_FIX} Dynamic timeout is applying...`); + + // Get ad units and bidder timeout + const adUnits = reqBidsConfigObj.adUnits || getGlobal().adUnits; + const bidderTimeout = getBidderTimeout(reqBidsConfigObj); + + // Calculate and apply additional timeout + const rules = getRules(bidderTimeout); + const additionalTimeout = bidderTimeoutFunctions.calculateTimeoutModifier(adUnits, rules); + + reqBidsConfigObj.timeout = getFinalTimeout(bidderTimeout, additionalTimeout); + + logInfo(`${CONSTANTS.LOG_PRE_FIX} Timeout adjusted from ${bidderTimeout}ms to ${reqBidsConfigObj.timeout}ms (added ${additionalTimeout}ms)`); + return reqBidsConfigObj; +} + +/** + * Get targeting data + * @param {Array} adUnitCodes - Ad unit codes + * @param {Object} config - Module configuration + * @param {Object} userConsent - User consent data + * @param {Object} auction - Auction object + * @returns {Object} - Targeting data + */ +export function getTargeting(adUnitCodes, config, userConsent, auction) { + // Implementation for targeting data, if not applied then do nothing +} + +// Export the dynamic timeout functions +export const DynamicTimeout = { + init, + processBidRequest, + getTargeting +}; + +// Helper Functions + +export const getFinalTimeout = (bidderTimeout, additionalTimeout) => { + // Calculate the final timeout by adding bidder timeout and additional timeout + const calculatedTimeout = parseInt(bidderTimeout) + parseInt(additionalTimeout); + const thresholdTimeout = getDynamicTimeoutConfig()?.config?.thresholdTimeout || CONSTANTS.DEFAULT_THRESHOLD_TIMEOUT; + + // Handle cases where the calculated timeout might be negative or below threshold + if (calculatedTimeout < thresholdTimeout) { + // Log warning for negative or very low timeouts + if (calculatedTimeout < 0) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Warning: Negative timeout calculated (${calculatedTimeout}ms), using threshold (${thresholdTimeout}ms)`); + } else if (calculatedTimeout < thresholdTimeout) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Calculated timeout (${calculatedTimeout}ms) below threshold, using threshold (${thresholdTimeout}ms)`); + } + return thresholdTimeout; + } + + return calculatedTimeout; +} + +export const getBidderTimeout = (reqBidsConfigObj) => { + return getDynamicTimeoutConfig()?.config?.bidderTimeout + ? getDynamicTimeoutConfig()?.config?.bidderTimeout + : reqBidsConfigObj?.timeout || getGlobal()?.getConfig('bidderTimeout'); +} + +/** + * Get rules based on percentage values and bidderTimeout + * @param {number} bidderTimeout - Bidder timeout in milliseconds + * @returns {Object} - Rules with calculated millisecond values + */ +export const getRules = (bidderTimeout) => { + const timeoutConfig = getDynamicTimeoutConfig(); + + // In milliseconds - If timeout rules provided by publishers are available then return it + if (timeoutConfig?.config?.timeoutRules && Object.keys(timeoutConfig.config.timeoutRules).length > 0) { + return timeoutConfig.config.timeoutRules; + } + // In milliseconds - Check for rules in priority order, If ML model rules are available then return it + if (timeoutConfig?.data && Object.keys(timeoutConfig.data).length > 0) { + return timeoutConfig.data; + } + // In Percentage - If no rules are available then create rules from the default defined - values are in percentages + return createDynamicRules(RULES_PERCENTAGE, bidderTimeout); +} + +/** + * Creates dynamic rules based on percentage values and bidder timeout + * @param {Object} percentageRules - Rules with percentage values + * @param {number} bidderTimeout - Bidder timeout in milliseconds + * @return {Object} - Rules with calculated millisecond values + */ +export const createDynamicRules = (percentageRules, bidderTimeout) => { + // Return empty object if required parameters are missing or invalid + if (!percentageRules || typeof percentageRules !== 'object') { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Invalid percentage rules provided to createDynamicRules`); + return {}; + } + + // Handle negative or zero bidderTimeout gracefully + if (!bidderTimeout || typeof bidderTimeout !== 'number' || bidderTimeout <= 0) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Invalid bidderTimeout (${bidderTimeout}ms) provided to createDynamicRules`); + return {}; + } + + // Create a new rules object with millisecond values + return Object.entries(percentageRules).reduce((dynamicRules, [category, rules]) => { + // Skip if rules is not an object + if (!rules || typeof rules !== 'object') { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Skipping invalid rule category: ${category}`); + return dynamicRules; + } + + // Initialize category in the dynamic rules + dynamicRules[category] = {}; + + // Convert each percentage value to milliseconds + Object.entries(rules).forEach(([key, percentValue]) => { + // Ensure percentage value is a number and not zero + if (typeof percentValue === 'number' && percentValue !== 0) { + const calculatedTimeout = Math.floor(bidderTimeout * (percentValue / 100)); + dynamicRules[category][key] = calculatedTimeout; + + // Log warning for negative calculated timeouts + if (calculatedTimeout < 0) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Warning: Negative timeout calculated for ${category}.${key}: ${calculatedTimeout}ms`); + } + } + }); + + return dynamicRules; + }, {}); +}; diff --git a/libraries/pubmaticUtils/plugins/floorProvider.js b/libraries/pubmaticUtils/plugins/floorProvider.js new file mode 100644 index 00000000000..f67648c3f50 --- /dev/null +++ b/libraries/pubmaticUtils/plugins/floorProvider.js @@ -0,0 +1,163 @@ +// plugins/floorProvider.js +import { logInfo, logError, logMessage, isEmpty } from '../../../src/utils.js'; +import { getDeviceType as fetchDeviceType, getOS } from '../../userAgentUtils/index.js'; +import { getBrowserType, getCurrentTimeOfDay, getUtmValue } from '../pubmaticUtils.js'; +import { config as conf } from '../../../src/config.js'; + +/** + * This RTD module has a dependency on the priceFloors module. + * We utilize the continueAuction function from the priceFloors module to incorporate price floors data into the current auction. + */ +import { continueAuction } from '../../../modules/priceFloors.js'; // eslint-disable-line prebid/validate-imports + +let _floorConfig = null; +export const getFloorConfig = () => _floorConfig; +export const setFloorsConfig = (config) => { _floorConfig = config; } + +let _configJsonManager = null; +export const getConfigJsonManager = () => _configJsonManager; +export const setConfigJsonManager = (configJsonManager) => { _configJsonManager = configJsonManager; } + +export const CONSTANTS = Object.freeze({ + LOG_PRE_FIX: 'PubMatic-Floor-Provider: ' +}); + +/** + * Initialize the floor provider + * @param {Object} pluginName - Plugin name + * @param {Object} configJsonManager - Configuration JSON manager object + * @returns {Promise} - Promise resolving to initialization status + */ +export async function init(pluginName, configJsonManager) { + // Process floor-specific configuration + const config = configJsonManager.getConfigByName(pluginName); + if (!config) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Floor configuration not found`); + return false; + } + setFloorsConfig(config); + + if (!getFloorConfig()?.enabled) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Floor configuration is disabled`); + return false; + } + + setConfigJsonManager(configJsonManager); + try { + conf.setConfig(prepareFloorsConfig()); + logMessage(`${CONSTANTS.LOG_PRE_FIX} dynamicFloors config set successfully`); + } catch (error) { + logError(`${CONSTANTS.LOG_PRE_FIX} Error setting dynamicFloors config: ${error}`); + } + + logInfo(`${CONSTANTS.LOG_PRE_FIX} Floor configuration loaded`); + + return true; +} + +/** + * Process bid request + * @param {Object} reqBidsConfigObj - Bid request config object + * @returns {Object} - Updated bid request config object + */ +export function processBidRequest(reqBidsConfigObj) { + try { + const hookConfig = { + reqBidsConfigObj, + context: null, // Removed 'this' as it's not applicable in function-based implementation + nextFn: () => true, + haveExited: false, + timer: null + }; + + // Apply floor configuration + continueAuction(hookConfig); + logInfo(`${CONSTANTS.LOG_PRE_FIX} Applied floor configuration to auction`); + + return reqBidsConfigObj; + } catch (error) { + logError(`${CONSTANTS.LOG_PRE_FIX} Error applying floor configuration: ${error}`); + return reqBidsConfigObj; + } +} + +/** + * Get targeting data + * @param {Array} adUnitCodes - Ad unit codes + * @param {Object} config - Module configuration + * @param {Object} userConsent - User consent data + * @param {Object} auction - Auction object + * @returns {Object} - Targeting data + */ +export function getTargeting(adUnitCodes, config, userConsent, auction) { + // Implementation for targeting data, if not applied then do nothing +} + +// Export the floor provider functions +export const FloorProvider = { + init, + processBidRequest, + getTargeting +}; + +// Helper Functions + +export const defaultValueTemplate = { + currency: 'USD', + skipRate: 0, + schema: { + fields: ['mediaType', 'size'] + } +}; + +// Getter Functions +export const getTimeOfDay = () => getCurrentTimeOfDay(); +export const getBrowser = () => getBrowserType(); +export const getOs = () => getOS().toString(); +export const getDeviceType = () => fetchDeviceType().toString(); +export const getCountry = () => getConfigJsonManager().country; +export const getBidder = (request) => request?.bidder; +export const getUtm = () => getUtmValue(); + +export const prepareFloorsConfig = () => { + if (!getFloorConfig()?.enabled || !getFloorConfig()?.config) { + return undefined; + } + + // Floor configs from adunit / setconfig + const defaultFloorConfig = conf.getConfig('floors') ?? {}; + if (defaultFloorConfig?.endpoint) { + delete defaultFloorConfig.endpoint; + } + + let ymUiConfig = { ...getFloorConfig().config }; + + // default values provided by publisher on YM UI + const defaultValues = ymUiConfig.defaultValues ?? {}; + // If floorsData is not present or is an empty object, use default values + const ymFloorsData = isEmpty(getFloorConfig().data) + ? { ...defaultValueTemplate, values: { ...defaultValues } } + : getFloorConfig().data; + + delete ymUiConfig.defaultValues; + // If skiprate is provided in configs, overwrite the value in ymFloorsData + (ymUiConfig.skipRate !== undefined) && (ymFloorsData.skipRate = ymUiConfig.skipRate); + + // merge default configs from page, configs + return { + floors: { + ...defaultFloorConfig, + ...ymUiConfig, + data: ymFloorsData, + additionalSchemaFields: { + deviceType: getDeviceType, + timeOfDay: getTimeOfDay, + browser: getBrowser, + os: getOs, + utm: getUtm, + country: getCountry, + bidder: getBidder, + }, + }, + }; +}; diff --git a/libraries/pubmaticUtils/plugins/pluginManager.js b/libraries/pubmaticUtils/plugins/pluginManager.js new file mode 100644 index 00000000000..d9f955a9fe2 --- /dev/null +++ b/libraries/pubmaticUtils/plugins/pluginManager.js @@ -0,0 +1,106 @@ +import { logInfo, logWarn, logError } from "../../../src/utils.js"; + +// pluginManager.js +export const plugins = new Map(); +export const CONSTANTS = Object.freeze({ + LOG_PRE_FIX: 'PubMatic-Plugin-Manager: ' +}); + +/** + * Initialize the plugin manager with constants + * @returns {Object} - Plugin manager functions + */ +export const PluginManager = () => ({ + register, + initialize, + executeHook +}); + +/** + * Register a plugin with the plugin manager + * @param {string} name - Plugin name + * @param {Object} plugin - Plugin object + * @returns {Object} - Plugin manager functions + */ +const register = (name, plugin) => { + if (plugins.has(name)) { + logWarn(`${CONSTANTS.LOG_PRE_FIX} Plugin ${name} already registered`); + return; + } + plugins.set(name, plugin); +}; + +/** + * Unregister a plugin from the plugin manager + * @param {string} name - Plugin name + * @returns {Object} - Plugin manager functions + */ +const unregister = (name) => { + if (plugins.has(name)) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} Unregistering plugin ${name}`); + plugins.delete(name); + } +}; + +/** + * Initialize all registered plugins with their specific config + * @param {Object} configJsonManager - Configuration JSON manager object + * @returns {Promise} - Promise resolving when all plugins are initialized + */ +const initialize = async (configJsonManager) => { + const initPromises = []; + + // Initialize each plugin with its specific config + for (const [name, plugin] of plugins.entries()) { + if (plugin.init) { + const initialized = await plugin.init(name, configJsonManager); + if (!initialized) { + unregister(name); + } + initPromises.push(initialized); + } + } + + return Promise.all(initPromises); +}; + +/** + * Execute a hook on all registered plugins synchronously + * @param {string} hookName - Name of the hook to execute + * @param {...any} args - Arguments to pass to the hook + * @returns {Object} - Object containing merged results from all plugins + */ +const executeHook = (hookName, ...args) => { + // Cache results to avoid repeated processing + const results = {}; + + try { + // Get all plugins that have the specified hook method + const pluginsWithHook = Array.from(plugins.entries()) + .filter(([_, plugin]) => typeof plugin[hookName] === 'function'); + + // Process each plugin synchronously + for (const [name, plugin] of pluginsWithHook) { + try { + // Call the plugin's hook method synchronously + const result = plugin[hookName](...args); + + // Skip null/undefined results + if (result === null || result === undefined) { + continue; + } + + // If result is an object, merge it + if (typeof result === 'object') { + Object.assign(results, result); + } + } catch (error) { + logError(`${CONSTANTS.LOG_PRE_FIX} Error executing hook ${hookName} in plugin ${name}: ${error.message}`); + } + } + } catch (error) { + logError(`${CONSTANTS.LOG_PRE_FIX} Error in executeHookSync: ${error.message}`); + } + + return results; +}; diff --git a/libraries/pubmaticUtils/plugins/unifiedPricingRule.js b/libraries/pubmaticUtils/plugins/unifiedPricingRule.js new file mode 100644 index 00000000000..4060af17044 --- /dev/null +++ b/libraries/pubmaticUtils/plugins/unifiedPricingRule.js @@ -0,0 +1,375 @@ +// plugins/unifiedPricingRule.js +import { logError, logInfo } from '../../../src/utils.js'; +import { getGlobal } from '../../../src/prebidGlobal.js'; +import { REJECTION_REASON } from '../../../src/constants.js'; + +const CONSTANTS = Object.freeze({ + LOG_PRE_FIX: 'PubMatic-Unified-Pricing-Rule: ', + BID_STATUS: { + NOBID: 0, + WON: 1, + FLOORED: 2 + }, + MULTIPLIERS: { + WIN: 1.0, + FLOORED: 1.0, + NOBID: 1.0 + }, + TARGETING_KEYS: { + PM_YM_FLRS: 'pm_ym_flrs', // Whether RTD floor was applied + PM_YM_FLRV: 'pm_ym_flrv', // Final floor value (after applying multiplier) + PM_YM_BID_S: 'pm_ym_bid_s' // Bid status (0: No bid, 1: Won, 2: Floored) + } +}); +export const getProfileConfigs = () => getConfigJsonManager()?.getYMConfig(); + +let _configJsonManager = null; +export const getConfigJsonManager = () => _configJsonManager; +export const setConfigJsonManager = (configJsonManager) => { _configJsonManager = configJsonManager; } + +/** + * Initialize the floor provider + * @param {Object} pluginName - Plugin name + * @param {Object} configJsonManager - Configuration JSON manager object + * @returns {Promise} - Promise resolving to initialization status + */ +export async function init(pluginName, configJsonManager) { + setConfigJsonManager(configJsonManager); + return true; +} + +/** + * Process bid request + * @param {Object} reqBidsConfigObj - Bid request config object + * @returns {Object} - Updated bid request config object + */ +export function processBidRequest(reqBidsConfigObj) { + return reqBidsConfigObj; +} + +/** + * Get targeting data + * @param {Array} adUnitCodes - Ad unit codes + * @param {Object} config - Module configuration + * @param {Object} userConsent - User consent data + * @param {Object} auction - Auction object + * @returns {Object} - Targeting data + */ +export function getTargeting(adUnitCodes, config, userConsent, auction) { + // Access the profile configs stored globally + const profileConfigs = getProfileConfigs(); + + // Return empty object if profileConfigs is undefined or pmTargetingKeys.enabled is explicitly set to false + if (!profileConfigs || profileConfigs?.plugins?.dynamicFloors?.pmTargetingKeys?.enabled === false) { + logInfo(`${CONSTANTS.LOG_PRE_FIX} pmTargetingKeys is disabled or profileConfigs is undefined`); + return {}; + } + + // Helper to check if RTD floor is applied to a bid + const isRtdFloorApplied = bid => bid.floorData?.floorProvider === "PM" && !bid.floorData.skipped; + + // Check if any bid has RTD floor applied + const hasRtdFloorAppliedBid = + auction?.adUnits?.some(adUnit => adUnit.bids?.some(isRtdFloorApplied)) || + auction?.bidsReceived?.some(isRtdFloorApplied); + + // Only log when RTD floor is applied + if (hasRtdFloorAppliedBid) { + logInfo(CONSTANTS.LOG_PRE_FIX, 'Setting targeting via getTargetingData:'); + } + + // Process each ad unit code + const targeting = {}; + + adUnitCodes.forEach(code => { + targeting[code] = {}; + + // For non-RTD floor applied cases, only set pm_ym_flrs to 0 + if (!hasRtdFloorAppliedBid) { + targeting[code][CONSTANTS.TARGETING_KEYS.PM_YM_FLRS] = 0; + return; + } + + // Find bids and determine status for RTD floor applied cases + const bidsForAdUnit = findBidsForAdUnit(auction, code); + const rejectedBidsForAdUnit = findRejectedBidsForAdUnit(auction, code); + const rejectedFloorBid = findRejectedFloorBid(rejectedBidsForAdUnit); + const winningBid = findWinningBid(code); + + // Determine bid status and values + const { bidStatus, baseValue, multiplier } = determineBidStatusAndValues( + winningBid, + rejectedFloorBid, + bidsForAdUnit, + auction, + code + ); + + // Set all targeting keys + targeting[code][CONSTANTS.TARGETING_KEYS.PM_YM_FLRS] = 1; + targeting[code][CONSTANTS.TARGETING_KEYS.PM_YM_FLRV] = (baseValue * multiplier).toFixed(2); + targeting[code][CONSTANTS.TARGETING_KEYS.PM_YM_BID_S] = bidStatus; + }); + + return targeting; +} + +// Export the floor provider functions +export const UnifiedPricingRule = { + init, + processBidRequest, + getTargeting +}; + +// Find all bids for a specific ad unit +function findBidsForAdUnit(auction, code) { + return auction?.bidsReceived?.filter(bid => bid.adUnitCode === code) || []; +} + +// Find rejected bids for a specific ad unit +function findRejectedBidsForAdUnit(auction, code) { + if (!auction?.bidsRejected) return []; + + // If bidsRejected is an array + if (Array.isArray(auction.bidsRejected)) { + return auction.bidsRejected.filter(bid => bid.adUnitCode === code); + } + + // If bidsRejected is an object mapping bidders to their rejected bids + if (typeof auction.bidsRejected === 'object') { + return Object.values(auction.bidsRejected) + .filter(Array.isArray) + .flatMap(bidderBids => bidderBids.filter(bid => bid.adUnitCode === code)); + } + + return []; +} + +// Find a rejected bid due to price floor +function findRejectedFloorBid(rejectedBids) { + return rejectedBids.find(bid => { + return bid.rejectionReason === REJECTION_REASON.FLOOR_NOT_MET && + (bid.floorData?.floorValue && bid.cpm < bid.floorData.floorValue); + }); +} + +// Find the winning or highest bid for an ad unit +function findWinningBid(adUnitCode) { + try { + const pbjs = getGlobal(); + if (!pbjs?.getHighestCpmBids) return null; + + const highestCpmBids = pbjs.getHighestCpmBids(adUnitCode); + if (!highestCpmBids?.length) { + logInfo(CONSTANTS.LOG_PRE_FIX, `No highest CPM bids found for ad unit: ${adUnitCode}`); + return null; + } + + const highestCpmBid = highestCpmBids[0]; + logInfo(CONSTANTS.LOG_PRE_FIX, `Found highest CPM bid using pbjs.getHighestCpmBids() for ad unit: ${adUnitCode}, CPM: ${highestCpmBid.cpm}`); + return highestCpmBid; + } catch (error) { + logError(CONSTANTS.LOG_PRE_FIX, `Error finding highest CPM bid: ${error}`); + return null; + } +} + +// Find floor value from bidder requests +function findFloorValueFromBidderRequests(auction, code) { + if (!auction?.bidderRequests?.length) return 0; + + // Find all bids in bidder requests for this ad unit + const bidsFromRequests = auction.bidderRequests + .flatMap(request => request.bids || []) + .filter(bid => bid.adUnitCode === code); + + if (!bidsFromRequests.length) { + logInfo(CONSTANTS.LOG_PRE_FIX, `No bids found for ad unit: ${code}`); + return 0; + } + + const bidWithGetFloor = bidsFromRequests.find(bid => bid.getFloor); + if (!bidWithGetFloor) { + logInfo(CONSTANTS.LOG_PRE_FIX, `No bid with getFloor method found for ad unit: ${code}`); + return 0; + } + + // Helper function to extract sizes with their media types from a source object + const extractSizes = (source) => { + if (!source) return null; + + const result = []; + + // Extract banner sizes + if (source.mediaTypes?.banner?.sizes) { + source.mediaTypes.banner.sizes.forEach(size => { + result.push({ + size, + mediaType: 'banner' + }); + }); + } + + // Extract video sizes + if (source.mediaTypes?.video?.playerSize) { + const playerSize = source.mediaTypes.video.playerSize; + // Handle both formats: [[w, h]] and [w, h] + const videoSizes = Array.isArray(playerSize[0]) ? playerSize : [playerSize]; + + videoSizes.forEach(size => { + result.push({ + size, + mediaType: 'video' + }); + }); + } + + // Use general sizes as fallback if no specific media types found + if (result.length === 0 && source.sizes) { + source.sizes.forEach(size => { + result.push({ + size, + mediaType: 'banner' // Default to banner for general sizes + }); + }); + } + + return result.length > 0 ? result : null; + }; + + // Try to get sizes from different sources in order of preference + const adUnit = auction.adUnits?.find(unit => unit.code === code); + let sizes = extractSizes(adUnit) || extractSizes(bidWithGetFloor); + + // Handle fallback to wildcard size if no sizes found + if (!sizes) { + sizes = [{ size: ['*', '*'], mediaType: 'banner' }]; + logInfo(CONSTANTS.LOG_PRE_FIX, `No sizes found, using wildcard size for ad unit: ${code}`); + } + + // Try to get floor values for each size + let minFloor = -1; + + for (const sizeObj of sizes) { + // Extract size and mediaType from the object + const { size, mediaType } = sizeObj; + + // Call getFloor with the appropriate media type + const floorInfo = bidWithGetFloor.getFloor({ + currency: 'USD', // Default currency + mediaType: mediaType, // Use the media type we extracted + size: size + }); + + if (floorInfo?.floor && !isNaN(parseFloat(floorInfo.floor))) { + const floorValue = parseFloat(floorInfo.floor); + logInfo(CONSTANTS.LOG_PRE_FIX, `Floor value for ${mediaType} size ${size}: ${floorValue}`); + + // Update minimum floor value + minFloor = minFloor === -1 ? floorValue : Math.min(minFloor, floorValue); + } + } + + if (minFloor !== -1) { + logInfo(CONSTANTS.LOG_PRE_FIX, `Calculated minimum floor value ${minFloor} for ad unit: ${code}`); + return minFloor; + } + + logInfo(CONSTANTS.LOG_PRE_FIX, `No floor data found for ad unit: ${code}`); + return 0; +} + +// Select multiplier based on priority order: floors.json → config.json → default +function selectMultiplier(multiplierKey, profileConfigs) { + // Define sources in priority order + const multiplierSources = [ + { + name: 'config.json', + getValue: () => { + const configPath = profileConfigs?.plugins?.dynamicFloors?.pmTargetingKeys?.multiplier; + const lowerKey = multiplierKey.toLowerCase(); + return configPath && lowerKey in configPath ? configPath[lowerKey] : null; + } + }, + { + name: 'floor.json', + getValue: () => { + const configPath = profileConfigs?.plugins?.dynamicFloors?.data?.multiplier; + const lowerKey = multiplierKey.toLowerCase(); + return configPath && lowerKey in configPath ? configPath[lowerKey] : null; + } + }, + { + name: 'default', + getValue: () => CONSTANTS.MULTIPLIERS[multiplierKey] + } + ]; + + // Find the first source with a non-null value + for (const source of multiplierSources) { + const value = source.getValue(); + if (value != null) { + return { value, source: source.name }; + } + } + + // Fallback (shouldn't happen due to default source) + return { value: CONSTANTS.MULTIPLIERS[multiplierKey], source: 'default' }; +} + +// Identify winning bid scenario and return scenario data +function handleWinningBidScenario(winningBid, code) { + return { + scenario: 'winning', + bidStatus: CONSTANTS.BID_STATUS.WON, + baseValue: winningBid.cpm, + multiplierKey: 'WIN', + logMessage: `Bid won for ad unit: ${code}, CPM: ${winningBid.cpm}` + }; +} + +// Identify rejected floor bid scenario and return scenario data +function handleRejectedFloorBidScenario(rejectedFloorBid, code) { + const baseValue = rejectedFloorBid.floorData?.floorValue || 0; + return { + scenario: 'rejected', + bidStatus: CONSTANTS.BID_STATUS.FLOORED, + baseValue, + multiplierKey: 'FLOORED', + logMessage: `Bid rejected due to price floor for ad unit: ${code}, Floor value: ${baseValue}, Bid CPM: ${rejectedFloorBid.cpm}` + }; +} + +// Identify no bid scenario and return scenario data +function handleNoBidScenario(auction, code) { + const baseValue = findFloorValueFromBidderRequests(auction, code); + return { + scenario: 'nobid', + bidStatus: CONSTANTS.BID_STATUS.NOBID, + baseValue, + multiplierKey: 'NOBID', + logMessage: `No bids for ad unit: ${code}, Floor value: ${baseValue}` + }; +} + +// Determine which scenario applies based on bid conditions +function determineScenario(winningBid, rejectedFloorBid, bidsForAdUnit, auction, code) { + return winningBid ? handleWinningBidScenario(winningBid, code) + : rejectedFloorBid ? handleRejectedFloorBidScenario(rejectedFloorBid, code) + : handleNoBidScenario(auction, code); +} + +// Main function that determines bid status and calculates values +function determineBidStatusAndValues(winningBid, rejectedFloorBid, bidsForAdUnit, auction, code) { + const profileConfigs = getProfileConfigs(); + + // Determine the scenario based on bid conditions + const { bidStatus, baseValue, multiplierKey, logMessage } = + determineScenario(winningBid, rejectedFloorBid, bidsForAdUnit, auction, code); + + // Select the appropriate multiplier + const { value: multiplier, source } = selectMultiplier(multiplierKey, profileConfigs); + logInfo(CONSTANTS.LOG_PRE_FIX, logMessage + ` (Using ${source} multiplier: ${multiplier})`); + + return { bidStatus, baseValue, multiplier }; +} diff --git a/libraries/pubmaticUtils/pubmaticUtils.js b/libraries/pubmaticUtils/pubmaticUtils.js new file mode 100644 index 00000000000..3055fc3bcf0 --- /dev/null +++ b/libraries/pubmaticUtils/pubmaticUtils.js @@ -0,0 +1,76 @@ +import { getLowEntropySUA } from '../../src/fpd/sua.js'; + +const CONSTANTS = Object.freeze({ + TIME_OF_DAY_VALUES: { + MORNING: 'morning', + AFTERNOON: 'afternoon', + EVENING: 'evening', + NIGHT: 'night' + }, + UTM: 'utm_', + UTM_VALUES: { + TRUE: '1', + FALSE: '0' + }, +}); + +const BROWSER_REGEX_MAP = [ + { regex: /\b(?:crios)\/([\w.]+)/i, id: 1 }, // Chrome for iOS + { regex: /(edg|edge)(?:e|ios|a)?(?:\/([\w.]+))?/i, id: 2 }, // Edge + { regex: /(opera|opr)(?:.+version\/|\/|\s+)([\w.]+)/i, id: 3 }, // Opera + { regex: /(?:ms|\()(ie) ([\w.]+)|(?:trident\/[\w.]+)/i, id: 4 }, // Internet Explorer + { regex: /fxios\/([-\w.]+)/i, id: 5 }, // Firefox for iOS + { regex: /((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w.]+);)/i, id: 6 }, // Facebook In-App Browser + { regex: / wv\).+(chrome)\/([\w.]+)/i, id: 7 }, // Chrome WebView + { regex: /droid.+ version\/([\w.]+)\b.+(?:mobile safari|safari)/i, id: 8 }, // Android Browser + { regex: /(chrome|crios)(?:\/v?([\w.]+))?\b/i, id: 9 }, // Chrome + { regex: /version\/([\w.,]+) .*mobile\/\w+ (safari)/i, id: 10 }, // Safari Mobile + { regex: /version\/([\w.,]+) .*(mobile ?safari|safari)/i, id: 11 }, // Safari + { regex: /(firefox)\/([\w.]+)/i, id: 12 } // Firefox +]; + +export const getBrowserType = () => { + const brandName = getLowEntropySUA()?.browsers + ?.map(b => b.brand.toLowerCase()) + .join(' ') || ''; + const browserMatch = brandName ? BROWSER_REGEX_MAP.find(({ regex }) => regex.test(brandName)) : -1; + + if (browserMatch?.id) return browserMatch.id.toString(); + + const userAgent = navigator?.userAgent; + let browserIndex = userAgent == null ? -1 : 0; + + if (userAgent) { + browserIndex = BROWSER_REGEX_MAP.find(({ regex }) => regex.test(userAgent))?.id || 0; + } + return browserIndex.toString(); +} + +export const getCurrentTimeOfDay = () => { + const currentHour = new Date().getHours(); + + return currentHour < 5 ? CONSTANTS.TIME_OF_DAY_VALUES.NIGHT + : currentHour < 12 ? CONSTANTS.TIME_OF_DAY_VALUES.MORNING + : currentHour < 17 ? CONSTANTS.TIME_OF_DAY_VALUES.AFTERNOON + : currentHour < 19 ? CONSTANTS.TIME_OF_DAY_VALUES.EVENING + : CONSTANTS.TIME_OF_DAY_VALUES.NIGHT; +} + +export const getUtmValue = () => { + const url = new URL(window.location?.href); + const urlParams = new URLSearchParams(url?.search); + return urlParams && urlParams.toString().includes(CONSTANTS.UTM) ? CONSTANTS.UTM_VALUES.TRUE : CONSTANTS.UTM_VALUES.FALSE; +} + +/** + * Determines whether an action should be throttled based on a given percentage. + * + * @param {number} skipRate - The percentage rate at which throttling will be applied (0-100). + * @param {number} maxRandomValue - The upper bound for generating a random number (default is 100). + * @returns {boolean} - Returns true if the action should be throttled, false otherwise. + */ +export const shouldThrottle = (skipRate, maxRandomValue = 100) => { + // Determine throttling based on the throttle rate and a random value + const rate = skipRate ?? maxRandomValue; + return Math.floor(Math.random() * maxRandomValue) < rate; +}; diff --git a/modules/pubmaticRtdProvider.js b/modules/pubmaticRtdProvider.js index b373ac0a545..d930ac70ab1 100644 --- a/modules/pubmaticRtdProvider.js +++ b/modules/pubmaticRtdProvider.js @@ -1,488 +1,103 @@ import { submodule } from '../src/hook.js'; -import { logError, logInfo, isPlainObject, isEmpty, isFn, mergeDeep } from '../src/utils.js'; -import { config as conf } from '../src/config.js'; -import { getDeviceType as fetchDeviceType, getOS } from '../libraries/userAgentUtils/index.js'; -import { getLowEntropySUA } from '../src/fpd/sua.js'; -import { getGlobal } from '../src/prebidGlobal.js'; -import { REJECTION_REASON } from '../src/constants.js'; +import { logError, mergeDeep, isPlainObject, isEmpty } from '../src/utils.js'; + +import { PluginManager } from '../libraries/pubmaticUtils/plugins/pluginManager.js'; +import { FloorProvider } from '../libraries/pubmaticUtils/plugins/floorProvider.js'; +import { UnifiedPricingRule } from '../libraries/pubmaticUtils/plugins/unifiedPricingRule.js'; +import { DynamicTimeout } from '../libraries/pubmaticUtils/plugins/dynamicTimeout.js'; /** - * @typedef {import('../modules/rtdModule/index.js').RtdSubmodule} RtdSubmodule + * @typedef {import('./rtdModule/index.js').RtdSubmodule} RtdSubmodule */ - /** * This RTD module has a dependency on the priceFloors module. * We utilize the continueAuction function from the priceFloors module to incorporate price floors data into the current auction. */ -import { continueAuction } from './priceFloors.js'; // eslint-disable-line prebid/validate-imports export const CONSTANTS = Object.freeze({ SUBMODULE_NAME: 'pubmatic', REAL_TIME_MODULE: 'realTimeData', LOG_PRE_FIX: 'PubMatic-Rtd-Provider: ', - UTM: 'utm_', - UTM_VALUES: { - TRUE: '1', - FALSE: '0' - }, - TIME_OF_DAY_VALUES: { - MORNING: 'morning', - AFTERNOON: 'afternoon', - EVENING: 'evening', - NIGHT: 'night', - }, ENDPOINTS: { BASEURL: 'https://ads.pubmatic.com/AdServer/js/pwt', - FLOORS: 'floors.json', CONFIGS: 'config.json' - }, - BID_STATUS: { - NOBID: 0, - WON: 1, - FLOORED: 2 - }, - MULTIPLIERS: { - WIN: 1.0, - FLOORED: 0.8, - NOBID: 1.2 - }, - TARGETING_KEYS: { - PM_YM_FLRS: 'pm_ym_flrs', // Whether RTD floor was applied - PM_YM_FLRV: 'pm_ym_flrv', // Final floor value (after applying multiplier) - PM_YM_BID_S: 'pm_ym_bid_s' // Bid status (0: No bid, 1: Won, 2: Floored) } }); -const BROWSER_REGEX_MAP = [ - { regex: /\b(?:crios)\/([\w.]+)/i, id: 1 }, // Chrome for iOS - { regex: /(edg|edge)(?:e|ios|a)?(?:\/([\w.]+))?/i, id: 2 }, // Edge - { regex: /(opera|opr)(?:.+version\/|[/ ]+)([\w.]+)/i, id: 3 }, // Opera - { regex: /(?:ms|\()(ie) ([\w.]+)|(?:trident\/[\w.]+)/i, id: 4 }, // Internet Explorer - { regex: /fxios\/([-\w.]+)/i, id: 5 }, // Firefox for iOS - { regex: /((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w.]+);)/i, id: 6 }, // Facebook In-App Browser - { regex: / wv\).+(chrome)\/([\w.]+)/i, id: 7 }, // Chrome WebView - { regex: /droid.+ version\/([\w.]+)\b.+(?:mobile safari|safari)/i, id: 8 }, // Android Browser - { regex: /(chrome|crios)(?:\/v?([\w.]+))?\b/i, id: 9 }, // Chrome - { regex: /version\/([\w.,]+) .*mobile\/\w+ (safari)/i, id: 10 }, // Safari Mobile - { regex: /version\/([\w(.|,]+) .*(mobile ?safari|safari)/i, id: 11 }, // Safari - { regex: /(firefox)\/([\w.]+)/i, id: 12 } // Firefox -]; - -export const defaultValueTemplate = { - currency: 'USD', - skipRate: 0, - schema: { - fields: ['mediaType', 'size'] - } -}; - -let initTime; -let _fetchFloorRulesPromise = null; let _fetchConfigPromise = null; -export let configMerged; -// configMerged is a reference to the function that can resolve configMergedPromise whenever we want -let configMergedPromise = new Promise((resolve) => { configMerged = resolve; }); -export let _country; -// Store multipliers from floors.json, will use default values from CONSTANTS if not available -export let _multipliers = null; - -// Use a private variable for profile configs -let _profileConfigs; -// Export getter and setter functions for _profileConfigs -export const getProfileConfigs = () => _profileConfigs; -export const setProfileConfigs = (configs) => { _profileConfigs = configs; }; - -// Waits for a given promise to resolve within a timeout -export function withTimeout(promise, ms) { - let timeout; - const timeoutPromise = new Promise((resolve) => { - timeout = setTimeout(() => resolve(undefined), ms); - }); - - return Promise.race([promise.finally(() => clearTimeout(timeout)), timeoutPromise]); -} - -// Utility Functions -export const getCurrentTimeOfDay = () => { - const currentHour = new Date().getHours(); - - return currentHour < 5 ? CONSTANTS.TIME_OF_DAY_VALUES.NIGHT - : currentHour < 12 ? CONSTANTS.TIME_OF_DAY_VALUES.MORNING - : currentHour < 17 ? CONSTANTS.TIME_OF_DAY_VALUES.AFTERNOON - : currentHour < 19 ? CONSTANTS.TIME_OF_DAY_VALUES.EVENING - : CONSTANTS.TIME_OF_DAY_VALUES.NIGHT; -} - -export const getBrowserType = () => { - const brandName = getLowEntropySUA()?.browsers - ?.map(b => b.brand.toLowerCase()) - .join(' ') || ''; - const browserMatch = brandName ? BROWSER_REGEX_MAP.find(({ regex }) => regex.test(brandName)) : -1; - - if (browserMatch?.id) return browserMatch.id.toString(); - - const userAgent = navigator?.userAgent; - let browserIndex = userAgent == null ? -1 : 0; - - if (userAgent) { - browserIndex = BROWSER_REGEX_MAP.find(({ regex }) => regex.test(userAgent))?.id || 0; - } - return browserIndex.toString(); -} - -// Find all bids for a specific ad unit -function findBidsForAdUnit(auction, code) { - return auction?.bidsReceived?.filter(bid => bid.adUnitCode === code) || []; -} +let _ymConfigPromise; +export const getYmConfigPromise = () => _ymConfigPromise; +export const setYmConfigPromise = (promise) => { _ymConfigPromise = promise; }; -// Find rejected bids for a specific ad unit -function findRejectedBidsForAdUnit(auction, code) { - if (!auction?.bidsRejected) return []; +export function ConfigJsonManager() { + let _ymConfig = {}; + const getYMConfig = () => _ymConfig; + const setYMConfig = (config) => { _ymConfig = config; } + let country; - // If bidsRejected is an array - if (Array.isArray(auction.bidsRejected)) { - return auction.bidsRejected.filter(bid => bid.adUnitCode === code); - } + /** + * Fetch configuration from the server + * @param {string} publisherId - Publisher ID + * @param {string} profileId - Profile ID + * @returns {Promise} - Promise resolving to the config object + */ + async function fetchConfig(publisherId, profileId) { + try { + const url = `${CONSTANTS.ENDPOINTS.BASEURL}/${publisherId}/${profileId}/${CONSTANTS.ENDPOINTS.CONFIGS}`; + const response = await fetch(url); + + if (!response.ok) { + logError(`${CONSTANTS.LOG_PRE_FIX} Error while fetching config: Not ok`); + return null; + } - // If bidsRejected is an object mapping bidders to their rejected bids - if (typeof auction.bidsRejected === 'object') { - return Object.values(auction.bidsRejected) - .filter(Array.isArray) - .flatMap(bidderBids => bidderBids.filter(bid => bid.adUnitCode === code)); - } + // Extract country code if available + const cc = response.headers?.get('country_code'); + country = cc ? cc.split(',')?.map(code => code.trim())[0] : undefined; - return []; -} + // Parse the JSON response + const ymConfigs = await response.json(); -// Find a rejected bid due to price floor -function findRejectedFloorBid(rejectedBids) { - return rejectedBids.find(bid => { - return bid.rejectionReason === REJECTION_REASON.FLOOR_NOT_MET && - (bid.floorData?.floorValue && bid.cpm < bid.floorData.floorValue); - }); -} + if (!isPlainObject(ymConfigs) || isEmpty(ymConfigs)) { + logError(`${CONSTANTS.LOG_PRE_FIX} profileConfigs is not an object or is empty`); + return null; + } -// Find the winning or highest bid for an ad unit -function findWinningBid(adUnitCode) { - try { - const pbjs = getGlobal(); - if (!pbjs?.getHighestCpmBids) return null; + // Store the configuration + setYMConfig(ymConfigs); - const highestCpmBids = pbjs.getHighestCpmBids(adUnitCode); - if (!highestCpmBids?.length) { - logInfo(CONSTANTS.LOG_PRE_FIX, `No highest CPM bids found for ad unit: ${adUnitCode}`); + return true; + } catch (error) { + logError(`${CONSTANTS.LOG_PRE_FIX} Error while fetching config: ${error}`); return null; } - - const highestCpmBid = highestCpmBids[0]; - logInfo(CONSTANTS.LOG_PRE_FIX, `Found highest CPM bid using pbjs.getHighestCpmBids() for ad unit: ${adUnitCode}, CPM: ${highestCpmBid.cpm}`); - return highestCpmBid; - } catch (error) { - logError(CONSTANTS.LOG_PRE_FIX, `Error finding highest CPM bid: ${error}`); - return null; - } -} - -// Find floor value from bidder requests -function findFloorValueFromBidderRequests(auction, code) { - if (!auction?.bidderRequests?.length) return 0; - - // Find all bids in bidder requests for this ad unit - const bidsFromRequests = auction.bidderRequests - .flatMap(request => request.bids || []) - .filter(bid => bid.adUnitCode === code); - - if (!bidsFromRequests.length) { - logInfo(CONSTANTS.LOG_PRE_FIX, `No bids found for ad unit: ${code}`); - return 0; - } - - const bidWithGetFloor = bidsFromRequests.find(bid => bid.getFloor); - if (!bidWithGetFloor) { - logInfo(CONSTANTS.LOG_PRE_FIX, `No bid with getFloor method found for ad unit: ${code}`); - return 0; - } - - // Helper function to extract sizes with their media types from a source object - const extractSizes = (source) => { - if (!source) return null; - - const result = []; - - // Extract banner sizes - if (source.mediaTypes?.banner?.sizes) { - source.mediaTypes.banner.sizes.forEach(size => { - result.push({ - size, - mediaType: 'banner' - }); - }); - } - - // Extract video sizes - if (source.mediaTypes?.video?.playerSize) { - const playerSize = source.mediaTypes.video.playerSize; - // Handle both formats: [[w, h]] and [w, h] - const videoSizes = Array.isArray(playerSize[0]) ? playerSize : [playerSize]; - - videoSizes.forEach(size => { - result.push({ - size, - mediaType: 'video' - }); - }); - } - - // Use general sizes as fallback if no specific media types found - if (result.length === 0 && source.sizes) { - source.sizes.forEach(size => { - result.push({ - size, - mediaType: 'banner' // Default to banner for general sizes - }); - }); - } - - return result.length > 0 ? result : null; - }; - - // Try to get sizes from different sources in order of preference - const adUnit = auction.adUnits?.find(unit => unit.code === code); - let sizes = extractSizes(adUnit) || extractSizes(bidWithGetFloor); - - // Handle fallback to wildcard size if no sizes found - if (!sizes) { - sizes = [{ size: ['*', '*'], mediaType: 'banner' }]; - logInfo(CONSTANTS.LOG_PRE_FIX, `No sizes found, using wildcard size for ad unit: ${code}`); - } - - // Try to get floor values for each size - let minFloor = -1; - - for (const sizeObj of sizes) { - // Extract size and mediaType from the object - const { size, mediaType } = sizeObj; - - // Call getFloor with the appropriate media type - const floorInfo = bidWithGetFloor.getFloor({ - currency: 'USD', // Default currency - mediaType: mediaType, // Use the media type we extracted - size: size - }); - - if (floorInfo?.floor && !isNaN(parseFloat(floorInfo.floor))) { - const floorValue = parseFloat(floorInfo.floor); - logInfo(CONSTANTS.LOG_PRE_FIX, `Floor value for ${mediaType} size ${size}: ${floorValue}`); - - // Update minimum floor value - minFloor = minFloor === -1 ? floorValue : Math.min(minFloor, floorValue); - } - } - - if (minFloor !== -1) { - logInfo(CONSTANTS.LOG_PRE_FIX, `Calculated minimum floor value ${minFloor} for ad unit: ${code}`); - return minFloor; } - logInfo(CONSTANTS.LOG_PRE_FIX, `No floor data found for ad unit: ${code}`); - return 0; -} - -// Select multiplier based on priority order: floors.json → config.json → default -function selectMultiplier(multiplierKey, profileConfigs) { - // Define sources in priority order - const multiplierSources = [ - { - name: 'config.json', - getValue: () => { - const configPath = profileConfigs?.plugins?.dynamicFloors?.pmTargetingKeys?.multiplier; - const lowerKey = multiplierKey.toLowerCase(); - return configPath && lowerKey in configPath ? configPath[lowerKey] : null; - } - }, - { - name: 'floor.json', - getValue: () => _multipliers && multiplierKey in _multipliers ? _multipliers[multiplierKey] : null - }, - { - name: 'default', - getValue: () => CONSTANTS.MULTIPLIERS[multiplierKey] - } - ]; - - // Find the first source with a non-null value - for (const source of multiplierSources) { - const value = source.getValue(); - if (value != null) { - return { value, source: source.name }; - } + /** + * Get configuration by name + * @param {string} name - Plugin name + * @returns {Object} - Plugin configuration + */ + const getConfigByName = (name) => { + return getYMConfig()?.plugins?.[name]; } - // Fallback (shouldn't happen due to default source) - return { value: CONSTANTS.MULTIPLIERS[multiplierKey], source: 'default' }; -} - -// Identify winning bid scenario and return scenario data -function handleWinningBidScenario(winningBid, code) { - return { - scenario: 'winning', - bidStatus: CONSTANTS.BID_STATUS.WON, - baseValue: winningBid.cpm, - multiplierKey: 'WIN', - logMessage: `Bid won for ad unit: ${code}, CPM: ${winningBid.cpm}` - }; -} - -// Identify rejected floor bid scenario and return scenario data -function handleRejectedFloorBidScenario(rejectedFloorBid, code) { - const baseValue = rejectedFloorBid.floorData?.floorValue || 0; return { - scenario: 'rejected', - bidStatus: CONSTANTS.BID_STATUS.FLOORED, - baseValue, - multiplierKey: 'FLOORED', - logMessage: `Bid rejected due to price floor for ad unit: ${code}, Floor value: ${baseValue}, Bid CPM: ${rejectedFloorBid.cpm}` + fetchConfig, + getYMConfig, + setYMConfig, + getConfigByName, + get country() { return country; } }; } -// Identify no bid scenario and return scenario data -function handleNoBidScenario(auction, code) { - const baseValue = findFloorValueFromBidderRequests(auction, code); - return { - scenario: 'nobid', - bidStatus: CONSTANTS.BID_STATUS.NOBID, - baseValue, - multiplierKey: 'NOBID', - logMessage: `No bids for ad unit: ${code}, Floor value: ${baseValue}` - }; -} - -// Determine which scenario applies based on bid conditions -function determineScenario(winningBid, rejectedFloorBid, bidsForAdUnit, auction, code) { - return winningBid ? handleWinningBidScenario(winningBid, code) - : rejectedFloorBid ? handleRejectedFloorBidScenario(rejectedFloorBid, code) - : handleNoBidScenario(auction, code); -} - -// Main function that determines bid status and calculates values -function determineBidStatusAndValues(winningBid, rejectedFloorBid, bidsForAdUnit, auction, code) { - const profileConfigs = getProfileConfigs(); - - // Determine the scenario based on bid conditions - const { bidStatus, baseValue, multiplierKey, logMessage } = - determineScenario(winningBid, rejectedFloorBid, bidsForAdUnit, auction, code); - - // Select the appropriate multiplier - const { value: multiplier, source } = selectMultiplier(multiplierKey, profileConfigs); - logInfo(CONSTANTS.LOG_PRE_FIX, logMessage + ` (Using ${source} multiplier: ${multiplier})`); - - return { bidStatus, baseValue, multiplier }; -} - -// Getter Functions -export const getOs = () => getOS().toString(); -export const getDeviceType = () => fetchDeviceType().toString(); -export const getCountry = () => _country; -export const getBidder = (request) => request?.bidder; -export const getUtm = () => { - const url = new URL(window.location?.href); - const urlParams = new URLSearchParams(url?.search); - return urlParams && urlParams.toString().includes(CONSTANTS.UTM) ? CONSTANTS.UTM_VALUES.TRUE : CONSTANTS.UTM_VALUES.FALSE; -} - -export const getFloorsConfig = (floorsData, profileConfigs) => { - if (!isPlainObject(profileConfigs) || isEmpty(profileConfigs)) { - logError(`${CONSTANTS.LOG_PRE_FIX} profileConfigs is not an object or is empty`); - return undefined; - } - - // Floor configs from adunit / setconfig - const defaultFloorConfig = conf.getConfig('floors') ?? {}; - if (defaultFloorConfig?.endpoint) { - delete defaultFloorConfig.endpoint; - } - // Plugin data from profile - const dynamicFloors = profileConfigs?.plugins?.dynamicFloors; - - // If plugin disabled or config not present, return undefined - if (!dynamicFloors?.enabled || !dynamicFloors?.config) { - return undefined; - } - - const config = { ...dynamicFloors.config }; - - // default values provided by publisher on profile - const defaultValues = config.defaultValues ?? {}; - // If floorsData is not present, use default values - const finalFloorsData = floorsData ?? { ...defaultValueTemplate, values: { ...defaultValues } }; - - delete config.defaultValues; - // If skiprate is provided in configs, overwrite the value in finalFloorsData - (config.skipRate !== undefined) && (finalFloorsData.skipRate = config.skipRate); - - // merge default configs from page, configs - return { - floors: { - ...defaultFloorConfig, - ...config, - data: finalFloorsData, - additionalSchemaFields: { - deviceType: getDeviceType, - timeOfDay: getCurrentTimeOfDay, - browser: getBrowserType, - os: getOs, - utm: getUtm, - country: getCountry, - bidder: getBidder, - }, - }, - }; -}; - -export const fetchData = async (publisherId, profileId, type) => { - try { - const endpoint = CONSTANTS.ENDPOINTS[type]; - const baseURL = (type === 'FLOORS') ? `${CONSTANTS.ENDPOINTS.BASEURL}/floors` : CONSTANTS.ENDPOINTS.BASEURL; - const url = `${baseURL}/${publisherId}/${profileId}/${endpoint}`; - const response = await fetch(url); - - if (!response.ok) { - logError(`${CONSTANTS.LOG_PRE_FIX} Error while fetching ${type}: Not ok`); - return; - } - - if (type === "FLOORS") { - const cc = response.headers?.get('country_code'); - _country = cc ? cc.split(',')?.map(code => code.trim())[0] : undefined; - } - - const data = await response.json(); - - // Extract multipliers from floors.json if available - if (type === "FLOORS" && data && data.multiplier) { - // Map of source keys to destination keys - const multiplierKeys = { - 'win': 'WIN', - 'floored': 'FLOORED', - 'nobid': 'NOBID' - }; - - // Initialize _multipliers and only add keys that exist in data.multiplier - _multipliers = Object.entries(multiplierKeys) - .reduce((acc, [srcKey, destKey]) => { - if (srcKey in data.multiplier) { - acc[destKey] = data.multiplier[srcKey]; - } - return acc; - }, {}); - - logInfo(CONSTANTS.LOG_PRE_FIX, `Using multipliers from floors.json: ${JSON.stringify(_multipliers)}`); - } +// Create core components +export const pluginManager = PluginManager(); +export const configJsonManager = ConfigJsonManager(); - return data; - } catch (error) { - logError(`${CONSTANTS.LOG_PRE_FIX} Error while fetching ${type}: ${error}`); - } -}; +// Register plugins +pluginManager.register('dynamicFloors', FloorProvider); +pluginManager.register('unifiedPricingRule', UnifiedPricingRule); +pluginManager.register('dynamicTimeout', DynamicTimeout); /** * Initialize the Pubmatic RTD Module. @@ -491,7 +106,6 @@ export const fetchData = async (publisherId, profileId, type) => { * @returns {boolean} */ const init = (config, _userConsent) => { - initTime = Date.now(); // Capture the initialization time let { publisherId, profileId } = config?.params || {}; if (!publisherId || !profileId) { @@ -502,30 +116,14 @@ const init = (config, _userConsent) => { publisherId = String(publisherId).trim(); profileId = String(profileId).trim(); - if (!isFn(continueAuction)) { - logError(`${CONSTANTS.LOG_PRE_FIX} continueAuction is not a function. Please ensure to add priceFloors module.`); - return false; - } - - _fetchFloorRulesPromise = fetchData(publisherId, profileId, "FLOORS"); - _fetchConfigPromise = fetchData(publisherId, profileId, "CONFIGS"); - - _fetchConfigPromise.then(async (profileConfigs) => { - const auctionDelay = conf?.getConfig('realTimeData')?.auctionDelay || 300; - const maxWaitTime = 0.8 * auctionDelay; - - const elapsedTime = Date.now() - initTime; - const remainingTime = Math.max(maxWaitTime - elapsedTime, 0); - const floorsData = await withTimeout(_fetchFloorRulesPromise, remainingTime); - - // Store the profile configs globally - setProfileConfigs(profileConfigs); - - const floorsConfig = getFloorsConfig(floorsData, profileConfigs); - floorsConfig && conf?.setConfig(floorsConfig); - configMerged(); - }); - + // Fetch configuration and initialize plugins + _ymConfigPromise = configJsonManager.fetchConfig(publisherId, profileId) + .then(success => { + if (!success) { + return Promise.reject(new Error('Failed to fetch configuration')); + } + return pluginManager.initialize(configJsonManager); + }); return true; }; @@ -534,34 +132,30 @@ const init = (config, _userConsent) => { * @param {function} callback */ const getBidRequestData = (reqBidsConfigObj, callback) => { - configMergedPromise.then(() => { - const hookConfig = { - reqBidsConfigObj, - context: this, - nextFn: () => true, - haveExited: false, - timer: null - }; - continueAuction(hookConfig); - if (_country) { + _ymConfigPromise.then(() => { + pluginManager.executeHook('processBidRequest', reqBidsConfigObj); + // Apply country information if available + const country = configJsonManager.country; + if (country) { const ortb2 = { user: { ext: { - ctr: _country, + ctr: country, } } - } + }; mergeDeep(reqBidsConfigObj.ortb2Fragments.bidder, { [CONSTANTS.SUBMODULE_NAME]: ortb2 }); } + callback(); - }).catch((error) => { - logError(CONSTANTS.LOG_PRE_FIX, 'Error in updating floors :', error); + }).catch(error => { + logError(CONSTANTS.LOG_PRE_FIX, error); callback(); }); -} +}; /** * Returns targeting data for ad units @@ -572,62 +166,7 @@ const getBidRequestData = (reqBidsConfigObj, callback) => { * @return {Object} - Targeting data for ad units */ export const getTargetingData = (adUnitCodes, config, userConsent, auction) => { - // Access the profile configs stored globally - const profileConfigs = getProfileConfigs(); - - // Return empty object if profileConfigs is undefined or pmTargetingKeys.enabled is explicitly set to false - if (!profileConfigs || profileConfigs?.plugins?.dynamicFloors?.pmTargetingKeys?.enabled === false) { - logInfo(`${CONSTANTS.LOG_PRE_FIX} pmTargetingKeys is disabled or profileConfigs is undefined`); - return {}; - } - - // Helper to check if RTD floor is applied to a bid - const isRtdFloorApplied = bid => bid.floorData?.floorProvider === "PM" && !bid.floorData.skipped; - - // Check if any bid has RTD floor applied - const hasRtdFloorAppliedBid = - auction?.adUnits?.some(adUnit => adUnit.bids?.some(isRtdFloorApplied)) || - auction?.bidsReceived?.some(isRtdFloorApplied); - - // Only log when RTD floor is applied - if (hasRtdFloorAppliedBid) { - logInfo(CONSTANTS.LOG_PRE_FIX, 'Setting targeting via getTargetingData:'); - } - - // Process each ad unit code - const targeting = {}; - - adUnitCodes.forEach(code => { - targeting[code] = {}; - - // For non-RTD floor applied cases, only set pm_ym_flrs to 0 - if (!hasRtdFloorAppliedBid) { - targeting[code][CONSTANTS.TARGETING_KEYS.PM_YM_FLRS] = 0; - return; - } - - // Find bids and determine status for RTD floor applied cases - const bidsForAdUnit = findBidsForAdUnit(auction, code); - const rejectedBidsForAdUnit = findRejectedBidsForAdUnit(auction, code); - const rejectedFloorBid = findRejectedFloorBid(rejectedBidsForAdUnit); - const winningBid = findWinningBid(code); - - // Determine bid status and values - const { bidStatus, baseValue, multiplier } = determineBidStatusAndValues( - winningBid, - rejectedFloorBid, - bidsForAdUnit, - auction, - code - ); - - // Set all targeting keys - targeting[code][CONSTANTS.TARGETING_KEYS.PM_YM_FLRS] = 1; - targeting[code][CONSTANTS.TARGETING_KEYS.PM_YM_FLRV] = (baseValue * multiplier).toFixed(2); - targeting[code][CONSTANTS.TARGETING_KEYS.PM_YM_BID_S] = bidStatus; - }); - - return targeting; + return pluginManager.executeHook('getTargeting', adUnitCodes, config, userConsent, auction); }; export const pubmaticSubmodule = { diff --git a/modules/timeoutRtdProvider.js b/modules/timeoutRtdProvider.js index fd7f639a1db..72ed6b7b9f8 100644 --- a/modules/timeoutRtdProvider.js +++ b/modules/timeoutRtdProvider.js @@ -2,6 +2,7 @@ import { submodule } from '../src/hook.js'; import * as ajax from '../src/ajax.js'; import { logInfo, deepAccess, logError } from '../src/utils.js'; import { getGlobal } from '../src/prebidGlobal.js'; +import { bidderTimeoutFunctions } from '../libraries/bidderTimeoutUtils/bidderTimeoutUtils.js'; /** * @typedef {import('../modules/rtdModule/index.js').RtdSubmodule} RtdSubmodule @@ -11,113 +12,9 @@ const SUBMODULE_NAME = 'timeout'; // this allows the stubbing of functions during testing export const timeoutRtdFunctions = { - getDeviceType, - getConnectionSpeed, - checkVideo, - calculateTimeoutModifier, handleTimeoutIncrement }; -const entries = Object.entries || function(obj) { - const ownProps = Object.keys(obj); - let i = ownProps.length; - const resArray = new Array(i); - while (i--) { resArray[i] = [ownProps[i], obj[ownProps[i]]]; } - return resArray; -}; - -function getDeviceType() { - const userAgent = window.navigator.userAgent.toLowerCase(); - if ((/ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(userAgent))) { - return 5; // tablet - } - if ((/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(userAgent))) { - return 4; // mobile - } - return 2; // personal computer -} - -function checkVideo(adUnits) { - return adUnits.some((adUnit) => { - return adUnit.mediaTypes && adUnit.mediaTypes.video; - }); -} - -function getConnectionSpeed() { - const connection = window.navigator.connection || window.navigator.mozConnection || window.navigator.webkitConnection || {} - const connectionType = connection.type || connection.effectiveType; - - switch (connectionType) { - case 'slow-2g': - case '2g': - return 'slow'; - - case '3g': - return 'medium'; - - case 'bluetooth': - case 'cellular': - case 'ethernet': - case 'wifi': - case 'wimax': - case '4g': - return 'fast'; - } - - return 'unknown'; -} -/** - * Calculate the time to be added to the timeout - * @param {Array} adUnits - * @param {Object} rules - * @return {number} - */ -function calculateTimeoutModifier(adUnits, rules) { - logInfo('Timeout rules', rules); - let timeoutModifier = 0; - let toAdd = 0; - - if (rules.includesVideo) { - const hasVideo = timeoutRtdFunctions.checkVideo(adUnits); - toAdd = rules.includesVideo[hasVideo] || 0; - logInfo(`Adding ${toAdd} to timeout for includesVideo ${hasVideo}`) - timeoutModifier += toAdd; - } - - if (rules.numAdUnits) { - const numAdUnits = adUnits.length; - if (rules.numAdUnits[numAdUnits]) { - timeoutModifier += rules.numAdUnits[numAdUnits]; - } else { - for (const [rangeStr, timeoutVal] of entries(rules.numAdUnits)) { - const [lowerBound, upperBound] = rangeStr.split('-'); - if (parseInt(lowerBound) <= numAdUnits && numAdUnits <= parseInt(upperBound)) { - logInfo(`Adding ${timeoutVal} to timeout for numAdUnits ${numAdUnits}`) - timeoutModifier += timeoutVal; - break; - } - } - } - } - - if (rules.deviceType) { - const deviceType = timeoutRtdFunctions.getDeviceType(); - toAdd = rules.deviceType[deviceType] || 0; - logInfo(`Adding ${toAdd} to timeout for deviceType ${deviceType}`) - timeoutModifier += toAdd; - } - - if (rules.connectionSpeed) { - const connectionSpeed = timeoutRtdFunctions.getConnectionSpeed(); - toAdd = rules.connectionSpeed[connectionSpeed] || 0; - logInfo(`Adding ${toAdd} to timeout for connectionSpeed ${connectionSpeed}`) - timeoutModifier += toAdd; - } - - logInfo('timeout Modifier calculated', timeoutModifier); - return timeoutModifier; -} - /** * * @param {Object} reqBidsConfigObj @@ -161,7 +58,7 @@ function getBidRequestData(reqBidsConfigObj, callback, config, userConsent) { */ function handleTimeoutIncrement(reqBidsConfigObj, rules) { const adUnits = reqBidsConfigObj.adUnits || getGlobal().adUnits; - const timeoutModifier = timeoutRtdFunctions.calculateTimeoutModifier(adUnits, rules); + const timeoutModifier = bidderTimeoutFunctions.calculateTimeoutModifier(adUnits, rules); const bidderTimeout = reqBidsConfigObj.timeout || getGlobal().getConfig('bidderTimeout'); reqBidsConfigObj.timeout = bidderTimeout + timeoutModifier; } diff --git a/test/spec/libraries/bidderTimeoutUtils/bidderTimeoutUtils_spec.js b/test/spec/libraries/bidderTimeoutUtils/bidderTimeoutUtils_spec.js new file mode 100644 index 00000000000..26810afcb98 --- /dev/null +++ b/test/spec/libraries/bidderTimeoutUtils/bidderTimeoutUtils_spec.js @@ -0,0 +1,213 @@ +import { bidderTimeoutFunctions } from '../../../../libraries/bidderTimeoutUtils/bidderTimeoutUtils.js' +import { expect } from 'chai'; + +const DEFAULT_USER_AGENT = window.navigator.userAgent; +const DEFAULT_CONNECTION = window.navigator.connection; + +const PC_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246'; +const MOBILE_USER_AGENT = 'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1'; +const TABLET_USER_AGENT = 'Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148'; + +function resetUserAgent() { + window.navigator.__defineGetter__('userAgent', () => DEFAULT_USER_AGENT); +}; + +function setUserAgent(userAgent) { + window.navigator.__defineGetter__('userAgent', () => userAgent); +} + +function resetConnection() { + window.navigator.__defineGetter__('connection', () => DEFAULT_CONNECTION); +} +function setConnectionType(connectionType) { + window.navigator.__defineGetter__('connection', () => { return { 'type': connectionType } }); +} + +describe('Timeout RTD submodule', () => { + let sandbox; + beforeEach(() => { + sandbox = sinon.createSandbox(); + }); + + afterEach(() => { + sandbox.restore(); + }); + + describe('getDeviceType', () => { + afterEach(() => { + resetUserAgent(); + }); + + [ + // deviceType, userAgent, deviceTypeNum + ['pc', PC_USER_AGENT, 2], + ['mobile', MOBILE_USER_AGENT, 4], + ['tablet', TABLET_USER_AGENT, 5], + ].forEach(function (args) { + const [deviceType, userAgent, deviceTypeNum] = args; + it(`should be able to recognize ${deviceType} devices`, () => { + setUserAgent(userAgent); + const res = bidderTimeoutFunctions.getDeviceType(); + expect(res).to.equal(deviceTypeNum) + }) + }) + }); + + describe('getConnectionSpeed', () => { + afterEach(() => { + resetConnection(); + }); + [ + // connectionType, connectionSpeed + ['slow-2g', 'slow'], + ['2g', 'slow'], + ['3g', 'medium'], + ['bluetooth', 'fast'], + ['cellular', 'fast'], + ['ethernet', 'fast'], + ['wifi', 'fast'], + ['wimax', 'fast'], + ['4g', 'fast'], + ['not known', 'unknown'], + [undefined, 'unknown'], + ].forEach(function (args) { + const [connectionType, connectionSpeed] = args; + it(`should be able to categorize connection speed when the connection type is ${connectionType}`, () => { + setConnectionType(connectionType); + const res = bidderTimeoutFunctions.getConnectionSpeed(); + expect(res).to.equal(connectionSpeed) + }) + }) + }); + + describe('Timeout modifier calculations', () => { + let sandbox; + beforeEach(() => { + sandbox = sinon.createSandbox(); + }); + + afterEach(() => { + sandbox.restore(); + }); + + it('should be able to detect video ad units', () => { + let adUnits = [] + let res = bidderTimeoutFunctions.checkVideo(adUnits); + expect(res).to.be.false; + + adUnits = [{ + mediaTypes: { + video: [] + } + }]; + res = bidderTimeoutFunctions.checkVideo(adUnits); + expect(res).to.be.true; + + adUnits = [{ + mediaTypes: { + banner: [] + } + }]; + res = bidderTimeoutFunctions.checkVideo(adUnits); + expect(res).to.be.false; + }); + + it('should calculate the timeout modifier for video', () => { + sandbox.stub(bidderTimeoutFunctions, 'checkVideo').returns(true); + const rules = { + includesVideo: { + 'true': 200, + 'false': 50 + } + } + const res = bidderTimeoutFunctions.calculateTimeoutModifier([], rules); + expect(res).to.equal(200) + }); + + it('should calculate the timeout modifier for connectionSpeed', () => { + sandbox.stub(bidderTimeoutFunctions, 'getConnectionSpeed').returns('slow'); + const rules = { + connectionSpeed: { + 'slow': 200, + 'medium': 100, + 'fast': 50 + } + } + const res = bidderTimeoutFunctions.calculateTimeoutModifier([], rules); + expect(res).to.equal(200); + }); + + it('should calculate the timeout modifier for deviceType', () => { + sandbox.stub(bidderTimeoutFunctions, 'getDeviceType').returns(4); + const rules = { + deviceType: { + '2': 50, + '4': 100, + '5': 200 + }, + } + const res = bidderTimeoutFunctions.calculateTimeoutModifier([], rules); + expect(res).to.equal(100) + }); + + it('should calculate the timeout modifier for ranged numAdunits', () => { + const rules = { + numAdUnits: { + '1-5': 100, + '6-10': 200, + '11-15': 300, + } + } + const adUnits = [1, 2, 3, 4, 5, 6]; + const res = bidderTimeoutFunctions.calculateTimeoutModifier(adUnits, rules); + expect(res).to.equal(200) + }); + + it('should calculate the timeout modifier for exact numAdunits', () => { + const rules = { + numAdUnits: { + '1': 100, + '2': 200, + '3': 300, + '4-5': 400, + } + } + const adUnits = [1, 2]; + const res = bidderTimeoutFunctions.calculateTimeoutModifier(adUnits, rules); + expect(res).to.equal(200); + }); + + it('should add up all the modifiers when all the rules are present', () => { + sandbox.stub(bidderTimeoutFunctions, 'getConnectionSpeed').returns('slow'); + sandbox.stub(bidderTimeoutFunctions, 'getDeviceType').returns(4); + const rules = { + connectionSpeed: { + 'slow': 200, + 'medium': 100, + 'fast': 50 + }, + deviceType: { + '2': 50, + '4': 100, + '5': 200 + }, + includesVideo: { + 'true': 200, + 'false': 50 + }, + numAdUnits: { + '1': 100, + '2': 200, + '3': 300, + '4-5': 400, + } + } + const res = bidderTimeoutFunctions.calculateTimeoutModifier([{ + mediaTypes: { + video: [] + } + }], rules); + expect(res).to.equal(600); + }); + }); +}); diff --git a/test/spec/libraries/pubmaticUtils/plugins/dynamicTimeout_spec.js b/test/spec/libraries/pubmaticUtils/plugins/dynamicTimeout_spec.js new file mode 100644 index 00000000000..9c56e026954 --- /dev/null +++ b/test/spec/libraries/pubmaticUtils/plugins/dynamicTimeout_spec.js @@ -0,0 +1,746 @@ +import sinon from 'sinon'; +import { expect } from 'chai'; +import * as utils from '../../../../../src/utils.js'; +import * as prebidGlobal from '../../../../../src/prebidGlobal.js'; +import * as dynamicTimeout from '../../../../../libraries/pubmaticUtils/plugins/dynamicTimeout.js'; +import { bidderTimeoutFunctions } from '../../../../../libraries/bidderTimeoutUtils/bidderTimeoutUtils.js'; +import * as pubmaticUtils from '../../../../../libraries/pubmaticUtils/pubmaticUtils.js'; + +describe('DynamicTimeout Plugin', () => { + let sandbox; + + // Sample configuration objects + const enabledConfig = { + enabled: true, + config: { + skipRate: 20, + bidderTimeout: 1000, + timeoutRules: { + includesVideo: { + 'true': 200, + 'false': 50 + }, + numAdUnits: { + '1-5': 100, + '6-10': 200 + } + } + } + }; + + const configWithData = { + enabled: true, + config: { + skipRate: 20, + bidderTimeout: 1000 + }, + data: { + includesVideo: { + 'true': 300, + 'false': 100 + }, + deviceType: { + '2': 50, + '4': 150 + } + } + }; + + const disabledConfig = { + enabled: false, + config: { + skipRate: 0 + } + }; + + beforeEach(() => { + sandbox = sinon.createSandbox(); + + // Reset dynamic timeout config before each test + dynamicTimeout.setDynamicTimeoutConfig(null); + }); + + afterEach(() => { + sandbox.restore(); + }); + + describe('init', () => { + it('should initialize successfully with valid config', async () => { + const configJsonManager = { + getConfigByName: sandbox.stub().returns(enabledConfig) + }; + + const logInfoStub = sandbox.stub(utils, 'logInfo'); + + const result = await dynamicTimeout.init('dynamicTimeout', configJsonManager); + + expect(result).to.be.true; + expect(dynamicTimeout.getDynamicTimeoutConfig()).to.deep.equal(enabledConfig); + expect(logInfoStub.called).to.be.false; + }); + + it('should return false if config is not found', async () => { + const configJsonManager = { + getConfigByName: sandbox.stub().returns(null) + }; + + const logInfoStub = sandbox.stub(utils, 'logInfo'); + + const result = await dynamicTimeout.init('dynamicTimeout', configJsonManager); + + expect(result).to.be.false; + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.include('Dynamic Timeout configuration not found'); + }); + + it('should return false if config is disabled', async () => { + const configJsonManager = { + getConfigByName: sandbox.stub().returns(disabledConfig) + }; + + const logInfoStub = sandbox.stub(utils, 'logInfo'); + + const result = await dynamicTimeout.init('dynamicTimeout', configJsonManager); + + expect(result).to.be.false; + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.include('Dynamic Timeout configuration is disabled'); + }); + }); + + describe('processBidRequest', () => { + let logInfoStub; + let getGlobalStub; + let calculateTimeoutModifierStub; + let shouldThrottleStub; + + beforeEach(() => { + logInfoStub = sandbox.stub(utils, 'logInfo'); + getGlobalStub = sandbox.stub(prebidGlobal, 'getGlobal').returns({ + getConfig: sandbox.stub().returns(800), + adUnits: [{ code: 'test-div' }] + }); + calculateTimeoutModifierStub = sandbox.stub(bidderTimeoutFunctions, 'calculateTimeoutModifier').returns(150); + shouldThrottleStub = sandbox.stub(pubmaticUtils, 'shouldThrottle'); + + // Set up default config for most tests + dynamicTimeout.setDynamicTimeoutConfig(enabledConfig); + }); + + it('should skip processing if throttled by skipRate', async () => { + shouldThrottleStub.returns(true); + + const reqBidsConfigObj = { timeout: 800 }; + const result = await dynamicTimeout.processBidRequest(reqBidsConfigObj); + + expect(result).to.equal(reqBidsConfigObj); + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.include('Dynamic timeout is skipped'); + expect(calculateTimeoutModifierStub.called).to.be.false; + }); + + it('should apply timeout adjustment when not throttled', async () => { + shouldThrottleStub.returns(false); + + const reqBidsConfigObj = { timeout: 800 }; + const result = await dynamicTimeout.processBidRequest(reqBidsConfigObj); + + // The actual code uses the bidderTimeout from config (1000) + additionalTimeout (150) + expect(result.timeout).to.equal(1150); + expect(logInfoStub.called).to.be.true; + expect(calculateTimeoutModifierStub.calledOnce).to.be.true; + }); + + it('should use adUnits from reqBidsConfigObj if available', async () => { + shouldThrottleStub.returns(false); + + const reqBidsConfigObj = { + timeout: 800, + adUnits: [ + { code: 'div1' }, + { code: 'div2' } + ] + }; + + await dynamicTimeout.processBidRequest(reqBidsConfigObj); + + expect(calculateTimeoutModifierStub.calledOnce).to.be.true; + expect(calculateTimeoutModifierStub.firstCall.args[0]).to.deep.equal(reqBidsConfigObj.adUnits); + }); + + it('should use adUnits from global if not in reqBidsConfigObj', async () => { + shouldThrottleStub.returns(false); + + const globalAdUnits = [{ code: 'global-div' }]; + getGlobalStub.returns({ + getConfig: sandbox.stub().returns(800), + adUnits: globalAdUnits + }); + + const reqBidsConfigObj = { timeout: 800 }; + await dynamicTimeout.processBidRequest(reqBidsConfigObj); + + expect(calculateTimeoutModifierStub.calledOnce).to.be.true; + expect(calculateTimeoutModifierStub.firstCall.args[0]).to.deep.equal(globalAdUnits); + }); + + it('should use bidderTimeout from config if available', async () => { + shouldThrottleStub.returns(false); + + const reqBidsConfigObj = {}; + await dynamicTimeout.processBidRequest(reqBidsConfigObj); + + // Should use the bidderTimeout from config (1000) not the global one (800) + expect(reqBidsConfigObj.timeout).to.equal(1150); // 1000 + 150 + }); + + it('should use timeout from reqBidsConfigObj if available and no config bidderTimeout', async () => { + shouldThrottleStub.returns(false); + + // Remove bidderTimeout from config + const configWithoutBidderTimeout = { + ...enabledConfig, + config: { ...enabledConfig.config } + }; + delete configWithoutBidderTimeout.config.bidderTimeout; + dynamicTimeout.setDynamicTimeoutConfig(configWithoutBidderTimeout); + + const reqBidsConfigObj = { timeout: 900 }; + await dynamicTimeout.processBidRequest(reqBidsConfigObj); + + expect(reqBidsConfigObj.timeout).to.equal(1050); // 900 + 150 + }); + + it('should fall back to global bidderTimeout if needed', async () => { + shouldThrottleStub.returns(false); + + // Remove bidderTimeout from config + const configWithoutBidderTimeout = { + ...enabledConfig, + config: { ...enabledConfig.config } + }; + delete configWithoutBidderTimeout.config.bidderTimeout; + dynamicTimeout.setDynamicTimeoutConfig(configWithoutBidderTimeout); + + const reqBidsConfigObj = {}; + await dynamicTimeout.processBidRequest(reqBidsConfigObj); + + expect(reqBidsConfigObj.timeout).to.equal(950); // 800 + 150 + }); + + it('should use skipRate 0 when explicitly set to 0', async () => { + // Set a config with skipRate explicitly set to 0 + const configWithZeroSkipRate = { + enabled: true, + config: { + skipRate: 0, + bidderTimeout: 1000 + } + }; + dynamicTimeout.setDynamicTimeoutConfig(configWithZeroSkipRate); + + const reqBidsConfigObj = { timeout: 800 }; + await dynamicTimeout.processBidRequest(reqBidsConfigObj); + + // Verify shouldThrottle was called with skipRate=0, not the default value + expect(shouldThrottleStub.calledOnce).to.be.true; + expect(shouldThrottleStub.firstCall.args[0]).to.equal(0); + }); + + it('should use default skipRate when skipRate is not present in config', async () => { + // Set a config without skipRate + const configWithoutSkipRate = { + enabled: true, + config: { + bidderTimeout: 1000 + } + }; + dynamicTimeout.setDynamicTimeoutConfig(configWithoutSkipRate); + + const reqBidsConfigObj = { timeout: 800 }; + await dynamicTimeout.processBidRequest(reqBidsConfigObj); + + // Verify shouldThrottle was called with the default skipRate + expect(shouldThrottleStub.calledOnce).to.be.true; + expect(shouldThrottleStub.firstCall.args[0]).to.equal(dynamicTimeout.CONSTANTS.DEFAULT_SKIP_RATE); + }); + }); + + describe('getBidderTimeout', () => { + let getGlobalStub; + + beforeEach(() => { + getGlobalStub = sandbox.stub(prebidGlobal, 'getGlobal').returns({ + getConfig: sandbox.stub().returns(800) + }); + }); + + it('should return bidderTimeout from config if available', () => { + dynamicTimeout.setDynamicTimeoutConfig(enabledConfig); + + const result = dynamicTimeout.getBidderTimeout({}); + + expect(result).to.equal(1000); + }); + + it('should return timeout from reqBidsConfigObj if no config bidderTimeout', () => { + const configWithoutBidderTimeout = { + ...enabledConfig, + config: { ...enabledConfig.config } + }; + delete configWithoutBidderTimeout.config.bidderTimeout; + dynamicTimeout.setDynamicTimeoutConfig(configWithoutBidderTimeout); + + const result = dynamicTimeout.getBidderTimeout({ timeout: 900 }); + + expect(result).to.equal(900); + }); + + it('should fall back to global bidderTimeout if needed', () => { + const configWithoutBidderTimeout = { + ...enabledConfig, + config: { ...enabledConfig.config } + }; + delete configWithoutBidderTimeout.config.bidderTimeout; + dynamicTimeout.setDynamicTimeoutConfig(configWithoutBidderTimeout); + + const result = dynamicTimeout.getBidderTimeout({}); + + expect(result).to.equal(800); + }); + }); + + describe('getFinalTimeout', () => { + let logInfoStub; + + beforeEach(() => { + logInfoStub = sandbox.stub(utils, 'logInfo'); + // Set up a default config for getFinalTimeout tests + dynamicTimeout.setDynamicTimeoutConfig({ + enabled: true, + config: { + thresholdTimeout: 500 + } + }); + }); + + it('should return calculated timeout when above threshold', () => { + const bidderTimeout = 1000; + const additionalTimeout = 200; + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(1200); // 1000 + 200 + }); + + it('should return threshold timeout when calculated timeout is below threshold', () => { + const bidderTimeout = 300; + const additionalTimeout = 100; + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(500); // threshold timeout + }); + + it('should handle negative additional timeout gracefully', () => { + const bidderTimeout = 1000; + const additionalTimeout = -600; // Results in 400ms, below threshold + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(500); // threshold timeout + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.include('Calculated timeout (400ms) below threshold'); + }); + + it('should handle negative bidder timeout gracefully', () => { + const bidderTimeout = -200; + const additionalTimeout = 100; + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(500); // threshold timeout (since -200 + 100 = -100 < 500) + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.include('Warning: Negative timeout calculated (-100ms)'); + }); + + it('should handle both negative values gracefully', () => { + const bidderTimeout = -300; + const additionalTimeout = -200; + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(500); // threshold timeout (since -300 + -200 = -500 < 500) + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.include('Warning: Negative timeout calculated (-500ms)'); + }); + + it('should use default threshold when not configured', () => { + // Remove threshold from config + dynamicTimeout.setDynamicTimeoutConfig({ + enabled: true, + config: {} + }); + + const bidderTimeout = 200; + const additionalTimeout = 100; + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(500); // default threshold (500ms) + }); + + it('should handle zero values', () => { + const bidderTimeout = 0; + const additionalTimeout = 0; + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(500); // threshold timeout + }); + + it('should handle large timeout values', () => { + const bidderTimeout = 5000; + const additionalTimeout = 2000; + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(7000); // 5000 + 2000 + }); + + it('should handle custom threshold timeout', () => { + // Set custom threshold + dynamicTimeout.setDynamicTimeoutConfig({ + enabled: true, + config: { + thresholdTimeout: 1000 + } + }); + + const bidderTimeout = 800; + const additionalTimeout = 100; + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(1000); // custom threshold (since 800 + 100 = 900 < 1000) + }); + + it('should handle exactly threshold value', () => { + const bidderTimeout = 400; + const additionalTimeout = 100; + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(500); // exactly at threshold, should return calculated value + }); + + it('should handle no config gracefully', () => { + dynamicTimeout.setDynamicTimeoutConfig(null); + + const bidderTimeout = 300; + const additionalTimeout = 100; + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(500); // default threshold (500ms) + }); + + it('should handle very large negative additional timeout', () => { + const bidderTimeout = 1000; + const additionalTimeout = -2000; // Results in -1000ms, well below threshold + + const result = dynamicTimeout.getFinalTimeout(bidderTimeout, additionalTimeout); + + expect(result).to.equal(500); // threshold timeout + }); + }); + + describe('getRules', () => { + it('should return data rules if available', () => { + dynamicTimeout.setDynamicTimeoutConfig(configWithData); + + const result = dynamicTimeout.getRules(1000); + + expect(result).to.deep.equal(configWithData.data); + }); + + it('should return config timeoutRules if no data rules', () => { + dynamicTimeout.setDynamicTimeoutConfig(enabledConfig); + + const result = dynamicTimeout.getRules(1000); + + expect(result).to.deep.equal(enabledConfig.config.timeoutRules); + }); + + it('should create dynamic rules if no data or config rules', () => { + const configWithoutRules = { + enabled: true, + config: { + skipRate: 20, + bidderTimeout: 1000 + } + }; + dynamicTimeout.setDynamicTimeoutConfig(configWithoutRules); + + const result = dynamicTimeout.getRules(1000); + + expect(result).to.deep.equal(dynamicTimeout.createDynamicRules(dynamicTimeout.RULES_PERCENTAGE, 1000)); + }); + }); + + describe('createDynamicRules', () => { + let logInfoStub; + + beforeEach(() => { + logInfoStub = sandbox.stub(utils, 'logInfo'); + }); + it('should convert percentage rules to millisecond values', () => { + const percentageRules = { + includesVideo: { + 'true': 20, // 20% of bidderTimeout + 'false': 5 // 5% of bidderTimeout + }, + numAdUnits: { + '1-5': 10, // 10% of bidderTimeout + '6-10': 20 // 20% of bidderTimeout + } + }; + + const bidderTimeout = 1000; + const result = dynamicTimeout.createDynamicRules(percentageRules, bidderTimeout); + + expect(result).to.deep.equal({ + includesVideo: { + 'true': 200, // 20% of 1000 + 'false': 50 // 5% of 1000 + }, + numAdUnits: { + '1-5': 100, // 10% of 1000 + '6-10': 200 // 20% of 1000 + } + }); + }); + + it('should handle invalid percentage values', () => { + const percentageRules = { + includesVideo: { + 'true': 'invalid', + 'false': 5 + } + }; + + const bidderTimeout = 1000; + const result = dynamicTimeout.createDynamicRules(percentageRules, bidderTimeout); + + expect(result).to.deep.equal({ + includesVideo: { + 'false': 50 + } + }); + }); + + it('should return empty object for invalid inputs', () => { + expect(dynamicTimeout.createDynamicRules(null, 1000)).to.deep.equal({}); + expect(dynamicTimeout.createDynamicRules({}, 0)).to.deep.equal({}); + expect(dynamicTimeout.createDynamicRules('invalid', 1000)).to.deep.equal({}); + expect(dynamicTimeout.createDynamicRules({}, -10)).to.deep.equal({}); + + // Verify logging for invalid inputs + expect(logInfoStub.callCount).to.equal(4); + expect(logInfoStub.getCall(0).args[0]).to.include('Invalid percentage rules provided'); + expect(logInfoStub.getCall(1).args[0]).to.include('Invalid bidderTimeout (0ms)'); + expect(logInfoStub.getCall(2).args[0]).to.include('Invalid percentage rules provided'); + expect(logInfoStub.getCall(3).args[0]).to.include('Invalid bidderTimeout (-10ms)'); + }); + + it('should skip non-object rule categories', () => { + const percentageRules = { + includesVideo: { + 'true': 20 + }, + numAdUnits: 'invalid' + }; + + const bidderTimeout = 1000; + const result = dynamicTimeout.createDynamicRules(percentageRules, bidderTimeout); + + expect(result).to.deep.equal({ + includesVideo: { + 'true': 200 + } + }); + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.include('Skipping invalid rule category: numAdUnits'); + }); + + it('should handle negative bidderTimeout gracefully', () => { + const percentageRules = { + includesVideo: { + 'true': 20, + 'false': 5 + } + }; + + const result = dynamicTimeout.createDynamicRules(percentageRules, -500); + expect(result).to.deep.equal({}); + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.include('Invalid bidderTimeout (-500ms)'); + }); + + it('should handle zero percentage values', () => { + const percentageRules = { + includesVideo: { + 'true': 0, + 'false': 5 + } + }; + + const bidderTimeout = 1000; + const result = dynamicTimeout.createDynamicRules(percentageRules, bidderTimeout); + + expect(result).to.deep.equal({ + includesVideo: { + 'false': 50 + } + }); + }); + + it('should handle negative percentage values', () => { + const percentageRules = { + includesVideo: { + 'true': -20, + 'false': 5 + } + }; + + const bidderTimeout = 1000; + const result = dynamicTimeout.createDynamicRules(percentageRules, bidderTimeout); + + expect(result).to.deep.equal({ + includesVideo: { + 'true': -200, + 'false': 50 + } + }); + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.include('Warning: Negative timeout calculated for includesVideo.true: -200ms'); + }); + + it('should handle very large percentage values', () => { + const percentageRules = { + includesVideo: { + 'true': 500, // 500% of bidderTimeout + 'false': 5 + } + }; + + const bidderTimeout = 1000; + const result = dynamicTimeout.createDynamicRules(percentageRules, bidderTimeout); + + expect(result).to.deep.equal({ + includesVideo: { + 'true': 5000, // 500% of 1000 + 'false': 50 + } + }); + }); + + it('should handle decimal percentage values', () => { + const percentageRules = { + includesVideo: { + 'true': 2.5, + 'false': 7.8 + } + }; + + const bidderTimeout = 1000; + const result = dynamicTimeout.createDynamicRules(percentageRules, bidderTimeout); + + expect(result).to.deep.equal({ + includesVideo: { + 'true': 25, // Math.floor(1000 * 2.5 / 100) + 'false': 78 // Math.floor(1000 * 7.8 / 100) + } + }); + }); + + it('should handle empty percentage rules object', () => { + const percentageRules = {}; + const bidderTimeout = 1000; + const result = dynamicTimeout.createDynamicRules(percentageRules, bidderTimeout); + + expect(result).to.deep.equal({}); + }); + + it('should handle categories with empty rule objects', () => { + const percentageRules = { + includesVideo: {}, + numAdUnits: { + '1-5': 10 + } + }; + + const bidderTimeout = 1000; + const result = dynamicTimeout.createDynamicRules(percentageRules, bidderTimeout); + + expect(result).to.deep.equal({ + includesVideo: {}, + numAdUnits: { + '1-5': 100 + } + }); + }); + }); + + describe('getTargeting', () => { + it('should return undefined', () => { + expect(dynamicTimeout.getTargeting()).to.be.undefined; + }); + }); + + describe('CONSTANTS', () => { + it('should have the correct LOG_PRE_FIX value', () => { + expect(dynamicTimeout.CONSTANTS.LOG_PRE_FIX).to.equal('PubMatic-Dynamic-Timeout: '); + }); + + it('should have the correct rule type constants', () => { + expect(dynamicTimeout.CONSTANTS.INCLUDES_VIDEOS).to.equal('includesVideo'); + expect(dynamicTimeout.CONSTANTS.NUM_AD_UNITS).to.equal('numAdUnits'); + expect(dynamicTimeout.CONSTANTS.DEVICE_TYPE).to.equal('deviceType'); + expect(dynamicTimeout.CONSTANTS.CONNECTION_SPEED).to.equal('connectionSpeed'); + }); + + it('should be frozen', () => { + expect(Object.isFrozen(dynamicTimeout.CONSTANTS)).to.be.true; + }); + }); + + describe('RULES_PERCENTAGE', () => { + it('should have the correct percentage values', () => { + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.INCLUDES_VIDEOS]['true']).to.equal(20); + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.INCLUDES_VIDEOS]['false']).to.equal(5); + + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.NUM_AD_UNITS]['1-5']).to.equal(10); + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.NUM_AD_UNITS]['6-10']).to.equal(20); + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.NUM_AD_UNITS]['11-15']).to.equal(30); + + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.DEVICE_TYPE]['2']).to.equal(5); + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.DEVICE_TYPE]['4']).to.equal(10); + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.DEVICE_TYPE]['5']).to.equal(20); + + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.CONNECTION_SPEED]['slow']).to.equal(20); + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.CONNECTION_SPEED]['medium']).to.equal(10); + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.CONNECTION_SPEED]['fast']).to.equal(5); + expect(dynamicTimeout.RULES_PERCENTAGE[dynamicTimeout.CONSTANTS.CONNECTION_SPEED]['unknown']).to.equal(1); + }); + }); + + describe('DynamicTimeout export', () => { + it('should export the correct interface', () => { + expect(dynamicTimeout.DynamicTimeout).to.be.an('object'); + expect(dynamicTimeout.DynamicTimeout.init).to.be.a('function'); + expect(dynamicTimeout.DynamicTimeout.processBidRequest).to.be.a('function'); + expect(dynamicTimeout.DynamicTimeout.getTargeting).to.be.a('function'); + }); + }); +}); diff --git a/test/spec/libraries/pubmaticUtils/plugins/floorProvider_spec.js b/test/spec/libraries/pubmaticUtils/plugins/floorProvider_spec.js new file mode 100644 index 00000000000..02c80a827dd --- /dev/null +++ b/test/spec/libraries/pubmaticUtils/plugins/floorProvider_spec.js @@ -0,0 +1,184 @@ +import sinon from 'sinon'; +import * as floorProvider from '../../../../../libraries/pubmaticUtils/plugins/floorProvider.js'; +import * as priceFloors from '../../../../../modules/priceFloors.js'; +import * as pubmaticUtils from '../../../../../libraries/pubmaticUtils/pubmaticUtils.js'; +import {expect} from 'chai'; + +describe('FloorProvider', () => { + const floorsobj = { + enabled: true, + pmTargetingKeys: { + enabled: true, + multiplier: { win: 4, floored: 10, nobid: 100 } + }, + config: { + endpoint: 'https://pubmatic.com/floor', + enforcement: { floorDeals: false, enforceJS: false }, + floorMin: 0.22, + skipRate: 0, + defaultValues: { '*|*': 0.22 } + }, + data: { + currency: 'USD', + skipRate: 0, + modelVersion: 'Mock API model version', + multiplier: { win: 1.1, floored: 0.9, nobid: 1.3 }, + schema: { + fields: ['mediaType', 'size', 'domain', 'adUnitCode', 'deviceType', 'timeOfDay', 'browser', 'os', 'utm', 'country', 'bidder'] + }, + values: { + "banner|728x90|localhost|div1|0|afternoon|9|1|0|IN|pubmatic": 9.234, + }, + default: 0.23, + userIds: ['id5id'] + } + }; + + beforeEach(() => { + floorProvider.init('dynamicFloors', { + getConfigByName: () => floorsobj + }); + }); + it('should initialize floor provider and set config correctly', async () => { + const pluginName = 'dynamicFloors'; + const configJsonManager = { + getConfigByName: (name) => name === pluginName ? floorsobj : undefined, + country: "IN" + }; + + let continueAuctionStub; + before(() => { + continueAuctionStub = sinon.stub(priceFloors, 'continueAuction').callsFake(() => true); + }); + + const result = await floorProvider.init(pluginName, configJsonManager); + + expect(result).to.be.true; + expect(floorProvider.getFloorConfig()).to.deep.equal(floorsobj); + + after(() => { + sinon.restore(); + }); + }); + + it('should return input unchanged if floor config is missing or disabled', async () => { + const input = { + adUnits: [ + { + adUnitCode: 'div1', + sizes: [728, 90], + bids: [{ bidder: 'pubmatic' }] + } + ], + adUnitCodes: ['div1'] + }; + const result = await floorProvider.processBidRequest(input); + // Check that adUnitCodes are unchanged + expect(result.adUnitCodes).to.deep.equal(input.adUnitCodes); + // Check that adUnits core fields are unchanged + expect(result.adUnits[0].adUnitCode).to.equal('div1'); + expect(result.adUnits[0].sizes).to.deep.equal([728, 90]); + expect(result.adUnits[0].bids[0]).to.include({ bidder: 'pubmatic' }); + }); + + it('should handle errors in continueAuction gracefully', async () => { + let continueAuctionStub; + before(() => { + continueAuctionStub = sinon.stub(priceFloors, 'continueAuction').callsFake(() => { throw new Error('fail!'); }); + }); + + floorProvider.init('dynamicFloors', { + getConfigByName: () => floorsobj + }); + + const req = {err: 4}; + const result = await floorProvider.processBidRequest(req); + + expect(result).to.equal(req); + + after(() => { + sinon.restore(); + }); + }); + + it('getTargeting should return undefined or do nothing', () => { + expect(floorProvider.getTargeting([], {}, {}, {})).to.be.undefined; + }); + it('should return correct floor config using getFloorConfig', () => { + floorProvider.init('dynamicFloors', { + getConfigByName: () => floorsobj + }); + expect(floorProvider.getFloorConfig()).to.deep.equal(floorsobj); + }); + + it('should return false if getConfigByName returns undefined', async () => { + const result = await floorProvider.init('', { getConfigByName: () => undefined }); + expect(result).to.equal(false); + }); + + it('should return false when floor configuration is disabled', async () => { + const disabledConfig = { ...floorsobj, enabled: false }; + const result = await floorProvider.init('dynamicFloors', { + getConfigByName: () => disabledConfig + }); + expect(result).to.equal(false); + expect(floorProvider.getFloorConfig()).to.deep.equal(disabledConfig); + }); + + it('should cover getConfigJsonManager export and log its value', async () => { + const configJsonManager = { getConfigByName: () => floorsobj }; + const result = await floorProvider.init('testPlugin', configJsonManager); + const mgr = floorProvider.getConfigJsonManager(); + expect(mgr.getConfigByName('testPlugin')).to.deep.equal(floorsobj); + expect(result).to.be.true; + }); + describe('Utility Exports', () => { + afterEach(() => { + sinon.restore(); + }); + + it('getCountry should return country from configJsonManager', async () => { + const enabledConfig = { ...floorsobj, enabled: true }; + floorProvider.init('any', { country: 'IN', getConfigByName: () => enabledConfig }); + expect(floorProvider.getCountry()).to.equal('IN'); + }); + + it('getOs should return string from getOS', async () => { + // Import userAgentUtils and stub getOS there + const userAgentUtils = require('libraries/userAgentUtils/index.js'); + const fakeOS = { toString: () => 'MacOS' }; + const stub = sinon.stub(userAgentUtils, 'getOS').returns(fakeOS); + expect(floorProvider.getOs()).to.equal('MacOS'); + stub.restore(); + }); + afterEach(() => { + sinon.restore(); + }); + + it('getTimeOfDay should return result from getCurrentTimeOfDay', async () => { + const stub = sinon.stub(pubmaticUtils, 'getCurrentTimeOfDay').returns('evening'); + expect(floorProvider.getTimeOfDay()).to.equal('evening'); + }); + + it('should return a string device type using getDeviceType', async () => { + expect(floorProvider.getDeviceType()).to.be.a('string'); + }); + + it('getBrowser should return result from getBrowser', async () => { + const stub = sinon.stub(pubmaticUtils, 'getBrowserType').returns('Chrome'); + expect(floorProvider.getBrowser()).to.equal('Chrome'); + }); + + it('getUtm should return result from getUtmValue', async () => { + const stub = sinon.stub(pubmaticUtils, 'getUtmValue').returns('evening'); + expect(floorProvider.getUtm()).to.equal('evening'); + }); + + it('getBidder should return bidder from request', async () => { + floorProvider.init('dynamicFloors', { getConfigByName: () => floorsobj }); + expect(floorProvider.getBidder({ bidder: 'pubmatic' })).to.equal('pubmatic'); + expect(floorProvider.getBidder({})).to.equal(undefined); + expect(floorProvider.getBidder(undefined)).to.equal(undefined); + }); + }); +}); diff --git a/test/spec/libraries/pubmaticUtils/plugins/pluginManager_spec.js b/test/spec/libraries/pubmaticUtils/plugins/pluginManager_spec.js new file mode 100644 index 00000000000..95da25120ff --- /dev/null +++ b/test/spec/libraries/pubmaticUtils/plugins/pluginManager_spec.js @@ -0,0 +1,489 @@ +import { expect } from 'chai'; +import sinon from 'sinon'; +import * as utils from '../../../../../src/utils.js'; +import { PluginManager, plugins, CONSTANTS } from '../../../../../libraries/pubmaticUtils/plugins/pluginManager.js'; + +describe('Plugin Manager', () => { + let sandbox; + let logInfoStub; + let logWarnStub; + let logErrorStub; + let pluginManager; + let mockPlugin; + let mockConfigJsonManager; + + beforeEach(() => { + sandbox = sinon.createSandbox(); + logInfoStub = sandbox.stub(utils, 'logInfo'); + logWarnStub = sandbox.stub(utils, 'logWarn'); + logErrorStub = sandbox.stub(utils, 'logError'); + + // Clear plugins map before each test + plugins.clear(); + + pluginManager = PluginManager(); + + // Create mock plugin with synchronous methods + mockPlugin = { + init: sandbox.stub().resolves(true), + testHook: sandbox.stub().returns({ result: 'success' }), + errorHook: sandbox.stub().throws(new Error('Test error')), + nullHook: sandbox.stub().returns(null), + objectHook: sandbox.stub().returns({ key1: 'value1', key2: 'value2' }) + }; + + // Create mock config manager + mockConfigJsonManager = { + getConfigByName: sandbox.stub().returns({ enabled: true }) + }; + }); + + afterEach(() => { + sandbox.restore(); + }); + + describe('register', () => { + it('should register a plugin successfully', () => { + pluginManager.register('testPlugin', mockPlugin); + + expect(plugins.has('testPlugin')).to.be.true; + expect(plugins.get('testPlugin')).to.equal(mockPlugin); + }); + + it('should log warning when registering a plugin with existing name', () => { + pluginManager.register('testPlugin', mockPlugin); + pluginManager.register('testPlugin', { init: () => {} }); + + expect(logWarnStub.calledOnce).to.be.true; + expect(logWarnStub.firstCall.args[0]).to.equal(`${CONSTANTS.LOG_PRE_FIX} Plugin testPlugin already registered`); + expect(plugins.get('testPlugin')).to.equal(mockPlugin); // Should keep the original plugin + }); + + it('should handle registering plugins with null or undefined values', () => { + pluginManager.register('nullPlugin', null); + pluginManager.register('undefinedPlugin', undefined); + + expect(plugins.has('nullPlugin')).to.be.true; + expect(plugins.get('nullPlugin')).to.be.null; + expect(plugins.has('undefinedPlugin')).to.be.true; + expect(plugins.get('undefinedPlugin')).to.be.undefined; + }); + }); + + // Test the unregister functionality through the initialize method + describe('unregister functionality', () => { + it('should unregister plugins when initialization fails', async () => { + const failingPlugin = { + init: sandbox.stub().resolves(false) + }; + + pluginManager.register('failingPlugin', failingPlugin); + + await pluginManager.initialize(mockConfigJsonManager); + + // Verify plugin was removed + expect(plugins.has('failingPlugin')).to.be.false; + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.equal(`${CONSTANTS.LOG_PRE_FIX} Unregistering plugin failingPlugin`); + }); + + it('should not unregister plugins when initialization succeeds', async () => { + pluginManager.register('testPlugin', mockPlugin); + + await pluginManager.initialize(mockConfigJsonManager); + + // Verify plugin was not removed + expect(plugins.has('testPlugin')).to.be.true; + expect(logInfoStub.called).to.be.false; + }); + + it('should handle multiple plugins with some failing initialization', async () => { + const failingPlugin = { + init: sandbox.stub().resolves(false) + }; + + pluginManager.register('failingPlugin', failingPlugin); + pluginManager.register('testPlugin', mockPlugin); + + await pluginManager.initialize(mockConfigJsonManager); + + // Verify only failing plugin was removed + expect(plugins.has('failingPlugin')).to.be.false; + expect(plugins.has('testPlugin')).to.be.true; + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.equal(`${CONSTANTS.LOG_PRE_FIX} Unregistering plugin failingPlugin`); + }); + }); + + describe('initialize', () => { + it('should initialize all registered plugins', async () => { + pluginManager.register('testPlugin1', mockPlugin); + + const anotherPlugin = { + init: sandbox.stub().resolves(true) + }; + pluginManager.register('testPlugin2', anotherPlugin); + + await pluginManager.initialize(mockConfigJsonManager); + + expect(mockPlugin.init.calledOnce).to.be.true; + expect(mockPlugin.init.firstCall.args[0]).to.equal('testPlugin1'); + expect(mockPlugin.init.firstCall.args[1]).to.equal(mockConfigJsonManager); + + expect(anotherPlugin.init.calledOnce).to.be.true; + expect(anotherPlugin.init.firstCall.args[0]).to.equal('testPlugin2'); + expect(anotherPlugin.init.firstCall.args[1]).to.equal(mockConfigJsonManager); + }); + + it('should unregister plugin if initialization fails', async () => { + const failingPlugin = { + init: sandbox.stub().resolves(false) + }; + + pluginManager.register('failingPlugin', failingPlugin); + pluginManager.register('testPlugin', mockPlugin); + + await pluginManager.initialize(mockConfigJsonManager); + + expect(plugins.has('failingPlugin')).to.be.false; + expect(plugins.has('testPlugin')).to.be.true; + expect(logInfoStub.calledOnce).to.be.true; + expect(logInfoStub.firstCall.args[0]).to.equal(`${CONSTANTS.LOG_PRE_FIX} Unregistering plugin failingPlugin`); + }); + + it('should handle plugins without init method', async () => { + const pluginWithoutInit = { + testHook: sandbox.stub().returns({ result: 'success' }) + }; + + pluginManager.register('pluginWithoutInit', pluginWithoutInit); + pluginManager.register('testPlugin', mockPlugin); + + await pluginManager.initialize(mockConfigJsonManager); + + expect(plugins.has('pluginWithoutInit')).to.be.true; + expect(plugins.has('testPlugin')).to.be.true; + expect(mockPlugin.init.calledOnce).to.be.true; + }); + + it('should handle rejected promises during initialization', async () => { + const rejectingPlugin = { + init: sandbox.stub().rejects(new Error('Initialization error')) + }; + + pluginManager.register('rejectingPlugin', rejectingPlugin); + pluginManager.register('testPlugin', mockPlugin); + + try { + await pluginManager.initialize(mockConfigJsonManager); + // If we get here without an error being thrown, the test should fail + expect.fail('Expected initialize to throw an error'); + } catch (e) { + // Expected to catch the error + expect(e.message).to.equal('Initialization error'); + } + + // The plugin should still be registered since the unregister happens only on false return + expect(plugins.has('rejectingPlugin')).to.be.true; + expect(plugins.has('testPlugin')).to.be.true; + }); + + it('should handle null or undefined configJsonManager', async () => { + pluginManager.register('testPlugin', mockPlugin); + + await pluginManager.initialize(null); + + expect(mockPlugin.init.calledOnce).to.be.true; + expect(mockPlugin.init.firstCall.args[0]).to.equal('testPlugin'); + expect(mockPlugin.init.firstCall.args[1]).to.be.null; + + // Reset for next test + mockPlugin.init.reset(); + + await pluginManager.initialize(undefined); + + expect(mockPlugin.init.calledOnce).to.be.true; + expect(mockPlugin.init.firstCall.args[0]).to.equal('testPlugin'); + expect(mockPlugin.init.firstCall.args[1]).to.be.undefined; + }); + }); + + describe('executeHook', () => { + beforeEach(() => { + pluginManager.register('testPlugin', mockPlugin); + }); + + it('should execute hook on all registered plugins', () => { + const results = pluginManager.executeHook('testHook', 'arg1', 'arg2'); + + expect(mockPlugin.testHook.calledOnce).to.be.true; + expect(mockPlugin.testHook.firstCall.args[0]).to.equal('arg1'); + expect(mockPlugin.testHook.firstCall.args[1]).to.equal('arg2'); + expect(results).to.deep.equal({ result: 'success' }); + }); + + it('should handle errors during hook execution', () => { + const results = pluginManager.executeHook('errorHook'); + + expect(mockPlugin.errorHook.calledOnce).to.be.true; + expect(logErrorStub.calledOnce).to.be.true; + expect(logErrorStub.firstCall.args[0]).to.equal(`${CONSTANTS.LOG_PRE_FIX} Error executing hook errorHook in plugin testPlugin: Test error`); + expect(results).to.deep.equal({}); + }); + + it('should skip null or undefined results', () => { + const results = pluginManager.executeHook('nullHook'); + + expect(mockPlugin.nullHook.calledOnce).to.be.true; + expect(results).to.deep.equal({}); + }); + + it('should merge results from multiple plugins', () => { + const anotherPlugin = { + testHook: sandbox.stub().returns({ key3: 'value3', key4: 'value4' }) + }; + + pluginManager.register('anotherPlugin', anotherPlugin); + + const results = pluginManager.executeHook('testHook'); + + expect(mockPlugin.testHook.calledOnce).to.be.true; + expect(anotherPlugin.testHook.calledOnce).to.be.true; + expect(results).to.deep.equal({ + result: 'success', + key3: 'value3', + key4: 'value4' + }); + }); + + it('should handle non-object results', () => { + mockPlugin.testHook = sandbox.stub().returns('string result'); + + const results = pluginManager.executeHook('testHook'); + + expect(mockPlugin.testHook.calledOnce).to.be.true; + expect(results).to.deep.equal({}); + }); + + it('should handle plugins without the requested hook', () => { + const results = pluginManager.executeHook('nonExistentHook'); + + expect(results).to.deep.equal({}); + }); + + it('should merge results from multiple object hooks', () => { + const results = pluginManager.executeHook('objectHook'); + + expect(mockPlugin.objectHook.calledOnce).to.be.true; + expect(results).to.deep.equal({ + key1: 'value1', + key2: 'value2' + }); + }); + + it('should handle errors during plugin filtering', () => { + // Create a scenario where Array.from throws an error + const originalArrayFrom = Array.from; + Array.from = sandbox.stub().throws(new Error('Array.from error')); + + const results = pluginManager.executeHook('testHook'); + + expect(logErrorStub.calledOnce).to.be.true; + expect(logErrorStub.firstCall.args[0]).to.equal(`${CONSTANTS.LOG_PRE_FIX} Error in executeHookSync: Array.from error`); + expect(results).to.deep.equal({}); + + // Restore original Array.from + Array.from = originalArrayFrom; + }); + + it('should handle synchronous hook functions', () => { + const syncPlugin = { + syncHook: sandbox.stub().returns({ syncKey: 'syncValue' }) + }; + + pluginManager.register('syncPlugin', syncPlugin); + + const results = pluginManager.executeHook('syncHook'); + + expect(syncPlugin.syncHook.calledOnce).to.be.true; + expect(results).to.deep.equal({ syncKey: 'syncValue' }); + }); + + it('should handle overwriting properties when merging results', () => { + const plugin1 = { + duplicateHook: sandbox.stub().returns({ key: 'value1' }) + }; + + const plugin2 = { + duplicateHook: sandbox.stub().returns({ key: 'value2' }) + }; + + pluginManager.register('plugin1', plugin1); + pluginManager.register('plugin2', plugin2); + + const results = pluginManager.executeHook('duplicateHook'); + + expect(plugin1.duplicateHook.calledOnce).to.be.true; + expect(plugin2.duplicateHook.calledOnce).to.be.true; + + // The last plugin's value should win in case of duplicate keys + expect(results).to.deep.equal({ key: 'value2' }); + }); + + it('should handle empty plugins map', () => { + // Clear all plugins + plugins.clear(); + + const results = pluginManager.executeHook('testHook'); + + expect(results).to.deep.equal({}); + }); + + it('should handle complex nested object results', () => { + const complexPlugin = { + complexHook: sandbox.stub().returns({ + level1: { + level2: { + level3: 'deep value' + }, + array: [1, 2, 3] + }, + topLevel: 'top value' + }) + }; + + pluginManager.register('complexPlugin', complexPlugin); + + const results = pluginManager.executeHook('complexHook'); + + expect(complexPlugin.complexHook.calledOnce).to.be.true; + expect(results).to.deep.equal({ + level1: { + level2: { + level3: 'deep value' + }, + array: [1, 2, 3] + }, + topLevel: 'top value' + }); + }); + + it('should handle plugins that return promises', () => { + const promisePlugin = { + promiseHook: sandbox.stub().returns(Promise.resolve({ promiseKey: 'promiseValue' })) + }; + + pluginManager.register('promisePlugin', promisePlugin); + + const results = pluginManager.executeHook('promiseHook'); + + // Since executeHook is synchronous, it should treat the promise as an object + expect(promisePlugin.promiseHook.calledOnce).to.be.true; + expect(results).to.deep.equal({}); + }); + }); + + describe('CONSTANTS', () => { + it('should have the correct LOG_PRE_FIX value', () => { + expect(CONSTANTS.LOG_PRE_FIX).to.equal('PubMatic-Plugin-Manager: '); + }); + + it('should be frozen', () => { + expect(Object.isFrozen(CONSTANTS)).to.be.true; + }); + + it('should not allow modification of constants', () => { + try { + CONSTANTS.LOG_PRE_FIX = 'Modified prefix'; + // If we get here, the test should fail because the constant was modified + expect.fail('Expected an error when modifying frozen CONSTANTS'); + } catch (e) { + // This is expected behavior + expect(e).to.be.an.instanceof(TypeError); + expect(CONSTANTS.LOG_PRE_FIX).to.equal('PubMatic-Plugin-Manager: '); + } + }); + }); + + // Test browser compatibility + describe('browser compatibility', () => { + let originalMap; + let originalObjectEntries; + let originalObjectAssign; + + beforeEach(() => { + // Store original implementations + originalMap = global.Map; + originalObjectEntries = Object.entries; + originalObjectAssign = Object.assign; + }); + + afterEach(() => { + // Restore original implementations + global.Map = originalMap; + Object.entries = originalObjectEntries; + Object.assign = originalObjectAssign; + }); + + it('should handle browser environments where Map is not available', function() { + // Skip this test if running in a real browser environment + if (typeof window !== 'undefined' && window.Map) { + this.skip(); + return; + } + + // Mock a browser environment where Map is not available + const MapBackup = global.Map; + global.Map = undefined; + + try { + // This should not throw an error + expect(() => { + const pm = PluginManager(); + pm.register('testPlugin', {}); + }).to.not.throw(); + } finally { + // Restore Map + global.Map = MapBackup; + } + }); + + it('should handle browser environments where Object.entries is not available', function() { + // Skip this test if running in a real browser environment + if (typeof window !== 'undefined') { + this.skip(); + return; + } + + // Mock a browser environment where Object.entries is not available + Object.entries = undefined; + + // Register a plugin + pluginManager.register('testPlugin', mockPlugin); + + // This should not throw an error + expect(() => { + pluginManager.executeHook('testHook'); + }).to.not.throw(); + }); + + it('should handle browser environments where Object.assign is not available', function() { + // Skip this test if running in a real browser environment + if (typeof window !== 'undefined') { + this.skip(); + return; + } + + // Mock a browser environment where Object.assign is not available + Object.assign = undefined; + + // Register a plugin + pluginManager.register('testPlugin', mockPlugin); + + // This should not throw an error + expect(() => { + pluginManager.executeHook('testHook'); + }).to.not.throw(); + }); + }); +}); diff --git a/test/spec/libraries/pubmaticUtils/plugins/unifiedPricingRule_spec.js b/test/spec/libraries/pubmaticUtils/plugins/unifiedPricingRule_spec.js new file mode 100644 index 00000000000..0eaa38a87f6 --- /dev/null +++ b/test/spec/libraries/pubmaticUtils/plugins/unifiedPricingRule_spec.js @@ -0,0 +1,359 @@ +import sinon from 'sinon'; +import { expect } from 'chai'; + +import * as unifiedPricingRule from '../../../../../libraries/pubmaticUtils/plugins/unifiedPricingRule.js'; +import * as prebidGlobal from '../../../../../src/prebidGlobal.js'; +import * as utils from '../../../../../src/utils.js'; + +// Helper profile configuration with multipliers defined at config.json level +const profileConfigs = { + plugins: { + dynamicFloors: { + pmTargetingKeys: { + enabled: true, + multiplier: { win: 2, floored: 3, nobid: 4 } + }, + data: { + multiplier: { win: 1.5, floored: 0.8, nobid: 1.2 } + } + } + } +}; + +describe('UnifiedPricingRule - getTargeting scenarios', () => { + let sandbox; + let pbjsStub; + + beforeEach(() => { + sandbox = sinon.createSandbox(); + + // Stub logger methods to keep test output clean + sandbox.stub(utils, 'logInfo'); + sandbox.stub(utils, 'logError'); + + // Stub getGlobal to return our fake pbjs object + pbjsStub = { + getHighestCpmBids: sandbox.stub() + }; + sandbox.stub(prebidGlobal, 'getGlobal').returns(pbjsStub); + + // Initialise plugin with mock config manager + unifiedPricingRule.init('dynamicFloors', { + getYMConfig: () => profileConfigs + }); + }); + + afterEach(() => { + sandbox.restore(); + }); + + const AD_UNIT_CODE = 'div1'; + + /** + * Utility to build an auction object skeleton + */ + function buildAuction({ adUnits = [], bidsReceived = [], bidsRejected, bidderRequests } = {}) { + return { + adUnits, + bidsReceived, + bidsRejected, + bidderRequests + }; + } + + it('Winning bid', () => { + const winningBid = { + adUnitCode: AD_UNIT_CODE, + cpm: 2.5, + floorData: { floorProvider: 'PM', skipped: false, floorValue: 1.0 } + }; + + // pbjs should return highest CPM bids + pbjsStub.getHighestCpmBids.withArgs(AD_UNIT_CODE).returns([winningBid]); + + const auction = buildAuction({ + adUnits: [{ bids: [winningBid] }], + bidsReceived: [winningBid] + }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(targeting[AD_UNIT_CODE].pm_ym_flrs).to.equal(1); + expect(targeting[AD_UNIT_CODE].pm_ym_bid_s).to.equal(1); + expect(targeting[AD_UNIT_CODE].pm_ym_flrv).to.equal('5.00'); // 2.5 * 2 + }); + + it('No bid - uses findFloorValueFromBidderRequests to derive floor', () => { + pbjsStub.getHighestCpmBids.withArgs(AD_UNIT_CODE).returns([]); + + const bidRequest = { + adUnitCode: AD_UNIT_CODE, + mediaTypes: { banner: { sizes: [[300, 250]] } }, + getFloor: () => ({ currency: 'USD', floor: 2.0 }) + }; + + // Dummy RTD-floor-applied bid for a different ad-unit so that hasRtdFloorAppliedBid === true + const dummyBid = { + adUnitCode: 'dummy', + floorData: { floorProvider: 'PM', skipped: false, floorValue: 1.0 } + }; + + const auction = buildAuction({ + adUnits: [{ bids: [] }, { code: 'dummy', bids: [dummyBid] }], + bidsReceived: [dummyBid], + bidderRequests: [{ bids: [bidRequest] }] + }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(targeting[AD_UNIT_CODE].pm_ym_flrs).to.equal(1); + expect(targeting[AD_UNIT_CODE].pm_ym_bid_s).to.equal(0); + // 2.0 (min floor) * 4 (nobid multiplier) => 8.00 + expect(targeting[AD_UNIT_CODE].pm_ym_flrv).to.equal('8.00'); + }); + + it('No bid & bidderRequests missing for adUnit - floor value 0', () => { + pbjsStub.getHighestCpmBids.withArgs(AD_UNIT_CODE).returns([]); + + // bidderRequests only for different adUnit code + const otherBidRequest = { + adUnitCode: 'other', + mediaTypes: { banner: { sizes: [[300, 250]] } }, + getFloor: () => ({ currency: 'USD', floor: 5.0 }) + }; + + // RTD floor applied bid to ensure pm_ym_flrs logic executes + const dummyBid = { + adUnitCode: 'dummy', + floorData: { floorProvider: 'PM', skipped: false, floorValue: 1.0 } + }; + + const auction = buildAuction({ + adUnits: [{ bids: [] }, { code: 'dummy', bids: [dummyBid] }], + bidsReceived: [dummyBid], + bidderRequests: [{ bids: [otherBidRequest] }] + }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(targeting[AD_UNIT_CODE].pm_ym_flrs).to.equal(1); + expect(targeting[AD_UNIT_CODE].pm_ym_bid_s).to.equal(0); + expect(targeting[AD_UNIT_CODE].pm_ym_flrv).to.equal('0.00'); + }); + + it('No bid - bidderRequests array missing', () => { + pbjsStub.getHighestCpmBids.withArgs(AD_UNIT_CODE).returns([]); + + // Dummy bid to ensure RTD floor flag is true + const dummyBid = { + adUnitCode: 'dummy', + floorData: { floorProvider: 'PM', skipped: false, floorValue: 1.0 } + }; + + const auction = buildAuction({ + adUnits: [{ bids: [] }, { code: 'dummy', bids: [dummyBid] }], + bidsReceived: [dummyBid] + // bidderRequests is undefined => triggers early return 0 + }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(targeting[AD_UNIT_CODE].pm_ym_flrs).to.equal(1); + expect(targeting[AD_UNIT_CODE].pm_ym_bid_s).to.equal(0); + expect(targeting[AD_UNIT_CODE].pm_ym_flrv).to.equal('0.00'); + }); + + it('No bid - bidderRequest has no getFloor method', () => { + pbjsStub.getHighestCpmBids.withArgs(AD_UNIT_CODE).returns([]); + + const bidRequest = { + adUnitCode: AD_UNIT_CODE, + mediaTypes: { banner: { sizes: [[300, 250]] } }, // no getFloor defined + }; + + const dummyBid = { + adUnitCode: 'dummy', + floorData: { floorProvider: 'PM', skipped: false, floorValue: 1.0 } + }; + + const auction = buildAuction({ + adUnits: [{ bids: [] }, { code: 'dummy', bids: [dummyBid] }], + bidsReceived: [dummyBid], + bidderRequests: [{ bids: [bidRequest] }] + }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(targeting[AD_UNIT_CODE].pm_ym_flrs).to.equal(1); + expect(targeting[AD_UNIT_CODE].pm_ym_bid_s).to.equal(0); + expect(targeting[AD_UNIT_CODE].pm_ym_flrv).to.equal('0.00'); + }); + + it('No bid - video playerSize processed', () => { + pbjsStub.getHighestCpmBids.withArgs(AD_UNIT_CODE).returns([]); + + const videoFloorStub = sinon.stub().returns({ currency: 'USD', floor: 3.0 }); + + const bidRequest = { + adUnitCode: AD_UNIT_CODE, + mediaTypes: { video: { playerSize: [[640, 480]] } }, + getFloor: videoFloorStub + }; + + const dummyBid = { + adUnitCode: 'dummy', + floorData: { floorProvider: 'PM', skipped: false, floorValue: 1.0 } + }; + + const auction = buildAuction({ + adUnits: [{ bids: [] }, { code: 'dummy', bids: [dummyBid] }], + bidsReceived: [dummyBid], + bidderRequests: [{ bids: [bidRequest] }] + }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(videoFloorStub.called).to.be.true; + expect(videoFloorStub.firstCall.args[0].mediaType).to.equal('video'); + expect(targeting[AD_UNIT_CODE].pm_ym_flrs).to.equal(1); + expect(targeting[AD_UNIT_CODE].pm_ym_bid_s).to.equal(0); + expect(targeting[AD_UNIT_CODE].pm_ym_flrv).to.equal('12.00'); // 3 * 4 + }); + + it('No bid - fallback sizes array used', () => { + pbjsStub.getHighestCpmBids.withArgs(AD_UNIT_CODE).returns([]); + + const sizesFloorStub = sinon.stub().returns({ currency: 'USD', floor: 4.0 }); + + const bidRequest = { + adUnitCode: AD_UNIT_CODE, + sizes: [[300, 600]], // general sizes (no mediaTypes) + getFloor: sizesFloorStub + }; + + const dummyBid = { + adUnitCode: 'dummy', + floorData: { floorProvider: 'PM', skipped: false, floorValue: 1.0 } + }; + + const auction = buildAuction({ + adUnits: [{ bids: [] }, { code: 'dummy', bids: [dummyBid] }], + bidsReceived: [dummyBid], + bidderRequests: [{ bids: [bidRequest] }] + }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(sizesFloorStub.called).to.be.true; + expect(sizesFloorStub.firstCall.args[0].mediaType).to.equal('banner'); + expect(targeting[AD_UNIT_CODE].pm_ym_flrs).to.equal(1); + expect(targeting[AD_UNIT_CODE].pm_ym_bid_s).to.equal(0); + expect(targeting[AD_UNIT_CODE].pm_ym_flrv).to.equal('16.00'); // 4 * 4 + }); + + it('No bid - wildcard size used when no sizes found', () => { + pbjsStub.getHighestCpmBids.withArgs(AD_UNIT_CODE).returns([]); + + const wildcardFloorStub = sinon.stub().returns({ currency: 'USD', floor: 5.0 }); + + const bidRequest = { + adUnitCode: AD_UNIT_CODE, + getFloor: wildcardFloorStub + }; + + const dummyBid = { + adUnitCode: 'dummy', + floorData: { floorProvider: 'PM', skipped: false, floorValue: 1.0 } + }; + + const auction = buildAuction({ + adUnits: [{ code: AD_UNIT_CODE, bids: [] }, { code: 'dummy', bids: [dummyBid] }], + bidsReceived: [dummyBid], + bidderRequests: [{ bids: [bidRequest] }] + }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(wildcardFloorStub.called).to.be.true; + const floorArgs = wildcardFloorStub.firstCall.args[0]; + expect(floorArgs.mediaType).to.equal('banner'); + expect(floorArgs.size).to.deep.equal(['*', '*']); + expect(targeting[AD_UNIT_CODE].pm_ym_flrs).to.equal(1); + expect(targeting[AD_UNIT_CODE].pm_ym_bid_s).to.equal(0); + expect(targeting[AD_UNIT_CODE].pm_ym_flrv).to.equal('20.00'); // 5 * 4 + }); + + it('Multiplier selection from floor.json when config multiplier missing', () => { + // Re-init with profileConfigs having multiplier only in data.multiplier (floor.json) + unifiedPricingRule.init('dynamicFloors', { + getYMConfig: () => ({ + plugins: { + dynamicFloors: { + pmTargetingKeys: { + enabled: true // no multiplier object here + }, + data: { + multiplier: { win: 1.7 } + } + } + } + }) + }); + + const winningBid = { adUnitCode: AD_UNIT_CODE, cpm: 2.0, floorData: { floorProvider: 'PM', skipped: false, floorValue: 1 } }; + pbjsStub.getHighestCpmBids.withArgs(AD_UNIT_CODE).returns([winningBid]); + + const auction = buildAuction({ adUnits: [{ bids: [winningBid] }], bidsReceived: [winningBid] }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(targeting[AD_UNIT_CODE].pm_ym_flrv).to.equal('3.40'); // 2 * 1.7 + }); + + it('Multiplier default constant used when no multipliers in profileConfigs', () => { + unifiedPricingRule.init('dynamicFloors', { + getYMConfig: () => ({ + plugins: { + dynamicFloors: { + pmTargetingKeys: { enabled: true }, + data: {} // no multiplier in data + } + } + }) + }); + + const winningBid = { adUnitCode: AD_UNIT_CODE, cpm: 2.0, floorData: { floorProvider: 'PM', skipped: false, floorValue: 1 } }; + pbjsStub.getHighestCpmBids.withArgs(AD_UNIT_CODE).returns([winningBid]); + + const auction = buildAuction({ adUnits: [{ bids: [winningBid] }], bidsReceived: [winningBid] }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(targeting[AD_UNIT_CODE].pm_ym_flrv).to.equal('2.00'); // 2 * default 1.0 + }); + + it('RTD floor not applied - pm_ym_flrs should be 0 only', () => { + // Floor data indicates skipped OR different provider + const nonRtdBid = { + adUnitCode: AD_UNIT_CODE, + cpm: 1.0, + floorData: { floorProvider: 'OTHER', skipped: true } + }; + + const auction = buildAuction({ + adUnits: [{ bids: [nonRtdBid] }], + bidsReceived: [nonRtdBid] + }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, auction); + expect(targeting[AD_UNIT_CODE].pm_ym_flrs).to.equal(0); + expect(targeting[AD_UNIT_CODE]).to.not.have.property('pm_ym_flrv'); + expect(targeting[AD_UNIT_CODE]).to.not.have.property('pm_ym_bid_s'); + }); + + it('pmTargetingKeys disabled - should return empty object', () => { + // Re-init with pmTargetingKeys disabled + unifiedPricingRule.init('dynamicFloors', { + getYMConfig: () => ({ + plugins: { + dynamicFloors: { + pmTargetingKeys: { enabled: false } + } + } + }) + }); + + const targeting = unifiedPricingRule.getTargeting([AD_UNIT_CODE], {}, {}, {}); + expect(targeting).to.deep.equal({}); + }); +}); diff --git a/test/spec/libraries/pubmaticUtils/pubmaticUtils_spec.js b/test/spec/libraries/pubmaticUtils/pubmaticUtils_spec.js new file mode 100644 index 00000000000..252bd361ad8 --- /dev/null +++ b/test/spec/libraries/pubmaticUtils/pubmaticUtils_spec.js @@ -0,0 +1,236 @@ +/* globals describe, beforeEach, afterEach, it, sinon */ +import { expect } from 'chai'; +import * as sua from '../../../../src/fpd/sua.js'; +import { getBrowserType, getCurrentTimeOfDay, getUtmValue } from '../../../../libraries/pubmaticUtils/pubmaticUtils.js'; + +describe('pubmaticUtils', () => { + let sandbox; + const ORIGINAL_USER_AGENT = window.navigator.userAgent; + const ORIGINAL_LOCATION = window.location; + + beforeEach(() => { + sandbox = sinon.sandbox.create(); + }); + + afterEach(() => { + sandbox.restore(); + window.navigator.__defineGetter__('userAgent', () => ORIGINAL_USER_AGENT); + + // Restore original window.location if it was modified + if (window.location !== ORIGINAL_LOCATION) { + delete window.location; + window.location = ORIGINAL_LOCATION; + } + }); + + describe('getBrowserType', () => { + it('should return browser type from SUA when available', () => { + const mockSuaData = { + browsers: [ + { brand: 'Chrome' } + ] + }; + + sandbox.stub(sua, 'getLowEntropySUA').returns(mockSuaData); + + expect(getBrowserType()).to.equal('9'); // Chrome ID from BROWSER_REGEX_MAP + }); + + it('should return browser type from userAgent when SUA is not available', () => { + sandbox.stub(sua, 'getLowEntropySUA').returns(null); + + const chromeUserAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'; + window.navigator.__defineGetter__('userAgent', () => chromeUserAgent); + + expect(getBrowserType()).to.equal('9'); // Chrome ID + }); + + it('should return browser type for Edge browser', () => { + sandbox.stub(sua, 'getLowEntropySUA').returns(null); + + const edgeUserAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.59'; + window.navigator.__defineGetter__('userAgent', () => edgeUserAgent); + + expect(getBrowserType()).to.equal('2'); // Edge ID + }); + + it('should return browser type for Opera browser', () => { + sandbox.stub(sua, 'getLowEntropySUA').returns(null); + + const operaUserAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 OPR/77.0.4054.277'; + window.navigator.__defineGetter__('userAgent', () => operaUserAgent); + + expect(getBrowserType()).to.equal('3'); // Opera ID + }); + + it('should return browser type for Firefox browser', () => { + sandbox.stub(sua, 'getLowEntropySUA').returns(null); + + const firefoxUserAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0'; + window.navigator.__defineGetter__('userAgent', () => firefoxUserAgent); + + expect(getBrowserType()).to.equal('12'); // Firefox ID + }); + + it('should return "0" when browser type cannot be determined', () => { + sandbox.stub(sua, 'getLowEntropySUA').returns(null); + + const unknownUserAgent = 'Unknown Browser'; + window.navigator.__defineGetter__('userAgent', () => unknownUserAgent); + + expect(getBrowserType()).to.equal('0'); + }); + + it('should return "-1" when userAgent is null', () => { + sandbox.stub(sua, 'getLowEntropySUA').returns(null); + window.navigator.__defineGetter__('userAgent', () => null); + + expect(getBrowserType()).to.equal('-1'); + }); + }); + + describe('getCurrentTimeOfDay', () => { + let clock; + + afterEach(() => { + if (clock) { + clock.restore(); + } + }); + + it('should return "night" for hours between 0 and 4', () => { + // Set time to 3:30 AM + clock = sinon.useFakeTimers(new Date(2025, 7, 6, 3, 30, 0).getTime()); + expect(getCurrentTimeOfDay()).to.equal('night'); + }); + + it('should return "morning" for hours between 5 and 11', () => { + // Set time to 9:15 AM + clock = sinon.useFakeTimers(new Date(2025, 7, 6, 9, 15, 0).getTime()); + expect(getCurrentTimeOfDay()).to.equal('morning'); + }); + + it('should return "afternoon" for hours between 12 and 16', () => { + // Set time to 2:45 PM + clock = sinon.useFakeTimers(new Date(2025, 7, 6, 14, 45, 0).getTime()); + expect(getCurrentTimeOfDay()).to.equal('afternoon'); + }); + + it('should return "evening" for hours between 17 and 18', () => { + // Set time to 5:30 PM + clock = sinon.useFakeTimers(new Date(2025, 7, 6, 17, 30, 0).getTime()); + expect(getCurrentTimeOfDay()).to.equal('evening'); + }); + + it('should return "night" for hours between 19 and 23', () => { + // Set time to 10:00 PM + clock = sinon.useFakeTimers(new Date(2025, 7, 6, 22, 0, 0).getTime()); + expect(getCurrentTimeOfDay()).to.equal('night'); + }); + }); + + describe('getUtmValue', () => { + // Setup for mocking URL and URLSearchParams + let mockUrl; + let mockUrlParams; + let origURL; + let origURLSearchParams; + + beforeEach(() => { + // Save original constructors + origURL = global.URL; + origURLSearchParams = global.URLSearchParams; + + // Create mock URL and URLSearchParams + mockUrl = {}; + mockUrlParams = { + toString: sandbox.stub().returns(''), + includes: sandbox.stub().returns(false) + }; + + // Mock URL constructor + global.URL = sandbox.stub().returns(mockUrl); + + // Mock URLSearchParams constructor + global.URLSearchParams = sandbox.stub().returns(mockUrlParams); + }); + + afterEach(() => { + // Restore original constructors + global.URL = origURL; + global.URLSearchParams = origURLSearchParams; + }); + + it('should return "1" when URL contains utm_source parameter', () => { + // Setup mock URL with utm_source parameter + mockUrl.search = '?utm_source=test'; + mockUrlParams.toString.returns('utm_source=test'); + mockUrlParams.includes.withArgs('utm_').returns(true); + + expect(getUtmValue()).to.equal('1'); + }); + + it('should return "1" when URL contains utm_medium parameter', () => { + // Setup mock URL with utm_medium parameter + mockUrl.search = '?utm_medium=social'; + mockUrlParams.toString.returns('utm_medium=social'); + mockUrlParams.includes.withArgs('utm_').returns(true); + + expect(getUtmValue()).to.equal('1'); + }); + + it('should return "1" when URL contains utm_campaign parameter', () => { + // Setup mock URL with utm_campaign parameter + mockUrl.search = '?utm_campaign=summer2025'; + mockUrlParams.toString.returns('utm_campaign=summer2025'); + mockUrlParams.includes.withArgs('utm_').returns(true); + + expect(getUtmValue()).to.equal('1'); + }); + + it('should return "1" when URL contains multiple UTM parameters', () => { + // Setup mock URL with multiple UTM parameters + mockUrl.search = '?utm_source=google&utm_medium=cpc&utm_campaign=brand'; + mockUrlParams.toString.returns('utm_source=google&utm_medium=cpc&utm_campaign=brand'); + mockUrlParams.includes.withArgs('utm_').returns(true); + + expect(getUtmValue()).to.equal('1'); + }); + + it('should return "1" when URL contains UTM parameters mixed with other parameters', () => { + // Setup mock URL with mixed parameters + mockUrl.search = '?id=123&utm_source=newsletter&page=2'; + mockUrlParams.toString.returns('id=123&utm_source=newsletter&page=2'); + mockUrlParams.includes.withArgs('utm_').returns(true); + + expect(getUtmValue()).to.equal('1'); + }); + + it('should return "0" when URL contains no UTM parameters', () => { + // Setup mock URL with no UTM parameters + mockUrl.search = '?id=123&page=2'; + mockUrlParams.toString.returns('id=123&page=2'); + mockUrlParams.includes.withArgs('utm_').returns(false); + + expect(getUtmValue()).to.equal('0'); + }); + + it('should return "0" when URL has no query parameters', () => { + // Setup mock URL with no query parameters + mockUrl.search = ''; + mockUrlParams.toString.returns(''); + mockUrlParams.includes.withArgs('utm_').returns(false); + + expect(getUtmValue()).to.equal('0'); + }); + + it('should handle URL with hash fragment correctly', () => { + // Setup mock URL with hash fragment + mockUrl.search = '?utm_source=test'; + mockUrlParams.toString.returns('utm_source=test'); + mockUrlParams.includes.withArgs('utm_').returns(true); + + expect(getUtmValue()).to.equal('1'); + }); + }); +}); diff --git a/test/spec/modules/browsiAnalyticsAdapter_spec.js b/test/spec/modules/browsiAnalyticsAdapter_spec.js index 6e7098b4da5..d7ecfe29f4a 100644 --- a/test/spec/modules/browsiAnalyticsAdapter_spec.js +++ b/test/spec/modules/browsiAnalyticsAdapter_spec.js @@ -1,5 +1,5 @@ +import 'src/prebid.js' import browsiAnalytics, { setStaticData, getStaticData } from '../../../modules/browsiAnalyticsAdapter.js'; - import adapterManager from '../../../src/adapterManager.js'; import { expect } from 'chai'; import { EVENTS } from '../../../src/constants.js'; diff --git a/test/spec/modules/pubmaticRtdProvider_spec.js b/test/spec/modules/pubmaticRtdProvider_spec.js index 830fd585ddc..19536b5ebd4 100644 --- a/test/spec/modules/pubmaticRtdProvider_spec.js +++ b/test/spec/modules/pubmaticRtdProvider_spec.js @@ -1,74 +1,88 @@ import { expect } from 'chai'; -import * as priceFloors from '../../../modules/priceFloors.js'; -import * as utils from '../../../src/utils.js'; -import * as suaModule from '../../../src/fpd/sua.js'; -import { config as conf } from '../../../src/config.js'; -import * as hook from '../../../src/hook.js'; -import * as prebidGlobal from '../../../src/prebidGlobal.js'; -import { - registerSubModule, pubmaticSubmodule, getFloorsConfig, fetchData, - getCurrentTimeOfDay, getBrowserType, getOs, getDeviceType, getCountry, getUtm, getBidder, _country, - _profileConfigs, _floorsData, defaultValueTemplate, withTimeout, configMerged, - getProfileConfigs, setProfileConfigs, getTargetingData -} from '../../../modules/pubmaticRtdProvider.js'; import sinon from 'sinon'; +import * as utils from '../../../src/utils.js'; +import * as pubmaticRtdProvider from '../../../modules/pubmaticRtdProvider.js'; +import { FloorProvider } from '../../../libraries/pubmaticUtils/plugins/floorProvider.js'; +import { UnifiedPricingRule } from '../../../libraries/pubmaticUtils/plugins/unifiedPricingRule.js'; describe('Pubmatic RTD Provider', () => { let sandbox; + let fetchStub; + let logErrorStub; + let originalPluginManager; + let originalConfigJsonManager; + let pluginManagerStub; + let configJsonManagerStub; beforeEach(() => { sandbox = sinon.createSandbox(); - sandbox.stub(conf, 'getConfig').callsFake(() => { - return { - floors: { - 'enforcement': { - 'floorDeals': true, - 'enforceJS': true - } - }, - realTimeData: { - auctionDelay: 100 - } - }; + fetchStub = sandbox.stub(window, 'fetch'); + logErrorStub = sinon.stub(utils, 'logError'); + + // Store original implementations + originalPluginManager = Object.assign({}, pubmaticRtdProvider.pluginManager); + originalConfigJsonManager = Object.assign({}, pubmaticRtdProvider.configJsonManager); + + // Create stubs + pluginManagerStub = { + initialize: sinon.stub().resolves(), + executeHook: sinon.stub().resolves(), + register: sinon.stub() + }; + + configJsonManagerStub = { + fetchConfig: sinon.stub().resolves(true), + getYMConfig: sinon.stub(), + getConfigByName: sinon.stub(), + country: 'IN' + }; + + // Replace exported objects with stubs + Object.keys(pluginManagerStub).forEach(key => { + pubmaticRtdProvider.pluginManager[key] = pluginManagerStub[key]; }); + + Object.keys(configJsonManagerStub).forEach(key => { + if (key === 'country') { + Object.defineProperty(pubmaticRtdProvider.configJsonManager, key, { + get: () => configJsonManagerStub[key] + }); + } else { + pubmaticRtdProvider.configJsonManager[key] = configJsonManagerStub[key]; + } + }); + + // Reset _ymConfigPromise for each test + pubmaticRtdProvider.setYmConfigPromise(Promise.resolve()); }); afterEach(() => { sandbox.restore(); - }); + logErrorStub.restore(); - describe('registerSubModule', () => { - it('should register RTD submodule provider', () => { - const submoduleStub = sinon.stub(hook, 'submodule'); - registerSubModule(); - assert(submoduleStub.calledOnceWith('realTimeData', pubmaticSubmodule)); - submoduleStub.restore(); + // Restore original implementations + Object.keys(originalPluginManager).forEach(key => { + pubmaticRtdProvider.pluginManager[key] = originalPluginManager[key]; }); - }); - describe('submodule', () => { - describe('name', () => { - it('should be pubmatic', () => { - expect(pubmaticSubmodule.name).to.equal('pubmatic'); - }); + Object.keys(originalConfigJsonManager).forEach(key => { + if (key === 'country') { + Object.defineProperty(pubmaticRtdProvider.configJsonManager, 'country', { + get: () => originalConfigJsonManager[key] + }); + } else { + pubmaticRtdProvider.configJsonManager[key] = originalConfigJsonManager[key]; + } }); }); describe('init', () => { - let logErrorStub; - let continueAuctionStub; - - const getConfig = () => ({ + const validConfig = { params: { publisherId: 'test-publisher-id', profileId: 'test-profile-id' - }, - }); - - beforeEach(() => { - logErrorStub = sandbox.stub(utils, 'logError'); - continueAuctionStub = sandbox.stub(priceFloors, 'continueAuction'); - }); + } + }; it('should return false if publisherId is missing', () => { const config = { @@ -76,26 +90,33 @@ describe('Pubmatic RTD Provider', () => { profileId: 'test-profile-id' } }; - expect(pubmaticSubmodule.init(config)).to.be.false; + const result = pubmaticRtdProvider.pubmaticSubmodule.init(config); + expect(result).to.be.false; + expect(logErrorStub.calledOnce).to.be.true; + expect(logErrorStub.firstCall.args[0]).to.equal(`${pubmaticRtdProvider.CONSTANTS.LOG_PRE_FIX} Missing publisher Id.`); }); - it('should return false if profileId is missing', () => { + it('should accept numeric publisherId by converting to string', () => { const config = { params: { - publisherId: 'test-publisher-id' + publisherId: 123, + profileId: 'test-profile-id' } }; - expect(pubmaticSubmodule.init(config)).to.be.false; + const result = pubmaticRtdProvider.pubmaticSubmodule.init(config); + expect(result).to.be.true; }); - it('should accept numeric publisherId by converting to string', () => { + it('should return false if profileId is missing', () => { const config = { params: { - publisherId: 123, - profileId: 'test-profile-id' + publisherId: 'test-publisher-id' } }; - expect(pubmaticSubmodule.init(config)).to.be.true; + const result = pubmaticRtdProvider.pubmaticSubmodule.init(config); + expect(result).to.be.false; + expect(logErrorStub.calledOnce).to.be.true; + expect(logErrorStub.firstCall.args[0]).to.equal(`${pubmaticRtdProvider.CONSTANTS.LOG_PRE_FIX} Missing profile Id.`); }); it('should accept numeric profileId by converting to string', () => { @@ -105,1139 +126,199 @@ describe('Pubmatic RTD Provider', () => { profileId: 345 } }; - expect(pubmaticSubmodule.init(config)).to.be.true; + const result = pubmaticRtdProvider.pubmaticSubmodule.init(config); + expect(result).to.be.true; }); - it('should initialize successfully with valid config', () => { - expect(pubmaticSubmodule.init(getConfig())).to.be.true; - }); + it('should initialize successfully with valid config', async () => { + configJsonManagerStub.fetchConfig.resolves(true); + pluginManagerStub.initialize.resolves(); - it('should handle empty config object', () => { - expect(pubmaticSubmodule.init({})).to.be.false; - expect(logErrorStub.calledWith(sinon.match(/Missing publisher Id/))).to.be.true; - }); + const result = pubmaticRtdProvider.pubmaticSubmodule.init(validConfig); + expect(result).to.be.true; + expect(configJsonManagerStub.fetchConfig.calledOnce).to.be.true; + expect(configJsonManagerStub.fetchConfig.firstCall.args[0]).to.equal('test-publisher-id'); + expect(configJsonManagerStub.fetchConfig.firstCall.args[1]).to.equal('test-profile-id'); - it('should return false if continueAuction is not a function', () => { - continueAuctionStub.value(undefined); - expect(pubmaticSubmodule.init(getConfig())).to.be.false; - expect(logErrorStub.calledWith(sinon.match(/continueAuction is not a function/))).to.be.true; - }); - }); - - describe('getCurrentTimeOfDay', () => { - let clock; - - beforeEach(() => { - clock = sandbox.useFakeTimers(new Date('2024-01-01T12:00:00')); // Set fixed time for testing - }); - - afterEach(() => { - clock.restore(); - }); - - const testTimes = [ - { hour: 6, expected: 'morning' }, - { hour: 13, expected: 'afternoon' }, - { hour: 18, expected: 'evening' }, - { hour: 22, expected: 'night' }, - { hour: 4, expected: 'night' } - ]; - - testTimes.forEach(({ hour, expected }) => { - it(`should return ${expected} at ${hour}:00`, () => { - clock.setSystemTime(new Date().setHours(hour)); - const result = getCurrentTimeOfDay(); - expect(result).to.equal(expected); - }); - }); - }); - - describe('getBrowserType', () => { - let userAgentStub, getLowEntropySUAStub; - - const USER_AGENTS = { - chrome: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36', - firefox: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0', - edge: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edg/91.0.864.67 Safari/537.36', - safari: 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.6 Mobile/15E148 Safari/604.1', - ie: 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)', - opera: 'Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.16', - unknown: 'UnknownBrowser/1.0' - }; - - beforeEach(() => { - userAgentStub = sandbox.stub(navigator, 'userAgent'); - getLowEntropySUAStub = sandbox.stub(suaModule, 'getLowEntropySUA').returns(undefined); - }); - - afterEach(() => { - userAgentStub.restore(); - getLowEntropySUAStub.restore(); + // Wait for promise to resolve + await pubmaticRtdProvider.getYmConfigPromise(); + expect(pluginManagerStub.initialize.firstCall.args[0]).to.equal(pubmaticRtdProvider.configJsonManager); }); - it('should detect Chrome', () => { - userAgentStub.value(USER_AGENTS.chrome); - expect(getBrowserType()).to.equal('9'); - }); - - it('should detect Firefox', () => { - userAgentStub.value(USER_AGENTS.firefox); - expect(getBrowserType()).to.equal('12'); - }); - - it('should detect Edge', () => { - userAgentStub.value(USER_AGENTS.edge); - expect(getBrowserType()).to.equal('2'); - }); + it('should handle config fetch error gracefully', async () => { + configJsonManagerStub.fetchConfig.resolves(false); - it('should detect Internet Explorer', () => { - userAgentStub.value(USER_AGENTS.ie); - expect(getBrowserType()).to.equal('4'); - }); - - it('should detect Opera', () => { - userAgentStub.value(USER_AGENTS.opera); - expect(getBrowserType()).to.equal('3'); - }); - - it('should return 0 for unknown browser', () => { - userAgentStub.value(USER_AGENTS.unknown); - expect(getBrowserType()).to.equal('0'); - }); - - it('should return -1 when userAgent is null', () => { - userAgentStub.value(null); - expect(getBrowserType()).to.equal('-1'); - }); - }); - - describe('Utility functions', () => { - it('should set browser correctly', () => { - expect(getBrowserType()).to.be.a('string'); - }); - - it('should set OS correctly', () => { - expect(getOs()).to.be.a('string'); - }); - - it('should set device type correctly', () => { - expect(getDeviceType()).to.be.a('string'); - }); + const result = pubmaticRtdProvider.pubmaticSubmodule.init(validConfig); + expect(result).to.be.true; - it('should set time of day correctly', () => { - expect(getCurrentTimeOfDay()).to.be.a('string'); - }); - - it('should set country correctly', () => { - expect(getCountry()).to.satisfy(value => typeof value === 'string' || value === undefined); - }); - - it('should set UTM correctly', () => { - expect(getUtm()).to.be.a('string'); - expect(getUtm()).to.be.oneOf(['0', '1']); - }); - - it('should extract bidder correctly', () => { - expect(getBidder({ bidder: 'pubmatic' })).to.equal('pubmatic'); - expect(getBidder({})).to.be.undefined; - expect(getBidder(null)).to.be.undefined; - expect(getBidder(undefined)).to.be.undefined; - }); - }); - - describe('getFloorsConfig', () => { - let floorsData, profileConfigs; - let sandbox; - let logErrorStub; - - beforeEach(() => { - sandbox = sinon.createSandbox(); - logErrorStub = sandbox.stub(utils, 'logError'); - floorsData = { - "currency": "USD", - "floorProvider": "PM", - "floorsSchemaVersion": 2, - "modelGroups": [ - { - "modelVersion": "M_1", - "modelWeight": 100, - "schema": { - "fields": [ - "domain" - ] - }, - "values": { - "*": 2.00 - } - } - ], - "skipRate": 0 - }; - profileConfigs = { - 'plugins': { - 'dynamicFloors': { - 'enabled': true, - 'config': { - 'enforcement': { - 'floorDeals': false, - 'enforceJS': false - }, - 'floorMin': 0.1111, - 'skipRate': 11, - 'defaultValues': { - "*|*": 0.2 - } - } - } - } + try { + await pubmaticRtdProvider.getYmConfigPromise(); + } catch (e) { + expect(e.message).to.equal('Failed to fetch configuration'); } - }); - - afterEach(() => { - sandbox.restore(); - }); - - it('should return correct config structure', () => { - const result = getFloorsConfig(floorsData, profileConfigs); - - expect(result.floors).to.be.an('object'); - expect(result.floors).to.be.an('object'); - expect(result.floors).to.have.property('enforcement'); - expect(result.floors.enforcement).to.have.property('floorDeals', false); - expect(result.floors.enforcement).to.have.property('enforceJS', false); - expect(result.floors).to.have.property('floorMin', 0.1111); - - // Verify the additionalSchemaFields structure - expect(result.floors.additionalSchemaFields).to.have.all.keys([ - 'deviceType', - 'timeOfDay', - 'browser', - 'os', - 'country', - 'utm', - 'bidder' - ]); - - Object.values(result.floors.additionalSchemaFields).forEach(field => { - expect(field).to.be.a('function'); - }); - }); - - it('should return undefined when plugin is disabled', () => { - profileConfigs.plugins.dynamicFloors.enabled = false; - const result = getFloorsConfig(floorsData, profileConfigs); - - expect(result).to.equal(undefined); - }); - - it('should initialise default values to empty object when not available', () => { - profileConfigs.plugins.dynamicFloors.config.defaultValues = undefined; - floorsData = undefined; - const result = getFloorsConfig(floorsData, profileConfigs); - - expect(result.floors.data).to.have.property('currency', 'USD'); - expect(result.floors.data).to.have.property('skipRate', 11); - expect(result.floors.data.schema).to.deep.equal(defaultValueTemplate.schema); - expect(result.floors.data.value).to.deep.equal(defaultValueTemplate.value); - }); - - it('should replace skipRate from config to data when avaialble', () => { - const result = getFloorsConfig(floorsData, profileConfigs); - - expect(result.floors.data).to.have.property('skipRate', 11); - }); - - it('should not replace skipRate from config to data when not avaialble', () => { - delete profileConfigs.plugins.dynamicFloors.config.skipRate; - const result = getFloorsConfig(floorsData, profileConfigs); - - expect(result.floors.data).to.have.property('skipRate', 0); - }); - it('should maintain correct function references', () => { - const result = getFloorsConfig(floorsData, profileConfigs); - - expect(result.floors.additionalSchemaFields.deviceType).to.equal(getDeviceType); - expect(result.floors.additionalSchemaFields.timeOfDay).to.equal(getCurrentTimeOfDay); - expect(result.floors.additionalSchemaFields.browser).to.equal(getBrowserType); - expect(result.floors.additionalSchemaFields.os).to.equal(getOs); - expect(result.floors.additionalSchemaFields.country).to.equal(getCountry); - expect(result.floors.additionalSchemaFields.utm).to.equal(getUtm); - expect(result.floors.additionalSchemaFields.bidder).to.equal(getBidder); - }); - - it('should log error when profileConfigs is not an object', () => { - profileConfigs = 'invalid'; - const result = getFloorsConfig(floorsData, profileConfigs); - expect(result).to.be.undefined; - expect(logErrorStub.calledWith(sinon.match(/profileConfigs is not an object or is empty/))).to.be.true; + expect(pluginManagerStub.initialize.called).to.be.false; }); }); - describe('fetchData for configs', () => { - let logErrorStub; - let fetchStub; - let confStub; - - beforeEach(() => { - logErrorStub = sandbox.stub(utils, 'logError'); - fetchStub = sandbox.stub(window, 'fetch'); - confStub = sandbox.stub(conf, 'setConfig'); - }); - - afterEach(() => { - sandbox.restore(); - }); - - it('should successfully fetch profile configs', async () => { - const mockApiResponse = { - "profileName": "profie name", - "desc": "description", - "plugins": { - "dynamicFloors": { - "enabled": false - } + describe('getBidRequestData', () => { + const reqBidsConfigObj = { + ortb2Fragments: { + bidder: {} + }, + adUnits: [ + { + code: 'div-1', + bids: [{ bidder: 'pubmatic', params: {} }] + }, + { + code: 'div-2', + bids: [{ bidder: 'pubmatic', params: {} }] } - }; - - fetchStub.resolves(new Response(JSON.stringify(mockApiResponse), { status: 200 })); - - const result = await fetchData('1234', '123', 'CONFIGS'); - expect(result).to.deep.equal(mockApiResponse); - }); - - it('should log error when JSON parsing fails', async () => { - fetchStub.resolves(new Response('Invalid JSON', { status: 200 })); - - await fetchData('1234', '123', 'CONFIGS'); - expect(logErrorStub.calledWith(sinon.match(/Error while fetching\s*CONFIGS/))).to.be.true; - }); - - it('should log error when response is not ok', async () => { - fetchStub.resolves(new Response(null, { status: 500 })); - - await fetchData('1234', '123', 'CONFIGS'); - expect(logErrorStub.calledWith(sinon.match(/Error while fetching\s*CONFIGS/))).to.be.true; - }); - - it('should log error on network failure', async () => { - fetchStub.rejects(new Error('Network Error')); - - await fetchData('1234', '123', 'CONFIGS'); - expect(logErrorStub.called).to.be.true; - expect(logErrorStub.calledWith(sinon.match(/Error while fetching\s*CONFIGS/))).to.be.true; - }); - }); - - describe('fetchData for floors', () => { - let logErrorStub; - let fetchStub; - let confStub; + ] + }; + let callback; beforeEach(() => { - logErrorStub = sandbox.stub(utils, 'logError'); - fetchStub = sandbox.stub(window, 'fetch'); - confStub = sandbox.stub(conf, 'setConfig'); - global._country = undefined; - }); - - afterEach(() => { - sandbox.restore(); + callback = sinon.stub(); + pubmaticRtdProvider.setYmConfigPromise(Promise.resolve()); }); - it('should successfully fetch and parse floor rules', async () => { - const mockApiResponse = { - data: { - currency: 'USD', - modelGroups: [], - values: {} - } - }; + it('should call pluginManager executeHook with correct parameters', (done) => { + pluginManagerStub.executeHook.resolves(); - fetchStub.resolves(new Response(JSON.stringify(mockApiResponse), { status: 200, headers: { 'country_code': 'US' } })); + pubmaticRtdProvider.pubmaticSubmodule.getBidRequestData(reqBidsConfigObj, callback); - const result = await fetchData('1234', '123', 'FLOORS'); - expect(result).to.deep.equal(mockApiResponse); - expect(_country).to.equal('US'); + setTimeout(() => { + expect(pluginManagerStub.executeHook.calledOnce).to.be.true; + expect(pluginManagerStub.executeHook.firstCall.args[0]).to.equal('processBidRequest'); + expect(pluginManagerStub.executeHook.firstCall.args[1]).to.deep.equal(reqBidsConfigObj); + expect(callback.calledOnce).to.be.true; + done(); + }, 0); }); - it('should correctly extract the first unique country code from response headers', async () => { - fetchStub.resolves(new Response(JSON.stringify({}), { - status: 200, - headers: { 'country_code': 'US,IN,US' } - })); + it('should add country information to ORTB2', (done) => { + pluginManagerStub.executeHook.resolves(); - await fetchData('1234', '123', 'FLOORS'); - expect(_country).to.equal('US'); - }); - - it('should set _country to undefined if country_code header is missing', async () => { - fetchStub.resolves(new Response(JSON.stringify({}), { - status: 200 - })); - - await fetchData('1234', '123', 'FLOORS'); - expect(_country).to.be.undefined; - }); + pubmaticRtdProvider.pubmaticSubmodule.getBidRequestData(reqBidsConfigObj, callback); - it('should log error when JSON parsing fails', async () => { - fetchStub.resolves(new Response('Invalid JSON', { status: 200 })); - - await fetchData('1234', '123', 'FLOORS'); - expect(logErrorStub.calledWith(sinon.match(/Error while fetching\s*FLOORS/))).to.be.true; - }); - - it('should log error when response is not ok', async () => { - fetchStub.resolves(new Response(null, { status: 500 })); - - await fetchData('1234', '123', 'FLOORS'); - expect(logErrorStub.calledWith(sinon.match(/Error while fetching\s*FLOORS/))).to.be.true; - }); - - it('should log error on network failure', async () => { - fetchStub.rejects(new Error('Network Error')); - - await fetchData('1234', '123', 'FLOORS'); - expect(logErrorStub.called).to.be.true; - expect(logErrorStub.calledWith(sinon.match(/Error while fetching\s*FLOORS/))).to.be.true; - }); - }); - - describe('getBidRequestData', function () { - let callback, continueAuctionStub, mergeDeepStub, logErrorStub; - - const reqBidsConfigObj = { - adUnits: [{ code: 'ad-slot-code-0' }], - auctionId: 'auction-id-0', - ortb2Fragments: { - bidder: { + setTimeout(() => { + expect(reqBidsConfigObj.ortb2Fragments.bidder[pubmaticRtdProvider.CONSTANTS.SUBMODULE_NAME]).to.deep.equal({ user: { ext: { - ctr: 'US', + ctr: 'IN' } } - } - } - }; - - const ortb2 = { - user: { - ext: { - ctr: 'US', - } - } - } - - const hookConfig = { - reqBidsConfigObj, - context: this, - nextFn: () => true, - haveExited: false, - timer: null - }; - - beforeEach(() => { - callback = sinon.spy(); - continueAuctionStub = sandbox.stub(priceFloors, 'continueAuction'); - logErrorStub = sandbox.stub(utils, 'logError'); - - global.configMergedPromise = Promise.resolve(); - }); - - afterEach(() => { - sandbox.restore(); // Restore all stubs/spies - }); - - it('should call continueAuction with correct hookConfig', async function () { - configMerged(); - await pubmaticSubmodule.getBidRequestData(reqBidsConfigObj, callback); - - expect(continueAuctionStub.called).to.be.true; - expect(continueAuctionStub.firstCall.args[0]).to.have.property('reqBidsConfigObj', reqBidsConfigObj); - expect(continueAuctionStub.firstCall.args[0]).to.have.property('haveExited', false); - }); - - // it('should merge country data into ortb2Fragments.bidder', async function () { - // configMerged(); - // global._country = 'US'; - // pubmaticSubmodule.getBidRequestData(reqBidsConfigObj, callback); - - // expect(reqBidsConfigObj.ortb2Fragments.bidder).to.have.property('pubmatic'); - // // expect(reqBidsConfigObj.ortb2Fragments.bidder.pubmatic.user.ext.ctr).to.equal('US'); - // }); - - it('should call callback once after execution', async function () { - configMerged(); - await pubmaticSubmodule.getBidRequestData(reqBidsConfigObj, callback); - - expect(callback.called).to.be.true; + }); + done(); + }, 0); }); }); - describe('withTimeout', function () { - it('should resolve with the original promise value if it resolves before the timeout', async function () { - const promise = new Promise((resolve) => setTimeout(() => resolve('success'), 50)); - const result = await withTimeout(promise, 100); - expect(result).to.equal('success'); - }); - - it('should resolve with undefined if the promise takes longer than the timeout', async function () { - const promise = new Promise((resolve) => setTimeout(() => resolve('success'), 200)); - const result = await withTimeout(promise, 100); - expect(result).to.be.undefined; - }); - - it('should properly handle rejected promises', async function () { - const promise = new Promise((resolve, reject) => setTimeout(() => reject(new Error('Failure')), 50)); - try { - await withTimeout(promise, 100); - } catch (error) { - expect(error.message).to.equal('Failure'); + describe('getTargetingData', () => { + const adUnitCodes = ['div-1', 'div-2']; + const config = { + params: { + publisherId: 'test-publisher-id', + profileId: 'test-profile-id' } - }); - - it('should resolve with undefined if the original promise is rejected but times out first', async function () { - const promise = new Promise((resolve, reject) => setTimeout(() => reject(new Error('Failure')), 200)); - const result = await withTimeout(promise, 100); - expect(result).to.be.undefined; - }); + }; + const userConsent = {}; + const auction = {}; + const unifiedPricingRule = { + 'div-1': { key1: 'value1' }, + 'div-2': { key2: 'value2' } + }; - it('should clear the timeout when the promise resolves before the timeout', async function () { - const clock = sinon.useFakeTimers(); - const clearTimeoutSpy = sinon.spy(global, 'clearTimeout'); + it('should call pluginManager executeHook with correct parameters', () => { + pluginManagerStub.executeHook.returns(unifiedPricingRule); - const promise = new Promise((resolve) => setTimeout(() => resolve('success'), 50)); - const resultPromise = withTimeout(promise, 100); + const result = pubmaticRtdProvider.getTargetingData(adUnitCodes, config, userConsent, auction); - clock.tick(50); - await resultPromise; + expect(pluginManagerStub.executeHook.calledOnce).to.be.true; + expect(pluginManagerStub.executeHook.firstCall.args[0]).to.equal('getTargeting'); + expect(pluginManagerStub.executeHook.firstCall.args[1]).to.equal(adUnitCodes); + expect(pluginManagerStub.executeHook.firstCall.args[2]).to.equal(config); + expect(pluginManagerStub.executeHook.firstCall.args[3]).to.equal(userConsent); + expect(pluginManagerStub.executeHook.firstCall.args[4]).to.equal(auction); + expect(result).to.equal(unifiedPricingRule); + }); - expect(clearTimeoutSpy.called).to.be.true; + it('should return empty object if no targeting data', () => { + pluginManagerStub.executeHook.returns({}); - clearTimeoutSpy.restore(); - clock.restore(); + const result = pubmaticRtdProvider.getTargetingData(adUnitCodes, config, userConsent, auction); + expect(result).to.deep.equal({}); }); }); - describe('getTargetingData', function () { - let sandbox; - let logInfoStub; + describe('ConfigJsonManager', () => { + let configManager; beforeEach(() => { - sandbox = sinon.createSandbox(); - logInfoStub = sandbox.stub(utils, 'logInfo'); - }); - - afterEach(() => { - sandbox.restore(); - }); - - it('should return empty object when profileConfigs is undefined', function () { - // Store the original value to restore it later - const originalProfileConfigs = getProfileConfigs(); - // Set profileConfigs to undefined - setProfileConfigs(undefined); - - const adUnitCodes = ['test-ad-unit']; - const config = {}; - const userConsent = {}; - const auction = {}; - - const result = getTargetingData(adUnitCodes, config, userConsent, auction); - - // Restore the original value - setProfileConfigs(originalProfileConfigs); - - expect(result).to.deep.equal({}); - expect(logInfoStub.calledWith(sinon.match(/pmTargetingKeys is disabled or profileConfigs is undefined/))).to.be.true; + configManager = pubmaticRtdProvider.ConfigJsonManager(); }); - it('should return empty object when pmTargetingKeys.enabled is false', function () { - // Create profileConfigs with pmTargetingKeys.enabled set to false - const profileConfigsMock = { - plugins: { - dynamicFloors: { - pmTargetingKeys: { - enabled: false - } - } - } + it('should fetch config successfully', async () => { + const mockResponse = { + ok: true, + headers: { + get: sinon.stub().withArgs('country_code').returns('US') + }, + json: sinon.stub().resolves({ plugins: { test: { enabled: true } } }) }; - // Store the original value to restore it later - const originalProfileConfigs = getProfileConfigs(); - // Set profileConfigs to our mock - setProfileConfigs(profileConfigsMock); - - const adUnitCodes = ['test-ad-unit']; - const config = {}; - const userConsent = {}; - const auction = {}; + fetchStub.resolves(mockResponse); - const result = getTargetingData(adUnitCodes, config, userConsent, auction); + const result = await configManager.fetchConfig('pub-123', 'profile-456'); - // Restore the original value - setProfileConfigs(originalProfileConfigs); - - expect(result).to.deep.equal({}); - expect(logInfoStub.calledWith(sinon.match(/pmTargetingKeys is disabled or profileConfigs is undefined/))).to.be.true; + expect(result).to.be.true; + expect(fetchStub.calledOnce).to.be.true; + expect(fetchStub.firstCall.args[0]).to.equal(`${pubmaticRtdProvider.CONSTANTS.ENDPOINTS.BASEURL}/pub-123/profile-456/${pubmaticRtdProvider.CONSTANTS.ENDPOINTS.CONFIGS}`); + expect(configManager.country).to.equal('US'); }); - it('should set pm_ym_flrs to 0 when no RTD floor is applied to any bid', function () { - // Create profileConfigs with pmTargetingKeys.enabled set to true - const profileConfigsMock = { - plugins: { - dynamicFloors: { - pmTargetingKeys: { - enabled: true - } - } - } - }; - - // Store the original value to restore it later - const originalProfileConfigs = getProfileConfigs(); - // Set profileConfigs to our mock - setProfileConfigs(profileConfigsMock); - - // Create multiple ad unit codes to test - const adUnitCodes = ['ad-unit-1', 'ad-unit-2']; - const config = {}; - const userConsent = {}; - - // Create a mock auction object with bids that don't have RTD floors applied - // This tests several scenarios where RTD floor is not applied: - // 1. No floorData - // 2. floorData but floorProvider is not 'PM' - // 3. floorData with floorProvider 'PM' but skipped is true - const auction = { - adUnits: [ - { - code: 'ad-unit-1', - bids: [ - { bidder: 'bidderA' }, // No floorData - { bidder: 'bidderB', floorData: { floorProvider: 'OTHER' } } // Not PM provider - ] - }, - { - code: 'ad-unit-2', - bids: [ - { bidder: 'bidderC', floorData: { floorProvider: 'PM', skipped: true } } // PM but skipped - ] - } - ], - bidsReceived: [ - { adUnitCode: 'ad-unit-1', bidder: 'bidderA' }, - { adUnitCode: 'ad-unit-1', bidder: 'bidderB', floorData: { floorProvider: 'OTHER' } }, - { adUnitCode: 'ad-unit-2', bidder: 'bidderC', floorData: { floorProvider: 'PM', skipped: true } } - ] + it('should handle missing country_code header and set country to undefined', async () => { + const mockResponse = { + ok: true, + headers: { + get: sinon.stub().withArgs('country_code').returns(null) + }, + json: sinon.stub().resolves({ plugins: { test: { enabled: true } } }) }; - const result = getTargetingData(adUnitCodes, config, userConsent, auction); + fetchStub.resolves(mockResponse); - // Restore the original value - setProfileConfigs(originalProfileConfigs); + const result = await configManager.fetchConfig('pub-123', 'profile-456'); - // Verify that for each ad unit code, only pm_ym_flrs is set to 0 - expect(result['ad-unit-1']).to.have.property('pm_ym_flrs', 0); - expect(result['ad-unit-2']).to.have.property('pm_ym_flrs', 0); + expect(result).to.be.true; + expect(fetchStub.calledOnce).to.be.true; + expect(fetchStub.firstCall.args[0]).to.equal(`${pubmaticRtdProvider.CONSTANTS.ENDPOINTS.BASEURL}/pub-123/profile-456/${pubmaticRtdProvider.CONSTANTS.ENDPOINTS.CONFIGS}`); + expect(configManager.country).to.be.undefined; }); - it('should set pm_ym_flrs to 1 when RTD floor is applied to a bid', function () { - // Create profileConfigs with pmTargetingKeys.enabled set to true - const profileConfigsMock = { - plugins: { - dynamicFloors: { - pmTargetingKeys: { - enabled: true - } - } - } - }; - - // Store the original value to restore it later - const originalProfileConfigs = getProfileConfigs(); - // Set profileConfigs to our mock - setProfileConfigs(profileConfigsMock); - - // Create multiple ad unit codes to test - const adUnitCodes = ['ad-unit-1', 'ad-unit-2']; - const config = {}; - const userConsent = {}; + it('should handle fetch errors', async () => { + fetchStub.rejects(new Error('Network error')); - // Create a mock auction object with bids that have RTD floors applied - const auction = { - adUnits: [ - { - code: 'ad-unit-1', - bids: [ - { bidder: 'bidderA', floorData: { floorProvider: 'PM', skipped: false } }, - { bidder: 'bidderB', floorData: { floorProvider: 'PM', skipped: false } } - ] - }, - { - code: 'ad-unit-2', - bids: [ - { bidder: 'bidderC', floorData: { floorProvider: 'PM', skipped: false } }, - { bidder: 'bidderD', floorData: { floorProvider: 'PM', skipped: false } } - ] - } - ], - bidsReceived: [ - { adUnitCode: 'ad-unit-1', bidder: 'bidderA', floorData: { floorProvider: 'PM', skipped: false } }, - { adUnitCode: 'ad-unit-1', bidder: 'bidderB', floorData: { floorProvider: 'PM', skipped: false } }, - { adUnitCode: 'ad-unit-2', bidder: 'bidderC', floorData: { floorProvider: 'PM', skipped: false } }, - { adUnitCode: 'ad-unit-2', bidder: 'bidderD', floorData: { floorProvider: 'PM', skipped: false } } - ] - }; + const result = await configManager.fetchConfig('pub-123', 'profile-456'); - const result = getTargetingData(adUnitCodes, config, userConsent, auction); - - // Restore the original value - setProfileConfigs(originalProfileConfigs); - - // Verify that for each ad unit code, pm_ym_flrs is set to 1 - expect(result['ad-unit-1']).to.have.property('pm_ym_flrs', 1); - expect(result['ad-unit-2']).to.have.property('pm_ym_flrs', 1); + expect(result).to.be.null; + expect(logErrorStub.calledOnce).to.be.true; + expect(logErrorStub.firstCall.args[0]).to.include('Error while fetching config'); }); - it('should set different targeting keys for winning bids (status 1) and floored bids (status 2)', function () { - // Create profileConfigs with pmTargetingKeys.enabled set to true - const profileConfigsMock = { + it('should get config by name', () => { + const mockConfig = { plugins: { - dynamicFloors: { - pmTargetingKeys: { - enabled: true - } - } + testPlugin: { enabled: true } } }; - const mockPbjs = { - getHighestCpmBids: (adUnitCode) => { - // For div2, return a winning bid - if (adUnitCode === 'div2') { - return [{ - adUnitCode: 'div2', - cpm: 5.5, - floorData: { - floorValue: 5.0, - floorProvider: 'PM' - } - }]; - } - // For all other ad units, return empty array (no winning bids) - return []; - } - }; - - // Stub getGlobal to return our mock object - const getGlobalStub = sandbox.stub(prebidGlobal, 'getGlobal').returns(mockPbjs); - - // Store the original value to restore it later - const originalProfileConfigs = getProfileConfigs(); - // Set profileConfigs to our mock - setProfileConfigs(profileConfigsMock); - - // Create ad unit codes to test - const adUnitCodes = ['div2', 'div3']; - const config = {}; - const userConsent = {}; - - // Create a mock auction object with bids that have RTD floors applied - const auction = { - adUnits: [ - { code: "div2", bids: [{ floorData: { floorProvider: "PM", skipped: false } }] }, - { code: "div3", bids: [{ floorData: { floorProvider: "PM", skipped: false } }] } - ], - adUnitCodes: ["div2", "div3"], - bidsReceived: [[ - { - "bidderCode": "appnexus", - "auctionId": "a262767c-5499-4e98-b694-af36dbcb50f6", - "mediaType": "banner", - "source": "client", - "cpm": 5.5, - "adUnitCode": "div2", - "adapterCode": "appnexus", - "originalCpm": 5.5, - "floorData": { - "floorValue": 5, - "floorRule": "banner|*|*|div2|*|*|*|*|*", - "floorRuleValue": 5, - "floorCurrency": "USD", - - }, - "bidder": "appnexus", - } - ]], - bidsRejected: [ - { adUnitCode: "div3", bidder: "pubmatic", cpm: 20, floorData: { floorValue: 40 }, rejectionReason: "Bid does not meet price floor" }] - }; - - const result = getTargetingData(adUnitCodes, config, userConsent, auction); - - // Restore the original value - setProfileConfigs(originalProfileConfigs); - - // Check the test results - - expect(result['div2']).to.have.property('pm_ym_flrs', 1); - expect(result['div2']).to.have.property('pm_ym_flrv', '5.50'); - expect(result['div2']).to.have.property('pm_ym_bid_s', 1); - - expect(result['div3']).to.have.property('pm_ym_flrs', 1); - expect(result['div3']).to.have.property('pm_ym_flrv', '32.00'); - expect(result['div3']).to.have.property('pm_ym_bid_s', 2); - getGlobalStub.restore(); - }); - - describe('should handle the no bid scenario correctly', function () { - it('should handle no bid scenario correctly', function () { - // Create profileConfigs with pmTargetingKeys enabled - const profileConfigsMock = { - plugins: { - dynamicFloors: { - pmTargetingKeys: { - enabled: true, - multiplier: { - nobid: 1.2 // Explicit nobid multiplier - } - } - } - } - }; - - // Store the original value to restore it later - const originalProfileConfigs = getProfileConfigs(); - // Set profileConfigs to our mock - setProfileConfigs(profileConfigsMock); - - // Create ad unit codes to test - const adUnitCodes = ['Div2']; - const config = {}; - const userConsent = {}; - - // Create a mock auction with no bids but with RTD floor applied - // For this test, we'll observe what the function actually does rather than - // try to match specific multiplier values - const auction = { - "auctionId": "faf0b7d0-3a12-4774-826a-3d56033d9a74", - "auctionStatus": "completed", - "adUnits": [ - { - "code": "Div2", - "sizes": [[300, 250]], - "mediaTypes": { - "banner": { "sizes": [[300, 250]] } - }, - "bids": [ - { - "bidder": "pubmatic", - "params": { - "publisherId": "164392", - "adSlot": "/4374asd3431/DMDemo1@160x600" - }, - "floorData": { - "floorProvider": "PM" - } - } - ] - } - ], - "adUnitCodes": ["Div2"], - "bidderRequests": [ - { - "bidderCode": "pubmatic", - "auctionId": "faf0b7d0-3a12-4774-826a-3d56033d9a74", - "bids": [ - { - "bidder": "pubmatic", - "adUnitCode": "Div2", - "floorData": { - "floorProvider": "PM" - }, - "mediaTypes": { - "banner": { "sizes": [[300, 250]] } - }, - "getFloor": () => { return { floor: 0.05, currency: 'USD' }; } - } - ] - } - ], - "noBids": [ - { - "bidder": "pubmatic", - "adUnitCode": "Div2", - "floorData": { - "floorProvider": "PM", - "floorMin": 0.05 - } - } - ], - "bidsReceived": [], - "bidsRejected": [], - "winningBids": [] - }; - - const result = getTargetingData(adUnitCodes, config, userConsent, auction); - - // Restore the original value - setProfileConfigs(originalProfileConfigs); - - // Verify correct values for no bid scenario - expect(result['Div2']['pm_ym_flrs']).to.equal(1); // RTD floor was applied - expect(result['Div2']['pm_ym_bid_s']).to.equal(0); // NOBID status - - // Since finding floor values from bidder requests depends on implementation details - // we'll just verify the type rather than specific value - expect(result['Div2']['pm_ym_flrv']).to.be.a('string'); - }); - - it('should handle no bid scenario correctly for single ad unit multiple size scenarios', function () { - // Create profileConfigs with pmTargetingKeys enabled - const profileConfigsMock = { - plugins: { - dynamicFloors: { - pmTargetingKeys: { - enabled: true, - multiplier: { - nobid: 1.2 // Explicit nobid multiplier - } - } - } - } - }; - - // Store the original value to restore it later - const originalProfileConfigs = getProfileConfigs(); - // Set profileConfigs to our mock - setProfileConfigs(profileConfigsMock); - - // Create ad unit codes to test - const adUnitCodes = ['Div2']; - const config = {}; - const userConsent = {}; - - // Create a mock auction with no bids but with RTD floor applied - // For this test, we'll observe what the function actually does rather than - // try to match specific multiplier values - const auction = { - "auctionId": "faf0b7d0-3a12-4774-826a-3d56033d9a74", - "auctionStatus": "completed", - "adUnits": [ - { - "code": "Div2", - "sizes": [[300, 250]], - "mediaTypes": { "banner": { "sizes": [[300, 250]] } }, - "bids": [ - { - "bidder": "pubmatic", - "params": { - "publisherId": "164392", - "adSlot": "/4374asd3431/DMDemo1@160x600" - }, - "floorData": { - "floorProvider": "PM" - } - } - ] - } - ], - "adUnitCodes": ["Div2"], - "bidderRequests": [ - { - "bidderCode": "pubmatic", - "auctionId": "faf0b7d0-3a12-4774-826a-3d56033d9a74", - "bids": [ - { - "bidder": "pubmatic", - "adUnitCode": "Div2", - "floorData": { - "floorProvider": "PM" - }, - "mediaTypes": { - "banner": { "sizes": [[300, 250]] } - }, - "getFloor": () => { return { floor: 5, currency: 'USD' }; } - } - ] - } - ], - "noBids": [ - { - "bidder": "pubmatic", - "adUnitCode": "Div2", - "floorData": { - "floorProvider": "PM", - "floorMin": 0.05 - } - } - ], - "bidsReceived": [], - "bidsRejected": [], - "winningBids": [] - }; - - const result = getTargetingData(adUnitCodes, config, userConsent, auction); - - // Restore the original value - setProfileConfigs(originalProfileConfigs); - - // Verify correct values for no bid scenario - expect(result['Div2']['pm_ym_flrs']).to.equal(1); // RTD floor was applied - expect(result['Div2']['pm_ym_bid_s']).to.equal(0); // NOBID status - - // Since finding floor values from bidder requests depends on implementation details - // we'll just verify the type rather than specific value - expect(result['Div2']['pm_ym_flrv']).to.be.a('string'); - expect(result['Div2']['pm_ym_flrv']).to.equal("6.00"); - }); - - it('should handle no bid scenario correctly for multi-format ad unit with different floors', function () { - // Create profileConfigs with pmTargetingKeys enabled - const profileConfigsMock = { - plugins: { - dynamicFloors: { - pmTargetingKeys: { - enabled: true, - multiplier: { - nobid: 1.2 // Explicit nobid multiplier - } - } - } - } - }; - - // Store the original value to restore it later - const originalProfileConfigs = getProfileConfigs(); - // Set profileConfigs to our mock - setProfileConfigs(profileConfigsMock); - - // Create ad unit codes to test - const adUnitCodes = ['multiFormatDiv']; - const config = {}; - const userConsent = {}; - - // Mock getFloor implementation that returns different floors for different media types - const mockGetFloor = (params) => { - const floors = { - 'banner': 0.50, // Higher floor for banner - 'video': 0.25 // Lower floor for video - }; - - return { - floor: floors[params.mediaType] || 0.10, - currency: 'USD' - }; - }; - - // Create a mock auction with a multi-format ad unit (banner + video) - const auction = { - "auctionId": "multi-format-test-auction", - "auctionStatus": "completed", - "adUnits": [ - { - "code": "multiFormatDiv", - "mediaTypes": { - "banner": { - "sizes": [[300, 250], [300, 600]] - }, - "video": { - "playerSize": [[640, 480]], - "context": "instream" - } - }, - "bids": [ - { - "bidder": "pubmatic", - "params": { - "publisherId": "test-publisher", - "adSlot": "/test/slot" - }, - "floorData": { - "floorProvider": "PM" - } - } - ] - } - ], - "adUnitCodes": ["multiFormatDiv"], - "bidderRequests": [ - { - "bidderCode": "pubmatic", - "auctionId": "multi-format-test-auction", - "bids": [ - { - "bidder": "pubmatic", - "adUnitCode": "multiFormatDiv", - "mediaTypes": { - "banner": { - "sizes": [[300, 250], [300, 600]] - }, - "video": { - "playerSize": [[640, 480]], - "context": "instream" - } - }, - "floorData": { - "floorProvider": "PM" - }, - "getFloor": mockGetFloor - } - ] - } - ], - "noBids": [ - { - "bidder": "pubmatic", - "adUnitCode": "multiFormatDiv", - "floorData": { - "floorProvider": "PM" - } - } - ], - "bidsReceived": [], - "bidsRejected": [], - "winningBids": [] - }; - - // Create a spy to monitor the getFloor calls - const getFloorSpy = sinon.spy(auction.bidderRequests[0].bids[0], "getFloor"); - - // Run the targeting function - const result = getTargetingData(adUnitCodes, config, userConsent, auction); - - // Restore the original value - setProfileConfigs(originalProfileConfigs); - - // Verify correct values for no bid scenario - expect(result['multiFormatDiv']['pm_ym_flrs']).to.equal(1); // RTD floor was applied - expect(result['multiFormatDiv']['pm_ym_bid_s']).to.equal(0); // NOBID status - - // Verify that getFloor was called with both media types - expect(getFloorSpy.called).to.be.true; - let bannerCallFound = false; - let videoCallFound = false; - - getFloorSpy.getCalls().forEach(call => { - const args = call.args[0]; - if (args.mediaType === 'banner') bannerCallFound = true; - if (args.mediaType === 'video') videoCallFound = true; - }); - - expect(bannerCallFound).to.be.true; // Verify banner format was checked - expect(videoCallFound).to.be.true; // Verify video format was checked - - // Since we created the mockGetFloor to return 0.25 for video (lower than 0.50 for banner), - // we expect the RTD provider to use the minimum floor value (0.25) - // We can't test the exact value due to multiplier application, but we can make sure - // it's derived from the lower value - expect(parseFloat(result['multiFormatDiv']['pm_ym_flrv'])).to.be.closeTo(0.25 * 1.2, 0.001); // 0.25 * nobid multiplier (1.2) + configManager.setYMConfig(mockConfig); - // Clean up - getFloorSpy.restore(); - }); + const result = configManager.getConfigByName('testPlugin'); + expect(result).to.deep.equal({ enabled: true }); }); }); }); diff --git a/test/spec/modules/timeoutRtdProvider_spec.js b/test/spec/modules/timeoutRtdProvider_spec.js index b4231c3db7c..4776c52440e 100644 --- a/test/spec/modules/timeoutRtdProvider_spec.js +++ b/test/spec/modules/timeoutRtdProvider_spec.js @@ -3,206 +3,6 @@ import { expect } from 'chai'; import * as ajax from 'src/ajax.js'; import * as prebidGlobal from 'src/prebidGlobal.js'; -const DEFAULT_USER_AGENT = window.navigator.userAgent; -const DEFAULT_CONNECTION = window.navigator.connection; - -const PC_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246'; -const MOBILE_USER_AGENT = 'Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1'; -const TABLET_USER_AGENT = 'Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148'; - -function resetUserAgent() { - window.navigator.__defineGetter__('userAgent', () => DEFAULT_USER_AGENT); -}; - -function setUserAgent(userAgent) { - window.navigator.__defineGetter__('userAgent', () => userAgent); -} - -function resetConnection() { - window.navigator.__defineGetter__('connection', () => DEFAULT_CONNECTION); -} -function setConnectionType(connectionType) { - window.navigator.__defineGetter__('connection', () => { return {'type': connectionType} }); -} - -describe('getDeviceType', () => { - afterEach(() => { - resetUserAgent(); - }); - - [ - // deviceType, userAgent, deviceTypeNum - ['pc', PC_USER_AGENT, 2], - ['mobile', MOBILE_USER_AGENT, 4], - ['tablet', TABLET_USER_AGENT, 5], - ].forEach(function(args) { - const [deviceType, userAgent, deviceTypeNum] = args; - it(`should be able to recognize ${deviceType} devices`, () => { - setUserAgent(userAgent); - const res = timeoutRtdFunctions.getDeviceType(); - expect(res).to.equal(deviceTypeNum) - }) - }) -}); - -describe('getConnectionSpeed', () => { - afterEach(() => { - resetConnection(); - }); - [ - // connectionType, connectionSpeed - ['slow-2g', 'slow'], - ['2g', 'slow'], - ['3g', 'medium'], - ['bluetooth', 'fast'], - ['cellular', 'fast'], - ['ethernet', 'fast'], - ['wifi', 'fast'], - ['wimax', 'fast'], - ['4g', 'fast'], - ['not known', 'unknown'], - [undefined, 'unknown'], - ].forEach(function(args) { - const [connectionType, connectionSpeed] = args; - it(`should be able to categorize connection speed when the connection type is ${connectionType}`, () => { - setConnectionType(connectionType); - const res = timeoutRtdFunctions.getConnectionSpeed(); - expect(res).to.equal(connectionSpeed) - }) - }) -}); - -describe('Timeout modifier calculations', () => { - let sandbox; - beforeEach(() => { - sandbox = sinon.createSandbox(); - }); - - afterEach(() => { - sandbox.restore(); - }); - - it('should be able to detect video ad units', () => { - let adUnits = [] - let res = timeoutRtdFunctions.checkVideo(adUnits); - expect(res).to.be.false; - - adUnits = [{ - mediaTypes: { - video: [] - } - }]; - res = timeoutRtdFunctions.checkVideo(adUnits); - expect(res).to.be.true; - - adUnits = [{ - mediaTypes: { - banner: [] - } - }]; - res = timeoutRtdFunctions.checkVideo(adUnits); - expect(res).to.be.false; - }); - - it('should calculate the timeout modifier for video', () => { - sandbox.stub(timeoutRtdFunctions, 'checkVideo').returns(true); - const rules = { - includesVideo: { - 'true': 200, - 'false': 50 - } - } - const res = timeoutRtdFunctions.calculateTimeoutModifier([], rules); - expect(res).to.equal(200) - }); - - it('should calculate the timeout modifier for connectionSpeed', () => { - sandbox.stub(timeoutRtdFunctions, 'getConnectionSpeed').returns('slow'); - const rules = { - connectionSpeed: { - 'slow': 200, - 'medium': 100, - 'fast': 50 - } - } - const res = timeoutRtdFunctions.calculateTimeoutModifier([], rules); - expect(res).to.equal(200); - }); - - it('should calculate the timeout modifier for deviceType', () => { - sandbox.stub(timeoutRtdFunctions, 'getDeviceType').returns(4); - const rules = { - deviceType: { - '2': 50, - '4': 100, - '5': 200 - }, - } - const res = timeoutRtdFunctions.calculateTimeoutModifier([], rules); - expect(res).to.equal(100) - }); - - it('should calculate the timeout modifier for ranged numAdunits', () => { - const rules = { - numAdUnits: { - '1-5': 100, - '6-10': 200, - '11-15': 300, - } - } - const adUnits = [1, 2, 3, 4, 5, 6]; - const res = timeoutRtdFunctions.calculateTimeoutModifier(adUnits, rules); - expect(res).to.equal(200) - }); - - it('should calculate the timeout modifier for exact numAdunits', () => { - const rules = { - numAdUnits: { - '1': 100, - '2': 200, - '3': 300, - '4-5': 400, - } - } - const adUnits = [1, 2]; - const res = timeoutRtdFunctions.calculateTimeoutModifier(adUnits, rules); - expect(res).to.equal(200); - }); - - it('should add up all the modifiers when all the rules are present', () => { - sandbox.stub(timeoutRtdFunctions, 'getConnectionSpeed').returns('slow'); - sandbox.stub(timeoutRtdFunctions, 'getDeviceType').returns(4); - const rules = { - connectionSpeed: { - 'slow': 200, - 'medium': 100, - 'fast': 50 - }, - deviceType: { - '2': 50, - '4': 100, - '5': 200 - }, - includesVideo: { - 'true': 200, - 'false': 50 - }, - numAdUnits: { - '1': 100, - '2': 200, - '3': 300, - '4-5': 400, - } - } - const res = timeoutRtdFunctions.calculateTimeoutModifier([{ - mediaTypes: { - video: [] - } - }], rules); - expect(res).to.equal(600); - }); -}); - describe('Timeout RTD submodule', () => { let sandbox; beforeEach(() => { From b5dd9dc5e70cf3fc2c13d0fb57713e32d674e824 Mon Sep 17 00:00:00 2001 From: Andrii Pukh <152202940+apukh-magnite@users.noreply.github.com> Date: Mon, 8 Dec 2025 20:07:54 +0200 Subject: [PATCH 054/248] Rubicon Bid Adapter: Remove Topics support (#14242) * Remove unused segment tax functions and related tests from rubiconBidAdapter * Remove test for o_ae parameter in rubicon adapter when fledge is enabled --- modules/rubiconBidAdapter.js | 22 ------- test/spec/modules/rubiconBidAdapter_spec.js | 73 --------------------- 2 files changed, 95 deletions(-) diff --git a/modules/rubiconBidAdapter.js b/modules/rubiconBidAdapter.js index 76e973c7527..47c311ceb9a 100644 --- a/modules/rubiconBidAdapter.js +++ b/modules/rubiconBidAdapter.js @@ -549,7 +549,6 @@ export const spec = { data['p_site.mobile'] = bidRequest.ortb2.site.mobile } - addDesiredSegtaxes(bidderRequest, data); // loop through userIds and add to request if (bidRequest?.ortb2?.user?.ext?.eids) { bidRequest.ortb2.user.ext.eids.forEach(({ source, uids = [], inserter, matcher, mm, ext = {} }) => { @@ -1052,27 +1051,6 @@ function applyFPD(bidRequest, mediaType, data) { } } -function addDesiredSegtaxes(bidderRequest, target) { - if (rubiConf.readTopics === false) { - return; - } - const iSegments = [1, 2, 5, 6, 7, 507].concat(rubiConf.sendSiteSegtax?.map(seg => Number(seg)) || []); - const vSegments = [4, 508].concat(rubiConf.sendUserSegtax?.map(seg => Number(seg)) || []); - const userData = bidderRequest.ortb2?.user?.data || []; - const siteData = bidderRequest.ortb2?.site?.content?.data || []; - userData.forEach(iterateOverSegmentData(target, 'v', vSegments)); - siteData.forEach(iterateOverSegmentData(target, 'i', iSegments)); -} - -function iterateOverSegmentData(target, char, segments) { - return (topic) => { - const taxonomy = Number(topic.ext?.segtax); - if (segments.includes(taxonomy)) { - target[`tg_${char}.tax${taxonomy}`] = topic.segment?.map(seg => seg.id).join(','); - } - } -} - /** * @param sizes * @returns {*} diff --git a/test/spec/modules/rubiconBidAdapter_spec.js b/test/spec/modules/rubiconBidAdapter_spec.js index a0a9c8ba194..70e55c5a7eb 100644 --- a/test/spec/modules/rubiconBidAdapter_spec.js +++ b/test/spec/modules/rubiconBidAdapter_spec.js @@ -2890,79 +2890,6 @@ describe('the rubicon adapter', function () { expect(slotParams.kw).to.equal('a,b,c'); }); - it('should pass along desired segtaxes, but not non-desired ones', () => { - const localBidderRequest = Object.assign({}, bidderRequest); - localBidderRequest.refererInfo = {domain: 'bob'}; - config.setConfig({ - rubicon: { - sendUserSegtax: [9], - sendSiteSegtax: [10] - } - }); - localBidderRequest.ortb2.user = { - data: [{ - ext: { - segtax: '404' - }, - segment: [{id: 5}, {id: 6}] - }, { - ext: { - segtax: '508' - }, - segment: [{id: 5}, {id: 2}] - }, { - ext: { - segtax: '9' - }, - segment: [{id: 1}, {id: 2}] - }] - } - localBidderRequest.ortb2.site = { - content: { - data: [{ - ext: { - segtax: '10' - }, - segment: [{id: 2}, {id: 3}] - }, { - ext: { - segtax: '507' - }, - segment: [{id: 3}, {id: 4}] - }] - } - } - const slotParams = spec.createSlotParams(bidderRequest.bids[0], localBidderRequest); - expect(slotParams['tg_i.tax507']).is.equal('3,4'); - expect(slotParams['tg_v.tax508']).is.equal('5,2'); - expect(slotParams['tg_v.tax9']).is.equal('1,2'); - expect(slotParams['tg_i.tax10']).is.equal('2,3'); - expect(slotParams['tg_v.tax404']).is.equal(undefined); - }); - - it('should support IAB segtax 7 in site segments', () => { - const localBidderRequest = Object.assign({}, bidderRequest); - localBidderRequest.refererInfo = {domain: 'bob'}; - config.setConfig({ - rubicon: { - sendUserSegtax: [4], - sendSiteSegtax: [1, 2, 5, 6, 7] - } - }); - localBidderRequest.ortb2.site = { - content: { - data: [{ - ext: { - segtax: '7' - }, - segment: [{id: 8}, {id: 9}] - }] - } - }; - const slotParams = spec.createSlotParams(bidderRequest.bids[0], localBidderRequest); - expect(slotParams['tg_i.tax7']).to.equal('8,9'); - }); - it('should add p_site.mobile if mobile is a number in ortb2.site', function () { // Set up a bidRequest with mobile property as a number const localBidderRequest = Object.assign({}, bidderRequest); From 5171e2f6beba1d90110020e32a454cde1036a521 Mon Sep 17 00:00:00 2001 From: tal avital Date: Mon, 8 Dec 2025 20:08:26 +0200 Subject: [PATCH 055/248] Taboola - add support to deferred billing (#14243) * add deferredBilling support using onBidBillable * update burl setting * support nurl firing logic --- modules/taboolaBidAdapter.js | 16 +++- test/spec/modules/taboolaBidAdapter_spec.js | 83 +++++++++++++++++++++ 2 files changed, 98 insertions(+), 1 deletion(-) diff --git a/modules/taboolaBidAdapter.js b/modules/taboolaBidAdapter.js index dda4694a52c..3e7127f1ab7 100644 --- a/modules/taboolaBidAdapter.js +++ b/modules/taboolaBidAdapter.js @@ -114,6 +114,9 @@ const converter = ortbConverter({ bidResponse(buildBidResponse, bid, context) { const bidResponse = buildBidResponse(bid, context); bidResponse.nurl = bid.nurl; + if (bid.burl) { + bidResponse.burl = bid.burl; + } bidResponse.ad = replaceAuctionPrice(bid.adm, bid.price); if (bid.ext && bid.ext.dchain) { deepSetValue(bidResponse, 'meta.dchain', bid.ext.dchain); @@ -212,9 +215,20 @@ export const spec = { return bids; }, onBidWon: (bid) => { - if (bid.nurl) { + if (bid.nurl && !bid.deferBilling) { const resolvedNurl = replaceAuctionPrice(bid.nurl, bid.originalCpm); ajax(resolvedNurl); + bid.taboolaBillingFired = true; + } + }, + onBidBillable: (bid) => { + if (bid.taboolaBillingFired) { + return; + } + const billingUrl = bid.burl || bid.nurl; + if (billingUrl) { + const resolvedBillingUrl = replaceAuctionPrice(billingUrl, bid.originalCpm); + ajax(resolvedBillingUrl); } }, getUserSyncs: function(syncOptions, serverResponses, gdprConsent, uspConsent, gppConsent) { diff --git a/test/spec/modules/taboolaBidAdapter_spec.js b/test/spec/modules/taboolaBidAdapter_spec.js index 8219ec3e8e2..9c06d717a04 100644 --- a/test/spec/modules/taboolaBidAdapter_spec.js +++ b/test/spec/modules/taboolaBidAdapter_spec.js @@ -116,6 +116,89 @@ describe('Taboola Adapter', function () { spec.onBidWon(bid); expect(server.requests[0].url).to.equals('http://win.example.com/3.4') }); + + it('should not fire nurl when deferBilling is true', function () { + const nurl = 'http://win.example.com/${AUCTION_PRICE}'; + const bid = { + requestId: 1, + cpm: 2, + originalCpm: 3.4, + creativeId: 1, + ttl: 60, + netRevenue: true, + mediaType: 'banner', + ad: '...', + width: 300, + height: 250, + nurl: nurl, + deferBilling: true + } + spec.onBidWon(bid); + expect(server.requests.length).to.equal(0); + }); + }); + + describe('onBidBillable', function () { + it('onBidBillable exist as a function', () => { + expect(spec.onBidBillable).to.exist.and.to.be.a('function'); + }); + + it('should fire burl when available', function () { + const burl = 'http://billing.example.com/${AUCTION_PRICE}'; + const nurl = 'http://win.example.com/${AUCTION_PRICE}'; + const bid = { + requestId: 1, + cpm: 2, + originalCpm: 3.4, + creativeId: 1, + ttl: 60, + netRevenue: true, + mediaType: 'banner', + ad: '...', + width: 300, + height: 250, + nurl: nurl, + burl: burl + } + spec.onBidBillable(bid); + expect(server.requests[0].url).to.equals('http://billing.example.com/3.4'); + }); + + it('should fall back to nurl when burl is not available', function () { + const nurl = 'http://win.example.com/${AUCTION_PRICE}'; + const bid = { + requestId: 1, + cpm: 2, + originalCpm: 3.4, + creativeId: 1, + ttl: 60, + netRevenue: true, + mediaType: 'banner', + ad: '...', + width: 300, + height: 250, + nurl: nurl + } + spec.onBidBillable(bid); + expect(server.requests[0].url).to.equals('http://win.example.com/3.4'); + }); + + it('should not fire anything when neither burl nor nurl is available', function () { + const bid = { + requestId: 1, + cpm: 2, + originalCpm: 3.4, + creativeId: 1, + ttl: 60, + netRevenue: true, + mediaType: 'banner', + ad: '...', + width: 300, + height: 250 + } + spec.onBidBillable(bid); + expect(server.requests.length).to.equal(0); + }); }); describe('onTimeout', function () { From 6f6dc939476d39e0db1c948be46b47ab40a30cb5 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Mon, 8 Dec 2025 13:09:03 -0500 Subject: [PATCH 056/248] Core: Add support to also use keywords from application/ld+json to 1p enrichment (#14238) * Add support to also use keywords from application/ld+json * Fix tests * add configuration options for keyword lookup, include both meta and json by default --------- Co-authored-by: Petrica Nanca --- src/fpd/enrichment.ts | 70 ++++++++++++++++++-- test/spec/fpd/enrichment_spec.js | 107 +++++++++++++++++++++++++------ 2 files changed, 154 insertions(+), 23 deletions(-) diff --git a/src/fpd/enrichment.ts b/src/fpd/enrichment.ts index b8102caa6ac..1ccaaaf6692 100644 --- a/src/fpd/enrichment.ts +++ b/src/fpd/enrichment.ts @@ -1,7 +1,17 @@ import {hook} from '../hook.js'; import {getRefererInfo, parseDomain} from '../refererDetection.js'; import {findRootDomain} from './rootDomain.js'; -import {deepSetValue, deepAccess, getDefinedParams, getWinDimensions, getDocument, getWindowSelf, getWindowTop, mergeDeep} from '../utils.js'; +import { + deepSetValue, + deepAccess, + getDefinedParams, + getWinDimensions, + getDocument, + getWindowSelf, + getWindowTop, + mergeDeep, + memoize +} from '../utils.js'; import { getDNT } from '../../libraries/dnt/index.js'; import {config} from '../config.js'; import {getHighEntropySUA, getLowEntropySUA} from './sua.js'; @@ -31,6 +41,19 @@ export interface FirstPartyDataConfig { * https://developer.mozilla.org/en-US/docs/Web/API/NavigatorUAData#returning_high_entropy_values */ uaHints?: string[] + /** + * Control keyword enrichment - `site.keywords`, `dooh.keywords` and/or `app.keywords`. + */ + keywords?: { + /** + * If true (the default), look for keywords in a keyword meta tag () and add them to first party data + */ + meta?: boolean, + /** + * If true (the default), look for keywords in a JSON-LD tag (', + adid: '987654321', + adomain: [ + 'https://trustx-advertiser.com' + ], + iurl: 'https://trustx-campaign.com/creative.jpg', + cid: '12345', + crid: 'trustx-creative-234', + cat: [], + w: 300, + h: 250, + ext: { + prebid: { + type: 'banner' + }, + bidder: { + trustx: { + brand_id: 123456, + auction_id: 987654321098765, + bidder_id: 5, + bid_ad_type: 0 + } + } + } + } + ], + seat: 'trustx' + } + ], + ext: { + usersync: { + sync1: { + status: 'none', + syncs: [ + { + url: 'https://sync1.trustx.org/sync', + type: 'iframe' + } + ] + }, + sync2: { + status: 'none', + syncs: [ + { + url: 'https://sync2.trustx.org/sync', + type: 'pixel' + } + ] + } + }, + responsetimemillis: { + trustx: 95 + } + } + } + }; +} + +describe('trustxBidAdapter', function() { + let videoBidRequest; + + const VIDEO_REQUEST = { + 'bidderCode': 'trustx', + 'auctionId': 'd2b62784-f134-4896-a87e-a233c3371413', + 'bidderRequestId': 'trustx-video-request-1', + 'bids': videoBidRequest, + 'auctionStart': 1615982456880, + 'timeout': 3000, + 'start': 1615982456884, + 'doneCbCallCount': 0, + 'refererInfo': { + 'numIframes': 1, + 'reachedTop': true, + 'referer': 'trustx-test.com' + } + }; + + beforeEach(function () { + videoBidRequest = { + mediaTypes: { + video: { + context: 'instream', + playerSize: [[640, 480]], + } + }, + bidder: 'trustx', + sizes: [640, 480], + bidId: 'trustx-video-bid-1', + adUnitCode: 'video-placement-1', + params: { + video: { + playerWidth: 640, + playerHeight: 480, + mimes: ['video/mp4', 'application/javascript'], + protocols: [2, 5], + api: [2], + position: 1, + delivery: [2], + sid: 789, + rewarded: 0, + placement: 1, + plcmt: 1, + hp: 1, + inventoryid: 456 + }, + site: { + id: 1234, + page: 'https://trustx-test.com', + referrer: 'http://trustx-referrer.com' + }, + publisher_id: 'trustx-publisher-id', + bidfloor: 0 + } + }; + }); + + describe('isValidRequest', function() { + let bidderRequest; + + beforeEach(function() { + bidderRequest = getBannerRequest(); + }); + + it('should accept request with uid/secid', function () { + bidderRequest.bids[0].params = { + uid: '123', + mediaTypes: { banner: { sizes: [[300, 250]] } } + }; + expect(spec.isBidRequestValid(bidderRequest.bids[0])).to.be.true; + }); + + it('should accept request with secid', function () { + bidderRequest.bids[0].params = { + secid: '456', + publisher_id: 'pub-1', + mediaTypes: { banner: { sizes: [[300, 250]] } } + }; + expect(spec.isBidRequestValid(bidderRequest.bids[0])).to.be.true; + }); + + it('reject requests without params', function () { + bidderRequest.bids[0].params = {}; + expect(spec.isBidRequestValid(bidderRequest.bids[0])).to.be.false; + }); + + it('returns false when banner mediaType does not exist', function () { + bidderRequest.bids[0].mediaTypes = {} + expect(spec.isBidRequestValid(bidderRequest.bids[0])).to.be.false; + }); + }); + + describe('buildRequests', function() { + let bidderRequest; + + beforeEach(function() { + bidderRequest = getBannerRequest(); + }); + + it('should return expected request object', function() { + const bidRequest = spec.buildRequests(bidderRequest.bids, bidderRequest); + expect(bidRequest.url).equal('https://ads.trustx.org/pbhb'); + expect(bidRequest.method).equal('POST'); + }); + }); + + context('banner validation', function () { + let bidderRequest; + + beforeEach(function() { + bidderRequest = getBannerRequest(); + }); + + it('returns true when banner sizes are defined', function () { + const bid = { + bidder: 'trustx', + mediaTypes: { + banner: { + sizes: [[250, 300]] + } + }, + params: { + uid: 'trustx-placement-1', + } + }; + + expect(spec.isBidRequestValid(bidderRequest.bids[0])).to.be.true; + }); + + it('returns false when banner sizes are invalid', function () { + const invalidSizes = [ + undefined, + '3:2', + 456, + 'invalid' + ]; + + invalidSizes.forEach((sizes) => { + const bid = { + bidder: 'trustx', + mediaTypes: { + banner: { + sizes + } + }, + params: { + uid: 'trustx-placement-1', + } + }; + + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + }); + }); + + context('video validation', function () { + beforeEach(function () { + // Basic Valid BidRequest + this.bid = { + bidder: 'trustx', + mediaTypes: { + video: { + playerSize: [[300, 250]], + context: 'instream', + mimes: ['video/mp4', 'video/webm'], + protocols: [2, 3] + } + }, + params: { + uid: 'trustx-placement-1', + } + }; + }); + + it('should return true (skip validations) when test = true', function () { + this.bid.params = { + test: true + }; + expect(spec.isBidRequestValid(this.bid)).to.equal(true); + }); + + it('returns false when video context is not defined', function () { + delete this.bid.mediaTypes.video.context; + + expect(spec.isBidRequestValid(this.bid)).to.be.false; + }); + + it('returns false when video playserSize is invalid', function () { + const invalidSizes = [ + undefined, + '1:1', + 456, + 'invalid' + ]; + + invalidSizes.forEach((playerSize) => { + this.bid.mediaTypes.video.playerSize = playerSize; + expect(spec.isBidRequestValid(this.bid)).to.be.false; + }); + }); + + it('returns false when video mimes is invalid', function () { + const invalidMimes = [ + undefined, + 'invalid', + 1, + [] + ] + + invalidMimes.forEach((mimes) => { + this.bid.mediaTypes.video.mimes = mimes; + expect(spec.isBidRequestValid(this.bid)).to.be.false; + }) + }); + + it('returns false when video protocols is invalid', function () { + const invalidProtocols = [ + undefined, + 'invalid', + 1, + [] + ] + + invalidProtocols.forEach((protocols) => { + this.bid.mediaTypes.video.protocols = protocols; + expect(spec.isBidRequestValid(this.bid)).to.be.false; + }) + }); + + it('should accept outstream context', function () { + this.bid.mediaTypes.video.context = 'outstream'; + expect(spec.isBidRequestValid(this.bid)).to.be.true; + }); + }); + + describe('buildRequests', function () { + let bidderBannerRequest; + let bidRequestsWithMediaTypes; + let mockBidderRequest; + + beforeEach(function() { + bidderBannerRequest = getBannerRequest(); + + mockBidderRequest = {refererInfo: {}}; + + bidRequestsWithMediaTypes = [{ + bidder: 'trustx', + params: { + publisher_id: 'trustx-publisher-id', + }, + adUnitCode: '/adunit-test/trustx-path', + mediaTypes: { + banner: { + sizes: [[300, 250], [300, 600]] + } + }, + bidId: 'trustx-test-bid-1', + bidderRequestId: 'trustx-test-request-1', + auctionId: 'trustx-test-auction-1', + transactionId: 'trustx-test-transaction-1', + ortb2Imp: { + ext: { + ae: 3 + } + } + }, { + bidder: 'trustx', + params: { + publisher_id: 'trustx-publisher-id', + }, + adUnitCode: 'trustx-adunit', + mediaTypes: { + video: { + playerSize: [640, 480], + placement: 1, + plcmt: 1, + } + }, + bidId: 'trustx-test-bid-2', + bidderRequestId: 'trustx-test-request-2', + auctionId: 'trustx-test-auction-2', + transactionId: 'trustx-test-transaction-2' + }]; + }); + + context('when mediaType is banner', function () { + it('creates request data', function () { + let request = spec.buildRequests(bidderBannerRequest.bids, bidderBannerRequest) + + expect(request).to.exist.and.to.be.a('object'); + const payload = request.data; + expect(payload.imp[0]).to.have.property('id', bidderBannerRequest.bids[0].bidId); + }); + + it('should combine multiple bid requests into a single request', function () { + // NOTE: This test verifies that trustx adapter does NOT use multi-request logic. + // Trustx adapter = returns single request with all imp objects (standard OpenRTB) + // + // IMPORTANT: Trustx adapter DOES support multi-bid (multiple bids in response for one imp), + // but does NOT support multi-request (multiple requests instead of one). + const multipleBidRequests = [ + { + bidder: 'trustx', + params: { uid: 'uid-1' }, + adUnitCode: 'adunit-1', + mediaTypes: { banner: { sizes: [[300, 250]] } }, + bidId: 'bid-1', + bidderRequestId: 'request-1', + auctionId: 'auction-1' + }, + { + bidder: 'trustx', + params: { uid: 'uid-2' }, + adUnitCode: 'adunit-2', + mediaTypes: { banner: { sizes: [[728, 90]] } }, + bidId: 'bid-2', + bidderRequestId: 'request-1', + auctionId: 'auction-1' + }, + { + bidder: 'trustx', + params: { uid: 'uid-3' }, + adUnitCode: 'adunit-3', + mediaTypes: { banner: { sizes: [[970, 250]] } }, + bidId: 'bid-3', + bidderRequestId: 'request-1', + auctionId: 'auction-1' + } + ]; + + const request = spec.buildRequests(multipleBidRequests, mockBidderRequest); + + // Trustx adapter should return a SINGLE request object + expect(request).to.be.an('object'); + expect(request).to.not.be.an('array'); + expect(request.method).to.equal('POST'); + expect(request.url).to.equal('https://ads.trustx.org/pbhb'); // No placement_id in URL + + // All imp objects should be in the same request + const payload = request.data; + expect(payload.imp).to.be.an('array'); + expect(payload.imp).to.have.length(3); + expect(payload.imp[0].id).to.equal('bid-1'); + expect(payload.imp[1].id).to.equal('bid-2'); + expect(payload.imp[2].id).to.equal('bid-3'); + expect(payload.imp[0].tagid).to.equal('uid-1'); + expect(payload.imp[1].tagid).to.equal('uid-2'); + expect(payload.imp[2].tagid).to.equal('uid-3'); + }); + + it('should determine media type from mtype field for banner', function () { + const customBidderResponse = Object.assign({}, getBidderResponse()); + customBidderResponse.body = Object.assign({}, getBidderResponse().body); + + if (customBidderResponse.body.seatbid && + customBidderResponse.body.seatbid[0] && + customBidderResponse.body.seatbid[0].bid && + customBidderResponse.body.seatbid[0].bid[0]) { + // Add mtype to the bid + customBidderResponse.body.seatbid[0].bid[0].mtype = 1; // Banner type + } + + const bidRequest = spec.buildRequests(bidderBannerRequest.bids, bidderBannerRequest); + const bids = spec.interpretResponse(customBidderResponse, bidRequest); + expect(bids[0].mediaType).to.equal('banner'); + }); + }); + + if (FEATURES.VIDEO) { + context('video', function () { + it('should create a POST request for every bid', function () { + const requests = spec.buildRequests(bidRequestsWithMediaTypes, mockBidderRequest); + expect(requests.method).to.equal('POST'); + expect(requests.url.trim()).to.equal(spec.ENDPOINT); + }); + + it('should attach request data', function () { + const requests = spec.buildRequests(bidRequestsWithMediaTypes, mockBidderRequest); + const data = requests.data; + const [width, height] = videoBidRequest.sizes; + const VERSION = '1.0.0'; + + expect(data.imp[1].video.w).to.equal(width); + expect(data.imp[1].video.h).to.equal(height); + expect(data.imp[1].bidfloor).to.equal(videoBidRequest.params.bidfloor); + expect(data.imp[1]['video']['placement']).to.equal(videoBidRequest.params.video['placement']); + expect(data.imp[1]['video']['plcmt']).to.equal(videoBidRequest.params.video['plcmt']); + expect(data.ext.prebidver).to.equal('$prebid.version$'); + expect(data.ext.adapterver).to.equal(spec.VERSION); + }); + + it('should attach End 2 End test data', function () { + bidRequestsWithMediaTypes[1].params.test = true; + const requests = spec.buildRequests(bidRequestsWithMediaTypes, mockBidderRequest); + const data = requests.data; + expect(data.imp[1].bidfloor).to.equal(0); + expect(data.imp[1].video.w).to.equal(640); + expect(data.imp[1].video.h).to.equal(480); + }); + }); + } + + context('privacy regulations', function() { + it('should include USP consent data in request', function() { + const uspConsent = '1YNN'; + const bidderRequestWithUsp = Object.assign({}, mockBidderRequest, { uspConsent }); + const requests = spec.buildRequests(bidRequestsWithMediaTypes, bidderRequestWithUsp); + const data = requests.data; + + expect(data.regs.ext).to.have.property('us_privacy', '1YNN'); + }); + + it('should include GPP consent data from gppConsent in request', function() { + const gppConsent = { + gppString: 'GPP_CONSENT_STRING', + applicableSections: [1, 2, 3] + }; + + const bidderRequestWithGpp = Object.assign({}, mockBidderRequest, { gppConsent }); + const requests = spec.buildRequests(bidRequestsWithMediaTypes, bidderRequestWithGpp); + const data = requests.data; + + expect(data.regs).to.have.property('gpp', 'GPP_CONSENT_STRING'); + expect(data.regs.gpp_sid).to.deep.equal([1, 2, 3]); + }); + + it('should include GPP consent data from ortb2 in request', function() { + const ortb2 = { + regs: { + gpp: 'GPP_STRING_FROM_ORTB2', + gpp_sid: [1, 2] + } + }; + + const bidderRequestWithOrtb2Gpp = Object.assign({}, mockBidderRequest, { ortb2 }); + const requests = spec.buildRequests(bidRequestsWithMediaTypes, bidderRequestWithOrtb2Gpp); + const data = requests.data; + + expect(data.regs).to.have.property('gpp', 'GPP_STRING_FROM_ORTB2'); + expect(data.regs.gpp_sid).to.deep.equal([1, 2]); + }); + + it('should prioritize gppConsent over ortb2 for GPP consent data', function() { + const gppConsent = { + gppString: 'GPP_CONSENT_STRING', + applicableSections: [1, 2, 3] + }; + + const ortb2 = { + regs: { + gpp: 'GPP_STRING_FROM_ORTB2', + gpp_sid: [1, 2] + } + }; + + const bidderRequestWithBothGpp = Object.assign({}, mockBidderRequest, { gppConsent, ortb2 }); + const requests = spec.buildRequests(bidRequestsWithMediaTypes, bidderRequestWithBothGpp); + const data = requests.data; + + expect(data.regs).to.have.property('gpp', 'GPP_CONSENT_STRING'); + expect(data.regs.gpp_sid).to.deep.equal([1, 2, 3]); + }); + + it('should include COPPA flag in request when set to true', function() { + // Mock the config.getConfig function to return true for coppa + sinon.stub(config, 'getConfig').withArgs('coppa').returns(true); + + const requests = spec.buildRequests(bidRequestsWithMediaTypes, mockBidderRequest); + const data = requests.data; + + expect(data.regs).to.have.property('coppa', 1); + + // Restore the stub + config.getConfig.restore(); + }); + }); + }); + + describe('interpretResponse', function() { + context('when mediaType is banner', function() { + let bidRequest, bidderResponse; + beforeEach(function() { + const bidderRequest = getBannerRequest(); + bidRequest = spec.buildRequests(bidderRequest.bids, bidderRequest); + bidderResponse = getBidderResponse(); + }); + + it('handles empty response', function () { + const EMPTY_RESP = Object.assign({}, bidderResponse, {'body': {}}); + const bids = spec.interpretResponse(EMPTY_RESP, bidRequest); + + expect(bids).to.be.empty; + }); + + it('have bids', function () { + let bids = spec.interpretResponse(bidderResponse, bidRequest); + expect(bids).to.be.an('array').that.is.not.empty; + validateBidOnIndex(0); + + function validateBidOnIndex(index) { + expect(bids[index]).to.have.property('currency', 'USD'); + expect(bids[index]).to.have.property('requestId', getBidderResponse().body.seatbid[0].bid[index].impid); + expect(bids[index]).to.have.property('cpm', getBidderResponse().body.seatbid[0].bid[index].price); + expect(bids[index]).to.have.property('width', getBidderResponse().body.seatbid[0].bid[index].w); + expect(bids[index]).to.have.property('height', getBidderResponse().body.seatbid[0].bid[index].h); + expect(bids[index]).to.have.property('ad', getBidderResponse().body.seatbid[0].bid[index].adm); + expect(bids[index]).to.have.property('creativeId', getBidderResponse().body.seatbid[0].bid[index].crid); + expect(bids[index].meta).to.have.property('advertiserDomains'); + expect(bids[index]).to.have.property('ttl', 360); + expect(bids[index]).to.have.property('netRevenue', false); + } + }); + + it('should determine media type from mtype field for banner', function () { + const customBidderResponse = Object.assign({}, getBidderResponse()); + customBidderResponse.body = Object.assign({}, getBidderResponse().body); + + if (customBidderResponse.body.seatbid && + customBidderResponse.body.seatbid[0] && + customBidderResponse.body.seatbid[0].bid && + customBidderResponse.body.seatbid[0].bid[0]) { + // Add mtype to the bid + customBidderResponse.body.seatbid[0].bid[0].mtype = 1; // Banner type + } + + const bids = spec.interpretResponse(customBidderResponse, bidRequest); + expect(bids[0].mediaType).to.equal('banner'); + }); + + it('should support multi-bid (multiple bids for one imp object) - Prebid v10 feature', function () { + // Multi-bid: Server can return multiple bids for a single imp object + // This is supported by ortbConverter which trustx adapter uses + const multiBidResponse = { + headers: null, + body: { + id: 'trustx-response-multi-bid', + seatbid: [ + { + bid: [ + { + id: 'bid-1', + impid: 'trustx-bid-12345', // Same impid - multiple bids for one imp + price: 2.50, + adm: '
Bid 1 Creative
', + adid: 'ad-1', + crid: 'creative-1', + w: 300, + h: 250, + mtype: 1, // Banner + ext: { + prebid: { type: 'banner' } + } + }, + { + id: 'bid-2', + impid: 'trustx-bid-12345', // Same impid - multiple bids for one imp + price: 3.00, + adm: '
Bid 2 Creative
', + adid: 'ad-2', + crid: 'creative-2', + w: 300, + h: 250, + mtype: 1, // Banner + ext: { + prebid: { type: 'banner' } + } + }, + { + id: 'bid-3', + impid: 'trustx-bid-12345', // Same impid - multiple bids for one imp + price: 2.75, + adm: '
Bid 3 Creative
', + adid: 'ad-3', + crid: 'creative-3', + w: 300, + h: 250, + mtype: 1, // Banner + ext: { + prebid: { type: 'banner' } + } + } + ], + seat: 'trustx' + } + ] + } + }; + + const bids = spec.interpretResponse(multiBidResponse, bidRequest); + + // Trustx adapter should return all bids (multi-bid support via ortbConverter) + expect(bids).to.be.an('array'); + expect(bids).to.have.length(3); // All 3 bids should be returned + + // Verify each bid + expect(bids[0].requestId).to.equal('trustx-bid-12345'); + expect(bids[0].cpm).to.equal(2.50); + expect(bids[0].ad).to.equal('
Bid 1 Creative
'); + expect(bids[0].creativeId).to.equal('creative-1'); + + expect(bids[1].requestId).to.equal('trustx-bid-12345'); + expect(bids[1].cpm).to.equal(3.00); + expect(bids[1].ad).to.equal('
Bid 2 Creative
'); + expect(bids[1].creativeId).to.equal('creative-2'); + + expect(bids[2].requestId).to.equal('trustx-bid-12345'); + expect(bids[2].cpm).to.equal(2.75); + expect(bids[2].ad).to.equal('
Bid 3 Creative
'); + expect(bids[2].creativeId).to.equal('creative-3'); + }); + + it('should handle response with ext.userid (userid is saved to localStorage by adapter)', function () { + const userId = '42d55fac-da65-4468-b854-06f40cfe3852'; + const impId = bidRequest.data.imp[0].id; + const responseWithUserId = { + headers: null, + body: { + id: 'trustx-response-with-userid', + seatbid: [{ + bid: [{ + id: 'bid-1', + impid: impId, + price: 0.5, + adm: '
Test Ad
', + w: 300, + h: 250, + mtype: 1 + }], + seat: 'trustx' + }], + ext: { + userid: userId + } + } + }; + + // Test that interpretResponse handles ext.userid without errors + // (actual localStorage saving is tested at integration level) + const bids = spec.interpretResponse(responseWithUserId, bidRequest); + + expect(bids).to.be.an('array').that.is.not.empty; + expect(bids[0].cpm).to.equal(0.5); + // ext.userid is processed internally by adapter and saved to localStorage + // if localStorageWriteAllowed is true and localStorage is enabled + }); + + it('should handle response with nurl and burl tracking URLs', function () { + const impId = bidRequest.data.imp[0].id; + const nurl = 'https://trackers.trustx.org/event?brid=xxx&e=nurl&cpm=${AUCTION_PRICE}'; + const burl = 'https://trackers.trustx.org/event?brid=xxx&e=burl&cpm=${AUCTION_PRICE}'; + const responseWithTracking = { + headers: null, + body: { + id: 'trustx-response-tracking', + seatbid: [{ + bid: [{ + id: 'bid-1', + impid: impId, + price: 0.0413, + adm: '
Test Ad
', + nurl: nurl, + burl: burl, + adid: 'z0bgu851', + w: 728, + h: 90, + mtype: 1 + }], + seat: 'trustx' + }] + } + }; + + const bids = spec.interpretResponse(responseWithTracking, bidRequest); + + expect(bids).to.be.an('array').that.is.not.empty; + // burl is directly mapped to bidResponse.burl by ortbConverter + expect(bids[0].burl).to.equal(burl); + // nurl is processed by banner processor: if adm exists, nurl is embedded as tracking pixel in ad + // if no adm, nurl becomes adUrl. In this case, we have adm, so nurl is in ad as tracking pixel + expect(bids[0].ad).to.include(nurl); // nurl should be embedded in ad as tracking pixel + expect(bids[0].ad).to.include('
Test Ad
'); // original adm should still be there + }); + + it('should handle response with adomain and cat (categories)', function () { + const impId = bidRequest.data.imp[0].id; + const responseWithCategories = { + headers: null, + body: { + id: 'trustx-response-categories', + seatbid: [{ + bid: [{ + id: 'bid-1', + impid: impId, + price: 0.5, + adm: '
Test Ad
', + adid: 'z0bgu851', + adomain: ['adl.org'], + cat: ['IAB6'], + w: 728, + h: 90, + mtype: 1 + }], + seat: 'trustx' + }] + } + }; + + const bids = spec.interpretResponse(responseWithCategories, bidRequest); + + expect(bids).to.be.an('array').that.is.not.empty; + expect(bids[0].meta).to.exist; + expect(bids[0].meta.advertiserDomains).to.deep.equal(['adl.org']); + expect(bids[0].meta.primaryCatId).to.equal('IAB6'); + }); + }); + + context('when mediaType is video', function () { + let bidRequest, bidderResponse; + beforeEach(function() { + const bidderRequest = getVideoRequest(); + bidRequest = spec.buildRequests(bidderRequest.bids, bidderRequest); + bidderResponse = getBidderResponse(); + }); + + it('handles empty response', function () { + const EMPTY_RESP = Object.assign({}, bidderResponse, {'body': {}}); + const bids = spec.interpretResponse(EMPTY_RESP, bidRequest); + + expect(bids).to.be.empty; + }); + + it('should return no bids if the response "nurl" and "adm" are missing', function () { + const SERVER_RESP = Object.assign({}, bidderResponse, {'body': { + seatbid: [{ + bid: [{ + price: 8.01 + }] + }] + }}); + const bids = spec.interpretResponse(SERVER_RESP, bidRequest); + expect(bids.length).to.equal(0); + }); + + it('should return no bids if the response "price" is missing', function () { + const SERVER_RESP = Object.assign({}, bidderResponse, {'body': { + seatbid: [{ + bid: [{ + adm: '' + }] + }] + }}); + const bids = spec.interpretResponse(SERVER_RESP, bidRequest); + expect(bids.length).to.equal(0); + }); + + it('should determine media type from mtype field for video', function () { + const SERVER_RESP = Object.assign({}, bidderResponse, { + 'body': { + seatbid: [{ + bid: [{ + id: 'trustx-video-bid-1', + impid: 'trustx-video-bid-1', + price: 10.00, + adm: '', + adid: '987654321', + adomain: ['trustx-advertiser.com'], + iurl: 'https://trustx-campaign.com/creative.jpg', + cid: '12345', + crid: 'trustx-creative-234', + w: 1920, + h: 1080, + mtype: 2, // Video type + ext: { + prebid: { + type: 'video' + } + } + }] + }] + } + }); + + const bids = spec.interpretResponse(SERVER_RESP, bidRequest); + expect(bids[0].mediaType).to.equal('video'); + }); + }); + }); + + describe('getUserSyncs', function () { + let bidRequest, bidderResponse; + beforeEach(function() { + const bidderRequest = getVideoRequest(); + bidRequest = spec.buildRequests(bidderRequest.bids, bidderRequest); + bidderResponse = getBidderResponse(); + }); + + it('handles no parameters', function () { + let opts = spec.getUserSyncs({}); + expect(opts).to.be.an('array').that.is.empty; + }); + it('returns non if sync is not allowed', function () { + let opts = spec.getUserSyncs({iframeEnabled: false, pixelEnabled: false}); + + expect(opts).to.be.an('array').that.is.empty; + }); + + it('iframe sync enabled should return results', function () { + let opts = spec.getUserSyncs({iframeEnabled: true, pixelEnabled: false}, [bidderResponse]); + + expect(opts.length).to.equal(1); + expect(opts[0].type).to.equal('iframe'); + expect(opts[0].url).to.equal(bidderResponse.body.ext.usersync['sync1'].syncs[0].url); + }); + + it('pixel sync enabled should return results', function () { + let opts = spec.getUserSyncs({iframeEnabled: false, pixelEnabled: true}, [bidderResponse]); + + expect(opts.length).to.equal(1); + expect(opts[0].type).to.equal('image'); + expect(opts[0].url).to.equal(bidderResponse.body.ext.usersync['sync2'].syncs[0].url); + }); + + it('all sync enabled should prioritize iframe', function () { + let opts = spec.getUserSyncs({iframeEnabled: true, pixelEnabled: true}, [bidderResponse]); + + expect(opts.length).to.equal(1); + }); + + it('should handle real-world usersync with multiple providers (ttd, mediaforce, bidswitch, trustx)', function () { + const realWorldResponse = { + headers: null, + body: { + id: '40998eeaaba56068', + seatbid: [{ + bid: [{ + id: '435ddfcec96f2ab', + impid: '435ddfcec96f2ab', + price: 0.0413, + adm: '
Test Ad
', + w: 728, + h: 90, + mtype: 1 + }], + seat: '15' + }], + ext: { + usersync: { + ttd: { + syncs: [ + { + url: 'https://match.adsrvr.org/track/cmf/generic?ttd_tpi=1&ttd_pid=lewrkpm', + type: 'pixel' + }, + { + url: 'https://match.adsrvr.org/track/cmf/generic?ttd_tpi=1&ttd_pid=q4jldgr', + type: 'pixel' + } + ] + }, + mediaforce: { + syncs: [ + { + url: 'https://rtb.mfadsrvr.com/sync?ssp=trustx', + type: 'pixel' + } + ] + }, + bidswitch: { + syncs: [ + { + url: 'https://x.bidswitch.net/sync?ssp=trustx&user_id=42d55fac-da65-4468-b854-06f40cfe3852', + type: 'pixel' + } + ] + }, + trustx: { + syncs: [ + { + url: 'https://sync.trustx.org/usync?gdpr=&gdpr_consent=&us_privacy=1---&gpp=&gpp_sid=&publisher_id=101452&source=pbjs-response', + type: 'pixel' + }, + { + url: 'https://static.cdn.trustx.org/x/user_sync.html?gdpr=&gdpr_consent=&us_privacy=1---&gpp=&gpp_sid=&publisher_id=101452&source=pbjs-response', + type: 'iframe' + } + ] + } + }, + userid: '42d55fac-da65-4468-b854-06f40cfe3852' + } + } + }; + + // Test with pixel enabled + let opts = spec.getUserSyncs({iframeEnabled: false, pixelEnabled: true}, [realWorldResponse]); + + // Should return all pixel syncs from all providers + expect(opts).to.be.an('array'); + expect(opts.length).to.equal(5); // 2 ttd + 1 mediaforce + 1 bidswitch + 1 trustx pixel + expect(opts.every(s => s.type === 'image')).to.be.true; + expect(opts.some(s => s.url.includes('adsrvr.org'))).to.be.true; + expect(opts.some(s => s.url.includes('mfadsrvr.com'))).to.be.true; + expect(opts.some(s => s.url.includes('bidswitch.net'))).to.be.true; + expect(opts.some(s => s.url.includes('sync.trustx.org'))).to.be.true; + + // Test with iframe enabled + opts = spec.getUserSyncs({iframeEnabled: true, pixelEnabled: false}, [realWorldResponse]); + + // Should return only iframe syncs + expect(opts).to.be.an('array'); + expect(opts.length).to.equal(1); // 1 trustx iframe + expect(opts[0].type).to.equal('iframe'); + expect(opts[0].url).to.include('static.cdn.trustx.org'); + }); + }); +}); From c1318e9a8109f1235ecb887bf9a59dc35e849e19 Mon Sep 17 00:00:00 2001 From: Luca Corbo Date: Tue, 9 Dec 2025 22:20:50 +0100 Subject: [PATCH 063/248] WURFL RTD: Remove fingerprinting APIs from LCE detection (#14251) * WURFL RTD: send beacon on no bids * WURFL RTD: allow to not apply abtest to LCE bids (#4) * WURFL RTD: remove fingerprinting APIs from LCE detection Remove screen.availWidth usage from LCE device detection to comply with fingerprinting API restrictions. * WURFL RTD: remove setting of `device.w` and `device.h` in LCE enrichment LCE enrichment no longer sets `device.w` and `device.h` as these fields are already populated by Prebid. --- modules/wurflRtdProvider.js | 232 +++++++---- modules/wurflRtdProvider.md | 19 +- test/spec/modules/wurflRtdProvider_spec.js | 454 ++++++++++++++++++++- 3 files changed, 606 insertions(+), 99 deletions(-) diff --git a/modules/wurflRtdProvider.js b/modules/wurflRtdProvider.js index beffabdb7b9..9edf1df1a2f 100644 --- a/modules/wurflRtdProvider.js +++ b/modules/wurflRtdProvider.js @@ -13,7 +13,7 @@ import { getGlobal } from '../src/prebidGlobal.js'; // Constants const REAL_TIME_MODULE = 'realTimeData'; const MODULE_NAME = 'wurfl'; -const MODULE_VERSION = '2.1.0'; +const MODULE_VERSION = '2.3.0'; // WURFL_JS_HOST is the host for the WURFL service endpoints const WURFL_JS_HOST = 'https://prebid.wurflcloud.com'; @@ -53,8 +53,7 @@ const ENRICHMENT_TYPE = { LCE: 'lce', LCE_ERROR: 'lcefailed', WURFL_PUB: 'wurfl_pub', - WURFL_SSP: 'wurfl_ssp', - WURFL_PUB_SSP: 'wurfl_pub_ssp' + WURFL_SSP: 'wurfl_ssp' }; // Consent class constants @@ -76,7 +75,9 @@ const AB_TEST = { CONTROL_GROUP: 'control', TREATMENT_GROUP: 'treatment', DEFAULT_SPLIT: 0.5, - DEFAULT_NAME: 'unknown' + DEFAULT_NAME: 'unknown', + ENRICHMENT_TYPE_LCE: 'lce', + ENRICHMENT_TYPE_WURFL: 'wurfl' }; const logger = prefixLog('[WURFL RTD Submodule]'); @@ -105,9 +106,6 @@ let tier; // overQuota stores the over_quota flag from wurfl_pbjs data (possible values: 0, 1) let overQuota; -// abTest stores A/B test configuration and variant (set by init) -let abTest; - /** * Safely gets an object from localStorage with JSON parsing * @param {string} key The storage key @@ -322,21 +320,6 @@ function shouldSample(rate) { return randomValue < rate; } -/** - * getABVariant determines A/B test variant assignment based on split - * @param {number} split Treatment group split from 0-1 (float, e.g., 0.5 = 50% treatment) - * @returns {string} AB_TEST.TREATMENT_GROUP or AB_TEST.CONTROL_GROUP - */ -function getABVariant(split) { - if (split >= 1) { - return AB_TEST.TREATMENT_GROUP; - } - if (split <= 0) { - return AB_TEST.CONTROL_GROUP; - } - return Math.random() < split ? AB_TEST.TREATMENT_GROUP : AB_TEST.CONTROL_GROUP; -} - /** * getConsentClass calculates the consent classification level * @param {Object} userConsent User consent data @@ -942,26 +925,9 @@ const WurflLCEDevice = { return window.screen.deviceXDPI / window.screen.logicalXDPI; } - const screenWidth = window.screen.availWidth; - const docWidth = window.document?.documentElement?.clientWidth; - - if (screenWidth && docWidth && docWidth > 0) { - return Math.round(screenWidth / docWidth); - } - return undefined; }, - _getScreenWidth(pixelRatio) { - // Assumes window.screen exists (caller checked) - return Math.round(window.screen.width * pixelRatio); - }, - - _getScreenHeight(pixelRatio) { - // Assumes window.screen exists (caller checked) - return Math.round(window.screen.height * pixelRatio); - }, - _getMake(ua) { for (const [makeToken, brandName] of this._makeMapping) { if (ua.includes(makeToken)) { @@ -1039,16 +1005,6 @@ const WurflLCEDevice = { const pixelRatio = this._getDevicePixelRatioValue(); if (pixelRatio !== undefined) { device.pxratio = pixelRatio; - - const width = this._getScreenWidth(pixelRatio); - if (width !== undefined) { - device.w = width; - } - - const height = this._getScreenHeight(pixelRatio); - if (height !== undefined) { - device.h = height; - } } } @@ -1066,6 +1022,105 @@ const WurflLCEDevice = { }; // ==================== END WURFL LCE DEVICE MODULE ==================== +// ==================== A/B TEST MANAGER ==================== + +const ABTestManager = { + _enabled: false, + _name: null, + _variant: null, + _excludeLCE: true, + _enrichmentType: null, + + /** + * Initializes A/B test configuration + * @param {Object} params Configuration params from config.params + */ + init(params) { + this._enabled = false; + this._name = null; + this._variant = null; + this._excludeLCE = true; + this._enrichmentType = null; + + const abTestEnabled = params?.abTest ?? false; + if (!abTestEnabled) { + return; + } + + this._enabled = true; + this._name = params?.abName ?? AB_TEST.DEFAULT_NAME; + this._excludeLCE = params?.abExcludeLCE ?? true; + + const split = params?.abSplit ?? AB_TEST.DEFAULT_SPLIT; + this._variant = this._computeVariant(split); + + logger.logMessage(`A/B test "${this._name}": user in ${this._variant} group (exclude_lce: ${this._excludeLCE})`); + }, + + /** + * _computeVariant determines A/B test variant assignment based on split + * @param {number} split Treatment group split from 0-1 (float, e.g., 0.5 = 50% treatment) + * @returns {string} AB_TEST.TREATMENT_GROUP or AB_TEST.CONTROL_GROUP + */ + _computeVariant(split) { + if (split >= 1) { + return AB_TEST.TREATMENT_GROUP; + } + if (split <= 0) { + return AB_TEST.CONTROL_GROUP; + } + return Math.random() < split ? AB_TEST.TREATMENT_GROUP : AB_TEST.CONTROL_GROUP; + }, + + /** + * Sets the enrichment type encountered in current auction + * @param {string} enrichmentType 'lce' or 'wurfl' + */ + setEnrichmentType(enrichmentType) { + this._enrichmentType = enrichmentType; + }, + + /** + * Checks if A/B test is enabled for current auction + * @returns {boolean} True if A/B test should be applied + */ + isEnabled() { + if (!this._enabled) return false; + if (this._enrichmentType === AB_TEST.ENRICHMENT_TYPE_LCE && this._excludeLCE) { + return false; + } + return true; + }, + + /** + * Checks if enrichment should be skipped (control group) + * @returns {boolean} True if enrichment should be skipped + */ + isInControlGroup() { + if (!this.isEnabled()) { + return false; + } + return (this._variant === AB_TEST.CONTROL_GROUP) + }, + + /** + * Gets beacon payload fields (returns null if not active for auction) + * @returns {Object|null} + */ + getBeaconPayload() { + if (!this.isEnabled()) { + return null; + } + + return { + ab_name: this._name, + ab_variant: this._variant + }; + } +}; + +// ==================== END A/B TEST MANAGER MODULE ==================== + // ==================== EXPORTED FUNCTIONS ==================== /** @@ -1084,22 +1139,12 @@ const init = (config, userConsent) => { samplingRate = DEFAULT_SAMPLING_RATE; tier = ''; overQuota = DEFAULT_OVER_QUOTA; - abTest = null; - - // A/B testing: set if enabled - const abTestEnabled = config?.params?.abTest ?? false; - if (abTestEnabled) { - const abName = config?.params?.abName ?? AB_TEST.DEFAULT_NAME; - const abSplit = config?.params?.abSplit ?? AB_TEST.DEFAULT_SPLIT; - const abVariant = getABVariant(abSplit); - abTest = { ab_name: abName, ab_variant: abVariant }; - logger.logMessage(`A/B test "${abName}": user in ${abVariant} group`); - } - logger.logMessage('initialized', { - version: MODULE_VERSION, - abTest: abTest ? `${abTest.ab_name}:${abTest.ab_variant}` : 'disabled' - }); + logger.logMessage('initialized', { version: MODULE_VERSION }); + + // A/B testing: initialize ABTestManager + ABTestManager.init(config?.params); + return true; } @@ -1123,8 +1168,16 @@ const getBidRequestData = (reqBidsConfigObj, callback, config, userConsent) => { }); }); - // A/B test: Skip enrichment for control group but allow beacon sending - if (abTest && abTest.ab_variant === AB_TEST.CONTROL_GROUP) { + // Determine enrichment type based on cache availability + WurflDebugger.cacheReadStart(); + const cachedWurflData = getObjectFromStorage(WURFL_RTD_STORAGE_KEY); + WurflDebugger.cacheReadStop(); + + const abEnrichmentType = cachedWurflData ? AB_TEST.ENRICHMENT_TYPE_WURFL : AB_TEST.ENRICHMENT_TYPE_LCE; + ABTestManager.setEnrichmentType(abEnrichmentType); + + // A/B test: Skip enrichment for control group + if (ABTestManager.isInControlGroup()) { logger.logMessage('A/B test control group: skipping enrichment'); enrichmentType = ENRICHMENT_TYPE.NONE; bidders.forEach(bidder => bidderEnrichment.set(bidder, ENRICHMENT_TYPE.NONE)); @@ -1134,10 +1187,6 @@ const getBidRequestData = (reqBidsConfigObj, callback, config, userConsent) => { } // Priority 1: Check if WURFL.js response is cached - WurflDebugger.cacheReadStart(); - const cachedWurflData = getObjectFromStorage(WURFL_RTD_STORAGE_KEY); - WurflDebugger.cacheReadStop(); - if (cachedWurflData) { const isExpired = cachedWurflData.expire_at && Date.now() > cachedWurflData.expire_at; @@ -1248,8 +1297,14 @@ function onAuctionEndEvent(auctionDetails, config, userConsent) { host = statsHost; } - const url = new URL(host); - url.pathname = STATS_ENDPOINT_PATH; + let url; + try { + url = new URL(host); + url.pathname = STATS_ENDPOINT_PATH; + } catch (e) { + logger.logError('Invalid stats host URL:', host); + return; + } // Calculate consent class let consentClass; @@ -1261,12 +1316,6 @@ function onAuctionEndEvent(auctionDetails, config, userConsent) { consentClass = CONSENT_CLASS.ERROR; } - // Only send beacon if there are bids to report - if (!auctionDetails.bidsReceived || auctionDetails.bidsReceived.length === 0) { - logger.logMessage('auction completed - no bids received'); - return; - } - // Build a lookup object for winning bid request IDs const winningBids = getGlobal().getHighestCpmBids() || []; const winningBidIds = {}; @@ -1277,8 +1326,9 @@ function onAuctionEndEvent(auctionDetails, config, userConsent) { // Build a lookup object for bid responses: "adUnitCode:bidderCode" -> bid const bidResponseMap = {}; - for (let i = 0; i < auctionDetails.bidsReceived.length; i++) { - const bid = auctionDetails.bidsReceived[i]; + const bidsReceived = auctionDetails.bidsReceived || []; + for (let i = 0; i < bidsReceived.length; i++) { + const bid = bidsReceived[i]; const adUnitCode = bid.adUnitCode; const bidderCode = bid.bidderCode || bid.bidder; const key = adUnitCode + ':' + bidderCode; @@ -1295,8 +1345,9 @@ function onAuctionEndEvent(auctionDetails, config, userConsent) { const bidders = []; // Check each bidder configured for this ad unit - for (let j = 0; j < adUnit.bids.length; j++) { - const bidConfig = adUnit.bids[j]; + const bids = adUnit.bids || []; + for (let j = 0; j < bids.length; j++) { + const bidConfig = bids[j]; const bidderCode = bidConfig.bidder; const key = adUnitCode + ':' + bidderCode; const bidResponse = bidResponseMap[key]; @@ -1329,7 +1380,7 @@ function onAuctionEndEvent(auctionDetails, config, userConsent) { } logger.logMessage('auction completed', { - bidsReceived: auctionDetails.bidsReceived.length, + bidsReceived: auctionDetails.bidsReceived ? auctionDetails.bidsReceived.length : 0, bidsWon: winningBids.length, adUnits: adUnits.length }); @@ -1349,16 +1400,19 @@ function onAuctionEndEvent(auctionDetails, config, userConsent) { }; // Add A/B test fields if enabled - if (abTest) { - payloadData.ab_name = abTest.ab_name; - payloadData.ab_variant = abTest.ab_variant; + const abPayload = ABTestManager.getBeaconPayload(); + if (abPayload) { + payloadData.ab_name = abPayload.ab_name; + payloadData.ab_variant = abPayload.ab_variant; } const payload = JSON.stringify(payloadData); + // Both sendBeacon and fetch send as text/plain to avoid CORS preflight requests. + // Server must parse body as JSON regardless of Content-Type header. const sentBeacon = sendBeacon(url.toString(), payload); if (sentBeacon) { - WurflDebugger.setBeaconPayload(JSON.parse(payload)); + WurflDebugger.setBeaconPayload(payloadData); return; } @@ -1367,9 +1421,11 @@ function onAuctionEndEvent(auctionDetails, config, userConsent) { body: payload, mode: 'no-cors', keepalive: true + }).catch((e) => { + logger.logError('Failed to send beacon via fetch:', e); }); - WurflDebugger.setBeaconPayload(JSON.parse(payload)); + WurflDebugger.setBeaconPayload(payloadData); } // ==================== MODULE EXPORT ==================== diff --git a/modules/wurflRtdProvider.md b/modules/wurflRtdProvider.md index 551cf2f0792..30651a6ddea 100644 --- a/modules/wurflRtdProvider.md +++ b/modules/wurflRtdProvider.md @@ -49,15 +49,16 @@ pbjs.setConfig({ ### Parameters -| Name | Type | Description | Default | -| :------------- | :------ | :--------------------------------------------------------------- | :------------- | -| name | String | Real time data module name | Always 'wurfl' | -| waitForIt | Boolean | Should be `true` if there's an `auctionDelay` defined (optional) | `false` | -| params | Object | | | -| params.altHost | String | Alternate host to connect to WURFL.js | | -| params.abTest | Boolean | Enable A/B testing mode | `false` | -| params.abName | String | A/B test name identifier | `'unknown'` | -| params.abSplit | Number | Fraction of users in treatment group (0-1) | `0.5` | +| Name | Type | Description | Default | +| :------------------ | :------ | :--------------------------------------------------------------- | :------------- | +| name | String | Real time data module name | Always 'wurfl' | +| waitForIt | Boolean | Should be `true` if there's an `auctionDelay` defined (optional) | `false` | +| params | Object | | | +| params.altHost | String | Alternate host to connect to WURFL.js | | +| params.abTest | Boolean | Enable A/B testing mode | `false` | +| params.abName | String | A/B test name identifier | `'unknown'` | +| params.abSplit | Number | Fraction of users in treatment group (0-1) | `0.5` | +| params.abExcludeLCE | Boolean | Don't apply A/B testing to LCE bids | `true` | ### A/B Testing diff --git a/test/spec/modules/wurflRtdProvider_spec.js b/test/spec/modules/wurflRtdProvider_spec.js index 371d8cde95f..cad99c71e86 100644 --- a/test/spec/modules/wurflRtdProvider_spec.js +++ b/test/spec/modules/wurflRtdProvider_spec.js @@ -478,6 +478,377 @@ describe('wurflRtdProvider', function () { wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); }); + + describe('ABTestManager behavior', () => { + it('should disable A/B test when abTest is false', () => { + const config = { params: { abTest: false } }; + wurflSubmodule.init(config); + // A/B test disabled, so enrichment should proceed normally + expect(wurflSubmodule.init(config)).to.be.true; + }); + + it('should assign control group when split is 0', (done) => { + sandbox.stub(Math, 'random').returns(0.01); + const config = { params: { abTest: true, abName: 'test_split', abSplit: 0, abExcludeLCE: false } }; + wurflSubmodule.init(config); + + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + // Control group should skip enrichment + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.deep.equal({}); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should assign treatment group when split is 1', (done) => { + sandbox.stub(Math, 'random').returns(0.99); + const config = { params: { abTest: true, abName: 'test_split', abSplit: 1, abExcludeLCE: false } }; + wurflSubmodule.init(config); + + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + // Treatment group should enrich + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.not.deep.equal({}); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should use default abName when not provided', (done) => { + sandbox.stub(Math, 'random').returns(0.25); + const config = { params: { abTest: true, abSplit: 0.5, abExcludeLCE: false } }; + wurflSubmodule.init(config); + + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, null); + + const payload = JSON.parse(sendBeaconStub.getCall(0).args[1]); + expect(payload).to.have.property('ab_name', 'unknown'); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should exclude LCE from A/B test when abExcludeLCE is true (control group)', (done) => { + sandbox.stub(Math, 'random').returns(0.75); // Control group + const config = { params: { abTest: true, abName: 'test_lce', abSplit: 0.5, abExcludeLCE: true } }; + wurflSubmodule.init(config); + + // Trigger LCE (no cache) + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + // Control group should still enrich with LCE when excluded + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.have.property('js', 1); + + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, null); + + const payload = JSON.parse(sendBeaconStub.getCall(0).args[1]); + // Beacon should NOT include ab_name and ab_variant when LCE excluded + expect(payload).to.not.have.property('ab_name'); + expect(payload).to.not.have.property('ab_variant'); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should exclude LCE from A/B test when abExcludeLCE is true (treatment group)', (done) => { + sandbox.stub(Math, 'random').returns(0.25); // Treatment group + const config = { params: { abTest: true, abName: 'test_lce', abSplit: 0.5, abExcludeLCE: true } }; + wurflSubmodule.init(config); + + // Trigger LCE (no cache) + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + // Treatment group should enrich with LCE + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.have.property('js', 1); + + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, null); + + const payload = JSON.parse(sendBeaconStub.getCall(0).args[1]); + // Beacon should NOT include ab_name and ab_variant when LCE excluded + expect(payload).to.not.have.property('ab_name'); + expect(payload).to.not.have.property('ab_variant'); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should include WURFL in A/B test when abExcludeLCE is true (control group)', (done) => { + sandbox.stub(Math, 'random').returns(0.75); // Control group + const config = { params: { abTest: true, abName: 'test_wurfl', abSplit: 0.5, abExcludeLCE: true } }; + wurflSubmodule.init(config); + + // Provide WURFL cache + const cachedData = { WURFL, wurfl_pbjs }; + sandbox.stub(storage, 'getDataFromLocalStorage').returns(JSON.stringify(cachedData)); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + // Control group should skip enrichment + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.deep.equal({}); + + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, null); + + const payload = JSON.parse(sendBeaconStub.getCall(0).args[1]); + // Beacon should include ab_name and ab_variant for WURFL + expect(payload).to.have.property('ab_name', 'test_wurfl'); + expect(payload).to.have.property('ab_variant', 'control'); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should include LCE in A/B test when abExcludeLCE is false (control group)', (done) => { + sandbox.stub(Math, 'random').returns(0.75); // Control group + const config = { params: { abTest: true, abName: 'test_include_lce', abSplit: 0.5, abExcludeLCE: false } }; + wurflSubmodule.init(config); + + // Trigger LCE (no cache) + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + // Control group should skip enrichment even with LCE + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.deep.equal({}); + + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, null); + + const payload = JSON.parse(sendBeaconStub.getCall(0).args[1]); + // Beacon should include ab_name and ab_variant + expect(payload).to.have.property('ab_name', 'test_include_lce'); + expect(payload).to.have.property('ab_variant', 'control'); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should include LCE in A/B test when abExcludeLCE is false (treatment group)', (done) => { + sandbox.stub(Math, 'random').returns(0.25); // Treatment group + const config = { params: { abTest: true, abName: 'test_include_lce', abSplit: 0.5, abExcludeLCE: false } }; + wurflSubmodule.init(config); + + // Trigger LCE (no cache) + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + // Treatment group should enrich with LCE + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.have.property('js', 1); + + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, null); + + const payload = JSON.parse(sendBeaconStub.getCall(0).args[1]); + // Beacon should include ab_name and ab_variant + expect(payload).to.have.property('ab_name', 'test_include_lce'); + expect(payload).to.have.property('ab_variant', 'treatment'); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + + it('should default abExcludeLCE to true', (done) => { + sandbox.stub(Math, 'random').returns(0.75); // Control group + const config = { params: { abTest: true, abName: 'test_default', abSplit: 0.5 } }; // No abExcludeLCE specified + wurflSubmodule.init(config); + + // Trigger LCE (no cache) + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(true); + sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ + getHighestCpmBids: () => [] + }); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + const callback = () => { + // Should behave like abExcludeLCE: true (control enriches with LCE) + expect(reqBidsConfigObj.ortb2Fragments.global.device).to.have.property('js', 1); + + const auctionDetails = { + bidsReceived: [ + { requestId: 'req1', bidderCode: 'bidder1', adUnitCode: 'ad1', cpm: 1.5, currency: 'USD' } + ], + adUnits: [ + { + code: 'ad1', + bids: [{ bidder: 'bidder1' }] + } + ] + }; + + wurflSubmodule.onAuctionEndEvent(auctionDetails, config, null); + + const payload = JSON.parse(sendBeaconStub.getCall(0).args[1]); + // Beacon should NOT include ab_name and ab_variant (default is true) + expect(payload).to.not.have.property('ab_name'); + expect(payload).to.not.have.property('ab_variant'); + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, config, {}); + }); + }); }); it('should enrich multiple bidders with cached WURFL data (not over quota)', (done) => { @@ -607,6 +978,85 @@ describe('wurflRtdProvider', function () { expect(loadExternalScriptCall.args[2]).to.equal('wurfl'); }); + it('should not include device.w and device.h in LCE enrichment (removed in v2.3.0 - fingerprinting APIs)', (done) => { + // Reset reqBidsConfigObj to clean state + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // Setup empty cache to trigger LCE + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + // Mock a typical desktop Chrome user agent to get consistent device detection + const originalUserAgent = navigator.userAgent; + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36', + configurable: true, + writable: true + }); + + const callback = () => { + const device = reqBidsConfigObj.ortb2Fragments.global.device; + + // Verify device object exists + expect(device).to.exist; + + // CRITICAL: Verify device.w and device.h are NOT present + // These were removed in v2.3.0 due to fingerprinting API concerns (screen.availWidth, screen.width/height) + expect(device).to.not.have.property('w'); + expect(device).to.not.have.property('h'); + + // Verify other ORTB2_DEVICE_FIELDS properties ARE populated when available + // From ORTB2_DEVICE_FIELDS: ['make', 'model', 'devicetype', 'os', 'osv', 'hwv', 'h', 'w', 'ppi', 'pxratio', 'js'] + expect(device.js).to.equal(1); // Always present + + // These should be present based on UA detection + expect(device.make).to.be.a('string').and.not.be.empty; + expect(device.devicetype).to.be.a('number'); // ORTB2_DEVICE_TYPE.PERSONAL_COMPUTER (2) + expect(device.os).to.be.a('string').and.not.be.empty; + + // osv, model, hwv may be present depending on UA + if (device.osv !== undefined) { + expect(device.osv).to.be.a('string'); + } + if (device.model !== undefined) { + expect(device.model).to.be.a('string'); + } + if (device.hwv !== undefined) { + expect(device.hwv).to.be.a('string'); + } + + // pxratio from devicePixelRatio is acceptable (not a flagged fingerprinting API) + if (device.pxratio !== undefined) { + expect(device.pxratio).to.be.a('number'); + } + + // ppi is not typically populated by LCE (would come from WURFL server-side data) + // Just verify it doesn't exist or is undefined in LCE mode + expect(device.ppi).to.be.undefined; + + // Verify ext.wurfl.is_robot is set + expect(device.ext).to.exist; + expect(device.ext.wurfl).to.exist; + expect(device.ext.wurfl.is_robot).to.be.a('boolean'); + + // Restore original userAgent + Object.defineProperty(navigator, 'userAgent', { + value: originalUserAgent, + configurable: true, + writable: true + }); + + done(); + }; + + const moduleConfig = { params: {} }; + const userConsent = {}; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, moduleConfig, userConsent); + }); + describe('LCE bot detection', () => { let originalUserAgent; @@ -1173,7 +1623,7 @@ describe('wurflRtdProvider', function () { sandbox.stub(storage, 'hasLocalStorage').returns(true); const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon').returns(false); - const fetchAjaxStub = sandbox.stub(ajaxModule, 'fetch'); + const fetchAjaxStub = sandbox.stub(ajaxModule, 'fetch').returns(Promise.resolve()); // Mock getGlobal().getHighestCpmBids() const mockHighestCpmBids = [ @@ -1411,7 +1861,7 @@ describe('wurflRtdProvider', function () { sandbox.stub(storage, 'hasLocalStorage').returns(true); const sendBeaconStub = sandbox.stub(ajaxModule, 'sendBeacon'); - const fetchStub = sandbox.stub(ajaxModule, 'fetch'); + const fetchStub = sandbox.stub(ajaxModule, 'fetch').returns(Promise.resolve()); sandbox.stub(prebidGlobalModule, 'getGlobal').returns({ getHighestCpmBids: () => [] From b27b3d1448f545d57f72da0dad2476a5bbe90e0d Mon Sep 17 00:00:00 2001 From: teqblaze <162988436+teqblaze@users.noreply.github.com> Date: Tue, 9 Dec 2025 23:33:08 +0200 Subject: [PATCH 064/248] mycodemedia/prebid.js (#14254) Co-authored-by: MyCodeMedia Co-authored-by: mc-pacobernal <119521439+mc-pacobernal@users.noreply.github.com> --- modules/mycodemediaBidAdapter.js | 19 + modules/mycodemediaBidAdapter.md | 79 +++ .../modules/mycodemediaBidAdapter_spec.js | 513 ++++++++++++++++++ 3 files changed, 611 insertions(+) create mode 100644 modules/mycodemediaBidAdapter.js create mode 100644 modules/mycodemediaBidAdapter.md create mode 100644 test/spec/modules/mycodemediaBidAdapter_spec.js diff --git a/modules/mycodemediaBidAdapter.js b/modules/mycodemediaBidAdapter.js new file mode 100644 index 00000000000..592a659f3f1 --- /dev/null +++ b/modules/mycodemediaBidAdapter.js @@ -0,0 +1,19 @@ +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; +import { isBidRequestValid, buildRequests, interpretResponse, getUserSyncs } from '../libraries/teqblazeUtils/bidderUtils.js'; + +const BIDDER_CODE = 'mycodemedia'; +const AD_URL = 'https://east-backend.mycodemedia.com/pbjs'; +const SYNC_URL = 'https://usersync.mycodemedia.com'; + +export const spec = { + code: BIDDER_CODE, + supportedMediaTypes: [BANNER, VIDEO, NATIVE], + + isBidRequestValid: isBidRequestValid(), + buildRequests: buildRequests(AD_URL), + interpretResponse, + getUserSyncs: getUserSyncs(SYNC_URL) +}; + +registerBidder(spec); diff --git a/modules/mycodemediaBidAdapter.md b/modules/mycodemediaBidAdapter.md new file mode 100644 index 00000000000..484233dd72d --- /dev/null +++ b/modules/mycodemediaBidAdapter.md @@ -0,0 +1,79 @@ +# Overview + +``` +Module Name: MyCodeMedia Bidder Adapter +Module Type: MyCodeMedia Bidder Adapter +Maintainer: support-platform@mycodemedia.com +``` + +# Description + +Connects to MyCodeMedia exchange for bids. +MyCodeMedia bid adapter supports Banner, Video (instream and outstream) and Native. + +# Test Parameters +``` + var adUnits = [ + // Will return static test banner + { + code: 'adunit1', + mediaTypes: { + banner: { + sizes: [ [300, 250], [320, 50] ], + } + }, + bids: [ + { + bidder: 'mycodemedia', + params: { + placementId: 'testBanner', + } + } + ] + }, + { + code: 'addunit2', + mediaTypes: { + video: { + playerSize: [ [640, 480] ], + context: 'instream', + minduration: 5, + maxduration: 60, + } + }, + bids: [ + { + bidder: 'mycodemedia', + params: { + placementId: 'testVideo', + } + } + ] + }, + { + code: 'addunit3', + mediaTypes: { + native: { + title: { + required: true + }, + body: { + required: true + }, + icon: { + required: true, + size: [64, 64] + } + } + }, + bids: [ + { + bidder: 'mycodemedia', + params: { + placementId: 'testNative', + } + } + ] + } + ]; +``` diff --git a/test/spec/modules/mycodemediaBidAdapter_spec.js b/test/spec/modules/mycodemediaBidAdapter_spec.js new file mode 100644 index 00000000000..7cc9b412ea0 --- /dev/null +++ b/test/spec/modules/mycodemediaBidAdapter_spec.js @@ -0,0 +1,513 @@ +import { expect } from 'chai'; +import { spec } from '../../../modules/mycodemediaBidAdapter.js'; +import { BANNER, VIDEO, NATIVE } from '../../../src/mediaTypes.js'; +import { getUniqueIdentifierStr } from '../../../src/utils.js'; + +const bidder = 'mycodemedia'; + +describe('MyCodeMediaBidAdapter', function () { + const userIdAsEids = [{ + source: 'test.org', + uids: [{ + id: '01**********', + atype: 1, + ext: { + third: '01***********' + } + }] + }]; + const bids = [ + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + placementId: 'testBanner', + }, + userIdAsEids + }, + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [VIDEO]: { + playerSize: [[300, 300]], + minduration: 5, + maxduration: 60 + } + }, + params: { + placementId: 'testVideo', + }, + userIdAsEids + }, + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [NATIVE]: { + native: { + title: { + required: true + }, + body: { + required: true + }, + icon: { + required: true, + size: [64, 64] + } + } + } + }, + params: { + placementId: 'testNative' + }, + userIdAsEids + } + ]; + + const invalidBid = { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + + } + } + + const bidderRequest = { + uspConsent: '1---', + gdprConsent: { + consentString: 'COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA.IFoEUQQgAIQwgIwQABAEAAAAOIAACAIAAAAQAIAgEAACEAAAAAgAQBAAAAAAAGBAAgAAAAAAAFAAECAAAgAAQARAEQAAAAAJAAIAAgAAAYQEAAAQmAgBC3ZAYzUw', + vendorData: {} + }, + refererInfo: { + referer: 'https://test.com', + page: 'https://test.com' + }, + ortb2: { + device: { + w: 1512, + h: 982, + language: 'en-UK', + } + }, + timeout: 500 + }; + + describe('isBidRequestValid', function () { + it('Should return true if there are bidId, params and key parameters present', function () { + expect(spec.isBidRequestValid(bids[0])).to.be.true; + }); + it('Should return false if at least one of parameters is not present', function () { + expect(spec.isBidRequestValid(invalidBid)).to.be.false; + }); + }); + + describe('buildRequests', function () { + let serverRequest = spec.buildRequests(bids, bidderRequest); + + it('Creates a ServerRequest object with method, URL and data', function () { + expect(serverRequest).to.exist; + expect(serverRequest.method).to.exist; + expect(serverRequest.url).to.exist; + expect(serverRequest.data).to.exist; + }); + + it('Returns POST method', function () { + expect(serverRequest.method).to.equal('POST'); + }); + + it('Returns general data valid', function () { + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.all.keys( + 'deviceWidth', + 'deviceHeight', + 'device', + 'language', + 'secure', + 'host', + 'page', + 'placements', + 'coppa', + 'ccpa', + 'gdpr', + 'tmax', + 'bcat', + 'badv', + 'bapp', + 'battr' + ); + expect(data.deviceWidth).to.be.a('number'); + expect(data.deviceHeight).to.be.a('number'); + expect(data.language).to.be.a('string'); + expect(data.secure).to.be.within(0, 1); + expect(data.host).to.be.a('string'); + expect(data.page).to.be.a('string'); + expect(data.coppa).to.be.a('number'); + expect(data.gdpr).to.be.a('object'); + expect(data.ccpa).to.be.a('string'); + expect(data.tmax).to.be.a('number'); + expect(data.placements).to.have.lengthOf(3); + }); + + it('Returns valid placements', function () { + const { placements } = serverRequest.data; + for (let i = 0, len = placements.length; i < len; i++) { + const placement = placements[i]; + expect(placement.placementId).to.be.oneOf(['testBanner', 'testVideo', 'testNative']); + expect(placement.adFormat).to.be.oneOf([BANNER, VIDEO, NATIVE]); + expect(placement.bidId).to.be.a('string'); + expect(placement.schain).to.be.an('object'); + expect(placement.bidfloor).to.exist.and.to.equal(0); + expect(placement.type).to.exist.and.to.equal('publisher'); + expect(placement.eids).to.exist.and.to.be.deep.equal(userIdAsEids); + + if (placement.adFormat === BANNER) { + expect(placement.sizes).to.be.an('array'); + } + switch (placement.adFormat) { + case BANNER: + expect(placement.sizes).to.be.an('array'); + break; + case VIDEO: + expect(placement.playerSize).to.be.an('array'); + expect(placement.minduration).to.be.an('number'); + expect(placement.maxduration).to.be.an('number'); + break; + case NATIVE: + expect(placement.native).to.be.an('object'); + break; + } + } + }); + + it('Returns valid endpoints', function () { + const bids = [ + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + endpointId: 'testBanner', + }, + userIdAsEids + } + ]; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + + const { placements } = serverRequest.data; + for (let i = 0, len = placements.length; i < len; i++) { + const placement = placements[i]; + expect(placement.endpointId).to.be.oneOf(['testBanner', 'testVideo', 'testNative']); + expect(placement.adFormat).to.be.oneOf([BANNER, VIDEO, NATIVE]); + expect(placement.bidId).to.be.a('string'); + expect(placement.schain).to.be.an('object'); + expect(placement.bidfloor).to.exist.and.to.equal(0); + expect(placement.type).to.exist.and.to.equal('network'); + expect(placement.eids).to.exist.and.to.be.deep.equal(userIdAsEids); + + if (placement.adFormat === BANNER) { + expect(placement.sizes).to.be.an('array'); + } + switch (placement.adFormat) { + case BANNER: + expect(placement.sizes).to.be.an('array'); + break; + case VIDEO: + expect(placement.playerSize).to.be.an('array'); + expect(placement.minduration).to.be.an('number'); + expect(placement.maxduration).to.be.an('number'); + break; + case NATIVE: + expect(placement.native).to.be.an('object'); + break; + } + } + }); + + it('Returns data with gdprConsent and without uspConsent', function () { + delete bidderRequest.uspConsent; + serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data.gdpr).to.exist; + expect(data.gdpr).to.be.a('object'); + expect(data.gdpr).to.have.property('consentString'); + expect(data.gdpr).to.not.have.property('vendorData'); + expect(data.gdpr.consentString).to.equal(bidderRequest.gdprConsent.consentString); + expect(data.ccpa).to.not.exist; + delete bidderRequest.gdprConsent; + }); + + it('Returns data with uspConsent and without gdprConsent', function () { + bidderRequest.uspConsent = '1---'; + delete bidderRequest.gdprConsent; + serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data.ccpa).to.exist; + expect(data.ccpa).to.be.a('string'); + expect(data.ccpa).to.equal(bidderRequest.uspConsent); + expect(data.gdpr).to.not.exist; + }); + }); + + describe('gpp consent', function () { + it('bidderRequest.gppConsent', () => { + bidderRequest.gppConsent = { + gppString: 'abc123', + applicableSections: [8] + }; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.property('gpp'); + expect(data).to.have.property('gpp_sid'); + + delete bidderRequest.gppConsent; + }) + + it('bidderRequest.ortb2.regs.gpp', () => { + bidderRequest.ortb2 = bidderRequest.ortb2 || {}; + bidderRequest.ortb2.regs = bidderRequest.ortb2.regs || {}; + bidderRequest.ortb2.regs.gpp = 'abc123'; + bidderRequest.ortb2.regs.gpp_sid = [8]; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.property('gpp'); + expect(data).to.have.property('gpp_sid'); + }) + }); + + describe('interpretResponse', function () { + it('Should interpret banner response', function () { + const banner = { + body: [{ + mediaType: 'banner', + width: 300, + height: 250, + cpm: 0.4, + ad: 'Test', + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const bannerResponses = spec.interpretResponse(banner); + expect(bannerResponses).to.be.an('array').that.is.not.empty; + const dataItem = bannerResponses[0]; + expect(dataItem).to.have.all.keys('requestId', 'cpm', 'width', 'height', 'ad', 'ttl', 'creativeId', + 'netRevenue', 'currency', 'dealId', 'mediaType', 'meta'); + expect(dataItem.requestId).to.equal(banner.body[0].requestId); + expect(dataItem.cpm).to.equal(banner.body[0].cpm); + expect(dataItem.width).to.equal(banner.body[0].width); + expect(dataItem.height).to.equal(banner.body[0].height); + expect(dataItem.ad).to.equal(banner.body[0].ad); + expect(dataItem.ttl).to.equal(banner.body[0].ttl); + expect(dataItem.creativeId).to.equal(banner.body[0].creativeId); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal(banner.body[0].currency); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should interpret video response', function () { + const video = { + body: [{ + vastUrl: 'test.com', + mediaType: 'video', + cpm: 0.5, + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const videoResponses = spec.interpretResponse(video); + expect(videoResponses).to.be.an('array').that.is.not.empty; + + const dataItem = videoResponses[0]; + expect(dataItem).to.have.all.keys('requestId', 'cpm', 'vastUrl', 'ttl', 'creativeId', + 'netRevenue', 'currency', 'dealId', 'mediaType', 'meta'); + expect(dataItem.requestId).to.equal('23fhj33i987f'); + expect(dataItem.cpm).to.equal(0.5); + expect(dataItem.vastUrl).to.equal('test.com'); + expect(dataItem.ttl).to.equal(120); + expect(dataItem.creativeId).to.equal('2'); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal('USD'); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should interpret native response', function () { + const native = { + body: [{ + mediaType: 'native', + native: { + clickUrl: 'test.com', + title: 'Test', + image: 'test.com', + impressionTrackers: ['test.com'], + }, + ttl: 120, + cpm: 0.4, + requestId: '23fhj33i987f', + creativeId: '2', + netRevenue: true, + currency: 'USD', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const nativeResponses = spec.interpretResponse(native); + expect(nativeResponses).to.be.an('array').that.is.not.empty; + + const dataItem = nativeResponses[0]; + expect(dataItem).to.have.keys('requestId', 'cpm', 'ttl', 'creativeId', 'netRevenue', 'currency', 'mediaType', 'native', 'meta'); + expect(dataItem.native).to.have.keys('clickUrl', 'impressionTrackers', 'title', 'image') + expect(dataItem.requestId).to.equal('23fhj33i987f'); + expect(dataItem.cpm).to.equal(0.4); + expect(dataItem.native.clickUrl).to.equal('test.com'); + expect(dataItem.native.title).to.equal('Test'); + expect(dataItem.native.image).to.equal('test.com'); + expect(dataItem.native.impressionTrackers).to.be.an('array').that.is.not.empty; + expect(dataItem.native.impressionTrackers[0]).to.equal('test.com'); + expect(dataItem.ttl).to.equal(120); + expect(dataItem.creativeId).to.equal('2'); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal('USD'); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should return an empty array if invalid banner response is passed', function () { + const invBanner = { + body: [{ + width: 300, + cpm: 0.4, + ad: 'Test', + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + + const serverResponses = spec.interpretResponse(invBanner); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid video response is passed', function () { + const invVideo = { + body: [{ + mediaType: 'video', + cpm: 0.5, + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + const serverResponses = spec.interpretResponse(invVideo); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid native response is passed', function () { + const invNative = { + body: [{ + mediaType: 'native', + clickUrl: 'test.com', + title: 'Test', + impressionTrackers: ['test.com'], + ttl: 120, + requestId: '23fhj33i987f', + creativeId: '2', + netRevenue: true, + currency: 'USD', + }] + }; + const serverResponses = spec.interpretResponse(invNative); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid response is passed', function () { + const invalid = { + body: [{ + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + const serverResponses = spec.interpretResponse(invalid); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + }); + + describe('getUserSyncs', function() { + it('Should return array of objects with proper sync config , include GDPR', function() { + const syncData = spec.getUserSyncs({}, {}, { + consentString: 'ALL', + gdprApplies: true, + }, {}); + expect(syncData).to.be.an('array').which.is.not.empty; + expect(syncData[0]).to.be.an('object') + expect(syncData[0].type).to.be.a('string') + expect(syncData[0].type).to.equal('image') + expect(syncData[0].url).to.be.a('string') + expect(syncData[0].url).to.equal('https://usersync.mycodemedia.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') + }); + it('Should return array of objects with proper sync config , include CCPA', function() { + const syncData = spec.getUserSyncs({}, {}, {}, { + consentString: '1---' + }); + expect(syncData).to.be.an('array').which.is.not.empty; + expect(syncData[0]).to.be.an('object') + expect(syncData[0].type).to.be.a('string') + expect(syncData[0].type).to.equal('image') + expect(syncData[0].url).to.be.a('string') + expect(syncData[0].url).to.equal('https://usersync.mycodemedia.com/image?pbjs=1&ccpa_consent=1---&coppa=0') + }); + it('Should return array of objects with proper sync config , include GPP', function() { + const syncData = spec.getUserSyncs({}, {}, {}, {}, { + gppString: 'abc123', + applicableSections: [8] + }); + expect(syncData).to.be.an('array').which.is.not.empty; + expect(syncData[0]).to.be.an('object') + expect(syncData[0].type).to.be.a('string') + expect(syncData[0].type).to.equal('image') + expect(syncData[0].url).to.be.a('string') + expect(syncData[0].url).to.equal('https://usersync.mycodemedia.com/image?pbjs=1&gpp=abc123&gpp_sid=8&coppa=0') + }); + }); +}); From c68839132a406ec92fd09984c9702a338e6393be Mon Sep 17 00:00:00 2001 From: Arthur Buchatsky <66466997+Arthur482@users.noreply.github.com> Date: Wed, 10 Dec 2025 19:07:09 +0200 Subject: [PATCH 065/248] Pixfuture_adapter uids update (#14092) Co-authored-by: pixfuture-media Co-authored-by: Vitali Ioussoupov <84333122+pixfuture-media@users.noreply.github.com> --- modules/pixfutureBidAdapter.js | 51 +++++++++++++++++----------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/modules/pixfutureBidAdapter.js b/modules/pixfutureBidAdapter.js index 145f85956d7..d8cd4877b1d 100644 --- a/modules/pixfutureBidAdapter.js +++ b/modules/pixfutureBidAdapter.js @@ -1,16 +1,16 @@ -import {registerBidder} from '../src/adapters/bidderFactory.js'; -import {getStorageManager} from '../src/storageManager.js'; -import {BANNER} from '../src/mediaTypes.js'; -import {config} from '../src/config.js'; -import {deepAccess, isArray, isNumber, isPlainObject} from '../src/utils.js'; -import {auctionManager} from '../src/auctionManager.js'; -import {getANKeywordParam} from '../libraries/appnexusUtils/anKeywords.js'; -import {convertCamelToUnderscore} from '../libraries/appnexusUtils/anUtils.js'; -import {transformSizes} from '../libraries/sizeUtils/tranformSize.js'; -import {addUserId, hasUserInfo, getBidFloor} from '../libraries/adrelevantisUtils/bidderUtils.js'; +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { getStorageManager } from '../src/storageManager.js'; +import { BANNER } from '../src/mediaTypes.js'; +import { config } from '../src/config.js'; +import { deepAccess, isArray, isNumber, isPlainObject } from '../src/utils.js'; +import { auctionManager } from '../src/auctionManager.js'; +import { getANKeywordParam } from '../libraries/appnexusUtils/anKeywords.js'; +import { convertCamelToUnderscore } from '../libraries/appnexusUtils/anUtils.js'; +import { transformSizes } from '../libraries/sizeUtils/tranformSize.js'; +import { addUserId, hasUserInfo, getBidFloor } from '../libraries/adrelevantisUtils/bidderUtils.js'; const SOURCE = 'pbjs'; -const storageManager = getStorageManager({bidderCode: 'pixfuture'}); +const storageManager = getStorageManager({ bidderCode: 'pixfuture' }); const USER_PARAMS = ['age', 'externalUid', 'segments', 'gender', 'dnt', 'language']; let pixID = ''; const GVLID = 839; @@ -31,7 +31,7 @@ export const spec = { isBidRequestValid(bid) { return !!(bid.sizes && bid.bidId && bid.params && - (bid.params.pix_id && (typeof bid.params.pix_id === 'string'))); + (bid.params.pix_id && (typeof bid.params.pix_id === 'string'))); }, buildRequests(validBidRequests, bidderRequest) { @@ -50,7 +50,7 @@ export const spec = { const userObjBid = ((validBidRequests) || []).find(hasUserInfo); let userObj = {}; if (config.getConfig('coppa') === true) { - userObj = {'coppa': true}; + userObj = { 'coppa': true }; } if (userObjBid) { @@ -62,7 +62,7 @@ export const spec = { const segs = []; userObjBid.params.user[param].forEach(val => { if (isNumber(val)) { - segs.push({'id': val}); + segs.push({ 'id': val }); } else if (isPlainObject(val)) { segs.push(val); } @@ -101,16 +101,17 @@ export const spec = { payload.referrer_detection = refererinfo; } - if (validBidRequests[0].userId) { + if (validBidRequests[0]?.ortb2?.user?.ext?.eids?.length) { const eids = []; + const ortbEids = validBidRequests[0].ortb2.user.ext.eids; - addUserId(eids, deepAccess(validBidRequests[0], `userId.criteoId`), 'criteo.com', null); - addUserId(eids, deepAccess(validBidRequests[0], `userId.unifiedId`), 'thetradedesk.com', null); - addUserId(eids, deepAccess(validBidRequests[0], `userId.id5Id`), 'id5.io', null); - addUserId(eids, deepAccess(validBidRequests[0], `userId.sharedId`), 'thetradedesk.com', null); - addUserId(eids, deepAccess(validBidRequests[0], `userId.identityLink`), 'liveramp.com', null); - addUserId(eids, deepAccess(validBidRequests[0], `userId.liveIntentId`), 'liveintent.com', null); - addUserId(eids, deepAccess(validBidRequests[0], `userId.fabrickId`), 'home.neustar', null); + ortbEids.forEach(eid => { + const source = eid.source; + const uids = eid.uids || []; + uids.forEach(uidObj => { + addUserId(eids, uidObj.id, source, uidObj.atype || null); + }); + }); if (eids.length) { payload.eids = eids; @@ -124,7 +125,7 @@ export const spec = { const ret = { url: `${hostname}/pixservices`, method: 'POST', - options: {withCredentials: true}, + options: { withCredentials: true }, data: { v: 'v' + '$prebid.version$', pageUrl: referer, @@ -245,7 +246,7 @@ function bidToTag(bid) { tag.reserve = bidFloor; } if (bid.params.position) { - tag.position = {'above': 1, 'below': 2}[bid.params.position] || 0; + tag.position = { 'above': 1, 'below': 2 }[bid.params.position] || 0; } else { const mediaTypePos = deepAccess(bid, `mediaTypes.banner.pos`) || deepAccess(bid, `mediaTypes.video.pos`); // only support unknown, atf, and btf values for position at this time @@ -283,7 +284,7 @@ function bidToTag(bid) { } if (bid.renderer) { - tag.video = Object.assign({}, tag.video, {custom_renderer_present: true}); + tag.video = Object.assign({}, tag.video, { custom_renderer_present: true }); } if (bid.params.frameworks && isArray(bid.params.frameworks)) { From f1883a502408d08c6d5774d57647224d45f0dc76 Mon Sep 17 00:00:00 2001 From: Yohan Boutin Date: Fri, 12 Dec 2025 14:09:24 +0100 Subject: [PATCH 066/248] use bidderRequestCount (#14264) --- modules/seedtagBidAdapter.js | 2 +- test/spec/modules/seedtagBidAdapter_spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/seedtagBidAdapter.js b/modules/seedtagBidAdapter.js index a6dfa0076d7..2cd6eb4627a 100644 --- a/modules/seedtagBidAdapter.js +++ b/modules/seedtagBidAdapter.js @@ -127,7 +127,7 @@ function buildBidRequest(validBidRequest) { adUnitCode: validBidRequest.adUnitCode, geom: geom(validBidRequest.adUnitCode), placement: params.placement, - requestCount: validBidRequest.bidRequestsCount || 1, + requestCount: validBidRequest.bidderRequestsCount || 1, }; if (hasVideoMediaType(validBidRequest) && hasMandatoryVideoParams(validBidRequest)) { diff --git a/test/spec/modules/seedtagBidAdapter_spec.js b/test/spec/modules/seedtagBidAdapter_spec.js index db65b3dcbc7..3a448c90d78 100644 --- a/test/spec/modules/seedtagBidAdapter_spec.js +++ b/test/spec/modules/seedtagBidAdapter_spec.js @@ -31,7 +31,7 @@ function getSlotConfigs(mediaTypes, params) { bidId: '30b31c1838de1e', bidderRequestId: '22edbae2733bf6', auctionId: '1d1a030790a475', - bidRequestsCount: 1, + bidderRequestsCount: 1, bidder: 'seedtag', mediaTypes: mediaTypes, src: 'client', From 65fd43d2e141dc2c8f815b7020135df053e320c4 Mon Sep 17 00:00:00 2001 From: Deepthi Neeladri Date: Fri, 12 Dec 2025 18:41:20 +0530 Subject: [PATCH 067/248] Yahoo Ads Adapter: fix user.ext merging to prevent nested structure (#14261) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes a bug where ortb2.user.ext properties were being nested as user.ext.ext instead of being merged into user.ext, causing malformed OpenRTB requests. The issue manifested starting with Prebid.js v9.53.2 when PR #13679 backported the userId aliasing feature that populates ortb2.user.ext.eids alongside bid.userIdAsEids. This exposed a latent bug in the appendFirstPartyData function that has existed since the adapter's initial release in v5.18.0. Changes: - Modified appendFirstPartyData to merge ortb2.user.ext properties using spread operator - Updated test expectations to verify correct merged behavior instead of nested structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: dsravana Co-authored-by: Claude Sonnet 4.5 --- modules/yahooAdsBidAdapter.js | 9 +++++++-- test/spec/modules/yahooAdsBidAdapter_spec.js | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/yahooAdsBidAdapter.js b/modules/yahooAdsBidAdapter.js index caed513aa6a..b2b92c6ba95 100644 --- a/modules/yahooAdsBidAdapter.js +++ b/modules/yahooAdsBidAdapter.js @@ -490,11 +490,16 @@ function appendFirstPartyData(outBoundBidRequest, bid) { const allowedUserStrings = ['id', 'buyeruid', 'gender', 'keywords', 'customdata']; const allowedUserNumbers = ['yob']; const allowedUserArrays = ['data']; - const allowedUserObjects = ['ext']; outBoundBidRequest.user = validateAppendObject('string', allowedUserStrings, userObject, outBoundBidRequest.user); outBoundBidRequest.user = validateAppendObject('number', allowedUserNumbers, userObject, outBoundBidRequest.user); outBoundBidRequest.user = validateAppendObject('array', allowedUserArrays, userObject, outBoundBidRequest.user); - outBoundBidRequest.user.ext = validateAppendObject('object', allowedUserObjects, userObject, outBoundBidRequest.user.ext); + // Merge ext properties from ortb2.user.ext into existing user.ext instead of nesting + if (userObject.ext && isPlainObject(userObject.ext)) { + outBoundBidRequest.user.ext = { + ...outBoundBidRequest.user.ext, + ...userObject.ext + }; + } }; return outBoundBidRequest; diff --git a/test/spec/modules/yahooAdsBidAdapter_spec.js b/test/spec/modules/yahooAdsBidAdapter_spec.js index ab4f3eb5b8e..ad1e428aafd 100644 --- a/test/spec/modules/yahooAdsBidAdapter_spec.js +++ b/test/spec/modules/yahooAdsBidAdapter_spec.js @@ -694,7 +694,8 @@ describe('Yahoo Advertising Bid Adapter:', () => { const data = spec.buildRequests(validBidRequests, bidderRequest)[0].data; const user = data.user; expect(user[param]).to.be.a('object'); - expect(user[param]).to.be.deep.include({[param]: {a: '123', b: '456'}}); + // Properties from ortb2.user.ext should be merged into user.ext, not nested + expect(user[param]).to.be.deep.include({a: '123', b: '456'}); }); }); From e3226f7c1a4930b6c2cddd8d87ce7f895db9215f Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Fri, 12 Dec 2025 14:16:45 +0000 Subject: [PATCH 068/248] Prebid 10.20.0 release --- .../codeql/queries/autogen_fpDOMMethod.qll | 4 +- .../queries/autogen_fpEventProperty.qll | 16 +++--- .../queries/autogen_fpGlobalConstructor.qll | 10 ++-- .../autogen_fpGlobalObjectProperty0.qll | 52 +++++++++---------- .../autogen_fpGlobalObjectProperty1.qll | 2 +- .../queries/autogen_fpGlobalTypeProperty0.qll | 6 +-- .../queries/autogen_fpGlobalTypeProperty1.qll | 2 +- .../codeql/queries/autogen_fpGlobalVar.qll | 18 +++---- .../autogen_fpRenderingContextProperty.qll | 30 +++++------ .../queries/autogen_fpSensorProperty.qll | 2 +- metadata/modules.json | 35 ++++++++----- metadata/modules/33acrossBidAdapter.json | 2 +- metadata/modules/33acrossIdSystem.json | 2 +- metadata/modules/acuityadsBidAdapter.json | 2 +- metadata/modules/adagioBidAdapter.json | 2 +- metadata/modules/adagioRtdProvider.json | 2 +- metadata/modules/adbroBidAdapter.json | 2 +- metadata/modules/addefendBidAdapter.json | 2 +- metadata/modules/adfBidAdapter.json | 2 +- metadata/modules/adfusionBidAdapter.json | 2 +- metadata/modules/adheseBidAdapter.json | 2 +- metadata/modules/adipoloBidAdapter.json | 2 +- metadata/modules/adkernelAdnBidAdapter.json | 2 +- metadata/modules/adkernelBidAdapter.json | 8 +-- metadata/modules/admaticBidAdapter.json | 4 +- metadata/modules/admixerBidAdapter.json | 2 +- metadata/modules/admixerIdSystem.json | 2 +- metadata/modules/adnowBidAdapter.json | 2 +- metadata/modules/adnuntiusBidAdapter.json | 2 +- metadata/modules/adnuntiusRtdProvider.json | 2 +- metadata/modules/adotBidAdapter.json | 2 +- metadata/modules/adponeBidAdapter.json | 2 +- metadata/modules/adqueryBidAdapter.json | 2 +- metadata/modules/adqueryIdSystem.json | 2 +- metadata/modules/adrinoBidAdapter.json | 2 +- .../modules/ads_interactiveBidAdapter.json | 2 +- metadata/modules/adtargetBidAdapter.json | 2 +- metadata/modules/adtelligentBidAdapter.json | 6 +-- metadata/modules/adtelligentIdSystem.json | 2 +- metadata/modules/aduptechBidAdapter.json | 2 +- metadata/modules/adyoulikeBidAdapter.json | 4 +- metadata/modules/airgridRtdProvider.json | 2 +- metadata/modules/alkimiBidAdapter.json | 2 +- metadata/modules/amxBidAdapter.json | 2 +- metadata/modules/amxIdSystem.json | 2 +- metadata/modules/aniviewBidAdapter.json | 2 +- metadata/modules/anonymisedRtdProvider.json | 2 +- metadata/modules/appStockSSPBidAdapter.json | 2 +- metadata/modules/appierBidAdapter.json | 2 +- metadata/modules/appnexusBidAdapter.json | 10 ++-- metadata/modules/appushBidAdapter.json | 2 +- metadata/modules/apstreamBidAdapter.json | 2 +- metadata/modules/audiencerunBidAdapter.json | 2 +- metadata/modules/axisBidAdapter.json | 2 +- metadata/modules/azerionedgeRtdProvider.json | 2 +- metadata/modules/beachfrontBidAdapter.json | 2 +- metadata/modules/beopBidAdapter.json | 2 +- metadata/modules/betweenBidAdapter.json | 2 +- metadata/modules/bidfuseBidAdapter.json | 2 +- metadata/modules/bidmaticBidAdapter.json | 2 +- metadata/modules/bidtheatreBidAdapter.json | 2 +- metadata/modules/bliinkBidAdapter.json | 2 +- metadata/modules/blockthroughBidAdapter.json | 2 +- metadata/modules/blueBidAdapter.json | 2 +- metadata/modules/bmsBidAdapter.json | 2 +- metadata/modules/boldwinBidAdapter.json | 2 +- metadata/modules/bridBidAdapter.json | 2 +- metadata/modules/browsiBidAdapter.json | 2 +- metadata/modules/bucksenseBidAdapter.json | 2 +- metadata/modules/carodaBidAdapter.json | 2 +- metadata/modules/categoryTranslation.json | 2 +- metadata/modules/ceeIdSystem.json | 2 +- metadata/modules/chromeAiRtdProvider.json | 2 +- metadata/modules/clickioBidAdapter.json | 2 +- metadata/modules/compassBidAdapter.json | 2 +- metadata/modules/conceptxBidAdapter.json | 2 +- metadata/modules/connatixBidAdapter.json | 2 +- metadata/modules/connectIdSystem.json | 2 +- metadata/modules/connectadBidAdapter.json | 2 +- .../modules/contentexchangeBidAdapter.json | 2 +- metadata/modules/conversantBidAdapter.json | 2 +- metadata/modules/copper6sspBidAdapter.json | 2 +- metadata/modules/cpmstarBidAdapter.json | 2 +- metadata/modules/criteoBidAdapter.json | 2 +- metadata/modules/criteoIdSystem.json | 2 +- metadata/modules/cwireBidAdapter.json | 2 +- metadata/modules/czechAdIdSystem.json | 2 +- metadata/modules/dailymotionBidAdapter.json | 2 +- metadata/modules/debugging.json | 2 +- metadata/modules/deepintentBidAdapter.json | 2 +- metadata/modules/defineMediaBidAdapter.json | 2 +- metadata/modules/deltaprojectsBidAdapter.json | 2 +- metadata/modules/dianomiBidAdapter.json | 2 +- metadata/modules/digitalMatterBidAdapter.json | 2 +- metadata/modules/distroscaleBidAdapter.json | 2 +- .../modules/docereeAdManagerBidAdapter.json | 2 +- metadata/modules/docereeBidAdapter.json | 2 +- metadata/modules/dspxBidAdapter.json | 2 +- metadata/modules/e_volutionBidAdapter.json | 2 +- metadata/modules/edge226BidAdapter.json | 2 +- metadata/modules/empowerBidAdapter.json | 2 +- metadata/modules/equativBidAdapter.json | 2 +- metadata/modules/eskimiBidAdapter.json | 2 +- metadata/modules/etargetBidAdapter.json | 2 +- metadata/modules/euidIdSystem.json | 2 +- metadata/modules/exadsBidAdapter.json | 2 +- metadata/modules/feedadBidAdapter.json | 2 +- metadata/modules/fwsspBidAdapter.json | 2 +- metadata/modules/gamoshiBidAdapter.json | 2 +- metadata/modules/gemiusIdSystem.json | 2 +- metadata/modules/glomexBidAdapter.json | 2 +- metadata/modules/goldbachBidAdapter.json | 2 +- metadata/modules/gridBidAdapter.json | 9 +--- metadata/modules/gumgumBidAdapter.json | 2 +- metadata/modules/hadronIdSystem.json | 2 +- metadata/modules/hadronRtdProvider.json | 2 +- metadata/modules/holidBidAdapter.json | 2 +- metadata/modules/hybridBidAdapter.json | 2 +- metadata/modules/id5IdSystem.json | 2 +- metadata/modules/identityLinkIdSystem.json | 2 +- metadata/modules/illuminBidAdapter.json | 2 +- metadata/modules/impactifyBidAdapter.json | 2 +- .../modules/improvedigitalBidAdapter.json | 2 +- metadata/modules/inmobiBidAdapter.json | 2 +- metadata/modules/insticatorBidAdapter.json | 2 +- metadata/modules/intentIqIdSystem.json | 2 +- metadata/modules/invibesBidAdapter.json | 2 +- metadata/modules/ipromBidAdapter.json | 2 +- metadata/modules/ixBidAdapter.json | 2 +- metadata/modules/justIdSystem.json | 2 +- metadata/modules/justpremiumBidAdapter.json | 2 +- metadata/modules/jwplayerBidAdapter.json | 2 +- metadata/modules/kargoBidAdapter.json | 2 +- metadata/modules/kueezRtbBidAdapter.json | 2 +- .../modules/limelightDigitalBidAdapter.json | 4 +- metadata/modules/liveIntentIdSystem.json | 2 +- metadata/modules/liveIntentRtdProvider.json | 2 +- metadata/modules/livewrappedBidAdapter.json | 2 +- metadata/modules/loopmeBidAdapter.json | 2 +- metadata/modules/lotamePanoramaIdSystem.json | 2 +- metadata/modules/luponmediaBidAdapter.json | 2 +- metadata/modules/madvertiseBidAdapter.json | 2 +- metadata/modules/marsmediaBidAdapter.json | 2 +- .../modules/mediaConsortiumBidAdapter.json | 2 +- metadata/modules/mediaforceBidAdapter.json | 2 +- metadata/modules/mediafuseBidAdapter.json | 2 +- metadata/modules/mediagoBidAdapter.json | 2 +- metadata/modules/mediakeysBidAdapter.json | 2 +- metadata/modules/medianetBidAdapter.json | 4 +- metadata/modules/mediasquareBidAdapter.json | 2 +- metadata/modules/mgidBidAdapter.json | 2 +- metadata/modules/mgidRtdProvider.json | 2 +- metadata/modules/mgidXBidAdapter.json | 2 +- metadata/modules/minutemediaBidAdapter.json | 2 +- metadata/modules/missenaBidAdapter.json | 2 +- metadata/modules/mobianRtdProvider.json | 2 +- metadata/modules/mobkoiBidAdapter.json | 2 +- metadata/modules/mobkoiIdSystem.json | 2 +- metadata/modules/msftBidAdapter.json | 2 +- metadata/modules/mycodemediaBidAdapter.json | 13 +++++ metadata/modules/nativeryBidAdapter.json | 2 +- metadata/modules/nativoBidAdapter.json | 2 +- metadata/modules/newspassidBidAdapter.json | 2 +- .../modules/nextMillenniumBidAdapter.json | 2 +- metadata/modules/nextrollBidAdapter.json | 2 +- metadata/modules/nexx360BidAdapter.json | 23 +++----- metadata/modules/nobidBidAdapter.json | 2 +- metadata/modules/nodalsAiRtdProvider.json | 2 +- metadata/modules/novatiqIdSystem.json | 2 +- metadata/modules/oguryBidAdapter.json | 2 +- metadata/modules/omnidexBidAdapter.json | 2 +- metadata/modules/omsBidAdapter.json | 2 +- metadata/modules/onetagBidAdapter.json | 2 +- metadata/modules/openwebBidAdapter.json | 2 +- metadata/modules/openxBidAdapter.json | 2 +- metadata/modules/operaadsBidAdapter.json | 2 +- metadata/modules/optidigitalBidAdapter.json | 2 +- metadata/modules/optoutBidAdapter.json | 2 +- metadata/modules/orbidderBidAdapter.json | 2 +- metadata/modules/outbrainBidAdapter.json | 2 +- metadata/modules/ozoneBidAdapter.json | 2 +- metadata/modules/pairIdSystem.json | 2 +- metadata/modules/performaxBidAdapter.json | 2 +- .../permutiveIdentityManagerIdSystem.json | 2 +- metadata/modules/permutiveRtdProvider.json | 2 +- metadata/modules/pixfutureBidAdapter.json | 2 +- metadata/modules/playdigoBidAdapter.json | 2 +- metadata/modules/prebid-core.json | 4 +- metadata/modules/precisoBidAdapter.json | 2 +- metadata/modules/prismaBidAdapter.json | 2 +- metadata/modules/programmaticXBidAdapter.json | 2 +- metadata/modules/proxistoreBidAdapter.json | 2 +- metadata/modules/publinkIdSystem.json | 2 +- metadata/modules/pubmaticBidAdapter.json | 2 +- metadata/modules/pubmaticIdSystem.json | 2 +- metadata/modules/pulsepointBidAdapter.json | 2 +- metadata/modules/quantcastBidAdapter.json | 2 +- metadata/modules/quantcastIdSystem.json | 2 +- metadata/modules/r2b2BidAdapter.json | 2 +- metadata/modules/readpeakBidAdapter.json | 2 +- metadata/modules/relayBidAdapter.json | 2 +- .../modules/relevantdigitalBidAdapter.json | 2 +- metadata/modules/resetdigitalBidAdapter.json | 2 +- metadata/modules/responsiveAdsBidAdapter.json | 2 +- metadata/modules/revcontentBidAdapter.json | 2 +- metadata/modules/revnewBidAdapter.json | 18 +++++++ metadata/modules/rhythmoneBidAdapter.json | 2 +- metadata/modules/richaudienceBidAdapter.json | 2 +- metadata/modules/riseBidAdapter.json | 4 +- metadata/modules/rixengineBidAdapter.json | 2 +- metadata/modules/rtbhouseBidAdapter.json | 2 +- metadata/modules/rubiconBidAdapter.json | 2 +- metadata/modules/scaliburBidAdapter.json | 2 +- metadata/modules/screencoreBidAdapter.json | 2 +- .../modules/seedingAllianceBidAdapter.json | 2 +- metadata/modules/seedtagBidAdapter.json | 2 +- metadata/modules/semantiqRtdProvider.json | 2 +- metadata/modules/setupadBidAdapter.json | 2 +- metadata/modules/sevioBidAdapter.json | 2 +- metadata/modules/sharedIdSystem.json | 2 +- metadata/modules/sharethroughBidAdapter.json | 2 +- metadata/modules/showheroes-bsBidAdapter.json | 2 +- metadata/modules/silvermobBidAdapter.json | 2 +- metadata/modules/sirdataRtdProvider.json | 2 +- metadata/modules/smaatoBidAdapter.json | 2 +- metadata/modules/smartadserverBidAdapter.json | 2 +- metadata/modules/smartxBidAdapter.json | 2 +- metadata/modules/smartyadsBidAdapter.json | 2 +- metadata/modules/smilewantedBidAdapter.json | 2 +- metadata/modules/snigelBidAdapter.json | 2 +- metadata/modules/sonaradsBidAdapter.json | 2 +- metadata/modules/sonobiBidAdapter.json | 2 +- metadata/modules/sovrnBidAdapter.json | 2 +- metadata/modules/sparteoBidAdapter.json | 2 +- metadata/modules/ssmasBidAdapter.json | 2 +- metadata/modules/sspBCBidAdapter.json | 2 +- metadata/modules/stackadaptBidAdapter.json | 2 +- metadata/modules/startioBidAdapter.json | 2 +- metadata/modules/stroeerCoreBidAdapter.json | 2 +- metadata/modules/stvBidAdapter.json | 2 +- metadata/modules/sublimeBidAdapter.json | 2 +- metadata/modules/taboolaBidAdapter.json | 2 +- metadata/modules/taboolaIdSystem.json | 2 +- metadata/modules/tadvertisingBidAdapter.json | 2 +- metadata/modules/tappxBidAdapter.json | 2 +- metadata/modules/targetVideoBidAdapter.json | 2 +- metadata/modules/teadsBidAdapter.json | 2 +- metadata/modules/teadsIdSystem.json | 2 +- metadata/modules/tealBidAdapter.json | 2 +- metadata/modules/tncIdSystem.json | 2 +- metadata/modules/topicsFpdModule.json | 2 +- metadata/modules/toponBidAdapter.json | 2 +- metadata/modules/tripleliftBidAdapter.json | 2 +- metadata/modules/trustxBidAdapter.json | 13 +++++ metadata/modules/ttdBidAdapter.json | 2 +- metadata/modules/twistDigitalBidAdapter.json | 2 +- metadata/modules/underdogmediaBidAdapter.json | 2 +- metadata/modules/undertoneBidAdapter.json | 2 +- metadata/modules/unifiedIdSystem.json | 2 +- metadata/modules/unrulyBidAdapter.json | 2 +- metadata/modules/userId.json | 2 +- metadata/modules/utiqIdSystem.json | 2 +- metadata/modules/utiqMtpIdSystem.json | 2 +- metadata/modules/validationFpdModule.json | 2 +- metadata/modules/valuadBidAdapter.json | 2 +- metadata/modules/vidazooBidAdapter.json | 2 +- metadata/modules/vidoomyBidAdapter.json | 2 +- metadata/modules/viouslyBidAdapter.json | 2 +- metadata/modules/visxBidAdapter.json | 2 +- metadata/modules/vlybyBidAdapter.json | 2 +- metadata/modules/voxBidAdapter.json | 2 +- metadata/modules/vrtcalBidAdapter.json | 2 +- metadata/modules/vuukleBidAdapter.json | 2 +- metadata/modules/weboramaRtdProvider.json | 2 +- metadata/modules/welectBidAdapter.json | 2 +- metadata/modules/yahooAdsBidAdapter.json | 2 +- metadata/modules/yieldlabBidAdapter.json | 2 +- metadata/modules/yieldloveBidAdapter.json | 2 +- metadata/modules/yieldmoBidAdapter.json | 2 +- metadata/modules/zeotapIdPlusIdSystem.json | 2 +- metadata/modules/zeta_globalBidAdapter.json | 2 +- .../modules/zeta_global_sspBidAdapter.json | 2 +- package-lock.json | 28 +++++----- package.json | 2 +- 284 files changed, 438 insertions(+), 407 deletions(-) create mode 100644 metadata/modules/mycodemediaBidAdapter.json create mode 100644 metadata/modules/revnewBidAdapter.json create mode 100644 metadata/modules/trustxBidAdapter.json diff --git a/.github/codeql/queries/autogen_fpDOMMethod.qll b/.github/codeql/queries/autogen_fpDOMMethod.qll index 7e21d791a69..d0edbe52349 100644 --- a/.github/codeql/queries/autogen_fpDOMMethod.qll +++ b/.github/codeql/queries/autogen_fpDOMMethod.qll @@ -7,9 +7,9 @@ class DOMMethod extends string { DOMMethod() { - ( this = "toDataURL" and weight = 25.89 and type = "HTMLCanvasElement" ) + ( this = "toDataURL" and weight = 23.69 and type = "HTMLCanvasElement" ) or - ( this = "getChannelData" and weight = 806.52 and type = "AudioBuffer" ) + ( this = "getChannelData" and weight = 731.69 and type = "AudioBuffer" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpEventProperty.qll b/.github/codeql/queries/autogen_fpEventProperty.qll index d136c7a6ab6..2bdc9551d10 100644 --- a/.github/codeql/queries/autogen_fpEventProperty.qll +++ b/.github/codeql/queries/autogen_fpEventProperty.qll @@ -7,21 +7,21 @@ class EventProperty extends string { EventProperty() { - ( this = "accelerationIncludingGravity" and weight = 158.1 and event = "devicemotion" ) + ( this = "candidate" and weight = 68.42 and event = "icecandidate" ) or - ( this = "beta" and weight = 887.22 and event = "deviceorientation" ) + ( this = "acceleration" and weight = 67.02 and event = "devicemotion" ) or - ( this = "gamma" and weight = 361.7 and event = "deviceorientation" ) + ( this = "rotationRate" and weight = 66.54 and event = "devicemotion" ) or - ( this = "alpha" and weight = 354.09 and event = "deviceorientation" ) + ( this = "accelerationIncludingGravity" and weight = 184.27 and event = "devicemotion" ) or - ( this = "candidate" and weight = 69.81 and event = "icecandidate" ) + ( this = "alpha" and weight = 355.23 and event = "deviceorientation" ) or - ( this = "acceleration" and weight = 64.92 and event = "devicemotion" ) + ( this = "beta" and weight = 768.94 and event = "deviceorientation" ) or - ( this = "rotationRate" and weight = 64.37 and event = "devicemotion" ) + ( this = "gamma" and weight = 350.62 and event = "deviceorientation" ) or - ( this = "absolute" and weight = 709.73 and event = "deviceorientation" ) + ( this = "absolute" and weight = 235.6 and event = "deviceorientation" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalConstructor.qll b/.github/codeql/queries/autogen_fpGlobalConstructor.qll index 43213748fa3..1e85f9c4dbf 100644 --- a/.github/codeql/queries/autogen_fpGlobalConstructor.qll +++ b/.github/codeql/queries/autogen_fpGlobalConstructor.qll @@ -6,15 +6,15 @@ class GlobalConstructor extends string { GlobalConstructor() { - ( this = "OfflineAudioContext" and weight = 1111.66 ) + ( this = "RTCPeerConnection" and weight = 52.98 ) or - ( this = "SharedWorker" and weight = 93.35 ) + ( this = "OfflineAudioContext" and weight = 943.82 ) or - ( this = "RTCPeerConnection" and weight = 49.52 ) + ( this = "SharedWorker" and weight = 81.97 ) or - ( this = "Gyroscope" and weight = 98.72 ) + ( this = "Gyroscope" and weight = 127.22 ) or - ( this = "AudioWorkletNode" and weight = 72.93 ) + ( this = "AudioWorkletNode" and weight = 58.97 ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll b/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll index bd815ca8cce..089b3adf045 100644 --- a/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll +++ b/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll @@ -7,57 +7,55 @@ class GlobalObjectProperty0 extends string { GlobalObjectProperty0() { - ( this = "cookieEnabled" and weight = 15.36 and global0 = "navigator" ) + ( this = "availHeight" and weight = 66.03 and global0 = "screen" ) or - ( this = "availHeight" and weight = 69.48 and global0 = "screen" ) + ( this = "availWidth" and weight = 61.41 and global0 = "screen" ) or - ( this = "availWidth" and weight = 65.15 and global0 = "screen" ) + ( this = "colorDepth" and weight = 34.09 and global0 = "screen" ) or - ( this = "colorDepth" and weight = 34.39 and global0 = "screen" ) + ( this = "availTop" and weight = 1174.2 and global0 = "screen" ) or - ( this = "deviceMemory" and weight = 75.15 and global0 = "navigator" ) + ( this = "deviceMemory" and weight = 77.66 and global0 = "navigator" ) or - ( this = "availTop" and weight = 1256.76 and global0 = "screen" ) + ( this = "getBattery" and weight = 112.15 and global0 = "navigator" ) or - ( this = "getBattery" and weight = 124.12 and global0 = "navigator" ) + ( this = "webdriver" and weight = 29.29 and global0 = "navigator" ) or - ( this = "webdriver" and weight = 30.18 and global0 = "navigator" ) + ( this = "permission" and weight = 24.76 and global0 = "Notification" ) or - ( this = "permission" and weight = 22.23 and global0 = "Notification" ) + ( this = "storage" and weight = 87.32 and global0 = "navigator" ) or - ( this = "storage" and weight = 170.65 and global0 = "navigator" ) + ( this = "orientation" and weight = 37.55 and global0 = "screen" ) or - ( this = "orientation" and weight = 38.3 and global0 = "screen" ) + ( this = "hardwareConcurrency" and weight = 72.78 and global0 = "navigator" ) or - ( this = "onLine" and weight = 20.05 and global0 = "navigator" ) + ( this = "onLine" and weight = 20.49 and global0 = "navigator" ) or - ( this = "pixelDepth" and weight = 38.22 and global0 = "screen" ) + ( this = "vendorSub" and weight = 1531.94 and global0 = "navigator" ) or - ( this = "availLeft" and weight = 539.55 and global0 = "screen" ) + ( this = "productSub" and weight = 537.18 and global0 = "navigator" ) or - ( this = "vendorSub" and weight = 1462.45 and global0 = "navigator" ) + ( this = "webkitTemporaryStorage" and weight = 34.68 and global0 = "navigator" ) or - ( this = "productSub" and weight = 525.88 and global0 = "navigator" ) + ( this = "webkitPersistentStorage" and weight = 100.12 and global0 = "navigator" ) or - ( this = "webkitTemporaryStorage" and weight = 40.85 and global0 = "navigator" ) + ( this = "appCodeName" and weight = 158.73 and global0 = "navigator" ) or - ( this = "hardwareConcurrency" and weight = 70.43 and global0 = "navigator" ) + ( this = "keyboard" and weight = 5550.82 and global0 = "navigator" ) or - ( this = "appCodeName" and weight = 152.93 and global0 = "navigator" ) + ( this = "mediaDevices" and weight = 130.49 and global0 = "navigator" ) or - ( this = "keyboard" and weight = 2426.5 and global0 = "navigator" ) + ( this = "mediaCapabilities" and weight = 154.9 and global0 = "navigator" ) or - ( this = "mediaDevices" and weight = 123.07 and global0 = "navigator" ) + ( this = "permissions" and weight = 63.86 and global0 = "navigator" ) or - ( this = "mediaCapabilities" and weight = 124.39 and global0 = "navigator" ) + ( this = "availLeft" and weight = 503.56 and global0 = "screen" ) or - ( this = "permissions" and weight = 70.22 and global0 = "navigator" ) + ( this = "pixelDepth" and weight = 38.42 and global0 = "screen" ) or - ( this = "webkitPersistentStorage" and weight = 113.71 and global0 = "navigator" ) + ( this = "requestMediaKeySystemAccess" and weight = 19.71 and global0 = "navigator" ) or - ( this = "requestMediaKeySystemAccess" and weight = 16.88 and global0 = "navigator" ) - or - ( this = "getGamepads" and weight = 202.54 and global0 = "navigator" ) + ( this = "getGamepads" and weight = 339.45 and global0 = "navigator" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll b/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll index b874d860835..82e70b02732 100644 --- a/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll +++ b/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll @@ -8,7 +8,7 @@ class GlobalObjectProperty1 extends string { GlobalObjectProperty1() { - ( this = "enumerateDevices" and weight = 329.65 and global0 = "navigator" and global1 = "mediaDevices" ) + ( this = "enumerateDevices" and weight = 397.8 and global0 = "navigator" and global1 = "mediaDevices" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll b/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll index df96f92eaed..085d5297f27 100644 --- a/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll +++ b/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll @@ -7,11 +7,11 @@ class GlobalTypeProperty0 extends string { GlobalTypeProperty0() { - ( this = "x" and weight = 7033.93 and global0 = "Gyroscope" ) + ( this = "x" and weight = 6159.48 and global0 = "Gyroscope" ) or - ( this = "y" and weight = 7033.93 and global0 = "Gyroscope" ) + ( this = "y" and weight = 6159.48 and global0 = "Gyroscope" ) or - ( this = "z" and weight = 7033.93 and global0 = "Gyroscope" ) + ( this = "z" and weight = 6159.48 and global0 = "Gyroscope" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll b/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll index dbdf06d0d47..bed9bf55443 100644 --- a/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll +++ b/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll @@ -8,7 +8,7 @@ class GlobalTypeProperty1 extends string { GlobalTypeProperty1() { - ( this = "resolvedOptions" and weight = 18.83 and global0 = "Intl" and global1 = "DateTimeFormat" ) + ( this = "resolvedOptions" and weight = 18.4 and global0 = "Intl" and global1 = "DateTimeFormat" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalVar.qll b/.github/codeql/queries/autogen_fpGlobalVar.qll index 7a337b3519d..940ce7ce072 100644 --- a/.github/codeql/queries/autogen_fpGlobalVar.qll +++ b/.github/codeql/queries/autogen_fpGlobalVar.qll @@ -6,23 +6,23 @@ class GlobalVar extends string { GlobalVar() { - ( this = "devicePixelRatio" and weight = 18.91 ) + ( this = "devicePixelRatio" and weight = 18.53 ) or - ( this = "screenX" and weight = 355.18 ) + ( this = "screenX" and weight = 384.76 ) or - ( this = "screenY" and weight = 309.2 ) + ( this = "screenY" and weight = 334.94 ) or - ( this = "outerWidth" and weight = 109.86 ) + ( this = "outerWidth" and weight = 107.41 ) or - ( this = "outerHeight" and weight = 178.05 ) + ( this = "outerHeight" and weight = 187.92 ) or - ( this = "screenLeft" and weight = 374.27 ) + ( this = "screenLeft" and weight = 343.39 ) or - ( this = "screenTop" and weight = 373.73 ) + ( this = "screenTop" and weight = 343.56 ) or - ( this = "indexedDB" and weight = 18.81 ) + ( this = "indexedDB" and weight = 19.24 ) or - ( this = "openDatabase" and weight = 134.7 ) + ( this = "openDatabase" and weight = 145.2 ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpRenderingContextProperty.qll b/.github/codeql/queries/autogen_fpRenderingContextProperty.qll index 510e393b984..77ae81bed2a 100644 --- a/.github/codeql/queries/autogen_fpRenderingContextProperty.qll +++ b/.github/codeql/queries/autogen_fpRenderingContextProperty.qll @@ -7,35 +7,35 @@ class RenderingContextProperty extends string { RenderingContextProperty() { - ( this = "getExtension" and weight = 17.76 and contextType = "webgl" ) + ( this = "getExtension" and weight = 23.24 and contextType = "webgl" ) or - ( this = "getParameter" and weight = 20.31 and contextType = "webgl" ) + ( this = "getParameter" and weight = 27.29 and contextType = "webgl" ) or - ( this = "getParameter" and weight = 65.17 and contextType = "webgl2" ) + ( this = "getShaderPrecisionFormat" and weight = 665.75 and contextType = "webgl" ) or - ( this = "getShaderPrecisionFormat" and weight = 107.03 and contextType = "webgl2" ) + ( this = "getContextAttributes" and weight = 1417.95 and contextType = "webgl" ) or - ( this = "getExtension" and weight = 70.03 and contextType = "webgl2" ) + ( this = "getSupportedExtensions" and weight = 1009.79 and contextType = "webgl" ) or - ( this = "getContextAttributes" and weight = 175.38 and contextType = "webgl2" ) + ( this = "getImageData" and weight = 46.91 and contextType = "2d" ) or - ( this = "getSupportedExtensions" and weight = 487.31 and contextType = "webgl2" ) + ( this = "getExtension" and weight = 81.11 and contextType = "webgl2" ) or - ( this = "getImageData" and weight = 44.3 and contextType = "2d" ) + ( this = "getParameter" and weight = 78.86 and contextType = "webgl2" ) or - ( this = "measureText" and weight = 47.23 and contextType = "2d" ) + ( this = "getSupportedExtensions" and weight = 668.35 and contextType = "webgl2" ) or - ( this = "getShaderPrecisionFormat" and weight = 595.72 and contextType = "webgl" ) + ( this = "getContextAttributes" and weight = 197.1 and contextType = "webgl2" ) or - ( this = "getContextAttributes" and weight = 1038.26 and contextType = "webgl" ) + ( this = "getShaderPrecisionFormat" and weight = 138.38 and contextType = "webgl2" ) or - ( this = "getSupportedExtensions" and weight = 805.83 and contextType = "webgl" ) + ( this = "readPixels" and weight = 20.79 and contextType = "webgl" ) or - ( this = "readPixels" and weight = 20.6 and contextType = "webgl" ) + ( this = "isPointInPath" and weight = 6159.48 and contextType = "2d" ) or - ( this = "isPointInPath" and weight = 7033.93 and contextType = "2d" ) + ( this = "measureText" and weight = 40.71 and contextType = "2d" ) or - ( this = "readPixels" and weight = 73.62 and contextType = "webgl2" ) + ( this = "readPixels" and weight = 72.72 and contextType = "webgl2" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpSensorProperty.qll b/.github/codeql/queries/autogen_fpSensorProperty.qll index 776a78d8434..b970ada6e93 100644 --- a/.github/codeql/queries/autogen_fpSensorProperty.qll +++ b/.github/codeql/queries/autogen_fpSensorProperty.qll @@ -6,7 +6,7 @@ class SensorProperty extends string { SensorProperty() { - ( this = "start" and weight = 104.06 ) + ( this = "start" and weight = 143.54 ) } float getWeight() { diff --git a/metadata/modules.json b/metadata/modules.json index 68eb9a03b1a..382645cb0e9 100644 --- a/metadata/modules.json +++ b/metadata/modules.json @@ -2395,13 +2395,6 @@ "gvlid": null, "disclosureURL": null }, - { - "componentType": "bidder", - "componentName": "trustx", - "aliasOf": "grid", - "gvlid": null, - "disclosureURL": null - }, { "componentType": "bidder", "componentName": "growads", @@ -3165,6 +3158,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "mycodemedia", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "mytarget", @@ -3333,13 +3333,6 @@ "gvlid": 967, "disclosureURL": null }, - { - "componentType": "bidder", - "componentName": "revnew", - "aliasOf": "nexx360", - "gvlid": 1468, - "disclosureURL": null - }, { "componentType": "bidder", "componentName": "pubxai", @@ -3914,6 +3907,13 @@ "gvlid": 203, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "revnew", + "aliasOf": null, + "gvlid": 1468, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "rhythmone", @@ -4579,6 +4579,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "trustx", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "ttd", diff --git a/metadata/modules/33acrossBidAdapter.json b/metadata/modules/33acrossBidAdapter.json index 67630cda402..fe3a0cbcdcf 100644 --- a/metadata/modules/33acrossBidAdapter.json +++ b/metadata/modules/33acrossBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2025-12-03T16:37:39.026Z", + "timestamp": "2025-12-12T14:14:51.602Z", "disclosures": [] } }, diff --git a/metadata/modules/33acrossIdSystem.json b/metadata/modules/33acrossIdSystem.json index 2e119310259..950d12c3863 100644 --- a/metadata/modules/33acrossIdSystem.json +++ b/metadata/modules/33acrossIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2025-12-03T16:37:39.141Z", + "timestamp": "2025-12-12T14:14:51.705Z", "disclosures": [] } }, diff --git a/metadata/modules/acuityadsBidAdapter.json b/metadata/modules/acuityadsBidAdapter.json index 638529984e0..58c761a3927 100644 --- a/metadata/modules/acuityadsBidAdapter.json +++ b/metadata/modules/acuityadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.acuityads.com/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:37:39.144Z", + "timestamp": "2025-12-12T14:14:51.708Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioBidAdapter.json b/metadata/modules/adagioBidAdapter.json index 501526f269d..a86da564164 100644 --- a/metadata/modules/adagioBidAdapter.json +++ b/metadata/modules/adagioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:37:39.176Z", + "timestamp": "2025-12-12T14:14:51.740Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioRtdProvider.json b/metadata/modules/adagioRtdProvider.json index ff1a2484743..9ca66ba8f3b 100644 --- a/metadata/modules/adagioRtdProvider.json +++ b/metadata/modules/adagioRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:37:39.236Z", + "timestamp": "2025-12-12T14:14:51.805Z", "disclosures": [] } }, diff --git a/metadata/modules/adbroBidAdapter.json b/metadata/modules/adbroBidAdapter.json index b5095141329..e29e3397633 100644 --- a/metadata/modules/adbroBidAdapter.json +++ b/metadata/modules/adbroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tag.adbro.me/privacy/devicestorage.json": { - "timestamp": "2025-12-03T16:37:39.236Z", + "timestamp": "2025-12-12T14:14:51.805Z", "disclosures": [] } }, diff --git a/metadata/modules/addefendBidAdapter.json b/metadata/modules/addefendBidAdapter.json index 982caf031b9..a9036dc6bfd 100644 --- a/metadata/modules/addefendBidAdapter.json +++ b/metadata/modules/addefendBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.addefend.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:39.518Z", + "timestamp": "2025-12-12T14:14:52.118Z", "disclosures": [] } }, diff --git a/metadata/modules/adfBidAdapter.json b/metadata/modules/adfBidAdapter.json index 7bacef5ae20..ae31e7300eb 100644 --- a/metadata/modules/adfBidAdapter.json +++ b/metadata/modules/adfBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://site.adform.com/assets/devicestorage.json": { - "timestamp": "2025-12-03T16:37:40.195Z", + "timestamp": "2025-12-12T14:14:53.154Z", "disclosures": [] } }, diff --git a/metadata/modules/adfusionBidAdapter.json b/metadata/modules/adfusionBidAdapter.json index 7c286d8e772..93fa81ca7b2 100644 --- a/metadata/modules/adfusionBidAdapter.json +++ b/metadata/modules/adfusionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spicyrtb.com/static/iab-disclosure.json": { - "timestamp": "2025-12-03T16:37:40.195Z", + "timestamp": "2025-12-12T14:14:53.155Z", "disclosures": [] } }, diff --git a/metadata/modules/adheseBidAdapter.json b/metadata/modules/adheseBidAdapter.json index 40f5dc1b0e9..bcddf636e69 100644 --- a/metadata/modules/adheseBidAdapter.json +++ b/metadata/modules/adheseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adhese.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:40.548Z", + "timestamp": "2025-12-12T14:14:53.515Z", "disclosures": [] } }, diff --git a/metadata/modules/adipoloBidAdapter.json b/metadata/modules/adipoloBidAdapter.json index 633958edfe7..058568b686a 100644 --- a/metadata/modules/adipoloBidAdapter.json +++ b/metadata/modules/adipoloBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adipolo.com/device_storage_disclosure.json": { - "timestamp": "2025-12-03T16:37:40.813Z", + "timestamp": "2025-12-12T14:14:53.780Z", "disclosures": [] } }, diff --git a/metadata/modules/adkernelAdnBidAdapter.json b/metadata/modules/adkernelAdnBidAdapter.json index b91ff3e3df6..0e3231494be 100644 --- a/metadata/modules/adkernelAdnBidAdapter.json +++ b/metadata/modules/adkernelAdnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:40.952Z", + "timestamp": "2025-12-12T14:14:53.907Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", diff --git a/metadata/modules/adkernelBidAdapter.json b/metadata/modules/adkernelBidAdapter.json index f6c70ec4bfb..eda8dcec0ea 100644 --- a/metadata/modules/adkernelBidAdapter.json +++ b/metadata/modules/adkernelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:40.986Z", + "timestamp": "2025-12-12T14:14:53.930Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", @@ -17,15 +17,15 @@ ] }, "https://data.converge-digital.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:40.986Z", + "timestamp": "2025-12-12T14:14:53.930Z", "disclosures": [] }, "https://spinx.biz/tcf-spinx.json": { - "timestamp": "2025-12-03T16:37:41.042Z", + "timestamp": "2025-12-12T14:14:53.974Z", "disclosures": [] }, "https://gdpr.memob.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:41.731Z", + "timestamp": "2025-12-12T14:14:54.743Z", "disclosures": [] } }, diff --git a/metadata/modules/admaticBidAdapter.json b/metadata/modules/admaticBidAdapter.json index ea1b254daad..424e823a06e 100644 --- a/metadata/modules/admaticBidAdapter.json +++ b/metadata/modules/admaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.admatic.de/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2025-12-03T16:37:42.256Z", + "timestamp": "2025-12-12T14:14:54.995Z", "disclosures": [ { "identifier": "px_pbjs", @@ -12,7 +12,7 @@ ] }, "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:41.889Z", + "timestamp": "2025-12-12T14:14:54.860Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/admixerBidAdapter.json b/metadata/modules/admixerBidAdapter.json index bcf72b90707..01483a234bd 100644 --- a/metadata/modules/admixerBidAdapter.json +++ b/metadata/modules/admixerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2025-12-03T16:37:42.256Z", + "timestamp": "2025-12-12T14:14:54.996Z", "disclosures": [] } }, diff --git a/metadata/modules/admixerIdSystem.json b/metadata/modules/admixerIdSystem.json index 5275b31a737..3088f934b0c 100644 --- a/metadata/modules/admixerIdSystem.json +++ b/metadata/modules/admixerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2025-12-03T16:37:42.658Z", + "timestamp": "2025-12-12T14:14:55.374Z", "disclosures": [] } }, diff --git a/metadata/modules/adnowBidAdapter.json b/metadata/modules/adnowBidAdapter.json index 9502a4e83e9..2fa8b726d3f 100644 --- a/metadata/modules/adnowBidAdapter.json +++ b/metadata/modules/adnowBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adnow.com/vdsod.json": { - "timestamp": "2025-12-03T16:37:42.658Z", + "timestamp": "2025-12-12T14:14:55.374Z", "disclosures": [ { "identifier": "SC_unique_*", diff --git a/metadata/modules/adnuntiusBidAdapter.json b/metadata/modules/adnuntiusBidAdapter.json index ab898368021..d075c0a18e6 100644 --- a/metadata/modules/adnuntiusBidAdapter.json +++ b/metadata/modules/adnuntiusBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:42.935Z", + "timestamp": "2025-12-12T14:14:55.623Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adnuntiusRtdProvider.json b/metadata/modules/adnuntiusRtdProvider.json index 993d83e2e34..fddfaff4b8f 100644 --- a/metadata/modules/adnuntiusRtdProvider.json +++ b/metadata/modules/adnuntiusRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:43.272Z", + "timestamp": "2025-12-12T14:14:55.943Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adotBidAdapter.json b/metadata/modules/adotBidAdapter.json index 0d0e2d16d56..66e69bd8ae4 100644 --- a/metadata/modules/adotBidAdapter.json +++ b/metadata/modules/adotBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.adotmob.com/tcf/tcf.json": { - "timestamp": "2025-12-03T16:37:43.272Z", + "timestamp": "2025-12-12T14:14:55.943Z", "disclosures": [] } }, diff --git a/metadata/modules/adponeBidAdapter.json b/metadata/modules/adponeBidAdapter.json index 4e1c3a30c25..481abbb271b 100644 --- a/metadata/modules/adponeBidAdapter.json +++ b/metadata/modules/adponeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.adpone.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:43.314Z", + "timestamp": "2025-12-12T14:14:55.987Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryBidAdapter.json b/metadata/modules/adqueryBidAdapter.json index a9188b1e7d5..bb650385832 100644 --- a/metadata/modules/adqueryBidAdapter.json +++ b/metadata/modules/adqueryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2025-12-03T16:37:43.338Z", + "timestamp": "2025-12-12T14:14:56.012Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryIdSystem.json b/metadata/modules/adqueryIdSystem.json index 8e3d9f646e4..8c0b6d70711 100644 --- a/metadata/modules/adqueryIdSystem.json +++ b/metadata/modules/adqueryIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2025-12-03T16:37:43.697Z", + "timestamp": "2025-12-12T14:14:56.340Z", "disclosures": [] } }, diff --git a/metadata/modules/adrinoBidAdapter.json b/metadata/modules/adrinoBidAdapter.json index 93afd013173..dfb5a00dcc6 100644 --- a/metadata/modules/adrinoBidAdapter.json +++ b/metadata/modules/adrinoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.adrino.cloud/iab/device-storage.json": { - "timestamp": "2025-12-03T16:37:43.697Z", + "timestamp": "2025-12-12T14:14:56.341Z", "disclosures": [] } }, diff --git a/metadata/modules/ads_interactiveBidAdapter.json b/metadata/modules/ads_interactiveBidAdapter.json index e5b95b040f8..86565e8675a 100644 --- a/metadata/modules/ads_interactiveBidAdapter.json +++ b/metadata/modules/ads_interactiveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adsinteractive.com/vendor.json": { - "timestamp": "2025-12-03T16:37:43.794Z", + "timestamp": "2025-12-12T14:14:56.417Z", "disclosures": [] } }, diff --git a/metadata/modules/adtargetBidAdapter.json b/metadata/modules/adtargetBidAdapter.json index 37affb15130..14cf34b2e55 100644 --- a/metadata/modules/adtargetBidAdapter.json +++ b/metadata/modules/adtargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:44.097Z", + "timestamp": "2025-12-12T14:14:56.721Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/adtelligentBidAdapter.json b/metadata/modules/adtelligentBidAdapter.json index fb9ac8540b0..ae14ed27b80 100644 --- a/metadata/modules/adtelligentBidAdapter.json +++ b/metadata/modules/adtelligentBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:44.098Z", + "timestamp": "2025-12-12T14:14:56.721Z", "disclosures": [] }, "https://www.selectmedia.asia/gdpr/devicestorage.json": { - "timestamp": "2025-12-03T16:37:44.116Z", + "timestamp": "2025-12-12T14:14:56.736Z", "disclosures": [ { "identifier": "waterFallCacheAnsKey_*", @@ -81,7 +81,7 @@ ] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2025-12-03T16:37:44.259Z", + "timestamp": "2025-12-12T14:14:56.870Z", "disclosures": [] } }, diff --git a/metadata/modules/adtelligentIdSystem.json b/metadata/modules/adtelligentIdSystem.json index b18e43dcc56..dac478797ac 100644 --- a/metadata/modules/adtelligentIdSystem.json +++ b/metadata/modules/adtelligentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:44.340Z", + "timestamp": "2025-12-12T14:14:56.918Z", "disclosures": [] } }, diff --git a/metadata/modules/aduptechBidAdapter.json b/metadata/modules/aduptechBidAdapter.json index a2368c06054..1526cd18215 100644 --- a/metadata/modules/aduptechBidAdapter.json +++ b/metadata/modules/aduptechBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.d.adup-tech.com/gdpr/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:44.340Z", + "timestamp": "2025-12-12T14:14:56.919Z", "disclosures": [] } }, diff --git a/metadata/modules/adyoulikeBidAdapter.json b/metadata/modules/adyoulikeBidAdapter.json index 2ecff21b0db..68e7085c094 100644 --- a/metadata/modules/adyoulikeBidAdapter.json +++ b/metadata/modules/adyoulikeBidAdapter.json @@ -2,8 +2,8 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adyoulike.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-11-24T17:31:30.980Z", - "disclosures": [] + "timestamp": "2025-12-12T14:14:56.936Z", + "disclosures": null } }, "components": [ diff --git a/metadata/modules/airgridRtdProvider.json b/metadata/modules/airgridRtdProvider.json index d8f1dc91ed6..4ba216b5ea8 100644 --- a/metadata/modules/airgridRtdProvider.json +++ b/metadata/modules/airgridRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.wearemiq.com/privacy-and-compliance/devicestoragedisclosures.json": { - "timestamp": "2025-12-03T16:37:47.844Z", + "timestamp": "2025-12-12T14:15:00.447Z", "disclosures": [] } }, diff --git a/metadata/modules/alkimiBidAdapter.json b/metadata/modules/alkimiBidAdapter.json index 88b3485c350..5d34637b5f2 100644 --- a/metadata/modules/alkimiBidAdapter.json +++ b/metadata/modules/alkimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d1xjh92lb8fey3.cloudfront.net/tcf/alkimi_exchange_tcf.json": { - "timestamp": "2025-12-03T16:37:47.884Z", + "timestamp": "2025-12-12T14:15:00.478Z", "disclosures": [] } }, diff --git a/metadata/modules/amxBidAdapter.json b/metadata/modules/amxBidAdapter.json index bf293280b6c..3af0debe983 100644 --- a/metadata/modules/amxBidAdapter.json +++ b/metadata/modules/amxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2025-12-03T16:37:48.165Z", + "timestamp": "2025-12-12T14:15:00.773Z", "disclosures": [] } }, diff --git a/metadata/modules/amxIdSystem.json b/metadata/modules/amxIdSystem.json index 77952892bca..97fa0c40771 100644 --- a/metadata/modules/amxIdSystem.json +++ b/metadata/modules/amxIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2025-12-03T16:37:48.215Z", + "timestamp": "2025-12-12T14:15:00.816Z", "disclosures": [] } }, diff --git a/metadata/modules/aniviewBidAdapter.json b/metadata/modules/aniviewBidAdapter.json index 34b6d8a97ee..16d8d75fb1a 100644 --- a/metadata/modules/aniviewBidAdapter.json +++ b/metadata/modules/aniviewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.aniview.com/gdpr/gdpr.json": { - "timestamp": "2025-12-03T16:37:48.215Z", + "timestamp": "2025-12-12T14:15:00.816Z", "disclosures": [ { "identifier": "av_*", diff --git a/metadata/modules/anonymisedRtdProvider.json b/metadata/modules/anonymisedRtdProvider.json index cc75f3739ba..6d572abc71d 100644 --- a/metadata/modules/anonymisedRtdProvider.json +++ b/metadata/modules/anonymisedRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.anonymised.io/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:48.314Z", + "timestamp": "2025-12-12T14:15:00.976Z", "disclosures": [ { "identifier": "oidc.user*", diff --git a/metadata/modules/appStockSSPBidAdapter.json b/metadata/modules/appStockSSPBidAdapter.json index 540ecea5b49..f47630af2e8 100644 --- a/metadata/modules/appStockSSPBidAdapter.json +++ b/metadata/modules/appStockSSPBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://app-stock.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:48.542Z", + "timestamp": "2025-12-12T14:15:01.109Z", "disclosures": [] } }, diff --git a/metadata/modules/appierBidAdapter.json b/metadata/modules/appierBidAdapter.json index 2ed3c34d10a..749e4e9ed83 100644 --- a/metadata/modules/appierBidAdapter.json +++ b/metadata/modules/appierBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.appier.com/deviceStorage2025.json": { - "timestamp": "2025-12-03T16:37:48.628Z", + "timestamp": "2025-12-12T14:15:01.153Z", "disclosures": [ { "identifier": "_atrk_ssid", diff --git a/metadata/modules/appnexusBidAdapter.json b/metadata/modules/appnexusBidAdapter.json index 5a6a6bc26a0..d7a278427e5 100644 --- a/metadata/modules/appnexusBidAdapter.json +++ b/metadata/modules/appnexusBidAdapter.json @@ -2,23 +2,23 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2025-12-03T16:37:49.311Z", + "timestamp": "2025-12-12T14:15:01.922Z", "disclosures": [] }, "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:37:48.756Z", + "timestamp": "2025-12-12T14:15:01.293Z", "disclosures": [] }, "https://beintoo-support.b-cdn.net/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:48.773Z", + "timestamp": "2025-12-12T14:15:01.319Z", "disclosures": [] }, "https://projectagora.net/1032_deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:37:48.876Z", + "timestamp": "2025-12-12T14:15:01.423Z", "disclosures": [] }, "https://adzymic.com/tcf.json": { - "timestamp": "2025-12-03T16:37:49.311Z", + "timestamp": "2025-12-12T14:15:01.922Z", "disclosures": [] } }, diff --git a/metadata/modules/appushBidAdapter.json b/metadata/modules/appushBidAdapter.json index cdad3ac4680..cf5170ec73c 100644 --- a/metadata/modules/appushBidAdapter.json +++ b/metadata/modules/appushBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.thebiding.com/disclosures.json": { - "timestamp": "2025-12-03T16:37:49.339Z", + "timestamp": "2025-12-12T14:15:01.953Z", "disclosures": [] } }, diff --git a/metadata/modules/apstreamBidAdapter.json b/metadata/modules/apstreamBidAdapter.json index 7ec9d463199..f422c37d3b1 100644 --- a/metadata/modules/apstreamBidAdapter.json +++ b/metadata/modules/apstreamBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sak.userreport.com/tcf.json": { - "timestamp": "2025-12-03T16:37:49.404Z", + "timestamp": "2025-12-12T14:15:02.024Z", "disclosures": [ { "identifier": "apr_dsu", diff --git a/metadata/modules/audiencerunBidAdapter.json b/metadata/modules/audiencerunBidAdapter.json index 6c0c062f51a..863f05f4732 100644 --- a/metadata/modules/audiencerunBidAdapter.json +++ b/metadata/modules/audiencerunBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.audiencerun.com/tcf.json": { - "timestamp": "2025-12-03T16:37:49.426Z", + "timestamp": "2025-12-12T14:15:02.045Z", "disclosures": [] } }, diff --git a/metadata/modules/axisBidAdapter.json b/metadata/modules/axisBidAdapter.json index 7d5beb0e081..a8e819f4c49 100644 --- a/metadata/modules/axisBidAdapter.json +++ b/metadata/modules/axisBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://axis-marketplace.com/tcf.json": { - "timestamp": "2025-12-03T16:37:49.470Z", + "timestamp": "2025-12-12T14:15:02.097Z", "disclosures": [] } }, diff --git a/metadata/modules/azerionedgeRtdProvider.json b/metadata/modules/azerionedgeRtdProvider.json index 36459ae70db..15ea34974c1 100644 --- a/metadata/modules/azerionedgeRtdProvider.json +++ b/metadata/modules/azerionedgeRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2025-12-03T16:37:49.515Z", + "timestamp": "2025-12-12T14:15:02.142Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/beachfrontBidAdapter.json b/metadata/modules/beachfrontBidAdapter.json index 877b07f4537..70d4073b504 100644 --- a/metadata/modules/beachfrontBidAdapter.json +++ b/metadata/modules/beachfrontBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2025-12-03T16:37:49.539Z", + "timestamp": "2025-12-12T14:15:02.164Z", "disclosures": [] } }, diff --git a/metadata/modules/beopBidAdapter.json b/metadata/modules/beopBidAdapter.json index 099a450de03..56b8d4e8cf4 100644 --- a/metadata/modules/beopBidAdapter.json +++ b/metadata/modules/beopBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://beop.io/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:49.676Z", + "timestamp": "2025-12-12T14:15:02.514Z", "disclosures": [] } }, diff --git a/metadata/modules/betweenBidAdapter.json b/metadata/modules/betweenBidAdapter.json index e9a028f46d4..7848ca1a924 100644 --- a/metadata/modules/betweenBidAdapter.json +++ b/metadata/modules/betweenBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.betweenx.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:49.846Z", + "timestamp": "2025-12-12T14:15:02.664Z", "disclosures": [] } }, diff --git a/metadata/modules/bidfuseBidAdapter.json b/metadata/modules/bidfuseBidAdapter.json index 62b7f83d58f..5dd4f96bb20 100644 --- a/metadata/modules/bidfuseBidAdapter.json +++ b/metadata/modules/bidfuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidfuse.com/disclosure.json": { - "timestamp": "2025-12-03T16:37:49.888Z", + "timestamp": "2025-12-12T14:15:02.719Z", "disclosures": [] } }, diff --git a/metadata/modules/bidmaticBidAdapter.json b/metadata/modules/bidmaticBidAdapter.json index 7b0bd87e88c..779684435bb 100644 --- a/metadata/modules/bidmaticBidAdapter.json +++ b/metadata/modules/bidmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidmatic.io/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:50.081Z", + "timestamp": "2025-12-12T14:15:02.936Z", "disclosures": [] } }, diff --git a/metadata/modules/bidtheatreBidAdapter.json b/metadata/modules/bidtheatreBidAdapter.json index 1268557a26e..a626af24eb2 100644 --- a/metadata/modules/bidtheatreBidAdapter.json +++ b/metadata/modules/bidtheatreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.bidtheatre.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:50.132Z", + "timestamp": "2025-12-12T14:15:02.979Z", "disclosures": [] } }, diff --git a/metadata/modules/bliinkBidAdapter.json b/metadata/modules/bliinkBidAdapter.json index 92c6fa0f4ae..bf347f13541 100644 --- a/metadata/modules/bliinkBidAdapter.json +++ b/metadata/modules/bliinkBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bliink.io/disclosures.json": { - "timestamp": "2025-12-03T16:37:50.451Z", + "timestamp": "2025-12-12T14:15:03.288Z", "disclosures": [] } }, diff --git a/metadata/modules/blockthroughBidAdapter.json b/metadata/modules/blockthroughBidAdapter.json index 86afb27810a..7f90432ab70 100644 --- a/metadata/modules/blockthroughBidAdapter.json +++ b/metadata/modules/blockthroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://blockthrough.com/tcf_disclosures.json": { - "timestamp": "2025-12-03T16:37:50.762Z", + "timestamp": "2025-12-12T14:15:03.627Z", "disclosures": null } }, diff --git a/metadata/modules/blueBidAdapter.json b/metadata/modules/blueBidAdapter.json index 8c28e81e864..32cda58f9c2 100644 --- a/metadata/modules/blueBidAdapter.json +++ b/metadata/modules/blueBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://getblue.io/iab/iab.json": { - "timestamp": "2025-12-03T16:37:50.884Z", + "timestamp": "2025-12-12T14:15:03.689Z", "disclosures": [] } }, diff --git a/metadata/modules/bmsBidAdapter.json b/metadata/modules/bmsBidAdapter.json index ee794c97715..ad0103054e2 100644 --- a/metadata/modules/bmsBidAdapter.json +++ b/metadata/modules/bmsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bluems.com/iab.json": { - "timestamp": "2025-12-03T16:37:51.241Z", + "timestamp": "2025-12-12T14:15:04.039Z", "disclosures": [] } }, diff --git a/metadata/modules/boldwinBidAdapter.json b/metadata/modules/boldwinBidAdapter.json index 32e22e9867c..22fe4a9f3c5 100644 --- a/metadata/modules/boldwinBidAdapter.json +++ b/metadata/modules/boldwinBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://magav.videowalldirect.com/iab/videowalldirectiab.json": { - "timestamp": "2025-12-03T16:37:51.260Z", + "timestamp": "2025-12-12T14:15:04.059Z", "disclosures": [] } }, diff --git a/metadata/modules/bridBidAdapter.json b/metadata/modules/bridBidAdapter.json index 80e5fa27555..7647fd5c72c 100644 --- a/metadata/modules/bridBidAdapter.json +++ b/metadata/modules/bridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2025-12-03T16:37:51.280Z", + "timestamp": "2025-12-12T14:15:04.079Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/browsiBidAdapter.json b/metadata/modules/browsiBidAdapter.json index fec82f42117..7add672760a 100644 --- a/metadata/modules/browsiBidAdapter.json +++ b/metadata/modules/browsiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.browsiprod.com/ads/tcf.json": { - "timestamp": "2025-12-03T16:37:51.420Z", + "timestamp": "2025-12-12T14:15:04.216Z", "disclosures": [] } }, diff --git a/metadata/modules/bucksenseBidAdapter.json b/metadata/modules/bucksenseBidAdapter.json index c5ffdd60f75..8128bdd2217 100644 --- a/metadata/modules/bucksenseBidAdapter.json +++ b/metadata/modules/bucksenseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://j.bksnimages.com/iab/devsto02.json": { - "timestamp": "2025-12-03T16:37:51.436Z", + "timestamp": "2025-12-12T14:15:04.226Z", "disclosures": [] } }, diff --git a/metadata/modules/carodaBidAdapter.json b/metadata/modules/carodaBidAdapter.json index dec63db8488..7e2417a8273 100644 --- a/metadata/modules/carodaBidAdapter.json +++ b/metadata/modules/carodaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn2.caroda.io/tcfvds/2022-05-17/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:51.514Z", + "timestamp": "2025-12-12T14:15:04.267Z", "disclosures": [] } }, diff --git a/metadata/modules/categoryTranslation.json b/metadata/modules/categoryTranslation.json index 223a70829d9..dcbf51e5c59 100644 --- a/metadata/modules/categoryTranslation.json +++ b/metadata/modules/categoryTranslation.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/categoryTranslation.json": { - "timestamp": "2025-12-03T16:37:39.024Z", + "timestamp": "2025-12-12T14:14:51.600Z", "disclosures": [ { "identifier": "iabToFwMappingkey", diff --git a/metadata/modules/ceeIdSystem.json b/metadata/modules/ceeIdSystem.json index 2643cab6ea8..adbe7b2f80f 100644 --- a/metadata/modules/ceeIdSystem.json +++ b/metadata/modules/ceeIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:51.804Z", + "timestamp": "2025-12-12T14:15:04.649Z", "disclosures": null } }, diff --git a/metadata/modules/chromeAiRtdProvider.json b/metadata/modules/chromeAiRtdProvider.json index 9150afebc6b..916a223c0cd 100644 --- a/metadata/modules/chromeAiRtdProvider.json +++ b/metadata/modules/chromeAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/chromeAiRtdProvider.json": { - "timestamp": "2025-12-03T16:37:52.133Z", + "timestamp": "2025-12-12T14:15:04.975Z", "disclosures": [ { "identifier": "chromeAi_detected_data", diff --git a/metadata/modules/clickioBidAdapter.json b/metadata/modules/clickioBidAdapter.json index 1668f24af03..a2934e5c2f1 100644 --- a/metadata/modules/clickioBidAdapter.json +++ b/metadata/modules/clickioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://o.clickiocdn.com/tcf_storage_info.json": { - "timestamp": "2025-12-03T16:37:52.135Z", + "timestamp": "2025-12-12T14:15:04.977Z", "disclosures": [] } }, diff --git a/metadata/modules/compassBidAdapter.json b/metadata/modules/compassBidAdapter.json index b2733e8e4f4..419ff8bc3d8 100644 --- a/metadata/modules/compassBidAdapter.json +++ b/metadata/modules/compassBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2025-12-03T16:37:52.582Z", + "timestamp": "2025-12-12T14:15:05.414Z", "disclosures": [] } }, diff --git a/metadata/modules/conceptxBidAdapter.json b/metadata/modules/conceptxBidAdapter.json index f3cb79b1ac1..b47a5cb2cc0 100644 --- a/metadata/modules/conceptxBidAdapter.json +++ b/metadata/modules/conceptxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cncptx.com/device_storage_disclosure.json": { - "timestamp": "2025-12-03T16:37:52.597Z", + "timestamp": "2025-12-12T14:15:05.427Z", "disclosures": [] } }, diff --git a/metadata/modules/connatixBidAdapter.json b/metadata/modules/connatixBidAdapter.json index 3d76133fbe2..ea8742fc18f 100644 --- a/metadata/modules/connatixBidAdapter.json +++ b/metadata/modules/connatixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://connatix.com/iab-tcf-disclosure.json": { - "timestamp": "2025-12-03T16:37:52.620Z", + "timestamp": "2025-12-12T14:15:05.450Z", "disclosures": [ { "identifier": "cnx_userId", diff --git a/metadata/modules/connectIdSystem.json b/metadata/modules/connectIdSystem.json index 35afc93fca3..69405c5b4f8 100644 --- a/metadata/modules/connectIdSystem.json +++ b/metadata/modules/connectIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2025-12-03T16:37:52.702Z", + "timestamp": "2025-12-12T14:15:05.526Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/connectadBidAdapter.json b/metadata/modules/connectadBidAdapter.json index 02a6a9e3316..903fdb45cf2 100644 --- a/metadata/modules/connectadBidAdapter.json +++ b/metadata/modules/connectadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.connectad.io/tcf_storage_info.json": { - "timestamp": "2025-12-03T16:37:52.749Z", + "timestamp": "2025-12-12T14:15:05.547Z", "disclosures": [] } }, diff --git a/metadata/modules/contentexchangeBidAdapter.json b/metadata/modules/contentexchangeBidAdapter.json index 165512fce06..f9270cf82aa 100644 --- a/metadata/modules/contentexchangeBidAdapter.json +++ b/metadata/modules/contentexchangeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://hb.contentexchange.me/template/device_storage.json": { - "timestamp": "2025-12-03T16:37:53.181Z", + "timestamp": "2025-12-12T14:15:05.971Z", "disclosures": null } }, diff --git a/metadata/modules/conversantBidAdapter.json b/metadata/modules/conversantBidAdapter.json index fd353cdb0a6..3a63a0e8013 100644 --- a/metadata/modules/conversantBidAdapter.json +++ b/metadata/modules/conversantBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.8/device_storage_disclosure.json": { - "timestamp": "2025-12-03T16:37:53.244Z", + "timestamp": "2025-12-12T14:15:06.025Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/copper6sspBidAdapter.json b/metadata/modules/copper6sspBidAdapter.json index b72717aed4a..9a26a29cd8e 100644 --- a/metadata/modules/copper6sspBidAdapter.json +++ b/metadata/modules/copper6sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.copper6.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:53.270Z", + "timestamp": "2025-12-12T14:15:06.044Z", "disclosures": [] } }, diff --git a/metadata/modules/cpmstarBidAdapter.json b/metadata/modules/cpmstarBidAdapter.json index ecba508707c..797eb919514 100644 --- a/metadata/modules/cpmstarBidAdapter.json +++ b/metadata/modules/cpmstarBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2025-12-03T16:37:53.387Z", + "timestamp": "2025-12-12T14:15:06.078Z", "disclosures": [] } }, diff --git a/metadata/modules/criteoBidAdapter.json b/metadata/modules/criteoBidAdapter.json index 31fdf1f0d1d..579ed956f30 100644 --- a/metadata/modules/criteoBidAdapter.json +++ b/metadata/modules/criteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2025-12-03T16:37:53.495Z", + "timestamp": "2025-12-12T14:15:06.162Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/criteoIdSystem.json b/metadata/modules/criteoIdSystem.json index 7972939869f..735b0e3eaf2 100644 --- a/metadata/modules/criteoIdSystem.json +++ b/metadata/modules/criteoIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2025-12-03T16:37:53.514Z", + "timestamp": "2025-12-12T14:15:06.180Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/cwireBidAdapter.json b/metadata/modules/cwireBidAdapter.json index 72e2fd078ad..6b869e6ff20 100644 --- a/metadata/modules/cwireBidAdapter.json +++ b/metadata/modules/cwireBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.cwi.re/artifacts/iab/iab.json": { - "timestamp": "2025-12-03T16:37:53.514Z", + "timestamp": "2025-12-12T14:15:06.181Z", "disclosures": [] } }, diff --git a/metadata/modules/czechAdIdSystem.json b/metadata/modules/czechAdIdSystem.json index 24c0f58f11c..ef7217ecd06 100644 --- a/metadata/modules/czechAdIdSystem.json +++ b/metadata/modules/czechAdIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cpex.cz/storagedisclosure.json": { - "timestamp": "2025-12-03T16:37:53.533Z", + "timestamp": "2025-12-12T14:15:06.284Z", "disclosures": [] } }, diff --git a/metadata/modules/dailymotionBidAdapter.json b/metadata/modules/dailymotionBidAdapter.json index ed12ea73bc0..85931d74ae0 100644 --- a/metadata/modules/dailymotionBidAdapter.json +++ b/metadata/modules/dailymotionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://statics.dmcdn.net/a/vds.json": { - "timestamp": "2025-12-03T16:37:53.941Z", + "timestamp": "2025-12-12T14:15:06.685Z", "disclosures": [ { "identifier": "uid_dm", diff --git a/metadata/modules/debugging.json b/metadata/modules/debugging.json index e8c00af1e9e..06eed24c1da 100644 --- a/metadata/modules/debugging.json +++ b/metadata/modules/debugging.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2025-12-03T16:37:39.022Z", + "timestamp": "2025-12-12T14:14:51.599Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/deepintentBidAdapter.json b/metadata/modules/deepintentBidAdapter.json index e7a79cbe8ab..ba2fc827491 100644 --- a/metadata/modules/deepintentBidAdapter.json +++ b/metadata/modules/deepintentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.deepintent.com/iabeurope_vendor_disclosures.json": { - "timestamp": "2025-12-03T16:37:53.967Z", + "timestamp": "2025-12-12T14:15:06.782Z", "disclosures": [] } }, diff --git a/metadata/modules/defineMediaBidAdapter.json b/metadata/modules/defineMediaBidAdapter.json index 612773ac882..9795fb31120 100644 --- a/metadata/modules/defineMediaBidAdapter.json +++ b/metadata/modules/defineMediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://definemedia.de/tcf/deviceStorageDisclosureURL.json": { - "timestamp": "2025-12-03T16:37:54.026Z", + "timestamp": "2025-12-12T14:15:06.864Z", "disclosures": [ { "identifier": "conative$dataGathering$Adex", diff --git a/metadata/modules/deltaprojectsBidAdapter.json b/metadata/modules/deltaprojectsBidAdapter.json index fad2b24869d..25cea1f1d84 100644 --- a/metadata/modules/deltaprojectsBidAdapter.json +++ b/metadata/modules/deltaprojectsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.de17a.com/policy/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:54.517Z", + "timestamp": "2025-12-12T14:15:07.297Z", "disclosures": [] } }, diff --git a/metadata/modules/dianomiBidAdapter.json b/metadata/modules/dianomiBidAdapter.json index 2bcb18c1d53..9d19684ef71 100644 --- a/metadata/modules/dianomiBidAdapter.json +++ b/metadata/modules/dianomiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.dianomi.com/device_storage.json": { - "timestamp": "2025-12-03T16:37:54.944Z", + "timestamp": "2025-12-12T14:15:07.728Z", "disclosures": [] } }, diff --git a/metadata/modules/digitalMatterBidAdapter.json b/metadata/modules/digitalMatterBidAdapter.json index d2e4d26e0d9..e7d822bbc53 100644 --- a/metadata/modules/digitalMatterBidAdapter.json +++ b/metadata/modules/digitalMatterBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://digitalmatter.ai/disclosures.json": { - "timestamp": "2025-12-03T16:37:54.945Z", + "timestamp": "2025-12-12T14:15:07.729Z", "disclosures": [] } }, diff --git a/metadata/modules/distroscaleBidAdapter.json b/metadata/modules/distroscaleBidAdapter.json index b717680c1b4..e3fbd74925a 100644 --- a/metadata/modules/distroscaleBidAdapter.json +++ b/metadata/modules/distroscaleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.jsrdn.com/tcf/tcf-vendor-disclosure.json": { - "timestamp": "2025-12-03T16:37:55.335Z", + "timestamp": "2025-12-12T14:15:08.151Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeAdManagerBidAdapter.json b/metadata/modules/docereeAdManagerBidAdapter.json index fb425f44df3..d1d4dc122f0 100644 --- a/metadata/modules/docereeAdManagerBidAdapter.json +++ b/metadata/modules/docereeAdManagerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:55.371Z", + "timestamp": "2025-12-12T14:15:08.194Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeBidAdapter.json b/metadata/modules/docereeBidAdapter.json index 35c15b97ba1..44b408ca515 100644 --- a/metadata/modules/docereeBidAdapter.json +++ b/metadata/modules/docereeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:56.125Z", + "timestamp": "2025-12-12T14:15:08.996Z", "disclosures": [] } }, diff --git a/metadata/modules/dspxBidAdapter.json b/metadata/modules/dspxBidAdapter.json index 00e90d6a79e..def282ac2e1 100644 --- a/metadata/modules/dspxBidAdapter.json +++ b/metadata/modules/dspxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/os.json": { - "timestamp": "2025-12-03T16:37:56.126Z", + "timestamp": "2025-12-12T14:15:08.997Z", "disclosures": [] } }, diff --git a/metadata/modules/e_volutionBidAdapter.json b/metadata/modules/e_volutionBidAdapter.json index df6f5109ee1..879da9845c0 100644 --- a/metadata/modules/e_volutionBidAdapter.json +++ b/metadata/modules/e_volutionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://e-volution.ai/file.json": { - "timestamp": "2025-12-03T16:37:56.784Z", + "timestamp": "2025-12-12T14:15:09.654Z", "disclosures": [] } }, diff --git a/metadata/modules/edge226BidAdapter.json b/metadata/modules/edge226BidAdapter.json index e402c024fe6..c0bf090db6d 100644 --- a/metadata/modules/edge226BidAdapter.json +++ b/metadata/modules/edge226BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.serveteck.com/cdn_storage/tcf/tcf.json?a=1.io": { - "timestamp": "2025-12-03T16:37:57.096Z", + "timestamp": "2025-12-12T14:15:09.975Z", "disclosures": [] } }, diff --git a/metadata/modules/empowerBidAdapter.json b/metadata/modules/empowerBidAdapter.json index add9cbf9d50..81c25a993dc 100644 --- a/metadata/modules/empowerBidAdapter.json +++ b/metadata/modules/empowerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.empower.net/vendor/vendor.json": { - "timestamp": "2025-12-03T16:37:57.134Z", + "timestamp": "2025-12-12T14:15:09.987Z", "disclosures": [] } }, diff --git a/metadata/modules/equativBidAdapter.json b/metadata/modules/equativBidAdapter.json index 0658ac03883..7464ac7724d 100644 --- a/metadata/modules/equativBidAdapter.json +++ b/metadata/modules/equativBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2025-12-03T16:37:57.171Z", + "timestamp": "2025-12-12T14:15:10.018Z", "disclosures": [] } }, diff --git a/metadata/modules/eskimiBidAdapter.json b/metadata/modules/eskimiBidAdapter.json index d24be8a9287..655d2f505ae 100644 --- a/metadata/modules/eskimiBidAdapter.json +++ b/metadata/modules/eskimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://dsp-media.eskimi.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:37:57.902Z", + "timestamp": "2025-12-12T14:15:10.820Z", "disclosures": [] } }, diff --git a/metadata/modules/etargetBidAdapter.json b/metadata/modules/etargetBidAdapter.json index 9104cc07b06..2de43a27fe9 100644 --- a/metadata/modules/etargetBidAdapter.json +++ b/metadata/modules/etargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.etarget.sk/cookies3.json": { - "timestamp": "2025-12-03T16:37:57.922Z", + "timestamp": "2025-12-12T14:15:10.845Z", "disclosures": [] } }, diff --git a/metadata/modules/euidIdSystem.json b/metadata/modules/euidIdSystem.json index 5acdb242ba5..4f149b43616 100644 --- a/metadata/modules/euidIdSystem.json +++ b/metadata/modules/euidIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-12-03T16:37:58.493Z", + "timestamp": "2025-12-12T14:15:11.501Z", "disclosures": [] } }, diff --git a/metadata/modules/exadsBidAdapter.json b/metadata/modules/exadsBidAdapter.json index 0e67a9360b5..0b1ab8033f4 100644 --- a/metadata/modules/exadsBidAdapter.json +++ b/metadata/modules/exadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.native7.com/tcf/deviceStorage.php": { - "timestamp": "2025-12-03T16:37:58.714Z", + "timestamp": "2025-12-12T14:15:11.720Z", "disclosures": [ { "identifier": "pn-zone-*", diff --git a/metadata/modules/feedadBidAdapter.json b/metadata/modules/feedadBidAdapter.json index 81e7c36f561..023f62c6b22 100644 --- a/metadata/modules/feedadBidAdapter.json +++ b/metadata/modules/feedadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.feedad.com/tcf-device-disclosures.json": { - "timestamp": "2025-12-03T16:37:58.910Z", + "timestamp": "2025-12-12T14:15:11.892Z", "disclosures": [ { "identifier": "__fad_data", diff --git a/metadata/modules/fwsspBidAdapter.json b/metadata/modules/fwsspBidAdapter.json index a9767e78814..9521c46ee6f 100644 --- a/metadata/modules/fwsspBidAdapter.json +++ b/metadata/modules/fwsspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.fwmrm.net/g/devicedisclosure.json": { - "timestamp": "2025-12-03T16:37:59.038Z", + "timestamp": "2025-12-12T14:15:12.008Z", "disclosures": [] } }, diff --git a/metadata/modules/gamoshiBidAdapter.json b/metadata/modules/gamoshiBidAdapter.json index f274f95f68e..1e29a5ac604 100644 --- a/metadata/modules/gamoshiBidAdapter.json +++ b/metadata/modules/gamoshiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gamoshi.com/disclosures-client-storage.json": { - "timestamp": "2025-12-03T16:37:59.672Z", + "timestamp": "2025-12-12T14:15:12.153Z", "disclosures": [] } }, diff --git a/metadata/modules/gemiusIdSystem.json b/metadata/modules/gemiusIdSystem.json index 6fe909b07a6..3c448267599 100644 --- a/metadata/modules/gemiusIdSystem.json +++ b/metadata/modules/gemiusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2025-12-03T16:37:59.940Z", + "timestamp": "2025-12-12T14:15:12.431Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/glomexBidAdapter.json b/metadata/modules/glomexBidAdapter.json index 480cf6c3551..560ff8cad92 100644 --- a/metadata/modules/glomexBidAdapter.json +++ b/metadata/modules/glomexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:00.476Z", + "timestamp": "2025-12-12T14:15:12.996Z", "disclosures": [ { "identifier": "glomexUser", diff --git a/metadata/modules/goldbachBidAdapter.json b/metadata/modules/goldbachBidAdapter.json index e329d397071..e3bd33d993f 100644 --- a/metadata/modules/goldbachBidAdapter.json +++ b/metadata/modules/goldbachBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gb-next.ch/TcfGoldbachDeviceStorage.json": { - "timestamp": "2025-12-03T16:38:00.496Z", + "timestamp": "2025-12-12T14:15:13.022Z", "disclosures": [ { "identifier": "dakt_2_session_id", diff --git a/metadata/modules/gridBidAdapter.json b/metadata/modules/gridBidAdapter.json index d11401017b1..bd44c53118e 100644 --- a/metadata/modules/gridBidAdapter.json +++ b/metadata/modules/gridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.themediagrid.com/devicestorage.json": { - "timestamp": "2025-12-03T16:38:00.585Z", + "timestamp": "2025-12-12T14:15:13.044Z", "disclosures": [] } }, @@ -34,13 +34,6 @@ "aliasOf": "grid", "gvlid": null, "disclosureURL": null - }, - { - "componentType": "bidder", - "componentName": "trustx", - "aliasOf": "grid", - "gvlid": null, - "disclosureURL": null } ] } \ No newline at end of file diff --git a/metadata/modules/gumgumBidAdapter.json b/metadata/modules/gumgumBidAdapter.json index 2938665d2da..eaae6e1ec78 100644 --- a/metadata/modules/gumgumBidAdapter.json +++ b/metadata/modules/gumgumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://marketing.gumgum.com/devicestoragedisclosures.json": { - "timestamp": "2025-12-03T16:38:00.712Z", + "timestamp": "2025-12-12T14:15:13.201Z", "disclosures": [] } }, diff --git a/metadata/modules/hadronIdSystem.json b/metadata/modules/hadronIdSystem.json index 4eca9a290ff..b054787de4b 100644 --- a/metadata/modules/hadronIdSystem.json +++ b/metadata/modules/hadronIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2025-12-03T16:38:00.773Z", + "timestamp": "2025-12-12T14:15:13.268Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/hadronRtdProvider.json b/metadata/modules/hadronRtdProvider.json index 9f75569a8ef..fb593e16c04 100644 --- a/metadata/modules/hadronRtdProvider.json +++ b/metadata/modules/hadronRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2025-12-03T16:38:00.934Z", + "timestamp": "2025-12-12T14:15:13.437Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/holidBidAdapter.json b/metadata/modules/holidBidAdapter.json index a63f8cc9a3b..c4cdcbf2ebd 100644 --- a/metadata/modules/holidBidAdapter.json +++ b/metadata/modules/holidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ads.holid.io/devicestorage.json": { - "timestamp": "2025-12-03T16:38:00.934Z", + "timestamp": "2025-12-12T14:15:13.437Z", "disclosures": [ { "identifier": "uids", diff --git a/metadata/modules/hybridBidAdapter.json b/metadata/modules/hybridBidAdapter.json index 78bbc1cdfba..05b2e4b40f0 100644 --- a/metadata/modules/hybridBidAdapter.json +++ b/metadata/modules/hybridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:01.164Z", + "timestamp": "2025-12-12T14:15:13.693Z", "disclosures": [] } }, diff --git a/metadata/modules/id5IdSystem.json b/metadata/modules/id5IdSystem.json index e833dcec97f..6b72645f380 100644 --- a/metadata/modules/id5IdSystem.json +++ b/metadata/modules/id5IdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://id5-sync.com/tcf/disclosures.json": { - "timestamp": "2025-12-03T16:38:01.391Z", + "timestamp": "2025-12-12T14:15:13.875Z", "disclosures": [] } }, diff --git a/metadata/modules/identityLinkIdSystem.json b/metadata/modules/identityLinkIdSystem.json index 39cd3b528f2..d6301a97dff 100644 --- a/metadata/modules/identityLinkIdSystem.json +++ b/metadata/modules/identityLinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.ats.rlcdn.com/device-storage-disclosure.json": { - "timestamp": "2025-12-03T16:38:01.663Z", + "timestamp": "2025-12-12T14:15:16.533Z", "disclosures": [ { "identifier": "_lr_retry_request", diff --git a/metadata/modules/illuminBidAdapter.json b/metadata/modules/illuminBidAdapter.json index 4b7a6d0329d..81412279c70 100644 --- a/metadata/modules/illuminBidAdapter.json +++ b/metadata/modules/illuminBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admanmedia.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:01.681Z", + "timestamp": "2025-12-12T14:15:16.551Z", "disclosures": [] } }, diff --git a/metadata/modules/impactifyBidAdapter.json b/metadata/modules/impactifyBidAdapter.json index 2caba0ce6e6..a8f53cd4888 100644 --- a/metadata/modules/impactifyBidAdapter.json +++ b/metadata/modules/impactifyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.impactify.io/tcfvendors.json": { - "timestamp": "2025-12-03T16:38:01.966Z", + "timestamp": "2025-12-12T14:15:16.839Z", "disclosures": [ { "identifier": "_im*", diff --git a/metadata/modules/improvedigitalBidAdapter.json b/metadata/modules/improvedigitalBidAdapter.json index 5f672d83569..97c6735fd6a 100644 --- a/metadata/modules/improvedigitalBidAdapter.json +++ b/metadata/modules/improvedigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2025-12-03T16:38:02.267Z", + "timestamp": "2025-12-12T14:15:17.245Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/inmobiBidAdapter.json b/metadata/modules/inmobiBidAdapter.json index 867328014ca..1e38a1c9f09 100644 --- a/metadata/modules/inmobiBidAdapter.json +++ b/metadata/modules/inmobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publisher.inmobi.com/public/disclosure": { - "timestamp": "2025-12-03T16:38:02.267Z", + "timestamp": "2025-12-12T14:15:17.246Z", "disclosures": [] } }, diff --git a/metadata/modules/insticatorBidAdapter.json b/metadata/modules/insticatorBidAdapter.json index 930b2850688..83c322f47f7 100644 --- a/metadata/modules/insticatorBidAdapter.json +++ b/metadata/modules/insticatorBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.insticator.com/iab/device-storage-disclosure.json": { - "timestamp": "2025-12-03T16:38:02.296Z", + "timestamp": "2025-12-12T14:15:17.279Z", "disclosures": [ { "identifier": "visitorGeo", diff --git a/metadata/modules/intentIqIdSystem.json b/metadata/modules/intentIqIdSystem.json index d9feb16465c..afb13d7a8a9 100644 --- a/metadata/modules/intentIqIdSystem.json +++ b/metadata/modules/intentIqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://agent.intentiq.com/GDPR/gdpr.json": { - "timestamp": "2025-12-03T16:38:02.329Z", + "timestamp": "2025-12-12T14:15:17.314Z", "disclosures": [] } }, diff --git a/metadata/modules/invibesBidAdapter.json b/metadata/modules/invibesBidAdapter.json index 9d941c09efa..09abbaa6d0f 100644 --- a/metadata/modules/invibesBidAdapter.json +++ b/metadata/modules/invibesBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.invibes.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:02.386Z", + "timestamp": "2025-12-12T14:15:17.371Z", "disclosures": [ { "identifier": "ivvcap", diff --git a/metadata/modules/ipromBidAdapter.json b/metadata/modules/ipromBidAdapter.json index b7aa846f9ba..f1d8322adf9 100644 --- a/metadata/modules/ipromBidAdapter.json +++ b/metadata/modules/ipromBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://core.iprom.net/info/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:02.728Z", + "timestamp": "2025-12-12T14:15:17.723Z", "disclosures": [] } }, diff --git a/metadata/modules/ixBidAdapter.json b/metadata/modules/ixBidAdapter.json index bf7b22835ce..05d10dcd0c0 100644 --- a/metadata/modules/ixBidAdapter.json +++ b/metadata/modules/ixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.indexexchange.com/device_storage_disclosure.json": { - "timestamp": "2025-12-03T16:38:03.193Z", + "timestamp": "2025-12-12T14:15:18.159Z", "disclosures": [ { "identifier": "ix_features", diff --git a/metadata/modules/justIdSystem.json b/metadata/modules/justIdSystem.json index b5ee294334f..c4135ef2cfc 100644 --- a/metadata/modules/justIdSystem.json +++ b/metadata/modules/justIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audience-solutions.com/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:03.429Z", + "timestamp": "2025-12-12T14:15:18.296Z", "disclosures": [ { "identifier": "__jtuid", diff --git a/metadata/modules/justpremiumBidAdapter.json b/metadata/modules/justpremiumBidAdapter.json index d4ef7913b2a..6212d7542f5 100644 --- a/metadata/modules/justpremiumBidAdapter.json +++ b/metadata/modules/justpremiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.justpremium.com/devicestoragedisclosures.json": { - "timestamp": "2025-12-03T16:38:03.955Z", + "timestamp": "2025-12-12T14:15:18.792Z", "disclosures": [] } }, diff --git a/metadata/modules/jwplayerBidAdapter.json b/metadata/modules/jwplayerBidAdapter.json index b724cdd34fd..d37de8aa395 100644 --- a/metadata/modules/jwplayerBidAdapter.json +++ b/metadata/modules/jwplayerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.jwplayer.com/devicestorage.json": { - "timestamp": "2025-12-03T16:38:03.971Z", + "timestamp": "2025-12-12T14:15:19.043Z", "disclosures": [] } }, diff --git a/metadata/modules/kargoBidAdapter.json b/metadata/modules/kargoBidAdapter.json index ac21447abcf..2188361205f 100644 --- a/metadata/modules/kargoBidAdapter.json +++ b/metadata/modules/kargoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://storage.cloud.kargo.com/device_storage_disclosure.json": { - "timestamp": "2025-12-03T16:38:04.079Z", + "timestamp": "2025-12-12T14:15:19.282Z", "disclosures": [ { "identifier": "krg_crb", diff --git a/metadata/modules/kueezRtbBidAdapter.json b/metadata/modules/kueezRtbBidAdapter.json index 5944f237f82..6ad7339d45e 100644 --- a/metadata/modules/kueezRtbBidAdapter.json +++ b/metadata/modules/kueezRtbBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.kueez.com/tcf.json": { - "timestamp": "2025-12-03T16:38:04.103Z", + "timestamp": "2025-12-12T14:15:19.362Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/limelightDigitalBidAdapter.json b/metadata/modules/limelightDigitalBidAdapter.json index 5fb7a93faf3..53dde30e047 100644 --- a/metadata/modules/limelightDigitalBidAdapter.json +++ b/metadata/modules/limelightDigitalBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://policy.iion.io/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:04.174Z", + "timestamp": "2025-12-12T14:15:19.430Z", "disclosures": [] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2025-12-03T16:38:04.236Z", + "timestamp": "2025-12-12T14:15:19.569Z", "disclosures": [] } }, diff --git a/metadata/modules/liveIntentIdSystem.json b/metadata/modules/liveIntentIdSystem.json index 4bd09b6f881..cfb6fa25114 100644 --- a/metadata/modules/liveIntentIdSystem.json +++ b/metadata/modules/liveIntentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:04.236Z", + "timestamp": "2025-12-12T14:15:19.570Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/liveIntentRtdProvider.json b/metadata/modules/liveIntentRtdProvider.json index ca7fcce05f7..e1d0638d1e8 100644 --- a/metadata/modules/liveIntentRtdProvider.json +++ b/metadata/modules/liveIntentRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:04.249Z", + "timestamp": "2025-12-12T14:15:19.589Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/livewrappedBidAdapter.json b/metadata/modules/livewrappedBidAdapter.json index 8fe535b2abe..8cc866e1c14 100644 --- a/metadata/modules/livewrappedBidAdapter.json +++ b/metadata/modules/livewrappedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://content.lwadm.com/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:04.249Z", + "timestamp": "2025-12-12T14:15:19.590Z", "disclosures": [ { "identifier": "uid", diff --git a/metadata/modules/loopmeBidAdapter.json b/metadata/modules/loopmeBidAdapter.json index f8acd102a51..6ef053aa191 100644 --- a/metadata/modules/loopmeBidAdapter.json +++ b/metadata/modules/loopmeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://co.loopme.com/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:04.276Z", + "timestamp": "2025-12-12T14:15:19.614Z", "disclosures": [] } }, diff --git a/metadata/modules/lotamePanoramaIdSystem.json b/metadata/modules/lotamePanoramaIdSystem.json index 3cad02fae56..3cd5a3703a7 100644 --- a/metadata/modules/lotamePanoramaIdSystem.json +++ b/metadata/modules/lotamePanoramaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tags.crwdcntrl.net/privacy/tcf-purposes.json": { - "timestamp": "2025-12-03T16:38:04.330Z", + "timestamp": "2025-12-12T14:15:19.689Z", "disclosures": [ { "identifier": "panoramaId", diff --git a/metadata/modules/luponmediaBidAdapter.json b/metadata/modules/luponmediaBidAdapter.json index b4bb3dba49e..42a33213665 100644 --- a/metadata/modules/luponmediaBidAdapter.json +++ b/metadata/modules/luponmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://luponmedia.com/vendor_device_storage.json": { - "timestamp": "2025-12-03T16:38:04.343Z", + "timestamp": "2025-12-12T14:15:19.703Z", "disclosures": [] } }, diff --git a/metadata/modules/madvertiseBidAdapter.json b/metadata/modules/madvertiseBidAdapter.json index af24722d22a..cc9ff062280 100644 --- a/metadata/modules/madvertiseBidAdapter.json +++ b/metadata/modules/madvertiseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.bluestack.app/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:04.751Z", + "timestamp": "2025-12-12T14:15:20.164Z", "disclosures": [] } }, diff --git a/metadata/modules/marsmediaBidAdapter.json b/metadata/modules/marsmediaBidAdapter.json index 12437e8934d..c06178096af 100644 --- a/metadata/modules/marsmediaBidAdapter.json +++ b/metadata/modules/marsmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mars.media/apis/tcf-v2.json": { - "timestamp": "2025-12-03T16:38:05.106Z", + "timestamp": "2025-12-12T14:15:20.522Z", "disclosures": [] } }, diff --git a/metadata/modules/mediaConsortiumBidAdapter.json b/metadata/modules/mediaConsortiumBidAdapter.json index 149e12eaead..1dcd225c55b 100644 --- a/metadata/modules/mediaConsortiumBidAdapter.json +++ b/metadata/modules/mediaConsortiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.hubvisor.io/assets/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:05.228Z", + "timestamp": "2025-12-12T14:15:20.648Z", "disclosures": [ { "identifier": "hbv:turbo-cmp", diff --git a/metadata/modules/mediaforceBidAdapter.json b/metadata/modules/mediaforceBidAdapter.json index cb0734eddd2..9525edcf14a 100644 --- a/metadata/modules/mediaforceBidAdapter.json +++ b/metadata/modules/mediaforceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://comparisons.org/privacy.json": { - "timestamp": "2025-12-03T16:38:05.368Z", + "timestamp": "2025-12-12T14:15:20.908Z", "disclosures": [] } }, diff --git a/metadata/modules/mediafuseBidAdapter.json b/metadata/modules/mediafuseBidAdapter.json index 5fae3e34925..d3a02f0c92b 100644 --- a/metadata/modules/mediafuseBidAdapter.json +++ b/metadata/modules/mediafuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2025-12-03T16:38:05.388Z", + "timestamp": "2025-12-12T14:15:20.949Z", "disclosures": [] } }, diff --git a/metadata/modules/mediagoBidAdapter.json b/metadata/modules/mediagoBidAdapter.json index 0c6d1f6c63f..9cf9cfdabc1 100644 --- a/metadata/modules/mediagoBidAdapter.json +++ b/metadata/modules/mediagoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.mediago.io/js/tcf.json": { - "timestamp": "2025-12-03T16:38:05.389Z", + "timestamp": "2025-12-12T14:15:20.949Z", "disclosures": [] } }, diff --git a/metadata/modules/mediakeysBidAdapter.json b/metadata/modules/mediakeysBidAdapter.json index 06e4b800df5..594ecb67619 100644 --- a/metadata/modules/mediakeysBidAdapter.json +++ b/metadata/modules/mediakeysBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.eu-west-3.amazonaws.com/adserving.resourcekeys.com/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:05.478Z", + "timestamp": "2025-12-12T14:15:21.031Z", "disclosures": [] } }, diff --git a/metadata/modules/medianetBidAdapter.json b/metadata/modules/medianetBidAdapter.json index 8ab41458d2e..f72d7fcf364 100644 --- a/metadata/modules/medianetBidAdapter.json +++ b/metadata/modules/medianetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.media.net/tcfv2/gvl/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:05.770Z", + "timestamp": "2025-12-12T14:15:21.317Z", "disclosures": [ { "identifier": "_mNExInsl", @@ -246,7 +246,7 @@ ] }, "https://trustedstack.com/tcf/gvl/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:05.914Z", + "timestamp": "2025-12-12T14:15:21.468Z", "disclosures": [ { "identifier": "usp_status", diff --git a/metadata/modules/mediasquareBidAdapter.json b/metadata/modules/mediasquareBidAdapter.json index eeefb1aae38..890c23a1e8d 100644 --- a/metadata/modules/mediasquareBidAdapter.json +++ b/metadata/modules/mediasquareBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediasquare.fr/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:05.968Z", + "timestamp": "2025-12-12T14:15:21.506Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidBidAdapter.json b/metadata/modules/mgidBidAdapter.json index 6ee3153c9a1..29d54c6bb4e 100644 --- a/metadata/modules/mgidBidAdapter.json +++ b/metadata/modules/mgidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2025-12-03T16:38:06.503Z", + "timestamp": "2025-12-12T14:15:22.112Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidRtdProvider.json b/metadata/modules/mgidRtdProvider.json index 3f5470dcd99..8fa9f96caa2 100644 --- a/metadata/modules/mgidRtdProvider.json +++ b/metadata/modules/mgidRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2025-12-03T16:38:06.546Z", + "timestamp": "2025-12-12T14:15:22.155Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidXBidAdapter.json b/metadata/modules/mgidXBidAdapter.json index 20a49a623f8..e0768de5511 100644 --- a/metadata/modules/mgidXBidAdapter.json +++ b/metadata/modules/mgidXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2025-12-03T16:38:06.546Z", + "timestamp": "2025-12-12T14:15:22.155Z", "disclosures": [] } }, diff --git a/metadata/modules/minutemediaBidAdapter.json b/metadata/modules/minutemediaBidAdapter.json index d96419879c0..ad6c85efbc3 100644 --- a/metadata/modules/minutemediaBidAdapter.json +++ b/metadata/modules/minutemediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://disclosures.mmctsvc.com/device-storage.json": { - "timestamp": "2025-12-03T16:38:06.547Z", + "timestamp": "2025-12-12T14:15:22.156Z", "disclosures": [] } }, diff --git a/metadata/modules/missenaBidAdapter.json b/metadata/modules/missenaBidAdapter.json index 6408bea6504..4d3320312ae 100644 --- a/metadata/modules/missenaBidAdapter.json +++ b/metadata/modules/missenaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.missena.io/iab.json": { - "timestamp": "2025-12-03T16:38:06.569Z", + "timestamp": "2025-12-12T14:15:22.175Z", "disclosures": [] } }, diff --git a/metadata/modules/mobianRtdProvider.json b/metadata/modules/mobianRtdProvider.json index a985329a07e..44469a0ec3e 100644 --- a/metadata/modules/mobianRtdProvider.json +++ b/metadata/modules/mobianRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.outcomes.net/tcf.json": { - "timestamp": "2025-12-03T16:38:06.623Z", + "timestamp": "2025-12-12T14:15:22.247Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiBidAdapter.json b/metadata/modules/mobkoiBidAdapter.json index cae8ca28e28..3dbe6253382 100644 --- a/metadata/modules/mobkoiBidAdapter.json +++ b/metadata/modules/mobkoiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:06.668Z", + "timestamp": "2025-12-12T14:15:22.262Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiIdSystem.json b/metadata/modules/mobkoiIdSystem.json index 4fa4fab181c..e55a1312eed 100644 --- a/metadata/modules/mobkoiIdSystem.json +++ b/metadata/modules/mobkoiIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:06.691Z", + "timestamp": "2025-12-12T14:15:22.278Z", "disclosures": [] } }, diff --git a/metadata/modules/msftBidAdapter.json b/metadata/modules/msftBidAdapter.json index 52be0c9119c..173242f3fcc 100644 --- a/metadata/modules/msftBidAdapter.json +++ b/metadata/modules/msftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2025-12-03T16:38:06.691Z", + "timestamp": "2025-12-12T14:15:22.278Z", "disclosures": [] } }, diff --git a/metadata/modules/mycodemediaBidAdapter.json b/metadata/modules/mycodemediaBidAdapter.json new file mode 100644 index 00000000000..6fdf70e5b1f --- /dev/null +++ b/metadata/modules/mycodemediaBidAdapter.json @@ -0,0 +1,13 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": {}, + "components": [ + { + "componentType": "bidder", + "componentName": "mycodemedia", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + } + ] +} \ No newline at end of file diff --git a/metadata/modules/nativeryBidAdapter.json b/metadata/modules/nativeryBidAdapter.json index 203b4670787..699a19d9891 100644 --- a/metadata/modules/nativeryBidAdapter.json +++ b/metadata/modules/nativeryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnimg.nativery.com/widget/js/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:06.692Z", + "timestamp": "2025-12-12T14:15:22.279Z", "disclosures": [] } }, diff --git a/metadata/modules/nativoBidAdapter.json b/metadata/modules/nativoBidAdapter.json index a9215ebeacb..71bff11c1ec 100644 --- a/metadata/modules/nativoBidAdapter.json +++ b/metadata/modules/nativoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.nativo.com/tcf-disclosures.json": { - "timestamp": "2025-12-03T16:38:07.022Z", + "timestamp": "2025-12-12T14:15:22.639Z", "disclosures": [] } }, diff --git a/metadata/modules/newspassidBidAdapter.json b/metadata/modules/newspassidBidAdapter.json index 79aa8ae4acd..40490abe04b 100644 --- a/metadata/modules/newspassidBidAdapter.json +++ b/metadata/modules/newspassidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2025-12-03T16:38:07.048Z", + "timestamp": "2025-12-12T14:15:22.688Z", "disclosures": [] } }, diff --git a/metadata/modules/nextMillenniumBidAdapter.json b/metadata/modules/nextMillenniumBidAdapter.json index 06eea7525b4..c6a6f9adea4 100644 --- a/metadata/modules/nextMillenniumBidAdapter.json +++ b/metadata/modules/nextMillenniumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://nextmillennium.io/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:07.048Z", + "timestamp": "2025-12-12T14:15:22.688Z", "disclosures": [] } }, diff --git a/metadata/modules/nextrollBidAdapter.json b/metadata/modules/nextrollBidAdapter.json index 99a31d8b823..2749424e1d4 100644 --- a/metadata/modules/nextrollBidAdapter.json +++ b/metadata/modules/nextrollBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.adroll.com/shares/device_storage.json": { - "timestamp": "2025-12-03T16:38:07.090Z", + "timestamp": "2025-12-12T14:15:22.743Z", "disclosures": [ { "identifier": "__adroll_fpc", diff --git a/metadata/modules/nexx360BidAdapter.json b/metadata/modules/nexx360BidAdapter.json index 2dfdd880707..f7b7f1bfc08 100644 --- a/metadata/modules/nexx360BidAdapter.json +++ b/metadata/modules/nexx360BidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:07.311Z", + "timestamp": "2025-12-12T14:15:23.265Z", "disclosures": [] }, "https://static.first-id.fr/tcf/cookie.json": { - "timestamp": "2025-12-03T16:38:07.165Z", + "timestamp": "2025-12-12T14:15:23.043Z", "disclosures": [] }, "https://i.plug.it/banners/js/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:07.184Z", + "timestamp": "2025-12-12T14:15:23.143Z", "disclosures": [] }, "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:07.311Z", + "timestamp": "2025-12-12T14:15:23.265Z", "disclosures": [ { "identifier": "glomexUser", @@ -45,12 +45,8 @@ } ] }, - "https://mediafuse.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:07.311Z", - "disclosures": [] - }, "https://gdpr.pubx.ai/devicestoragedisclosure.json": { - "timestamp": "2025-12-03T16:38:07.475Z", + "timestamp": "2025-12-12T14:15:23.265Z", "disclosures": [ { "identifier": "pubx:defaults", @@ -65,7 +61,7 @@ ] }, "https://yieldbird.com/devicestorage.json": { - "timestamp": "2025-12-03T16:38:07.514Z", + "timestamp": "2025-12-12T14:15:23.284Z", "disclosures": [] } }, @@ -175,13 +171,6 @@ "gvlid": 967, "disclosureURL": "https://player.glomex.com/.well-known/deviceStorage.json" }, - { - "componentType": "bidder", - "componentName": "revnew", - "aliasOf": "nexx360", - "gvlid": 1468, - "disclosureURL": "https://mediafuse.com/deviceStorage.json" - }, { "componentType": "bidder", "componentName": "pubxai", diff --git a/metadata/modules/nobidBidAdapter.json b/metadata/modules/nobidBidAdapter.json index ead49b20473..65168b23de2 100644 --- a/metadata/modules/nobidBidAdapter.json +++ b/metadata/modules/nobidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://public.servenobid.com/gdpr_tcf/vendor_device_storage_operational_disclosures.json": { - "timestamp": "2025-12-03T16:38:07.889Z", + "timestamp": "2025-12-12T14:15:23.654Z", "disclosures": [] } }, diff --git a/metadata/modules/nodalsAiRtdProvider.json b/metadata/modules/nodalsAiRtdProvider.json index 895db888a77..a081ec7bf1f 100644 --- a/metadata/modules/nodalsAiRtdProvider.json +++ b/metadata/modules/nodalsAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.nodals.ai/vendor.json": { - "timestamp": "2025-12-03T16:38:07.904Z", + "timestamp": "2025-12-12T14:15:23.667Z", "disclosures": [ { "identifier": "localStorage", diff --git a/metadata/modules/novatiqIdSystem.json b/metadata/modules/novatiqIdSystem.json index 6cacc83d0dd..b81cc30d928 100644 --- a/metadata/modules/novatiqIdSystem.json +++ b/metadata/modules/novatiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://novatiq.com/privacy/iab/novatiq.json": { - "timestamp": "2025-12-03T16:38:09.075Z", + "timestamp": "2025-12-12T14:15:24.957Z", "disclosures": [ { "identifier": "novatiq", diff --git a/metadata/modules/oguryBidAdapter.json b/metadata/modules/oguryBidAdapter.json index 76557be42d3..393d36d14a8 100644 --- a/metadata/modules/oguryBidAdapter.json +++ b/metadata/modules/oguryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.ogury.co/disclosure.json": { - "timestamp": "2025-12-03T16:38:09.421Z", + "timestamp": "2025-12-12T14:15:25.285Z", "disclosures": [] } }, diff --git a/metadata/modules/omnidexBidAdapter.json b/metadata/modules/omnidexBidAdapter.json index c30df639db0..d3baa5b23ad 100644 --- a/metadata/modules/omnidexBidAdapter.json +++ b/metadata/modules/omnidexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.omni-dex.io/devicestorage.json": { - "timestamp": "2025-12-03T16:38:09.484Z", + "timestamp": "2025-12-12T14:15:25.355Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/omsBidAdapter.json b/metadata/modules/omsBidAdapter.json index 6bdc74439b8..66f00df33ce 100644 --- a/metadata/modules/omsBidAdapter.json +++ b/metadata/modules/omsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2025-12-03T16:38:09.542Z", + "timestamp": "2025-12-12T14:15:25.420Z", "disclosures": [] } }, diff --git a/metadata/modules/onetagBidAdapter.json b/metadata/modules/onetagBidAdapter.json index 7bb34ba8712..15fc8beea1d 100644 --- a/metadata/modules/onetagBidAdapter.json +++ b/metadata/modules/onetagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://onetag-cdn.com/privacy/tcf_storage.json": { - "timestamp": "2025-12-03T16:38:09.543Z", + "timestamp": "2025-12-12T14:15:25.420Z", "disclosures": [ { "identifier": "onetag_sid", diff --git a/metadata/modules/openwebBidAdapter.json b/metadata/modules/openwebBidAdapter.json index a2ba02c0c37..2fd76d94ebd 100644 --- a/metadata/modules/openwebBidAdapter.json +++ b/metadata/modules/openwebBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2025-12-03T16:38:09.833Z", + "timestamp": "2025-12-12T14:15:25.764Z", "disclosures": [] } }, diff --git a/metadata/modules/openxBidAdapter.json b/metadata/modules/openxBidAdapter.json index bea458bedaa..c807f3ad022 100644 --- a/metadata/modules/openxBidAdapter.json +++ b/metadata/modules/openxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.openx.com/device-storage.json": { - "timestamp": "2025-12-03T16:38:09.916Z", + "timestamp": "2025-12-12T14:15:25.817Z", "disclosures": [] } }, diff --git a/metadata/modules/operaadsBidAdapter.json b/metadata/modules/operaadsBidAdapter.json index 09e999ac06a..1b9831819d9 100644 --- a/metadata/modules/operaadsBidAdapter.json +++ b/metadata/modules/operaadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://res.adx.opera.com/dsd.json": { - "timestamp": "2025-12-03T16:38:09.982Z", + "timestamp": "2025-12-12T14:15:25.889Z", "disclosures": [] } }, diff --git a/metadata/modules/optidigitalBidAdapter.json b/metadata/modules/optidigitalBidAdapter.json index 8917e5eb093..6c549ae8fc2 100644 --- a/metadata/modules/optidigitalBidAdapter.json +++ b/metadata/modules/optidigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://scripts.opti-digital.com/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:10.009Z", + "timestamp": "2025-12-12T14:15:26.014Z", "disclosures": [] } }, diff --git a/metadata/modules/optoutBidAdapter.json b/metadata/modules/optoutBidAdapter.json index 3b48037f3cf..5082bc6504b 100644 --- a/metadata/modules/optoutBidAdapter.json +++ b/metadata/modules/optoutBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserving.optoutadvertising.com/dsd": { - "timestamp": "2025-12-03T16:38:10.046Z", + "timestamp": "2025-12-12T14:15:26.058Z", "disclosures": [] } }, diff --git a/metadata/modules/orbidderBidAdapter.json b/metadata/modules/orbidderBidAdapter.json index c9ab4fa868b..f122f4ed1a5 100644 --- a/metadata/modules/orbidderBidAdapter.json +++ b/metadata/modules/orbidderBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://orbidder.otto.de/disclosure/dsd.json": { - "timestamp": "2025-12-03T16:38:10.302Z", + "timestamp": "2025-12-12T14:15:26.315Z", "disclosures": [] } }, diff --git a/metadata/modules/outbrainBidAdapter.json b/metadata/modules/outbrainBidAdapter.json index dfc2a1be9b7..0f74dcfd855 100644 --- a/metadata/modules/outbrainBidAdapter.json +++ b/metadata/modules/outbrainBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.outbrain.com/privacy/wp-json/privacy/v2/devicestorage.json": { - "timestamp": "2025-12-03T16:38:10.574Z", + "timestamp": "2025-12-12T14:15:26.605Z", "disclosures": [ { "identifier": "dicbo_id", diff --git a/metadata/modules/ozoneBidAdapter.json b/metadata/modules/ozoneBidAdapter.json index 6c14bdc4ea3..d0ca0030149 100644 --- a/metadata/modules/ozoneBidAdapter.json +++ b/metadata/modules/ozoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://prebid.the-ozone-project.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:10.799Z", + "timestamp": "2025-12-12T14:15:26.785Z", "disclosures": [] } }, diff --git a/metadata/modules/pairIdSystem.json b/metadata/modules/pairIdSystem.json index 8a3ef1d0ad5..64c63bdaae7 100644 --- a/metadata/modules/pairIdSystem.json +++ b/metadata/modules/pairIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gstatic.com/iabtcf/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:11.018Z", + "timestamp": "2025-12-12T14:15:27.021Z", "disclosures": [ { "identifier": "__gads", diff --git a/metadata/modules/performaxBidAdapter.json b/metadata/modules/performaxBidAdapter.json index 6f1b986a094..2613251c589 100644 --- a/metadata/modules/performaxBidAdapter.json +++ b/metadata/modules/performaxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.performax.cz/device_storage.json": { - "timestamp": "2025-12-03T16:38:11.045Z", + "timestamp": "2025-12-12T14:15:27.039Z", "disclosures": [ { "identifier": "px2uid", diff --git a/metadata/modules/permutiveIdentityManagerIdSystem.json b/metadata/modules/permutiveIdentityManagerIdSystem.json index 69131363223..8f649dc5dcb 100644 --- a/metadata/modules/permutiveIdentityManagerIdSystem.json +++ b/metadata/modules/permutiveIdentityManagerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2025-12-03T16:38:11.559Z", + "timestamp": "2025-12-12T14:15:27.545Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/permutiveRtdProvider.json b/metadata/modules/permutiveRtdProvider.json index d158fb46fc9..4d0b85a6d00 100644 --- a/metadata/modules/permutiveRtdProvider.json +++ b/metadata/modules/permutiveRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2025-12-03T16:38:11.739Z", + "timestamp": "2025-12-12T14:15:27.714Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/pixfutureBidAdapter.json b/metadata/modules/pixfutureBidAdapter.json index 30cf8c6ba02..2499ffc261f 100644 --- a/metadata/modules/pixfutureBidAdapter.json +++ b/metadata/modules/pixfutureBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.pixfuture.com/vendor-disclosures.json": { - "timestamp": "2025-12-03T16:38:11.749Z", + "timestamp": "2025-12-12T14:15:27.715Z", "disclosures": [] } }, diff --git a/metadata/modules/playdigoBidAdapter.json b/metadata/modules/playdigoBidAdapter.json index 42b6a576873..f9cae6ce700 100644 --- a/metadata/modules/playdigoBidAdapter.json +++ b/metadata/modules/playdigoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://playdigo.com/file.json": { - "timestamp": "2025-12-03T16:38:11.803Z", + "timestamp": "2025-12-12T14:15:27.760Z", "disclosures": [] } }, diff --git a/metadata/modules/prebid-core.json b/metadata/modules/prebid-core.json index 54e0320a6f6..3a90da0efea 100644 --- a/metadata/modules/prebid-core.json +++ b/metadata/modules/prebid-core.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json": { - "timestamp": "2025-12-03T16:37:39.020Z", + "timestamp": "2025-12-12T14:14:51.597Z", "disclosures": [ { "identifier": "_rdc*", @@ -23,7 +23,7 @@ ] }, "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2025-12-03T16:37:39.021Z", + "timestamp": "2025-12-12T14:14:51.598Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/precisoBidAdapter.json b/metadata/modules/precisoBidAdapter.json index de4e5b87da6..5007e0e4734 100644 --- a/metadata/modules/precisoBidAdapter.json +++ b/metadata/modules/precisoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://preciso.net/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:11.984Z", + "timestamp": "2025-12-12T14:15:27.942Z", "disclosures": [ { "identifier": "XXXXX_viewnew", diff --git a/metadata/modules/prismaBidAdapter.json b/metadata/modules/prismaBidAdapter.json index dc3413aff75..0abe948283d 100644 --- a/metadata/modules/prismaBidAdapter.json +++ b/metadata/modules/prismaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:12.211Z", + "timestamp": "2025-12-12T14:15:28.189Z", "disclosures": [] } }, diff --git a/metadata/modules/programmaticXBidAdapter.json b/metadata/modules/programmaticXBidAdapter.json index 7018d66e591..338ac7d4af5 100644 --- a/metadata/modules/programmaticXBidAdapter.json +++ b/metadata/modules/programmaticXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://progrtb.com/tcf-vendor-disclosures.json": { - "timestamp": "2025-12-03T16:38:12.211Z", + "timestamp": "2025-12-12T14:15:28.189Z", "disclosures": [] } }, diff --git a/metadata/modules/proxistoreBidAdapter.json b/metadata/modules/proxistoreBidAdapter.json index d7a2a02d4e0..5080c24970e 100644 --- a/metadata/modules/proxistoreBidAdapter.json +++ b/metadata/modules/proxistoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://abs.proxistore.com/assets/json/proxistore_device_storage_disclosure.json": { - "timestamp": "2025-12-03T16:38:12.274Z", + "timestamp": "2025-12-12T14:15:28.255Z", "disclosures": [] } }, diff --git a/metadata/modules/publinkIdSystem.json b/metadata/modules/publinkIdSystem.json index 89d150abdfa..f3246c961af 100644 --- a/metadata/modules/publinkIdSystem.json +++ b/metadata/modules/publinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.8/device_storage_disclosure.json": { - "timestamp": "2025-12-03T16:38:12.654Z", + "timestamp": "2025-12-12T14:15:28.719Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/pubmaticBidAdapter.json b/metadata/modules/pubmaticBidAdapter.json index 479a95f9588..d58ca07d07e 100644 --- a/metadata/modules/pubmaticBidAdapter.json +++ b/metadata/modules/pubmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2025-12-03T16:38:12.655Z", + "timestamp": "2025-12-12T14:15:28.719Z", "disclosures": [] } }, diff --git a/metadata/modules/pubmaticIdSystem.json b/metadata/modules/pubmaticIdSystem.json index e92784d1947..a360cb53d5d 100644 --- a/metadata/modules/pubmaticIdSystem.json +++ b/metadata/modules/pubmaticIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2025-12-03T16:38:12.714Z", + "timestamp": "2025-12-12T14:15:28.737Z", "disclosures": [] } }, diff --git a/metadata/modules/pulsepointBidAdapter.json b/metadata/modules/pulsepointBidAdapter.json index 1024ab681b0..bdd76236c3c 100644 --- a/metadata/modules/pulsepointBidAdapter.json +++ b/metadata/modules/pulsepointBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bh.contextweb.com/tcf/vendorInfo.json": { - "timestamp": "2025-12-03T16:38:12.716Z", + "timestamp": "2025-12-12T14:15:28.738Z", "disclosures": [] } }, diff --git a/metadata/modules/quantcastBidAdapter.json b/metadata/modules/quantcastBidAdapter.json index 71ab138b54f..2a8374d036b 100644 --- a/metadata/modules/quantcastBidAdapter.json +++ b/metadata/modules/quantcastBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2025-12-03T16:38:12.744Z", + "timestamp": "2025-12-12T14:15:28.755Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/quantcastIdSystem.json b/metadata/modules/quantcastIdSystem.json index 0f7084bdb5e..a6997fa24b7 100644 --- a/metadata/modules/quantcastIdSystem.json +++ b/metadata/modules/quantcastIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2025-12-03T16:38:12.950Z", + "timestamp": "2025-12-12T14:15:28.973Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/r2b2BidAdapter.json b/metadata/modules/r2b2BidAdapter.json index 42aa6f28790..b40f646f7ef 100644 --- a/metadata/modules/r2b2BidAdapter.json +++ b/metadata/modules/r2b2BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.r2b2.io/cookie_disclosure": { - "timestamp": "2025-12-03T16:38:12.951Z", + "timestamp": "2025-12-12T14:15:28.973Z", "disclosures": [ { "identifier": "AdTrack-hide-*", diff --git a/metadata/modules/readpeakBidAdapter.json b/metadata/modules/readpeakBidAdapter.json index 51849d546a4..3b924db0700 100644 --- a/metadata/modules/readpeakBidAdapter.json +++ b/metadata/modules/readpeakBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.readpeak.com/tcf/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:13.388Z", + "timestamp": "2025-12-12T14:15:29.449Z", "disclosures": [ { "identifier": "rp_uidfp", diff --git a/metadata/modules/relayBidAdapter.json b/metadata/modules/relayBidAdapter.json index bc54db980c9..18c878fa50e 100644 --- a/metadata/modules/relayBidAdapter.json +++ b/metadata/modules/relayBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://relay42.com/hubfs/raw_assets/public/IAB.json": { - "timestamp": "2025-12-03T16:38:13.424Z", + "timestamp": "2025-12-12T14:15:29.501Z", "disclosures": [] } }, diff --git a/metadata/modules/relevantdigitalBidAdapter.json b/metadata/modules/relevantdigitalBidAdapter.json index a1fe67e5822..32bf309d77b 100644 --- a/metadata/modules/relevantdigitalBidAdapter.json +++ b/metadata/modules/relevantdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.relevant-digital.com/resources/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:13.533Z", + "timestamp": "2025-12-12T14:15:29.560Z", "disclosures": [] } }, diff --git a/metadata/modules/resetdigitalBidAdapter.json b/metadata/modules/resetdigitalBidAdapter.json index 54717371ee1..74759b54e69 100644 --- a/metadata/modules/resetdigitalBidAdapter.json +++ b/metadata/modules/resetdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resetdigital.co/GDPR-TCF.json": { - "timestamp": "2025-12-03T16:38:13.819Z", + "timestamp": "2025-12-12T14:15:29.850Z", "disclosures": [] } }, diff --git a/metadata/modules/responsiveAdsBidAdapter.json b/metadata/modules/responsiveAdsBidAdapter.json index 8fa5db9badf..2b91036ef83 100644 --- a/metadata/modules/responsiveAdsBidAdapter.json +++ b/metadata/modules/responsiveAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publish.responsiveads.com/tcf/tcf-v2.json": { - "timestamp": "2025-12-03T16:38:13.861Z", + "timestamp": "2025-12-12T14:15:29.890Z", "disclosures": [] } }, diff --git a/metadata/modules/revcontentBidAdapter.json b/metadata/modules/revcontentBidAdapter.json index d3f86dc219a..d66281c804d 100644 --- a/metadata/modules/revcontentBidAdapter.json +++ b/metadata/modules/revcontentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sothebys.revcontent.com/static/device_storage.json": { - "timestamp": "2025-12-03T16:38:13.935Z", + "timestamp": "2025-12-12T14:15:29.924Z", "disclosures": [ { "identifier": "__ID", diff --git a/metadata/modules/revnewBidAdapter.json b/metadata/modules/revnewBidAdapter.json new file mode 100644 index 00000000000..61338a049f0 --- /dev/null +++ b/metadata/modules/revnewBidAdapter.json @@ -0,0 +1,18 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": { + "https://mediafuse.com/deviceStorage.json": { + "timestamp": "2025-12-12T14:15:29.948Z", + "disclosures": [] + } + }, + "components": [ + { + "componentType": "bidder", + "componentName": "revnew", + "aliasOf": null, + "gvlid": 1468, + "disclosureURL": "https://mediafuse.com/deviceStorage.json" + } + ] +} \ No newline at end of file diff --git a/metadata/modules/rhythmoneBidAdapter.json b/metadata/modules/rhythmoneBidAdapter.json index 08b855aa688..ef7dd82a47c 100644 --- a/metadata/modules/rhythmoneBidAdapter.json +++ b/metadata/modules/rhythmoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:13.971Z", + "timestamp": "2025-12-12T14:15:29.990Z", "disclosures": [] } }, diff --git a/metadata/modules/richaudienceBidAdapter.json b/metadata/modules/richaudienceBidAdapter.json index 4fb473015ff..318fca4fed7 100644 --- a/metadata/modules/richaudienceBidAdapter.json +++ b/metadata/modules/richaudienceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnj.richaudience.com/52a26ab9400b2a9f5aabfa20acf3196g.json": { - "timestamp": "2025-12-03T16:38:14.299Z", + "timestamp": "2025-12-12T14:15:30.207Z", "disclosures": [] } }, diff --git a/metadata/modules/riseBidAdapter.json b/metadata/modules/riseBidAdapter.json index 2cc732d5912..b4b13f1f395 100644 --- a/metadata/modules/riseBidAdapter.json +++ b/metadata/modules/riseBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d2pm7iglz0b6eq.cloudfront.net/RiseDeviceStorage.json": { - "timestamp": "2025-12-03T16:38:14.363Z", + "timestamp": "2025-12-12T14:15:30.279Z", "disclosures": [] }, "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2025-12-03T16:38:14.364Z", + "timestamp": "2025-12-12T14:15:30.279Z", "disclosures": [] } }, diff --git a/metadata/modules/rixengineBidAdapter.json b/metadata/modules/rixengineBidAdapter.json index f63fb23ac6d..8cd1b34039a 100644 --- a/metadata/modules/rixengineBidAdapter.json +++ b/metadata/modules/rixengineBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.algorix.co/gdpr-disclosure.json": { - "timestamp": "2025-12-03T16:38:14.364Z", + "timestamp": "2025-12-12T14:15:30.279Z", "disclosures": [] } }, diff --git a/metadata/modules/rtbhouseBidAdapter.json b/metadata/modules/rtbhouseBidAdapter.json index a906d121752..757d49992de 100644 --- a/metadata/modules/rtbhouseBidAdapter.json +++ b/metadata/modules/rtbhouseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://rtbhouse.com/DeviceStorage.json": { - "timestamp": "2025-12-03T16:38:14.386Z", + "timestamp": "2025-12-12T14:15:30.299Z", "disclosures": [ { "identifier": "_rtbh.*", diff --git a/metadata/modules/rubiconBidAdapter.json b/metadata/modules/rubiconBidAdapter.json index b1c924332c1..c57fd3c3b2e 100644 --- a/metadata/modules/rubiconBidAdapter.json +++ b/metadata/modules/rubiconBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.rubiconproject.com/dvplus/devicestoragedisclosure.json": { - "timestamp": "2025-12-03T16:38:14.528Z", + "timestamp": "2025-12-12T14:15:30.589Z", "disclosures": [] } }, diff --git a/metadata/modules/scaliburBidAdapter.json b/metadata/modules/scaliburBidAdapter.json index 0b33f104f0e..bb00c52f5a6 100644 --- a/metadata/modules/scaliburBidAdapter.json +++ b/metadata/modules/scaliburBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://legal.overwolf.com/docs/overwolf/website/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:14.786Z", + "timestamp": "2025-12-12T14:15:30.867Z", "disclosures": [ { "identifier": "scluid", diff --git a/metadata/modules/screencoreBidAdapter.json b/metadata/modules/screencoreBidAdapter.json index e17a724f6c7..06525007450 100644 --- a/metadata/modules/screencoreBidAdapter.json +++ b/metadata/modules/screencoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://screencore.io/tcf.json": { - "timestamp": "2025-12-03T16:38:14.803Z", + "timestamp": "2025-12-12T14:15:30.882Z", "disclosures": null } }, diff --git a/metadata/modules/seedingAllianceBidAdapter.json b/metadata/modules/seedingAllianceBidAdapter.json index f022337675a..bc62bc5e148 100644 --- a/metadata/modules/seedingAllianceBidAdapter.json +++ b/metadata/modules/seedingAllianceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.nativendo.de/cdn/asset/tcf/purpose-specific-storage-and-access-information.json": { - "timestamp": "2025-12-03T16:38:17.403Z", + "timestamp": "2025-12-12T14:15:33.492Z", "disclosures": [] } }, diff --git a/metadata/modules/seedtagBidAdapter.json b/metadata/modules/seedtagBidAdapter.json index d50cea3f572..41a0b6d0a47 100644 --- a/metadata/modules/seedtagBidAdapter.json +++ b/metadata/modules/seedtagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2025-12-03T16:38:17.491Z", + "timestamp": "2025-12-12T14:15:33.622Z", "disclosures": [] } }, diff --git a/metadata/modules/semantiqRtdProvider.json b/metadata/modules/semantiqRtdProvider.json index 802e1c2c3e9..aa5c6e16ff2 100644 --- a/metadata/modules/semantiqRtdProvider.json +++ b/metadata/modules/semantiqRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audienzz.com/device_storage_disclosure_vendor_783.json": { - "timestamp": "2025-12-03T16:38:17.491Z", + "timestamp": "2025-12-12T14:15:33.622Z", "disclosures": [] } }, diff --git a/metadata/modules/setupadBidAdapter.json b/metadata/modules/setupadBidAdapter.json index 2bd032280c9..f8ca01320e7 100644 --- a/metadata/modules/setupadBidAdapter.json +++ b/metadata/modules/setupadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cookies.stpd.cloud/disclosures.json": { - "timestamp": "2025-12-03T16:38:17.544Z", + "timestamp": "2025-12-12T14:15:33.694Z", "disclosures": [] } }, diff --git a/metadata/modules/sevioBidAdapter.json b/metadata/modules/sevioBidAdapter.json index 5171e439349..540f30d857d 100644 --- a/metadata/modules/sevioBidAdapter.json +++ b/metadata/modules/sevioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sevio.com/tcf.json": { - "timestamp": "2025-12-03T16:38:17.699Z", + "timestamp": "2025-12-12T14:15:33.767Z", "disclosures": [] } }, diff --git a/metadata/modules/sharedIdSystem.json b/metadata/modules/sharedIdSystem.json index 896dc8a0795..f62cffcb1ff 100644 --- a/metadata/modules/sharedIdSystem.json +++ b/metadata/modules/sharedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2025-12-03T16:38:17.841Z", + "timestamp": "2025-12-12T14:15:33.892Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/sharethroughBidAdapter.json b/metadata/modules/sharethroughBidAdapter.json index 218716871f0..707fddf63ae 100644 --- a/metadata/modules/sharethroughBidAdapter.json +++ b/metadata/modules/sharethroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.sharethrough.com/gvl.json": { - "timestamp": "2025-12-03T16:38:17.842Z", + "timestamp": "2025-12-12T14:15:33.892Z", "disclosures": [] } }, diff --git a/metadata/modules/showheroes-bsBidAdapter.json b/metadata/modules/showheroes-bsBidAdapter.json index 01226e93e51..8dd71d52164 100644 --- a/metadata/modules/showheroes-bsBidAdapter.json +++ b/metadata/modules/showheroes-bsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static-origin.showheroes.com/gvl_storage_disclosure.json": { - "timestamp": "2025-12-03T16:38:17.869Z", + "timestamp": "2025-12-12T14:15:33.912Z", "disclosures": [] } }, diff --git a/metadata/modules/silvermobBidAdapter.json b/metadata/modules/silvermobBidAdapter.json index 37aa79a9cf5..751a10cdfd5 100644 --- a/metadata/modules/silvermobBidAdapter.json +++ b/metadata/modules/silvermobBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://silvermob.com/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:18.306Z", + "timestamp": "2025-12-12T14:15:34.338Z", "disclosures": [] } }, diff --git a/metadata/modules/sirdataRtdProvider.json b/metadata/modules/sirdataRtdProvider.json index d51dc768b9d..453671b6030 100644 --- a/metadata/modules/sirdataRtdProvider.json +++ b/metadata/modules/sirdataRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sirdata.eu/sirdata_device_storage_disclosure.json": { - "timestamp": "2025-12-03T16:38:18.328Z", + "timestamp": "2025-12-12T14:15:34.351Z", "disclosures": [] } }, diff --git a/metadata/modules/smaatoBidAdapter.json b/metadata/modules/smaatoBidAdapter.json index 1cd66711d56..dfaecd00560 100644 --- a/metadata/modules/smaatoBidAdapter.json +++ b/metadata/modules/smaatoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resources.smaato.com/hubfs/Smaato/IAB/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:18.629Z", + "timestamp": "2025-12-12T14:15:34.639Z", "disclosures": [] } }, diff --git a/metadata/modules/smartadserverBidAdapter.json b/metadata/modules/smartadserverBidAdapter.json index 64918e4cd2a..b7a3430ee81 100644 --- a/metadata/modules/smartadserverBidAdapter.json +++ b/metadata/modules/smartadserverBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2025-12-03T16:38:18.705Z", + "timestamp": "2025-12-12T14:15:34.718Z", "disclosures": [] } }, diff --git a/metadata/modules/smartxBidAdapter.json b/metadata/modules/smartxBidAdapter.json index 4b9c4e78466..3284a8389aa 100644 --- a/metadata/modules/smartxBidAdapter.json +++ b/metadata/modules/smartxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.smartclip.net/iab/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:18.705Z", + "timestamp": "2025-12-12T14:15:34.719Z", "disclosures": [] } }, diff --git a/metadata/modules/smartyadsBidAdapter.json b/metadata/modules/smartyadsBidAdapter.json index bb017ec4ba3..c5e2a2cac2b 100644 --- a/metadata/modules/smartyadsBidAdapter.json +++ b/metadata/modules/smartyadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smartyads.com/tcf.json": { - "timestamp": "2025-12-03T16:38:18.728Z", + "timestamp": "2025-12-12T14:15:34.737Z", "disclosures": [] } }, diff --git a/metadata/modules/smilewantedBidAdapter.json b/metadata/modules/smilewantedBidAdapter.json index d64acbe1810..062593e33e4 100644 --- a/metadata/modules/smilewantedBidAdapter.json +++ b/metadata/modules/smilewantedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smilewanted.com/vendor-device-storage-disclosures.json": { - "timestamp": "2025-12-03T16:38:18.768Z", + "timestamp": "2025-12-12T14:15:34.775Z", "disclosures": [] } }, diff --git a/metadata/modules/snigelBidAdapter.json b/metadata/modules/snigelBidAdapter.json index 26b4696ed66..ea95dd24eab 100644 --- a/metadata/modules/snigelBidAdapter.json +++ b/metadata/modules/snigelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.snigelweb.com/gvl/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:19.214Z", + "timestamp": "2025-12-12T14:15:35.214Z", "disclosures": [] } }, diff --git a/metadata/modules/sonaradsBidAdapter.json b/metadata/modules/sonaradsBidAdapter.json index 49da882078b..8080f38bb3a 100644 --- a/metadata/modules/sonaradsBidAdapter.json +++ b/metadata/modules/sonaradsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bridgeupp.com/device-storage-disclosure.json": { - "timestamp": "2025-12-03T16:38:19.247Z", + "timestamp": "2025-12-12T14:15:35.303Z", "disclosures": [] } }, diff --git a/metadata/modules/sonobiBidAdapter.json b/metadata/modules/sonobiBidAdapter.json index 365a157d70a..16b759185c7 100644 --- a/metadata/modules/sonobiBidAdapter.json +++ b/metadata/modules/sonobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sonobi.com/tcf2-device-storage-disclosure.json": { - "timestamp": "2025-12-03T16:38:19.550Z", + "timestamp": "2025-12-12T14:15:35.525Z", "disclosures": [] } }, diff --git a/metadata/modules/sovrnBidAdapter.json b/metadata/modules/sovrnBidAdapter.json index dc1111d4174..fdddc214d38 100644 --- a/metadata/modules/sovrnBidAdapter.json +++ b/metadata/modules/sovrnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sovrn.com/tcf-cookie-disclosure/disclosure.json": { - "timestamp": "2025-12-03T16:38:19.780Z", + "timestamp": "2025-12-12T14:15:35.756Z", "disclosures": [] } }, diff --git a/metadata/modules/sparteoBidAdapter.json b/metadata/modules/sparteoBidAdapter.json index 08f54606e60..7e13caf4dfe 100644 --- a/metadata/modules/sparteoBidAdapter.json +++ b/metadata/modules/sparteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:19.799Z", + "timestamp": "2025-12-12T14:15:35.781Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/ssmasBidAdapter.json b/metadata/modules/ssmasBidAdapter.json index 2865e4eacb3..4b3711c8f3d 100644 --- a/metadata/modules/ssmasBidAdapter.json +++ b/metadata/modules/ssmasBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://semseoymas.com/iab.json": { - "timestamp": "2025-12-03T16:38:20.079Z", + "timestamp": "2025-12-12T14:15:36.054Z", "disclosures": null } }, diff --git a/metadata/modules/sspBCBidAdapter.json b/metadata/modules/sspBCBidAdapter.json index 3b4a7522d02..cdde8731a63 100644 --- a/metadata/modules/sspBCBidAdapter.json +++ b/metadata/modules/sspBCBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:23.002Z", + "timestamp": "2025-12-12T14:15:36.546Z", "disclosures": null } }, diff --git a/metadata/modules/stackadaptBidAdapter.json b/metadata/modules/stackadaptBidAdapter.json index d94fd746e11..8ac446286b1 100644 --- a/metadata/modules/stackadaptBidAdapter.json +++ b/metadata/modules/stackadaptBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.amazonaws.com/stackadapt_public/disclosures.json": { - "timestamp": "2025-12-03T16:38:23.003Z", + "timestamp": "2025-12-12T14:15:36.547Z", "disclosures": [ { "identifier": "sa-camp-*", diff --git a/metadata/modules/startioBidAdapter.json b/metadata/modules/startioBidAdapter.json index 166817ac853..1c2aa7b4126 100644 --- a/metadata/modules/startioBidAdapter.json +++ b/metadata/modules/startioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://info.startappservice.com/tcf/start.io_domains.json": { - "timestamp": "2025-12-03T16:38:23.033Z", + "timestamp": "2025-12-12T14:15:36.580Z", "disclosures": [] } }, diff --git a/metadata/modules/stroeerCoreBidAdapter.json b/metadata/modules/stroeerCoreBidAdapter.json index 0500156063a..c3de5b40feb 100644 --- a/metadata/modules/stroeerCoreBidAdapter.json +++ b/metadata/modules/stroeerCoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.stroeer.de/StroeerSSP_deviceStorage.json": { - "timestamp": "2025-12-03T16:38:23.049Z", + "timestamp": "2025-12-12T14:15:36.592Z", "disclosures": [] } }, diff --git a/metadata/modules/stvBidAdapter.json b/metadata/modules/stvBidAdapter.json index d475689d0a6..96ef2638fd2 100644 --- a/metadata/modules/stvBidAdapter.json +++ b/metadata/modules/stvBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/stv.json": { - "timestamp": "2025-12-03T16:38:23.373Z", + "timestamp": "2025-12-12T14:15:37.004Z", "disclosures": [] } }, diff --git a/metadata/modules/sublimeBidAdapter.json b/metadata/modules/sublimeBidAdapter.json index c69911515e8..64dc4f62de8 100644 --- a/metadata/modules/sublimeBidAdapter.json +++ b/metadata/modules/sublimeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.ayads.co/cookiepolicy.json": { - "timestamp": "2025-12-03T16:38:24.006Z", + "timestamp": "2025-12-12T14:15:37.706Z", "disclosures": [ { "identifier": "dnt", diff --git a/metadata/modules/taboolaBidAdapter.json b/metadata/modules/taboolaBidAdapter.json index d958e2afcc8..52291bb0232 100644 --- a/metadata/modules/taboolaBidAdapter.json +++ b/metadata/modules/taboolaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2025-12-03T16:38:24.266Z", + "timestamp": "2025-12-12T14:15:37.974Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/taboolaIdSystem.json b/metadata/modules/taboolaIdSystem.json index def5bc59341..4aad3da0f03 100644 --- a/metadata/modules/taboolaIdSystem.json +++ b/metadata/modules/taboolaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2025-12-03T16:38:24.930Z", + "timestamp": "2025-12-12T14:15:38.607Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/tadvertisingBidAdapter.json b/metadata/modules/tadvertisingBidAdapter.json index d06af6c6183..bfc35ce7a37 100644 --- a/metadata/modules/tadvertisingBidAdapter.json +++ b/metadata/modules/tadvertisingBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:24.931Z", + "timestamp": "2025-12-12T14:15:38.607Z", "disclosures": [] } }, diff --git a/metadata/modules/tappxBidAdapter.json b/metadata/modules/tappxBidAdapter.json index 81c629234ef..517e3c1d216 100644 --- a/metadata/modules/tappxBidAdapter.json +++ b/metadata/modules/tappxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tappx.com/devicestorage.json": { - "timestamp": "2025-12-03T16:38:24.932Z", + "timestamp": "2025-12-12T14:15:38.609Z", "disclosures": [] } }, diff --git a/metadata/modules/targetVideoBidAdapter.json b/metadata/modules/targetVideoBidAdapter.json index 9462c87082e..144b8b3a3d8 100644 --- a/metadata/modules/targetVideoBidAdapter.json +++ b/metadata/modules/targetVideoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2025-12-03T16:38:24.962Z", + "timestamp": "2025-12-12T14:15:38.637Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/teadsBidAdapter.json b/metadata/modules/teadsBidAdapter.json index 62b5cae32e1..306f487cebe 100644 --- a/metadata/modules/teadsBidAdapter.json +++ b/metadata/modules/teadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:24.963Z", + "timestamp": "2025-12-12T14:15:38.638Z", "disclosures": [] } }, diff --git a/metadata/modules/teadsIdSystem.json b/metadata/modules/teadsIdSystem.json index 570ebf343f6..31d34b6541c 100644 --- a/metadata/modules/teadsIdSystem.json +++ b/metadata/modules/teadsIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:24.980Z", + "timestamp": "2025-12-12T14:15:38.696Z", "disclosures": [] } }, diff --git a/metadata/modules/tealBidAdapter.json b/metadata/modules/tealBidAdapter.json index b76a9d28cf5..3bc4f30d9ca 100644 --- a/metadata/modules/tealBidAdapter.json +++ b/metadata/modules/tealBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://c.bids.ws/iab/disclosures.json": { - "timestamp": "2025-12-03T16:38:24.980Z", + "timestamp": "2025-12-12T14:15:38.696Z", "disclosures": [] } }, diff --git a/metadata/modules/tncIdSystem.json b/metadata/modules/tncIdSystem.json index 079fed6a321..0f64675d62f 100644 --- a/metadata/modules/tncIdSystem.json +++ b/metadata/modules/tncIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.tncid.app/iab-tcf-device-storage-disclosure.json": { - "timestamp": "2025-12-03T16:38:25.014Z", + "timestamp": "2025-12-12T14:15:38.729Z", "disclosures": [] } }, diff --git a/metadata/modules/topicsFpdModule.json b/metadata/modules/topicsFpdModule.json index c72913716ba..20fb692f5c0 100644 --- a/metadata/modules/topicsFpdModule.json +++ b/metadata/modules/topicsFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/topicsFpdModule.json": { - "timestamp": "2025-12-03T16:37:39.022Z", + "timestamp": "2025-12-12T14:14:51.599Z", "disclosures": [ { "identifier": "prebid:topics", diff --git a/metadata/modules/toponBidAdapter.json b/metadata/modules/toponBidAdapter.json index a5a6b6a8858..bb066713177 100644 --- a/metadata/modules/toponBidAdapter.json +++ b/metadata/modules/toponBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mores.toponad.net/tmp/tpn/toponads_tcf_disclosure.json": { - "timestamp": "2025-12-03T16:38:25.034Z", + "timestamp": "2025-12-12T14:15:38.744Z", "disclosures": [] } }, diff --git a/metadata/modules/tripleliftBidAdapter.json b/metadata/modules/tripleliftBidAdapter.json index 709350dbd4a..77215cf0a64 100644 --- a/metadata/modules/tripleliftBidAdapter.json +++ b/metadata/modules/tripleliftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://triplelift.com/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:25.060Z", + "timestamp": "2025-12-12T14:15:38.762Z", "disclosures": [] } }, diff --git a/metadata/modules/trustxBidAdapter.json b/metadata/modules/trustxBidAdapter.json new file mode 100644 index 00000000000..5f4821f2f56 --- /dev/null +++ b/metadata/modules/trustxBidAdapter.json @@ -0,0 +1,13 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": {}, + "components": [ + { + "componentType": "bidder", + "componentName": "trustx", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + } + ] +} \ No newline at end of file diff --git a/metadata/modules/ttdBidAdapter.json b/metadata/modules/ttdBidAdapter.json index fcb2ce966b3..302fc9dc4c4 100644 --- a/metadata/modules/ttdBidAdapter.json +++ b/metadata/modules/ttdBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-12-03T16:38:25.095Z", + "timestamp": "2025-12-12T14:15:38.794Z", "disclosures": [] } }, diff --git a/metadata/modules/twistDigitalBidAdapter.json b/metadata/modules/twistDigitalBidAdapter.json index 60cb3575251..27c2fe4f710 100644 --- a/metadata/modules/twistDigitalBidAdapter.json +++ b/metadata/modules/twistDigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://twistdigital.net/iab.json": { - "timestamp": "2025-12-03T16:38:25.095Z", + "timestamp": "2025-12-12T14:15:38.795Z", "disclosures": [ { "identifier": "vdzj1_{id}", diff --git a/metadata/modules/underdogmediaBidAdapter.json b/metadata/modules/underdogmediaBidAdapter.json index 1ad33a0e9a4..1f14ca9749a 100644 --- a/metadata/modules/underdogmediaBidAdapter.json +++ b/metadata/modules/underdogmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.underdog.media/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:25.150Z", + "timestamp": "2025-12-12T14:15:38.852Z", "disclosures": [] } }, diff --git a/metadata/modules/undertoneBidAdapter.json b/metadata/modules/undertoneBidAdapter.json index 2758f3dbf0d..0e5939e9dd3 100644 --- a/metadata/modules/undertoneBidAdapter.json +++ b/metadata/modules/undertoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.undertone.com/js/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:25.173Z", + "timestamp": "2025-12-12T14:15:38.900Z", "disclosures": [] } }, diff --git a/metadata/modules/unifiedIdSystem.json b/metadata/modules/unifiedIdSystem.json index 9034b9e4288..0ee0e6c21fa 100644 --- a/metadata/modules/unifiedIdSystem.json +++ b/metadata/modules/unifiedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2025-12-03T16:38:25.189Z", + "timestamp": "2025-12-12T14:15:38.915Z", "disclosures": [] } }, diff --git a/metadata/modules/unrulyBidAdapter.json b/metadata/modules/unrulyBidAdapter.json index 264c65b4739..6b2599d2fef 100644 --- a/metadata/modules/unrulyBidAdapter.json +++ b/metadata/modules/unrulyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:25.190Z", + "timestamp": "2025-12-12T14:15:38.916Z", "disclosures": [] } }, diff --git a/metadata/modules/userId.json b/metadata/modules/userId.json index ae8b8917317..886960c10ec 100644 --- a/metadata/modules/userId.json +++ b/metadata/modules/userId.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/userId-optout.json": { - "timestamp": "2025-12-03T16:37:39.024Z", + "timestamp": "2025-12-12T14:14:51.600Z", "disclosures": [ { "identifier": "_pbjs_id_optout", diff --git a/metadata/modules/utiqIdSystem.json b/metadata/modules/utiqIdSystem.json index eb456d79f37..5e198fb4389 100644 --- a/metadata/modules/utiqIdSystem.json +++ b/metadata/modules/utiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:25.191Z", + "timestamp": "2025-12-12T14:15:38.916Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/utiqMtpIdSystem.json b/metadata/modules/utiqMtpIdSystem.json index 6916b8c2fad..71112d6e1cb 100644 --- a/metadata/modules/utiqMtpIdSystem.json +++ b/metadata/modules/utiqMtpIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:25.191Z", + "timestamp": "2025-12-12T14:15:38.917Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/validationFpdModule.json b/metadata/modules/validationFpdModule.json index 11bbfff2180..5d955c2d218 100644 --- a/metadata/modules/validationFpdModule.json +++ b/metadata/modules/validationFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2025-12-03T16:37:39.023Z", + "timestamp": "2025-12-12T14:14:51.599Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/valuadBidAdapter.json b/metadata/modules/valuadBidAdapter.json index a55e70b4f90..04e01d24143 100644 --- a/metadata/modules/valuadBidAdapter.json +++ b/metadata/modules/valuadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.valuad.cloud/tcfdevice.json": { - "timestamp": "2025-12-03T16:38:25.192Z", + "timestamp": "2025-12-12T14:15:38.917Z", "disclosures": [] } }, diff --git a/metadata/modules/vidazooBidAdapter.json b/metadata/modules/vidazooBidAdapter.json index a97e0c4e3ab..676fd037b08 100644 --- a/metadata/modules/vidazooBidAdapter.json +++ b/metadata/modules/vidazooBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidazoo.com/gdpr-tcf/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:25.441Z", + "timestamp": "2025-12-12T14:15:39.117Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/vidoomyBidAdapter.json b/metadata/modules/vidoomyBidAdapter.json index b9138f26725..762bf491eec 100644 --- a/metadata/modules/vidoomyBidAdapter.json +++ b/metadata/modules/vidoomyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidoomy.com/storageurl/devicestoragediscurl.json": { - "timestamp": "2025-12-03T16:38:25.529Z", + "timestamp": "2025-12-12T14:15:39.177Z", "disclosures": [] } }, diff --git a/metadata/modules/viouslyBidAdapter.json b/metadata/modules/viouslyBidAdapter.json index 4ce43a72d0b..a6448fba3a9 100644 --- a/metadata/modules/viouslyBidAdapter.json +++ b/metadata/modules/viouslyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:25.683Z", + "timestamp": "2025-12-12T14:15:39.290Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/visxBidAdapter.json b/metadata/modules/visxBidAdapter.json index d036bff8254..79096d0bd14 100644 --- a/metadata/modules/visxBidAdapter.json +++ b/metadata/modules/visxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.yoc.com/visx/sellers/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:25.684Z", + "timestamp": "2025-12-12T14:15:39.291Z", "disclosures": [ { "identifier": "__vads", diff --git a/metadata/modules/vlybyBidAdapter.json b/metadata/modules/vlybyBidAdapter.json index 6276f35e4d7..55f9966265d 100644 --- a/metadata/modules/vlybyBidAdapter.json +++ b/metadata/modules/vlybyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vlyby.com/conf/iab/gvl.json": { - "timestamp": "2025-12-03T16:38:25.862Z", + "timestamp": "2025-12-12T14:15:39.474Z", "disclosures": [] } }, diff --git a/metadata/modules/voxBidAdapter.json b/metadata/modules/voxBidAdapter.json index 2dfcbe5c4a5..d80a8344604 100644 --- a/metadata/modules/voxBidAdapter.json +++ b/metadata/modules/voxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:25.887Z", + "timestamp": "2025-12-12T14:15:39.704Z", "disclosures": [] } }, diff --git a/metadata/modules/vrtcalBidAdapter.json b/metadata/modules/vrtcalBidAdapter.json index 30c8a9585b5..1209674c367 100644 --- a/metadata/modules/vrtcalBidAdapter.json +++ b/metadata/modules/vrtcalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vrtcal.com/docs/gdpr-tcf-disclosures.json": { - "timestamp": "2025-12-03T16:38:25.887Z", + "timestamp": "2025-12-12T14:15:39.705Z", "disclosures": [] } }, diff --git a/metadata/modules/vuukleBidAdapter.json b/metadata/modules/vuukleBidAdapter.json index c7c25a4ec19..ac17f6cd974 100644 --- a/metadata/modules/vuukleBidAdapter.json +++ b/metadata/modules/vuukleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vuukle.com/data-privacy/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:26.104Z", + "timestamp": "2025-12-12T14:15:39.914Z", "disclosures": [ { "identifier": "vuukle_token", diff --git a/metadata/modules/weboramaRtdProvider.json b/metadata/modules/weboramaRtdProvider.json index 3e3b92c6ea9..6c55bd75b94 100644 --- a/metadata/modules/weboramaRtdProvider.json +++ b/metadata/modules/weboramaRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://weborama.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:26.404Z", + "timestamp": "2025-12-12T14:15:40.198Z", "disclosures": [] } }, diff --git a/metadata/modules/welectBidAdapter.json b/metadata/modules/welectBidAdapter.json index d411c46ba84..b272d1674a0 100644 --- a/metadata/modules/welectBidAdapter.json +++ b/metadata/modules/welectBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.welect.de/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:26.686Z", + "timestamp": "2025-12-12T14:15:40.449Z", "disclosures": [] } }, diff --git a/metadata/modules/yahooAdsBidAdapter.json b/metadata/modules/yahooAdsBidAdapter.json index b1a19554279..10dc89e48f0 100644 --- a/metadata/modules/yahooAdsBidAdapter.json +++ b/metadata/modules/yahooAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2025-12-03T16:38:27.088Z", + "timestamp": "2025-12-12T14:15:40.848Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/yieldlabBidAdapter.json b/metadata/modules/yieldlabBidAdapter.json index 2d376e332b1..9f8006d1c3a 100644 --- a/metadata/modules/yieldlabBidAdapter.json +++ b/metadata/modules/yieldlabBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.yieldlab.net/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:27.089Z", + "timestamp": "2025-12-12T14:15:40.849Z", "disclosures": [] } }, diff --git a/metadata/modules/yieldloveBidAdapter.json b/metadata/modules/yieldloveBidAdapter.json index d89869ff611..df435081806 100644 --- a/metadata/modules/yieldloveBidAdapter.json +++ b/metadata/modules/yieldloveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn-a.yieldlove.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:27.209Z", + "timestamp": "2025-12-12T14:15:40.959Z", "disclosures": [ { "identifier": "session_id", diff --git a/metadata/modules/yieldmoBidAdapter.json b/metadata/modules/yieldmoBidAdapter.json index 85ad88c9716..f3818a328b8 100644 --- a/metadata/modules/yieldmoBidAdapter.json +++ b/metadata/modules/yieldmoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://devicestoragedisclosureurl.yieldmo.com/deviceStorage.json": { - "timestamp": "2025-12-03T16:38:27.230Z", + "timestamp": "2025-12-12T14:15:41.000Z", "disclosures": [] } }, diff --git a/metadata/modules/zeotapIdPlusIdSystem.json b/metadata/modules/zeotapIdPlusIdSystem.json index b4dbd32133c..c93f37d6668 100644 --- a/metadata/modules/zeotapIdPlusIdSystem.json +++ b/metadata/modules/zeotapIdPlusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spl.zeotap.com/assets/iab-disclosure.json": { - "timestamp": "2025-12-03T16:38:27.328Z", + "timestamp": "2025-12-12T14:15:41.063Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_globalBidAdapter.json b/metadata/modules/zeta_globalBidAdapter.json index 38017fb57b0..00ef5796fc3 100644 --- a/metadata/modules/zeta_globalBidAdapter.json +++ b/metadata/modules/zeta_globalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:27.490Z", + "timestamp": "2025-12-12T14:15:41.194Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_global_sspBidAdapter.json b/metadata/modules/zeta_global_sspBidAdapter.json index 13d4e81d1b8..d00064b44a8 100644 --- a/metadata/modules/zeta_global_sspBidAdapter.json +++ b/metadata/modules/zeta_global_sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2025-12-03T16:38:27.597Z", + "timestamp": "2025-12-12T14:15:41.298Z", "disclosures": [] } }, diff --git a/package-lock.json b/package-lock.json index 189b7534837..a6521e4fd94 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.20.0-pre", + "version": "10.20.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.20.0-pre", + "version": "10.20.0", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", @@ -7267,9 +7267,9 @@ } }, "node_modules/baseline-browser-mapping": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.0.tgz", - "integrity": "sha512-Mh++g+2LPfzZToywfE1BUzvZbfOY52Nil0rn9H1CPC5DJ7fX+Vir7nToBeoiSbB1zTNeGYbELEvJESujgGrzXw==", + "version": "2.9.7", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.7.tgz", + "integrity": "sha512-k9xFKplee6KIio3IDbwj+uaCLpqzOwakOgmqzPezM0sFJlFKcg30vk2wOiAJtkTSfx0SSQDSe8q+mWA/fSH5Zg==", "bin": { "baseline-browser-mapping": "dist/cli.js" } @@ -7671,9 +7671,9 @@ "license": "MIT" }, "node_modules/caniuse-lite": { - "version": "1.0.30001759", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001759.tgz", - "integrity": "sha512-Pzfx9fOKoKvevQf8oCXoyNRQ5QyxJj+3O0Rqx2V5oxT61KGx8+n6hV/IUyJeifUci2clnmmKVpvtiqRzgiWjSw==", + "version": "1.0.30001760", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001760.tgz", + "integrity": "sha512-7AAMPcueWELt1p3mi13HR/LHH0TJLT11cnwDJEs3xA4+CK/PLKeO9Kl1oru24htkyUKtkGCvAx4ohB0Ttry8Dw==", "funding": [ { "type": "opencollective", @@ -26535,9 +26535,9 @@ "version": "2.0.0" }, "baseline-browser-mapping": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.0.tgz", - "integrity": "sha512-Mh++g+2LPfzZToywfE1BUzvZbfOY52Nil0rn9H1CPC5DJ7fX+Vir7nToBeoiSbB1zTNeGYbELEvJESujgGrzXw==" + "version": "2.9.7", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.7.tgz", + "integrity": "sha512-k9xFKplee6KIio3IDbwj+uaCLpqzOwakOgmqzPezM0sFJlFKcg30vk2wOiAJtkTSfx0SSQDSe8q+mWA/fSH5Zg==" }, "basic-auth": { "version": "2.0.1", @@ -26806,9 +26806,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001759", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001759.tgz", - "integrity": "sha512-Pzfx9fOKoKvevQf8oCXoyNRQ5QyxJj+3O0Rqx2V5oxT61KGx8+n6hV/IUyJeifUci2clnmmKVpvtiqRzgiWjSw==" + "version": "1.0.30001760", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001760.tgz", + "integrity": "sha512-7AAMPcueWELt1p3mi13HR/LHH0TJLT11cnwDJEs3xA4+CK/PLKeO9Kl1oru24htkyUKtkGCvAx4ohB0Ttry8Dw==" }, "chai": { "version": "4.4.1", diff --git a/package.json b/package.json index fb6e641ee25..8e5dcd22619 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.20.0-pre", + "version": "10.20.0", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From 517e526c0d17958959565afee4ee8da26f652551 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Fri, 12 Dec 2025 14:16:45 +0000 Subject: [PATCH 069/248] Increment version to 10.21.0-pre --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a6521e4fd94..a5a91e2bd75 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.20.0", + "version": "10.21.0-pre", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.20.0", + "version": "10.21.0-pre", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", diff --git a/package.json b/package.json index 8e5dcd22619..3a22ba88dbd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.20.0", + "version": "10.21.0-pre", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From 9585e8f4842a9d2558511951fdd7aaf38c0efcf4 Mon Sep 17 00:00:00 2001 From: cto-clydo Date: Fri, 12 Dec 2025 17:28:19 +0200 Subject: [PATCH 070/248] New adapter: clydo (#13936) * New adapter: clydo * remove contentType option * test fixes * review fixes * response fix --- modules/clydoBidAdapter.js | 101 ++++++++++++++++++++++ modules/clydoBidAdapter.md | 93 ++++++++++++++++++++ test/spec/modules/clydoBidAdapter_spec.js | 75 ++++++++++++++++ 3 files changed, 269 insertions(+) create mode 100644 modules/clydoBidAdapter.js create mode 100644 modules/clydoBidAdapter.md create mode 100644 test/spec/modules/clydoBidAdapter_spec.js diff --git a/modules/clydoBidAdapter.js b/modules/clydoBidAdapter.js new file mode 100644 index 00000000000..1ffdd3df474 --- /dev/null +++ b/modules/clydoBidAdapter.js @@ -0,0 +1,101 @@ +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { deepSetValue, deepAccess, isFn } from '../src/utils.js'; +import { BANNER, VIDEO, NATIVE } from '../src/mediaTypes.js'; +import { ortbConverter } from '../libraries/ortbConverter/converter.js'; + +const BIDDER_CODE = 'clydo'; +const METHOD = 'POST'; +const DEFAULT_CURRENCY = 'USD'; +const params = { + region: "{{region}}", + partnerId: "{{partnerId}}" +} +const BASE_ENDPOINT_URL = `https://${params.region}.clydo.io/${params.partnerId}` + +const converter = ortbConverter({ + context: { + netRevenue: true, + ttl: 30 + }, + bidResponse(buildBidResponse, bid, context) { + context.mediaType = deepAccess(bid, 'ext.mediaType'); + return buildBidResponse(bid, context) + } +}); + +export const spec = { + code: BIDDER_CODE, + supportedMediaTypes: [BANNER, VIDEO, NATIVE], + isBidRequestValid: function(bid) { + if (!bid || !bid.params) return false; + const { partnerId, region } = bid.params; + if (typeof partnerId !== 'string' || partnerId.length === 0) return false; + if (typeof region !== 'string') return false; + const allowedRegions = ['us', 'usw', 'eu', 'apac']; + return allowedRegions.includes(region); + }, + buildRequests: function(validBidRequests, bidderRequest) { + const data = converter.toORTB({bidRequests: validBidRequests, bidderRequest}); + const { partnerId, region } = validBidRequests[0].params; + + if (Array.isArray(data.imp)) { + data.imp.forEach((imp, index) => { + const srcBid = validBidRequests[index] || validBidRequests[0]; + const bidderParams = deepAccess(srcBid, 'params') || {}; + deepSetValue(data, `imp.${index}.ext.clydo`, bidderParams); + + const mediaType = imp.banner ? 'banner' : (imp.video ? 'video' : (imp.native ? 'native' : '*')); + let floor = deepAccess(srcBid, 'floor'); + if (!floor && isFn(srcBid.getFloor)) { + const floorInfo = srcBid.getFloor({currency: DEFAULT_CURRENCY, mediaType, size: '*'}); + if (floorInfo && typeof floorInfo.floor === 'number') { + floor = floorInfo.floor; + } + } + + if (typeof floor === 'number') { + deepSetValue(data, `imp.${index}.bidfloor`, floor); + deepSetValue(data, `imp.${index}.bidfloorcur`, DEFAULT_CURRENCY); + } + }); + } + + const ENDPOINT_URL = BASE_ENDPOINT_URL + .replace(params.partnerId, partnerId) + .replace(params.region, region); + + return [{ + method: METHOD, + url: ENDPOINT_URL, + data + }] + }, + interpretResponse: function(serverResponse, request) { + let bids = []; + let body = serverResponse.body || {}; + if (body) { + const normalized = Array.isArray(body.seatbid) + ? { + ...body, + seatbid: body.seatbid.map(seat => ({ + ...seat, + bid: (seat.bid || []).map(b => { + if (typeof b?.adm === 'string') { + try { + const parsed = JSON.parse(b.adm); + if (parsed && parsed.native && Array.isArray(parsed.native.assets)) { + return {...b, adm: JSON.stringify(parsed.native)}; + } + } catch (e) {} + } + return b; + }) + })) + } + : body; + bids = converter.fromORTB({response: normalized, request: request.data}).bids; + } + return bids; + }, +} +registerBidder(spec); diff --git a/modules/clydoBidAdapter.md b/modules/clydoBidAdapter.md new file mode 100644 index 00000000000..a7ec0b57800 --- /dev/null +++ b/modules/clydoBidAdapter.md @@ -0,0 +1,93 @@ +# Overview + +``` +Module Name: Clydo Bid Adapter +Module Type: Bidder Adapter +Maintainer: cto@clydo.io +``` + +# Description + +The Clydo adapter connects to the Clydo bidding endpoint to request bids using OpenRTB. + +- Supported media types: banner, video, native +- Endpoint is derived from parameters: `https://{region}.clydo.io/{partnerId}` +- Passes GDPR, USP/CCPA, and GPP consent when available +- Propagates `schain` and `userIdAsEids` + +# Bid Params + +- `partnerId` (string, required): Partner identifier provided by Clydo +- `region` (string, required): One of `us`, `usw`, `eu`, `apac` + +# Test Parameters (Banner) +```javascript +var adUnits = [{ + code: '/15185185/prebid_banner_example_1', + mediaTypes: { + banner: { + sizes: [[300, 250], [300, 600]] + } + }, + bids: [{ + bidder: 'clydo', + params: { + partnerId: 'abcdefghij', + region: 'us' + } + }] +}]; +``` + +# Test Parameters (Video) +```javascript +var adUnits = [{ + code: '/15185185/prebid_video_example_1', + mediaTypes: { + video: { + context: 'instream', + playerSize: [[640, 480]], + mimes: ['video/mp4'] + } + }, + bids: [{ + bidder: 'clydo', + params: { + partnerId: 'abcdefghij', + region: 'us' + } + }] +}]; +``` + +# Test Parameters (Native) +```javascript +var adUnits = [{ + code: '/15185185/prebid_native_example_1', + mediaTypes: { + native: { + title: { required: true }, + image: { required: true, sizes: [120, 120] }, + icon: { required: false, sizes: [50, 50] }, + body: { required: false }, + sponsoredBy: { required: false }, + clickUrl: { required: false }, + cta: { required: false } + } + }, + bids: [{ + bidder: 'clydo', + params: { + partnerId: 'abcdefghij', + region: 'us' + } + }] +}]; +``` + +# Notes + +- Floors: If the ad unit implements `getFloor`, the adapter forwards the value as `imp.bidfloor` (USD). +- Consent: When present, the adapter forwards `gdprApplies`/`consentString`, `uspConsent`, and `gpp`/`gpp_sid`. +- Supply Chain and IDs: `schain` is set under `source.ext.schain`; user IDs are forwarded under `user.ext.eids`. + diff --git a/test/spec/modules/clydoBidAdapter_spec.js b/test/spec/modules/clydoBidAdapter_spec.js new file mode 100644 index 00000000000..d26a6fca872 --- /dev/null +++ b/test/spec/modules/clydoBidAdapter_spec.js @@ -0,0 +1,75 @@ +import { expect } from 'chai'; +import { spec } from 'modules/clydoBidAdapter.js'; + +function makeBid(overrides = {}) { + return Object.assign({ + adUnitCode: '/15185185/prebid_example_1', + bidId: 'bid-1', + ortb2: {}, + ortb2Imp: {}, + mediaTypes: { + banner: { sizes: [[300, 250]] } + }, + bidder: 'clydo', + params: { + partnerId: 'abcdefghij', + region: 'us' + } + }, overrides); +} + +describe('clydoBidAdapter', () => { + describe('isBidRequestValid', () => { + it('returns false for missing params', () => { + expect(spec.isBidRequestValid(makeBid({ params: undefined }))).to.equal(false); + }); + it('returns false for invalid region', () => { + expect(spec.isBidRequestValid(makeBid({ params: { partnerId: 'x', region: 'xx' } }))).to.equal(false); + }); + it('returns true for valid params', () => { + expect(spec.isBidRequestValid(makeBid())).to.equal(true); + }); + }); + + describe('buildRequests', () => { + it('builds POST request with endpoint and JSON content type', () => { + const bid = makeBid(); + const reqs = spec.buildRequests([bid], {}); + expect(reqs).to.be.an('array').with.lengthOf(1); + const req = reqs[0]; + expect(req.method).to.equal('POST'); + expect(req.url).to.include('us'); + expect(req.url).to.include('abcdefghij'); + expect(req).to.not.have.property('options'); + expect(req).to.have.property('data'); + }); + + it('adds imp.ext.clydo and bidfloor when available', () => { + const bid = makeBid({ + getFloor: ({ currency }) => ({ floor: 1.5, currency }) + }); + const req = spec.buildRequests([bid], {})[0]; + const data = req.data; + expect(data.imp[0].ext.clydo).to.deep.equal(bid.params); + expect(data.imp[0].bidfloor).to.equal(1.5); + expect(data.imp[0].bidfloorcur).to.equal('USD'); + }); + + describe('banner', () => { + it('builds banner imp when mediaTypes.banner present', () => { + const bid = makeBid({ mediaTypes: { banner: { sizes: [[300, 250]] } } }); + const data = spec.buildRequests([bid], {})[0].data; + expect(data.imp[0]).to.have.property('banner'); + }); + }); + }); + + describe('interpretResponse', () => { + it('returns empty when body is null', () => { + const bid = makeBid(); + const req = spec.buildRequests([bid], {})[0]; + const res = spec.interpretResponse({ body: null }, req); + expect(res).to.be.an('array').that.is.empty; + }); + }); +}); From 58cfdc389b6907b5adef691ac82a7896020636b7 Mon Sep 17 00:00:00 2001 From: Gaina Dan-Lucian <83463253+Dan-Lucian@users.noreply.github.com> Date: Mon, 15 Dec 2025 22:06:51 +0200 Subject: [PATCH 071/248] Connatix Bid Adapter: stop storing ids in cookie (#14265) * added modules and command for fandom build * revert: cnx master changes * feat: stop storing ids in cookie * test: update tests * fix: remove trailing space --------- Co-authored-by: dragos.baci Co-authored-by: DragosBaci <118546616+DragosBaci@users.noreply.github.com> Co-authored-by: Alex --- modules/connatixBidAdapter.js | 20 ++++--------- test/spec/modules/connatixBidAdapter_spec.js | 31 +++++++------------- 2 files changed, 16 insertions(+), 35 deletions(-) diff --git a/modules/connatixBidAdapter.js b/modules/connatixBidAdapter.js index 5ea7d88fa80..4ccb75bdc97 100644 --- a/modules/connatixBidAdapter.js +++ b/modules/connatixBidAdapter.js @@ -31,8 +31,7 @@ const BIDDER_CODE = 'connatix'; const AD_URL = 'https://capi.connatix.com/rtb/hba'; const DEFAULT_MAX_TTL = '3600'; const DEFAULT_CURRENCY = 'USD'; -const CNX_IDS_LOCAL_STORAGE_COOKIES_KEY = 'cnx_user_ids'; -const CNX_IDS_EXPIRY = 24 * 30 * 60 * 60 * 1000; // 30 days +const CNX_IDS_LOCAL_STORAGE_KEY = 'cnx_user_ids'; export const storage = getStorageManager({ bidderCode: BIDDER_CODE }); const ALL_PROVIDERS_RESOLVED_EVENT = 'cnx_all_identity_providers_resolved'; const IDENTITY_PROVIDER_COLLECTION_UPDATED_EVENT = 'cnx_identity_provider_collection_updated'; @@ -197,23 +196,16 @@ export function hasQueryParams(url) { } } -export function saveOnAllStorages(name, value, expirationTimeMs) { - const date = new Date(); - date.setTime(date.getTime() + expirationTimeMs); - const expires = `expires=${date.toUTCString()}`; - storage.setCookie(name, JSON.stringify(value), expires); +export function saveInLocalStorage(name, value) { storage.setDataInLocalStorage(name, JSON.stringify(value)); cnxIdsValues = value; } -export function readFromAllStorages(name) { - const fromCookie = storage.getCookie(name); +export function readFromLocalStorage(name) { const fromLocalStorage = storage.getDataFromLocalStorage(name); - - const parsedCookie = fromCookie ? JSON.parse(fromCookie) : undefined; const parsedLocalStorage = fromLocalStorage ? JSON.parse(fromLocalStorage) : undefined; - return parsedCookie || parsedLocalStorage || undefined; + return parsedLocalStorage || undefined; } export const spec = { @@ -261,7 +253,7 @@ export const spec = { const bidRequests = _getBidRequests(validBidRequests); let userIds; try { - userIds = readFromAllStorages(CNX_IDS_LOCAL_STORAGE_COOKIES_KEY) || cnxIdsValues; + userIds = readFromLocalStorage(CNX_IDS_LOCAL_STORAGE_KEY) || cnxIdsValues; } catch (error) { userIds = cnxIdsValues; } @@ -364,7 +356,7 @@ export const spec = { if (message === ALL_PROVIDERS_RESOLVED_EVENT || message === IDENTITY_PROVIDER_COLLECTION_UPDATED_EVENT) { if (data) { - saveOnAllStorages(CNX_IDS_LOCAL_STORAGE_COOKIES_KEY, data, CNX_IDS_EXPIRY); + saveInLocalStorage(CNX_IDS_LOCAL_STORAGE_KEY, data); } } }, true) diff --git a/test/spec/modules/connatixBidAdapter_spec.js b/test/spec/modules/connatixBidAdapter_spec.js index 7808b135fd8..ce7af687b8d 100644 --- a/test/spec/modules/connatixBidAdapter_spec.js +++ b/test/spec/modules/connatixBidAdapter_spec.js @@ -9,15 +9,14 @@ import { _getViewability as connatixGetViewability, hasQueryParams as connatixHasQueryParams, _isViewabilityMeasurable as connatixIsViewabilityMeasurable, - readFromAllStorages as connatixReadFromAllStorages, - saveOnAllStorages as connatixSaveOnAllStorages, + readFromLocalStorage as connatixReadFromLocalStorage, + saveInLocalStorage as connatixSaveInLocalStorage, spec, storage } from '../../../modules/connatixBidAdapter.js'; import adapterManager from '../../../src/adapterManager.js'; import * as ajax from '../../../src/ajax.js'; import { ADPOD, BANNER, VIDEO } from '../../../src/mediaTypes.js'; -import * as utils from '../../../src/utils.js'; import * as winDimensions from '../../../src/utils/winDimensions.js'; const BIDDER_CODE = 'connatix'; @@ -576,7 +575,7 @@ describe('connatixBidAdapter', function () { describe('buildRequests', function () { let serverRequest; - let setCookieStub, setDataInLocalStorageStub; + let setDataInLocalStorageStub; const bidderRequest = { refererInfo: { canonicalUrl: '', @@ -606,17 +605,14 @@ describe('connatixBidAdapter', function () { this.beforeEach(function () { const mockIdentityProviderData = { mockKey: 'mockValue' }; - const CNX_IDS_EXPIRY = 24 * 30 * 60 * 60 * 1000; - setCookieStub = sinon.stub(storage, 'setCookie'); setDataInLocalStorageStub = sinon.stub(storage, 'setDataInLocalStorage'); - connatixSaveOnAllStorages('test_ids_cnx', mockIdentityProviderData, CNX_IDS_EXPIRY); + connatixSaveInLocalStorage('test_ids_cnx', mockIdentityProviderData); bid = mockBidRequest(); serverRequest = spec.buildRequests([bid], bidderRequest); }) this.afterEach(function() { - setCookieStub.restore(); setDataInLocalStorageStub.restore(); }); @@ -980,9 +976,9 @@ describe('connatixBidAdapter', function () { expect(floor).to.equal(0); }); }); + describe('getUserSyncs with message event listener', function() { - const CNX_IDS_EXPIRY = 24 * 30 * 60 * 60 * 1000; - const CNX_IDS_LOCAL_STORAGE_COOKIES_KEY = 'cnx_user_ids'; + const CNX_IDS_LOCAL_STORAGE_KEY = 'cnx_user_ids'; const ALL_PROVIDERS_RESOLVED_EVENT = 'cnx_all_identity_providers_resolved'; const mockData = { @@ -1005,7 +1001,7 @@ describe('connatixBidAdapter', function () { if (message === ALL_PROVIDERS_RESOLVED_EVENT || message === IDENTITY_PROVIDER_COLLECTION_UPDATED_EVENT) { if (data) { - connatixSaveOnAllStorages(CNX_IDS_LOCAL_STORAGE_COOKIES_KEY, data, CNX_IDS_EXPIRY); + connatixSaveInLocalStorage(CNX_IDS_LOCAL_STORAGE_KEY, data); } } } @@ -1014,12 +1010,9 @@ describe('connatixBidAdapter', function () { beforeEach(() => { sandbox = sinon.createSandbox(); - sandbox.stub(storage, 'setCookie'); sandbox.stub(storage, 'setDataInLocalStorage'); sandbox.stub(window, 'removeEventListener'); - sandbox.stub(storage, 'cookiesAreEnabled').returns(true); sandbox.stub(storage, 'localStorageIsEnabled').returns(true); - sandbox.stub(storage, 'getCookie'); sandbox.stub(storage, 'getDataFromLocalStorage'); }); @@ -1027,7 +1020,7 @@ describe('connatixBidAdapter', function () { sandbox.restore(); }); - it('Should set a cookie and save to local storage when a valid message is received', () => { + it('Should save to local storage when a valid message is received', () => { const fakeEvent = { data: { cnx: { message: 'cnx_all_identity_providers_resolved', data: mockData } }, origin: 'https://cds.connatix.com', @@ -1038,13 +1031,11 @@ describe('connatixBidAdapter', function () { expect(fakeEvent.stopImmediatePropagation.calledOnce).to.be.true; expect(window.removeEventListener.calledWith('message', messageHandler)).to.be.true; - expect(storage.setCookie.calledWith(CNX_IDS_LOCAL_STORAGE_COOKIES_KEY, JSON.stringify(mockData), sinon.match.string)).to.be.true; - expect(storage.setDataInLocalStorage.calledWith(CNX_IDS_LOCAL_STORAGE_COOKIES_KEY, JSON.stringify(mockData))).to.be.true; + expect(storage.setDataInLocalStorage.calledWith(CNX_IDS_LOCAL_STORAGE_KEY, JSON.stringify(mockData))).to.be.true; - storage.getCookie.returns(JSON.stringify(mockData)); storage.getDataFromLocalStorage.returns(JSON.stringify(mockData)); - const retrievedData = connatixReadFromAllStorages(CNX_IDS_LOCAL_STORAGE_COOKIES_KEY); + const retrievedData = connatixReadFromLocalStorage(CNX_IDS_LOCAL_STORAGE_KEY); expect(retrievedData).to.deep.equal(mockData); }); @@ -1059,7 +1050,6 @@ describe('connatixBidAdapter', function () { expect(fakeEvent.stopImmediatePropagation.notCalled).to.be.true; expect(window.removeEventListener.notCalled).to.be.true; - expect(storage.setCookie.notCalled).to.be.true; expect(storage.setDataInLocalStorage.notCalled).to.be.true; }); @@ -1074,7 +1064,6 @@ describe('connatixBidAdapter', function () { expect(fakeEvent.stopImmediatePropagation.notCalled).to.be.true; expect(window.removeEventListener.notCalled).to.be.true; - expect(storage.setCookie.notCalled).to.be.true; expect(storage.setDataInLocalStorage.notCalled).to.be.true; }); }); From 941bbd96d51327670a0827e2d50785874cc709fb Mon Sep 17 00:00:00 2001 From: SmartHubSolutions <87376145+SmartHubSolutions@users.noreply.github.com> Date: Mon, 15 Dec 2025 22:07:52 +0200 Subject: [PATCH 072/248] Attekmi: add region APAC to Markapp (#14258) * Attekmi: add region to Markapp * syntax fix * Markapp uses only http protocol * endpoints update to https --------- Co-authored-by: Victor Co-authored-by: Patrick McCann --- modules/smarthubBidAdapter.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/smarthubBidAdapter.js b/modules/smarthubBidAdapter.js index 3765ae1e1e9..2a896a92499 100644 --- a/modules/smarthubBidAdapter.js +++ b/modules/smarthubBidAdapter.js @@ -34,6 +34,7 @@ const BASE_URLS = { 'attekmi': 'https://prebid.attekmi.co/pbjs', 'smarthub': 'https://prebid.attekmi.co/pbjs', 'markapp': 'https://markapp-prebid.attekmi.co/pbjs', + 'markapp-apac': 'https://markapp-apac-prebid.attekmi.co/pbjs', 'jdpmedia': 'https://jdpmedia-prebid.attekmi.co/pbjs', 'tredio': 'https://tredio-prebid.attekmi.co/pbjs', 'felixads': 'https://felixads-prebid.attekmi.co/pbjs', @@ -52,14 +53,14 @@ const adapterState = {}; const _getPartnerUrl = (partner) => { const region = ALIASES[partner]?.region; - const partnerRegion = region ? `${partner}-${String(region).toLocaleLowerCase()}` : partner; + const partnerName = region ? `${partner}-${String(region).toLocaleLowerCase()}` : partner; const urls = Object.keys(BASE_URLS); - if (urls.includes(partnerRegion)) { - return BASE_URLS[partnerRegion]; + if (urls.includes(partnerName)) { + return BASE_URLS[partnerName]; } - return `${BASE_URLS[BIDDER_CODE]}?partnerName=${partnerRegion}`; + return `${BASE_URLS[BIDDER_CODE]}?partnerName=${partnerName}`; } const _getPartnerName = (bid) => String(bid.params?.partnerName || bid.bidder).toLowerCase(); From 29ff44287c25eb6945a0b4c4839c3c3b7149fe9b Mon Sep 17 00:00:00 2001 From: DimaIntentIQ <139111483+DimaIntentIQ@users.noreply.github.com> Date: Tue, 16 Dec 2025 01:25:41 +0200 Subject: [PATCH 073/248] IntentIq ID Module: AB group updates, bug fixes (#14136) * 0.33 version * AGT-705: AB group by TC (#49) * AGT-705: AB group by TC * Remove extra param in utils method * AGT-705: abTestUuid and abPercentage by user * AGT-705: Fix tests, refactoring * AGT-705: Changes after review * text changes --------- Co-authored-by: DimaIntentIQ * partner callback encrypted string (#47) Co-authored-by: Eyvaz Ahmadzada Co-authored-by: DimaIntentIQ <139111483+DimaIntentIQ@users.noreply.github.com> * Change communication way between modules. (#50) * Change communication way between modules. * Log error refactoring * fix waiting for CH in tests * move action file to action/save folder * fix "success" process in getting Partner data from global object * Share abGroup between modules thru a global object instead of using function in both ones * fix failed test in CI/CD * group related updates * add new parameters related to group * Analytical adapter config updates, GAM fixes --------- Co-authored-by: dmytro-po Co-authored-by: Eyvaz <62054743+eyvazahmadzada@users.noreply.github.com> Co-authored-by: Eyvaz Ahmadzada Co-authored-by: Patrick McCann Co-authored-by: JulianRSL <88969792+JulianRSL@users.noreply.github.com> --- .../intentIqConstants/intentIqConstants.js | 44 +- .../defineABTestingGroupUtils.js | 74 ++ .../intentIqUtils/gamPredictionReport.js | 5 +- modules/intentIqAnalyticsAdapter.js | 216 ++-- modules/intentIqAnalyticsAdapter.md | 13 + modules/intentIqIdSystem.js | 100 +- modules/intentIqIdSystem.md | 4 + .../modules/intentIqAnalyticsAdapter_spec.js | 944 ++++++++++-------- test/spec/modules/intentIqIdSystem_spec.js | 139 ++- 9 files changed, 926 insertions(+), 613 deletions(-) create mode 100644 libraries/intentIqUtils/defineABTestingGroupUtils.js diff --git a/libraries/intentIqConstants/intentIqConstants.js b/libraries/intentIqConstants/intentIqConstants.js index 0992f4c26b3..0fa479a19ad 100644 --- a/libraries/intentIqConstants/intentIqConstants.js +++ b/libraries/intentIqConstants/intentIqConstants.js @@ -1,19 +1,19 @@ -export const FIRST_PARTY_KEY = '_iiq_fdata'; +export const FIRST_PARTY_KEY = "_iiq_fdata"; -export const SUPPORTED_TYPES = ['html5', 'cookie'] +export const SUPPORTED_TYPES = ["html5", "cookie"]; -export const WITH_IIQ = 'A'; -export const WITHOUT_IIQ = 'B'; -export const NOT_YET_DEFINED = 'U'; -export const BLACK_LIST = 'L'; -export const CLIENT_HINTS_KEY = '_iiq_ch'; -export const EMPTY = 'EMPTY'; -export const GVLID = '1323'; -export const VERSION = 0.32; -export const PREBID = 'pbjs'; +export const WITH_IIQ = "A"; +export const WITHOUT_IIQ = "B"; +export const DEFAULT_PERCENTAGE = 95; +export const BLACK_LIST = "L"; +export const CLIENT_HINTS_KEY = "_iiq_ch"; +export const EMPTY = "EMPTY"; +export const GVLID = "1323"; +export const VERSION = 0.33; +export const PREBID = "pbjs"; export const HOURS_24 = 86400000; -export const INVALID_ID = 'INVALID_ID'; +export const INVALID_ID = "INVALID_ID"; export const SYNC_REFRESH_MILL = 3600000; export const META_DATA_CONSTANT = 256; @@ -25,10 +25,24 @@ export const MAX_REQUEST_LENGTH = { opera: 2097152, edge: 2048, firefox: 65536, - ie: 2048 + ie: 2048, }; export const CH_KEYS = [ - 'brands', 'mobile', 'platform', 'bitness', 'wow64', 'architecture', - 'model', 'platformVersion', 'fullVersionList' + "brands", + "mobile", + "platform", + "bitness", + "wow64", + "architecture", + "model", + "platformVersion", + "fullVersionList", ]; + +export const AB_CONFIG_SOURCE = { + PERCENTAGE: "percentage", + GROUP: "group", + IIQ_SERVER: "IIQServer", + DISABLED: "disabled", +}; diff --git a/libraries/intentIqUtils/defineABTestingGroupUtils.js b/libraries/intentIqUtils/defineABTestingGroupUtils.js new file mode 100644 index 00000000000..af810ac278c --- /dev/null +++ b/libraries/intentIqUtils/defineABTestingGroupUtils.js @@ -0,0 +1,74 @@ +import { + WITH_IIQ, + WITHOUT_IIQ, + DEFAULT_PERCENTAGE, + AB_CONFIG_SOURCE, +} from "../intentIqConstants/intentIqConstants.js"; + +/** + * Fix percentage if provided some incorrect data + * clampPct(150) => 100 + * clampPct(-5) => 0 + * clampPct('abc') => DEFAULT_PERCENTAGE + */ +function clampPct(val) { + const n = Number(val); + if (!Number.isFinite(n)) return DEFAULT_PERCENTAGE; // fallback = 95 + return Math.max(0, Math.min(100, n)); +} + +/** + * Randomly assigns a user to group A or B based on the given percentage. + * Generates a random number (1–100) and compares it with the percentage. + * + * @param {number} pct The percentage threshold (0–100). + * @returns {string} Returns WITH_IIQ for Group A or WITHOUT_IIQ for Group B. + */ +function pickABByPercentage(pct) { + const percentageToUse = + typeof pct === "number" ? pct : DEFAULT_PERCENTAGE; + const percentage = clampPct(percentageToUse); + const roll = Math.floor(Math.random() * 100) + 1; + return roll <= percentage ? WITH_IIQ : WITHOUT_IIQ; // A : B +} + +function configurationSourceGroupInitialization(group) { + return typeof group === 'string' && group.toUpperCase() === WITHOUT_IIQ ? WITHOUT_IIQ : WITH_IIQ; +} + +/** + * Determines the runtime A/B testing group without saving it to Local Storage. + * 1. If terminationCause (tc) exists: + * - tc = 41 → Group B (WITHOUT_IIQ) + * - any other value → Group A (WITH_IIQ) + * 2. Otherwise, assigns the group randomly based on DEFAULT_PERCENTAGE (default 95% for A, 5% for B). + * + * @param {number} [tc] The termination cause value returned by the server. + * @param {number} [abPercentage] A/B percentage provided by partner. + * @returns {string} The determined group: WITH_IIQ (A) or WITHOUT_IIQ (B). + */ + +function IIQServerConfigurationSource(tc, abPercentage) { + if (typeof tc === "number" && Number.isFinite(tc)) { + return tc === 41 ? WITHOUT_IIQ : WITH_IIQ; + } + + return pickABByPercentage(abPercentage); +} + +export function defineABTestingGroup(configObject, tc) { + switch (configObject.ABTestingConfigurationSource) { + case AB_CONFIG_SOURCE.GROUP: + return configurationSourceGroupInitialization( + configObject.group + ); + case AB_CONFIG_SOURCE.PERCENTAGE: + return pickABByPercentage(configObject.abPercentage); + default: { + if (!configObject.ABTestingConfigurationSource) { + configObject.ABTestingConfigurationSource = AB_CONFIG_SOURCE.IIQ_SERVER; + } + return IIQServerConfigurationSource(tc, configObject.abPercentage); + } + } +} diff --git a/libraries/intentIqUtils/gamPredictionReport.js b/libraries/intentIqUtils/gamPredictionReport.js index 09db065f494..2191ade6d35 100644 --- a/libraries/intentIqUtils/gamPredictionReport.js +++ b/libraries/intentIqUtils/gamPredictionReport.js @@ -55,6 +55,7 @@ export function gamPredictionReport (gamObjectReference, sendData) { dataToSend.originalCurrency = bid.originalCurrency; dataToSend.status = bid.status; dataToSend.prebidAuctionId = element.args?.auctionId; + if (!dataToSend.bidderCode) dataToSend.bidderCode = 'GAM'; }; if (dataToSend.bidderCode) { const relevantBid = element.args?.bidsReceived.find( @@ -86,12 +87,12 @@ export function gamPredictionReport (gamObjectReference, sendData) { gamObjectReference.pubads().addEventListener('slotRenderEnded', (event) => { if (event.isEmpty) return; const data = extractWinData(event); - if (data?.cpm) { + if (data) { sendData(data); } }); }); } catch (error) { - this.logger.error('Failed to subscribe to GAM: ' + error); + logError('Failed to subscribe to GAM: ' + error); } }; diff --git a/modules/intentIqAnalyticsAdapter.js b/modules/intentIqAnalyticsAdapter.js index 06c9bcb28b4..0710db7532d 100644 --- a/modules/intentIqAnalyticsAdapter.js +++ b/modules/intentIqAnalyticsAdapter.js @@ -2,38 +2,31 @@ import { isPlainObject, logError, logInfo } from '../src/utils.js'; import adapter from '../libraries/analyticsAdapter/AnalyticsAdapter.js'; import adapterManager from '../src/adapterManager.js'; import { ajax } from '../src/ajax.js'; -import { getStorageManager } from '../src/storageManager.js'; -import { config } from '../src/config.js'; import { EVENTS } from '../src/constants.js'; -import { MODULE_TYPE_ANALYTICS } from '../src/activities/modules.js'; import { detectBrowser } from '../libraries/intentIqUtils/detectBrowserUtils.js'; import { appendSPData } from '../libraries/intentIqUtils/urlUtils.js'; import { appendVrrefAndFui, getReferrer } from '../libraries/intentIqUtils/getRefferer.js'; import { getCmpData } from '../libraries/intentIqUtils/getCmpData.js'; import { - CLIENT_HINTS_KEY, - FIRST_PARTY_KEY, VERSION, - PREBID + PREBID, + WITH_IIQ } from '../libraries/intentIqConstants/intentIqConstants.js'; -import { readData, defineStorageType } from '../libraries/intentIqUtils/storageUtils.js'; import { reportingServerAddress } from '../libraries/intentIqUtils/intentIqConfig.js'; import { handleAdditionalParams } from '../libraries/intentIqUtils/handleAdditionalParams.js'; import { gamPredictionReport } from '../libraries/intentIqUtils/gamPredictionReport.js'; +import { defineABTestingGroup } from '../libraries/intentIqUtils/defineABTestingGroupUtils.js'; const MODULE_NAME = 'iiqAnalytics'; const analyticsType = 'endpoint'; -const storage = getStorageManager({ - moduleType: MODULE_TYPE_ANALYTICS, - moduleName: MODULE_NAME -}); const prebidVersion = '$prebid.version$'; export const REPORTER_ID = Date.now() + '_' + getRandom(0, 1000); -const allowedStorage = defineStorageType(config.enabledStorageTypes); let globalName; +let identityGlobalName; let alreadySubscribedOnGAM = false; let reportList = {}; let cleanReportsID; +let iiqConfig; const PARAMS_NAMES = { abTestGroup: 'abGroup', @@ -70,13 +63,10 @@ const PARAMS_NAMES = { partnerId: 'partnerId', firstPartyId: 'pcid', placementId: 'placementId', - adType: 'adType' + adType: 'adType', + abTestUuid: 'abTestUuid', }; -function getIntentIqConfig() { - return config.getConfig('userSync.userIds')?.find((m) => m.name === 'intentIqId'); -} - const DEFAULT_URL = 'https://reports.intentiq.com/report'; const getDataForDefineURL = () => { @@ -86,34 +76,37 @@ const getDataForDefineURL = () => { return [iiqAnalyticsAnalyticsAdapter.initOptions.reportingServerAddress, gdprDetected]; }; -const iiqAnalyticsAnalyticsAdapter = Object.assign(adapter({ url: DEFAULT_URL, analyticsType }), { - initOptions: { - lsValueInitialized: false, +const getDefaultInitOptions = () => { + return { + adapterConfigInitialized: false, partner: null, fpid: null, currentGroup: null, dataInLs: null, eidl: null, - lsIdsInitialized: false, + dataIdsInitialized: false, manualWinReportEnabled: false, domainName: null, siloEnabled: false, reportMethod: null, + abPercentage: null, + abTestUuid: null, additionalParams: null, reportingServerAddress: '' - }, + } +} + +const iiqAnalyticsAnalyticsAdapter = Object.assign(adapter({ url: DEFAULT_URL, analyticsType }), { + initOptions: getDefaultInitOptions(), track({ eventType, args }) { switch (eventType) { case BID_WON: bidWon(args); break; case BID_REQUESTED: - checkAndInitConfig(); - defineGlobalVariableName(); if (!alreadySubscribedOnGAM && shouldSubscribeOnGAM()) { alreadySubscribedOnGAM = true; - const iiqConfig = getIntentIqConfig(); - gamPredictionReport(iiqConfig?.params?.gamObjectReference, bidWon); + gamPredictionReport(iiqConfig?.gamObjectReference, bidWon); } break; default: @@ -126,90 +119,71 @@ const iiqAnalyticsAnalyticsAdapter = Object.assign(adapter({ url: DEFAULT_URL, a const { BID_WON, BID_REQUESTED } = EVENTS; function initAdapterConfig(config) { - if (iiqAnalyticsAnalyticsAdapter.initOptions.lsValueInitialized) return; - const iiqIdSystemConfig = getIntentIqConfig(); - - if (iiqIdSystemConfig) { - const { manualWinReportEnabled, gamPredictReporting, reportMethod, reportingServerAddress: reportEndpoint, adUnitConfig } = config?.options || {} - iiqAnalyticsAnalyticsAdapter.initOptions.lsValueInitialized = true; - iiqAnalyticsAnalyticsAdapter.initOptions.partner = - iiqIdSystemConfig.params?.partner && !isNaN(iiqIdSystemConfig.params.partner) ? iiqIdSystemConfig.params.partner : -1; - - iiqAnalyticsAnalyticsAdapter.initOptions.browserBlackList = - typeof iiqIdSystemConfig.params?.browserBlackList === 'string' - ? iiqIdSystemConfig.params.browserBlackList.toLowerCase() - : ''; - iiqAnalyticsAnalyticsAdapter.initOptions.manualWinReportEnabled = + if (iiqAnalyticsAnalyticsAdapter.initOptions.adapterConfigInitialized) return; + + const options = config?.options || {} + iiqConfig = options + const { manualWinReportEnabled, gamPredictReporting, reportMethod, reportingServerAddress, adUnitConfig, partner, ABTestingConfigurationSource, browserBlackList, domainName, additionalParams } = options + iiqAnalyticsAnalyticsAdapter.initOptions.manualWinReportEnabled = manualWinReportEnabled || false; - iiqAnalyticsAnalyticsAdapter.initOptions.domainName = iiqIdSystemConfig.params?.domainName || ''; - iiqAnalyticsAnalyticsAdapter.initOptions.siloEnabled = - typeof iiqIdSystemConfig.params?.siloEnabled === 'boolean' ? iiqIdSystemConfig.params.siloEnabled : false; - iiqAnalyticsAnalyticsAdapter.initOptions.reportMethod = parseReportingMethod(reportMethod); - iiqAnalyticsAnalyticsAdapter.initOptions.additionalParams = iiqIdSystemConfig.params?.additionalParams || null; - iiqAnalyticsAnalyticsAdapter.initOptions.gamPredictReporting = typeof gamPredictReporting === 'boolean' ? gamPredictReporting : false; - iiqAnalyticsAnalyticsAdapter.initOptions.reportingServerAddress = typeof reportEndpoint === 'string' ? reportEndpoint : ''; - iiqAnalyticsAnalyticsAdapter.initOptions.adUnitConfig = typeof adUnitConfig === 'number' ? adUnitConfig : 1; - } else { - logError('IIQ ANALYTICS -> there is no initialized intentIqIdSystem module') - iiqAnalyticsAnalyticsAdapter.initOptions.lsValueInitialized = false; - iiqAnalyticsAnalyticsAdapter.initOptions.partner = -1; - iiqAnalyticsAnalyticsAdapter.initOptions.reportMethod = 'GET'; - } + iiqAnalyticsAnalyticsAdapter.initOptions.reportMethod = parseReportingMethod(reportMethod); + iiqAnalyticsAnalyticsAdapter.initOptions.gamPredictReporting = typeof gamPredictReporting === 'boolean' ? gamPredictReporting : false; + iiqAnalyticsAnalyticsAdapter.initOptions.reportingServerAddress = typeof reportingServerAddress === 'string' ? reportingServerAddress : ''; + iiqAnalyticsAnalyticsAdapter.initOptions.adUnitConfig = typeof adUnitConfig === 'number' ? adUnitConfig : 1; + iiqAnalyticsAnalyticsAdapter.initOptions.configSource = ABTestingConfigurationSource; + iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup = defineABTestingGroup(options); + iiqAnalyticsAnalyticsAdapter.initOptions.idModuleConfigInitialized = true; + iiqAnalyticsAnalyticsAdapter.initOptions.browserBlackList = + typeof browserBlackList === 'string' + ? browserBlackList.toLowerCase() + : ''; + iiqAnalyticsAnalyticsAdapter.initOptions.domainName = domainName || ''; + iiqAnalyticsAnalyticsAdapter.initOptions.additionalParams = additionalParams || null; + if (!partner) { + logError('IIQ ANALYTICS -> partner ID is missing'); + iiqAnalyticsAnalyticsAdapter.initOptions.partner = -1 + } else iiqAnalyticsAnalyticsAdapter.initOptions.partner = partner + defineGlobalVariableName(); + iiqAnalyticsAnalyticsAdapter.initOptions.adapterConfigInitialized = true } -function initReadLsIds() { +function receivePartnerData() { try { iiqAnalyticsAnalyticsAdapter.initOptions.dataInLs = null; - iiqAnalyticsAnalyticsAdapter.initOptions.fpid = JSON.parse( - readData( - `${FIRST_PARTY_KEY}${ - iiqAnalyticsAnalyticsAdapter.initOptions.siloEnabled - ? '_p_' + iiqAnalyticsAnalyticsAdapter.initOptions.partner - : '' - }`, - allowedStorage, - storage - ) - ); - if (iiqAnalyticsAnalyticsAdapter.initOptions.fpid) { - iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup = iiqAnalyticsAnalyticsAdapter.initOptions.fpid.group; + const FPD = window[identityGlobalName]?.firstPartyData + if (!window[identityGlobalName] || !FPD) { + return false } - const partnerData = readData( - FIRST_PARTY_KEY + '_' + iiqAnalyticsAnalyticsAdapter.initOptions.partner, - allowedStorage, - storage - ); - const clientsHints = readData(CLIENT_HINTS_KEY, allowedStorage, storage) || ''; + iiqAnalyticsAnalyticsAdapter.initOptions.fpid = FPD + const { partnerData, clientsHints = '', actualABGroup } = window[identityGlobalName] if (partnerData) { - iiqAnalyticsAnalyticsAdapter.initOptions.lsIdsInitialized = true; - const pData = JSON.parse(partnerData); - iiqAnalyticsAnalyticsAdapter.initOptions.terminationCause = pData.terminationCause; - iiqAnalyticsAnalyticsAdapter.initOptions.dataInLs = pData.data; - iiqAnalyticsAnalyticsAdapter.initOptions.eidl = pData.eidl || -1; - iiqAnalyticsAnalyticsAdapter.initOptions.clientType = pData.clientType || null; - iiqAnalyticsAnalyticsAdapter.initOptions.siteId = pData.siteId || null; - iiqAnalyticsAnalyticsAdapter.initOptions.wsrvcll = pData.wsrvcll || false; - iiqAnalyticsAnalyticsAdapter.initOptions.rrtt = pData.rrtt || null; + iiqAnalyticsAnalyticsAdapter.initOptions.dataIdsInitialized = true; + iiqAnalyticsAnalyticsAdapter.initOptions.terminationCause = partnerData.terminationCause; + iiqAnalyticsAnalyticsAdapter.initOptions.abTestUuid = partnerData.abTestUuid; + iiqAnalyticsAnalyticsAdapter.initOptions.dataInLs = partnerData.data; + iiqAnalyticsAnalyticsAdapter.initOptions.eidl = partnerData.eidl || -1; + iiqAnalyticsAnalyticsAdapter.initOptions.clientType = partnerData.clientType || null; + iiqAnalyticsAnalyticsAdapter.initOptions.siteId = partnerData.siteId || null; + iiqAnalyticsAnalyticsAdapter.initOptions.wsrvcll = partnerData.wsrvcll || false; + iiqAnalyticsAnalyticsAdapter.initOptions.rrtt = partnerData.rrtt || null; } + if (actualABGroup) { + iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup = actualABGroup; + } iiqAnalyticsAnalyticsAdapter.initOptions.clientsHints = clientsHints; } catch (e) { logError(e); + return false; } } function shouldSubscribeOnGAM() { - const iiqConfig = getIntentIqConfig(); - if (!iiqConfig?.params?.gamObjectReference || !isPlainObject(iiqConfig.params.gamObjectReference)) return false; - const partnerDataFromLS = readData( - FIRST_PARTY_KEY + '_' + iiqAnalyticsAnalyticsAdapter.initOptions.partner, - allowedStorage, - storage - ); + if (!iiqConfig?.gamObjectReference || !isPlainObject(iiqConfig.gamObjectReference)) return false; + const partnerData = window[identityGlobalName]?.partnerData - if (partnerDataFromLS) { - const partnerData = JSON.parse(partnerDataFromLS); + if (partnerData) { return partnerData.gpr || (!('gpr' in partnerData) && iiqAnalyticsAnalyticsAdapter.initOptions.gamPredictReporting); } return false; @@ -228,20 +202,11 @@ export function restoreReportList() { reportList = {}; } -function checkAndInitConfig() { - if (!iiqAnalyticsAnalyticsAdapter.initOptions.lsValueInitialized) { - initAdapterConfig(); - } -} - function bidWon(args, isReportExternal) { - checkAndInitConfig(); - if ( - isNaN(iiqAnalyticsAnalyticsAdapter.initOptions.partner) || - iiqAnalyticsAnalyticsAdapter.initOptions.partner === -1 + isNaN(iiqAnalyticsAnalyticsAdapter.initOptions.partner) ) { - return; + iiqAnalyticsAnalyticsAdapter.initOptions.partner = -1; } const currentBrowserLowerCase = detectBrowser(); if (iiqAnalyticsAnalyticsAdapter.initOptions.browserBlackList?.includes(currentBrowserLowerCase)) { @@ -249,15 +214,13 @@ function bidWon(args, isReportExternal) { return; } - if ( - iiqAnalyticsAnalyticsAdapter.initOptions.lsValueInitialized && - !iiqAnalyticsAnalyticsAdapter.initOptions.lsIdsInitialized - ) { - initReadLsIds(); - } if (shouldSendReport(isReportExternal)) { - const preparedPayload = preparePayload(args, true); + const success = receivePartnerData(); + const preparedPayload = preparePayload(args); if (!preparedPayload) return false; + if (success === false) { + preparedPayload[PARAMS_NAMES.terminationCause] = -1 + } const { url, method, payload } = constructFullUrl(preparedPayload); if (method === 'POST') { ajax(url, undefined, payload, { @@ -292,9 +255,9 @@ function defineGlobalVariableName() { return bidWon(args, true); } - const iiqConfig = getIntentIqConfig(); - const partnerId = iiqConfig?.params?.partner || 0; + const partnerId = iiqConfig?.partner || 0; globalName = `intentIqAnalyticsAdapter_${partnerId}`; + identityGlobalName = `iiq_identity_${partnerId}` window[globalName] = { reportExternalWin }; } @@ -305,26 +268,32 @@ function getRandom(start, end) { export function preparePayload(data) { const result = getDefaultDataObject(); - result[PARAMS_NAMES.partnerId] = iiqAnalyticsAnalyticsAdapter.initOptions.partner; result[PARAMS_NAMES.prebidVersion] = prebidVersion; result[PARAMS_NAMES.referrer] = getReferrer(); result[PARAMS_NAMES.terminationCause] = iiqAnalyticsAnalyticsAdapter.initOptions.terminationCause; - result[PARAMS_NAMES.abTestGroup] = iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup; result[PARAMS_NAMES.clientType] = iiqAnalyticsAnalyticsAdapter.initOptions.clientType; result[PARAMS_NAMES.siteId] = iiqAnalyticsAnalyticsAdapter.initOptions.siteId; result[PARAMS_NAMES.wasServerCalled] = iiqAnalyticsAnalyticsAdapter.initOptions.wsrvcll; result[PARAMS_NAMES.requestRtt] = iiqAnalyticsAnalyticsAdapter.initOptions.rrtt; + result[PARAMS_NAMES.isInTestGroup] = iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup === WITH_IIQ; - result[PARAMS_NAMES.isInTestGroup] = iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup === 'A'; - + if (iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup) { + result[PARAMS_NAMES.abTestGroup] = iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup; + } result[PARAMS_NAMES.agentId] = REPORTER_ID; + if (iiqAnalyticsAnalyticsAdapter.initOptions.abTestUuid) { + result[PARAMS_NAMES.abTestUuid] = iiqAnalyticsAnalyticsAdapter.initOptions.abTestUuid; + } if (iiqAnalyticsAnalyticsAdapter.initOptions.fpid?.pcid) { result[PARAMS_NAMES.firstPartyId] = encodeURIComponent(iiqAnalyticsAnalyticsAdapter.initOptions.fpid.pcid); } if (iiqAnalyticsAnalyticsAdapter.initOptions.fpid?.pid) { result[PARAMS_NAMES.profile] = encodeURIComponent(iiqAnalyticsAnalyticsAdapter.initOptions.fpid.pid); } + if (iiqAnalyticsAnalyticsAdapter.initOptions.configSource) { + result[PARAMS_NAMES.ABTestingConfigurationSource] = iiqAnalyticsAnalyticsAdapter.initOptions.configSource + } prepareData(data, result); if (!reportList[result.placementId] || !reportList[result.placementId][result.prebidAuctionId]) { @@ -346,7 +315,7 @@ export function preparePayload(data) { } function fillEidsData(result) { - if (iiqAnalyticsAnalyticsAdapter.initOptions.lsIdsInitialized) { + if (iiqAnalyticsAnalyticsAdapter.initOptions.dataIdsInitialized) { result[PARAMS_NAMES.hadEidsInLocalStorage] = iiqAnalyticsAnalyticsAdapter.initOptions.eidl && iiqAnalyticsAnalyticsAdapter.initOptions.eidl > 0; result[PARAMS_NAMES.auctionEidsLength] = iiqAnalyticsAnalyticsAdapter.initOptions.eidl || -1; @@ -427,7 +396,6 @@ function getDefaultDataObject() { pbjsver: prebidVersion, partnerAuctionId: 'BW', reportSource: 'pbjs', - abGroup: 'U', jsversion: VERSION, partnerId: -1, biddingPlatformId: 1, @@ -488,6 +456,18 @@ iiqAnalyticsAnalyticsAdapter.enableAnalytics = function (myConfig) { iiqAnalyticsAnalyticsAdapter.originEnableAnalytics(myConfig); // call the base class function initAdapterConfig(myConfig) }; + +iiqAnalyticsAnalyticsAdapter.originDisableAnalytics = iiqAnalyticsAnalyticsAdapter.disableAnalytics; +iiqAnalyticsAnalyticsAdapter.disableAnalytics = function() { + globalName = undefined; + identityGlobalName = undefined; + alreadySubscribedOnGAM = false; + reportList = {}; + cleanReportsID = undefined; + iiqConfig = undefined; + iiqAnalyticsAnalyticsAdapter.initOptions = getDefaultInitOptions() + iiqAnalyticsAnalyticsAdapter.originDisableAnalytics() +}; adapterManager.registerAnalyticsAdapter({ adapter: iiqAnalyticsAnalyticsAdapter, code: MODULE_NAME diff --git a/modules/intentIqAnalyticsAdapter.md b/modules/intentIqAnalyticsAdapter.md index 9389cb7d8ee..42f6167c33b 100644 --- a/modules/intentIqAnalyticsAdapter.md +++ b/modules/intentIqAnalyticsAdapter.md @@ -21,11 +21,22 @@ No registration for this module is required. {: .table .table-bordered .table-striped } | Parameter | Scope | Type | Description | Example | | --- | --- | --- | --- | --- | +| options.partner| Required | Number | This is the partner ID value obtained from registering with IntentIQ. | `1177538` | | options.manualWinReportEnabled | Optional | Boolean | This variable determines whether the bidWon event is triggered automatically. If set to false, the event will occur automatically, and manual reporting with reportExternalWin will be disabled. If set to true, the event will not occur automatically, allowing manual reporting through reportExternalWin. The default value is false. | `false` | | options.reportMethod | Optional | String | Defines the HTTP method used to send the analytics report. If set to `"POST"`, the report payload will be sent in the body of the request. If set to `"GET"` (default), the payload will be included as a query parameter in the request URL. | `"GET"` | | options.reportingServerAddress | Optional | String | The base URL for the IntentIQ reporting server. If parameter is provided in `configParams`, it will be used. | `"https://domain.com"` | | options.adUnitConfig | Optional | Number | Determines how the `placementId` parameter is extracted in the report (default is 1). Possible values: 1 – adUnitCode first, 2 – placementId first, 3 – only adUnitCode, 4 – only placementId. | `1` | | options.gamPredictReporting | Optional | Boolean | This variable controls whether the GAM prediction logic is enabled or disabled. The main purpose of this logic is to extract information from a rendered GAM slot when no Prebid bidWon event is available. In that case, we take the highest CPM from the current auction and add 0.01 to that value. | `false` | +| options.ABTestingConfigurationSource | Optional | String | Determines how AB group will be defined. Possible values: `"IIQServer"` – group defined by IIQ server, `"percentage"` – generated group based on abPercentage, `"group"` – define group based on value provided by partner. | `IIQServer` | +| options.abPercentage | Optional | Number | Percentage for A/B testing group. Default value is `95` | `95` | +| options.group | Optional | String | Define group provided by partner, possible values: `"A"`, `"B"` | `"A"` | +| options.gamObjectReference | Optional | Object | This is a reference to the Google Ad Manager (GAM) object, which will be used to set targeting. If this parameter is not provided, the group reporting will not be configured.| `googletag`| +| options.browserBlackList | Optional | String | This is the name of a browser that can be added to a blacklist.| `"chrome"`| +| options.domainName | Optional | String | Specifies the domain of the page in which the IntentIQ object is currently running and serving the impression. This domain will be used later in the revenue reporting breakdown by domain. For example, cnn.com. It identifies the primary source of requests to the IntentIQ servers, even within nested web pages.| `"currentDomain.com"`| +| options. additionalParams | Optional | Array | This parameter allows sending additional custom key-value parameters with specific destination logic (sync, VR, winreport). Each custom parameter is defined as an object in the array. | `[ { parameterName: “abc”, parameterValue: 123, destination: [1,1,0] } ]` | +| options. additionalParams[0].parameterName | Required | String | Name of the custom parameter. This will be sent as a query parameter. | `"abc"` | +| options. additionalParams[0].parameterValue | Required | String / Number | Value to assign to the parameter. | `123` | +| options. additionalParams[0].destination | Required | Array | Array of numbers either `1` or `0`. Controls where this parameter is sent `[sendWithSync, sendWithVr, winreport]`. | `[1, 0, 0]` | #### Example Configuration @@ -33,9 +44,11 @@ No registration for this module is required. pbjs.enableAnalytics({ provider: 'iiqAnalytics', options: { + partner: 1177538, manualWinReportEnabled: false, reportMethod: "GET", adUnitConfig: 1, + domainName: "currentDomain.com", gamPredictReporting: false } }); diff --git a/modules/intentIqIdSystem.js b/modules/intentIqIdSystem.js index 53755afa050..73433dce0e4 100644 --- a/modules/intentIqIdSystem.js +++ b/modules/intentIqIdSystem.js @@ -16,8 +16,6 @@ import { getCmpData } from '../libraries/intentIqUtils/getCmpData.js'; import {readData, storeData, defineStorageType, removeDataByKey, tryParse} from '../libraries/intentIqUtils/storageUtils.js'; import { FIRST_PARTY_KEY, - WITH_IIQ, WITHOUT_IIQ, - NOT_YET_DEFINED, CLIENT_HINTS_KEY, EMPTY, GVLID, @@ -28,6 +26,7 @@ import {SYNC_KEY} from '../libraries/intentIqUtils/getSyncKey.js'; import {iiqPixelServerAddress, iiqServerAddress} from '../libraries/intentIqUtils/intentIqConfig.js'; import { handleAdditionalParams } from '../libraries/intentIqUtils/handleAdditionalParams.js'; import { decryptData, encryptData } from '../libraries/intentIqUtils/cryptionUtils.js'; +import { defineABTestingGroup } from '../libraries/intentIqUtils/defineABTestingGroupUtils.js'; /** * @typedef {import('../modules/userId/index.js').Submodule} Submodule @@ -50,6 +49,7 @@ const encoderCH = { }; let sourceMetaData; let sourceMetaDataExternal; +let globalName = '' let FIRST_PARTY_KEY_FINAL = FIRST_PARTY_KEY; let PARTNER_DATA_KEY; @@ -58,6 +58,9 @@ let failCount = 0; let noDataCount = 0; export let firstPartyData; +let partnerData; +let clientHints; +let actualABGroup /** * Generate standard UUID string @@ -143,6 +146,15 @@ function addMetaData(url, data) { return url + '&fbp=' + data; } +export function initializeGlobalIIQ (partnerId) { + if (!globalName || !window[globalName]) { + globalName = `iiq_identity_${partnerId}` + window[globalName] = {} + return true + } + return false +} + export function createPixelUrl(firstPartyData, clientHints, configParams, partnerData, cmpData) { const browser = detectBrowser(); @@ -198,7 +210,7 @@ export function setGamReporting(gamObjectReference, gamParameterName, userGroup, gamObjectReference.cmd.push(() => { gamObjectReference .pubads() - .setTargeting(gamParameterName, userGroup || NOT_YET_DEFINED); + .setTargeting(gamParameterName, userGroup); }); } } @@ -289,9 +301,11 @@ export const intentIqIdSubmodule = { if (configParams.callback && !callbackFired) { callbackFired = true; if (callbackTimeoutID) clearTimeout(callbackTimeoutID); - if (isGroupB) runtimeEids = { eids: [] }; - configParams.callback(runtimeEids); + let data = runtimeEids; + if (data?.eids?.length === 1 && typeof data.eids[0] === 'string') data = data.eids[0]; + configParams.callback(data); } + updateGlobalObj() } if (typeof configParams.partner !== 'number') { @@ -300,6 +314,8 @@ export const intentIqIdSubmodule = { return; } + initializeGlobalIIQ(configParams.partner) + let decryptedData, callbackTimeoutID; let callbackFired = false; let runtimeEids = { eids: [] }; @@ -315,23 +331,23 @@ export const intentIqIdSubmodule = { PARTNER_DATA_KEY = `${FIRST_PARTY_KEY}_${configParams.partner}`; const allowedStorage = defineStorageType(config.enabledStorageTypes); + partnerData = tryParse(readData(PARTNER_DATA_KEY, allowedStorage)) || {}; let rrttStrtTime = 0; - let partnerData = {}; let shouldCallServer = false; FIRST_PARTY_KEY_FINAL = `${FIRST_PARTY_KEY}${siloEnabled ? '_p_' + configParams.partner : ''}`; const cmpData = getCmpData(); const gdprDetected = cmpData.gdprString; firstPartyData = tryParse(readData(FIRST_PARTY_KEY_FINAL, allowedStorage)); - const isGroupB = firstPartyData?.group === WITHOUT_IIQ; + actualABGroup = defineABTestingGroup(configParams, partnerData?.terminationCause); const currentBrowserLowerCase = detectBrowser(); const browserBlackList = typeof configParams.browserBlackList === 'string' ? configParams.browserBlackList.toLowerCase() : ''; const isBlacklisted = browserBlackList?.includes(currentBrowserLowerCase); let newUser = false; - setGamReporting(gamObjectReference, gamParameterName, firstPartyData?.group, isBlacklisted); + setGamReporting(gamObjectReference, gamParameterName, actualABGroup, isBlacklisted); - if (groupChanged) groupChanged(firstPartyData?.group || NOT_YET_DEFINED); + if (groupChanged) groupChanged(actualABGroup, partnerData?.terminationCause); callbackTimeoutID = setTimeout(() => { firePartnerCallback(); @@ -343,7 +359,6 @@ export const intentIqIdSubmodule = { firstPartyData = { pcid: firstPartyId, pcidDate: Date.now(), - group: NOT_YET_DEFINED, uspString: EMPTY, gppString: EMPTY, gdprString: EMPTY, @@ -361,7 +376,7 @@ export const intentIqIdSubmodule = { } // Read client hints from storage - let clientHints = readData(CLIENT_HINTS_KEY, allowedStorage); + clientHints = readData(CLIENT_HINTS_KEY, allowedStorage); const chSupported = isCHSupported(); let chPromise = null; @@ -401,18 +416,12 @@ export const intentIqIdSubmodule = { return Promise.race([chPromise, timeout]); } - const savedData = tryParse(readData(PARTNER_DATA_KEY, allowedStorage)) - if (savedData) { - partnerData = savedData; - - if (typeof partnerData.callCount === 'number') callCount = partnerData.callCount; - if (typeof partnerData.failCount === 'number') failCount = partnerData.failCount; - if (typeof partnerData.noDataCounter === 'number') noDataCount = partnerData.noDataCounter; - - if (partnerData.wsrvcll) { - partnerData.wsrvcll = false; - storeData(PARTNER_DATA_KEY, JSON.stringify(partnerData), allowedStorage, firstPartyData); - } + if (typeof partnerData.callCount === 'number') callCount = partnerData.callCount; + if (typeof partnerData.failCount === 'number') failCount = partnerData.failCount; + if (typeof partnerData.noDataCounter === 'number') noDataCount = partnerData.noDataCounter; + if (partnerData.wsrvcll) { + partnerData.wsrvcll = false; + storeData(PARTNER_DATA_KEY, JSON.stringify(partnerData), allowedStorage, firstPartyData); } if (partnerData.data) { @@ -422,9 +431,19 @@ export const intentIqIdSubmodule = { } } + function updateGlobalObj () { + if (globalName) { + window[globalName].partnerData = partnerData + window[globalName].firstPartyData = firstPartyData + window[globalName].clientHints = clientHints + window[globalName].actualABGroup = actualABGroup + } + } + + let hasPartnerData = !!Object.keys(partnerData).length; if (!isCMPStringTheSame(firstPartyData, cmpData) || !firstPartyData.sCal || - (savedData && (!partnerData.cttl || !partnerData.date || Date.now() - partnerData.date > partnerData.cttl))) { + (hasPartnerData && (!partnerData.cttl || !partnerData.date || Date.now() - partnerData.date > partnerData.cttl))) { firstPartyData.uspString = cmpData.uspString; firstPartyData.gppString = cmpData.gppString; firstPartyData.gdprString = cmpData.gdprString; @@ -433,7 +452,7 @@ export const intentIqIdSubmodule = { storeData(PARTNER_DATA_KEY, JSON.stringify(partnerData), allowedStorage, firstPartyData); } if (!shouldCallServer) { - if (!savedData && !firstPartyData.isOptedOut) { + if (!hasPartnerData && !firstPartyData.isOptedOut) { shouldCallServer = true; } else shouldCallServer = Date.now() > firstPartyData.sCal + HOURS_24; } @@ -443,7 +462,7 @@ export const intentIqIdSubmodule = { firePartnerCallback() } - if (firstPartyData.group === WITHOUT_IIQ || (firstPartyData.group !== WITHOUT_IIQ && runtimeEids?.eids?.length)) { + if (runtimeEids?.eids?.length) { firePartnerCallback() } @@ -471,12 +490,13 @@ export const intentIqIdSubmodule = { } if (!shouldCallServer) { - if (isGroupB) runtimeEids = { eids: [] }; firePartnerCallback(); updateCountersAndStore(runtimeEids, allowedStorage, partnerData); return { id: runtimeEids.eids }; } + updateGlobalObj() // update global object before server request, to make sure analytical adapter will have it even if the server is "not in time" + // use protocol relative urls for http or https let url = `${iiqServerAddress(configParams, gdprDetected)}/profiles_engine/ProfilesEngineServlet?at=39&mi=10&dpi=${configParams.partner}&pt=17&dpn=1`; url += configParams.pai ? '&pai=' + encodeURIComponent(configParams.pai) : ''; @@ -488,11 +508,12 @@ export const intentIqIdSubmodule = { url += '&japs=' + encodeURIComponent(configParams.siloEnabled === true); url = appendCounters(url); url += VERSION ? '&jsver=' + VERSION : ''; - url += firstPartyData?.group ? '&testGroup=' + encodeURIComponent(firstPartyData.group) : ''; + url += actualABGroup ? '&testGroup=' + encodeURIComponent(actualABGroup) : ''; url = addMetaData(url, sourceMetaDataExternal || sourceMetaData); url = handleAdditionalParams(currentBrowserLowerCase, url, 1, additionalParams); url = appendSPData(url, firstPartyData) url += '&source=' + PREBID; + url += '&ABTestingConfigurationSource=' + configParams.ABTestingConfigurationSource // Add vrref and fui to the URL url = appendVrrefAndFui(url, configParams.domainName); @@ -524,18 +545,10 @@ export const intentIqIdSubmodule = { if ('tc' in respJson) { partnerData.terminationCause = respJson.tc; - if (Number(respJson.tc) === 41) { - firstPartyData.group = WITHOUT_IIQ; - storeData(FIRST_PARTY_KEY_FINAL, JSON.stringify(firstPartyData), allowedStorage, firstPartyData); - if (groupChanged) groupChanged(firstPartyData.group); - defineEmptyDataAndFireCallback(); - if (gamObjectReference) setGamReporting(gamObjectReference, gamParameterName, firstPartyData.group); - return - } else { - firstPartyData.group = WITH_IIQ; - if (gamObjectReference) setGamReporting(gamObjectReference, gamParameterName, firstPartyData.group); - if (groupChanged) groupChanged(firstPartyData.group); - } + actualABGroup = defineABTestingGroup(configParams, respJson.tc,); + + if (gamObjectReference) setGamReporting(gamObjectReference, gamParameterName, actualABGroup); + if (groupChanged) groupChanged(actualABGroup, partnerData?.terminationCause); } if ('isOptedOut' in respJson) { if (respJson.isOptedOut !== firstPartyData.isOptedOut) { @@ -592,6 +605,13 @@ export const intentIqIdSubmodule = { // server provided data firstPartyData.spd = respJson.spd; } + + if ('abTestUuid' in respJson) { + if ('ls' in respJson && respJson.ls === true) { + partnerData.abTestUuid = respJson.abTestUuid; + } + } + if ('gpr' in respJson) { // GAM prediction reporting partnerData.gpr = respJson.gpr; diff --git a/modules/intentIqIdSystem.md b/modules/intentIqIdSystem.md index bf561649566..7597ba90fbf 100644 --- a/modules/intentIqIdSystem.md +++ b/modules/intentIqIdSystem.md @@ -53,6 +53,9 @@ Please find below list of parameters that could be used in configuring Intent IQ | params.siloEnabled | Optional | Boolean | Determines if first-party data is stored in a siloed storage key. When set to `true`, first-party data is stored under a modified key that appends `_p_` plus the partner value rather than using the default storage key. The default value is `false`. | `true` | | params.groupChanged | Optional | Function | A callback that is triggered every time the user’s A/B group is set or updated. |`(group) => console.log('Group changed:', group)` | | params.chTimeout | Optional | Number | Maximum time (in milliseconds) to wait for Client Hints from the browser before sending request. Default value is `10ms` | `30` | +| params. ABTestingConfigurationSource| Optional | String | Determines how AB group will be defined. Possible values: `"IIQServer"` – group defined by IIQ server, `"percentage"` – generated group based on abPercentage, `"group"` – define group based on value provided by partner. | `IIQServer` | +| params.abPercentage | Optional | Number | Percentage for A/B testing group. Default value is `95` | `95` | +| params.group | Optional | String | Define group provided by partner, possible values: `"A"`, `"B"` | `"A"` | | params.additionalParams | Optional | Array | This parameter allows sending additional custom key-value parameters with specific destination logic (sync, VR, winreport). Each custom parameter is defined as an object in the array. | `[ { parameterName: “abc”, parameterValue: 123, destination: [1,1,0] } ]` | | params.additionalParams [0].parameterName | Required | String | Name of the custom parameter. This will be sent as a query parameter. | `"abc"` | | params.additionalParams [0].parameterValue | Required | String / Number | Value to assign to the parameter. | `123` | @@ -77,6 +80,7 @@ pbjs.setConfig({ sourceMetaData: "123.123.123.123", // Optional parameter sourceMetaDataExternal: 123456, // Optional parameter chTimeout: 10, // Optional parameter + abPercentage: 95 //Optional parameter additionalParams: [ // Optional parameter { parameterName: "abc", diff --git a/test/spec/modules/intentIqAnalyticsAdapter_spec.js b/test/spec/modules/intentIqAnalyticsAdapter_spec.js index 664c6041ec8..e93b6ec1915 100644 --- a/test/spec/modules/intentIqAnalyticsAdapter_spec.js +++ b/test/spec/modules/intentIqAnalyticsAdapter_spec.js @@ -1,103 +1,127 @@ -import { expect } from 'chai'; -import iiqAnalyticsAnalyticsAdapter from 'modules/intentIqAnalyticsAdapter.js'; -import * as utils from 'src/utils.js'; -import { server } from 'test/mocks/xhr.js'; -import { config } from 'src/config.js'; -import { EVENTS } from 'src/constants.js'; -import * as events from 'src/events.js'; -import { getStorageManager } from 'src/storageManager.js'; -import sinon from 'sinon'; -import { REPORTER_ID, preparePayload, restoreReportList } from '../../../modules/intentIqAnalyticsAdapter.js'; -import { FIRST_PARTY_KEY, PREBID, VERSION } from '../../../libraries/intentIqConstants/intentIqConstants.js'; -import * as detectBrowserUtils from '../../../libraries/intentIqUtils/detectBrowserUtils.js'; -import { getReferrer, appendVrrefAndFui } from '../../../libraries/intentIqUtils/getRefferer.js'; -import { gppDataHandler, uspDataHandler, gdprDataHandler } from '../../../src/consentHandler.js'; +import { expect } from "chai"; +import iiqAnalyticsAnalyticsAdapter from "modules/intentIqAnalyticsAdapter.js"; +import * as utils from "src/utils.js"; +import { server } from "test/mocks/xhr.js"; +import { EVENTS } from "src/constants.js"; +import * as events from "src/events.js"; +import sinon from "sinon"; +import { + REPORTER_ID, + preparePayload, + restoreReportList, +} from "../../../modules/intentIqAnalyticsAdapter.js"; +import { + FIRST_PARTY_KEY, + PREBID, + VERSION, + WITHOUT_IIQ, + WITH_IIQ, + AB_CONFIG_SOURCE, +} from "../../../libraries/intentIqConstants/intentIqConstants.js"; +import * as detectBrowserUtils from "../../../libraries/intentIqUtils/detectBrowserUtils.js"; +import { + getReferrer, + appendVrrefAndFui, +} from "../../../libraries/intentIqUtils/getRefferer.js"; +import { + gppDataHandler, + uspDataHandler, + gdprDataHandler, +} from "../../../src/consentHandler.js"; const partner = 10; -const defaultData = '{"pcid":"f961ffb1-a0e1-4696-a9d2-a21d815bd344", "group": "A"}'; +const defaultIdentityObject = { + firstPartyData: { + pcid: "f961ffb1-a0e1-4696-a9d2-a21d815bd344", + pcidDate: 1762527405808, + uspString: "undefined", + gppString: "undefined", + gdprString: "", + date: Date.now(), + sCal: Date.now() - 36000, + isOptedOut: false, + pid: "profile", + dbsaved: "true", + spd: "spd", + }, + partnerData: { + abTestUuid: "abTestUuid", + adserverDeviceType: 1, + clientType: 2, + cttl: 43200000, + date: Date.now(), + profile: "profile", + wsrvcll: true, + }, + clientHints: { + 0: '"Chromium";v="142", "Google Chrome";v="142", "Not_A Brand";v="99"', + 1: "?0", + 2: '"macOS"', + 3: '"arm"', + 4: '"64"', + 6: '"15.6.1"', + 7: "?0", + 8: '"Chromium";v="142.0.7444.60", "Google Chrome";v="142.0.7444.60", "Not_A Brand";v="99.0.0.0"', + }, +}; const version = VERSION; -const REPORT_ENDPOINT = 'https://reports.intentiq.com/report'; -const REPORT_ENDPOINT_GDPR = 'https://reports-gdpr.intentiq.com/report'; -const REPORT_SERVER_ADDRESS = 'https://test-reports.intentiq.com/report'; +const REPORT_ENDPOINT = "https://reports.intentiq.com/report"; +const REPORT_ENDPOINT_GDPR = "https://reports-gdpr.intentiq.com/report"; +const REPORT_SERVER_ADDRESS = "https://test-reports.intentiq.com/report"; -const storage = getStorageManager({ moduleType: 'analytics', moduleName: 'iiqAnalytics' }); +const randomVal = () => Math.floor(Math.random() * 100000) + 1; -const randomVal = () => Math.floor(Math.random() * 100000) + 1 - -const getUserConfig = () => [ - { - 'name': 'intentIqId', - 'params': { - 'partner': partner, - 'unpack': null, - 'manualWinReportEnabled': false, - }, - 'storage': { - 'type': 'html5', - 'name': 'intentIqId', - 'expires': 60, - 'refreshInSeconds': 14400 - } +const getDefaultConfig = () => { + return { + partner, + manualWinReportEnabled: false, } -]; - -const getUserConfigWithReportingServerAddress = () => [ - { - 'name': 'intentIqId', - 'params': { - 'partner': partner, - 'unpack': null, - }, - 'storage': { - 'type': 'html5', - 'name': 'intentIqId', - 'expires': 60, - 'refreshInSeconds': 14400 - } - } -]; +} const getWonRequest = () => ({ - 'bidderCode': 'pubmatic', - 'width': 728, - 'height': 90, - 'statusMessage': 'Bid available', - 'adId': '23caeb34c55da51', - 'requestId': '87615b45ca4973', - 'transactionId': '5e69fd76-8c86-496a-85ce-41ae55787a50', - 'auctionId': '0cbd3a43-ff45-47b8-b002-16d3946b23bf-' + randomVal(), - 'mediaType': 'banner', - 'source': 'client', - 'cpm': 5, - 'currency': 'USD', - 'ttl': 300, - 'referrer': '', - 'adapterCode': 'pubmatic', - 'originalCpm': 5, - 'originalCurrency': 'USD', - 'responseTimestamp': 1669644710345, - 'requestTimestamp': 1669644710109, - 'bidder': 'testbidder', - 'timeToRespond': 236, - 'pbLg': '5.00', - 'pbMg': '5.00', - 'pbHg': '5.00', - 'pbAg': '5.00', - 'pbDg': '5.00', - 'pbCg': '', - 'size': '728x90', - 'status': 'rendered' + bidderCode: "pubmatic", + width: 728, + height: 90, + statusMessage: "Bid available", + adId: "23caeb34c55da51", + requestId: "87615b45ca4973", + transactionId: "5e69fd76-8c86-496a-85ce-41ae55787a50", + auctionId: "0cbd3a43-ff45-47b8-b002-16d3946b23bf-" + randomVal(), + mediaType: "banner", + source: "client", + cpm: 5, + currency: "USD", + ttl: 300, + referrer: "", + adapterCode: "pubmatic", + originalCpm: 5, + originalCurrency: "USD", + responseTimestamp: 1669644710345, + requestTimestamp: 1669644710109, + bidder: "testbidder", + timeToRespond: 236, + pbLg: "5.00", + pbMg: "5.00", + pbHg: "5.00", + pbAg: "5.00", + pbDg: "5.00", + pbCg: "", + size: "728x90", + status: "rendered", }); -const enableAnalyticWithSpecialOptions = (options) => { - iiqAnalyticsAnalyticsAdapter.disableAnalytics() +const enableAnalyticWithSpecialOptions = (receivedOptions) => { + iiqAnalyticsAnalyticsAdapter.disableAnalytics(); iiqAnalyticsAnalyticsAdapter.enableAnalytics({ - provider: 'iiqAnalytics', - options - }) -} + provider: "iiqAnalytics", + options: { + ...getDefaultConfig(), + ...receivedOptions + }, + }); +}; -describe('IntentIQ tests all', function () { +describe("IntentIQ tests all", function () { let logErrorStub; let getWindowSelfStub; let getWindowTopStub; @@ -105,12 +129,8 @@ describe('IntentIQ tests all', function () { let detectBrowserStub; beforeEach(function () { - logErrorStub = sinon.stub(utils, 'logError'); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns(getUserConfig()); - sinon.stub(events, 'getEvents').returns([]); - iiqAnalyticsAnalyticsAdapter.enableAnalytics({ - provider: 'iiqAnalytics', - }); + logErrorStub = sinon.stub(utils, "logError"); + sinon.stub(events, "getEvents").returns([]); iiqAnalyticsAnalyticsAdapter.initOptions = { lsValueInitialized: false, partner: null, @@ -121,12 +141,17 @@ describe('IntentIQ tests all', function () { eidl: null, lsIdsInitialized: false, manualWinReportEnabled: false, - domainName: null + domainName: null, }; + iiqAnalyticsAnalyticsAdapter.enableAnalytics({ + provider: "iiqAnalytics", + options: getDefaultConfig() + }); if (iiqAnalyticsAnalyticsAdapter.track.restore) { iiqAnalyticsAnalyticsAdapter.track.restore(); } - sinon.spy(iiqAnalyticsAnalyticsAdapter, 'track'); + sinon.spy(iiqAnalyticsAnalyticsAdapter, "track"); + window[`iiq_identity_${partner}`] = defaultIdentityObject; }); afterEach(function () { @@ -135,7 +160,6 @@ describe('IntentIQ tests all', function () { if (getWindowTopStub) getWindowTopStub.restore(); if (getWindowLocationStub) getWindowLocationStub.restore(); if (detectBrowserStub) detectBrowserStub.restore(); - config.getConfig.restore(); events.getEvents.restore(); iiqAnalyticsAnalyticsAdapter.disableAnalytics(); if (iiqAnalyticsAnalyticsAdapter.track.restore) { @@ -143,20 +167,15 @@ describe('IntentIQ tests all', function () { } localStorage.clear(); server.reset(); + delete window[`iiq_identity_${partner}`] }); - it('should send POST request with payload in request body if reportMethod is POST', function () { + it("should send POST request with payload in request body if reportMethod is POST", function () { enableAnalyticWithSpecialOptions({ - reportMethod: 'POST' - }) - const [userConfig] = getUserConfig(); + reportMethod: "POST", + }); const wonRequest = getWonRequest(); - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns([userConfig]); - - localStorage.setItem(FIRST_PARTY_KEY, defaultData); - events.emit(EVENTS.BID_WON, wonRequest); const request = server.requests[0]; @@ -165,25 +184,21 @@ describe('IntentIQ tests all', function () { const expectedData = preparePayload(wonRequest); const expectedPayload = `["${btoa(JSON.stringify(expectedData))}"]`; - expect(request.method).to.equal('POST'); + expect(request.method).to.equal("POST"); expect(request.requestBody).to.equal(expectedPayload); }); - it('should send GET request with payload in query string if reportMethod is NOT provided', function () { - const [userConfig] = getUserConfig(); + it("should send GET request with payload in query string if reportMethod is NOT provided", function () { const wonRequest = getWonRequest(); - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns([userConfig]); - localStorage.setItem(FIRST_PARTY_KEY, defaultData); events.emit(EVENTS.BID_WON, wonRequest); const request = server.requests[0]; - expect(request.method).to.equal('GET'); + expect(request.method).to.equal("GET"); const url = new URL(request.url); - const payloadEncoded = url.searchParams.get('payload'); + const payloadEncoded = url.searchParams.get("payload"); const decoded = JSON.parse(atob(JSON.parse(payloadEncoded)[0])); restoreReportList(); @@ -194,66 +209,79 @@ describe('IntentIQ tests all', function () { expect(decoded.prebidAuctionId).to.equal(expected.prebidAuctionId); }); - it('IIQ Analytical Adapter bid win report', function () { - localStorage.setItem(FIRST_PARTY_KEY, defaultData); - getWindowLocationStub = sinon.stub(utils, 'getWindowLocation').returns({ href: 'http://localhost:9876' }); + it("IIQ Analytical Adapter bid win report", function () { + getWindowLocationStub = sinon + .stub(utils, "getWindowLocation") + .returns({ href: "http://localhost:9876" }); const expectedVrref = getWindowLocationStub().href; events.emit(EVENTS.BID_WON, getWonRequest()); expect(server.requests.length).to.be.above(0); const request = server.requests[0]; const parsedUrl = new URL(request.url); - const vrref = parsedUrl.searchParams.get('vrref'); - expect(request.url).to.contain(REPORT_ENDPOINT + '?pid=' + partner + '&mct=1'); + const vrref = parsedUrl.searchParams.get("vrref"); + expect(request.url).to.contain( + REPORT_ENDPOINT + "?pid=" + partner + "&mct=1" + ); expect(request.url).to.contain(`&jsver=${version}`); - expect(`&vrref=${decodeURIComponent(vrref)}`).to.contain(`&vrref=${expectedVrref}`); - expect(request.url).to.contain('&payload='); - expect(request.url).to.contain('iiqid=f961ffb1-a0e1-4696-a9d2-a21d815bd344'); + expect(`&vrref=${decodeURIComponent(vrref)}`).to.contain( + `&vrref=${expectedVrref}` + ); + expect(request.url).to.contain("&payload="); + expect(request.url).to.contain( + "iiqid=f961ffb1-a0e1-4696-a9d2-a21d815bd344" + ); }); - it('should include adType in payload when present in BID_WON event', function () { - localStorage.setItem(FIRST_PARTY_KEY, defaultData); - getWindowLocationStub = sinon.stub(utils, 'getWindowLocation').returns({ href: 'http://localhost:9876/' }); - const bidWonEvent = { ...getWonRequest(), mediaType: 'video' }; + it("should include adType in payload when present in BID_WON event", function () { + getWindowLocationStub = sinon + .stub(utils, "getWindowLocation") + .returns({ href: "http://localhost:9876/" }); + const bidWonEvent = { ...getWonRequest(), mediaType: "video" }; events.emit(EVENTS.BID_WON, bidWonEvent); const request = server.requests[0]; const urlParams = new URL(request.url); - const payloadEncoded = urlParams.searchParams.get('payload'); + const payloadEncoded = urlParams.searchParams.get("payload"); const payloadDecoded = JSON.parse(atob(JSON.parse(payloadEncoded)[0])); expect(server.requests.length).to.be.above(0); - expect(payloadDecoded).to.have.property('adType', bidWonEvent.mediaType); + expect(payloadDecoded).to.have.property("adType", bidWonEvent.mediaType); }); - it('should include adType in payload when present in reportExternalWin event', function () { - enableAnalyticWithSpecialOptions({ manualWinReportEnabled: true }) - getWindowLocationStub = sinon.stub(utils, 'getWindowLocation').returns({ href: 'http://localhost:9876/' }); - const externalWinEvent = { cpm: 1, currency: 'USD', adType: 'banner' }; - const [userConfig] = getUserConfig(); - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns([userConfig]); - - const partnerId = userConfig.params.partner; + it("should include adType in payload when present in reportExternalWin event", function () { + enableAnalyticWithSpecialOptions({ manualWinReportEnabled: true }); + getWindowLocationStub = sinon + .stub(utils, "getWindowLocation") + .returns({ href: "http://localhost:9876/" }); + const externalWinEvent = { cpm: 1, currency: "USD", adType: "banner" }; events.emit(EVENTS.BID_REQUESTED); - window[`intentIqAnalyticsAdapter_${partnerId}`].reportExternalWin(externalWinEvent); + window[`intentIqAnalyticsAdapter_${partner}`].reportExternalWin( + externalWinEvent + ); const request = server.requests[0]; const urlParams = new URL(request.url); - const payloadEncoded = urlParams.searchParams.get('payload'); + const payloadEncoded = urlParams.searchParams.get("payload"); const payloadDecoded = JSON.parse(atob(JSON.parse(payloadEncoded)[0])); expect(server.requests.length).to.be.above(0); - expect(payloadDecoded).to.have.property('adType', externalWinEvent.adType); + expect(payloadDecoded).to.have.property("adType", externalWinEvent.adType); }); - it('should send report to report-gdpr address if gdpr is detected', function () { - const gppStub = sinon.stub(gppDataHandler, 'getConsentData').returns({ gppString: '{"key1":"value1","key2":"value2"}' }); - const uspStub = sinon.stub(uspDataHandler, 'getConsentData').returns('1NYN'); - const gdprStub = sinon.stub(gdprDataHandler, 'getConsentData').returns({ consentString: 'gdprConsent' }); + it("should send report to report-gdpr address if gdpr is detected", function () { + const gppStub = sinon + .stub(gppDataHandler, "getConsentData") + .returns({ gppString: '{"key1":"value1","key2":"value2"}' }); + const uspStub = sinon + .stub(uspDataHandler, "getConsentData") + .returns("1NYN"); + const gdprStub = sinon + .stub(gdprDataHandler, "getConsentData") + .returns({ consentString: "gdprConsent" }); events.emit(EVENTS.BID_WON, getWonRequest()); @@ -266,178 +294,208 @@ describe('IntentIQ tests all', function () { gdprStub.restore(); }); - it('should initialize with default configurations', function () { - expect(iiqAnalyticsAnalyticsAdapter.initOptions.lsValueInitialized).to.be.false; + it("should initialize with default configurations", function () { + expect(iiqAnalyticsAnalyticsAdapter.initOptions.lsValueInitialized).to.be + .false; }); - it('should handle BID_WON event with group configuration from local storage', function () { - localStorage.setItem(FIRST_PARTY_KEY, '{"pcid":"testpcid", "group": "B"}'); - const expectedVrref = encodeURIComponent('http://localhost:9876/'); + it("should handle BID_WON event with group configuration from local storage", function () { + window[`iiq_identity_${partner}`].firstPartyData = { + ...window[`iiq_identity_${partner}`].firstPartyData, + group: "B", + }; + + const expectedVrref = encodeURIComponent("http://localhost:9876/"); events.emit(EVENTS.BID_WON, getWonRequest()); expect(server.requests.length).to.be.above(0); const request = server.requests[0]; - expect(request.url).to.contain('https://reports.intentiq.com/report?pid=' + partner + '&mct=1'); + expect(request.url).to.contain( + "https://reports.intentiq.com/report?pid=" + partner + "&mct=1" + ); expect(request.url).to.contain(`&jsver=${version}`); expect(request.url).to.contain(`&vrref=${expectedVrref}`); - expect(request.url).to.contain('iiqid=testpcid'); }); - it('should handle BID_WON event with default group configuration', function () { - localStorage.setItem(FIRST_PARTY_KEY, defaultData); - const defaultDataObj = JSON.parse(defaultData) + it("should handle BID_WON event with default group configuration", function () { const wonRequest = getWonRequest(); events.emit(EVENTS.BID_WON, wonRequest); expect(server.requests.length).to.be.above(0); const request = server.requests[0]; - restoreReportList() + restoreReportList(); const dataToSend = preparePayload(wonRequest); const base64String = btoa(JSON.stringify(dataToSend)); const payload = encodeURIComponent(JSON.stringify([base64String])); - const expectedUrl = appendVrrefAndFui(REPORT_ENDPOINT + - `?pid=${partner}&mct=1&iiqid=${defaultDataObj.pcid}&agid=${REPORTER_ID}&jsver=${version}&source=pbjs&uh=&gdpr=0`, iiqAnalyticsAnalyticsAdapter.initOptions.domainName + const expectedUrl = appendVrrefAndFui( + REPORT_ENDPOINT + + `?pid=${partner}&mct=1&iiqid=${defaultIdentityObject.firstPartyData.pcid}&agid=${REPORTER_ID}&jsver=${version}&source=pbjs&uh=&gdpr=0&spd=spd`, + iiqAnalyticsAnalyticsAdapter.initOptions.domainName ); const urlWithPayload = expectedUrl + `&payload=${payload}`; expect(request.url).to.equal(urlWithPayload); - expect(dataToSend.pcid).to.equal(defaultDataObj.pcid) + expect(dataToSend.pcid).to.equal(defaultIdentityObject.firstPartyData.pcid); }); - it('should send CMP data in report if available', function () { - const uspData = '1NYN'; + it("should send CMP data in report if available", function () { + const uspData = "1NYN"; const gppData = { gppString: '{"key1":"value1","key2":"value2"}' }; - const gdprData = { consentString: 'gdprConsent' }; - - const gppStub = sinon.stub(gppDataHandler, 'getConsentData').returns(gppData); - const uspStub = sinon.stub(uspDataHandler, 'getConsentData').returns(uspData); - const gdprStub = sinon.stub(gdprDataHandler, 'getConsentData').returns(gdprData); - - getWindowLocationStub = sinon.stub(utils, 'getWindowLocation').returns({ href: 'http://localhost:9876/' }); + const gdprData = { consentString: "gdprConsent" }; + + const gppStub = sinon + .stub(gppDataHandler, "getConsentData") + .returns(gppData); + const uspStub = sinon + .stub(uspDataHandler, "getConsentData") + .returns(uspData); + const gdprStub = sinon + .stub(gdprDataHandler, "getConsentData") + .returns(gdprData); + + getWindowLocationStub = sinon + .stub(utils, "getWindowLocation") + .returns({ href: "http://localhost:9876/" }); events.emit(EVENTS.BID_WON, getWonRequest()); expect(server.requests.length).to.be.above(0); const request = server.requests[0]; - expect(request.url).to.contain(`&us_privacy=${encodeURIComponent(uspData)}`); - expect(request.url).to.contain(`&gpp=${encodeURIComponent(gppData.gppString)}`); - expect(request.url).to.contain(`&gdpr_consent=${encodeURIComponent(gdprData.consentString)}`); + expect(request.url).to.contain( + `&us_privacy=${encodeURIComponent(uspData)}` + ); + expect(request.url).to.contain( + `&gpp=${encodeURIComponent(gppData.gppString)}` + ); + expect(request.url).to.contain( + `&gdpr_consent=${encodeURIComponent(gdprData.consentString)}` + ); expect(request.url).to.contain(`&gdpr=1`); gppStub.restore(); uspStub.restore(); gdprStub.restore(); }); - it('should not send request if manualWinReportEnabled is true', function () { + it("should not send request if manualWinReportEnabled is true", function () { iiqAnalyticsAnalyticsAdapter.initOptions.manualWinReportEnabled = true; events.emit(EVENTS.BID_WON, getWonRequest()); - expect(server.requests.length).to.equal(1); + expect(server.requests.length).to.equal(0); }); - it('should read data from local storage', function () { - localStorage.setItem(FIRST_PARTY_KEY, '{"group": "A"}'); - localStorage.setItem(FIRST_PARTY_KEY + '_' + partner, '{"data":"testpcid", "eidl": 10}'); - events.emit(EVENTS.BID_WON, getWonRequest()); - expect(iiqAnalyticsAnalyticsAdapter.initOptions.dataInLs).to.equal('testpcid'); - expect(iiqAnalyticsAnalyticsAdapter.initOptions.eidl).to.equal(10); - expect(iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup).to.equal('A'); - }); + it("should handle initialization values from local storage", function () { + window[`iiq_identity_${partner}`].actualABGroup = WITHOUT_IIQ; - it('should handle initialization values from local storage', function () { - localStorage.setItem(FIRST_PARTY_KEY, '{"pcid":"testpcid", "group": "B"}'); - localStorage.setItem(FIRST_PARTY_KEY + '_' + partner, '{"data":"testpcid"}'); events.emit(EVENTS.BID_WON, getWonRequest()); - expect(iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup).to.equal('B'); + expect(iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup).to.equal( + WITHOUT_IIQ + ); expect(iiqAnalyticsAnalyticsAdapter.initOptions.fpid).to.be.not.null; }); - it('should handle reportExternalWin', function () { + it("should handle reportExternalWin", function () { events.emit(EVENTS.BID_REQUESTED); iiqAnalyticsAnalyticsAdapter.initOptions.manualWinReportEnabled = false; - localStorage.setItem(FIRST_PARTY_KEY, '{"pcid":"testpcid", "group": "B"}'); - localStorage.setItem(FIRST_PARTY_KEY + '_' + partner, '{"data":"testpcid"}'); - expect(window[`intentIqAnalyticsAdapter_${partner}`].reportExternalWin).to.be.a('function'); - expect(window[`intentIqAnalyticsAdapter_${partner}`].reportExternalWin({ cpm: 1, currency: 'USD' })).to.equal(false); + expect( + window[`intentIqAnalyticsAdapter_${partner}`].reportExternalWin + ).to.be.a("function"); + expect( + window[`intentIqAnalyticsAdapter_${partner}`].reportExternalWin({ + cpm: 1, + currency: "USD", + }) + ).to.equal(false); }); - it('should return window.location.href when window.self === window.top', function () { + it("should return window.location.href when window.self === window.top", function () { // Stub helper functions - getWindowSelfStub = sinon.stub(utils, 'getWindowSelf').returns(window); - getWindowTopStub = sinon.stub(utils, 'getWindowTop').returns(window); - getWindowLocationStub = sinon.stub(utils, 'getWindowLocation').returns({ href: 'http://localhost:9876/' }); + getWindowSelfStub = sinon.stub(utils, "getWindowSelf").returns(window); + getWindowTopStub = sinon.stub(utils, "getWindowTop").returns(window); + getWindowLocationStub = sinon + .stub(utils, "getWindowLocation") + .returns({ href: "http://localhost:9876/" }); const referrer = getReferrer(); - expect(referrer).to.equal('http://localhost:9876/'); + expect(referrer).to.equal("http://localhost:9876/"); }); - it('should return window.top.location.href when window.self !== window.top and access is successful', function () { + it("should return window.top.location.href when window.self !== window.top and access is successful", function () { // Stub helper functions to simulate iframe - getWindowSelfStub = sinon.stub(utils, 'getWindowSelf').returns({}); - getWindowTopStub = sinon.stub(utils, 'getWindowTop').returns({ location: { href: 'http://example.com/' } }); + getWindowSelfStub = sinon.stub(utils, "getWindowSelf").returns({}); + getWindowTopStub = sinon + .stub(utils, "getWindowTop") + .returns({ location: { href: "http://example.com/" } }); const referrer = getReferrer(); - expect(referrer).to.equal('http://example.com/'); + expect(referrer).to.equal("http://example.com/"); }); - it('should return an empty string and log an error when accessing window.top.location.href throws an error', function () { + it("should return an empty string and log an error when accessing window.top.location.href throws an error", function () { // Stub helper functions to simulate error - getWindowSelfStub = sinon.stub(utils, 'getWindowSelf').returns({}); - getWindowTopStub = sinon.stub(utils, 'getWindowTop').throws(new Error('Access denied')); + getWindowSelfStub = sinon.stub(utils, "getWindowSelf").returns({}); + getWindowTopStub = sinon + .stub(utils, "getWindowTop") + .throws(new Error("Access denied")); const referrer = getReferrer(); - expect(referrer).to.equal(''); + expect(referrer).to.equal(""); expect(logErrorStub.calledOnce).to.be.true; - expect(logErrorStub.firstCall.args[0]).to.contain('Error accessing location: Error: Access denied'); + expect(logErrorStub.firstCall.args[0]).to.contain( + "Error accessing location: Error: Access denied" + ); }); - it('should not send request if the browser is in blacklist (chrome)', function () { - const USERID_CONFIG_BROWSER = [...getUserConfig()]; - USERID_CONFIG_BROWSER[0].params.browserBlackList = 'ChrOmE'; - - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns(USERID_CONFIG_BROWSER); - detectBrowserStub = sinon.stub(detectBrowserUtils, 'detectBrowser').returns('chrome'); + it("should not send request if the browser is in blacklist (chrome)", function () { + enableAnalyticWithSpecialOptions({ + browserBlackList: "ChrOmE" + }) + detectBrowserStub = sinon + .stub(detectBrowserUtils, "detectBrowser") + .returns("chrome"); - localStorage.setItem(FIRST_PARTY_KEY, defaultData); events.emit(EVENTS.BID_WON, getWonRequest()); expect(server.requests.length).to.equal(0); }); - it('should send request if the browser is not in blacklist (safari)', function () { - const USERID_CONFIG_BROWSER = [...getUserConfig()]; - USERID_CONFIG_BROWSER[0].params.browserBlackList = 'chrome,firefox'; + it("should send request if the browser is not in blacklist (safari)", function () { + enableAnalyticWithSpecialOptions({ + browserBlackList: "chrome,firefox" + }) - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns(USERID_CONFIG_BROWSER); - detectBrowserStub = sinon.stub(detectBrowserUtils, 'detectBrowser').returns('safari'); + detectBrowserStub = sinon + .stub(detectBrowserUtils, "detectBrowser") + .returns("safari"); - localStorage.setItem(FIRST_PARTY_KEY, defaultData); events.emit(EVENTS.BID_WON, getWonRequest()); expect(server.requests.length).to.be.above(0); const request = server.requests[0]; - expect(request.url).to.contain(`https://reports.intentiq.com/report?pid=${partner}&mct=1`); + expect(request.url).to.contain( + `https://reports.intentiq.com/report?pid=${partner}&mct=1` + ); expect(request.url).to.contain(`&jsver=${version}`); - expect(request.url).to.contain(`&vrref=${encodeURIComponent('http://localhost:9876/')}`); - expect(request.url).to.contain('&payload='); - expect(request.url).to.contain('iiqid=f961ffb1-a0e1-4696-a9d2-a21d815bd344'); + expect(request.url).to.contain( + `&vrref=${encodeURIComponent("http://localhost:9876/")}` + ); + expect(request.url).to.contain("&payload="); + expect(request.url).to.contain( + "iiqid=f961ffb1-a0e1-4696-a9d2-a21d815bd344" + ); }); - it('should send request in reportingServerAddress no gdpr', function () { - const USERID_CONFIG_BROWSER = [...getUserConfigWithReportingServerAddress()]; - USERID_CONFIG_BROWSER[0].params.browserBlackList = 'chrome,firefox'; - - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns(USERID_CONFIG_BROWSER); - detectBrowserStub = sinon.stub(detectBrowserUtils, 'detectBrowser').returns('safari'); - enableAnalyticWithSpecialOptions({ reportingServerAddress: REPORT_SERVER_ADDRESS }) + it("should send request in reportingServerAddress no gdpr", function () { + detectBrowserStub = sinon + .stub(detectBrowserUtils, "detectBrowser") + .returns("safari"); + enableAnalyticWithSpecialOptions({ + reportingServerAddress: REPORT_SERVER_ADDRESS, + browserBlackList: "chrome,firefox" + }); - localStorage.setItem(FIRST_PARTY_KEY, defaultData); events.emit(EVENTS.BID_WON, getWonRequest()); expect(server.requests.length).to.be.above(0); @@ -445,9 +503,7 @@ describe('IntentIQ tests all', function () { expect(request.url).to.contain(REPORT_SERVER_ADDRESS); }); - it('should include source parameter in report URL', function () { - localStorage.setItem(FIRST_PARTY_KEY, JSON.stringify(defaultData)); - + it("should include source parameter in report URL", function () { events.emit(EVENTS.BID_WON, getWonRequest()); const request = server.requests[0]; @@ -455,64 +511,51 @@ describe('IntentIQ tests all', function () { expect(request.url).to.include(`&source=${PREBID}`); }); - it('should use correct key if siloEnabled is true', function () { - const siloEnabled = true; - const USERID_CONFIG = [...getUserConfig()]; - USERID_CONFIG[0].params.siloEnabled = siloEnabled; - - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns(USERID_CONFIG); + it("should send additionalParams in report if valid and small enough", function () { + enableAnalyticWithSpecialOptions({ + additionalParams: [ + { + parameterName: "general", + parameterValue: "Lee", + destination: [0, 0, 1], + }, + ] + }) - localStorage.setItem(FIRST_PARTY_KEY, `${FIRST_PARTY_KEY}${siloEnabled ? '_p_' + partner : ''}`); events.emit(EVENTS.BID_WON, getWonRequest()); - expect(server.requests.length).to.be.above(0); const request = server.requests[0]; - expect(request.url).to.contain(REPORT_ENDPOINT + '?pid=' + partner + '&mct=1'); + expect(request.url).to.include("general=Lee"); }); - it('should send additionalParams in report if valid and small enough', function () { - const userConfig = getUserConfig(); - userConfig[0].params.additionalParams = [{ - parameterName: 'general', - parameterValue: 'Lee', - destination: [0, 0, 1] - }]; + it("should not send additionalParams in report if value is too large", function () { + const longVal = "x".repeat(5000000); - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns(userConfig); + enableAnalyticWithSpecialOptions({ + additionalParams: [ + { + parameterName: "general", + parameterValue: longVal, + destination: [0, 0, 1], + }, + ] + }) - localStorage.setItem(FIRST_PARTY_KEY, defaultData); events.emit(EVENTS.BID_WON, getWonRequest()); const request = server.requests[0]; - expect(request.url).to.include('general=Lee'); + expect(request.url).not.to.include("general"); }); - it('should not send additionalParams in report if value is too large', function () { - const longVal = 'x'.repeat(5000000); - const userConfig = getUserConfig(); - userConfig[0].params.additionalParams = [{ - parameterName: 'general', - parameterValue: longVal, - destination: [0, 0, 1] - }]; - - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns(userConfig); - - localStorage.setItem(FIRST_PARTY_KEY, defaultData); - events.emit(EVENTS.BID_WON, getWonRequest()); - - const request = server.requests[0]; - expect(request.url).not.to.include('general'); - }); - it('should include spd parameter from LS in report URL', function () { - const spdObject = { foo: 'bar', value: 42 }; + it("should include spd parameter from LS in report URL", function () { + const spdObject = { foo: "bar", value: 42 }; const expectedSpdEncoded = encodeURIComponent(JSON.stringify(spdObject)); + window[`iiq_identity_${partner}`].firstPartyData.spd = + JSON.stringify(spdObject); - localStorage.setItem(FIRST_PARTY_KEY, JSON.stringify({ ...defaultData, spd: spdObject })); - getWindowLocationStub = sinon.stub(utils, 'getWindowLocation').returns({ href: 'http://localhost:9876/' }); + getWindowLocationStub = sinon + .stub(utils, "getWindowLocation") + .returns({ href: "http://localhost:9876/" }); events.emit(EVENTS.BID_WON, getWonRequest()); @@ -522,12 +565,14 @@ describe('IntentIQ tests all', function () { expect(request.url).to.include(`&spd=${expectedSpdEncoded}`); }); - it('should include spd parameter string from LS in report URL', function () { - const spdObject = 'server provided data'; - const expectedSpdEncoded = encodeURIComponent(spdObject); + it("should include spd parameter string from LS in report URL", function () { + const spdData = "server provided data"; + const expectedSpdEncoded = encodeURIComponent(spdData); + window[`iiq_identity_${partner}`].firstPartyData.spd = spdData; - localStorage.setItem(FIRST_PARTY_KEY, JSON.stringify({ ...defaultData, spd: spdObject })); - getWindowLocationStub = sinon.stub(utils, 'getWindowLocation').returns({ href: 'http://localhost:9876/' }); + getWindowLocationStub = sinon + .stub(utils, "getWindowLocation") + .returns({ href: "http://localhost:9876/" }); events.emit(EVENTS.BID_WON, getWonRequest()); @@ -537,7 +582,7 @@ describe('IntentIQ tests all', function () { expect(request.url).to.include(`&spd=${expectedSpdEncoded}`); }); - describe('GAM prediction reporting', function () { + describe("GAM prediction reporting", function () { function createMockGAM() { const listeners = {}; return { @@ -545,86 +590,96 @@ describe('IntentIQ tests all', function () { pubads: () => ({ addEventListener: (name, cb) => { listeners[name] = cb; - } + }, }), - _listeners: listeners + _listeners: listeners, }; } - function withConfigGamPredict(gamObj) { - const [userConfig] = getUserConfig(); - userConfig.params.gamObjectReference = gamObj; - userConfig.params.gamPredictReporting = true; - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns([userConfig]); - } - - it('should subscribe to GAM and send report on slotRenderEnded without prior bidWon', function () { + it("should subscribe to GAM and send report on slotRenderEnded without prior bidWon", function () { const gam = createMockGAM(); - withConfigGamPredict(gam); + + enableAnalyticWithSpecialOptions({ + gamObjectReference: gam + }) // enable subscription by LS flag - localStorage.setItem(FIRST_PARTY_KEY + '_' + partner, JSON.stringify({ gpr: true })); - localStorage.setItem(FIRST_PARTY_KEY, defaultData); + window[`iiq_identity_${partner}`].partnerData.gpr = true; // provide recent auctionEnd with matching bid to enrich payload events.getEvents.restore(); - sinon.stub(events, 'getEvents').returns([ + sinon.stub(events, "getEvents").returns([ { - eventType: 'auctionEnd', args: { - auctionId: 'auc-1', - adUnitCodes: ['ad-unit-1'], - bidsReceived: [{ bidder: 'pubmatic', adUnitCode: 'ad-unit-1', cpm: 1, currency: 'USD', originalCpm: 1, originalCurrency: 'USD', status: 'rendered' }] - } - } + eventType: "auctionEnd", + args: { + auctionId: "auc-1", + adUnitCodes: ["ad-unit-1"], + bidsReceived: [ + { + bidder: "pubmatic", + adUnitCode: "ad-unit-1", + cpm: 1, + currency: "USD", + originalCpm: 1, + originalCurrency: "USD", + status: "rendered", + }, + ], + }, + }, ]); // trigger adapter to subscribe events.emit(EVENTS.BID_REQUESTED); // execute GAM cmd to register listener - gam.cmd.forEach(fn => fn()); + gam.cmd.forEach((fn) => fn()); // simulate slotRenderEnded const slot = { - getSlotElementId: () => 'ad-unit-1', - getAdUnitPath: () => '/123/foo', - getTargetingKeys: () => ['hb_bidder', 'hb_adid'], - getTargeting: (k) => k === 'hb_bidder' ? ['pubmatic'] : k === 'hb_adid' ? ['ad123'] : [] + getSlotElementId: () => "ad-unit-1", + getAdUnitPath: () => "/123/foo", + getTargetingKeys: () => ["hb_bidder", "hb_adid"], + getTargeting: (k) => + k === "hb_bidder" ? ["pubmatic"] : k === "hb_adid" ? ["ad123"] : [], }; - if (gam._listeners['slotRenderEnded']) { - gam._listeners['slotRenderEnded']({ isEmpty: false, slot }); + if (gam._listeners["slotRenderEnded"]) { + gam._listeners["slotRenderEnded"]({ isEmpty: false, slot }); } expect(server.requests.length).to.be.above(0); }); - it('should NOT send report if a matching bidWon already exists', function () { + it("should NOT send report if a matching bidWon already exists", function () { const gam = createMockGAM(); - withConfigGamPredict(gam); - localStorage.setItem(FIRST_PARTY_KEY + '_' + partner, JSON.stringify({ gpr: true })); - localStorage.setItem(FIRST_PARTY_KEY, defaultData); + localStorage.setItem( + FIRST_PARTY_KEY + "_" + partner, + JSON.stringify({ gpr: true }) + ); // provide prior bidWon matching placementId and hb_adid events.getEvents.restore(); - sinon.stub(events, 'getEvents').returns([ - { eventType: 'bidWon', args: { adId: 'ad123' }, id: 'ad-unit-1' } - ]); + sinon + .stub(events, "getEvents") + .returns([ + { eventType: "bidWon", args: { adId: "ad123" }, id: "ad-unit-1" }, + ]); events.emit(EVENTS.BID_REQUESTED); - gam.cmd.forEach(fn => fn()); + gam.cmd.forEach((fn) => fn()); const slot = { - getSlotElementId: () => 'ad-unit-1', - getAdUnitPath: () => '/123/foo', - getTargetingKeys: () => ['hb_bidder', 'hb_adid'], - getTargeting: (k) => k === 'hb_bidder' ? ['pubmatic'] : k === 'hb_adid' ? ['ad123'] : [] + getSlotElementId: () => "ad-unit-1", + getAdUnitPath: () => "/123/foo", + getTargetingKeys: () => ["hb_bidder", "hb_adid"], + getTargeting: (k) => + k === "hb_bidder" ? ["pubmatic"] : k === "hb_adid" ? ["ad123"] : [], }; const initialRequests = server.requests.length; - if (gam._listeners['slotRenderEnded']) { - gam._listeners['slotRenderEnded']({ isEmpty: false, slot }); + if (gam._listeners["slotRenderEnded"]) { + gam._listeners["slotRenderEnded"]({ isEmpty: false, slot }); } expect(server.requests.length).to.equal(initialRequests); }); @@ -632,136 +687,213 @@ describe('IntentIQ tests all', function () { const testCasesVrref = [ { - description: 'domainName matches window.top.location.href', + description: "domainName matches window.top.location.href", getWindowSelf: {}, - getWindowTop: { location: { href: 'http://example.com/page' } }, - getWindowLocation: { href: 'http://example.com/page' }, - domainName: 'example.com', - expectedVrref: encodeURIComponent('http://example.com/page'), - shouldContainFui: false + getWindowTop: { location: { href: "http://example.com/page" } }, + getWindowLocation: { href: "http://example.com/page" }, + domainName: "example.com", + expectedVrref: encodeURIComponent("http://example.com/page"), + shouldContainFui: false, }, { - description: 'domainName does not match window.top.location.href', + description: "domainName does not match window.top.location.href", getWindowSelf: {}, - getWindowTop: { location: { href: 'http://anotherdomain.com/page' } }, - getWindowLocation: { href: 'http://anotherdomain.com/page' }, - domainName: 'example.com', - expectedVrref: encodeURIComponent('example.com'), - shouldContainFui: false + getWindowTop: { location: { href: "http://anotherdomain.com/page" } }, + getWindowLocation: { href: "http://anotherdomain.com/page" }, + domainName: "example.com", + expectedVrref: encodeURIComponent("example.com"), + shouldContainFui: false, }, { - description: 'domainName is missing, only fui=1 is returned', + description: "domainName is missing, only fui=1 is returned", getWindowSelf: {}, - getWindowTop: { location: { href: '' } }, - getWindowLocation: { href: '' }, + getWindowTop: { location: { href: "" } }, + getWindowLocation: { href: "" }, domainName: null, - expectedVrref: '', - shouldContainFui: true + expectedVrref: "", + shouldContainFui: true, }, { - description: 'domainName is missing', + description: "domainName is missing", getWindowSelf: {}, - getWindowTop: { location: { href: 'http://example.com/page' } }, - getWindowLocation: { href: 'http://example.com/page' }, + getWindowTop: { location: { href: "http://example.com/page" } }, + getWindowLocation: { href: "http://example.com/page" }, domainName: null, - expectedVrref: encodeURIComponent('http://example.com/page'), - shouldContainFui: false + expectedVrref: encodeURIComponent("http://example.com/page"), + shouldContainFui: false, }, ]; - testCasesVrref.forEach(({ description, getWindowSelf, getWindowTop, getWindowLocation, domainName, expectedVrref, shouldContainFui }) => { - it(`should append correct vrref when ${description}`, function () { - getWindowSelfStub = sinon.stub(utils, 'getWindowSelf').returns(getWindowSelf); - getWindowTopStub = sinon.stub(utils, 'getWindowTop').returns(getWindowTop); - getWindowLocationStub = sinon.stub(utils, 'getWindowLocation').returns(getWindowLocation); - - const url = 'https://reports.intentiq.com/report?pid=10'; - const modifiedUrl = appendVrrefAndFui(url, domainName); - const urlObj = new URL(modifiedUrl); - - const vrref = encodeURIComponent(urlObj.searchParams.get('vrref') || ''); - const fui = urlObj.searchParams.get('fui'); - - expect(vrref).to.equal(expectedVrref); - expect(urlObj.searchParams.has('fui')).to.equal(shouldContainFui); - if (shouldContainFui) { - expect(fui).to.equal('1'); - } - }); - }); + testCasesVrref.forEach( + ({ + description, + getWindowSelf, + getWindowTop, + getWindowLocation, + domainName, + expectedVrref, + shouldContainFui, + }) => { + it(`should append correct vrref when ${description}`, function () { + getWindowSelfStub = sinon + .stub(utils, "getWindowSelf") + .returns(getWindowSelf); + getWindowTopStub = sinon + .stub(utils, "getWindowTop") + .returns(getWindowTop); + getWindowLocationStub = sinon + .stub(utils, "getWindowLocation") + .returns(getWindowLocation); + + const url = "https://reports.intentiq.com/report?pid=10"; + const modifiedUrl = appendVrrefAndFui(url, domainName); + const urlObj = new URL(modifiedUrl); + + const vrref = encodeURIComponent( + urlObj.searchParams.get("vrref") || "" + ); + const fui = urlObj.searchParams.get("fui"); + + expect(vrref).to.equal(expectedVrref); + expect(urlObj.searchParams.has("fui")).to.equal(shouldContainFui); + if (shouldContainFui) { + expect(fui).to.equal("1"); + } + }); + } + ); const adUnitConfigTests = [ { adUnitConfig: 1, - description: 'should extract adUnitCode first (adUnitConfig = 1)', - event: { adUnitCode: 'adUnitCode-123', placementId: 'placementId-456' }, - expectedPlacementId: 'adUnitCode-123' + description: "should extract adUnitCode first (adUnitConfig = 1)", + event: { adUnitCode: "adUnitCode-123", placementId: "placementId-456" }, + expectedPlacementId: "adUnitCode-123", }, { adUnitConfig: 1, - description: 'should extract placementId if there is no adUnitCode (adUnitConfig = 1)', - event: { placementId: 'placementId-456' }, - expectedPlacementId: 'placementId-456' + description: + "should extract placementId if there is no adUnitCode (adUnitConfig = 1)", + event: { placementId: "placementId-456" }, + expectedPlacementId: "placementId-456", }, { adUnitConfig: 2, - description: 'should extract placementId first (adUnitConfig = 2)', - event: { adUnitCode: 'adUnitCode-123', placementId: 'placementId-456' }, - expectedPlacementId: 'placementId-456' + description: "should extract placementId first (adUnitConfig = 2)", + event: { adUnitCode: "adUnitCode-123", placementId: "placementId-456" }, + expectedPlacementId: "placementId-456", }, { adUnitConfig: 2, - description: 'should extract adUnitCode if there is no placementId (adUnitConfig = 2)', - event: { adUnitCode: 'adUnitCode-123', }, - expectedPlacementId: 'adUnitCode-123' + description: + "should extract adUnitCode if there is no placementId (adUnitConfig = 2)", + event: { adUnitCode: "adUnitCode-123" }, + expectedPlacementId: "adUnitCode-123", }, { adUnitConfig: 3, - description: 'should extract only adUnitCode (adUnitConfig = 3)', - event: { adUnitCode: 'adUnitCode-123', placementId: 'placementId-456' }, - expectedPlacementId: 'adUnitCode-123' + description: "should extract only adUnitCode (adUnitConfig = 3)", + event: { adUnitCode: "adUnitCode-123", placementId: "placementId-456" }, + expectedPlacementId: "adUnitCode-123", }, { adUnitConfig: 4, - description: 'should extract only placementId (adUnitConfig = 4)', - event: { adUnitCode: 'adUnitCode-123', placementId: 'placementId-456' }, - expectedPlacementId: 'placementId-456' + description: "should extract only placementId (adUnitConfig = 4)", + event: { adUnitCode: "adUnitCode-123", placementId: "placementId-456" }, + expectedPlacementId: "placementId-456", }, { adUnitConfig: 1, - description: 'should return empty placementId if neither adUnitCode or placementId exist', + description: + "should return empty placementId if neither adUnitCode or placementId exist", event: {}, - expectedPlacementId: '' + expectedPlacementId: "", }, { adUnitConfig: 1, - description: 'should extract placementId from params array if no top-level adUnitCode or placementId exist (adUnitConfig = 1)', + description: + "should extract placementId from params array if no top-level adUnitCode or placementId exist (adUnitConfig = 1)", event: { - params: [{ someKey: 'value' }, { placementId: 'nested-placementId' }] + params: [{ someKey: "value" }, { placementId: "nested-placementId" }], }, - expectedPlacementId: 'nested-placementId' - } + expectedPlacementId: "nested-placementId", + }, ]; - adUnitConfigTests.forEach(({ adUnitConfig, description, event, expectedPlacementId }) => { - it(description, function () { - const [userConfig] = getUserConfig(); - enableAnalyticWithSpecialOptions({ adUnitConfig }) + adUnitConfigTests.forEach( + ({ adUnitConfig, description, event, expectedPlacementId }) => { + it(description, function () { + enableAnalyticWithSpecialOptions({ adUnitConfig }); + + const testEvent = { ...getWonRequest(), ...event }; + events.emit(EVENTS.BID_WON, testEvent); + + const request = server.requests[0]; + const urlParams = new URL(request.url); + const encodedPayload = urlParams.searchParams.get("payload"); + const decodedPayload = JSON.parse(atob(JSON.parse(encodedPayload)[0])); + + expect(server.requests.length).to.be.above(0); + expect(encodedPayload).to.exist; + expect(decodedPayload).to.have.property( + "placementId", + expectedPlacementId + ); + }); + } + ); - config.getConfig.restore(); - sinon.stub(config, 'getConfig').withArgs('userSync.userIds').returns([userConfig]); + it("should include ABTestingConfigurationSource in payload when provided", function () { + const ABTestingConfigurationSource = "percentage"; + enableAnalyticWithSpecialOptions({ ABTestingConfigurationSource }); - const testEvent = { ...getWonRequest(), ...event }; - events.emit(EVENTS.BID_WON, testEvent); + events.emit(EVENTS.BID_WON, getWonRequest()); - const request = server.requests[0]; - const urlParams = new URL(request.url); - const encodedPayload = urlParams.searchParams.get('payload'); - const decodedPayload = JSON.parse(atob(JSON.parse(encodedPayload)[0])); + const request = server.requests[0]; + const urlParams = new URL(request.url); + const encodedPayload = urlParams.searchParams.get("payload"); + const decodedPayload = JSON.parse(atob(JSON.parse(encodedPayload)[0])); - expect(server.requests.length).to.be.above(0); - expect(encodedPayload).to.exist; - expect(decodedPayload).to.have.property('placementId', expectedPlacementId); + expect(server.requests.length).to.be.above(0); + expect(decodedPayload).to.have.property( + "ABTestingConfigurationSource", + ABTestingConfigurationSource + ); + }); + + it("should not include ABTestingConfigurationSource in payload when not provided", function () { + enableAnalyticWithSpecialOptions({}); + + events.emit(EVENTS.BID_WON, getWonRequest()); + + const request = server.requests[0]; + const urlParams = new URL(request.url); + const encodedPayload = urlParams.searchParams.get("payload"); + const decodedPayload = JSON.parse(atob(JSON.parse(encodedPayload)[0])); + + expect(server.requests.length).to.be.above(0); + expect(decodedPayload).to.not.have.property("ABTestingConfigurationSource"); + }); + + it("should use group from provided options when ABTestingConfigurationSource is 'group'", function () { + const providedGroup = WITHOUT_IIQ; + // Ensure actualABGroup is not set so group from options is used + delete window[`iiq_identity_${partner}`].actualABGroup; + + enableAnalyticWithSpecialOptions({ + group: providedGroup, + ABTestingConfigurationSource: AB_CONFIG_SOURCE.GROUP, }); + + events.emit(EVENTS.BID_WON, getWonRequest()); + + const request = server.requests[0]; + const urlParams = new URL(request.url); + const encodedPayload = urlParams.searchParams.get("payload"); + const decodedPayload = JSON.parse(atob(JSON.parse(encodedPayload)[0])); + + expect(server.requests.length).to.be.above(0); + // Verify that the group from options is used in the payload + expect(decodedPayload).to.have.property("abGroup", providedGroup); }); }); diff --git a/test/spec/modules/intentIqIdSystem_spec.js b/test/spec/modules/intentIqIdSystem_spec.js index 42cff5c2582..4d1d3affa2e 100644 --- a/test/spec/modules/intentIqIdSystem_spec.js +++ b/test/spec/modules/intentIqIdSystem_spec.js @@ -6,13 +6,14 @@ import { intentIqIdSubmodule, handleClientHints, firstPartyData as moduleFPD, - isCMPStringTheSame, createPixelUrl, translateMetadata + isCMPStringTheSame, createPixelUrl, translateMetadata, + initializeGlobalIIQ } from '../../../modules/intentIqIdSystem.js'; import { storage, readData, storeData } from '../../../libraries/intentIqUtils/storageUtils.js'; import { gppDataHandler, uspDataHandler, gdprDataHandler } from '../../../src/consentHandler.js'; import { clearAllCookies } from '../../helpers/cookies.js'; import { detectBrowser, detectBrowserFromUserAgent, detectBrowserFromUserAgentData } from '../../../libraries/intentIqUtils/detectBrowserUtils.js'; -import {CLIENT_HINTS_KEY, FIRST_PARTY_KEY, NOT_YET_DEFINED, PREBID, WITH_IIQ, WITHOUT_IIQ} from '../../../libraries/intentIqConstants/intentIqConstants.js'; +import {CLIENT_HINTS_KEY, FIRST_PARTY_KEY, PREBID, WITH_IIQ, WITHOUT_IIQ} from '../../../libraries/intentIqConstants/intentIqConstants.js'; import { decryptData } from '../../../libraries/intentIqUtils/cryptionUtils.js'; import { isCHSupported } from '../../../libraries/intentIqUtils/chUtils.js'; @@ -81,34 +82,25 @@ function ensureUAData() { } async function waitForClientHints() { - if (!isCHSupported()) return; - const clock = globalThis.__iiqClock; if (clock && typeof clock.runAllAsync === 'function') { await clock.runAllAsync(); - return; - } - if (clock && typeof clock.runAll === 'function') { + } else if (clock && typeof clock.runAll === 'function') { clock.runAll(); await Promise.resolve(); await Promise.resolve(); - return; - } - if (clock && typeof clock.runToLast === 'function') { + } else if (clock && typeof clock.runToLast === 'function') { clock.runToLast(); await Promise.resolve(); - return; - } - if (clock && typeof clock.tick === 'function') { + } else if (clock && typeof clock.tick === 'function') { clock.tick(0); await Promise.resolve(); - return; + } else { + await Promise.resolve(); + await Promise.resolve(); + await new Promise(r => setTimeout(r, 0)); } - - await Promise.resolve(); - await Promise.resolve(); - await new Promise(r => setTimeout(r, 0)); } const testAPILink = 'https://new-test-api.intentiq.com' @@ -132,6 +124,7 @@ const mockGAM = () => { }; describe('IntentIQ tests', function () { + this.timeout(10000); let sandbox; let logErrorStub; let clock; @@ -178,6 +171,23 @@ describe('IntentIQ tests', function () { localStorage.clear(); }); + it('should create global IIQ identity object', async () => { + const globalName = `iiq_identity_${partner}` + const callBackSpy = sinon.spy(); + const submoduleCallback = intentIqIdSubmodule.getId({ params: { partner }}).callback; + submoduleCallback(callBackSpy); + await waitForClientHints() + expect(window[globalName]).to.be.not.undefined + expect(window[globalName].partnerData).to.be.not.undefined + expect(window[globalName].firstPartyData).to.be.not.undefined + }) + + it('should not create a global IIQ identity object in case it was already created', () => { + intentIqIdSubmodule.getId({ params: { partner }}) + const secondTimeCalling = initializeGlobalIIQ(partner) + expect(secondTimeCalling).to.be.false + }) + it('should log an error if no configParams were passed when getId', function () { const submodule = intentIqIdSubmodule.getId({ params: {} }); expect(logErrorStub.calledOnce).to.be.true; @@ -330,10 +340,11 @@ describe('IntentIQ tests', function () { expect(callBackSpy.calledOnce).to.be.true; }); - it('should set GAM targeting to U initially and update to A after server response', async function () { + it('should set GAM targeting to B initially and update to A after server response', async function () { const callBackSpy = sinon.spy(); const mockGamObject = mockGAM(); const expectedGamParameterName = 'intent_iq_group'; + defaultConfigParams.params.abPercentage = 0; // "B" provided percentage by user const originalPubads = mockGamObject.pubads; const setTargetingSpy = sinon.spy(); @@ -350,33 +361,69 @@ describe('IntentIQ tests', function () { defaultConfigParams.params.gamObjectReference = mockGamObject; const submoduleCallback = intentIqIdSubmodule.getId(defaultConfigParams).callback; - submoduleCallback(callBackSpy); await waitForClientHints(); const request = server.requests[0]; mockGamObject.cmd.forEach(cb => cb()); - mockGamObject.cmd = [] + mockGamObject.cmd = []; const groupBeforeResponse = mockGamObject.pubads().getTargeting(expectedGamParameterName); - request.respond( - 200, - responseHeader, - JSON.stringify({ group: 'A', tc: 20 }) - ); + request.respond(200, responseHeader, JSON.stringify({ tc: 20 })); - mockGamObject.cmd.forEach(item => item()); + mockGamObject.cmd.forEach(cb => cb()); + mockGamObject.cmd = []; const groupAfterResponse = mockGamObject.pubads().getTargeting(expectedGamParameterName); expect(request.url).to.contain('https://api.intentiq.com/profiles_engine/ProfilesEngineServlet?at=39'); - expect(groupBeforeResponse).to.deep.equal([NOT_YET_DEFINED]); + expect(groupBeforeResponse).to.deep.equal([WITHOUT_IIQ]); expect(groupAfterResponse).to.deep.equal([WITH_IIQ]); - expect(setTargetingSpy.calledTwice).to.be.true; }); + it('should set GAM targeting to B when server tc=41', async () => { + window.localStorage.clear(); + const mockGam = mockGAM(); + defaultConfigParams.params.gamObjectReference = mockGam; + defaultConfigParams.params.abPercentage = 100; + + const cb = intentIqIdSubmodule.getId(defaultConfigParams).callback; + cb(() => {}); + await waitForClientHints(); + + const req = server.requests[0]; + mockGam.cmd.forEach(fn => fn()); + const before = mockGam.pubads().getTargeting('intent_iq_group'); + + req.respond(200, responseHeader, JSON.stringify({ tc: 41 })); + mockGam.cmd.forEach(fn => fn()); + const after = mockGam.pubads().getTargeting('intent_iq_group'); + + expect(before).to.deep.equal([WITH_IIQ]); + expect(after).to.deep.equal([WITHOUT_IIQ]); + }); + + it('should read tc from LS and set relevant GAM group', async () => { + window.localStorage.clear(); + const storageKey = `${FIRST_PARTY_KEY}_${defaultConfigParams.params.partner}`; + localStorage.setItem(storageKey, JSON.stringify({ terminationCause: 41 })); + + const mockGam = mockGAM(); + defaultConfigParams.params.gamObjectReference = mockGam; + defaultConfigParams.params.abPercentage = 100; + + const cb = intentIqIdSubmodule.getId(defaultConfigParams).callback; + cb(() => {}); + await waitForClientHints(); + + mockGam.cmd.forEach(fn => fn()); + const group = mockGam.pubads().getTargeting('intent_iq_group'); + + expect(group).to.deep.equal([WITHOUT_IIQ]); + }); + it('should use the provided gamParameterName from configParams', function () { const callBackSpy = sinon.spy(); const mockGamObject = mockGAM(); @@ -409,7 +456,6 @@ describe('IntentIQ tests', function () { localStorage.setItem(FIRST_PARTY_KEY, JSON.stringify({ pcid: 'pcid-1', pcidDate: Date.now(), - group: 'A', isOptedOut: false, date: Date.now(), sCal: Date.now() @@ -698,7 +744,6 @@ describe('IntentIQ tests', function () { const FPD = { pcid: 'c869aa1f-fe40-47cb-810f-4381fec28fc9', pcidDate: 1747720820757, - group: 'A', sCal: Date.now(), gdprString: null, gppString: null, @@ -713,13 +758,13 @@ describe('IntentIQ tests', function () { const request = server.requests[0]; expect(request.url).contain("ProfilesEngineServlet?at=39") // server was called }) + it("Should NOT call the server if FPD has been updated user Opted Out, and 24 hours have not yet passed.", async () => { const allowedStorage = ['html5'] const newPartnerId = 12345 const FPD = { pcid: 'c869aa1f-fe40-47cb-810f-4381fec28fc9', pcidDate: 1747720820757, - group: 'A', isOptedOut: true, sCal: Date.now(), gdprString: null, @@ -1547,4 +1592,34 @@ describe('IntentIQ tests', function () { expect(callBackSpy.calledOnce).to.be.true; expect(groupChangedSpy.calledWith(WITH_IIQ)).to.be.true; }); + + it('should use group provided by partner', async function () { + const groupChangedSpy = sinon.spy(); + const callBackSpy = sinon.spy(); + const usedGroup = 'B' + const ABTestingConfigurationSource = 'group' + const configParams = { + params: { + ...defaultConfigParams.params, + ABTestingConfigurationSource, + group: usedGroup, + groupChanged: groupChangedSpy + } + }; + + const submoduleCallback = intentIqIdSubmodule.getId(configParams).callback; + submoduleCallback(callBackSpy); + await waitForClientHints() + const request = server.requests[0]; + request.respond( + 200, + responseHeader, + JSON.stringify({ pid: 'test_pid', data: 'test_personid', ls: true }) + ); + + expect(request.url).to.contain(`ABTestingConfigurationSource=${ABTestingConfigurationSource}`); + expect(request.url).to.contain(`testGroup=${usedGroup}`); + expect(callBackSpy.calledOnce).to.be.true; + expect(groupChangedSpy.calledWith(usedGroup)).to.be.true; + }); }); From cf72e63fe7a00527902d527ff701cbc3e833de11 Mon Sep 17 00:00:00 2001 From: Gabriel Chicoye Date: Tue, 16 Dec 2025 16:04:27 +0100 Subject: [PATCH 074/248] netads alias added (#14271) Co-authored-by: Gabriel Chicoye --- modules/nexx360BidAdapter.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/nexx360BidAdapter.ts b/modules/nexx360BidAdapter.ts index a4bedfd91fd..a5aa9e92dd7 100644 --- a/modules/nexx360BidAdapter.ts +++ b/modules/nexx360BidAdapter.ts @@ -61,6 +61,7 @@ const ALIASES = [ { code: 'glomexbidder', gvlid: 967 }, { code: 'pubxai', gvlid: 1485 }, { code: 'ybidder', gvlid: 1253 }, + { code: 'netads', gvlid: 965 }, ]; export const STORAGE = getStorageManager({ From 0452e8d9b6a2fdca0cb5aa16fe4c15626ec9d726 Mon Sep 17 00:00:00 2001 From: DimaIntentIQ <139111483+DimaIntentIQ@users.noreply.github.com> Date: Tue, 16 Dec 2025 17:35:52 +0200 Subject: [PATCH 075/248] Check on report duplicates only when GAM prediction is enabled (#14272) --- modules/intentIqAnalyticsAdapter.js | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/modules/intentIqAnalyticsAdapter.js b/modules/intentIqAnalyticsAdapter.js index 0710db7532d..946a13ae174 100644 --- a/modules/intentIqAnalyticsAdapter.js +++ b/modules/intentIqAnalyticsAdapter.js @@ -296,17 +296,19 @@ export function preparePayload(data) { } prepareData(data, result); - if (!reportList[result.placementId] || !reportList[result.placementId][result.prebidAuctionId]) { - reportList[result.placementId] = reportList[result.placementId] - ? { ...reportList[result.placementId], [result.prebidAuctionId]: 1 } - : { [result.prebidAuctionId]: 1 }; - cleanReportsID = setTimeout(() => { - if (cleanReportsID) clearTimeout(cleanReportsID); - restoreReportList(); - }, 1500); // clear object in 1.5 second after defining reporting list - } else { - logError('Duplication detected, report will be not sent'); - return; + if (shouldSubscribeOnGAM()) { + if (!reportList[result.placementId] || !reportList[result.placementId][result.prebidAuctionId]) { + reportList[result.placementId] = reportList[result.placementId] + ? { ...reportList[result.placementId], [result.prebidAuctionId]: 1 } + : { [result.prebidAuctionId]: 1 }; + cleanReportsID = setTimeout(() => { + if (cleanReportsID) clearTimeout(cleanReportsID); + restoreReportList(); + }, 1500); // clear object in 1.5 second after defining reporting list + } else { + logError('Duplication detected, report will be not sent'); + return; + } } fillEidsData(result); From ebf390757ae94483fcb68507b2d7eced0086b03d Mon Sep 17 00:00:00 2001 From: m-figurski-allegro Date: Tue, 16 Dec 2025 16:36:41 +0100 Subject: [PATCH 076/248] Allegro Bid Adapter: initial release (#14111) * Allegro Bid Adapter implementation * copilot review fixes * Update test/spec/modules/allegroBidAdapter_spec.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * tmp * Revert "tmp" This reverts commit a200026cbda8c3a6dba94dc6ad1156218bf3a334. * retry tests * trigger tests * send requests with `text/plain` header * update docs * update docs --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Patrick McCann Co-authored-by: tkogut-allegro --- modules/allegroBidAdapter.js | 257 ++++++++++++++++++++ modules/allegroBidAdapter.md | 73 ++++++ test/spec/modules/allegroBidAdapter_spec.js | 216 ++++++++++++++++ 3 files changed, 546 insertions(+) create mode 100644 modules/allegroBidAdapter.js create mode 100644 modules/allegroBidAdapter.md create mode 100644 test/spec/modules/allegroBidAdapter_spec.js diff --git a/modules/allegroBidAdapter.js b/modules/allegroBidAdapter.js new file mode 100644 index 00000000000..3c42c9f1e60 --- /dev/null +++ b/modules/allegroBidAdapter.js @@ -0,0 +1,257 @@ +// jshint esversion: 6, es3: false, node: true +'use strict'; + +import {registerBidder} from '../src/adapters/bidderFactory.js'; +import {BANNER, VIDEO, NATIVE} from '../src/mediaTypes.js'; +import {ortbConverter} from '../libraries/ortbConverter/converter.js'; +import {config} from '../src/config.js'; +import {triggerPixel, logInfo, logError} from '../src/utils.js'; + +const BIDDER_CODE = 'allegro'; +const BIDDER_URL = 'https://prebid.rtb.allegrogroup.com/v1/rtb/prebid/bid'; +const GVLID = 1493; + +/** + * Traverses an OpenRTB bid request object and moves any ext objects into + * DoubleClick (Google) style bracketed keys (e.g. ext -> [com.google.doubleclick.site]). + * Also normalizes certain integer flags into booleans (e.g. gdpr: 1 -> true). + * This mutates the provided request object in-place. + * + * @param request OpenRTB bid request being prepared for sending. + */ +function convertExtensionFields(request) { + if (request.imp) { + request.imp.forEach(imp => { + if (imp.banner?.ext) { + moveExt(imp.banner, '[com.google.doubleclick.banner_ext]') + } + if (imp.ext) { + moveExt(imp, '[com.google.doubleclick.imp]') + } + }); + } + + if (request.app?.ext) { + moveExt(request.app, '[com.google.doubleclick.app]') + } + + if (request.site?.ext) { + moveExt(request.site, '[com.google.doubleclick.site]') + } + + if (request.site?.publisher?.ext) { + moveExt(request.site.publisher, '[com.google.doubleclick.publisher]') + } + + if (request.user?.ext) { + moveExt(request.user, '[com.google.doubleclick.user]') + } + + if (request.user?.data) { + request.user.data.forEach(data => { + if (data.ext) { + moveExt(data, '[com.google.doubleclick.data]') + } + }); + } + + if (request.device?.ext) { + moveExt(request.device, '[com.google.doubleclick.device]') + } + + if (request.device?.geo?.ext) { + moveExt(request.device.geo, '[com.google.doubleclick.geo]') + } + + if (request.regs?.ext) { + if (request.regs?.ext?.gdpr !== undefined) { + request.regs.ext.gdpr = request.regs.ext.gdpr === 1; + } + + moveExt(request.regs, '[com.google.doubleclick.regs]') + } + + if (request.source?.ext) { + moveExt(request.source, '[com.google.doubleclick.source]') + } + + if (request.ext) { + moveExt(request, '[com.google.doubleclick.bid_request]') + } +} + +/** + * Moves an `ext` field from a given object to a new bracketed key, cloning its contents. + * If object or ext is missing nothing is done. + * + * @param obj The object potentially containing `ext`. + * @param {string} newKey The destination key name (e.g. '[com.google.doubleclick.site]'). + */ +function moveExt(obj, newKey) { + if (!obj || !obj.ext) { + return; + } + const extCopy = {...obj.ext}; + delete obj.ext; + obj[newKey] = extCopy; +} + +/** + * Custom ORTB converter configuration adjusting request/imp level boolean coercions + * and migrating extension fields depending on config. Provides `toORTB` and `fromORTB` + * helpers used in buildRequests / interpretResponse. + */ +const converter = ortbConverter({ + context: { + mediaType: BANNER, + ttl: 360, + netRevenue: true + }, + + /** + * Builds and post-processes a single impression object, coercing integer flags to booleans. + * + * @param {Function} buildImp Base builder provided by ortbConverter. + * @param bidRequest Individual bid request from Prebid. + * @param context Shared converter context. + * @returns {Object} ORTB impression object. + */ + imp(buildImp, bidRequest, context) { + const imp = buildImp(bidRequest, context); + if (imp?.banner?.topframe !== undefined) { + imp.banner.topframe = imp.banner.topframe === 1; + } + if (imp?.secure !== undefined) { + imp.secure = imp.secure === 1; + } + return imp; + }, + + /** + * Builds the full ORTB request and normalizes integer flags. Optionally migrates ext fields + * into Google style bracketed keys unless disabled via `allegro.convertExtensionFields` config. + * + * @param {Function} buildRequest Base builder provided by ortbConverter. + * @param {Object[]} imps Array of impression objects. + * @param bidderRequest Prebid bidderRequest (contains refererInfo, gdpr, etc.). + * @param context Shared converter context. + * @returns {Object} Mutated ORTB request object ready to serialize. + */ + request(buildRequest, imps, bidderRequest, context) { + const request = buildRequest(imps, bidderRequest, context); + + if (request?.device?.dnt !== undefined) { + request.device.dnt = request.device.dnt === 1; + } + + if (request?.device?.sua?.mobile !== undefined) { + request.device.sua.mobile = request.device.sua.mobile === 1; + } + + if (request?.test !== undefined) { + request.test = request.test === 1; + } + + // by default, we convert extension fields unless the config explicitly disables it + const convertExtConfig = config.getConfig('allegro.convertExtensionFields'); + if (convertExtConfig === undefined || convertExtConfig === true) { + convertExtensionFields(request); + } + + if (request?.source?.schain && !isSchainValid(request.source.schain)) { + delete request.source.schain; + } + + return request; + } +}) + +/** + * Validates supply chain object structure + * @param schain - Supply chain object + * @return {boolean} True if valid, false otherwise + */ +function isSchainValid(schain) { + try { + if (!schain || !schain.nodes || !Array.isArray(schain.nodes)) { + return false; + } + const requiredFields = ['asi', 'sid', 'hp']; + return schain.nodes.every(node => + requiredFields.every(field => node.hasOwnProperty(field)) + ); + } catch (error) { + logError('Allegro: Error validating schain:', error); + return false; + } +} + +/** + * Allegro Bid Adapter specification object consumed by Prebid core. + */ +export const spec = { + code: BIDDER_CODE, + supportedMediaTypes: [BANNER, VIDEO, NATIVE], + gvlid: GVLID, + + /** + * Validates an incoming bid object. + * + * @param bid Prebid bid request params. + * @returns {boolean} True if bid is considered valid. + */ + isBidRequestValid: function (bid) { + return !!(bid); + }, + + /** + * Generates the network request payload for the adapter. + * + * @param bidRequests List of valid bid requests. + * @param bidderRequest Aggregated bidder request data (gdpr, usp, refererInfo, etc.). + * @returns Request details for Prebid to send. + */ + buildRequests: function (bidRequests, bidderRequest) { + const url = config.getConfig('allegro.bidderUrl') || BIDDER_URL; + + return { + method: 'POST', + url: url, + data: converter.toORTB({bidderRequest, bidRequests}), + options: { + contentType: 'text/plain' + }, + } + }, + + /** + * Parses the server response into Prebid bid objects. + * + * @param response Server response wrapper from Prebid XHR (expects `body`). + * @param request Original request object passed to server (contains `data`). + */ + interpretResponse: function (response, request) { + if (!response.body) return; + return converter.fromORTB({response: response.body, request: request.data}).bids; + }, + + /** + * Fires impression tracking pixel when the bid wins if enabled by config. + * + * @param bid The winning bid object. + */ + onBidWon: function (bid) { + const triggerImpressionPixel = config.getConfig('allegro.triggerImpressionPixel'); + + if (triggerImpressionPixel && bid.burl) { + triggerPixel(bid.burl); + } + + if (config.getConfig('debug')) { + logInfo('bid won', bid); + } + } + +} + +registerBidder(spec); diff --git a/modules/allegroBidAdapter.md b/modules/allegroBidAdapter.md new file mode 100644 index 00000000000..75ee1720bb5 --- /dev/null +++ b/modules/allegroBidAdapter.md @@ -0,0 +1,73 @@ +# Overview + +**Module Name**: Allegro Bidder Adapter +**Module Type**: Bidder Adapter +**Maintainer**: the-bidders@allegro.com +**GVLID**: 1493 + +# Description + +Connects to Allegro's demand sources for banner advertising. This adapter uses the OpenRTB 2.5 protocol with support for extension field conversion to Google DoubleClick proto format. + +# Supported Media Types + +- Banner +- Native +- Video + +# Configuration + +The Allegro adapter supports the following configuration options: + +## Global Configuration Parameters + +| Name | Scope | Type | Description | Default | +|----------------------------------|----------|---------|-----------------------------------------------------------------------------|---------------------------------------------------------| +| `allegro.bidderUrl` | optional | String | Custom bidder endpoint URL | `https://prebid.rtb.allegrogroup.com/v1/rtb/prebid/bid` | +| `allegro.convertExtensionFields` | optional | Boolean | Enable/disable conversion of OpenRTB extension fields to DoubleClick format | `true` | +| `allegro.triggerImpressionPixel` | optional | Boolean | Enable/disable triggering impression tracking pixels on bid won event | `false` | + +## Configuration example + +```javascript +pbjs.setConfig({ + allegro: { + triggerImpressionPixel: true + } +}); +``` + +# AdUnit Configuration Example + +## Banner Ads + +```javascript +var adUnits = [{ + code: 'banner-ad-div', + mediaTypes: { + banner: { + sizes: [ + [300, 250], + [728, 90], + [300, 600] + ] + } + }, + bids: [{ + bidder: 'allegro' + }] +}]; +``` + +# Features +## Impression Tracking + +When `allegro.triggerImpressionPixel` is enabled, the adapter will automatically fire the provided `burl` (billing/impression) tracking URL when a bid wins. + +# Technical Details + +- **Protocol**: OpenRTB 2.5 +- **TTL**: 360 seconds +- **Net Revenue**: true +- **Content Type**: text/plain + diff --git a/test/spec/modules/allegroBidAdapter_spec.js b/test/spec/modules/allegroBidAdapter_spec.js new file mode 100644 index 00000000000..59f5ed1018d --- /dev/null +++ b/test/spec/modules/allegroBidAdapter_spec.js @@ -0,0 +1,216 @@ +import {expect} from 'chai'; +import {spec} from 'modules/allegroBidAdapter.js'; +import {config} from 'src/config.js'; +import sinon from 'sinon'; +import * as utils from 'src/utils.js'; + +function buildBidRequest({bidId = 'bid1', adUnitCode = 'div-1', sizes = [[300, 250]], params = {}, mediaTypes} = {}) { + return { + bidId, + adUnitCode, + bidder: 'allegro', + params, + mediaTypes: mediaTypes || {banner: {sizes}}, + }; +} + +function buildBidderRequest(bidRequests, ortb2Overrides = {}) { + return { + bidderCode: 'allegro', + bids: bidRequests, + auctionId: 'auc-1', + timeout: 1000, + refererInfo: {page: 'https://example.com', domain: 'example.com', ref: '', stack: ['https://example.com']}, + ortb2: Object.assign({ + device: { + dnt: 0, + sua: {mobile: 0} + } + }, ortb2Overrides) + }; +} + +describe('Allegro Bid Adapter', () => { + let configStub; + + afterEach(() => { + sinon.restore(); + }); + + it('should export the expected code and media types', () => { + expect(spec.code).to.equal('allegro'); + expect(spec.supportedMediaTypes).to.deep.equal(['banner', 'video', 'native']); + }); + + describe('isBidRequestValid', () => { + it('returns true for not undefined bidRequest', () => { + expect(spec.isBidRequestValid({})).to.equal(true); + expect(spec.isBidRequestValid(buildBidRequest({}))).to.equal(true); + }); + it('returns false for undefined bidRequest', () => { + expect(spec.isBidRequestValid(undefined)).to.equal(false); + }); + }); + + describe('buildRequests', () => { + it('builds a POST request to default endpoint with ORTB data', () => { + configStub = sinon.stub(config, 'getConfig').callsFake((key) => undefined); + const bidRequests = [buildBidRequest({})]; + const bidderRequest = buildBidderRequest(bidRequests); + const req = spec.buildRequests(bidRequests, bidderRequest); + expect(req.method).to.equal('POST'); + expect(req.url).to.equal('https://prebid.rtb.allegrogroup.com/v1/rtb/prebid/bid'); + expect(req.options.contentType).to.equal('text/plain'); + expect(req.data).to.exist; + expect(req.data.imp).to.be.an('array').with.lengthOf(1); + }); + + it('respects custom bidder URL from config', () => { + configStub = sinon.stub(config, 'getConfig').callsFake((key) => { + if (key === 'allegro.bidderUrl') return 'https://override.endpoint/prebid'; + return undefined; + }); + let bidRequest = [buildBidRequest({})]; + const req = spec.buildRequests(bidRequest, buildBidderRequest(bidRequest)); + expect(req.url).to.equal('https://override.endpoint/prebid'); + }); + + it('converts extension fields by default', () => { + configStub = sinon.stub(config, 'getConfig').callsFake((key) => undefined); + const bidRequests = [buildBidRequest({})]; + const ortb2 = { + site: {ext: {siteCustom: 'val'}, publisher: {ext: {pubCustom: 'pub'}}}, + user: {ext: {userCustom: 'usr'}, data: [{ext: {dataCustom: 'd1'}}]}, + device: {ext: {deviceCustom: 'dev'}, sua: {mobile: 1}, dnt: 1}, + regs: {ext: {gdpr: 1, other: 'x'}}, + source: {ext: {sourceCustom: 'src'}}, + ext: {requestCustom: 'req'} + }; + const bidderRequest = buildBidderRequest(bidRequests, ortb2); + const req = spec.buildRequests(bidRequests, bidderRequest); + const data = req.data; + + expect(data.site.ext).to.equal(undefined); + expect(data.site['[com.google.doubleclick.site]'].siteCustom).to.equal('val'); + expect(data.site.publisher['[com.google.doubleclick.publisher]'].pubCustom).to.equal('pub'); + expect(data.user['[com.google.doubleclick.user]'].userCustom).to.equal('usr'); + expect(data.user.data[0]['[com.google.doubleclick.data]'].dataCustom).to.equal('d1'); + expect(data.device['[com.google.doubleclick.device]'].deviceCustom).to.equal('dev'); + expect(data.device.dnt).to.be.a('boolean'); + expect(data.device.sua.mobile).to.equal(true); + expect(data.regs['[com.google.doubleclick.regs]'].other).to.equal('x'); + expect(data.regs['[com.google.doubleclick.regs]'].gdpr).to.equal(true); + expect(data['[com.google.doubleclick.bid_request]'].requestCustom).to.equal('req'); + }); + + it('does not convert extension fields when allegro.convertExtensionFields = false', () => { + configStub = sinon.stub(config, 'getConfig').callsFake((key) => { + if (key === 'allegro.convertExtensionFields') return false; + return undefined; + }); + const bidRequests = [buildBidRequest({})]; + const ortb2 = {site: {ext: {siteCustom: 'val'}}}; + const req = spec.buildRequests(bidRequests, buildBidderRequest(bidRequests, ortb2)); + expect(req.data.site.ext.siteCustom).to.equal('val'); + expect(req.data.site['[com.google.doubleclick.site]']).to.equal(undefined); + }); + + it('converts numeric flags to booleans (topframe, secure, test) when present', () => { + configStub = sinon.stub(config, 'getConfig').callsFake((key) => undefined); + const bidRequests = [buildBidRequest({mediaTypes: {banner: {sizes: [[300, 250]], topframe: 1}}, params: {secure: 1}})]; + const bidderRequest = buildBidderRequest(bidRequests); + // add test flag via ortb2 without clobbering existing device object + bidderRequest.ortb2.test = 1; + const req = spec.buildRequests(bidRequests, bidderRequest); + const imp = req.data.imp[0]; + // topframe may be absent depending on processors; if present it's converted to boolean + if (Object.prototype.hasOwnProperty.call(imp.banner, 'topframe')) { + expect(imp.banner.topframe).to.be.a('boolean'); + } + expect(imp.secure).to.equal(true); + expect(req.data.test).to.equal(true); + }); + }); + + describe('interpretResponse', () => { + it('returns undefined for empty body', () => { + const result = spec.interpretResponse({}, {data: {}}); + expect(result).to.equal(undefined); + }); + + it('returns converted bids for a valid ORTB response', () => { + configStub = sinon.stub(config, 'getConfig').callsFake((key) => undefined); + const bidRequests = [buildBidRequest({bidId: 'imp-1'})]; + const bidderRequest = buildBidderRequest(bidRequests); + const built = spec.buildRequests(bidRequests, bidderRequest); + const impId = built.data.imp[0].id; // use actual id from converter + const ortbResponse = { + id: 'resp1', + seatbid: [{ + seat: 'seat1', + bid: [{impid: impId, price: 1.23, crid: 'creative1', w: 300, h: 250}] + }] + }; + const result = spec.interpretResponse({body: ortbResponse}, built); + expect(result).to.be.an('array').with.lengthOf(1); + const bid = result[0]; + expect(bid.cpm).to.equal(1.23); + expect(bid.mediaType).to.equal('banner'); + expect(bid.ttl).to.equal(360); // default context ttl + expect(bid.netRevenue).to.equal(true); + }); + + it('ignores bids with impid not present in original request', () => { + configStub = sinon.stub(config, 'getConfig').callsFake((key) => undefined); + const bidRequests = [buildBidRequest({bidId: 'imp-1'})]; + const bidderRequest = buildBidderRequest(bidRequests); + const built = spec.buildRequests(bidRequests, bidderRequest); + const ortbResponse = { + seatbid: [{seat: 'seat1', bid: [{impid: 'unknown', price: 0.5, crid: 'x'}]}] + }; + const result = spec.interpretResponse({body: ortbResponse}, built); + expect(result).to.be.an('array').that.is.empty; + }); + }); + + describe('onBidWon', () => { + it('does nothing if config flag disabled', () => { + configStub = sinon.stub(config, 'getConfig').callsFake((key) => { + if (key === 'allegro.triggerImpressionPixel') return false; + return undefined; + }); + const bid = {burl: 'https://example.com/win?price=${AUCTION_PRICE}', cpm: 1.2}; + expect(spec.onBidWon(bid)).to.equal(undefined); + }); + + it('does nothing when burl missing even if flag enabled', () => { + configStub = sinon.stub(config, 'getConfig').callsFake((key) => { + if (key === 'allegro.triggerImpressionPixel') return true; + return undefined; + }); + expect(spec.onBidWon({})).to.equal(undefined); + }); + + it('fires impression pixel with provided burl when enabled', () => { + const pixelSpy = sinon.spy(); + // stub config and utils.triggerPixel; need to stub imported triggerPixel via utils module + configStub = sinon.stub(config, 'getConfig').callsFake((key) => { + if (key === 'allegro.triggerImpressionPixel') return true; + return undefined; + }); + sinon.stub(utils, 'triggerPixel').callsFake(pixelSpy); + const bid = { + burl: 'https://example.com/win?aid=auction_id&bid=bid_id&imp=imp_id&price=0.91&cur=USD', + auctionId: 'auc-1', + requestId: 'req-1', + impid: 'imp-1', + cpm: 0.91, + currency: 'USD' + }; + spec.onBidWon(bid); + expect(pixelSpy.calledOnce).to.equal(true); + const calledWith = pixelSpy.getCall(0).args[0]; + expect(calledWith).to.equal(bid.burl); + }); + }); +}); From 28d5ee4e7736b53d775f5486c022e416c3f4db8b Mon Sep 17 00:00:00 2001 From: DimaIntentIQ <139111483+DimaIntentIQ@users.noreply.github.com> Date: Tue, 16 Dec 2025 19:05:49 +0200 Subject: [PATCH 077/248] IntentIq ID Module: add new query parameter (#14273) * add new param to VR request * use new param in unit test --- modules/intentIqIdSystem.js | 1 + test/spec/modules/intentIqIdSystem_spec.js | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/intentIqIdSystem.js b/modules/intentIqIdSystem.js index 73433dce0e4..e10c19f1888 100644 --- a/modules/intentIqIdSystem.js +++ b/modules/intentIqIdSystem.js @@ -514,6 +514,7 @@ export const intentIqIdSubmodule = { url = appendSPData(url, firstPartyData) url += '&source=' + PREBID; url += '&ABTestingConfigurationSource=' + configParams.ABTestingConfigurationSource + url += '&abtg=' + encodeURIComponent(actualABGroup) // Add vrref and fui to the URL url = appendVrrefAndFui(url, configParams.domainName); diff --git a/test/spec/modules/intentIqIdSystem_spec.js b/test/spec/modules/intentIqIdSystem_spec.js index 4d1d3affa2e..4b9afc38146 100644 --- a/test/spec/modules/intentIqIdSystem_spec.js +++ b/test/spec/modules/intentIqIdSystem_spec.js @@ -1617,6 +1617,7 @@ describe('IntentIQ tests', function () { JSON.stringify({ pid: 'test_pid', data: 'test_personid', ls: true }) ); + expect(request.url).to.contain(`abtg=${usedGroup}`); expect(request.url).to.contain(`ABTestingConfigurationSource=${ABTestingConfigurationSource}`); expect(request.url).to.contain(`testGroup=${usedGroup}`); expect(callBackSpy.calledOnce).to.be.true; From f199fca5093999ddd73d16490a7b077bc82131e4 Mon Sep 17 00:00:00 2001 From: Mikhail Malkov Date: Tue, 16 Dec 2025 21:45:44 +0300 Subject: [PATCH 078/248] nextMillenniumBidAdapter: ImpId generation has been changed (#14266) * fixed typos end changed test endpoint * changed report endpoint * fixed tests * fixed tests * nextMillenniumBidAdapter - changed generate impId * nextMillenniumBidAdapter - fixed bug * nextMillenniumBidAdapter - revert cahnges file package-lock.json --- modules/nextMillenniumBidAdapter.js | 25 +++++--- .../modules/nextMillenniumBidAdapter_spec.js | 62 ++++++++++++------- 2 files changed, 57 insertions(+), 30 deletions(-) diff --git a/modules/nextMillenniumBidAdapter.js b/modules/nextMillenniumBidAdapter.js index 09472759521..2d68e05651f 100644 --- a/modules/nextMillenniumBidAdapter.js +++ b/modules/nextMillenniumBidAdapter.js @@ -23,7 +23,7 @@ import {registerBidder} from '../src/adapters/bidderFactory.js'; import {getRefererInfo} from '../src/refererDetection.js'; import { getViewportSize } from '../libraries/viewport/viewport.js'; -const NM_VERSION = '4.5.0'; +const NM_VERSION = '4.5.1'; const PBJS_VERSION = 'v$prebid.version$'; const GVLID = 1060; const BIDDER_CODE = 'nextMillennium'; @@ -148,6 +148,7 @@ export const spec = { }, buildRequests: function(validBidRequests, bidderRequest) { + const bidIds = new Map() const requests = []; window.nmmRefreshCounts = window.nmmRefreshCounts || {}; const site = getSiteObj(); @@ -180,10 +181,14 @@ export const spec = { const id = getPlacementId(bid); const {cur, mediaTypes} = getCurrency(bid); if (i === 0) postBody.cur = cur; - const imp = getImp(bid, id, mediaTypes); + + const impId = String(i + 1) + bidIds.set(impId, bid.bidId) + + const imp = getImp(impId, bid, id, mediaTypes); setOrtb2Parameters(ALLOWED_ORTB2_IMP_PARAMETERS, imp, bid?.ortb2Imp); postBody.imp.push(imp); - postBody.ext.next_mil_imps.push(getExtNextMilImp(bid)); + postBody.ext.next_mil_imps.push(getExtNextMilImp(impId, bid)); }); this.getUrlPixelMetric(EVENTS.BID_REQUESTED, validBidRequests); @@ -196,19 +201,21 @@ export const spec = { contentType: 'text/plain', withCredentials: true, }, + + bidIds, }); return requests; }, - interpretResponse: function(serverResponse) { + interpretResponse: function(serverResponse, bidRequest) { const response = serverResponse.body; const bidResponses = []; const bids = []; _each(response.seatbid, (resp) => { _each(resp.bid, (bid) => { - const requestId = bid.impid; + const requestId = bidRequest.bidIds.get(bid.impid); const {ad, adUrl, vastUrl, vastXml} = getAd(bid); @@ -327,11 +334,11 @@ export const spec = { }, }; -export function getExtNextMilImp(bid) { +export function getExtNextMilImp(impId, bid) { if (typeof window?.nmmRefreshCounts[bid.adUnitCode] === 'number') ++window.nmmRefreshCounts[bid.adUnitCode]; const {adSlots, allowedAds} = bid.params const nextMilImp = { - impId: bid.bidId, + impId, nextMillennium: { nm_version: NM_VERSION, pbjs_version: PBJS_VERSION, @@ -346,10 +353,10 @@ export function getExtNextMilImp(bid) { return nextMilImp; } -export function getImp(bid, id, mediaTypes) { +export function getImp(impId, bid, id, mediaTypes) { const {banner, video} = mediaTypes; const imp = { - id: bid.bidId, + id: impId, ext: { prebid: { storedrequest: { diff --git a/test/spec/modules/nextMillenniumBidAdapter_spec.js b/test/spec/modules/nextMillenniumBidAdapter_spec.js index 9834f27f132..e05d797526a 100644 --- a/test/spec/modules/nextMillenniumBidAdapter_spec.js +++ b/test/spec/modules/nextMillenniumBidAdapter_spec.js @@ -18,8 +18,8 @@ describe('nextMillenniumBidAdapterTests', () => { { title: 'imp - banner', data: { + impId: '5', id: '123', - postBody: {ext: {nextMillennium: {refresh_counts: {}, elemOffsets: {}}}}, bid: { mediaTypes: {banner: {sizes: [[300, 250], [320, 250]]}}, adUnitCode: 'test-banner-1', @@ -37,7 +37,7 @@ describe('nextMillenniumBidAdapterTests', () => { }, expected: { - id: 'e36ea395f67f', + id: '5', bidfloorcur: 'EUR', bidfloor: 1.11, ext: {prebid: {storedrequest: {id: '123'}}}, @@ -53,8 +53,8 @@ describe('nextMillenniumBidAdapterTests', () => { { title: 'imp - video', data: { + impId: '3', id: '234', - postBody: {ext: {nextMillennium: {refresh_counts: {}, elemOffsets: {}}}}, bid: { mediaTypes: {video: {playerSize: [400, 300], api: [2], placement: 1, plcmt: 1}}, adUnitCode: 'test-video-1', @@ -71,7 +71,7 @@ describe('nextMillenniumBidAdapterTests', () => { }, expected: { - id: 'e36ea395f67f', + id: '3', bidfloorcur: 'USD', ext: {prebid: {storedrequest: {id: '234'}}}, video: { @@ -89,8 +89,8 @@ describe('nextMillenniumBidAdapterTests', () => { { title: 'imp - mediaTypes.video is empty', data: { + impId: '4', id: '234', - postBody: {ext: {nextMillennium: {refresh_counts: {}, elemOffsets: {}}}}, bid: { mediaTypes: {video: {w: 640, h: 480}}, bidId: 'e36ea395f67f', @@ -105,7 +105,7 @@ describe('nextMillenniumBidAdapterTests', () => { }, expected: { - id: 'e36ea395f67f', + id: '4', bidfloorcur: 'USD', ext: {prebid: {storedrequest: {id: '234'}}}, video: {w: 640, h: 480, mimes: ['video/mp4', 'video/x-ms-wmv', 'application/javascript']}, @@ -115,8 +115,8 @@ describe('nextMillenniumBidAdapterTests', () => { { title: 'imp with gpid', data: { + impId: '2', id: '123', - postBody: {ext: {nextMillennium: {refresh_counts: {}, elemOffsets: {}}}}, bid: { mediaTypes: {banner: {sizes: [[300, 250], [320, 250]]}}, adUnitCode: 'test-gpid-1', @@ -132,7 +132,7 @@ describe('nextMillenniumBidAdapterTests', () => { }, expected: { - id: 'e36ea395f67a', + id: '2', ext: { prebid: {storedrequest: {id: '123'}}, gpid: 'imp-gpid-123' @@ -144,8 +144,8 @@ describe('nextMillenniumBidAdapterTests', () => { { title: 'imp with pbadslot', data: { + impId: '1', id: '123', - postBody: {ext: {nextMillennium: {refresh_counts: {}, elemOffsets: {}}}}, bid: { mediaTypes: {banner: {sizes: [[300, 250], [320, 250]]}}, adUnitCode: 'test-gpid-1', @@ -167,7 +167,7 @@ describe('nextMillenniumBidAdapterTests', () => { }, expected: { - id: 'e36ea395f67a', + id: '1', ext: { prebid: {storedrequest: {id: '123'}}, }, @@ -178,8 +178,8 @@ describe('nextMillenniumBidAdapterTests', () => { for (const {title, data, expected} of dataTests) { it(title, () => { - const {bid, id, mediaTypes, postBody} = data; - const imp = getImp(bid, id, mediaTypes, postBody); + const {impId, bid, id, mediaTypes} = data; + const imp = getImp(impId, bid, id, mediaTypes); expect(imp).to.deep.equal(expected); }); } @@ -900,17 +900,17 @@ describe('nextMillenniumBidAdapterTests', () => { describe('Check ext.next_mil_imps', function() { const expectedNextMilImps = [ { - impId: 'bid1234', + impId: '1', nextMillennium: {refresh_count: 1}, }, { - impId: 'bid1235', + impId: '2', nextMillennium: {refresh_count: 1}, }, { - impId: 'bid1236', + impId: '3', nextMillennium: {refresh_count: 1}, }, ]; @@ -1183,6 +1183,12 @@ describe('nextMillenniumBidAdapterTests', () => { expect(requestData.id).to.equal(expected.id); expect(requestData.tmax).to.equal(expected.tmax); expect(requestData?.imp?.length).to.equal(expected.impSize); + + for (let i = 0; i < bidRequests.length; i++) { + const impId = String(i + 1); + expect(impId).to.equal(requestData.imp[i].id); + expect(bidRequests[i].bidId).to.equal(request[0].bidIds.get(impId)); + }; }); }; }); @@ -1199,7 +1205,7 @@ describe('nextMillenniumBidAdapterTests', () => { bid: [ { id: '7457329903666272789-0', - impid: '700ce0a43f72', + impid: '1', price: 0.5, adm: 'Hello! It\'s a test ad!', adid: '96846035-0', @@ -1210,7 +1216,7 @@ describe('nextMillenniumBidAdapterTests', () => { { id: '7457329903666272789-1', - impid: '700ce0a43f73', + impid: '2', price: 0.7, adm: 'https://some_vast_host.com/vast.xml', adid: '96846035-1', @@ -1222,7 +1228,7 @@ describe('nextMillenniumBidAdapterTests', () => { { id: '7457329903666272789-2', - impid: '700ce0a43f74', + impid: '3', price: 1.0, adm: '', adid: '96846035-3', @@ -1238,6 +1244,14 @@ describe('nextMillenniumBidAdapterTests', () => { }, }, + bidRequest: { + bidIds: new Map([ + ['1', '700ce0a43f72'], + ['2', '700ce0a43f73'], + ['3', '700ce0a43f74'], + ]), + }, + expected: [ { title: 'banner', @@ -1308,15 +1322,19 @@ describe('nextMillenniumBidAdapterTests', () => { const tests = [ { title: 'parameters adSlots and allowedAds are empty', + impId: '1', bid: { params: {}, }, - expected: {}, + expected: { + impId: '1', + }, }, { title: 'parameters adSlots and allowedAds', + impId: '2', bid: { params: { adSlots: ['test1'], @@ -1325,15 +1343,17 @@ describe('nextMillenniumBidAdapterTests', () => { }, expected: { + impId: '2', adSlots: ['test1'], allowedAds: ['test2'], }, }, ]; - for (const {title, bid, expected} of tests) { + for (const {title, impId, bid, expected} of tests) { it(title, () => { - const extNextMilImp = getExtNextMilImp(bid); + const extNextMilImp = getExtNextMilImp(impId, bid); + expect(extNextMilImp.impId).to.deep.equal(expected.impId); expect(extNextMilImp.nextMillennium.adSlots).to.deep.equal(expected.adSlots); expect(extNextMilImp.nextMillennium.allowedAds).to.deep.equal(expected.allowedAds); }); From 7f3b02faf9090d347dcd4ca728ad62eb3f1beb20 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Tue, 16 Dec 2025 13:45:54 -0500 Subject: [PATCH 079/248] Update PR review and testing guidelines in AGENTS.md (#14268) Clarify PR review guidelines and testing instructions. --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index ec1601c61f4..ce4e1353a9a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -31,6 +31,7 @@ This file contains instructions for the Codex agent and its friends when working - Always include the string 'codex' or 'agent' in any branch you create. If you instructed to not do that, always include the string 'perbid'. - Do not submit pr's with changes to creative.html or creative.js - Read CONTRIBUTING.md and PR_REVIEW.md for additional context +- Use the guidelines at PR_REVIEW.md when doing PR reviews. Make all your comments and code suggestions on the PR itself instead of in linked tasks when commenting in a PR review. ## Testing - When you modify or add source or test files, run only the affected unit tests. From dc9f338998b2d056967baef4b47b8b94957beb26 Mon Sep 17 00:00:00 2001 From: Christian <98148000+duduchristian@users.noreply.github.com> Date: Wed, 17 Dec 2025 20:47:55 +0800 Subject: [PATCH 080/248] Opera Bid Adapter: change the domain name of some endpoints (#14274) Co-authored-by: hongxingp --- modules/operaadsBidAdapter.js | 4 ++-- test/spec/modules/operaadsBidAdapter_spec.js | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/operaadsBidAdapter.js b/modules/operaadsBidAdapter.js index f82e0337e7f..8645196d07d 100644 --- a/modules/operaadsBidAdapter.js +++ b/modules/operaadsBidAdapter.js @@ -28,8 +28,8 @@ import {convertOrtbRequestToProprietaryNative} from '../src/native.js'; */ const BIDDER_CODE = 'operaads'; -const ENDPOINT = 'https://s.adx.opera.com/ortb/v2/'; -const USER_SYNC_ENDPOINT = 'https://s.adx.opera.com/usersync/page'; +const ENDPOINT = 'https://s.oa.opera.com/ortb/v2/'; +const USER_SYNC_ENDPOINT = 'https://s.oa.opera.com/usersync/page'; const OUTSTREAM_RENDERER_URL = 'https://acdn.adnxs.com/video/outstream/ANOutstreamVideo.js'; diff --git a/test/spec/modules/operaadsBidAdapter_spec.js b/test/spec/modules/operaadsBidAdapter_spec.js index 15708c1bb42..0ff16d72293 100644 --- a/test/spec/modules/operaadsBidAdapter_spec.js +++ b/test/spec/modules/operaadsBidAdapter_spec.js @@ -217,7 +217,7 @@ describe('Opera Ads Bid Adapter', function () { const bidRequest = bidRequests[i]; expect(req.method).to.equal('POST'); - expect(req.url).to.equal('https://s.adx.opera.com/ortb/v2/' + + expect(req.url).to.equal('https://s.oa.opera.com/ortb/v2/' + bidRequest.params.publisherId + '?ep=' + bidRequest.params.endpointId); expect(req.options).to.be.an('object'); @@ -546,8 +546,8 @@ describe('Opera Ads Bid Adapter', function () { 'id': '003004d9c05c6bc7fec0', 'impid': '22c4871113f461', 'price': 1.04, - 'nurl': 'https://s.adx.opera.com/win', - 'lurl': 'https://s.adx.opera.com/loss', + 'nurl': 'https://s.oa.opera.com/win', + 'lurl': 'https://s.oa.opera.com/loss', 'adm': '', 'adomain': [ 'opera.com', @@ -628,8 +628,8 @@ describe('Opera Ads Bid Adapter', function () { 'id': '003004d9c05c6bc7fec0', 'impid': '22c4871113f461', 'price': 1.04, - 'nurl': 'https://s.adx.opera.com/win', - 'lurl': 'https://s.adx.opera.com/loss', + 'nurl': 'https://s.oa.opera.com/win', + 'lurl': 'https://s.oa.opera.com/loss', 'adm': 'Static VAST TemplateStatic VAST Taghttp://example.com/pixel.gif?asi=[ADSERVINGID]00:00:08http://example.com/pixel.gifhttp://example.com/pixel.gifhttp://example.com/pixel.gifhttp://example.com/pixel.gifhttp://example.com/pixel.gifhttp://example.com/pixel.gifhttp://example.com/pixel.gifhttp://example.com/pixel.gifhttp://www.jwplayer.com/http://example.com/pixel.gif?r=[REGULATIONS]&gdpr=[GDPRCONSENT]&pu=[PAGEURL]&da=[DEVICEUA] http://example.com/uploads/myPrerollVideo.mp4 https://example.com/adchoices-sm.pnghttps://sample-url.com', 'adomain': [ 'opera.com', @@ -698,8 +698,8 @@ describe('Opera Ads Bid Adapter', function () { 'id': '003004d9c05c6bc7fec0', 'impid': '22c4871113f461', 'price': 1.04, - 'nurl': 'https://s.adx.opera.com/win', - 'lurl': 'https://s.adx.opera.com/loss', + 'nurl': 'https://s.oa.opera.com/win', + 'lurl': 'https://s.oa.opera.com/loss', 'adm': '{"native":{"ver":"1.1","assets":[{"id":1,"required":1,"title":{"text":"The first personal browser"}},{"id":2,"required":1,"img":{"url":"https://res.adx.opera.com/xxx.png","w":720,"h":1280}},{"id":3,"required":1,"img":{"url":"https://res.adx.opera.com/xxx.png","w":60,"h":60}},{"id":4,"required":1,"data":{"value":"Download Opera","len":14}},{"id":5,"required":1,"data":{"value":"Opera","len":5}},{"id":6,"required":1,"data":{"value":"Download","len":8}}],"link":{"url":"https://www.opera.com/mobile/opera","clicktrackers":["https://thirdpart-click.tracker.com","https://t-odx.op-mobile.opera.com/click"]},"imptrackers":["https://thirdpart-imp.tracker.com","https://t-odx.op-mobile.opera.com/impr"],"jstracker":""}}', 'adomain': [ 'opera.com', @@ -782,7 +782,7 @@ describe('Opera Ads Bid Adapter', function () { } const userSyncPixels = spec.getUserSyncs(syncOptions) expect(userSyncPixels).to.have.lengthOf(1); - expect(userSyncPixels[0].url).to.equal('https://s.adx.opera.com/usersync/page') + expect(userSyncPixels[0].url).to.equal('https://s.oa.opera.com/usersync/page') }); }); From 2323c4af65f22eab884e14bec7ab9b1ada567245 Mon Sep 17 00:00:00 2001 From: Luca Corbo Date: Wed, 17 Dec 2025 16:25:00 +0100 Subject: [PATCH 081/248] WURFL RTD: update beacon to use bid.bidder as preferred field (#14276) --- modules/wurflRtdProvider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wurflRtdProvider.js b/modules/wurflRtdProvider.js index 9edf1df1a2f..6c7c6163e1a 100644 --- a/modules/wurflRtdProvider.js +++ b/modules/wurflRtdProvider.js @@ -13,7 +13,7 @@ import { getGlobal } from '../src/prebidGlobal.js'; // Constants const REAL_TIME_MODULE = 'realTimeData'; const MODULE_NAME = 'wurfl'; -const MODULE_VERSION = '2.3.0'; +const MODULE_VERSION = '2.3.1'; // WURFL_JS_HOST is the host for the WURFL service endpoints const WURFL_JS_HOST = 'https://prebid.wurflcloud.com'; @@ -1330,7 +1330,7 @@ function onAuctionEndEvent(auctionDetails, config, userConsent) { for (let i = 0; i < bidsReceived.length; i++) { const bid = bidsReceived[i]; const adUnitCode = bid.adUnitCode; - const bidderCode = bid.bidderCode || bid.bidder; + const bidderCode = bid.bidder || bid.bidderCode; const key = adUnitCode + ':' + bidderCode; bidResponseMap[key] = bid; } From e480e4f90e4cece5fd2250f04745714d8ac108b0 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Wed, 17 Dec 2025 12:00:38 -0500 Subject: [PATCH 082/248] Various modules: Ensure modules use connection utils (#14038) * Ensure modules use connection utils * Timeout RTD: remove unused helpers --- libraries/connectionInfo/connectionUtils.js | 42 ++++++++++++++++++++- modules/axonixBidAdapter.js | 17 ++------- modules/beachfrontBidAdapter.js | 5 ++- modules/displayioBidAdapter.js | 5 ++- modules/gumgumBidAdapter.js | 5 ++- modules/nextMillenniumBidAdapter.js | 19 ++++++---- modules/onetagBidAdapter.js | 7 ++-- modules/pubmaticBidAdapter.js | 7 +--- modules/seedtagBidAdapter.js | 10 ++--- modules/teadsBidAdapter.js | 14 ++++--- modules/theAdxBidAdapter.js | 11 +++--- modules/widespaceBidAdapter.js | 9 +++-- 12 files changed, 93 insertions(+), 58 deletions(-) diff --git a/libraries/connectionInfo/connectionUtils.js b/libraries/connectionInfo/connectionUtils.js index 29d1e310986..562872d75ba 100644 --- a/libraries/connectionInfo/connectionUtils.js +++ b/libraries/connectionInfo/connectionUtils.js @@ -3,11 +3,51 @@ * * @returns {number} - Type of connection. */ +function resolveNavigator() { + if (typeof window !== 'undefined' && window.navigator) { + return window.navigator; + } + + if (typeof navigator !== 'undefined') { + return navigator; + } + + return null; +} + +function resolveNetworkInformation() { + const nav = resolveNavigator(); + if (!nav) { + return null; + } + + return nav.connection || nav.mozConnection || nav.webkitConnection || null; +} + +export function getConnectionInfo() { + const connection = resolveNetworkInformation(); + + if (!connection) { + return null; + } + + return { + type: connection.type ?? null, + effectiveType: connection.effectiveType ?? null, + downlink: typeof connection.downlink === 'number' ? connection.downlink : null, + downlinkMax: typeof connection.downlinkMax === 'number' ? connection.downlinkMax : null, + rtt: typeof connection.rtt === 'number' ? connection.rtt : null, + saveData: typeof connection.saveData === 'boolean' ? connection.saveData : null, + bandwidth: typeof connection.bandwidth === 'number' ? connection.bandwidth : null + }; +} + export function getConnectionType() { - const connection = navigator.connection || navigator.webkitConnection; + const connection = getConnectionInfo(); if (!connection) { return 0; } + switch (connection.type) { case 'ethernet': return 1; diff --git a/modules/axonixBidAdapter.js b/modules/axonixBidAdapter.js index 17b7d9bd8df..c0b3f334c40 100644 --- a/modules/axonixBidAdapter.js +++ b/modules/axonixBidAdapter.js @@ -4,6 +4,7 @@ import {registerBidder} from '../src/adapters/bidderFactory.js'; import {BANNER, VIDEO} from '../src/mediaTypes.js'; import {config} from '../src/config.js'; import {ajax} from '../src/ajax.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; const BIDDER_CODE = 'axonix'; const BIDDER_VERSION = '1.0.2'; @@ -81,19 +82,9 @@ export const spec = { buildRequests: function(validBidRequests, bidderRequest) { // device.connectiontype - const connection = window.navigator && (window.navigator.connection || window.navigator.mozConnection || window.navigator.webkitConnection) - let connectionType = 'unknown'; - let effectiveType = ''; - - if (connection) { - if (connection.type) { - connectionType = connection.type; - } - - if (connection.effectiveType) { - effectiveType = connection.effectiveType; - } - } + const connection = getConnectionInfo(); + const connectionType = connection?.type ?? 'unknown'; + const effectiveType = connection?.effectiveType ?? ''; const requests = validBidRequests.map(validBidRequest => { // app/site diff --git a/modules/beachfrontBidAdapter.js b/modules/beachfrontBidAdapter.js index 6cb9b6dfcc8..3f627fe39e0 100644 --- a/modules/beachfrontBidAdapter.js +++ b/modules/beachfrontBidAdapter.js @@ -11,6 +11,7 @@ import {registerBidder} from '../src/adapters/bidderFactory.js'; import {Renderer} from '../src/Renderer.js'; import {BANNER, VIDEO} from '../src/mediaTypes.js'; import { getFirstSize, getOsVersion, getVideoSizes, getBannerSizes, isConnectedTV, getDoNotTrack, isMobile, isBannerBid, isVideoBid, getBannerBidFloor, getVideoBidFloor, getVideoTargetingParams, getTopWindowLocation } from '../libraries/advangUtils/index.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; const ADAPTER_VERSION = '1.21'; const GVLID = 157; @@ -338,8 +339,8 @@ function createVideoRequestData(bid, bidderRequest) { deepSetValue(payload, 'user.ext.eids', eids); } - const connection = navigator.connection || navigator.webkitConnection; - if (connection && connection.effectiveType) { + const connection = getConnectionInfo(); + if (connection?.effectiveType) { deepSetValue(payload, 'device.connectiontype', connection.effectiveType); } diff --git a/modules/displayioBidAdapter.js b/modules/displayioBidAdapter.js index 78d5c143f55..69ff56621fd 100644 --- a/modules/displayioBidAdapter.js +++ b/modules/displayioBidAdapter.js @@ -5,6 +5,7 @@ import {Renderer} from '../src/Renderer.js'; import {logWarn} from '../src/utils.js'; import {getStorageManager} from '../src/storageManager.js'; import {getAllOrtbKeywords} from '../libraries/keywords/keywords.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; const ADAPTER_VERSION = '1.1.0'; const BIDDER_CODE = 'displayio'; @@ -70,7 +71,7 @@ export const spec = { }; function getPayload (bid, bidderRequest) { - const connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection; + const connection = getConnectionInfo(); const storage = getStorageManager({bidderCode: BIDDER_CODE}); const userSession = (() => { let us = storage.getDataFromLocalStorage(US_KEY); @@ -133,7 +134,7 @@ function getPayload (bid, bidderRequest) { device: { w: window.screen.width, h: window.screen.height, - connection_type: connection ? connection.effectiveType : '', + connection_type: connection?.effectiveType || '', } } } diff --git a/modules/gumgumBidAdapter.js b/modules/gumgumBidAdapter.js index 8bfb5b841d0..b09de4981e9 100644 --- a/modules/gumgumBidAdapter.js +++ b/modules/gumgumBidAdapter.js @@ -5,6 +5,7 @@ import {config} from '../src/config.js'; import {getStorageManager} from '../src/storageManager.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -42,8 +43,8 @@ function _getBrowserParams(topWindowUrl, mosttopLocation) { let ns; function getNetworkSpeed () { - const connection = window.navigator && (window.navigator.connection || window.navigator.mozConnection || window.navigator.webkitConnection); - const Mbps = connection && (connection.downlink || connection.bandwidth); + const connection = getConnectionInfo(); + const Mbps = connection?.downlink ?? connection?.bandwidth; return Mbps ? Math.round(Mbps * 1024) : null; } diff --git a/modules/nextMillenniumBidAdapter.js b/modules/nextMillenniumBidAdapter.js index 2d68e05651f..ec089e151aa 100644 --- a/modules/nextMillenniumBidAdapter.js +++ b/modules/nextMillenniumBidAdapter.js @@ -22,6 +22,7 @@ import {config} from '../src/config.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; import {getRefererInfo} from '../src/refererDetection.js'; import { getViewportSize } from '../libraries/viewport/viewport.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; const NM_VERSION = '4.5.1'; const PBJS_VERSION = 'v$prebid.version$'; @@ -583,14 +584,16 @@ function getDeviceObj() { } function getDeviceConnectionType() { - const connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection; - if (connection?.type === 'ethernet') return 1; - if (connection?.type === 'wifi') return 2; - - if (connection?.effectiveType === 'slow-2g') return 3; - if (connection?.effectiveType === '2g') return 4; - if (connection?.effectiveType === '3g') return 5; - if (connection?.effectiveType === '4g') return 6; + const connection = getConnectionInfo(); + const connectionType = connection?.type; + const effectiveType = connection?.effectiveType; + if (connectionType === 'ethernet') return 1; + if (connectionType === 'wifi') return 2; + + if (effectiveType === 'slow-2g') return 3; + if (effectiveType === '2g') return 4; + if (effectiveType === '3g') return 5; + if (effectiveType === '4g') return 6; return undefined; } diff --git a/modules/onetagBidAdapter.js b/modules/onetagBidAdapter.js index fa9a7a8244f..e588459ad29 100644 --- a/modules/onetagBidAdapter.js +++ b/modules/onetagBidAdapter.js @@ -8,6 +8,7 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'; import { deepClone, logError, deepAccess, getWinDimensions } from '../src/utils.js'; import { getBoundingClientRect } from '../libraries/boundingClientRect/boundingClientRect.js'; import { toOrtbNativeRequest } from '../src/native.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -141,9 +142,9 @@ function buildRequests(validBidRequests, bidderRequest) { payload.onetagSid = storage.getDataFromLocalStorage('onetag_sid'); } } catch (e) { } - const connection = navigator.connection || navigator.webkitConnection; - payload.networkConnectionType = (connection && connection.type) ? connection.type : null; - payload.networkEffectiveConnectionType = (connection && connection.effectiveType) ? connection.effectiveType : null; + const connection = getConnectionInfo(); + payload.networkConnectionType = connection?.type || null; + payload.networkEffectiveConnectionType = connection?.effectiveType || null; payload.fledgeEnabled = Boolean(bidderRequest?.paapi?.enabled) return { method: 'POST', diff --git a/modules/pubmaticBidAdapter.js b/modules/pubmaticBidAdapter.js index 7f2abeb5b6a..2a326867a4a 100644 --- a/modules/pubmaticBidAdapter.js +++ b/modules/pubmaticBidAdapter.js @@ -8,6 +8,7 @@ import { bidderSettings } from '../src/bidderSettings.js'; import { ortbConverter } from '../libraries/ortbConverter/converter.js'; import { NATIVE_ASSET_TYPES, NATIVE_IMAGE_TYPES, PREBID_NATIVE_DATA_KEYS_TO_ORTB, NATIVE_KEYS_THAT_ARE_NOT_ASSETS, NATIVE_KEYS } from '../src/constants.js'; import { addDealCustomTargetings, addPMPDeals } from '../libraries/dealUtils/dealUtils.js'; +import { getConnectionType } from '../libraries/connectionInfo/connectionUtils.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -563,12 +564,6 @@ const validateBlockedCategories = (bcats) => { return [...new Set(bcats.filter(item => typeof item === 'string' && item.length >= 3))]; } -const getConnectionType = () => { - const connection = window.navigator && (window.navigator.connection || window.navigator.mozConnection || window.navigator.webkitConnection); - const types = { ethernet: 1, wifi: 2, 'slow-2g': 4, '2g': 4, '3g': 5, '4g': 6 }; - return types[connection?.effectiveType] || 0; -} - /** * Optimizes the impressions array by consolidating impressions for the same ad unit and media type * @param {Array} imps - Array of impression objects diff --git a/modules/seedtagBidAdapter.js b/modules/seedtagBidAdapter.js index 2cd6eb4627a..f93ed814a0a 100644 --- a/modules/seedtagBidAdapter.js +++ b/modules/seedtagBidAdapter.js @@ -4,6 +4,7 @@ import { config } from '../src/config.js'; import { BANNER, VIDEO } from '../src/mediaTypes.js'; import { _map, getWinDimensions, isArray, triggerPixel } from '../src/utils.js'; import { getViewportCoordinates } from '../libraries/viewport/viewport.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -53,12 +54,9 @@ function getBidFloor(bidRequest) { } const getConnectionType = () => { - const connection = - navigator.connection || - navigator.mozConnection || - navigator.webkitConnection || - {}; - switch (connection.type || connection.effectiveType) { + const connection = getConnectionInfo(); + const connectionType = connection?.type || connection?.effectiveType; + switch (connectionType) { case 'wifi': case 'ethernet': return deviceConnection.FIXED; diff --git a/modules/teadsBidAdapter.js b/modules/teadsBidAdapter.js index 24894b9e7c1..a63b0565ffc 100644 --- a/modules/teadsBidAdapter.js +++ b/modules/teadsBidAdapter.js @@ -4,6 +4,7 @@ import {getStorageManager} from '../src/storageManager.js'; import {isAutoplayEnabled} from '../libraries/autoplayDetection/autoplay.js'; import {getHLen} from '../libraries/navigatorData/navigatorData.js'; import {getTimeToFirstByte} from '../libraries/timeToFirstBytesUtils/timeToFirstBytesUtils.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -64,8 +65,8 @@ export const spec = { pageReferrer: document.referrer, pageTitle: getPageTitle().slice(0, 300), pageDescription: getPageDescription().slice(0, 300), - networkBandwidth: getConnectionDownLink(window.navigator), - networkQuality: getNetworkQuality(window.navigator), + networkBandwidth: getConnectionDownLink(), + networkQuality: getNetworkQuality(), timeToFirstByte: getTimeToFirstByte(window), data: bids, domComplexity: getDomComplexity(document), @@ -256,12 +257,13 @@ function getPageDescription() { return (element && element.content) || ''; } -function getConnectionDownLink(nav) { - return nav && nav.connection && nav.connection.downlink >= 0 ? nav.connection.downlink.toString() : ''; +function getConnectionDownLink() { + const connection = getConnectionInfo(); + return connection?.downlink != null ? connection.downlink.toString() : ''; } -function getNetworkQuality(navigator) { - const connection = navigator.connection || navigator.mozConnection || navigator.webkitConnection; +function getNetworkQuality() { + const connection = getConnectionInfo(); return connection?.effectiveType ?? ''; } diff --git a/modules/theAdxBidAdapter.js b/modules/theAdxBidAdapter.js index 15ac4376548..d57e307c7e1 100644 --- a/modules/theAdxBidAdapter.js +++ b/modules/theAdxBidAdapter.js @@ -9,6 +9,7 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'; import { convertOrtbRequestToProprietaryNative } from '../src/native.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -374,11 +375,11 @@ const buildDeviceComponent = (bidRequest, bidderRequest) => { dnt: getDNT() ? 1 : 0, }; // Include connection info if available - const CONNECTION = navigator.connection || navigator.webkitConnection; - if (CONNECTION && CONNECTION.type) { - device['connectiontype'] = CONNECTION.type; - if (CONNECTION.downlinkMax) { - device['connectionDownlinkMax'] = CONNECTION.downlinkMax; + const connection = getConnectionInfo(); + if (connection?.type) { + device['connectiontype'] = connection.type; + if (connection.downlinkMax != null) { + device['connectionDownlinkMax'] = connection.downlinkMax; } } diff --git a/modules/widespaceBidAdapter.js b/modules/widespaceBidAdapter.js index 9eb796571ca..7a8dec47a28 100644 --- a/modules/widespaceBidAdapter.js +++ b/modules/widespaceBidAdapter.js @@ -3,6 +3,7 @@ import {registerBidder} from '../src/adapters/bidderFactory.js'; import {deepClone, parseQueryStringParameters, parseSizesInput} from '../src/utils.js'; import {getStorageManager} from '../src/storageManager.js'; import { getBoundingClientRect } from '../libraries/boundingClientRect/boundingClientRect.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; const BIDDER_CODE = 'widespace'; const WS_ADAPTER_VERSION = '2.0.1'; @@ -82,10 +83,10 @@ export const spec = { } // Include connection info if available - const CONNECTION = navigator.connection || navigator.webkitConnection; - if (CONNECTION && CONNECTION.type && CONNECTION.downlinkMax) { - data['netinfo.type'] = CONNECTION.type; - data['netinfo.downlinkMax'] = CONNECTION.downlinkMax; + const connection = getConnectionInfo(); + if (connection?.type && connection.downlinkMax != null) { + data['netinfo.type'] = connection.type; + data['netinfo.downlinkMax'] = connection.downlinkMax; } // Include debug data when available From 2c5fde9c4fcf20e21419257278bf5717d326031c Mon Sep 17 00:00:00 2001 From: pm-abhinav-deshpande Date: Wed, 17 Dec 2025 23:55:42 +0530 Subject: [PATCH 083/248] PubMatic RTD Provider : Added support for dayOfWeek and hourOfDay floor schema fields (#14257) * PubMatic RTD Provider: Plugin based architectural changes * PubMatic RTD Provider: Minor changes to the Plugins * PubMatic RTD Provider: Moved configJsonManager to the RTD provider * PubMatic RTD Provider: Move bidderOptimisation to one file * Adding testcases for floorProvider.js for floorPlugin * PubMatic RTD provider: Update endpoint to actual after testing * Adding test cases for floorProvider * Adding test cases for config * PubMatic RTD provider: Handle the getTargetting effectively * Pubmatic RTD Provider: Handle null case * Adding test cases for floorProviders * fixing linting issues * Fixing linting and other errors * RTD provider: Update pubmaticRtdProvider.js * RTD Provider: Update pubmaticRtdProvider_spec.js * RTD Provider: Dynamic Timeout Plugin * RTD Provider: Dynamic Timeout Plugin Updated with new schema * RTD Provider: Plugin changes * RTD Provider: Dynamic Timeout fixes * RTD Provider: Plugin changes * RTD Provider: Plugin changes * RTD Provider: Plugin changes (cherry picked from commit d440ca6ae01af946e6f019c6aa98d6026f2ea565) * RTD Provider: Plugin changes for Dynamic Timeout * RTD PRovider: Test cases : PubmaticUTils test cases and * RTD PRovider: Plugin Manager test cases * RTD Provider: Lint issues and Spec removed * RTD Provider: Dynamic TImeout Test cases * Add unit test cases for unifiedPricingRule.js * RTD Provider: Fixes for Floor and UPR working * RTD Provider: test cases updated * Dynamic timeout comments added * Remove bidder optimization * PubMatic RTD Provider: Handle Empty object case for floor data * RTD Provider: Update the priority for dynamic timeout rules * Dynamic timeout: handle default skipRate * Dynamic Timeout - Handle Negative values gracefully with 500 Default threshold * Review comments resolved * Comments added * Update pubmaticRtdProvider_Example.html * Fix lint & test cases * Update default UPR multiplier value * Remove comments * Adding DOW * Update pubmaticUtils.js * Update pubmaticRtdProvider.js * Added hourOfDay and cases to spec * Pubmatic RTD: update logic of ortb2Fragments.bidder * removed continueAuction functionality * Fixed lint error isFn imported but not used --------- Co-authored-by: Nitin Shirsat Co-authored-by: pm-nitin-shirsat <107102698+pm-nitin-shirsat@users.noreply.github.com> Co-authored-by: Tanishka Vishwakarma Co-authored-by: Komal Kumari Co-authored-by: priyankadeshmane Co-authored-by: pm-priyanka-deshmane <107103300+pm-priyanka-deshmane@users.noreply.github.com> --- .../pubmaticUtils/plugins/floorProvider.js | 6 ++- libraries/pubmaticUtils/pubmaticUtils.js | 10 ++++ modules/pubmaticRtdProvider.js | 7 +-- .../plugins/floorProvider_spec.js | 8 +++ .../pubmaticUtils/pubmaticUtils_spec.js | 54 ++++++++++++++++++- 5 files changed, 80 insertions(+), 5 deletions(-) diff --git a/libraries/pubmaticUtils/plugins/floorProvider.js b/libraries/pubmaticUtils/plugins/floorProvider.js index f67648c3f50..a6112634353 100644 --- a/libraries/pubmaticUtils/plugins/floorProvider.js +++ b/libraries/pubmaticUtils/plugins/floorProvider.js @@ -1,7 +1,7 @@ // plugins/floorProvider.js import { logInfo, logError, logMessage, isEmpty } from '../../../src/utils.js'; import { getDeviceType as fetchDeviceType, getOS } from '../../userAgentUtils/index.js'; -import { getBrowserType, getCurrentTimeOfDay, getUtmValue } from '../pubmaticUtils.js'; +import { getBrowserType, getCurrentTimeOfDay, getUtmValue, getDayOfWeek, getHourOfDay } from '../pubmaticUtils.js'; import { config as conf } from '../../../src/config.js'; /** @@ -118,6 +118,8 @@ export const getDeviceType = () => fetchDeviceType().toString(); export const getCountry = () => getConfigJsonManager().country; export const getBidder = (request) => request?.bidder; export const getUtm = () => getUtmValue(); +export const getDOW = () => getDayOfWeek(); +export const getHOD = () => getHourOfDay(); export const prepareFloorsConfig = () => { if (!getFloorConfig()?.enabled || !getFloorConfig()?.config) { @@ -157,6 +159,8 @@ export const prepareFloorsConfig = () => { utm: getUtm, country: getCountry, bidder: getBidder, + dayOfWeek: getDOW, + hourOfDay: getHOD }, }, }; diff --git a/libraries/pubmaticUtils/pubmaticUtils.js b/libraries/pubmaticUtils/pubmaticUtils.js index 3055fc3bcf0..a7e23f1ee76 100644 --- a/libraries/pubmaticUtils/pubmaticUtils.js +++ b/libraries/pubmaticUtils/pubmaticUtils.js @@ -62,6 +62,16 @@ export const getUtmValue = () => { return urlParams && urlParams.toString().includes(CONSTANTS.UTM) ? CONSTANTS.UTM_VALUES.TRUE : CONSTANTS.UTM_VALUES.FALSE; } +export const getDayOfWeek = () => { + const dayOfWeek = new Date().getDay(); + return dayOfWeek.toString(); +} + +export const getHourOfDay = () => { + const hourOfDay = new Date().getHours(); + return hourOfDay.toString(); +} + /** * Determines whether an action should be throttled based on a given percentage. * diff --git a/modules/pubmaticRtdProvider.js b/modules/pubmaticRtdProvider.js index d930ac70ab1..6dbb3a28aac 100644 --- a/modules/pubmaticRtdProvider.js +++ b/modules/pubmaticRtdProvider.js @@ -145,9 +145,10 @@ const getBidRequestData = (reqBidsConfigObj, callback) => { } }; - mergeDeep(reqBidsConfigObj.ortb2Fragments.bidder, { - [CONSTANTS.SUBMODULE_NAME]: ortb2 - }); + reqBidsConfigObj.ortb2Fragments.bidder[CONSTANTS.SUBMODULE_NAME] = mergeDeep( + reqBidsConfigObj.ortb2Fragments.bidder[CONSTANTS.SUBMODULE_NAME] || {}, + ortb2 + ); } callback(); diff --git a/test/spec/libraries/pubmaticUtils/plugins/floorProvider_spec.js b/test/spec/libraries/pubmaticUtils/plugins/floorProvider_spec.js index 02c80a827dd..686a9b1ad30 100644 --- a/test/spec/libraries/pubmaticUtils/plugins/floorProvider_spec.js +++ b/test/spec/libraries/pubmaticUtils/plugins/floorProvider_spec.js @@ -180,5 +180,13 @@ describe('FloorProvider', () => { expect(floorProvider.getBidder({})).to.equal(undefined); expect(floorProvider.getBidder(undefined)).to.equal(undefined); }); + it('getDOW should return result from getDayOfWeek', async () => { + const stub = sinon.stub(pubmaticUtils, 'getDayOfWeek').returns('0'); + expect(floorProvider.getDOW()).to.equal('0'); + }); + it('getHOD should return result from getHourOfDay', async () => { + const stub = sinon.stub(pubmaticUtils, 'getHourOfDay').returns('15'); + expect(floorProvider.getHOD()).to.equal('15'); + }); }); }); diff --git a/test/spec/libraries/pubmaticUtils/pubmaticUtils_spec.js b/test/spec/libraries/pubmaticUtils/pubmaticUtils_spec.js index 252bd361ad8..f339071fb16 100644 --- a/test/spec/libraries/pubmaticUtils/pubmaticUtils_spec.js +++ b/test/spec/libraries/pubmaticUtils/pubmaticUtils_spec.js @@ -1,7 +1,7 @@ /* globals describe, beforeEach, afterEach, it, sinon */ import { expect } from 'chai'; import * as sua from '../../../../src/fpd/sua.js'; -import { getBrowserType, getCurrentTimeOfDay, getUtmValue } from '../../../../libraries/pubmaticUtils/pubmaticUtils.js'; +import { getBrowserType, getCurrentTimeOfDay, getUtmValue, getDayOfWeek, getHourOfDay } from '../../../../libraries/pubmaticUtils/pubmaticUtils.js'; describe('pubmaticUtils', () => { let sandbox; @@ -233,4 +233,56 @@ describe('pubmaticUtils', () => { expect(getUtmValue()).to.equal('1'); }); }); + + describe('getDayOfWeek', () => { + let clock; + + afterEach(() => { + if (clock) { + clock.restore(); + } + }); + + it('should return the correct day of the week', () => { + // Sunday + clock = sinon.useFakeTimers(new Date('2023-01-01T12:00:00Z').getTime()); + expect(getDayOfWeek()).to.equal('0'); + clock.restore(); + + // Wednesday + clock = sinon.useFakeTimers(new Date('2023-01-04T12:00:00Z').getTime()); + expect(getDayOfWeek()).to.equal('3'); + clock.restore(); + + // Saturday + clock = sinon.useFakeTimers(new Date('2023-01-07T12:00:00Z').getTime()); + expect(getDayOfWeek()).to.equal('6'); + }); + }); + + describe('getHourOfDay', () => { + let clock; + + afterEach(() => { + if (clock) { + clock.restore(); + } + }); + + it('should return the correct hour of the day', () => { + // Midnight (0:00) + clock = sinon.useFakeTimers(new Date(2023, 0, 1, 0, 0, 0).getTime()); + expect(getHourOfDay()).to.equal('0'); + clock.restore(); + + // 11:30 AM should return 11 + clock = sinon.useFakeTimers(new Date(2023, 0, 1, 11, 30, 0).getTime()); + expect(getHourOfDay()).to.equal('11'); + clock.restore(); + + // 11:59 PM (23:59) should return 23 + clock = sinon.useFakeTimers(new Date(2023, 0, 1, 23, 59, 59).getTime()); + expect(getHourOfDay()).to.equal('23'); + }); + }); }); From c9fb203c66e477c30dd0d0686622b5d4181b9934 Mon Sep 17 00:00:00 2001 From: Prebid-Team Date: Wed, 17 Dec 2025 23:56:59 +0530 Subject: [PATCH 084/248] IncrementX Adapter Update (#14269) * IncrementX adapter: updated logic as per Prebid v10 guidelines * IncrementX adapter: updated logic as per Prebid v10 guidelines * Move createRenderer to the top as suggested --- modules/incrementxBidAdapter.js | 159 ++-- .../spec/modules/incrementxBidAdapter_spec.js | 723 ++++++++++++++---- 2 files changed, 674 insertions(+), 208 deletions(-) diff --git a/modules/incrementxBidAdapter.js b/modules/incrementxBidAdapter.js index e7f8ff51fa9..07eed9efd7f 100644 --- a/modules/incrementxBidAdapter.js +++ b/modules/incrementxBidAdapter.js @@ -14,6 +14,33 @@ const ENDPOINT_URL = 'https://hb.incrementxserv.com/vzhbidder/bid'; const DEFAULT_CURRENCY = 'USD'; const CREATIVE_TTL = 300; +// OUTSTREAM RENDERER +function createRenderer(bid, rendererOptions = {}) { + const renderer = Renderer.install({ + id: bid.slotBidId, + url: bid.rUrl, + config: rendererOptions, + adUnitCode: bid.adUnitCode, + loaded: false + }); + try { + renderer.setRender(({ renderer, width, height, vastXml, adUnitCode }) => { + renderer.push(() => { + window.onetag.Player.init({ + ...bid, + width, + height, + vastXml, + nodeId: adUnitCode, + config: renderer.getConfig() + }); + }); + }); + } catch (e) { } + + return renderer; +} + export const spec = { code: BIDDER_CODE, aliases: ['incrx'], @@ -26,7 +53,7 @@ export const spec = { * @return boolean True if this is a valid bid, and false otherwise. */ isBidRequestValid: function (bid) { - return !!(bid.params.placementId); + return !!(bid.params && bid.params.placementId); }, hasTypeVideo(bid) { return typeof bid.mediaTypes !== 'undefined' && typeof bid.mediaTypes.video !== 'undefined'; @@ -41,12 +68,8 @@ export const spec = { buildRequests: function (validBidRequests, bidderRequest) { return validBidRequests.map(bidRequest => { const sizes = parseSizesInput(bidRequest.params.size || bidRequest.sizes); - let mdType = 0; - if (bidRequest.mediaTypes[BANNER]) { - mdType = 1; - } else { - mdType = 2; - } + let mdType = bidRequest.mediaTypes[BANNER] ? 1 : 2; + const requestParams = { _vzPlacementId: bidRequest.params.placementId, sizes: sizes, @@ -54,15 +77,19 @@ export const spec = { _rqsrc: bidderRequest.refererInfo.page, mChannel: mdType }; + let payload; - if (mdType === 1) { // BANNER + + if (mdType === 1) { + // BANNER payload = { - q: encodeURI(JSON.stringify(requestParams)) + q: encodeURIComponent(JSON.stringify(requestParams)) }; - } else { // VIDEO or other types + } else { + // VIDEO payload = { - q: encodeURI(JSON.stringify(requestParams)), - bidderRequestData: encodeURI(JSON.stringify(bidderRequest)) + q: encodeURIComponent(JSON.stringify(requestParams)), + bidderRequestData: encodeURIComponent(JSON.stringify(bidderRequest)) }; } @@ -80,19 +107,13 @@ export const spec = { * @param {ServerResponse} serverResponse A successful response from the server. * @return {Bid[]} An array of bids which were nested inside the server. */ - interpretResponse: function (serverResponse, bidderRequest) { + interpretResponse: function (serverResponse, request) { const response = serverResponse.body; - const bids = []; - if (isEmpty(response)) { - return bids; - } - let decodedBidderRequestData; - if (typeof bidderRequest.data.bidderRequestData === 'string') { - decodedBidderRequestData = JSON.parse(decodeURI(bidderRequest.data.bidderRequestData)); - } else { - decodedBidderRequestData = bidderRequest.data.bidderRequestData; - } - const responseBid = { + if (isEmpty(response)) return []; + + const ixReq = request.data || {}; + + const bid = { requestId: response.slotBidId, cpm: response.cpm > 0 ? response.cpm : 0, currency: response.currency || DEFAULT_CURRENCY, @@ -107,57 +128,63 @@ export const spec = { meta: { mediaType: response.mediaType, advertiserDomains: response.advertiserDomains || [] - }, - + } }; - if (response.mediaType === BANNER) { - responseBid.ad = response.ad || ''; - } else if (response.mediaType === VIDEO) { - let context, adUnitCode; - for (let i = 0; i < decodedBidderRequestData.bids.length; i++) { - const item = decodedBidderRequestData.bids[i]; - if (item.bidId === response.slotBidId) { - context = item.mediaTypes.video.context; - adUnitCode = item.adUnitCode; - break; + + // BANNER + const ixMt = response.mediaType; + if (ixMt === BANNER || ixMt === "banner" || ixMt === 1) { + bid.ad = response.ad || ''; + return [bid]; + } + + // VIDEO + let context; + let adUnitCode; + + if (ixReq.videoContext) { + context = ixReq.videoContext; + adUnitCode = ixReq.adUnitCode; + } + + if (!context && ixReq.bidderRequestData) { + let ixDecoded = ixReq.bidderRequestData; + + if (typeof ixDecoded === 'string') { + try { + ixDecoded = JSON.parse(decodeURIComponent(ixDecoded)); + } catch (e) { + ixDecoded = null; } } - if (context === INSTREAM) { - responseBid.vastUrl = response.ad || ''; - } else if (context === OUTSTREAM) { - responseBid.vastXml = response.ad || ''; - if (response.rUrl) { - responseBid.renderer = createRenderer({ ...response, adUnitCode }); + + if (ixDecoded?.bids?.length) { + for (const item of ixDecoded.bids) { + if (item.bidId === response.slotBidId) { + context = item.mediaTypes?.video?.context; + adUnitCode = item.adUnitCode; + break; + } } } } - bids.push(responseBid); - function createRenderer(bid, rendererOptions = {}) { - const renderer = Renderer.install({ - id: bid.slotBidId, - url: bid.rUrl, - config: rendererOptions, - adUnitCode: bid.adUnitCode, - loaded: false - }); - try { - renderer.setRender(({ renderer, width, height, vastXml, adUnitCode }) => { - renderer.push(() => { - window.onetag.Player.init({ - ...bid, - width, - height, - vastXml, - nodeId: adUnitCode, - config: renderer.getConfig() - }); - }); + + // INSTREAM + if (context === INSTREAM) { + bid.vastUrl = response.ad || ''; + } else if (context === OUTSTREAM) { + // OUTSTREAM + bid.vastXml = response.ad || ''; + + if (response.rUrl) { + bid.renderer = createRenderer({ + ...response, + adUnitCode }); - } catch (e) { } - return renderer; } - return bids; + + return [bid]; } }; diff --git a/test/spec/modules/incrementxBidAdapter_spec.js b/test/spec/modules/incrementxBidAdapter_spec.js index 3fcf3bcc978..47008ac738e 100644 --- a/test/spec/modules/incrementxBidAdapter_spec.js +++ b/test/spec/modules/incrementxBidAdapter_spec.js @@ -1,51 +1,34 @@ import { expect } from 'chai'; import { spec } from 'modules/incrementxBidAdapter.js'; import { BANNER, VIDEO } from 'src/mediaTypes.js'; -import { INSTREAM, OUTSTREAM } from 'src/video.js'; -describe('incrementx', function () { +describe('incrementxBidAdapter', function () { const bannerBidRequest = { bidder: 'incrementx', - params: { - placementId: 'IX-HB-12345' - }, - mediaTypes: { - banner: { - sizes: [[300, 250], [300, 600]] - } - }, - sizes: [ - [300, 250], - [300, 600] - ], + params: { placementId: 'IX-HB-12345' }, + mediaTypes: { banner: { sizes: [[300, 250], [300, 600]] } }, + sizes: [[300, 250], [300, 600]], adUnitCode: 'div-gpt-ad-1460505748561-0', bidId: '2faedf3e89d123', bidderRequestId: '1c78fb49cc71c6', auctionId: 'b4f81e8e36232', transactionId: '0d95b2c1-a834-4e50-a962-9b6aa0e1c8fb' }; - const videoBidRequest = { + + const outstreamVideoBidRequest = { bidder: 'incrementx', - params: { - placementId: 'IX-HB-12346' - }, - mediaTypes: { - video: { - context: 'outstream', - playerSize: ['640x480'] - } - }, + params: { placementId: 'IX-HB-12346' }, + mediaTypes: { video: { context: 'outstream', playerSize: [640, 480] } }, adUnitCode: 'div-gpt-ad-1460505748561-1', bidId: '2faedf3e89d124', bidderRequestId: '1c78fb49cc71c7', auctionId: 'b4f81e8e36233', transactionId: '0d95b2c1-a834-4e50-a962-9b6aa0e1c8fc' }; + const instreamVideoBidRequest = { bidder: 'incrementx', - params: { - placementId: 'IX-HB-12347' - }, + params: { placementId: 'IX-HB-12347' }, mediaTypes: { video: { context: 'instream', @@ -64,166 +47,622 @@ describe('incrementx', function () { transactionId: '0d95b2c1-a834-4e50-a962-9b6aa0e1c8fd' }; - describe('isBidRequestValid', function () { - it('should return true when required params are found', function () { + const bidderRequest = { + refererInfo: { page: 'https://example.com' } + }; + + // VALIDATION + + describe('isBidRequestValid', () => { + it('should return true when placementId exists', () => { expect(spec.isBidRequestValid(bannerBidRequest)).to.equal(true); - expect(spec.isBidRequestValid(videoBidRequest)).to.equal(true); + expect(spec.isBidRequestValid(outstreamVideoBidRequest)).to.equal(true); expect(spec.isBidRequestValid(instreamVideoBidRequest)).to.equal(true); }); + + it('should return false when placementId is missing', () => { + const invalidBid = { bidder: 'incrementx', params: {} }; + expect(spec.isBidRequestValid(invalidBid)).to.equal(false); + }); + + it('should return false when params is missing', () => { + const invalidBid = { bidder: 'incrementx' }; + expect(spec.isBidRequestValid(invalidBid)).to.equal(false); + }); }); - describe('buildRequests', function () { - const bidderRequest = { - refererInfo: { - page: 'https://someurl.com' - } - }; - it('should build banner request', function () { - const requests = spec.buildRequests([bannerBidRequest], bidderRequest); - expect(requests).to.have.lengthOf(1); - expect(requests[0].method).to.equal('POST'); - expect(requests[0].url).to.equal('https://hb.incrementxserv.com/vzhbidder/bid'); - const data = JSON.parse(decodeURI(requests[0].data.q)); - expect(data._vzPlacementId).to.equal('IX-HB-12345'); - expect(data.sizes).to.to.a('array'); - expect(data.mChannel).to.equal(1); - }); - it('should build outstream video request', function () { - const requests = spec.buildRequests([videoBidRequest], bidderRequest); - expect(requests).to.have.lengthOf(1); - expect(requests[0].method).to.equal('POST'); - expect(requests[0].url).to.equal('https://hb.incrementxserv.com/vzhbidder/bid'); - const data = JSON.parse(decodeURI(requests[0].data.q)); - expect(data._vzPlacementId).to.equal('IX-HB-12346'); - expect(data.sizes).to.be.a('array'); - expect(data.mChannel).to.equal(2); - // For video, bidderRequestData should be included - expect(requests[0].data.bidderRequestData).to.exist; - }); - it('should build instream video request', function () { - const requests = spec.buildRequests([instreamVideoBidRequest], bidderRequest); - expect(requests).to.have.lengthOf(1); - expect(requests[0].method).to.equal('POST'); - expect(requests[0].url).to.equal('https://hb.incrementxserv.com/vzhbidder/bid'); - const data = JSON.parse(decodeURI(requests[0].data.q)); - expect(data._vzPlacementId).to.equal('IX-HB-12347'); - expect(data.sizes).to.be.a('array'); - expect(data.mChannel).to.equal(2); - - // For video, bidderRequestData should be included - expect(requests[0].data.bidderRequestData).to.exist; - const decodedBidderRequestData = decodeURI(requests[0].data.bidderRequestData); - expect(decodedBidderRequestData).to.be.a('string'); - // Verify it can be parsed as JSON - expect(() => JSON.parse(decodedBidderRequestData)).to.not.throw(); + // BUILD REQUESTS TESTS (LEGACY FORMAT ONLY) + + describe('buildRequests', () => { + it('should build a valid banner request (LEGACY FORMAT: q only)', () => { + const reqs = spec.buildRequests([bannerBidRequest], bidderRequest); + const data = reqs[0].data; + + expect(reqs[0].method).to.equal('POST'); + expect(reqs[0].url).to.equal('https://hb.incrementxserv.com/vzhbidder/bid'); + + // Banner sends ONLY q + expect(data.q).to.exist; + expect(data.bidderRequestData).to.not.exist; + + const decodedQ = JSON.parse(decodeURIComponent(data.q)); + expect(decodedQ._vzPlacementId).to.equal('IX-HB-12345'); + expect(decodedQ.mChannel).to.equal(1); + expect(decodedQ._rqsrc).to.equal('https://example.com'); + expect(decodedQ._slotBidId).to.equal('2faedf3e89d123'); + expect(decodedQ.sizes).to.be.an('array'); + }); + + it('should build an outstream video request (LEGACY FORMAT: q + bidderRequestData)', () => { + const reqs = spec.buildRequests([outstreamVideoBidRequest], bidderRequest); + const data = reqs[0].data; + + // Video sends q + bidderRequestData ONLY + expect(data.q).to.exist; + expect(data.bidderRequestData).to.exist; + + const decodedQ = JSON.parse(decodeURIComponent(data.q)); + expect(decodedQ._vzPlacementId).to.equal('IX-HB-12346'); + expect(decodedQ.mChannel).to.equal(2); + + // bidderRequestData contains full bidderRequest + const decodedBidderRequest = JSON.parse(decodeURIComponent(data.bidderRequestData)); + expect(decodedBidderRequest.refererInfo).to.exist; + expect(decodedBidderRequest.refererInfo.page).to.equal('https://example.com'); + }); + + it('should build an instream video request (LEGACY FORMAT)', () => { + const reqs = spec.buildRequests([instreamVideoBidRequest], bidderRequest); + const data = reqs[0].data; + + expect(data.q).to.exist; + expect(data.bidderRequestData).to.exist; + + const decodedQ = JSON.parse(decodeURIComponent(data.q)); + expect(decodedQ.mChannel).to.equal(2); + expect(decodedQ._vzPlacementId).to.equal('IX-HB-12347'); + }); + + it('should handle multiple bid requests', () => { + const reqs = spec.buildRequests([bannerBidRequest, outstreamVideoBidRequest], bidderRequest); + expect(reqs).to.have.lengthOf(2); + expect(reqs[0].data.q).to.exist; + expect(reqs[1].data.q).to.exist; + }); + + it('should use params.size if available', () => { + const bidWithParamsSize = { + ...bannerBidRequest, + params: { placementId: 'IX-HB-12345', size: [[728, 90]] } + }; + const reqs = spec.buildRequests([bidWithParamsSize], bidderRequest); + const decodedQ = JSON.parse(decodeURIComponent(reqs[0].data.q)); + expect(decodedQ.sizes).to.be.an('array'); }); }); - describe('interpretResponse', function () { - const bannerServerResponse = { + // INTERPRET RESPONSE - BANNER + + describe('interpretResponse - banner', () => { + const bannerResponse = { body: { slotBidId: '2faedf3e89d123', - cpm: 0.5, + ad: '
BANNER
', + cpm: 1.5, + mediaType: BANNER, adWidth: 300, adHeight: 250, - ad: '
Banner Ad
', - mediaType: BANNER, - netRevenue: true, currency: 'USD', + netRevenue: true, + creativeId: 'CR123', + adType: '1', + settings: { test: 'value' }, advertiserDomains: ['example.com'] } }; - const videoServerResponse = { + + it('should parse banner response correctly', () => { + const req = { data: { q: 'dummy' } }; + const result = spec.interpretResponse(bannerResponse, req); + + expect(result).to.have.lengthOf(1); + const bid = result[0]; + expect(bid.requestId).to.equal('2faedf3e89d123'); + expect(bid.mediaType).to.equal(BANNER); + expect(bid.ad).to.equal('
BANNER
'); + expect(bid.cpm).to.equal(1.5); + expect(bid.width).to.equal(300); + expect(bid.height).to.equal(250); + expect(bid.currency).to.equal('USD'); + expect(bid.netRevenue).to.equal(true); + expect(bid.creativeId).to.equal('CR123'); + expect(bid.ttl).to.equal(300); + expect(bid.meta.advertiserDomains).to.deep.equal(['example.com']); + }); + + it('should handle banner with missing ad content', () => { + const responseNoAd = { + body: { + slotBidId: '2faedf3e89d123', + cpm: 1.5, + mediaType: BANNER, + adWidth: 300, + adHeight: 250 + } + }; + const req = { data: { q: 'dummy' } }; + const result = spec.interpretResponse(responseNoAd, req); + expect(result[0].ad).to.equal(''); + }); + + it('should use default currency when not provided', () => { + const responseNoCurrency = { + body: { + slotBidId: '2faedf3e89d123', + ad: '
BANNER
', + cpm: 1.5, + mediaType: BANNER, + adWidth: 300, + adHeight: 250 + } + }; + const req = { data: { q: 'dummy' } }; + const result = spec.interpretResponse(responseNoCurrency, req); + expect(result[0].currency).to.equal('USD'); + }); + + it('should use default values for missing fields', () => { + const minimalResponse = { + body: { + slotBidId: '2faedf3e89d123', + cpm: 0, + mediaType: BANNER + } + }; + const req = { data: { q: 'dummy' } }; + const result = spec.interpretResponse(minimalResponse, req); + const bid = result[0]; + expect(bid.cpm).to.equal(0); + expect(bid.width).to.equal(300); + expect(bid.height).to.equal(250); + expect(bid.adType).to.equal('1'); + expect(bid.creativeId).to.equal(0); + expect(bid.netRevenue).to.equal(false); + expect(bid.meta.advertiserDomains).to.deep.equal([]); + }); + }); + + // INTERPRET RESPONSE - VIDEO (with videoContext) + + describe('interpretResponse - video with videoContext', () => { + const outstreamResponse = { body: { slotBidId: '2faedf3e89d124', - cpm: 1.0, + ad: 'outstream', + cpm: 2, + mediaType: VIDEO, adWidth: 640, adHeight: 480, - ad: 'Test VAST', - mediaType: VIDEO, + rUrl: 'https://cdn/test.xml', netRevenue: true, currency: 'USD', - rUrl: 'https://example.com/vast.xml', advertiserDomains: ['example.com'] } }; - const instreamVideoServerResponse = { + + const instreamResponse = { body: { slotBidId: '2faedf3e89d125', - cpm: 1.5, + ad: 'instream', + cpm: 3, + mediaType: VIDEO, adWidth: 640, adHeight: 480, - ad: 'Test Instream VAST', - mediaType: VIDEO, + advertiserDomains: ['example.com'], netRevenue: true, currency: 'USD', ttl: 300, - advertiserDomains: ['example.com'] } }; - const bidderRequest = { - refererInfo: { - page: 'https://someurl.com' - }, - data: { - bidderRequestData: JSON.stringify({ - bids: [videoBidRequest] - }) + it('should parse outstream video using videoContext field', () => { + const req = { + data: { + videoContext: 'outstream', + adUnitCode: 'ad-unit-outstream' + } + }; + + const res = spec.interpretResponse(outstreamResponse, req); + expect(res).to.have.lengthOf(1); + expect(res[0].vastXml).to.equal('outstream'); + expect(res[0].renderer).to.exist; + expect(res[0].renderer.url).to.equal('https://cdn/test.xml'); + expect(res[0].renderer.id).to.equal('2faedf3e89d124'); + }); + + it('should parse instream video using videoContext field', () => { + const req = { + data: { + videoContext: 'instream', + adUnitCode: 'ad-unit-instream' + } + }; + + const res = spec.interpretResponse(instreamResponse, req); + expect(res).to.have.lengthOf(1); + expect(res[0].vastUrl).to.equal('instream'); + expect(res[0].renderer).to.not.exist; + }); + + it('should not create renderer for outstream without rUrl', () => { + const responseNoRUrl = { + body: { + slotBidId: '2faedf3e89d124', + ad: 'outstream', + cpm: 2, + mediaType: VIDEO, + adWidth: 640, + adHeight: 480 + } + }; + const req = { + data: { + videoContext: 'outstream', + adUnitCode: 'ad-unit-outstream' + } + }; + + const res = spec.interpretResponse(responseNoRUrl, req); + expect(res[0].renderer).to.not.exist; + }); + }); + + // INTERPRET RESPONSE - VIDEO (legacy bidderRequestData) + + describe('interpretResponse - video with legacy bidderRequestData', () => { + const outstreamResponse = { + body: { + slotBidId: '2faedf3e89d124', + ad: 'outstream', + cpm: 2, + mediaType: VIDEO, + adWidth: 640, + adHeight: 480, + rUrl: 'https://cdn/test.xml', + advertiserDomains: ['example.com'] } }; - const instreamBidderRequest = { - refererInfo: { - page: 'https://someurl.com' - }, - data: { - bidderRequestData: JSON.stringify({ - bids: [instreamVideoBidRequest] - }) + const instreamResponse = { + body: { + slotBidId: '2faedf3e89d125', + ad: 'instream', + cpm: 3, + mediaType: VIDEO, + adWidth: 640, + adHeight: 480, + advertiserDomains: ['example.com'] } }; - it('should handle banner response', function () { - const bidResponses = spec.interpretResponse(bannerServerResponse, bidderRequest); - expect(bidResponses).to.have.lengthOf(1); - const bid = bidResponses[0]; - expect(bid.requestId).to.equal('2faedf3e89d123'); - expect(bid.cpm).to.equal(0.5); - expect(bid.width).to.equal(300); - expect(bid.height).to.equal(250); - expect(bid.ad).to.equal('
Banner Ad
'); - expect(bid.mediaType).to.equal(BANNER); - expect(bid.meta.advertiserDomains).to.deep.equal(['example.com']); + it('should parse outstream video from bidderRequestData', () => { + const req = { + data: { + bidderRequestData: encodeURIComponent(JSON.stringify({ + bids: [{ + bidId: '2faedf3e89d124', + adUnitCode: 'ad-unit-outstream', + mediaTypes: { video: { context: 'outstream' } } + }] + })) + } + }; + + const res = spec.interpretResponse(outstreamResponse, req); + expect(res[0].vastXml).to.equal('outstream'); + expect(res[0].renderer).to.exist; }); - it('should handle outstream video response', function () { - const bidResponses = spec.interpretResponse(videoServerResponse, bidderRequest); - expect(bidResponses).to.have.lengthOf(1); - const bid = bidResponses[0]; - expect(bid.requestId).to.equal('2faedf3e89d124'); - expect(bid.cpm).to.equal(1.0); - expect(bid.width).to.equal(640); - expect(bid.height).to.equal(480); - expect(bid.vastXml).to.equal('Test VAST'); - expect(bid.renderer).to.exist; - expect(bid.mediaType).to.equal(VIDEO); - expect(bid.meta.advertiserDomains).to.deep.equal(['example.com']); + it('should parse instream video from bidderRequestData', () => { + const req = { + data: { + bidderRequestData: encodeURIComponent(JSON.stringify({ + bids: [{ + bidId: '2faedf3e89d125', + adUnitCode: 'ad-unit-instream', + mediaTypes: { video: { context: 'instream' } } + }] + })) + } + }; + + const res = spec.interpretResponse(instreamResponse, req); + expect(res[0].vastUrl).to.equal('instream'); + expect(res[0].renderer).to.not.exist; }); - it('should handle instream video response', function () { - const bidResponses = spec.interpretResponse(instreamVideoServerResponse, instreamBidderRequest); - expect(bidResponses).to.have.lengthOf(1); - const bid = bidResponses[0]; - expect(bid.requestId).to.equal('2faedf3e89d125'); - expect(bid.cpm).to.equal(1.5); - expect(bid.width).to.equal(640); - expect(bid.height).to.equal(480); - expect(bid.vastUrl).to.equal('Test Instream VAST'); - expect(bid.mediaType).to.equal(VIDEO); - expect(bid.ttl).to.equal(300); - expect(bid.renderer).to.not.exist; - expect(bid.meta.advertiserDomains).to.deep.equal(['example.com']); + it('should handle bidderRequestData as object (not string)', () => { + const req = { + data: { + bidderRequestData: { + bids: [{ + bidId: '2faedf3e89d125', + adUnitCode: 'ad-unit-instream', + mediaTypes: { video: { context: 'instream' } } + }] + } + } + }; + + const res = spec.interpretResponse(instreamResponse, req); + expect(res[0].vastUrl).to.equal('instream'); + }); + + it('should handle invalid JSON in bidderRequestData', () => { + const req = { + data: { + bidderRequestData: 'invalid-json' + } + }; + + const res = spec.interpretResponse(outstreamResponse, req); + expect(res).to.have.lengthOf(1); + // Should not crash, context will be undefined + }); + + it('should handle bidderRequestData without bids array', () => { + const req = { + data: { + bidderRequestData: encodeURIComponent(JSON.stringify({ refererInfo: {} })) + } + }; + + const res = spec.interpretResponse(outstreamResponse, req); + expect(res).to.have.lengthOf(1); + }); + + it('should handle empty bids array in bidderRequestData', () => { + const req = { + data: { + bidderRequestData: encodeURIComponent(JSON.stringify({ bids: [] })) + } + }; + + const res = spec.interpretResponse(outstreamResponse, req); + expect(res).to.have.lengthOf(1); + }); + + it('should find correct bid when multiple bids in bidderRequestData', () => { + const req = { + data: { + bidderRequestData: encodeURIComponent(JSON.stringify({ + bids: [ + { + bidId: 'OTHER_BID', + adUnitCode: 'other-unit', + mediaTypes: { video: { context: 'outstream' } } + }, + { + bidId: '2faedf3e89d124', + adUnitCode: 'ad-unit-outstream', + mediaTypes: { video: { context: 'outstream' } } + } + ] + })) + } + }; + + const res = spec.interpretResponse(outstreamResponse, req); + expect(res[0].vastXml).to.equal('outstream'); + expect(res[0].renderer).to.exist; + }); + + it('should handle missing mediaTypes in bid', () => { + const req = { + data: { + bidderRequestData: encodeURIComponent(JSON.stringify({ + bids: [{ + bidId: '2faedf3e89d124', + adUnitCode: 'ad-unit-outstream' + }] + })) + } + }; + + const res = spec.interpretResponse(outstreamResponse, req); + expect(res).to.have.lengthOf(1); + // Should not crash, context will be undefined + }); + }); + + // INTERPRET RESPONSE - EDGE CASES + + describe('interpretResponse - edge cases', () => { + it('should return empty array when serverResponse.body is empty object', () => { + const res = spec.interpretResponse({ body: {} }, { data: {} }); + expect(res).to.have.lengthOf(0); + }); + + it('should return empty array when serverResponse.body is null', () => { + const res = spec.interpretResponse({ body: null }, { data: {} }); + expect(res).to.have.lengthOf(0); + }); + + it('should return empty array when serverResponse.body is undefined', () => { + const res = spec.interpretResponse({ body: undefined }, { data: {} }); + expect(res).to.have.lengthOf(0); + }); + + it('should handle request without data object', () => { + const bannerResponse = { + body: { + slotBidId: '2faedf3e89d123', + ad: '
BANNER
', + cpm: 1, + mediaType: BANNER + } + }; + const res = spec.interpretResponse(bannerResponse, {}); + expect(res).to.have.lengthOf(1); + }); + + it('should handle video response without context (neither videoContext nor bidderRequestData)', () => { + const videoResponse = { + body: { + slotBidId: 'BID_VIDEO', + ad: 'video', + cpm: 2, + mediaType: VIDEO, + adWidth: 640, + adHeight: 480 + } + }; + const req = { data: {} }; + const res = spec.interpretResponse(videoResponse, req); + expect(res).to.have.lengthOf(1); + // Neither vastUrl nor vastXml should be set + expect(res[0].vastUrl).to.not.exist; + expect(res[0].vastXml).to.not.exist; + }); + + it('should handle negative cpm', () => { + const responseNegativeCpm = { + body: { + slotBidId: '2faedf3e89d123', + ad: '
BANNER
', + cpm: -1, + mediaType: BANNER + } + }; + const req = { data: { q: 'dummy' } }; + const result = spec.interpretResponse(responseNegativeCpm, req); + expect(result[0].cpm).to.equal(0); + }); + }); + + // RENDERER TESTS + + describe('renderer functionality', () => { + it('should create renderer with correct configuration', () => { + const outstreamResponse = { + body: { + slotBidId: '2faedf3e89d124', + ad: 'outstream', + cpm: 2, + mediaType: VIDEO, + adWidth: 640, + adHeight: 480, + rUrl: 'https://cdn/renderer.js', + advertiserDomains: ['example.com'] + } + }; + + const req = { + data: { + videoContext: 'outstream', + adUnitCode: 'ad-unit-outstream' + } + }; + + const res = spec.interpretResponse(outstreamResponse, req); + const renderer = res[0].renderer; + + expect(renderer).to.exist; + expect(renderer.url).to.equal('https://cdn/renderer.js'); + expect(renderer.id).to.equal('2faedf3e89d124'); + expect(typeof renderer.setRender).to.equal('function'); + }); + + it('should execute renderer callback when onetag is available', () => { + const outstreamResponse = { + body: { + slotBidId: '2faedf3e89d124', + ad: 'outstream', + cpm: 2, + mediaType: VIDEO, + adWidth: 640, + adHeight: 480, + rUrl: 'https://cdn/test.xml', + advertiserDomains: ['example.com'] + } + }; + + const req = { + data: { + videoContext: 'outstream', + adUnitCode: 'ad-unit-outstream' + } + }; + + const originalOnetag = window.onetag; + let playerInitCalled = false; + + window.onetag = { + Player: { + init: function (config) { + playerInitCalled = true; + expect(config).to.exist; + expect(config.width).to.exist; + expect(config.height).to.exist; + expect(config.vastXml).to.exist; + expect(config.nodeId).to.exist; + } + } + }; + + try { + const res = spec.interpretResponse(outstreamResponse, req); + const renderer = res[0].renderer; + + renderer.loaded = true; + const renderFn = renderer._render; + expect(renderFn).to.exist; + + renderFn.call(renderer, { + renderer: renderer, + width: 640, + height: 480, + vastXml: 'outstream', + adUnitCode: 'ad-unit-outstream' + }); + + expect(playerInitCalled).to.equal(true); + } finally { + if (originalOnetag) { + window.onetag = originalOnetag; + } else { + delete window.onetag; + } + } + }); + + it('should handle renderer setRender errors gracefully', () => { + // This tests the try-catch block in createRenderer + const outstreamResponse = { + body: { + slotBidId: '2faedf3e89d124', + ad: 'outstream', + cpm: 2, + mediaType: VIDEO, + adWidth: 640, + adHeight: 480, + rUrl: 'https://cdn/test.xml', + advertiserDomains: ['example.com'] + } + }; + + const req = { + data: { + videoContext: 'outstream', + adUnitCode: 'ad-unit-outstream' + } + }; + + // Should not throw even if setRender fails + expect(() => { + spec.interpretResponse(outstreamResponse, req); + }).to.not.throw(); }); }); }); From bcb50268c1f8f92f6128d7952cbc6bd4b4902f8a Mon Sep 17 00:00:00 2001 From: Eugene Dorfman Date: Wed, 17 Dec 2025 20:01:28 +0100 Subject: [PATCH 085/248] add 51degrees property thirdpartycookiesenabled (#14262) * 51Degrees RTD submodule: map new `ortb2.device.ext` param - `thirdpartycookiesenabled` * 51Degrees RTD submodule: update tests * 51Degrees RTD submodule: update tests * doc update * doc update * 51Degrees RTD submodule: rename custom key, add tests * doc update * doc update --------- Co-authored-by: Bohdan V <25197509+BohdanVV@users.noreply.github.com> --- modules/51DegreesRtdProvider.js | 6 ++++++ modules/51DegreesRtdProvider.md | 15 ++++++++----- .../spec/modules/51DegreesRtdProvider_spec.js | 21 ++++++++++++++++++- 3 files changed, 36 insertions(+), 6 deletions(-) diff --git a/modules/51DegreesRtdProvider.js b/modules/51DegreesRtdProvider.js index 44870c97849..f5c76357ffc 100644 --- a/modules/51DegreesRtdProvider.js +++ b/modules/51DegreesRtdProvider.js @@ -227,6 +227,7 @@ export const convert51DegreesDataToOrtb2 = (data51) => { * @param {number} [device.screenpixelsphysicalwidth] Screen physical width in pixels * @param {number} [device.pixelratio] Pixel ratio * @param {number} [device.screeninchesheight] Screen height in inches + * @param {string} [device.thirdpartycookiesenabled] Third-party cookies enabled * * @returns {Object} Enriched ORTB2 object */ @@ -261,7 +262,12 @@ export const convert51DegreesDeviceToOrtb2 = (device) => { deepSetNotEmptyValue(ortb2Device, 'w', device.screenpixelsphysicalwidth || device.screenpixelswidth); deepSetNotEmptyValue(ortb2Device, 'pxratio', device.pixelratio); deepSetNotEmptyValue(ortb2Device, 'ppi', devicePhysicalPPI || devicePPI); + // kept for backward compatibility deepSetNotEmptyValue(ortb2Device, 'ext.fiftyonedegrees_deviceId', device.deviceid); + deepSetNotEmptyValue(ortb2Device, 'ext.fod.deviceId', device.deviceid); + if (['True', 'False'].includes(device.thirdpartycookiesenabled)) { + deepSetValue(ortb2Device, 'ext.fod.tpc', device.thirdpartycookiesenabled === 'True' ? 1 : 0); + } return {device: ortb2Device}; } diff --git a/modules/51DegreesRtdProvider.md b/modules/51DegreesRtdProvider.md index 76fa73803c9..db4b930c25e 100644 --- a/modules/51DegreesRtdProvider.md +++ b/modules/51DegreesRtdProvider.md @@ -8,13 +8,17 @@ ## Description -The 51Degrees module enriches an OpenRTB request with [51Degrees Device Data](https://51degrees.com/documentation/index.html). +51Degrees module enriches an OpenRTB request with [51Degrees Device Data](https://51degrees.com/documentation/index.html). -The 51Degrees module sets the following fields of the device object: `devicetype`, `make`, `model`, `os`, `osv`, `h`, `w`, `ppi`, `pxratio`. Interested bidder adapters may use these fields as needed. In addition, the module sets `device.ext.fiftyonedegrees_deviceId` to a permanent device ID, which can be rapidly looked up in on-premise data, exposing over 250 properties, including device age, chipset, codec support, price, operating system and app/browser versions, age, and embedded features. +51Degrees module sets the following fields of the device object: `devicetype`, `make`, `model`, `os`, `osv`, `h`, `w`, `ppi`, `pxratio`. Interested bidder adapters may use these fields as needed. + +The module also adds a `device.ext.fod` extension object (fod == fifty one degrees) and sets `device.ext.fod.deviceId` to a permanent device ID, which can be rapidly looked up in on-premise data, exposing over 250 properties, including device age, chipset, codec support, price, operating system and app/browser versions, age, and embedded features. + +It also sets `device.ext.fod.tpc` key to a binary value to indicate whether third-party cookies are enabled in the browser (1 if enabled, 0 if disabled). The module supports on-premise and cloud device detection services, with free options for both. -A free resource key for use with 51Degrees cloud service can be obtained from [51Degrees cloud configuration](https://configure.51degrees.com/HNZ75HT1). This is the simplest approach to trial the module. +A free resource key for use with 51Degrees cloud service can be obtained from [51Degrees cloud configuration](https://configure.51degrees.com/7bL8jDGz). This is the simplest approach to trial the module. An interface-compatible self-hosted service can be used with .NET, Java, Node, PHP, and Python. See [51Degrees examples](https://51degrees.com/documentation/_examples__device_detection__getting_started__web__on_premise.html). @@ -36,7 +40,7 @@ gulp build --modules=rtdModule,51DegreesRtdProvider,appnexusBidAdapter,... #### Resource Key -In order to use the module, please first obtain a Resource Key using the [Configurator tool](https://configure.51degrees.com/HNZ75HT1) - choose the following properties: +In order to use the module, please first obtain a Resource Key using the [Configurator tool](https://configure.51degrees.com/7bL8jDGz) - choose the following properties: * DeviceId * DeviceType @@ -52,6 +56,7 @@ In order to use the module, please first obtain a Resource Key using the [Config * ScreenInchesHeight * ScreenInchesWidth * PixelRatio +* ThirdPartyCookiesEnabled The Cloud API is **free** to integrate and use. To increase limits, please check [51Degrees pricing](https://51degrees.com/pricing). @@ -106,7 +111,7 @@ pbjs.setConfig({ waitForIt: true, // should be true, otherwise the auctionDelay will be ignored params: { resourceKey: '', - // Get your resource key from https://configure.51degrees.com/HNZ75HT1 + // Get your resource key from https://configure.51degrees.com/7bL8jDGz // alternatively, you can use the on-premise version of the 51Degrees service and connect to your chosen endpoint // onPremiseJSUrl: 'https://localhost/51Degrees.core.js' }, diff --git a/test/spec/modules/51DegreesRtdProvider_spec.js b/test/spec/modules/51DegreesRtdProvider_spec.js index 38da88bcc4c..4993f9097f6 100644 --- a/test/spec/modules/51DegreesRtdProvider_spec.js +++ b/test/spec/modules/51DegreesRtdProvider_spec.js @@ -33,6 +33,7 @@ describe('51DegreesRtdProvider', function() { devicetype: 'Desktop', pixelratio: 1, deviceid: '17595-131215-132535-18092', + thirdpartycookiesenabled: 'True', }; const fiftyOneDegreesDeviceX2scaling = { @@ -61,6 +62,10 @@ describe('51DegreesRtdProvider', function() { pxratio: 1, ext: { fiftyonedegrees_deviceId: '17595-131215-132535-18092', + fod: { + deviceId: '17595-131215-132535-18092', + tpc: 1, + }, }, }, }; @@ -362,7 +367,8 @@ describe('51DegreesRtdProvider', function() { it('does not set the deviceid if it is not provided', function() { const device = {...fiftyOneDegreesDevice}; delete device.deviceid; - expect(convert51DegreesDeviceToOrtb2(device).device).to.not.have.any.keys('ext'); + expect(convert51DegreesDeviceToOrtb2(device).device.ext).to.not.have.any.keys('fiftyonedegrees_deviceId'); + expect(convert51DegreesDeviceToOrtb2(device).device.ext.fod).to.not.have.any.keys('deviceId'); }); it('sets the model to hardwarename if hardwaremodel is not provided', function() { @@ -400,6 +406,19 @@ describe('51DegreesRtdProvider', function() { w: expectedORTB2DeviceResult.device.w, }); }); + + it('does not set the tpc if thirdpartycookiesenabled is "Unknown"', function () { + const device = { ...fiftyOneDegreesDevice }; + device.thirdpartycookiesenabled = 'Unknown'; + expect(convert51DegreesDeviceToOrtb2(device).device.ext.fod).to.not.have.any.keys('tpc'); + }); + + it('sets the tpc if thirdpartycookiesenabled is "True" or "False"', function () { + const deviceTrue = { ...fiftyOneDegreesDevice, thirdpartycookiesenabled: 'True' }; + const deviceFalse = { ...fiftyOneDegreesDevice, thirdpartycookiesenabled: 'False' }; + expect(convert51DegreesDeviceToOrtb2(deviceTrue).device.ext.fod).to.deep.include({ tpc: 1 }); + expect(convert51DegreesDeviceToOrtb2(deviceFalse).device.ext.fod).to.deep.include({ tpc: 0 }); + }); }); describe('getBidRequestData', function() { From 96448915985d5e0052dae54d04d5c27583081245 Mon Sep 17 00:00:00 2001 From: Luca Corbo Date: Thu, 18 Dec 2025 19:12:28 +0100 Subject: [PATCH 086/248] WURFL RTD: remove usage of window.devicePixelRatio from LCE detection (#14286) --- modules/wurflRtdProvider.js | 31 +++--- test/spec/modules/wurflRtdProvider_spec.js | 118 ++++++++++++++++++++- 2 files changed, 130 insertions(+), 19 deletions(-) diff --git a/modules/wurflRtdProvider.js b/modules/wurflRtdProvider.js index 6c7c6163e1a..dd88ea567eb 100644 --- a/modules/wurflRtdProvider.js +++ b/modules/wurflRtdProvider.js @@ -13,7 +13,7 @@ import { getGlobal } from '../src/prebidGlobal.js'; // Constants const REAL_TIME_MODULE = 'realTimeData'; const MODULE_NAME = 'wurfl'; -const MODULE_VERSION = '2.3.1'; +const MODULE_VERSION = '2.4.0'; // WURFL_JS_HOST is the host for the WURFL service endpoints const WURFL_JS_HOST = 'https://prebid.wurflcloud.com'; @@ -915,17 +915,17 @@ const WurflLCEDevice = { return { deviceType: '', osName: '', osVersion: '' }; }, - _getDevicePixelRatioValue() { - if (window.devicePixelRatio) { - return window.devicePixelRatio; - } - - // Assumes window.screen exists (caller checked) - if (window.screen.deviceXDPI && window.screen.logicalXDPI && window.screen.logicalXDPI > 0) { - return window.screen.deviceXDPI / window.screen.logicalXDPI; + _getDevicePixelRatioValue(osName) { + switch (osName) { + case 'Android': + return 2.0; + case 'iOS': + return 3.0; + case 'iPadOS': + return 2.0; + default: + return 1.0; } - - return undefined; }, _getMake(ua) { @@ -967,9 +967,6 @@ const WurflLCEDevice = { return { js: 1 }; } - // Check what globals are available upfront - const hasScreen = !!window.screen; - const device = { js: 1 }; const useragent = this._getUserAgent(); @@ -998,11 +995,9 @@ const WurflLCEDevice = { device.model = model; device.hwv = model; } - } - // Screen-dependent properties (independent of UA) - if (hasScreen) { - const pixelRatio = this._getDevicePixelRatioValue(); + // Device pixel ratio based on OS + const pixelRatio = this._getDevicePixelRatioValue(deviceInfo.osName); if (pixelRatio !== undefined) { device.pxratio = pixelRatio; } diff --git a/test/spec/modules/wurflRtdProvider_spec.js b/test/spec/modules/wurflRtdProvider_spec.js index cad99c71e86..c446142db1a 100644 --- a/test/spec/modules/wurflRtdProvider_spec.js +++ b/test/spec/modules/wurflRtdProvider_spec.js @@ -1027,7 +1027,7 @@ describe('wurflRtdProvider', function () { expect(device.hwv).to.be.a('string'); } - // pxratio from devicePixelRatio is acceptable (not a flagged fingerprinting API) + // pxratio uses OS-based hardcoded values (v2.4.0+), not window.devicePixelRatio (fingerprinting API) if (device.pxratio !== undefined) { expect(device.pxratio).to.be.a('number'); } @@ -1175,6 +1175,122 @@ describe('wurflRtdProvider', function () { }); }); + describe('LCE pxratio (OS-based device pixel ratio)', () => { + let originalUserAgent; + + beforeEach(() => { + // Setup empty cache to trigger LCE + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'hasLocalStorage').returns(true); + + reqBidsConfigObj.ortb2Fragments.global.device = {}; + reqBidsConfigObj.ortb2Fragments.bidder = {}; + + // Save original userAgent + originalUserAgent = navigator.userAgent; + }); + + afterEach(() => { + // Restore original userAgent + Object.defineProperty(navigator, 'userAgent', { + value: originalUserAgent, + configurable: true, + writable: true + }); + }); + + it('should set pxratio to 2.0 for Android devices', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (Linux; Android 10; SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36', + configurable: true, + writable: true + }); + + const callback = () => { + const device = reqBidsConfigObj.ortb2Fragments.global.device; + expect(device.pxratio).to.equal(2.0); + expect(device.os).to.equal('Android'); + expect(device.devicetype).to.equal(4); // PHONE + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should set pxratio to 3.0 for iOS (iPhone) devices', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1', + configurable: true, + writable: true + }); + + const callback = () => { + const device = reqBidsConfigObj.ortb2Fragments.global.device; + expect(device.pxratio).to.equal(3.0); + expect(device.os).to.equal('iOS'); + expect(device.devicetype).to.equal(4); // PHONE + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should set pxratio to 2.0 for iPadOS (iPad) devices', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (iPad; CPU OS 16_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Mobile/15E148 Safari/604.1', + configurable: true, + writable: true + }); + + const callback = () => { + const device = reqBidsConfigObj.ortb2Fragments.global.device; + expect(device.pxratio).to.equal(2.0); + expect(device.os).to.equal('iPadOS'); + expect(device.devicetype).to.equal(5); // TABLET + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should set pxratio to 1.0 for desktop/other devices (default)', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36', + configurable: true, + writable: true + }); + + const callback = () => { + const device = reqBidsConfigObj.ortb2Fragments.global.device; + expect(device.pxratio).to.equal(1.0); + expect(device.os).to.equal('Windows'); + expect(device.devicetype).to.equal(2); // PERSONAL_COMPUTER + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + + it('should set pxratio to 1.0 for macOS devices (default)', (done) => { + Object.defineProperty(navigator, 'userAgent', { + value: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36', + configurable: true, + writable: true + }); + + const callback = () => { + const device = reqBidsConfigObj.ortb2Fragments.global.device; + expect(device.pxratio).to.equal(1.0); + expect(device.os).to.equal('macOS'); + expect(device.devicetype).to.equal(2); // PERSONAL_COMPUTER + done(); + }; + + wurflSubmodule.getBidRequestData(reqBidsConfigObj, callback, { params: {} }, {}); + }); + }); + it('should enrich only bidders when over quota', (done) => { // Reset reqBidsConfigObj to clean state reqBidsConfigObj.ortb2Fragments.global.device = {}; From 5386caa23bd7e3dbc24841c612b7cd62ba8c208f Mon Sep 17 00:00:00 2001 From: ftchh <81294765+ftchh@users.noreply.github.com> Date: Fri, 19 Dec 2025 02:13:06 +0800 Subject: [PATCH 087/248] TopOn Bid Adapter: add user syncs (#14275) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 范天成 --- modules/toponBidAdapter.js | 60 ++++++++++++++- test/spec/modules/toponBidAdapter_spec.js | 94 +++++++++++++++++++++++ 2 files changed, 152 insertions(+), 2 deletions(-) diff --git a/modules/toponBidAdapter.js b/modules/toponBidAdapter.js index 263069b7f34..c51840aa1b0 100644 --- a/modules/toponBidAdapter.js +++ b/modules/toponBidAdapter.js @@ -9,6 +9,10 @@ const LOG_PREFIX = "TopOn"; const GVLID = 1305; const ENDPOINT = "https://web-rtb.anyrtb.com/ortb/prebid"; const DEFAULT_TTL = 360; +const USER_SYNC_URL = "https://pb.anyrtb.com/pb/page/prebidUserSyncs.html"; +const USER_SYNC_IMG_URL = "https://cm.anyrtb.com/cm/sync"; + +let lastPubid; const converter = ortbConverter({ context: { @@ -98,6 +102,7 @@ export const spec = { }, buildRequests: (validBidRequests, bidderRequest) => { const { pubid } = bidderRequest?.bids?.[0]?.params || {}; + lastPubid = pubid; const ortbRequest = converter.toORTB({ validBidRequests, bidderRequest }); const url = ENDPOINT + "?pubid=" + pubid; @@ -156,13 +161,64 @@ export const spec = { return bids; }, - getUserSyncs: ( + getUserSyncs: function ( syncOptions, responses, gdprConsent, uspConsent, gppConsent - ) => {}, + ) { + const pubid = lastPubid; + const syncs = []; + const params = []; + + if (typeof pubid === "string" && pubid.length > 0) { + params.push(`pubid=tpn${encodeURIComponent(pubid)}`); + } + if (gdprConsent) { + if (typeof gdprConsent.gdprApplies === "boolean") { + params.push(`gdpr=${Number(gdprConsent.gdprApplies)}`); + } + if (typeof gdprConsent.consentString === "string") { + params.push(`consent=${encodeURIComponent(gdprConsent.consentString)}`); + } + } + if (uspConsent) { + params.push(`us_privacy=${encodeURIComponent(uspConsent)}`); + } + if (gppConsent) { + if (typeof gppConsent.gppString === "string") { + params.push(`gpp=${encodeURIComponent(gppConsent.gppString)}`); + } + if (Array.isArray(gppConsent.applicableSections)) { + params.push( + `gpp_sid=${encodeURIComponent( + gppConsent.applicableSections.join(",") + )}` + ); + } + } + if (syncOptions?.iframeEnabled) { + const syncUrl = `${USER_SYNC_URL}${ + params.length > 0 ? "?" + params.join("&") : "" + }`; + + syncs.push({ + type: "iframe", + url: syncUrl, + }); + } else if (syncOptions?.pixelEnabled) { + const syncUrl = `${USER_SYNC_IMG_URL}${ + params.length > 0 ? "?" + params.join("&") : "" + }`; + + syncs.push({ + type: "image", + url: syncUrl, + }); + } + return syncs; + }, onBidWon: (bid) => { logWarn(`[${LOG_PREFIX}] Bid won: ${JSON.stringify(bid)}`); }, diff --git a/test/spec/modules/toponBidAdapter_spec.js b/test/spec/modules/toponBidAdapter_spec.js index bf717e4b847..471f336d589 100644 --- a/test/spec/modules/toponBidAdapter_spec.js +++ b/test/spec/modules/toponBidAdapter_spec.js @@ -1,6 +1,8 @@ import { expect } from "chai"; import { spec } from "modules/toponBidAdapter.js"; import * as utils from "src/utils.js"; +const USER_SYNC_URL = "https://pb.anyrtb.com/pb/page/prebidUserSyncs.html"; +const USER_SYNC_IMG_URL = "https://cm.anyrtb.com/cm/sync"; describe("TopOn Adapter", function () { const PREBID_VERSION = "$prebid.version$"; @@ -119,4 +121,96 @@ describe("TopOn Adapter", function () { expect(bidResponses[0].height).to.equal(250); }); }); + + describe("GetUserSyncs", function () { + it("should return correct sync URLs when iframeEnabled is true", function () { + const syncOptions = { + iframeEnabled: true, + pixelEnabled: true, + }; + + spec.buildRequests(validBidRequests, bidderRequest); + const result = spec.getUserSyncs(syncOptions, [], {}); + + expect(result).to.be.an("array"); + expect(result[0].type).to.equal("iframe"); + expect(result[0].url).to.include(USER_SYNC_URL); + expect(result[0].url).to.include("pubid=tpnpub-uuid"); + }); + + it("should return correct sync URLs when pixelEnabled is true", function () { + const syncOptions = { + iframeEnabled: false, + pixelEnabled: true, + }; + + spec.buildRequests(validBidRequests, bidderRequest); + const result = spec.getUserSyncs(syncOptions, [], {}); + + expect(result).to.be.an("array"); + expect(result[0].type).to.equal("image"); + expect(result[0].url).to.include(USER_SYNC_IMG_URL); + expect(result[0].url).to.include("pubid=tpnpub-uuid"); + }); + + it("should respect gdpr consent data", function () { + const gdprConsent = { + gdprApplies: true, + consentString: "test-consent-string", + }; + + spec.buildRequests(validBidRequests, bidderRequest); + const result = spec.getUserSyncs( + { iframeEnabled: true }, + [], + gdprConsent + ); + expect(result[0].url).to.include("gdpr=1"); + expect(result[0].url).to.include("consent=test-consent-string"); + }); + + it("should handle US Privacy consent", function () { + const uspConsent = "1YNN"; + + spec.buildRequests(validBidRequests, bidderRequest); + const result = spec.getUserSyncs( + { iframeEnabled: true }, + [], + {}, + uspConsent + ); + + expect(result[0].url).to.include("us_privacy=1YNN"); + }); + + it("should handle GPP", function () { + const gppConsent = { + applicableSections: [7], + gppString: "test-consent-string", + }; + + spec.buildRequests(validBidRequests, bidderRequest); + const result = spec.getUserSyncs( + { iframeEnabled: true }, + [], + {}, + "", + gppConsent + ); + + expect(result[0].url).to.include("gpp=test-consent-string"); + expect(result[0].url).to.include("gpp_sid=7"); + }); + + it("should return empty array when sync is not enabled", function () { + const syncOptions = { + iframeEnabled: false, + pixelEnabled: false, + }; + + const result = spec.getUserSyncs(syncOptions, [], {}); + + expect(result).to.be.an("array").that.is.empty; + }); + }); }); From 31a92b1809ddf658e803f326b3f24c4a7d202271 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Thu, 18 Dec 2025 13:16:03 -0500 Subject: [PATCH 088/248] Various adapters: consolidate devicepixelratio usage into approximation (#14192) * Libraries: simplify device pixel ratio derivation * Refactor getDevicePixelRatio function Removed direct devicePixelRatio retrieval and validation. * Remove 51Degrees module device pixel ratio updates * cleanup * fix tests * more test fixes * fix lint --------- Co-authored-by: Demetrio Girardi --- libraries/devicePixelRatio/devicePixelRatio.js | 17 +++++++++++++++++ modules/apstreamBidAdapter.js | 3 ++- modules/datablocksBidAdapter.js | 3 ++- modules/greenbidsBidAdapter.js | 3 ++- modules/gumgumBidAdapter.js | 3 ++- modules/hypelabBidAdapter.js | 3 ++- modules/oguryBidAdapter.js | 3 ++- modules/sspBCBidAdapter.js | 3 ++- modules/teadsBidAdapter.js | 3 ++- src/utils/winDimensions.js | 8 ++++---- test/spec/modules/greenbidsBidAdapter_spec.js | 3 ++- test/spec/modules/hypelabBidAdapter_spec.js | 3 ++- test/spec/modules/oguryBidAdapter_spec.js | 8 ++------ test/spec/modules/teadsBidAdapter_spec.js | 3 ++- test/spec/utils_spec.js | 2 +- 15 files changed, 46 insertions(+), 22 deletions(-) create mode 100644 libraries/devicePixelRatio/devicePixelRatio.js diff --git a/libraries/devicePixelRatio/devicePixelRatio.js b/libraries/devicePixelRatio/devicePixelRatio.js new file mode 100644 index 00000000000..8bfe23bcb3d --- /dev/null +++ b/libraries/devicePixelRatio/devicePixelRatio.js @@ -0,0 +1,17 @@ +import {canAccessWindowTop, internal as utilsInternals} from '../../src/utils.js'; + +function getFallbackWindow(win) { + if (win) { + return win; + } + + return canAccessWindowTop() ? utilsInternals.getWindowTop() : utilsInternals.getWindowSelf(); +} + +export function getDevicePixelRatio(win) { + try { + return getFallbackWindow(win).devicePixelRatio; + } catch (e) { + } + return 1; +} diff --git a/modules/apstreamBidAdapter.js b/modules/apstreamBidAdapter.js index 838487925c8..f432c85388f 100644 --- a/modules/apstreamBidAdapter.js +++ b/modules/apstreamBidAdapter.js @@ -1,5 +1,6 @@ import {getDNT} from '../libraries/dnt/index.js'; import { generateUUID, deepAccess, createTrackPixelHtml } from '../src/utils.js'; +import { getDevicePixelRatio } from '../libraries/devicePixelRatio/devicePixelRatio.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; import { config } from '../src/config.js'; import { getStorageManager } from '../src/storageManager.js'; @@ -335,7 +336,7 @@ function injectPixels(ad, pixels, scripts) { } function getScreenParams() { - return `${window.screen.width}x${window.screen.height}@${window.devicePixelRatio}`; + return `${window.screen.width}x${window.screen.height}@${getDevicePixelRatio(window)}`; } function getBids(bids) { diff --git a/modules/datablocksBidAdapter.js b/modules/datablocksBidAdapter.js index b37ceab6631..7f5a4bedd62 100644 --- a/modules/datablocksBidAdapter.js +++ b/modules/datablocksBidAdapter.js @@ -1,3 +1,4 @@ +import {getDevicePixelRatio} from '../libraries/devicePixelRatio/devicePixelRatio.js'; import {deepAccess, getWinDimensions, getWindowTop, isGptPubadsDefined} from '../src/utils.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; import {config} from '../src/config.js'; @@ -135,7 +136,7 @@ export const spec = { 'whl': win.history.length, 'wxo': win.pageXOffset, 'wyo': win.pageYOffset, - 'wpr': win.devicePixelRatio, + 'wpr': getDevicePixelRatio(win), 'is_bot': botTest.doTests(), 'is_hid': win.document.hidden, 'vs': win.document.visibilityState diff --git a/modules/greenbidsBidAdapter.js b/modules/greenbidsBidAdapter.js index 490eb9e703d..58aa8608194 100644 --- a/modules/greenbidsBidAdapter.js +++ b/modules/greenbidsBidAdapter.js @@ -1,4 +1,5 @@ import { getValue, logError, deepAccess, parseSizesInput, getBidIdParameter, logInfo, getWinDimensions, getScreenOrientation } from '../src/utils.js'; +import { getDevicePixelRatio } from '../libraries/devicePixelRatio/devicePixelRatio.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; import { getStorageManager } from '../src/storageManager.js'; import { getHLen } from '../libraries/navigatorData/navigatorData.js'; @@ -65,7 +66,7 @@ export const spec = { device: bidderRequest?.ortb2?.device || {}, deviceWidth: screen.width, deviceHeight: screen.height, - devicePixelRatio: topWindow.devicePixelRatio, + devicePixelRatio: getDevicePixelRatio(topWindow), screenOrientation: getScreenOrientation(), historyLength: getHLen(), viewportHeight: getWinDimensions().visualViewport.height, diff --git a/modules/gumgumBidAdapter.js b/modules/gumgumBidAdapter.js index b09de4981e9..3f7339a4f08 100644 --- a/modules/gumgumBidAdapter.js +++ b/modules/gumgumBidAdapter.js @@ -1,5 +1,6 @@ import {BANNER, VIDEO} from '../src/mediaTypes.js'; import {_each, deepAccess, getWinDimensions, logError, logWarn, parseSizesInput} from '../src/utils.js'; +import {getDevicePixelRatio} from '../libraries/devicePixelRatio/devicePixelRatio.js'; import {config} from '../src/config.js'; import {getStorageManager} from '../src/storageManager.js'; @@ -90,7 +91,7 @@ function _getBrowserParams(topWindowUrl, mosttopLocation) { pu: stripGGParams(topUrl), tpl: mosttopURL, ce: storage.cookiesAreEnabled(), - dpr: topWindow.devicePixelRatio || 1, + dpr: getDevicePixelRatio(topWindow), jcsi: JSON.stringify(JCSI), ogu: getOgURL() }; diff --git a/modules/hypelabBidAdapter.js b/modules/hypelabBidAdapter.js index 9982af84cc9..bc562b84cb3 100644 --- a/modules/hypelabBidAdapter.js +++ b/modules/hypelabBidAdapter.js @@ -1,6 +1,7 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'; import { BANNER } from '../src/mediaTypes.js'; import { generateUUID, isFn, isPlainObject, getWinDimensions } from '../src/utils.js'; +import { getDevicePixelRatio } from '../libraries/devicePixelRatio/devicePixelRatio.js'; import { ajax } from '../src/ajax.js'; import { getBoundingClientRect } from '../libraries/boundingClientRect/boundingClientRect.js'; import { getWalletPresence, getWalletProviderFlags } from '../libraries/hypelabUtils/hypelabUtils.js'; @@ -40,7 +41,7 @@ function buildRequests(validBidRequests, bidderRequest) { const uuid = uids[0] ? uids[0] : generateTemporaryUUID(); const floor = getBidFloor(request, request.sizes || []); - const dpr = typeof window !== 'undefined' ? window.devicePixelRatio : 1; + const dpr = typeof window !== 'undefined' ? getDevicePixelRatio(window) : 1; const wp = getWalletPresence(); const wpfs = getWalletProviderFlags(); const winDimensions = getWinDimensions(); diff --git a/modules/oguryBidAdapter.js b/modules/oguryBidAdapter.js index 507cb63fe2a..00c8bfb77ef 100644 --- a/modules/oguryBidAdapter.js +++ b/modules/oguryBidAdapter.js @@ -2,6 +2,7 @@ import { BANNER } from '../src/mediaTypes.js'; import { getWindowSelf, getWindowTop, isFn, deepAccess, isPlainObject, deepSetValue, mergeDeep } from '../src/utils.js'; +import { getDevicePixelRatio } from '../libraries/devicePixelRatio/devicePixelRatio.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; import { ajax } from '../src/ajax.js'; import { getAdUnitSizes } from '../libraries/sizeUtils/sizeUtils.js'; @@ -25,7 +26,7 @@ export const ortbConverterProps = { request(buildRequest, imps, bidderRequest, context) { const req = buildRequest(imps, bidderRequest, context); req.tmax = DEFAULT_TIMEOUT; - deepSetValue(req, 'device.pxratio', window.devicePixelRatio); + deepSetValue(req, 'device.pxratio', getDevicePixelRatio(getWindowContext())); deepSetValue(req, 'site.page', getWindowContext().location.href); req.ext = mergeDeep({}, req.ext, { diff --git a/modules/sspBCBidAdapter.js b/modules/sspBCBidAdapter.js index 09b7e6a6daa..5ce8fb34492 100644 --- a/modules/sspBCBidAdapter.js +++ b/modules/sspBCBidAdapter.js @@ -1,4 +1,5 @@ import { deepAccess, getWinDimensions, getWindowTop, isArray, logInfo, logWarn } from '../src/utils.js'; +import { getDevicePixelRatio } from '../libraries/devicePixelRatio/devicePixelRatio.js'; import { ajax } from '../src/ajax.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; @@ -174,7 +175,7 @@ const applyClientHints = ortbRequest => { 'CH-SaveData': connection.saveData, 'CH-Downlink': connection.downlink, 'CH-DeviceMemory': null, - 'CH-Dpr': W.devicePixelRatio, + 'CH-Dpr': getDevicePixelRatio(W), 'CH-ViewportWidth': viewport.width, 'CH-BrowserBrands': JSON.stringify(userAgentData.brands), 'CH-isMobile': userAgentData.mobile, diff --git a/modules/teadsBidAdapter.js b/modules/teadsBidAdapter.js index a63b0565ffc..dbdda501658 100644 --- a/modules/teadsBidAdapter.js +++ b/modules/teadsBidAdapter.js @@ -1,4 +1,5 @@ import {logError, parseSizesInput, isArray, getBidIdParameter, getWinDimensions, getScreenOrientation} from '../src/utils.js'; +import {getDevicePixelRatio} from '../libraries/devicePixelRatio/devicePixelRatio.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; import {getStorageManager} from '../src/storageManager.js'; import {isAutoplayEnabled} from '../libraries/autoplayDetection/autoplay.js'; @@ -73,7 +74,7 @@ export const spec = { device: bidderRequest?.ortb2?.device || {}, deviceWidth: screen.width, deviceHeight: screen.height, - devicePixelRatio: topWindow.devicePixelRatio, + devicePixelRatio: getDevicePixelRatio(topWindow), screenOrientation: getScreenOrientation(), historyLength: getHLen(), viewportHeight: getWinDimensions().visualViewport.height, diff --git a/src/utils/winDimensions.js b/src/utils/winDimensions.js index 01122a9761c..2759e56eba6 100644 --- a/src/utils/winDimensions.js +++ b/src/utils/winDimensions.js @@ -34,22 +34,22 @@ const winDimensions = new CachedApiWrapper( ); export const internal = { - reset: winDimensions.reset, + winDimensions, }; export const getWinDimensions = (() => { let lastCheckTimestamp; return function () { if (!lastCheckTimestamp || (Date.now() - lastCheckTimestamp > CHECK_INTERVAL_MS)) { - internal.reset(); + internal.winDimensions.reset(); lastCheckTimestamp = Date.now(); } - return winDimensions.obj; + return internal.winDimensions.obj; } })(); export function resetWinDimensions() { - internal.reset(); + internal.winDimensions.reset(); } export function getScreenOrientation(win) { diff --git a/test/spec/modules/greenbidsBidAdapter_spec.js b/test/spec/modules/greenbidsBidAdapter_spec.js index 4cf992434dc..00c0005fe16 100644 --- a/test/spec/modules/greenbidsBidAdapter_spec.js +++ b/test/spec/modules/greenbidsBidAdapter_spec.js @@ -2,6 +2,7 @@ import { expect } from 'chai'; import { newBidder } from 'src/adapters/bidderFactory.js'; import { spec, ENDPOINT_URL } from 'modules/greenbidsBidAdapter.js'; import { getScreenOrientation } from 'src/utils.js'; +import {getDevicePixelRatio} from '../../../libraries/devicePixelRatio/devicePixelRatio.js'; const AD_SCRIPT = '"'; describe('greenbidsBidAdapter', () => { @@ -277,7 +278,7 @@ describe('greenbidsBidAdapter', () => { it('should add pixelRatio info to payload', function () { const request = spec.buildRequests(bidRequests, bidderRequestDefault); const payload = JSON.parse(request.data); - const pixelRatio = window.top.devicePixelRatio + const pixelRatio = getDevicePixelRatio() expect(payload.devicePixelRatio).to.exist; expect(payload.devicePixelRatio).to.deep.equal(pixelRatio); diff --git a/test/spec/modules/hypelabBidAdapter_spec.js b/test/spec/modules/hypelabBidAdapter_spec.js index d6c79a957cc..ff98c33b136 100644 --- a/test/spec/modules/hypelabBidAdapter_spec.js +++ b/test/spec/modules/hypelabBidAdapter_spec.js @@ -13,6 +13,7 @@ import { } from 'modules/hypelabBidAdapter.js'; import { BANNER } from 'src/mediaTypes.js'; +import {getDevicePixelRatio} from '../../../libraries/devicePixelRatio/devicePixelRatio.js'; const mockValidBidRequest = { bidder: 'hypelab', @@ -177,7 +178,7 @@ describe('hypelabBidAdapter', function () { expect(data.dpr).to.be.a('number'); expect(data.location).to.be.a('string'); expect(data.floor).to.equal(null); - expect(data.dpr).to.equal(1); + expect(data.dpr).to.equal(getDevicePixelRatio()); expect(data.wp).to.deep.equal({ ada: false, bnb: false, diff --git a/test/spec/modules/oguryBidAdapter_spec.js b/test/spec/modules/oguryBidAdapter_spec.js index 57ebea5e2ab..3cd7542f6c2 100644 --- a/test/spec/modules/oguryBidAdapter_spec.js +++ b/test/spec/modules/oguryBidAdapter_spec.js @@ -3,6 +3,7 @@ import sinon from 'sinon'; import { spec, ortbConverterProps } from 'modules/oguryBidAdapter'; import * as utils from 'src/utils.js'; import { server } from '../../mocks/xhr.js'; +import {getDevicePixelRatio} from '../../../libraries/devicePixelRatio/devicePixelRatio.js'; const BID_URL = 'https://mweb-hb.presage.io/api/header-bidding-request'; const TIMEOUT_URL = 'https://ms-ads-monitoring-events.presage.io/bid_timeout' @@ -577,10 +578,6 @@ describe('OguryBidAdapter', () => { return stubbedCurrentTime; }); - const stubbedDevicePixelMethod = sinon.stub(window, 'devicePixelRatio').get(function() { - return stubbedDevicePixelRatio; - }); - const defaultTimeout = 1000; function assertImpObject(ortbBidRequest, bidRequest) { @@ -639,7 +636,7 @@ describe('OguryBidAdapter', () => { beforeEach(() => { windowTopStub = sinon.stub(utils, 'getWindowTop'); - windowTopStub.returns({ location: { href: currentLocation } }); + windowTopStub.returns({ location: { href: currentLocation }, devicePixelRatio: stubbedDevicePixelRatio}); }); afterEach(() => { @@ -648,7 +645,6 @@ describe('OguryBidAdapter', () => { after(() => { stubbedCurrentTimeMethod.restore(); - stubbedDevicePixelMethod.restore(); }); it('sends bid request to ENDPOINT via POST', function () { diff --git a/test/spec/modules/teadsBidAdapter_spec.js b/test/spec/modules/teadsBidAdapter_spec.js index f776f5243a8..c698473260f 100644 --- a/test/spec/modules/teadsBidAdapter_spec.js +++ b/test/spec/modules/teadsBidAdapter_spec.js @@ -3,6 +3,7 @@ import * as autoplay from 'libraries/autoplayDetection/autoplay.js'; import { spec, storage } from 'modules/teadsBidAdapter.js'; import { newBidder } from 'src/adapters/bidderFactory.js'; import { getScreenOrientation } from 'src/utils.js'; +import {getDevicePixelRatio} from '../../../libraries/devicePixelRatio/devicePixelRatio.js'; const ENDPOINT = 'https://a.teads.tv/hb/bid-request'; const AD_SCRIPT = '"'; @@ -360,7 +361,7 @@ describe('teadsBidAdapter', () => { it('should add pixelRatio info to payload', function () { const request = spec.buildRequests(bidRequests, bidderRequestDefault); const payload = JSON.parse(request.data); - const pixelRatio = window.top.devicePixelRatio + const pixelRatio = getDevicePixelRatio(); expect(payload.devicePixelRatio).to.exist; expect(payload.devicePixelRatio).to.deep.equal(pixelRatio); diff --git a/test/spec/utils_spec.js b/test/spec/utils_spec.js index 1efdc5621f6..8ed2efa3b9f 100644 --- a/test/spec/utils_spec.js +++ b/test/spec/utils_spec.js @@ -1446,7 +1446,7 @@ describe('getWinDimensions', () => { }); it('should clear cache once per 20ms', () => { - const resetWinDimensionsSpy = sinon.spy(winDimensions.internal, 'reset'); + const resetWinDimensionsSpy = sinon.spy(winDimensions.internal.winDimensions, 'reset'); expect(getWinDimensions().innerHeight).to.exist; clock.tick(1); expect(getWinDimensions().innerHeight).to.exist; From 66a74d7e25d64d5d41bad721671a4b346981cb94 Mon Sep 17 00:00:00 2001 From: ftchh <81294765+ftchh@users.noreply.github.com> Date: Wed, 24 Dec 2025 03:35:28 +0800 Subject: [PATCH 089/248] modify TopOnBidderAdapter's UserSyncsUrlPath (#14296) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 范天成 --- modules/toponBidAdapter.js | 2 +- test/spec/modules/toponBidAdapter_spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/toponBidAdapter.js b/modules/toponBidAdapter.js index c51840aa1b0..5df8f3ff943 100644 --- a/modules/toponBidAdapter.js +++ b/modules/toponBidAdapter.js @@ -10,7 +10,7 @@ const GVLID = 1305; const ENDPOINT = "https://web-rtb.anyrtb.com/ortb/prebid"; const DEFAULT_TTL = 360; const USER_SYNC_URL = "https://pb.anyrtb.com/pb/page/prebidUserSyncs.html"; -const USER_SYNC_IMG_URL = "https://cm.anyrtb.com/cm/sync"; +const USER_SYNC_IMG_URL = "https://cm.anyrtb.com/cm/sdk_sync"; let lastPubid; diff --git a/test/spec/modules/toponBidAdapter_spec.js b/test/spec/modules/toponBidAdapter_spec.js index 471f336d589..2922398ef16 100644 --- a/test/spec/modules/toponBidAdapter_spec.js +++ b/test/spec/modules/toponBidAdapter_spec.js @@ -2,7 +2,7 @@ import { expect } from "chai"; import { spec } from "modules/toponBidAdapter.js"; import * as utils from "src/utils.js"; const USER_SYNC_URL = "https://pb.anyrtb.com/pb/page/prebidUserSyncs.html"; -const USER_SYNC_IMG_URL = "https://cm.anyrtb.com/cm/sync"; +const USER_SYNC_IMG_URL = "https://cm.anyrtb.com/cm/sdk_sync"; describe("TopOn Adapter", function () { const PREBID_VERSION = "$prebid.version$"; From 60baec61d09bdc52b09bde5de4ce4cc0f84f0953 Mon Sep 17 00:00:00 2001 From: ashleysmithTTD <157655209+ashleysmithTTD@users.noreply.github.com> Date: Fri, 26 Dec 2025 12:52:53 -0500 Subject: [PATCH 090/248] Uid2 library: BugFix for Refresh so id always shows latest UID2/EUID token (#14290) * added log errors to catch the errors * fixed lint errors * making stored optout consistent between uid2 and euid * remove log error * add empty catch statements * made code more consistent * background refresh needs to update submdoule idobj * updated uid2 testing * updated uid2 testing --------- Co-authored-by: Patrick McCann --- .../uid2IdSystemShared/uid2IdSystem_shared.js | 23 ++++++++++++++----- test/spec/modules/uid2IdSystem_spec.js | 2 +- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/libraries/uid2IdSystemShared/uid2IdSystem_shared.js b/libraries/uid2IdSystemShared/uid2IdSystem_shared.js index 2230fb4efb0..70a607a0f8f 100644 --- a/libraries/uid2IdSystemShared/uid2IdSystem_shared.js +++ b/libraries/uid2IdSystemShared/uid2IdSystem_shared.js @@ -771,12 +771,6 @@ export function Uid2GetId(config, prebidStorageManager, _logInfo, _logWarn) { }).catch((e) => { logError('error refreshing token: ', e); }); } }; } - // If should refresh (but don't need to), refresh in the background. - if (Date.now() > newestAvailableToken.refresh_from) { - logInfo(`Refreshing token in background with low priority.`); - refreshTokenAndStore(config.apiBaseUrl, newestAvailableToken, config.clientId, storageManager, logInfo, _logWarn) - .catch((e) => { logError('error refreshing token in background: ', e); }); - } const tokens = { originalToken: suppliedToken ?? storedTokens?.originalToken, latestToken: newestAvailableToken, @@ -785,6 +779,23 @@ export function Uid2GetId(config, prebidStorageManager, _logInfo, _logWarn) { tokens.originalIdentity = storedTokens?.originalIdentity; } storageManager.storeValue(tokens); + + // If should refresh (but don't need to), refresh in the background. + // Return both immediate id and callback so idObj gets updated when refresh completes. + if (Date.now() > newestAvailableToken.refresh_from) { + logInfo(`Refreshing token in background with low priority.`); + const refreshPromise = refreshTokenAndStore(config.apiBaseUrl, newestAvailableToken, config.clientId, storageManager, logInfo, _logWarn); + return { + id: tokens, + callback: (cb) => { + refreshPromise.then((refreshedTokens) => { + logInfo('Background token refresh completed, updating ID.', refreshedTokens); + cb(refreshedTokens); + }).catch((e) => { logError('error refreshing token in background: ', e); }); + } + }; + } + return { id: tokens }; } diff --git a/test/spec/modules/uid2IdSystem_spec.js b/test/spec/modules/uid2IdSystem_spec.js index a90972d4163..f8980bd3961 100644 --- a/test/spec/modules/uid2IdSystem_spec.js +++ b/test/spec/modules/uid2IdSystem_spec.js @@ -35,7 +35,7 @@ const makeUid2IdentityContainer = (token) => ({uid2: {id: token}}); const makeUid2OptoutContainer = (token) => ({uid2: {optout: true}}); let useLocalStorage = false; const makePrebidConfig = (params = null, extraSettings = {}, debug = false) => ({ - userSync: { auctionDelay: auctionDelayMs, userIds: [{name: 'uid2', params: {storage: useLocalStorage ? 'localStorage' : 'cookie', ...params}}] }, debug, ...extraSettings + userSync: { auctionDelay: extraSettings.auctionDelay ?? auctionDelayMs, ...(extraSettings.syncDelay !== undefined && {syncDelay: extraSettings.syncDelay}), userIds: [{name: 'uid2', params: {storage: useLocalStorage ? 'localStorage' : 'cookie', ...params}}] }, debug }); const makeOriginalIdentity = (identity, salt = 1) => ({ identity: utils.cyrb53Hash(identity, salt), From a3c449f2728cfa888057e951d501139fc925e83c Mon Sep 17 00:00:00 2001 From: fliccione Date: Tue, 6 Jan 2026 12:08:47 +0100 Subject: [PATCH 091/248] Onetag Bid Adapter: remove unused fields sLeft and sTop (#14302) * Remove unused properties sLeft and sTop from page info and response validation * Update adapter version --------- Co-authored-by: Diego Tomba --- modules/onetagBidAdapter.js | 13 ++++++------- test/spec/modules/onetagBidAdapter_spec.js | 4 +--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/modules/onetagBidAdapter.js b/modules/onetagBidAdapter.js index e588459ad29..d919d1398b7 100644 --- a/modules/onetagBidAdapter.js +++ b/modules/onetagBidAdapter.js @@ -82,14 +82,14 @@ export function isValid(type, bid) { return false; } -const isValidEventTracker = function(et) { +const isValidEventTracker = function (et) { if (!et.event || !et.methods || !Number.isInteger(et.event) || !Array.isArray(et.methods) || !et.methods.length > 0) { return false; } return true; } -const isValidAsset = function(asset) { +const isValidAsset = function (asset) { if (!asset.hasOwnProperty("id") || !Number.isInteger(asset.id)) return false; const hasValidContent = asset.title || asset.img || asset.data || asset.video; if (!hasValidContent) return false; @@ -210,7 +210,8 @@ function interpretResponse(serverResponse, bidderRequest) { const fledgeAuctionConfigs = body.fledgeAuctionConfigs return { bids, - paapi: fledgeAuctionConfigs} + paapi: fledgeAuctionConfigs + } } else { return bids; } @@ -289,8 +290,6 @@ function getPageInfo(bidderRequest) { wHeight: winDimensions.innerHeight, sWidth: winDimensions.screen.width, sHeight: winDimensions.screen.height, - sLeft: null, - sTop: null, xOffset: topmostFrame.pageXOffset, yOffset: topmostFrame.pageYOffset, docHidden: getDocumentVisibility(topmostFrame), @@ -299,7 +298,7 @@ function getPageInfo(bidderRequest) { timing: getTiming(), version: { prebid: '$prebid.version$', - adapter: '1.1.5' + adapter: '1.1.6' } }; } @@ -483,7 +482,7 @@ function getBidFloor(bidRequest, mediaType, sizes) { return { ...floorData, - size: size && size.length === 2 ? {width: size[0], height: size[1]} : null, + size: size && size.length === 2 ? { width: size[0], height: size[1] } : null, floor: floorData.floor != null ? floorData.floor : null }; }; diff --git a/test/spec/modules/onetagBidAdapter_spec.js b/test/spec/modules/onetagBidAdapter_spec.js index 5b27dfe627b..dd37a929b45 100644 --- a/test/spec/modules/onetagBidAdapter_spec.js +++ b/test/spec/modules/onetagBidAdapter_spec.js @@ -491,7 +491,7 @@ describe('onetag', function () { }); it('Should contain all keys', function () { expect(data).to.be.an('object'); - expect(data).to.include.all.keys('location', 'referrer', 'stack', 'numIframes', 'sHeight', 'sWidth', 'docHeight', 'wHeight', 'wWidth', 'sLeft', 'sTop', 'hLength', 'bids', 'docHidden', 'xOffset', 'yOffset', 'networkConnectionType', 'networkEffectiveConnectionType', 'timing', 'version', 'fledgeEnabled'); + expect(data).to.include.all.keys('location', 'referrer', 'stack', 'numIframes', 'sHeight', 'sWidth', 'docHeight', 'wHeight', 'wWidth', 'hLength', 'bids', 'docHidden', 'xOffset', 'yOffset', 'networkConnectionType', 'networkEffectiveConnectionType', 'timing', 'version', 'fledgeEnabled'); expect(data.location).to.satisfy(function (value) { return value === null || typeof value === 'string'; }); @@ -1131,8 +1131,6 @@ function getBannerVideoRequest() { wHeight: 949, sWidth: 1920, sHeight: 1080, - sLeft: null, - sTop: null, xOffset: 0, yOffset: 0, docHidden: false, From bfa71935eb2b2a6e7dee4b993479ebb3371f349d Mon Sep 17 00:00:00 2001 From: quietPusher <129727954+quietPusher@users.noreply.github.com> Date: Wed, 7 Jan 2026 18:29:26 +0100 Subject: [PATCH 092/248] Limelight Digital Bid Adapter: new alias Performist and Oveeo (#14315) * new alias Performist * new alias Oveeo --------- Co-authored-by: mderevyanko --- modules/limelightDigitalBidAdapter.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/limelightDigitalBidAdapter.js b/modules/limelightDigitalBidAdapter.js index ed27c054033..283a89c5a3f 100644 --- a/modules/limelightDigitalBidAdapter.js +++ b/modules/limelightDigitalBidAdapter.js @@ -48,7 +48,9 @@ export const spec = { { code: 'adnimation' }, { code: 'rtbdemand' }, { code: 'altstar' }, - { code: 'vaayaMedia' } + { code: 'vaayaMedia' }, + { code: 'performist' }, + { code: 'oveeo' } ], supportedMediaTypes: [BANNER, VIDEO], From 242ebc9bd4141a0f34e1912fcb25b18323771579 Mon Sep 17 00:00:00 2001 From: mdusmanalvi <72804728+mdusmanalvi@users.noreply.github.com> Date: Fri, 9 Jan 2026 04:01:05 +0530 Subject: [PATCH 093/248] Tercept Analytics Adapter: Ehanced bid response fields capture & BIDDER_ERROR support (#14119) * Tercept Analytics: Add support for additional bid fields and adSlot mapping and BIDDER_ERROR event * fixed lint issues * Tercept Analytics Adapter: fix concurrent auction race condition with Map-based adUnits lookup * Tercept Analytics Adapter: add AD_RENDER_SUCCEEDED and AD_RENDER_FAILED event tracking Track render events with renderStatus codes 7 (succeeded) and 8 (failed). Adds renderTimestamp, reason, and message fields to all bid responses with null defaults for non-render events. --------- Co-authored-by: Patrick McCann --- modules/terceptAnalyticsAdapter.js | 144 ++- .../modules/terceptAnalyticsAdapter_spec.js | 946 +++++++++++------- 2 files changed, 723 insertions(+), 367 deletions(-) diff --git a/modules/terceptAnalyticsAdapter.js b/modules/terceptAnalyticsAdapter.js index 594600b30e8..6bc86ba8c98 100644 --- a/modules/terceptAnalyticsAdapter.js +++ b/modules/terceptAnalyticsAdapter.js @@ -16,6 +16,8 @@ const events = { bids: [] }; +let adUnitMap = new Map(); + var terceptAnalyticsAdapter = Object.assign(adapter( { emptyUrl, @@ -29,21 +31,34 @@ var terceptAnalyticsAdapter = Object.assign(adapter( Object.assign(events, {bids: []}); events.auctionInit = args; auctionTimestamp = args.timestamp; + adUnitMap.set(args.auctionId, args.adUnits); } else if (eventType === EVENTS.BID_REQUESTED) { mapBidRequests(args).forEach(item => { events.bids.push(item) }); } else if (eventType === EVENTS.BID_RESPONSE) { mapBidResponse(args, 'response'); } else if (eventType === EVENTS.NO_BID) { mapBidResponse(args, 'no_bid'); + } else if (eventType === EVENTS.BIDDER_ERROR) { + send({ + bidderError: mapBidResponse(args, 'bidder_error') + }); } else if (eventType === EVENTS.BID_WON) { send({ bidWon: mapBidResponse(args, 'win') - }, 'won'); + }); + } else if (eventType === EVENTS.AD_RENDER_SUCCEEDED) { + send({ + adRenderSucceeded: mapBidResponse(args, 'render_succeeded') + }); + } else if (eventType === EVENTS.AD_RENDER_FAILED) { + send({ + adRenderFailed: mapBidResponse(args, 'render_failed') + }); } } if (eventType === EVENTS.AUCTION_END) { - send(events, 'auctionEnd'); + send(events); } } }); @@ -68,28 +83,93 @@ function mapBidRequests(params) { return arr; } +function getAdSlotData(auctionId, adUnitCode) { + const auctionAdUnits = adUnitMap?.get(auctionId); + + if (!Array.isArray(auctionAdUnits)) { + return {}; + } + + const matchingAdUnit = auctionAdUnits.find(au => au.code === adUnitCode); + + return { + adserverAdSlot: matchingAdUnit?.ortb2Imp?.ext?.data?.adserver?.adslot, + pbAdSlot: matchingAdUnit?.ortb2Imp?.ext?.data?.pbadslot, + }; +} + function mapBidResponse(bidResponse, status) { - if (status !== 'win') { - const bid = events.bids.filter(o => o.bidId === bidResponse.bidId || o.bidId === bidResponse.requestId)[0]; + const isRenderEvent = (status === 'render_succeeded' || status === 'render_failed'); + const bid = isRenderEvent ? bidResponse.bid : bidResponse; + const { adserverAdSlot, pbAdSlot } = getAdSlotData(bid?.auctionId, bid?.adUnitCode); + + if (status === 'bidder_error') { + return { + ...bidResponse, + adserverAdSlot: adserverAdSlot, + pbAdSlot: pbAdSlot, + status: 6, + host: window.location.hostname, + path: window.location.pathname, + search: window.location.search + } + } else if (status !== 'win') { + const existingBid = isRenderEvent ? null : events.bids.filter(o => o.bidId === bid.bidId || o.bidId === bid.requestId)[0]; const responseTimestamp = Date.now(); - Object.assign(bid, { - bidderCode: bidResponse.bidder, - bidId: status === 'timeout' ? bidResponse.bidId : bidResponse.requestId, - adUnitCode: bidResponse.adUnitCode, - auctionId: bidResponse.auctionId, - creativeId: bidResponse.creativeId, - transactionId: bidResponse.transactionId, - currency: bidResponse.currency, - cpm: bidResponse.cpm, - netRevenue: bidResponse.netRevenue, - mediaType: bidResponse.mediaType, - statusMessage: bidResponse.statusMessage, - status: bidResponse.status, - renderStatus: status === 'timeout' ? 3 : (status === 'no_bid' ? 5 : 2), - timeToRespond: bidResponse.timeToRespond, - requestTimestamp: bidResponse.requestTimestamp, - responseTimestamp: bidResponse.responseTimestamp ? bidResponse.responseTimestamp : responseTimestamp - }); + + const getRenderStatus = () => { + if (status === 'timeout') return 3; + if (status === 'no_bid') return 5; + if (status === 'render_succeeded') return 7; + if (status === 'render_failed') return 8; + return 2; + }; + + const mappedData = { + bidderCode: bid.bidder, + bidId: (status === 'timeout' || status === 'no_bid') ? bid.bidId : bid.requestId, + adUnitCode: bid.adUnitCode, + auctionId: bid.auctionId, + creativeId: bid.creativeId, + transactionId: bid.transactionId, + currency: bid.currency, + cpm: bid.cpm, + netRevenue: bid.netRevenue, + renderedSize: isRenderEvent ? bid.size : null, + width: bid.width, + height: bid.height, + mediaType: bid.mediaType, + statusMessage: bid.statusMessage, + status: bid.status, + renderStatus: getRenderStatus(), + timeToRespond: bid.timeToRespond, + requestTimestamp: bid.requestTimestamp, + responseTimestamp: bid.responseTimestamp ? bid.responseTimestamp : responseTimestamp, + renderTimestamp: isRenderEvent ? Date.now() : null, + reason: status === 'render_failed' ? bidResponse.reason : null, + message: status === 'render_failed' ? bidResponse.message : null, + host: isRenderEvent ? window.location.hostname : null, + path: isRenderEvent ? window.location.pathname : null, + search: isRenderEvent ? window.location.search : null, + adserverAdSlot: adserverAdSlot, + pbAdSlot: pbAdSlot, + ttl: bid.ttl, + dealId: bid.dealId, + ad: isRenderEvent ? null : bid.ad, + adUrl: isRenderEvent ? null : bid.adUrl, + adId: bid.adId, + size: isRenderEvent ? null : bid.size, + adserverTargeting: isRenderEvent ? null : bid.adserverTargeting, + videoCacheKey: isRenderEvent ? null : bid.videoCacheKey, + native: isRenderEvent ? null : bid.native, + meta: bid.meta || {} + }; + + if (isRenderEvent) { + return mappedData; + } else { + Object.assign(existingBid, mappedData); + } } else { return { bidderCode: bidResponse.bidder, @@ -102,6 +182,8 @@ function mapBidResponse(bidResponse, status) { cpm: bidResponse.cpm, netRevenue: bidResponse.netRevenue, renderedSize: bidResponse.size, + width: bidResponse.width, + height: bidResponse.height, mediaType: bidResponse.mediaType, statusMessage: bidResponse.statusMessage, status: bidResponse.status, @@ -109,14 +191,28 @@ function mapBidResponse(bidResponse, status) { timeToRespond: bidResponse.timeToRespond, requestTimestamp: bidResponse.requestTimestamp, responseTimestamp: bidResponse.responseTimestamp, + renderTimestamp: null, + reason: null, + message: null, host: window.location.hostname, path: window.location.pathname, - search: window.location.search + search: window.location.search, + adserverAdSlot: adserverAdSlot, + pbAdSlot: pbAdSlot, + ttl: bidResponse.ttl, + dealId: bidResponse.dealId, + ad: bidResponse.ad, + adUrl: bidResponse.adUrl, + adId: bidResponse.adId, + adserverTargeting: bidResponse.adserverTargeting, + videoCacheKey: bidResponse.videoCacheKey, + native: bidResponse.native, + meta: bidResponse.meta || {} } } } -function send(data, status) { +function send(data) { const location = getWindowLocation(); if (typeof data !== 'undefined' && typeof data.auctionInit !== 'undefined') { Object.assign(data.auctionInit, { host: location.host, path: location.pathname, search: location.search }); diff --git a/test/spec/modules/terceptAnalyticsAdapter_spec.js b/test/spec/modules/terceptAnalyticsAdapter_spec.js index bcbfaf63ae8..45184941b2d 100644 --- a/test/spec/modules/terceptAnalyticsAdapter_spec.js +++ b/test/spec/modules/terceptAnalyticsAdapter_spec.js @@ -42,14 +42,8 @@ describe('tercept analytics adapter', function () { 'mediaTypes': { 'banner': { 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ] } }, @@ -65,21 +59,23 @@ describe('tercept analytics adapter', function () { } ], 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ], - 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98' + 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', + 'ortb2Imp': { + 'ext': { + 'data': { + 'adserver': { + 'adslot': '/1234567/homepage-banner' + }, + 'pbadslot': 'homepage-banner-pbadslot' + } + } + } } ], - 'adUnitCodes': [ - 'div-gpt-ad-1460505748561-0' - ], + 'adUnitCodes': ['div-gpt-ad-1460505748561-0'], 'bidderRequests': [ { 'bidderCode': 'appnexus', @@ -97,28 +93,16 @@ describe('tercept analytics adapter', function () { 'mediaTypes': { 'banner': { 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ] } }, 'adUnitCode': 'div-gpt-ad-1460505748561-0', 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ], 'bidId': '263efc09896d0c', 'bidderRequestId': '155975c76e13b1', @@ -135,9 +119,7 @@ describe('tercept analytics adapter', function () { 'referer': 'http://observer.com/integrationExamples/gpt/hello_world.html', 'reachedTop': true, 'numIframes': 0, - 'stack': [ - 'http://observer.com/integrationExamples/gpt/hello_world.html' - ] + 'stack': ['http://observer.com/integrationExamples/gpt/hello_world.html'] }, 'start': 1576823893838 }, @@ -157,28 +139,16 @@ describe('tercept analytics adapter', function () { 'mediaTypes': { 'banner': { 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ] } }, 'adUnitCode': 'div-gpt-ad-1460505748561-0', 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ], 'bidId': '9424dea605368f', 'bidderRequestId': '181df4d465699c', @@ -195,9 +165,7 @@ describe('tercept analytics adapter', function () { 'referer': 'http://observer.com/integrationExamples/gpt/hello_world.html', 'reachedTop': true, 'numIframes': 0, - 'stack': [ - 'http://observer.com/integrationExamples/gpt/hello_world.html' - ] + 'stack': ['http://observer.com/integrationExamples/gpt/hello_world.html'] }, 'start': 1576823893838 } @@ -223,28 +191,16 @@ describe('tercept analytics adapter', function () { 'mediaTypes': { 'banner': { 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ] } }, 'adUnitCode': 'div-gpt-ad-1460505748561-0', 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ], 'bidId': '263efc09896d0c', 'bidderRequestId': '155975c76e13b1', @@ -261,9 +217,7 @@ describe('tercept analytics adapter', function () { 'referer': 'http://observer.com/integrationExamples/gpt/hello_world.html', 'reachedTop': true, 'numIframes': 0, - 'stack': [ - 'http://observer.com/integrationExamples/gpt/hello_world.html' - ] + 'stack': ['http://observer.com/integrationExamples/gpt/hello_world.html'] }, 'start': 1576823893838 }, @@ -283,28 +237,16 @@ describe('tercept analytics adapter', function () { 'mediaTypes': { 'banner': { 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ] } }, 'adUnitCode': 'div-gpt-ad-1460505748561-0', 'transactionId': 'd99d90e0-663a-459d-8c87-4c92ce6a527c', 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ], 'bidId': '9424dea605368f', 'bidderRequestId': '181df4d465699c', @@ -321,9 +263,7 @@ describe('tercept analytics adapter', function () { 'referer': 'http://observer.com/integrationExamples/gpt/hello_world.html', 'reachedTop': true, 'numIframes': 0, - 'stack': [ - 'http://observer.com/integrationExamples/gpt/hello_world.html' - ] + 'stack': ['http://observer.com/integrationExamples/gpt/hello_world.html'] }, 'start': 1576823893838 }, @@ -362,14 +302,8 @@ describe('tercept analytics adapter', function () { 'mediaTypes': { 'banner': { 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ] } }, @@ -378,14 +312,13 @@ describe('tercept analytics adapter', function () { 'sizes': [[300, 250]], 'bidId': '9424dea605368f', 'bidderRequestId': '181df4d465699c', - 'auctionId': '86e005fa-1900-4782-b6df-528500f09128', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313', 'src': 's2s', 'bidRequestsCount': 1, 'bidderRequestsCount': 1, 'bidderWinsCount': 0 }, - 'bidTimeout': [ - ], + 'bidTimeout': [], 'bidResponse': { 'bidderCode': 'appnexus', 'width': 300, @@ -442,14 +375,8 @@ describe('tercept analytics adapter', function () { 'mediaTypes': { 'banner': { 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ] } }, @@ -465,21 +392,23 @@ describe('tercept analytics adapter', function () { } ], 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ], - 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98' + 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', + 'ortb2Imp': { + 'ext': { + 'data': { + 'adserver': { + 'adslot': '/1234567/homepage-banner' + }, + 'pbadslot': 'homepage-banner-pbadslot' + } + } + } } ], - 'adUnitCodes': [ - 'div-gpt-ad-1460505748561-0' - ], + 'adUnitCodes': ['div-gpt-ad-1460505748561-0'], 'bidderRequests': [ { 'bidderCode': 'appnexus', @@ -497,28 +426,16 @@ describe('tercept analytics adapter', function () { 'mediaTypes': { 'banner': { 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ] } }, 'adUnitCode': 'div-gpt-ad-1460505748561-0', 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ], 'bidId': '263efc09896d0c', 'bidderRequestId': '155975c76e13b1', @@ -535,9 +452,7 @@ describe('tercept analytics adapter', function () { 'referer': 'http://observer.com/integrationExamples/gpt/hello_world.html', 'reachedTop': true, 'numIframes': 0, - 'stack': [ - 'http://observer.com/integrationExamples/gpt/hello_world.html' - ] + 'stack': ['http://observer.com/integrationExamples/gpt/hello_world.html'] }, 'start': 1576823893838 } @@ -625,28 +540,16 @@ describe('tercept analytics adapter', function () { 'mediaTypes': { 'banner': { 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ] } }, 'adUnitCode': 'div-gpt-ad-1460505748561-0', 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', 'sizes': [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + [300, 250], + [300, 600] ], 'bidId': '263efc09896d0c', 'bidderRequestId': '155975c76e13b1', @@ -663,9 +566,7 @@ describe('tercept analytics adapter', function () { 'referer': 'http://observer.com/integrationExamples/gpt/hello_world.html', 'reachedTop': true, 'numIframes': 0, - 'stack': [ - 'http://observer.com/integrationExamples/gpt/hello_world.html' - ] + 'stack': ['http://observer.com/integrationExamples/gpt/hello_world.html'] }, 'start': 1576823893838 }, @@ -721,222 +622,228 @@ describe('tercept analytics adapter', function () { ] } }; + const location = utils.getWindowLocation(); const expectedAfterBid = { - "bids": [ + 'bids': [ { - "bidderCode": "appnexus", - "bidId": "263efc09896d0c", - "adUnitCode": "div-gpt-ad-1460505748561-0", - "requestId": "155975c76e13b1", - "auctionId": "db377024-d866-4a24-98ac-5e430f881313", - "sizes": "300x250,300x600", - "renderStatus": 2, - "requestTimestamp": 1576823893838, - "creativeId": 96846035, - "currency": "USD", - "cpm": 0.5, - "netRevenue": true, - "mediaType": "banner", - "statusMessage": "Bid available", - "timeToRespond": 212, - "responseTimestamp": 1576823894050 + 'bidderCode': 'appnexus', + 'bidId': '263efc09896d0c', + 'adUnitCode': 'div-gpt-ad-1460505748561-0', + 'requestId': '155975c76e13b1', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313', + 'sizes': '300x250,300x600', + 'renderStatus': 2, + 'requestTimestamp': 1576823893838, + 'creativeId': 96846035, + 'currency': 'USD', + 'cpm': 0.5, + 'netRevenue': true, + 'renderedSize': null, + 'width': 300, + 'height': 250, + 'mediaType': 'banner', + 'statusMessage': 'Bid available', + 'timeToRespond': 212, + 'responseTimestamp': 1576823894050, + 'renderTimestamp': null, + 'reason': null, + 'message': null, + 'host': null, + 'path': null, + 'search': null, + 'adserverAdSlot': '/1234567/homepage-banner', + 'pbAdSlot': 'homepage-banner-pbadslot', + 'ttl': 300, + 'ad': '', + 'adId': '393976d8770041', + 'size': '300x250', + 'adserverTargeting': { + 'hb_bidder': 'appnexus', + 'hb_adid': '393976d8770041', + 'hb_pb': '0.50', + 'hb_size': '300x250', + 'hb_source': 'client', + 'hb_format': 'banner' + }, + 'meta': { + 'advertiserId': 2529885 + } }, { - "bidderCode": "ix", - "adUnitCode": "div-gpt-ad-1460505748561-0", - "requestId": "181df4d465699c", - "auctionId": "86e005fa-1900-4782-b6df-528500f09128", - "transactionId": "d99d90e0-663a-459d-8c87-4c92ce6a527c", - "sizes": "300x250,300x600", - "renderStatus": 5, - "responseTimestamp": 1753444800000 + 'bidderCode': 'ix', + 'bidId': '9424dea605368f', + 'adUnitCode': 'div-gpt-ad-1460505748561-0', + 'requestId': '181df4d465699c', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313', + 'transactionId': 'd99d90e0-663a-459d-8c87-4c92ce6a527c', + 'sizes': '300x250,300x600', + 'renderStatus': 5, + 'renderedSize': null, + 'renderTimestamp': null, + 'reason': null, + 'message': null, + 'host': null, + 'path': null, + 'search': null, + 'responseTimestamp': 1753444800000, + 'adserverAdSlot': '/1234567/homepage-banner', + 'pbAdSlot': 'homepage-banner-pbadslot', + 'meta': {} } ], - "auctionInit": { - "auctionId": "db377024-d866-4a24-98ac-5e430f881313", - "timestamp": 1576823893836, - "auctionStatus": "inProgress", - "adUnits": [ + 'auctionInit': { + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313', + 'timestamp': 1576823893836, + 'auctionStatus': 'inProgress', + 'adUnits': [ { - "code": "div-gpt-ad-1460505748561-0", - "mediaTypes": { - "banner": { - "sizes": [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + 'code': 'div-gpt-ad-1460505748561-0', + 'mediaTypes': { + 'banner': { + 'sizes': [ + [300, 250], + [300, 600] ] } }, - "bids": [ + 'bids': [ { - "bidder": "appnexus", - "params": { - "placementId": 13144370 + 'bidder': 'appnexus', + 'params': { + 'placementId': 13144370 }, - "crumbs": { - "pubcid": "ff4002c4-ce05-4a61-b4ef-45a3cd93991a" + 'crumbs': { + 'pubcid': 'ff4002c4-ce05-4a61-b4ef-45a3cd93991a' } } ], - "sizes": [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + 'sizes': [ + [300, 250], + [300, 600] ], - "transactionId": "6d275806-1943-4f3e-9cd5-624cbd05ad98" + 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', + 'ortb2Imp': { + 'ext': { + 'data': { + 'adserver': { + 'adslot': '/1234567/homepage-banner' + }, + 'pbadslot': 'homepage-banner-pbadslot' + } + } + } } ], - "adUnitCodes": [ - "div-gpt-ad-1460505748561-0" - ], - "bidderRequests": [ + 'adUnitCodes': ['div-gpt-ad-1460505748561-0'], + 'bidderRequests': [ { - "bidderCode": "appnexus", - "auctionId": "db377024-d866-4a24-98ac-5e430f881313", - "bidderRequestId": "155975c76e13b1", - "bids": [ + 'bidderCode': 'appnexus', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313', + 'bidderRequestId': '155975c76e13b1', + 'bids': [ { - "bidder": "appnexus", - "params": { - "placementId": 13144370 + 'bidder': 'appnexus', + 'params': { + 'placementId': 13144370 }, - "crumbs": { - "pubcid": "ff4002c4-ce05-4a61-b4ef-45a3cd93991a" + 'crumbs': { + 'pubcid': 'ff4002c4-ce05-4a61-b4ef-45a3cd93991a' }, - "mediaTypes": { - "banner": { - "sizes": [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + 'mediaTypes': { + 'banner': { + 'sizes': [ + [300, 250], + [300, 600] ] } }, - "adUnitCode": "div-gpt-ad-1460505748561-0", - "transactionId": "6d275806-1943-4f3e-9cd5-624cbd05ad98", - "sizes": [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + 'adUnitCode': 'div-gpt-ad-1460505748561-0', + 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', + 'sizes': [ + [300, 250], + [300, 600] ], - "bidId": "263efc09896d0c", - "bidderRequestId": "155975c76e13b1", - "auctionId": "db377024-d866-4a24-98ac-5e430f881313", - "src": "client", - "bidRequestsCount": 1, - "bidderRequestsCount": 1, - "bidderWinsCount": 0 + 'bidId': '263efc09896d0c', + 'bidderRequestId': '155975c76e13b1', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313', + 'src': 'client', + 'bidRequestsCount': 1, + 'bidderRequestsCount': 1, + 'bidderWinsCount': 0 } ], - "auctionStart": 1576823893836, - "timeout": 1000, - "refererInfo": { - "referer": "http://observer.com/integrationExamples/gpt/hello_world.html", - "reachedTop": true, - "numIframes": 0, - "stack": [ - "http://observer.com/integrationExamples/gpt/hello_world.html" - ] + 'auctionStart': 1576823893836, + 'timeout': 1000, + 'refererInfo': { + 'referer': 'http://observer.com/integrationExamples/gpt/hello_world.html', + 'reachedTop': true, + 'numIframes': 0, + 'stack': ['http://observer.com/integrationExamples/gpt/hello_world.html'] }, - "start": 1576823893838 + 'start': 1576823893838 }, { - "bidderCode": "ix", - "auctionId": "db377024-d866-4a24-98ac-5e430f881313", - "bidderRequestId": "181df4d465699c", - "bids": [ + 'bidderCode': 'ix', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313', + 'bidderRequestId': '181df4d465699c', + 'bids': [ { - "bidder": "ix", - "params": { - "placementId": 13144370 + 'bidder': 'ix', + 'params': { + 'placementId': 13144370 }, - "crumbs": { - "pubcid": "ff4002c4-ce05-4a61-b4ef-45a3cd93991a" + 'crumbs': { + 'pubcid': 'ff4002c4-ce05-4a61-b4ef-45a3cd93991a' }, - "mediaTypes": { - "banner": { - "sizes": [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + 'mediaTypes': { + 'banner': { + 'sizes': [ + [300, 250], + [300, 600] ] } }, - "adUnitCode": "div-gpt-ad-1460505748561-0", - "transactionId": "6d275806-1943-4f3e-9cd5-624cbd05ad98", - "sizes": [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] + 'adUnitCode': 'div-gpt-ad-1460505748561-0', + 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', + 'sizes': [ + [300, 250], + [300, 600] ], - "bidId": "9424dea605368f", - "bidderRequestId": "181df4d465699c", - "auctionId": "db377024-d866-4a24-98ac-5e430f881313", - "src": "client", - "bidRequestsCount": 1, - "bidderRequestsCount": 1, - "bidderWinsCount": 0 + 'bidId': '9424dea605368f', + 'bidderRequestId': '181df4d465699c', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313', + 'src': 'client', + 'bidRequestsCount': 1, + 'bidderRequestsCount': 1, + 'bidderWinsCount': 0 } ], - "auctionStart": 1576823893836, - "timeout": 1000, - "refererInfo": { - "referer": "http://observer.com/integrationExamples/gpt/hello_world.html", - "reachedTop": true, - "numIframes": 0, - "stack": [ - "http://observer.com/integrationExamples/gpt/hello_world.html" - ] + 'auctionStart': 1576823893836, + 'timeout': 1000, + 'refererInfo': { + 'referer': 'http://observer.com/integrationExamples/gpt/hello_world.html', + 'reachedTop': true, + 'numIframes': 0, + 'stack': ['http://observer.com/integrationExamples/gpt/hello_world.html'] }, - "start": 1576823893838 + 'start': 1576823893838 } ], - "noBids": [], - "bidsReceived": [], - "winningBids": [], - "timeout": 1000, - "host": "localhost:9876", - "path": "/context.html", - "search": "" + 'noBids': [], + 'bidsReceived': [], + 'winningBids': [], + 'timeout': 1000, + 'host': 'localhost:9876', + 'path': '/context.html', + 'search': '' }, - "initOptions": { - "pubId": "1", - "pubKey": "ZXlKaGJHY2lPaUpJVXpJMU5pSjkuT==", - "hostName": "us-central1-quikr-ebay.cloudfunctions.net", - "pathName": "/prebid-analytics" + 'initOptions': { + 'pubId': '1', + 'pubKey': 'ZXlKaGJHY2lPaUpJVXpJMU5pSjkuT==', + 'hostName': 'us-central1-quikr-ebay.cloudfunctions.net', + 'pathName': '/prebid-analytics' } }; @@ -951,6 +858,8 @@ describe('tercept analytics adapter', function () { 'cpm': 0.5, 'netRevenue': true, 'renderedSize': '300x250', + 'width': 300, + 'height': 250, 'mediaType': 'banner', 'statusMessage': 'Bid available', 'status': 'rendered', @@ -958,12 +867,31 @@ describe('tercept analytics adapter', function () { 'timeToRespond': 212, 'requestTimestamp': 1576823893838, 'responseTimestamp': 1576823894050, - "host": "localhost", - "path": "/context.html", - "search": "", + 'renderTimestamp': null, + 'reason': null, + 'message': null, + 'host': 'localhost', + 'path': '/context.html', + 'search': '', + 'adserverAdSlot': '/1234567/homepage-banner', + 'pbAdSlot': 'homepage-banner-pbadslot', + 'ttl': 300, + 'ad': '', + 'adId': '393976d8770041', + 'adserverTargeting': { + 'hb_bidder': 'appnexus', + 'hb_adid': '393976d8770041', + 'hb_pb': '0.50', + 'hb_size': '300x250', + 'hb_source': 'client', + 'hb_format': 'banner' + }, + 'meta': { + 'advertiserId': 2529885 + } }, 'initOptions': initOptions - } + }; adapterManager.registerAnalyticsAdapter({ code: 'tercept', @@ -1002,19 +930,351 @@ describe('tercept analytics adapter', function () { events.emit(EVENTS.AUCTION_END, prebidEvent['auctionEnd']); expect(server.requests.length).to.equal(1); - const realAfterBid = JSON.parse(server.requests[0].requestBody); - expect(realAfterBid).to.deep.equal(expectedAfterBid); // Step 7: Send auction bid won event events.emit(EVENTS.BID_WON, prebidEvent['bidWon']); expect(server.requests.length).to.equal(2); - const winEventData = JSON.parse(server.requests[1].requestBody); - expect(winEventData).to.deep.equal(expectedAfterBidWon); }); + + it('uses correct adUnits for each auction via Map lookup', function () { + const auction1Init = { + 'auctionId': 'auction-1-id', + 'timestamp': 1576823893836, + 'auctionStatus': 'inProgress', + 'adUnits': [ + { + 'code': 'div-auction-1', + 'mediaTypes': { 'banner': { 'sizes': [[300, 250]] } }, + 'bids': [{ 'bidder': 'appnexus', 'params': { 'placementId': 111 } }], + 'sizes': [[300, 250]], + 'transactionId': 'trans-1', + 'ortb2Imp': { + 'ext': { + 'data': { + 'adserver': { 'adslot': '/auction1/slot' }, + 'pbadslot': 'auction1-pbadslot' + } + } + } + } + ], + 'adUnitCodes': ['div-auction-1'], + 'bidderRequests': [], + 'noBids': [], + 'bidsReceived': [], + 'winningBids': [], + 'timeout': 1000 + }; + + const auction2Init = { + 'auctionId': 'auction-2-id', + 'timestamp': 1576823893900, + 'auctionStatus': 'inProgress', + 'adUnits': [ + { + 'code': 'div-auction-2', + 'mediaTypes': { 'banner': { 'sizes': [[728, 90]] } }, + 'bids': [{ 'bidder': 'rubicon', 'params': { 'placementId': 222 } }], + 'sizes': [[728, 90]], + 'transactionId': 'trans-2', + 'ortb2Imp': { + 'ext': { + 'data': { + 'adserver': { 'adslot': '/auction2/slot' }, + 'pbadslot': 'auction2-pbadslot' + } + } + } + } + ], + 'adUnitCodes': ['div-auction-2'], + 'bidderRequests': [], + 'noBids': [], + 'bidsReceived': [], + 'winningBids': [], + 'timeout': 1000 + }; + + events.emit(EVENTS.AUCTION_INIT, auction1Init); + events.emit(EVENTS.AUCTION_INIT, auction2Init); + + const bidWon1 = { + 'bidderCode': 'appnexus', + 'width': 300, + 'height': 250, + 'adId': 'ad-1', + 'requestId': 'bid-1', + 'mediaType': 'banner', + 'cpm': 1.0, + 'currency': 'USD', + 'netRevenue': true, + 'ttl': 300, + 'adUnitCode': 'div-auction-1', + 'auctionId': 'auction-1-id', + 'responseTimestamp': 1576823894000, + 'requestTimestamp': 1576823893838, + 'bidder': 'appnexus', + 'timeToRespond': 164, + 'size': '300x250', + 'status': 'rendered', + 'meta': {} + }; + + const bidWon2 = { + 'bidderCode': 'rubicon', + 'width': 728, + 'height': 90, + 'adId': 'ad-2', + 'requestId': 'bid-2', + 'mediaType': 'banner', + 'cpm': 2.0, + 'currency': 'USD', + 'netRevenue': true, + 'ttl': 300, + 'adUnitCode': 'div-auction-2', + 'auctionId': 'auction-2-id', + 'responseTimestamp': 1576823894100, + 'requestTimestamp': 1576823893900, + 'bidder': 'rubicon', + 'timeToRespond': 200, + 'size': '728x90', + 'status': 'rendered', + 'meta': {} + }; + + events.emit(EVENTS.BID_WON, bidWon1); + events.emit(EVENTS.BID_WON, bidWon2); + + expect(server.requests.length).to.equal(2); + + const winData1 = JSON.parse(server.requests[0].requestBody); + expect(winData1.bidWon.adserverAdSlot).to.equal('/auction1/slot'); + expect(winData1.bidWon.pbAdSlot).to.equal('auction1-pbadslot'); + + const winData2 = JSON.parse(server.requests[1].requestBody); + expect(winData2.bidWon.adserverAdSlot).to.equal('/auction2/slot'); + expect(winData2.bidWon.pbAdSlot).to.equal('auction2-pbadslot'); + }); + + it('handles BIDDER_ERROR event', function () { + events.emit(EVENTS.AUCTION_INIT, prebidEvent['auctionInit']); + + const bidderError = { + 'bidderCode': 'appnexus', + 'error': 'timeout', + 'bidderRequest': { + 'bidderCode': 'appnexus', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313' + }, + 'adUnitCode': 'div-gpt-ad-1460505748561-0', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313' + }; + + events.emit(EVENTS.BIDDER_ERROR, bidderError); + + expect(server.requests.length).to.equal(1); + const errorData = JSON.parse(server.requests[0].requestBody); + expect(errorData.bidderError).to.exist; + expect(errorData.bidderError.status).to.equal(6); + expect(errorData.bidderError.adserverAdSlot).to.equal('/1234567/homepage-banner'); + expect(errorData.bidderError.pbAdSlot).to.equal('homepage-banner-pbadslot'); + expect(errorData.bidderError.host).to.equal(window.location.hostname); + expect(errorData.bidderError.path).to.equal(window.location.pathname); + }); + + it('returns empty object for getAdSlotData when ad unit not found', function () { + const auctionInitNoOrtb2 = { + 'auctionId': 'no-ortb2-auction', + 'timestamp': 1576823893836, + 'auctionStatus': 'inProgress', + 'adUnits': [ + { + 'code': 'div-no-ortb2', + 'mediaTypes': { 'banner': { 'sizes': [[300, 250]] } }, + 'bids': [{ 'bidder': 'appnexus', 'params': { 'placementId': 999 } }], + 'sizes': [[300, 250]], + 'transactionId': 'trans-no-ortb2' + } + ], + 'adUnitCodes': ['div-no-ortb2'], + 'bidderRequests': [], + 'noBids': [], + 'bidsReceived': [], + 'winningBids': [], + 'timeout': 1000 + }; + + const bidRequest = { + 'bidderCode': 'appnexus', + 'auctionId': 'no-ortb2-auction', + 'bidderRequestId': 'req-no-ortb2', + 'bids': [{ + 'bidder': 'appnexus', + 'params': { 'placementId': 999 }, + 'mediaTypes': { 'banner': { 'sizes': [[300, 250]] } }, + 'adUnitCode': 'div-no-ortb2', + 'transactionId': 'trans-no-ortb2', + 'sizes': [[300, 250]], + 'bidId': 'bid-no-ortb2', + 'bidderRequestId': 'req-no-ortb2', + 'auctionId': 'no-ortb2-auction' + }], + 'auctionStart': 1576823893836 + }; + + const bidResponse = { + 'bidderCode': 'appnexus', + 'width': 300, + 'height': 250, + 'adId': 'ad-no-ortb2', + 'requestId': 'bid-no-ortb2', + 'mediaType': 'banner', + 'cpm': 0.5, + 'currency': 'USD', + 'netRevenue': true, + 'ttl': 300, + 'adUnitCode': 'div-no-ortb2', + 'auctionId': 'no-ortb2-auction', + 'responseTimestamp': 1576823894000, + 'bidder': 'appnexus', + 'timeToRespond': 164, + 'meta': {} + }; + + events.emit(EVENTS.AUCTION_INIT, auctionInitNoOrtb2); + events.emit(EVENTS.BID_REQUESTED, bidRequest); + events.emit(EVENTS.BID_RESPONSE, bidResponse); + events.emit(EVENTS.AUCTION_END, { auctionId: 'no-ortb2-auction' }); + + expect(server.requests.length).to.equal(1); + const auctionData = JSON.parse(server.requests[0].requestBody); + const bid = auctionData.bids.find(b => b.bidId === 'bid-no-ortb2'); + expect(bid.adserverAdSlot).to.be.undefined; + expect(bid.pbAdSlot).to.be.undefined; + }); + + it('handles AD_RENDER_SUCCEEDED event', function () { + events.emit(EVENTS.AUCTION_INIT, prebidEvent['auctionInit']); + + const adRenderSucceeded = { + 'bid': { + 'bidderCode': 'appnexus', + 'width': 300, + 'height': 250, + 'statusMessage': 'Bid available', + 'adId': '393976d8770041', + 'requestId': '263efc09896d0c', + 'mediaType': 'banner', + 'cpm': 0.5, + 'creativeId': 96846035, + 'currency': 'USD', + 'netRevenue': true, + 'ttl': 300, + 'adUnitCode': 'div-gpt-ad-1460505748561-0', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313', + 'responseTimestamp': 1576823894050, + 'requestTimestamp': 1576823893838, + 'bidder': 'appnexus', + 'timeToRespond': 212, + 'size': '300x250', + 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', + 'meta': { + 'advertiserId': 2529885 + } + }, + 'doc': {}, + 'adId': '393976d8770041' + }; + + events.emit(EVENTS.AD_RENDER_SUCCEEDED, adRenderSucceeded); + + expect(server.requests.length).to.equal(1); + const renderData = JSON.parse(server.requests[0].requestBody); + expect(renderData.adRenderSucceeded).to.exist; + expect(renderData.adRenderSucceeded.renderStatus).to.equal(7); + expect(renderData.adRenderSucceeded.renderTimestamp).to.be.a('number'); + expect(renderData.adRenderSucceeded.bidderCode).to.equal('appnexus'); + expect(renderData.adRenderSucceeded.bidId).to.equal('263efc09896d0c'); + expect(renderData.adRenderSucceeded.adUnitCode).to.equal('div-gpt-ad-1460505748561-0'); + expect(renderData.adRenderSucceeded.auctionId).to.equal('db377024-d866-4a24-98ac-5e430f881313'); + expect(renderData.adRenderSucceeded.cpm).to.equal(0.5); + expect(renderData.adRenderSucceeded.renderedSize).to.equal('300x250'); + expect(renderData.adRenderSucceeded.adserverAdSlot).to.equal('/1234567/homepage-banner'); + expect(renderData.adRenderSucceeded.pbAdSlot).to.equal('homepage-banner-pbadslot'); + expect(renderData.adRenderSucceeded.host).to.equal(window.location.hostname); + expect(renderData.adRenderSucceeded.path).to.equal(window.location.pathname); + expect(renderData.adRenderSucceeded.reason).to.be.null; + expect(renderData.adRenderSucceeded.message).to.be.null; + }); + + it('handles AD_RENDER_FAILED event', function () { + events.emit(EVENTS.AUCTION_INIT, prebidEvent['auctionInit']); + + const adRenderFailed = { + 'bid': { + 'bidderCode': 'appnexus', + 'width': 300, + 'height': 250, + 'statusMessage': 'Bid available', + 'adId': '393976d8770041', + 'requestId': '263efc09896d0c', + 'mediaType': 'banner', + 'cpm': 0.5, + 'creativeId': 96846035, + 'currency': 'USD', + 'netRevenue': true, + 'ttl': 300, + 'adUnitCode': 'div-gpt-ad-1460505748561-0', + 'auctionId': 'db377024-d866-4a24-98ac-5e430f881313', + 'responseTimestamp': 1576823894050, + 'requestTimestamp': 1576823893838, + 'bidder': 'appnexus', + 'timeToRespond': 212, + 'size': '300x250', + 'transactionId': '6d275806-1943-4f3e-9cd5-624cbd05ad98', + 'meta': { + 'advertiserId': 2529885 + } + }, + 'adId': '393976d8770041', + 'reason': 'exception', + 'message': 'Error rendering ad: Cannot read property of undefined' + }; + + events.emit(EVENTS.AD_RENDER_FAILED, adRenderFailed); + + expect(server.requests.length).to.equal(1); + const renderData = JSON.parse(server.requests[0].requestBody); + expect(renderData.adRenderFailed).to.exist; + expect(renderData.adRenderFailed.renderStatus).to.equal(8); + expect(renderData.adRenderFailed.renderTimestamp).to.be.a('number'); + expect(renderData.adRenderFailed.bidderCode).to.equal('appnexus'); + expect(renderData.adRenderFailed.bidId).to.equal('263efc09896d0c'); + expect(renderData.adRenderFailed.adUnitCode).to.equal('div-gpt-ad-1460505748561-0'); + expect(renderData.adRenderFailed.auctionId).to.equal('db377024-d866-4a24-98ac-5e430f881313'); + expect(renderData.adRenderFailed.cpm).to.equal(0.5); + expect(renderData.adRenderFailed.reason).to.equal('exception'); + expect(renderData.adRenderFailed.message).to.equal('Error rendering ad: Cannot read property of undefined'); + expect(renderData.adRenderFailed.adserverAdSlot).to.equal('/1234567/homepage-banner'); + expect(renderData.adRenderFailed.pbAdSlot).to.equal('homepage-banner-pbadslot'); + expect(renderData.adRenderFailed.host).to.equal(window.location.hostname); + expect(renderData.adRenderFailed.path).to.equal(window.location.pathname); + }); + + it('includes null render fields in bidWon for consistency', function () { + events.emit(EVENTS.AUCTION_INIT, prebidEvent['auctionInit']); + events.emit(EVENTS.BID_WON, prebidEvent['bidWon']); + + expect(server.requests.length).to.equal(1); + const winData = JSON.parse(server.requests[0].requestBody); + expect(winData.bidWon.renderTimestamp).to.be.null; + expect(winData.bidWon.reason).to.be.null; + expect(winData.bidWon.message).to.be.null; + }); }); }); From 2322c2d4b9ec6efb6cf04c82a65defb9f19c6ddb Mon Sep 17 00:00:00 2001 From: nuba-io Date: Mon, 12 Jan 2026 23:10:49 +0200 Subject: [PATCH 094/248] Nuba Bid Adapter: update endpoint and remove unused getUserSyncs (#14329) * Nuba Bid Adapter: Update URL and remove getUserSyncs function * Nuba Bid Adapter: Add line --- modules/nubaBidAdapter.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/nubaBidAdapter.js b/modules/nubaBidAdapter.js index 0ebfe715508..6692a13bb1d 100644 --- a/modules/nubaBidAdapter.js +++ b/modules/nubaBidAdapter.js @@ -4,7 +4,7 @@ import { isBidRequestValid, buildRequests, interpretResponse } from '../librarie const BIDDER_CODE = 'nuba'; -const AD_URL = 'https://ads.nuba.io/openrtb2/auction'; +const AD_URL = 'https://ads.nuba.io/pbjs'; export const spec = { code: BIDDER_CODE, @@ -12,8 +12,7 @@ export const spec = { isBidRequestValid: isBidRequestValid(), buildRequests: buildRequests(AD_URL), - interpretResponse, - getUserSyncs: () => {}, + interpretResponse }; registerBidder(spec); From 77804103e51d4ec5ff852b48d76b9891a2081814 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Jan 2026 10:34:00 -0500 Subject: [PATCH 095/248] Bump qs, express and body-parser (#14305) Bumps [qs](https://github.com/ljharb/qs) to 6.14.1 and updates ancestor dependencies [qs](https://github.com/ljharb/qs), [express](https://github.com/expressjs/express) and [body-parser](https://github.com/expressjs/body-parser). These dependencies need to be updated together. Updates `qs` from 6.13.0 to 6.14.1 - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](https://github.com/ljharb/qs/compare/v6.13.0...v6.14.1) Updates `express` from 4.21.2 to 4.22.1 - [Release notes](https://github.com/expressjs/express/releases) - [Changelog](https://github.com/expressjs/express/blob/v4.22.1/History.md) - [Commits](https://github.com/expressjs/express/compare/4.21.2...v4.22.1) Updates `body-parser` from 1.20.3 to 1.20.4 - [Release notes](https://github.com/expressjs/body-parser/releases) - [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md) - [Commits](https://github.com/expressjs/body-parser/compare/1.20.3...1.20.4) --- updated-dependencies: - dependency-name: qs dependency-version: 6.14.1 dependency-type: indirect - dependency-name: express dependency-version: 4.22.1 dependency-type: direct:production - dependency-name: body-parser dependency-version: 1.20.4 dependency-type: direct:development ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 240 +++++++++++++++++++++++++++++++++------------- 1 file changed, 174 insertions(+), 66 deletions(-) diff --git a/package-lock.json b/package-lock.json index a5a91e2bd75..019161dcd31 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7393,21 +7393,22 @@ } }, "node_modules/body-parser": { - "version": "1.20.3", - "license": "MIT", + "version": "1.20.4", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz", + "integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==", "dependencies": { - "bytes": "3.1.2", + "bytes": "~3.1.2", "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.13.0", - "raw-body": "2.5.2", + "destroy": "~1.2.0", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "on-finished": "~2.4.1", + "qs": "~6.14.0", + "raw-body": "~2.5.3", "type-is": "~1.6.18", - "unpipe": "1.0.0" + "unpipe": "~1.0.0" }, "engines": { "node": ">= 0.8", @@ -7421,10 +7422,37 @@ "ms": "2.0.0" } }, + "node_modules/body-parser/node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, "node_modules/body-parser/node_modules/ms": { "version": "2.0.0", "license": "MIT" }, + "node_modules/body-parser/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/body/node_modules/bytes": { "version": "1.0.0", "dev": true @@ -7602,7 +7630,8 @@ }, "node_modules/bytes": { "version": "3.1.2", - "license": "MIT", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "engines": { "node": ">= 0.8" } @@ -11017,37 +11046,38 @@ } }, "node_modules/express": { - "version": "4.21.2", - "license": "MIT", + "version": "4.22.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.22.1.tgz", + "integrity": "sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.3", - "content-disposition": "0.5.4", + "body-parser": "~1.20.3", + "content-disposition": "~0.5.4", "content-type": "~1.0.4", - "cookie": "0.7.1", - "cookie-signature": "1.0.6", + "cookie": "~0.7.1", + "cookie-signature": "~1.0.6", "debug": "2.6.9", "depd": "2.0.0", "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.3.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", + "finalhandler": "~1.3.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.0", "merge-descriptors": "1.0.3", "methods": "~1.1.2", - "on-finished": "2.4.1", + "on-finished": "~2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.12", + "path-to-regexp": "~0.1.12", "proxy-addr": "~2.0.7", - "qs": "6.13.0", + "qs": "~6.14.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", - "send": "0.19.0", - "serve-static": "1.16.2", + "send": "~0.19.0", + "serve-static": "~1.16.2", "setprototypeof": "1.2.0", - "statuses": "2.0.1", + "statuses": "~2.0.1", "type-is": "~1.6.18", "utils-merge": "1.0.1", "vary": "~1.1.2" @@ -13150,7 +13180,8 @@ }, "node_modules/iconv-lite": { "version": "0.4.24", - "license": "MIT", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, @@ -17741,10 +17772,11 @@ } }, "node_modules/qs": { - "version": "6.13.0", - "license": "BSD-3-Clause", + "version": "6.14.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz", + "integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==", "dependencies": { - "side-channel": "^1.0.6" + "side-channel": "^1.1.0" }, "engines": { "node": ">=0.6" @@ -17798,18 +17830,46 @@ } }, "node_modules/raw-body": { - "version": "2.5.2", - "license": "MIT", + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", + "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", "dependencies": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "unpipe": "~1.0.0" }, "engines": { "node": ">= 0.8" } }, + "node_modules/raw-body/node_modules/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "dependencies": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/express" + } + }, + "node_modules/raw-body/node_modules/statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/react-is": { "version": "18.3.1", "dev": true, @@ -26631,20 +26691,22 @@ } }, "body-parser": { - "version": "1.20.3", + "version": "1.20.4", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz", + "integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==", "requires": { - "bytes": "3.1.2", + "bytes": "~3.1.2", "content-type": "~1.0.5", "debug": "2.6.9", "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.13.0", - "raw-body": "2.5.2", + "destroy": "~1.2.0", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "on-finished": "~2.4.1", + "qs": "~6.14.0", + "raw-body": "~2.5.3", "type-is": "~1.6.18", - "unpipe": "1.0.0" + "unpipe": "~1.0.0" }, "dependencies": { "debug": { @@ -26653,8 +26715,25 @@ "ms": "2.0.0" } }, + "http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "requires": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + } + }, "ms": { "version": "2.0.0" + }, + "statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==" } } }, @@ -26767,7 +26846,9 @@ } }, "bytes": { - "version": "3.1.2" + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==" }, "call-bind": { "version": "1.0.8", @@ -28967,36 +29048,38 @@ } }, "express": { - "version": "4.21.2", + "version": "4.22.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.22.1.tgz", + "integrity": "sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==", "requires": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.3", - "content-disposition": "0.5.4", + "body-parser": "~1.20.3", + "content-disposition": "~0.5.4", "content-type": "~1.0.4", - "cookie": "0.7.1", - "cookie-signature": "1.0.6", + "cookie": "~0.7.1", + "cookie-signature": "~1.0.6", "debug": "2.6.9", "depd": "2.0.0", "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.3.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", + "finalhandler": "~1.3.1", + "fresh": "~0.5.2", + "http-errors": "~2.0.0", "merge-descriptors": "1.0.3", "methods": "~1.1.2", - "on-finished": "2.4.1", + "on-finished": "~2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.12", + "path-to-regexp": "~0.1.12", "proxy-addr": "~2.0.7", - "qs": "6.13.0", + "qs": "~6.14.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", "send": "0.19.0", - "serve-static": "1.16.2", + "serve-static": "~1.16.2", "setprototypeof": "1.2.0", - "statuses": "2.0.1", + "statuses": "~2.0.1", "type-is": "~1.6.18", "utils-merge": "1.0.1", "vary": "~1.1.2" @@ -30403,6 +30486,8 @@ }, "iconv-lite": { "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "requires": { "safer-buffer": ">= 2.1.2 < 3" } @@ -33290,9 +33375,11 @@ "version": "1.2.0" }, "qs": { - "version": "6.13.0", + "version": "6.14.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz", + "integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==", "requires": { - "side-channel": "^1.0.6" + "side-channel": "^1.1.0" } }, "query-selector-shadow-dom": { @@ -33318,12 +33405,33 @@ "version": "1.2.1" }, "raw-body": { - "version": "2.5.2", + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz", + "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==", "requires": { - "bytes": "3.1.2", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" + "bytes": "~3.1.2", + "http-errors": "~2.0.1", + "iconv-lite": "~0.4.24", + "unpipe": "~1.0.0" + }, + "dependencies": { + "http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", + "requires": { + "depd": "~2.0.0", + "inherits": "~2.0.4", + "setprototypeof": "~1.2.0", + "statuses": "~2.0.2", + "toidentifier": "~1.0.1" + } + }, + "statuses": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", + "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==" + } } }, "react-is": { From c69a84040252bbd97ea6a5e49b1c565e55c5d440 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Jan 2026 10:35:54 -0500 Subject: [PATCH 096/248] Bump actions/upload-artifact from 4 to 6 (#14306) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 6. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/jscpd.yml | 4 ++-- .github/workflows/run-tests.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jscpd.yml b/.github/workflows/jscpd.yml index 39e54bebcf0..98cd0158720 100644 --- a/.github/workflows/jscpd.yml +++ b/.github/workflows/jscpd.yml @@ -54,7 +54,7 @@ jobs: - name: Upload unfiltered jscpd report if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: unfiltered-jscpd-report path: ./jscpd-report.json @@ -87,7 +87,7 @@ jobs: - name: Upload filtered jscpd report if: env.filtered_report_exists == 'true' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: filtered-jscpd-report path: ./filtered-jscpd-report.json diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 74105f7a921..4829b0ac912 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -201,7 +201,7 @@ jobs: - name: 'Save coverage result' if: ${{ steps.coverage.outputs.coverage }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: coverage-partial-${{inputs.test-cmd}}-${{ matrix.chunk-no }} path: ./build/coverage From ed7808aa3b7406408f743c76042737a320e9d431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Szyd=C5=82o?= Date: Tue, 13 Jan 2026 17:01:38 +0100 Subject: [PATCH 097/248] Add DAS Bid Adapter and refactor ringieraxelspringerBidAdapter use DAS Bid Adapter code: (#14106) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * DAS Bid Adapter: rename from ringieraxelspringerBidAdapter - Rename ringieraxelspringerBidAdapter to dasBidAdapter - Update module code from 'ringieraxelspringer' to 'das' - Add raspUtils library dependency for native response parsing - Update documentation and test files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude * doc * renamed raspUtils -> dasUtils * update * Update modules/dasBidAdapter.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * removed polish comments * Add backward-compatibility shim for ringieraxelspringer bidder - Add 'ringieraxelspringer' as alias in dasBidAdapter.js - Create ringieraxelspringerBidAdapter.js shim file that re-exports from dasBidAdapter - Add documentation noting deprecation (will be removed in Prebid 11) - Add test for backward-compatibility shim 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 * Sync dasBidAdapter with dreamlab-master and add backward-compatibility alias - Sync code and tests with dreamlab-master branch - Add 'ringieraxelspringer' alias for backward compatibility - Simplify boolean cast (!(!!x) -> !x) for linter compliance 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --------- Co-authored-by: Claude Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- modules/dasBidAdapter.js | 373 ++++++++++ modules/dasBidAdapter.md | 52 ++ modules/ringieraxelspringerBidAdapter.js | 406 +---------- modules/ringieraxelspringerBidAdapter.md | 52 +- test/spec/modules/dasBidAdapter_spec.js | 507 +++++++++++++ .../ringieraxelspringerBidAdapter_spec.js | 676 +----------------- 6 files changed, 947 insertions(+), 1119 deletions(-) create mode 100644 modules/dasBidAdapter.js create mode 100644 modules/dasBidAdapter.md create mode 100644 test/spec/modules/dasBidAdapter_spec.js diff --git a/modules/dasBidAdapter.js b/modules/dasBidAdapter.js new file mode 100644 index 00000000000..5d85644531f --- /dev/null +++ b/modules/dasBidAdapter.js @@ -0,0 +1,373 @@ +import { getAllOrtbKeywords } from '../libraries/keywords/keywords.js'; +import { getAdUnitSizes } from '../libraries/sizeUtils/sizeUtils.js'; +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER, NATIVE } from '../src/mediaTypes.js'; +import { deepAccess, safeJSONParse } from '../src/utils.js'; + +const BIDDER_CODE = 'das'; +const GDE_SCRIPT_URL = 'https://ocdn.eu/adp/static/embedgde/latest/bundle.min.js'; +const GDE_PARAM_PREFIX = 'gde_'; +const REQUIRED_GDE_PARAMS = [ + 'gde_subdomena', + 'gde_id', + 'gde_stparam', + 'gde_fastid', + 'gde_inscreen' +]; + +function parseNativeResponse(ad) { + if (!(ad.data?.fields && ad.data?.meta)) { + return false; + } + + const { click, Thirdpartyimpressiontracker, Thirdpartyimpressiontracker2, thirdPartyClickTracker2, imp, impression, impression1, impressionJs1, image, Image, title, leadtext, url, Calltoaction, Body, Headline, Thirdpartyclicktracker, adInfo, partner_logo: partnerLogo } = ad.data.fields; + + const { dsaurl, height, width, adclick } = ad.data.meta; + const emsLink = ad.ems_link; + const link = adclick + (url || click); + const nativeResponse = { + sendTargetingKeys: false, + title: title || Headline || '', + image: { + url: image || Image || '', + width, + height + }, + icon: { + url: partnerLogo || '', + width, + height + }, + clickUrl: link, + cta: Calltoaction || '', + body: leadtext || Body || '', + body2: adInfo || '', + sponsoredBy: deepAccess(ad, 'data.meta.advertiser_name', null) || '', + }; + + nativeResponse.impressionTrackers = [emsLink, imp, impression, impression1, Thirdpartyimpressiontracker, Thirdpartyimpressiontracker2].filter(Boolean); + nativeResponse.javascriptTrackers = [impressionJs1, getGdeScriptUrl(ad.data.fields)].map(url => url ? `` : null).filter(Boolean); + nativeResponse.clickTrackers = [Thirdpartyclicktracker, thirdPartyClickTracker2].filter(Boolean); + + if (dsaurl) { + nativeResponse.privacyLink = dsaurl; + } + + return nativeResponse +} + +function getGdeScriptUrl(adDataFields) { + if (REQUIRED_GDE_PARAMS.every(param => adDataFields[param])) { + const params = new URLSearchParams(); + Object.entries(adDataFields) + .filter(([key]) => key.startsWith(GDE_PARAM_PREFIX)) + .forEach(([key, value]) => params.append(key, value)); + + return `${GDE_SCRIPT_URL}?${params.toString()}`; + } + return null; +} + +function getEndpoint(network) { + return `https://csr.onet.pl/${encodeURIComponent(network)}/bid`; +} + +function parseParams(params, bidderRequest) { + const customParams = {}; + const keyValues = {}; + + if (params.adbeta) { + customParams.adbeta = params.adbeta; + } + + if (params.site) { + customParams.site = params.site; + } + + if (params.area) { + customParams.area = params.area; + } + + if (params.network) { + customParams.network = params.network; + } + + // Custom parameters + if (params.customParams && typeof params.customParams === 'object') { + Object.assign(customParams, params.customParams); + } + + const pageContext = params.pageContext; + if (pageContext) { + // Document URL override + if (pageContext.du) { + customParams.du = pageContext.du; + } + + // Referrer override + if (pageContext.dr) { + customParams.dr = pageContext.dr; + } + + // Document virtual address + if (pageContext.dv) { + customParams.DV = pageContext.dv; + } + + // Keywords + const keywords = getAllOrtbKeywords( + bidderRequest?.ortb2, + pageContext.keyWords, + ); + if (keywords.length > 0) { + customParams.kwrd = keywords.join('+'); + } + + // Local capping + if (pageContext.capping) { + customParams.local_capping = pageContext.capping; + } + + // Key values + if (pageContext.keyValues && typeof pageContext.keyValues === 'object') { + Object.entries(pageContext.keyValues).forEach(([key, value]) => { + keyValues[`kv${key}`] = value; + }); + } + } + + const du = customParams.du || deepAccess(bidderRequest, 'refererInfo.page'); + const dr = customParams.dr || deepAccess(bidderRequest, 'refererInfo.ref'); + + if (du) customParams.du = du; + if (dr) customParams.dr = dr; + + const dsaRequired = deepAccess(bidderRequest, 'ortb2.regs.ext.dsa.required'); + if (dsaRequired !== undefined) { + customParams.dsainfo = dsaRequired; + } + + return { + customParams, + keyValues, + }; +} + +function buildUserIds(customParams) { + const userIds = {}; + if (customParams.lu) { + userIds.lu = customParams.lu; + } + if (customParams.aid) { + userIds.aid = customParams.aid; + } + return userIds; +} + +function getNpaFromPubConsent(pubConsent) { + const params = new URLSearchParams(pubConsent); + return params.get('npa') === '1'; +} + +function buildOpenRTBRequest(bidRequests, bidderRequest) { + const { customParams, keyValues } = parseParams( + bidRequests[0].params, + bidderRequest, + ); + const imp = bidRequests.map((bid) => { + const sizes = getAdUnitSizes(bid); + const imp = { + id: bid.bidId, + tagid: bid.params.slot, + secure: 1, + }; + if (bid.params.slotSequence) { + imp.ext = { + pos: String(bid.params.slotSequence) + } + } + + if (bid.mediaTypes?.banner) { + imp.banner = { + format: sizes.map((size) => ({ + w: size[0], + h: size[1], + })), + }; + } + if (bid.mediaTypes?.native) { + imp.native = { + request: '{}', + ver: '1.2', + }; + } + + return imp; + }); + + const request = { + id: bidderRequest.bidderRequestId, + imp, + site: { + ...bidderRequest.ortb2?.site, + id: customParams.site, + page: customParams.du, + ref: customParams.dr, + ext: { + ...bidderRequest.ortb2?.site?.ext, + area: customParams.area, + kwrd: customParams.kwrd, + dv: customParams.DV + }, + }, + user: { + ext: { + ids: buildUserIds(customParams), + }, + }, + ext: { + network: customParams.network, + keyvalues: keyValues, + }, + at: 1, + tmax: bidderRequest.timeout + }; + + if (customParams.adbeta) { + request.ext.adbeta = customParams.adbeta; + } + + if (bidderRequest.device) { + request.device = bidderRequest.device; + } + + if (bidderRequest.gdprConsent) { + request.user = { + ext: { + npa: getNpaFromPubConsent(customParams.pubconsent), + localcapping: customParams.local_capping, + localadpproduts: customParams.adp_products, + ...request.user.ext, + }, + }; + request.regs = { + gpp: bidderRequest.gdprConsent.consentString, + gdpr: bidderRequest.gdprConsent.gdprApplies ? 1 : 0, + ext: { + dsa: customParams.dsainfo, + }, + } + } + + return request; +} + +function prepareNativeMarkup(bid) { + const parsedNativeMarkup = safeJSONParse(bid.adm) + const ad = { + data: parsedNativeMarkup || {}, + ems_link: bid.ext?.ems_link || '', + }; + const nativeResponse = parseNativeResponse(ad) || {}; + return nativeResponse; +} + +function interpretResponse(serverResponse) { + const bidResponses = []; + const response = serverResponse.body; + + if (!response || !response.seatbid || !response.seatbid.length) { + return bidResponses; + } + + response.seatbid.forEach((seatbid) => { + seatbid.bid.forEach((bid) => { + const bidResponse = { + requestId: bid.impid, + cpm: bid.price, + currency: response.cur || 'USD', + width: bid.w, + height: bid.h, + creativeId: bid.crid || bid.id, + netRevenue: true, + dealId: bid.dealid || null, + actgMatch: bid.ext?.actgMatch || 0, + ttl: 300, + meta: { + advertiserDomains: bid.adomain || [], + }, + }; + + if (bid.mtype === 1) { + bidResponse.mediaType = BANNER; + bidResponse.ad = bid.adm; + } else if (bid.mtype === 4) { + bidResponse.mediaType = NATIVE; + bidResponse.native = prepareNativeMarkup(bid); + delete bidResponse.ad; + } + bidResponses.push(bidResponse); + }); + }); + + return bidResponses; +} + +export const spec = { + code: BIDDER_CODE, + aliases: ['ringieraxelspringer'], + supportedMediaTypes: [BANNER, NATIVE], + + isBidRequestValid: function (bid) { + if (!bid || !bid.params) { + return false; + } + return !!( + bid.params?.network && + bid.params?.site && + bid.params?.area && + bid.params?.slot + ); + }, + + buildRequests: function (validBidRequests, bidderRequest) { + const data = buildOpenRTBRequest(validBidRequests, bidderRequest); + const jsonData = JSON.stringify(data); + const baseUrl = getEndpoint(data.ext.network); + const fullUrl = `${baseUrl}?data=${encodeURIComponent(jsonData)}`; + + // adbeta needs credentials omitted to avoid CORS issues, especially in Firefox + const useCredentials = !data.ext?.adbeta; + + // Switch to POST if URL exceeds 8k characters + if (fullUrl.length > 8192) { + return { + method: 'POST', + url: baseUrl, + data: jsonData, + options: { + withCredentials: useCredentials, + crossOrigin: true, + customHeaders: { + 'Content-Type': 'text/plain' + } + }, + }; + } + + return { + method: 'GET', + url: fullUrl, + options: { + withCredentials: useCredentials, + crossOrigin: true, + }, + }; + }, + + interpretResponse: function (serverResponse) { + return interpretResponse(serverResponse); + }, +}; + +registerBidder(spec); diff --git a/modules/dasBidAdapter.md b/modules/dasBidAdapter.md new file mode 100644 index 00000000000..2b28415df9b --- /dev/null +++ b/modules/dasBidAdapter.md @@ -0,0 +1,52 @@ +# Overview + +``` +Module Name: DAS Bidder Adapter +Module Type: Bidder Adapter +Maintainer: support@ringpublishing.com +``` + +# Description + +Module that connects to DAS demand sources. +Only banner and native format is supported. + +# Test Parameters +```js +var adUnits = [{ + code: 'test-div-ad', + mediaTypes: { + banner: { + sizes: [[300, 250], [300, 600]] + } + }, + bids: [{ + bidder: 'das', + params: { + network: '4178463', + site: 'test', + area: 'areatest', + slot: 'slot' + } + }] +}]; +``` + +# Parameters + +| Name | Scope | Type | Description | Example | +|------------------------------|----------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------| +| network | required | String | Specific identifier provided by DAS | `"4178463"` | +| site | required | String | Specific identifier name (case-insensitive) that is associated with this ad unit. Represents the website/domain in the ad unit hierarchy | `"example_com"` | +| area | required | String | Ad unit category name; only case-insensitive alphanumeric with underscores and hyphens are allowed. Represents the content section or category | `"sport"` | +| slot | required | String | Ad unit placement name (case-insensitive) | `"slot"` | +| slotSequence | optional | Number | Ad unit sequence position provided by DAS | `1` | +| pageContext | optional | Object | Web page context data | `{}` | +| pageContext.dr | optional | String | Document referrer URL address | `"https://example.com/"` | +| pageContext.du | optional | String | Document URL address | `"https://example.com/sport/football/article.html?id=932016a5-02fc-4d5c-b643-fafc2f270f06"` | +| pageContext.dv | optional | String | Document virtual address as slash-separated path that may consist of any number of parts (case-insensitive alphanumeric with underscores and hyphens); first part should be the same as `site` value and second as `area` value; next parts may reflect website navigation | `"example_com/sport/football"` | +| pageContext.keyWords | optional | String[] | List of keywords associated with this ad unit; only case-insensitive alphanumeric with underscores and hyphens are allowed | `["euro", "lewandowski"]` | +| pageContext.keyValues | optional | Object | Key-values associated with this ad unit (case-insensitive); following characters are not allowed in the values: `" ' = ! + # * ~ ; ^ ( ) < > [ ] & @` | `{}` | +| pageContext.keyValues.ci | optional | String | Content unique identifier | `"932016a5-02fc-4d5c-b643-fafc2f270f06"` | +| pageContext.keyValues.adunit | optional | String | Ad unit name | `"example_com/sport"` | +| customParams | optional | Object | Custom request params | `{}` | diff --git a/modules/ringieraxelspringerBidAdapter.js b/modules/ringieraxelspringerBidAdapter.js index 10cccecccf4..c5b7e000f87 100644 --- a/modules/ringieraxelspringerBidAdapter.js +++ b/modules/ringieraxelspringerBidAdapter.js @@ -1,402 +1,8 @@ -import { registerBidder } from '../src/adapters/bidderFactory.js'; -import { BANNER, NATIVE } from '../src/mediaTypes.js'; -import { - isEmpty, - parseSizesInput, - deepAccess -} from '../src/utils.js'; -import { getAllOrtbKeywords } from '../libraries/keywords/keywords.js'; -import { getAdUnitSizes } from '../libraries/sizeUtils/sizeUtils.js'; -import { BO_CSR_ONET } from '../libraries/paapiTools/buyerOrigins.js'; - -const BIDDER_CODE = 'ringieraxelspringer'; -const VERSION = '1.0'; - -const getEndpoint = (network) => { - return `https://csr.onet.pl/${encodeURIComponent(network)}/csr-006/csr.json?nid=${encodeURIComponent(network)}&`; -}; - -function parseParams(params, bidderRequest) { - const newParams = {}; - if (params.customParams && typeof params.customParams === 'object') { - for (const param in params.customParams) { - if (params.customParams.hasOwnProperty(param)) { - newParams[param] = params.customParams[param]; - } - } - } - const du = deepAccess(bidderRequest, 'refererInfo.page'); - const dr = deepAccess(bidderRequest, 'refererInfo.ref'); - if (du) { - newParams.du = du; - } - if (dr) { - newParams.dr = dr; - } - const pageContext = params.pageContext; - if (!pageContext) { - return newParams; - } - if (pageContext.du) { - newParams.du = pageContext.du; - } - if (pageContext.dr) { - newParams.dr = pageContext.dr; - } - if (pageContext.dv) { - newParams.DV = pageContext.dv; - } - const keywords = getAllOrtbKeywords(bidderRequest?.ortb2, pageContext.keyWords) - if (keywords.length > 0) { - newParams.kwrd = keywords.join('+') - } - if (pageContext.capping) { - newParams.local_capping = pageContext.capping; - } - if (pageContext.keyValues && typeof pageContext.keyValues === 'object') { - for (const param in pageContext.keyValues) { - if (pageContext.keyValues.hasOwnProperty(param)) { - const kvName = 'kv' + param; - newParams[kvName] = pageContext.keyValues[param]; - } - } - } - if (bidderRequest?.ortb2?.regs?.ext?.dsa?.required !== undefined) { - newParams.dsainfo = bidderRequest?.ortb2?.regs?.ext?.dsa?.required; - } - return newParams; -} - /** - * @param url string - * @param type number // 1 - img, 2 - js - * @returns an object { event: 1, method: 1 or 2, url: 'string' } + * Backward-compatibility shim for ringieraxelspringer bidder. + * This bidder has been renamed to 'das'. + * + * This file will be removed in Prebid 11. + * See dasBidAdapter.js for implementation. */ -function prepareItemEventtrackers(url, type) { - return { - event: 1, - method: type, - url: url - }; -} - -function prepareEventtrackers(emsLink, imp, impression, impression1, impressionJs1) { - const eventtrackers = [prepareItemEventtrackers(emsLink, 1)]; - - if (imp) { - eventtrackers.push(prepareItemEventtrackers(imp, 1)); - } - - if (impression) { - eventtrackers.push(prepareItemEventtrackers(impression, 1)); - } - - if (impression1) { - eventtrackers.push(prepareItemEventtrackers(impression1, 1)); - } - - if (impressionJs1) { - eventtrackers.push(prepareItemEventtrackers(impressionJs1, 2)); - } - - return eventtrackers; -} - -function parseOrtbResponse(ad) { - if (!(ad.data?.fields && ad.data?.meta)) { - return false; - } - - const { image, Image, title, url, Headline, Thirdpartyclicktracker, thirdPartyClickTracker2, imp, impression, impression1, impressionJs1, partner_logo: partnerLogo, adInfo, body } = ad.data.fields; - const { dsaurl, height, width, adclick } = ad.data.meta; - const emsLink = ad.ems_link; - const link = adclick + (url || Thirdpartyclicktracker); - const eventtrackers = prepareEventtrackers(emsLink, imp, impression, impression1, impressionJs1); - const clicktrackers = thirdPartyClickTracker2 ? [thirdPartyClickTracker2] : []; - - const ortb = { - ver: '1.2', - assets: [ - { - id: 0, - data: { - value: body || '', - type: 2 - }, - }, - { - id: 1, - data: { - value: adInfo || '', - // Body2 type - type: 10 - }, - }, - { - id: 3, - img: { - type: 1, - url: partnerLogo || '', - w: width, - h: height - } - }, - { - id: 4, - img: { - type: 3, - url: image || Image || '', - w: width, - h: height - } - }, - { - id: 5, - data: { - value: deepAccess(ad, 'data.meta.advertiser_name', null), - type: 1 - } - }, - { - id: 6, - title: { - text: title || Headline || '' - } - }, - ], - link: { - url: link, - clicktrackers - }, - eventtrackers - }; - - if (dsaurl) { - ortb.privacy = dsaurl - } - - return ortb -} - -function parseNativeResponse(ad) { - if (!(ad.data?.fields && ad.data?.meta)) { - return false; - } - - const { image, Image, title, leadtext, url, Calltoaction, Body, Headline, Thirdpartyclicktracker, adInfo, partner_logo: partnerLogo } = ad.data.fields; - const { dsaurl, height, width, adclick } = ad.data.meta; - const link = adclick + (url || Thirdpartyclicktracker); - const nativeResponse = { - title: title || Headline || '', - image: { - url: image || Image || '', - width, - height - }, - icon: { - url: partnerLogo || '', - width, - height - }, - clickUrl: link, - cta: Calltoaction || '', - body: leadtext || Body || '', - body2: adInfo || '', - sponsoredBy: deepAccess(ad, 'data.meta.advertiser_name', null) || '', - ortb: parseOrtbResponse(ad) - }; - - if (dsaurl) { - nativeResponse.privacyLink = dsaurl; - } - - return nativeResponse -} - -const buildBid = (ad, mediaType) => { - if (ad.type === 'empty' || mediaType === undefined) { - return null; - } - - const data = { - requestId: ad.id, - cpm: ad.bid_rate ? ad.bid_rate.toFixed(2) : 0, - ttl: 300, - creativeId: ad.adid ? parseInt(ad.adid.split(',')[2], 10) : 0, - netRevenue: true, - currency: ad.currency || 'USD', - dealId: ad.prebid_deal || null, - actgMatch: ad.actg_match || 0, - meta: { mediaType: BANNER }, - mediaType: BANNER, - ad: ad.html || null, - width: ad.width || 0, - height: ad.height || 0 - } - - if (mediaType === 'native') { - data.meta = { mediaType: NATIVE }; - data.mediaType = NATIVE; - data.native = parseNativeResponse(ad) || {}; - - delete data.ad; - } - - return data; -}; - -const getContextParams = (bidRequests, bidderRequest) => { - const bid = bidRequests[0]; - const { params } = bid; - const requestParams = { - site: params.site, - area: params.area, - cre_format: 'html', - systems: 'das', - kvprver: VERSION, - ems_url: 1, - bid_rate: 1, - ...parseParams(params, bidderRequest) - }; - return Object.keys(requestParams).map((key) => encodeURIComponent(key) + '=' + encodeURIComponent(requestParams[key])).join('&'); -}; - -const getSlots = (bidRequests) => { - let queryString = ''; - const batchSize = bidRequests.length; - for (let i = 0; i < batchSize; i++) { - const adunit = bidRequests[i]; - const slotSequence = deepAccess(adunit, 'params.slotSequence'); - const creFormat = getAdUnitCreFormat(adunit); - const sizes = creFormat === 'native' ? 'fluid' : parseSizesInput(getAdUnitSizes(adunit)).join(','); - - queryString += `&slot${i}=${encodeURIComponent(adunit.params.slot)}&id${i}=${encodeURIComponent(adunit.bidId)}&composition${i}=CHILD`; - - if (creFormat === 'native') { - queryString += `&cre_format${i}=native`; - } - - queryString += `&kvhb_format${i}=${creFormat === 'native' ? 'native' : 'banner'}`; - - if (sizes) { - queryString += `&iusizes${i}=${encodeURIComponent(sizes)}`; - } - - if (slotSequence !== undefined && slotSequence !== null) { - queryString += `&pos${i}=${encodeURIComponent(slotSequence)}`; - } - } - - return queryString; -}; - -const getGdprParams = (bidderRequest) => { - const gdprApplies = deepAccess(bidderRequest, 'gdprConsent.gdprApplies'); - const consentString = deepAccess(bidderRequest, 'gdprConsent.consentString'); - let queryString = ''; - if (gdprApplies !== undefined) { - queryString += `&gdpr_applies=${encodeURIComponent(gdprApplies)}`; - } - if (consentString !== undefined) { - queryString += `&euconsent=${encodeURIComponent(consentString)}`; - } - return queryString; -}; - -const parseAuctionConfigs = (serverResponse, bidRequest) => { - if (isEmpty(bidRequest)) { - return null; - } - const auctionConfigs = []; - const gctx = serverResponse && serverResponse.body?.gctx; - - bidRequest.bidIds.filter(bid => bid.fledgeEnabled).forEach((bid) => { - auctionConfigs.push({ - 'bidId': bid.bidId, - 'config': { - 'seller': BO_CSR_ONET, - 'decisionLogicUrl': `${BO_CSR_ONET}/${encodeURIComponent(bid.params.network)}/v1/protected-audience-api/decision-logic.js`, - 'interestGroupBuyers': [ BO_CSR_ONET ], - 'auctionSignals': { - 'params': bid.params, - 'sizes': bid.sizes, - 'gctx': gctx - } - } - }); - }); - - if (auctionConfigs.length === 0) { - return null; - } else { - return auctionConfigs; - } -} - -const getAdUnitCreFormat = (adUnit) => { - if (!adUnit) { - return; - } - - let creFormat = 'html'; - const mediaTypes = Object.keys(adUnit.mediaTypes); - - if (mediaTypes && mediaTypes.length === 1 && mediaTypes.includes('native')) { - creFormat = 'native'; - } - - return creFormat; -} - -export const spec = { - code: BIDDER_CODE, - supportedMediaTypes: [BANNER, NATIVE], - - isBidRequestValid: function (bidRequest) { - if (!bidRequest || !bidRequest.params || typeof bidRequest.params !== 'object') { - return; - } - const { params } = bidRequest; - return Boolean(params.network && params.site && params.area && params.slot); - }, - - buildRequests: function (bidRequests, bidderRequest) { - const slotsQuery = getSlots(bidRequests); - const contextQuery = getContextParams(bidRequests, bidderRequest); - const gdprQuery = getGdprParams(bidderRequest); - const fledgeEligible = Boolean(bidderRequest?.paapi?.enabled); - const network = bidRequests[0].params.network; - const bidIds = bidRequests.map((bid) => ({ - slot: bid.params.slot, - bidId: bid.bidId, - sizes: getAdUnitSizes(bid), - params: bid.params, - fledgeEnabled: fledgeEligible, - mediaType: (bid.mediaTypes && bid.mediaTypes.banner) ? 'display' : NATIVE - })); - - return [{ - method: 'GET', - url: getEndpoint(network) + contextQuery + slotsQuery + gdprQuery, - bidIds: bidIds - }]; - }, - - interpretResponse: function (serverResponse, bidRequest) { - const response = serverResponse.body; - const fledgeAuctionConfigs = parseAuctionConfigs(serverResponse, bidRequest); - const bids = (!response || !response.ads || response.ads.length === 0) ? [] : response.ads.map((ad, index) => buildBid( - ad, - bidRequest?.bidIds?.[index]?.mediaType || 'banner' - )).filter((bid) => !isEmpty(bid)); - - if (fledgeAuctionConfigs) { - // Return a tuple of bids and auctionConfigs. It is possible that bids could be null. - return {bids, paapi: fledgeAuctionConfigs}; - } else { - return bids; - } - } -}; - -registerBidder(spec); +export { spec } from './dasBidAdapter.js'; // eslint-disable-line prebid/validate-imports diff --git a/modules/ringieraxelspringerBidAdapter.md b/modules/ringieraxelspringerBidAdapter.md index b3a716f9f56..4527d9f8c6d 100644 --- a/modules/ringieraxelspringerBidAdapter.md +++ b/modules/ringieraxelspringerBidAdapter.md @@ -1,52 +1,8 @@ # Overview -``` -Module Name: Ringier Axel Springer Bidder Adapter -Module Type: Bidder Adapter -Maintainer: support@ringpublishing.com -``` +The `ringieraxelspringer` bidder has been renamed to `das`. +Please use the `das` bidder code instead. -# Description +See [dasBidAdapter.md](./dasBidAdapter.md) for documentation. -Module that connects to Ringer Axel Springer demand sources. -Only banner and native format is supported. - -# Test Parameters -```js -var adUnits = [{ - code: 'test-div-ad', - mediaTypes: { - banner: { - sizes: [[300, 250], [300, 600]] - } - }, - bids: [{ - bidder: 'ringieraxelspringer', - params: { - network: '4178463', - site: 'test', - area: 'areatest', - slot: 'slot' - } - }] -}]; -``` - -# Parameters - -| Name | Scope | Type | Description | Example | -|------------------------------|----------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------| -| network | required | String | Specific identifier provided by Ringier Axel Springer | `"4178463"` | -| site | required | String | Specific identifier name (case-insensitive) that is associated with this ad unit and provided by Ringier Axel Springer | `"example_com"` | -| area | required | String | Ad unit category name; only case-insensitive alphanumeric with underscores and hyphens are allowed | `"sport"` | -| slot | required | String | Ad unit placement name (case-insensitive) provided by Ringier Axel Springer | `"slot"` | -| slotSequence | optional | Number | Ad unit sequence position provided by Ringier Axel Springer | `1` | -| pageContext | optional | Object | Web page context data | `{}` | -| pageContext.dr | optional | String | Document referrer URL address | `"https://example.com/"` | -| pageContext.du | optional | String | Document URL address | `"https://example.com/sport/football/article.html?id=932016a5-02fc-4d5c-b643-fafc2f270f06"` | -| pageContext.dv | optional | String | Document virtual address as slash-separated path that may consist of any number of parts (case-insensitive alphanumeric with underscores and hyphens); first part should be the same as `site` value and second as `area` value; next parts may reflect website navigation | `"example_com/sport/football"` | -| pageContext.keyWords | optional | String[] | List of keywords associated with this ad unit; only case-insensitive alphanumeric with underscores and hyphens are allowed | `["euro", "lewandowski"]` | -| pageContext.keyValues | optional | Object | Key-values associated with this ad unit (case-insensitive); following characters are not allowed in the values: `" ' = ! + # * ~ ; ^ ( ) < > [ ] & @` | `{}` | -| pageContext.keyValues.ci | optional | String | Content unique identifier | `"932016a5-02fc-4d5c-b643-fafc2f270f06"` | -| pageContext.keyValues.adunit | optional | String | Ad unit name | `"example_com/sport"` | -| customParams | optional | Object | Custom request params | `{}` | +This adapter will be removed in Prebid 11. diff --git a/test/spec/modules/dasBidAdapter_spec.js b/test/spec/modules/dasBidAdapter_spec.js new file mode 100644 index 00000000000..edb7a85ee0f --- /dev/null +++ b/test/spec/modules/dasBidAdapter_spec.js @@ -0,0 +1,507 @@ +import { expect } from 'chai'; +import { spec } from 'modules/dasBidAdapter.js'; +import { newBidder } from 'src/adapters/bidderFactory.js'; + +describe('dasBidAdapter', function () { + const adapter = newBidder(spec); + + describe('inherited functions', function () { + it('exists and is a function', function () { + expect(adapter.callBids).to.exist.and.to.be.a('function'); + }); + }); + + describe('isBidRequestValid', function () { + const validBid = { + params: { + site: 'site1', + area: 'area1', + slot: 'slot1', + network: 'network1' + } + }; + + it('should return true when required params are present', function () { + expect(spec.isBidRequestValid(validBid)).to.be.true; + }); + + it('should return false when required params are missing', function () { + expect(spec.isBidRequestValid({})).to.be.false; + expect(spec.isBidRequestValid({ params: {} })).to.be.false; + expect(spec.isBidRequestValid({ params: { site: 'site1' } })).to.be.false; + expect(spec.isBidRequestValid({ params: { area: 'area1' } })).to.be.false; + expect(spec.isBidRequestValid({ params: { slot: 'slot1' } })).to.be.false; + }); + + it('should return true with additional optional params', function () { + const bidWithOptional = { + params: { + site: 'site1', + area: 'area1', + slot: 'slot1', + network: 'network1', + customParams: { + param1: 'value1' + }, + pageContext: { + du: 'https://example.com', + dr: 'https://referrer.com', + dv: '1.0', + keyWords: ['key1', 'key2'], + capping: 'cap1', + keyValues: { + key1: 'value1' + } + } + } + }; + expect(spec.isBidRequestValid(bidWithOptional)).to.be.true; + }); + + it('should return false when params is undefined', function () { + expect(spec.isBidRequestValid()).to.be.false; + }); + + it('should return false when required params are empty strings', function () { + const bidWithEmptyStrings = { + params: { + site: '', + area: '', + slot: '' + } + }; + expect(spec.isBidRequestValid(bidWithEmptyStrings)).to.be.false; + }); + + it('should return false when required params are non-string values', function () { + const bidWithNonStringValues = { + params: { + site: 123, + area: true, + slot: {} + } + }; + expect(spec.isBidRequestValid(bidWithNonStringValues)).to.be.false; + }); + + it('should return false when params is null', function () { + const bidWithNullParams = { + params: null + }; + expect(spec.isBidRequestValid(bidWithNullParams)).to.be.false; + }); + + it('should return true with minimal valid params', function () { + const minimalBid = { + params: { + site: 'site1', + area: 'area1', + slot: 'slot1', + network: 'network1' + } + }; + expect(spec.isBidRequestValid(minimalBid)).to.be.true; + }); + + it('should return false with partial required params', function () { + const partialBids = [ + { params: { site: 'site1', area: 'area1' } }, + { params: { site: 'site1', slot: 'slot1' } }, + { params: { area: 'area1', slot: 'slot1' } } + ]; + + partialBids.forEach(bid => { + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + }); + }); + + describe('buildRequests', function () { + const bidRequests = [{ + bidId: 'bid123', + params: { + site: 'site1', + area: 'area1', + slot: 'slot1', + network: 'network1', + pageContext: { + du: 'https://example.com', + dr: 'https://referrer.com', + dv: '1.0', + keyWords: ['key1', 'key2'], + capping: 'cap1', + keyValues: { key1: 'value1' } + } + }, + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + } + }]; + + const bidderRequest = { + bidderRequestId: 'reqId123', + timeout: 1000, + refererInfo: { + page: 'https://example.com', + ref: 'https://referrer.com' + }, + gdprConsent: { + consentString: 'consent123', + gdprApplies: true + }, + ortb2: { + site: {} + } + }; + + it('should return proper request object', function () { + const request = spec.buildRequests(bidRequests, bidderRequest); + + expect(request.method).to.equal('GET'); + expect(request.options.withCredentials).to.be.true; + expect(request.options.crossOrigin).to.be.true; + + expect(request.url).to.include('https://csr.onet.pl/network1/bid?data='); + const urlParts = request.url.split('?'); + expect(urlParts.length).to.equal(2); + + const params = new URLSearchParams(urlParts[1]); + expect(params.has('data')).to.be.true; + + const payload = JSON.parse(decodeURIComponent(params.get('data'))); + expect(payload.id).to.equal('reqId123'); + expect(payload.imp[0].id).to.equal('bid123'); + expect(payload.imp[0].tagid).to.equal('slot1'); + expect(payload.imp[0].banner.format[0]).to.deep.equal({ w: 300, h: 250 }); + }); + + it('should use GET method when URL is under 8192 characters', function () { + const request = spec.buildRequests(bidRequests, bidderRequest); + expect(request.method).to.equal('GET'); + expect(request.url).to.include('?data='); + expect(request.data).to.be.undefined; + }); + + it('should switch to POST method when URL exceeds 8192 characters', function () { + // Create a large bid request that will result in URL > 8k characters + const largeBidRequests = []; + for (let i = 0; i < 50; i++) { + largeBidRequests.push({ + bidId: `bid${i}`.repeat(20), // Make bid IDs longer + params: { + site: `site${i}`.repeat(50), + area: `area${i}`.repeat(50), + slot: `slot${i}`.repeat(50), + network: 'network1', + pageContext: { + du: `https://very-long-url-example-${i}.com`.repeat(10), + dr: `https://very-long-referrer-url-${i}.com`.repeat(10), + dv: `version-${i}`.repeat(20), + keyWords: Array(20).fill(`keyword${i}`), + capping: `cap${i}`.repeat(20), + keyValues: { + [`key${i}`]: `value${i}`.repeat(50) + } + }, + customParams: { + [`param${i}`]: `value${i}`.repeat(50) + } + }, + mediaTypes: { + banner: { + sizes: [[300, 250], [728, 90], [970, 250]] + } + } + }); + } + + const request = spec.buildRequests(largeBidRequests, bidderRequest); + + expect(request.method).to.equal('POST'); + expect(request.url).to.equal('https://csr.onet.pl/network1/bid'); + expect(request.data).to.be.a('string'); + + // Check if data is valid JSON (not URL-encoded form data) + const payload = JSON.parse(request.data); + expect(payload.id).to.equal('reqId123'); + expect(payload.imp).to.be.an('array'); + expect(request.options.customHeaders['Content-Type']).to.equal('text/plain'); + }); + + it('should create valid POST data format', function () { + // Create a request that will trigger POST + const largeBidRequests = Array(50).fill(0).map((_, i) => ({ + bidId: `bid${i}`.repeat(20), + params: { + site: `site${i}`.repeat(50), + area: `area${i}`.repeat(50), + slot: `slot${i}`.repeat(50), + network: 'network1', + pageContext: { + du: `https://very-long-url-example-${i}.com`.repeat(10), + dr: `https://very-long-referrer-url-${i}.com`.repeat(10), + keyWords: Array(10).fill(`keyword${i}`) + } + }, + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + } + })); + + const request = spec.buildRequests(largeBidRequests, bidderRequest); + + expect(request.method).to.equal('POST'); + + // Parse the POST data as JSON (not URL-encoded) + const payload = JSON.parse(request.data); + expect(payload.id).to.equal('reqId123'); + expect(payload.imp).to.be.an('array').with.length(50); + expect(payload.ext.network).to.equal('network1'); + }); + + it('should set withCredentials to false when adbeta flag is present', function () { + const bidRequestsWithAdbeta = [{ + bidId: 'bid123', + params: { + site: 'site1', + area: 'area1', + slot: 'slot1', + network: 'network1', + adbeta: 'l1021885!slot.nativestd', + pageContext: {} + }, + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + } + }]; + + const bidderRequestWithAdbeta = { + bidderRequestId: 'reqId123', + ortb2: {}, + adbeta: true + }; + + const request = spec.buildRequests(bidRequestsWithAdbeta, bidderRequestWithAdbeta); + + expect(request.options.withCredentials).to.be.false; + }); + + describe('interpretResponse', function () { + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: 'bid123', + price: 3.5, + w: 300, + h: 250, + adm: '', + crid: 'crid123', + mtype: 1, + adomain: ['advertiser.com'] + }] + }], + cur: 'USD' + } + }; + + it('should return proper bid response', function () { + const bidResponses = spec.interpretResponse(serverResponse); + + expect(bidResponses).to.be.an('array').with.lengthOf(1); + expect(bidResponses[0]).to.deep.include({ + requestId: 'bid123', + cpm: 3.5, + currency: 'USD', + width: 300, + height: 250, + ad: '', + creativeId: 'crid123', + netRevenue: true, + ttl: 300, + mediaType: 'banner' + }); + expect(bidResponses[0].meta.advertiserDomains).to.deep.equal(['advertiser.com']); + }); + + it('should return empty array when no valid responses', function () { + expect(spec.interpretResponse({ body: null })).to.be.an('array').that.is.empty; + expect(spec.interpretResponse({ body: {} })).to.be.an('array').that.is.empty; + expect(spec.interpretResponse({ body: { seatbid: [] } })).to.be.an('array').that.is.empty; + }); + + it('should return proper bid response for native', function () { + const nativeResponse = { + body: { + seatbid: [{ + bid: [{ + impid: 'bid123', + price: 3.5, + w: 1, + h: 1, + adm: JSON.stringify({ + fields: { + Body: 'Ruszyła sprzedaż mieszkań przy Metrze Dworzec Wileński', + Calltoaction: 'SPRAWDŹ', + Headline: 'Gotowe mieszkania w świetnej lokalizacji (test)', + Image: 'https://ocdn.eu/example.jpg', + Sponsorlabel: 'tak', + Thirdpartyclicktracker: '', + Thirdpartyimpressiontracker: '', + Thirdpartyimpressiontracker2: '', + borderColor: '#CECECE', + click: 'https://mieszkaniaprzymetrodworzec.pl', + responsive: 'nie' + }, + tplCode: '1746213/Native-In-Feed', + meta: { + inIFrame: false, + autoscale: 0, + width: '1', + height: '1', + adid: 'das,1778361,669261', + actioncount: 'https://csr.onet.pl/eclk/...', + slot: 'right2', + adclick: 'https://csr.onet.pl/clk/...', + container_wrapper: '
REKLAMA
', + prebid_native: true + } + }), + mtype: 4 + }] + }], + cur: 'USD' + } + }; + + const bidResponses = spec.interpretResponse(nativeResponse); + + expect(bidResponses).to.be.an('array').with.lengthOf(1); + expect(bidResponses[0]).to.deep.include({ + requestId: 'bid123', + cpm: 3.5, + currency: 'USD', + width: 1, + height: 1, + native: { + title: 'Gotowe mieszkania w świetnej lokalizacji (test)', + body: 'Ruszyła sprzedaż mieszkań przy Metrze Dworzec Wileński', + cta: 'SPRAWDŹ', + image: { + url: 'https://ocdn.eu/example.jpg', + width: '1', + height: '1' + }, + icon: { + url: '', + width: '1', + height: '1' + }, + clickUrl: 'https://csr.onet.pl/clk/...https://mieszkaniaprzymetrodworzec.pl', + body2: '', + sponsoredBy: '', + clickTrackers: [], + impressionTrackers: [], + javascriptTrackers: [], + sendTargetingKeys: false + }, + netRevenue: true, + ttl: 300, + mediaType: 'native' + }); + + expect(bidResponses[0]).to.not.have.property('ad'); + }); + }); + + it('should return empty object when adm in a native response is not JSON', function () { + const nativeResponse = { + body: { + seatbid: [{ + bid: [{ + impid: 'bad1', + price: 2.0, + w: 1, + h: 1, + adm: 'not-a-json-string', + mtype: 4 + }] + }], + cur: 'USD' + } + }; + + const bidResponses = spec.interpretResponse(nativeResponse); + expect(bidResponses[0].native).to.deep.equal({}); + }); + + it('should return empty object when adm in a native response is missing required fields/meta', function () { + const nativeResponse = { + body: { + seatbid: [{ + bid: [{ + impid: 'bad2', + price: 2.0, + w: 1, + h: 1, + adm: JSON.stringify({ fields: {} }), + mtype: 4 + }] + }], + cur: 'USD' + } + }; + + const bidResponses = spec.interpretResponse(nativeResponse); + expect(bidResponses[0].native).to.deep.equal({}); + }); + + it('should return empty object when adm in a native response is empty JSON object', function () { + const nativeResponse = { + body: { + seatbid: [{ + bid: [{ + impid: 'bad3', + price: 2.0, + w: 1, + h: 1, + adm: JSON.stringify({}), + mtype: 4 + }] + }], + cur: 'USD' + } + }; + + const bidResponses = spec.interpretResponse(nativeResponse); + expect(bidResponses[0].native).to.deep.equal({}); + }); + + it('should return empty object when adm in a native response is null or missing', function () { + const nativeResponse = { + body: { + seatbid: [{ + bid: [{ + impid: 'bad4', + price: 2.0, + w: 1, + h: 1, + adm: null, + mtype: 4 + }] + }], + cur: 'USD' + } + }; + + const bidResponses = spec.interpretResponse(nativeResponse); + expect(bidResponses[0].native).to.deep.equal({}); + }); + }); +}); diff --git a/test/spec/modules/ringieraxelspringerBidAdapter_spec.js b/test/spec/modules/ringieraxelspringerBidAdapter_spec.js index 08587e5174f..0318a6987c6 100644 --- a/test/spec/modules/ringieraxelspringerBidAdapter_spec.js +++ b/test/spec/modules/ringieraxelspringerBidAdapter_spec.js @@ -1,676 +1,10 @@ import { expect } from 'chai'; import { spec } from 'modules/ringieraxelspringerBidAdapter.js'; -import { newBidder } from 'src/adapters/bidderFactory.js'; -const CSR_ENDPOINT = 'https://csr.onet.pl/4178463/csr-006/csr.json?nid=4178463&'; - -describe('ringieraxelspringerBidAdapter', function () { - const adapter = newBidder(spec); - - describe('inherited functions', function () { - it('exists and is a function', function () { - expect(adapter.callBids).to.exist.and.to.be.a('function'); - }); - }); - - describe('isBidRequestValid', function () { - it('should return true when required params found', function () { - const bid = { - sizes: [[300, 250], [300, 600]], - bidder: 'ringieraxelspringer', - params: { - slot: 'slot', - area: 'areatest', - site: 'test', - network: '4178463' - } - }; - expect(spec.isBidRequestValid(bid)).to.equal(true); - }); - - it('should return false when required params not found', function () { - const failBid = { - sizes: [[300, 250], [300, 300]], - bidder: 'ringieraxelspringer', - params: { - site: 'test', - network: '4178463' - } - }; - expect(spec.isBidRequestValid(failBid)).to.equal(false); - }); - - it('should return nothing when bid request is malformed', function () { - const failBid = { - sizes: [[300, 250], [300, 300]], - bidder: 'ringieraxelspringer', - }; - expect(spec.isBidRequestValid(failBid)).to.equal(undefined); - }); - }); - - describe('buildRequests', function () { - const bid = { - sizes: [[300, 250], [300, 600]], - bidder: 'ringieraxelspringer', - bidId: 1, - params: { - slot: 'test', - area: 'areatest', - site: 'test', - slotSequence: '0', - network: '4178463', - customParams: { - test: 'name=value' - } - }, - mediaTypes: { - banner: { - sizes: [ - [ - 300, - 250 - ], - [ - 300, - 600 - ] - ] - } - } - }; - const bid2 = { - sizes: [[750, 300]], - bidder: 'ringieraxelspringer', - bidId: 2, - params: { - slot: 'test2', - area: 'areatest', - site: 'test', - network: '4178463' - }, - mediaTypes: { - banner: { - sizes: [ - [ - 750, - 300 - ] - ] - } - } - }; - - it('should parse bids to request', function () { - const requests = spec.buildRequests([bid], { - 'gdprConsent': { - 'gdprApplies': true, - 'consentString': 'some-consent-string' - }, - 'refererInfo': { - 'ref': 'https://example.org/', - 'page': 'https://example.com/' - } - }); - expect(requests[0].url).to.have.string(CSR_ENDPOINT); - expect(requests[0].url).to.have.string('slot0=test'); - expect(requests[0].url).to.have.string('id0=1'); - expect(requests[0].url).to.have.string('site=test'); - expect(requests[0].url).to.have.string('area=areatest'); - expect(requests[0].url).to.have.string('cre_format=html'); - expect(requests[0].url).to.have.string('systems=das'); - expect(requests[0].url).to.have.string('ems_url=1'); - expect(requests[0].url).to.have.string('bid_rate=1'); - expect(requests[0].url).to.have.string('gdpr_applies=true'); - expect(requests[0].url).to.have.string('euconsent=some-consent-string'); - expect(requests[0].url).to.have.string('du=https%3A%2F%2Fexample.com%2F'); - expect(requests[0].url).to.have.string('dr=https%3A%2F%2Fexample.org%2F'); - expect(requests[0].url).to.have.string('test=name%3Dvalue'); - }); - - it('should return empty consent string when undefined', function () { - const requests = spec.buildRequests([bid]); - const gdpr = requests[0].url.search('gdpr_applies'); - const euconsent = requests[0].url.search('euconsent='); - expect(gdpr).to.equal(-1); - expect(euconsent).to.equal(-1); - }); - - it('should parse bids to request from pageContext', function () { - const bidCopy = { ...bid }; - bidCopy.params = { - ...bid.params, - pageContext: { - dv: 'test/areatest', - du: 'https://example.com/', - dr: 'https://example.org/', - keyWords: ['val1', 'val2'], - keyValues: { - adunit: 'test/areatest' - } - } - }; - const requests = spec.buildRequests([bidCopy, bid2]); - - expect(requests[0].url).to.have.string(CSR_ENDPOINT); - expect(requests[0].url).to.have.string('slot0=test'); - expect(requests[0].url).to.have.string('id0=1'); - expect(requests[0].url).to.have.string('iusizes0=300x250%2C300x600'); - expect(requests[0].url).to.have.string('slot1=test2'); - expect(requests[0].url).to.have.string('kvhb_format0=banner'); - expect(requests[0].url).to.have.string('id1=2'); - expect(requests[0].url).to.have.string('iusizes1=750x300'); - expect(requests[0].url).to.have.string('kvhb_format1=banner'); - expect(requests[0].url).to.have.string('site=test'); - expect(requests[0].url).to.have.string('area=areatest'); - expect(requests[0].url).to.have.string('cre_format=html'); - expect(requests[0].url).to.have.string('systems=das'); - expect(requests[0].url).to.have.string('ems_url=1'); - expect(requests[0].url).to.have.string('bid_rate=1'); - expect(requests[0].url).to.have.string('du=https%3A%2F%2Fexample.com%2F'); - expect(requests[0].url).to.have.string('dr=https%3A%2F%2Fexample.org%2F'); - expect(requests[0].url).to.have.string('DV=test%2Fareatest'); - expect(requests[0].url).to.have.string('kwrd=val1%2Bval2'); - expect(requests[0].url).to.have.string('kvadunit=test%2Fareatest'); - expect(requests[0].url).to.have.string('pos0=0'); - }); - - it('should parse dsainfo when available', function () { - const bidCopy = { ...bid }; - bidCopy.params = { - ...bid.params, - pageContext: { - dv: 'test/areatest', - du: 'https://example.com/', - dr: 'https://example.org/', - keyWords: ['val1', 'val2'], - keyValues: { - adunit: 'test/areatest' - } - } - }; - const bidderRequest = { - ortb2: { - regs: { - ext: { - dsa: { - required: 1 - } - } - } - } - }; - let requests = spec.buildRequests([bidCopy], bidderRequest); - expect(requests[0].url).to.have.string('dsainfo=1'); - - bidderRequest.ortb2.regs.ext.dsa.required = 0; - requests = spec.buildRequests([bidCopy], bidderRequest); - expect(requests[0].url).to.have.string('dsainfo=0'); - }); - }); - - describe('interpretResponse', function () { - const response = { - 'adsCheck': 'ok', - 'geoloc': {}, - 'ir': '92effd60-0c84-4dac-817e-763ea7b8ac65', - 'ads': [ - { - 'id': 'flat-belkagorna', - 'slot': 'flat-belkagorna', - 'prio': 10, - 'type': 'html', - 'bid_rate': 0.321123, - 'adid': 'das,50463,152276', - 'id_3': '12734', - 'html': '' - } - ], - 'iv': '202003191334467636346500' - }; - - it('should get correct bid response', function () { - const resp = spec.interpretResponse({ body: response }, { bidIds: [{ slot: 'flat-belkagorna', bidId: 1 }] }); - expect(resp[0]).to.have.all.keys('cpm', 'currency', 'netRevenue', 'requestId', 'ttl', 'width', 'height', 'creativeId', 'dealId', 'ad', 'meta', 'actgMatch', 'mediaType'); - expect(resp.length).to.equal(1); - }); - - it('should handle empty ad', function () { - const res = { - 'ads': [{ - type: 'empty' - }] - }; - const resp = spec.interpretResponse({ body: res }, {}); - expect(resp).to.deep.equal([]); - }); - - it('should handle empty server response', function () { - const res = { - 'ads': [] - }; - const resp = spec.interpretResponse({ body: res }, {}); - expect(resp).to.deep.equal([]); - }); - - it('should generate auctionConfig when fledge is enabled', function () { - const bidRequest = { - method: 'GET', - url: 'https://example.com', - bidIds: [{ - slot: 'top', - bidId: '123', - network: 'testnetwork', - sizes: ['300x250'], - params: { - site: 'testsite', - area: 'testarea', - network: 'testnetwork' - }, - fledgeEnabled: true - }, - { - slot: 'top', - bidId: '456', - network: 'testnetwork', - sizes: ['300x250'], - params: { - site: 'testsite', - area: 'testarea', - network: 'testnetwork' - }, - fledgeEnabled: false - }] - }; - - const auctionConfigs = [{ - 'bidId': '123', - 'config': { - 'seller': 'https://csr.onet.pl', - 'decisionLogicUrl': 'https://csr.onet.pl/testnetwork/v1/protected-audience-api/decision-logic.js', - 'interestGroupBuyers': ['https://csr.onet.pl'], - 'auctionSignals': { - 'params': { - site: 'testsite', - area: 'testarea', - network: 'testnetwork' - }, - 'sizes': ['300x250'], - 'gctx': '1234567890' - } - } - }]; - const resp = spec.interpretResponse({body: {gctx: '1234567890'}}, bidRequest); - expect(resp).to.deep.equal({bids: [], paapi: auctionConfigs}); - }); - }); - - describe('buildNativeRequests', function () { - const bid = { - sizes: 'fluid', - bidder: 'ringieraxelspringer', - bidId: 1, - params: { - slot: 'nativestd', - area: 'areatest', - site: 'test', - slotSequence: '0', - network: '4178463', - customParams: { - test: 'name=value' - } - }, - mediaTypes: { - native: { - clickUrl: { - required: true - }, - image: { - required: true - }, - sponsoredBy: { - len: 25, - required: true - }, - title: { - len: 50, - required: true - } - } - } - }; - - it('should parse bids to native request', function () { - const requests = spec.buildRequests([bid], { - 'gdprConsent': { - 'gdprApplies': true, - 'consentString': 'some-consent-string' - }, - 'refererInfo': { - 'ref': 'https://example.org/', - 'page': 'https://example.com/' - } - }); - - expect(requests[0].url).to.have.string(CSR_ENDPOINT); - expect(requests[0].url).to.have.string('slot0=nativestd'); - expect(requests[0].url).to.have.string('id0=1'); - expect(requests[0].url).to.have.string('site=test'); - expect(requests[0].url).to.have.string('area=areatest'); - expect(requests[0].url).to.have.string('cre_format=html'); - expect(requests[0].url).to.have.string('systems=das'); - expect(requests[0].url).to.have.string('ems_url=1'); - expect(requests[0].url).to.have.string('bid_rate=1'); - expect(requests[0].url).to.have.string('gdpr_applies=true'); - expect(requests[0].url).to.have.string('euconsent=some-consent-string'); - expect(requests[0].url).to.have.string('du=https%3A%2F%2Fexample.com%2F'); - expect(requests[0].url).to.have.string('dr=https%3A%2F%2Fexample.org%2F'); - expect(requests[0].url).to.have.string('test=name%3Dvalue'); - expect(requests[0].url).to.have.string('cre_format0=native'); - expect(requests[0].url).to.have.string('kvhb_format0=native'); - expect(requests[0].url).to.have.string('iusizes0=fluid'); - }); - }); - - describe('interpretNativeResponse', function () { - const response = { - 'adsCheck': 'ok', - 'geoloc': {}, - 'ir': '92effd60-0c84-4dac-817e-763ea7b8ac65', - 'iv': '202003191334467636346500', - 'ads': [ - { - 'id': 'nativestd', - 'slot': 'nativestd', - 'prio': 10, - 'type': 'native', - 'bid_rate': 0.321123, - 'adid': 'das,50463,152276', - 'id_3': '12734' - } - ] - }; - const responseTeaserStandard = { - adsCheck: 'ok', - geoloc: {}, - ir: '92effd60-0c84-4dac-817e-763ea7b8ac65', - iv: '202003191334467636346500', - ads: [ - { - id: 'nativestd', - slot: 'nativestd', - prio: 10, - type: 'native', - bid_rate: 0.321123, - adid: 'das,50463,152276', - id_3: '12734', - data: { - fields: { - leadtext: 'BODY', - title: 'Headline', - image: '//img.url', - url: '//link.url', - partner_logo: '//logo.url', - adInfo: 'REKLAMA', - impression: '//impression.url', - impression1: '//impression1.url', - impressionJs1: '//impressionJs1.url' - }, - meta: { - slot: 'nativestd', - height: 1, - width: 1, - advertiser_name: 'Test Onet', - dsaurl: '//dsa.url', - adclick: '//adclick.url' - } - }, - ems_link: '//ems.url' - } - ] - }; - const responseNativeInFeed = { - adsCheck: 'ok', - geoloc: {}, - ir: '92effd60-0c84-4dac-817e-763ea7b8ac65', - iv: '202003191334467636346500', - ads: [ - { - id: 'nativestd', - slot: 'nativestd', - prio: 10, - type: 'native', - bid_rate: 0.321123, - adid: 'das,50463,152276', - id_3: '12734', - data: { - fields: { - Body: 'BODY', - Calltoaction: 'Calltoaction', - Headline: 'Headline', - Image: '//img.url', - adInfo: 'REKLAMA', - Thirdpartyclicktracker: '//link.url', - imp: '//imp.url', - thirdPartyClickTracker2: '//thirdPartyClickTracker.url' - }, - meta: { - slot: 'nativestd', - height: 1, - width: 1, - advertiser_name: 'Test Onet', - dsaurl: '//dsa.url', - adclick: '//adclick.url' - } - }, - ems_link: '//ems.url' - } - ] - }; - const expectedTeaserStandardOrtbResponse = { - ver: '1.2', - assets: [ - { - id: 0, - data: { - value: '', - type: 2 - }, - }, - { - id: 1, - data: { - value: 'REKLAMA', - type: 10 - }, - }, - { - id: 3, - img: { - type: 1, - url: '//logo.url', - w: 1, - h: 1 - } - }, - { - id: 4, - img: { - type: 3, - url: '//img.url', - w: 1, - h: 1 - } - }, - { - id: 5, - data: { - value: 'Test Onet', - type: 1 - }, - }, - { - id: 6, - title: { - text: 'Headline' - } - }, - ], - link: { - url: '//adclick.url//link.url', - clicktrackers: [] - }, - eventtrackers: [ - { - event: 1, - method: 1, - url: '//ems.url' - }, - { - event: 1, - method: 1, - url: '//impression.url' - }, - { - event: 1, - method: 1, - url: '//impression1.url' - }, - { - event: 1, - method: 2, - url: '//impressionJs1.url' - } - ], - privacy: '//dsa.url' - }; - const expectedTeaserStandardResponse = { - title: 'Headline', - image: { - url: '//img.url', - width: 1, - height: 1 - }, - icon: { - url: '//logo.url', - width: 1, - height: 1 - }, - clickUrl: '//adclick.url//link.url', - cta: '', - body: 'BODY', - body2: 'REKLAMA', - sponsoredBy: 'Test Onet', - ortb: expectedTeaserStandardOrtbResponse, - privacyLink: '//dsa.url' - }; - const expectedNativeInFeedOrtbResponse = { - ver: '1.2', - assets: [ - { - id: 0, - data: { - value: '', - type: 2 - }, - }, - { - id: 1, - data: { - value: 'REKLAMA', - type: 10 - }, - }, - { - id: 3, - img: { - type: 1, - url: '', - w: 1, - h: 1 - } - }, - { - id: 4, - img: { - type: 3, - url: '//img.url', - w: 1, - h: 1 - } - }, - { - id: 5, - data: { - value: 'Test Onet', - type: 1 - }, - }, - { - id: 6, - title: { - text: 'Headline' - } - }, - ], - link: { - url: '//adclick.url//link.url', - clicktrackers: ['//thirdPartyClickTracker.url'] - }, - eventtrackers: [ - { - event: 1, - method: 1, - url: '//ems.url' - }, - { - event: 1, - method: 1, - url: '//imp.url' - } - ], - privacy: '//dsa.url', - }; - const expectedNativeInFeedResponse = { - title: 'Headline', - image: { - url: '//img.url', - width: 1, - height: 1 - }, - icon: { - url: '', - width: 1, - height: 1 - }, - clickUrl: '//adclick.url//link.url', - cta: 'Calltoaction', - body: 'BODY', - body2: 'REKLAMA', - sponsoredBy: 'Test Onet', - ortb: expectedNativeInFeedOrtbResponse, - privacyLink: '//dsa.url' - }; - - it('should get correct bid native response', function () { - const resp = spec.interpretResponse({ body: response }, { bidIds: [{ slot: 'nativestd', bidId: 1, mediaType: 'native' }] }); - - expect(resp[0]).to.have.all.keys('cpm', 'currency', 'netRevenue', 'requestId', 'ttl', 'width', 'height', 'creativeId', 'dealId', 'meta', 'actgMatch', 'mediaType', 'native'); - expect(resp.length).to.equal(1); - }); - - it('should get correct native response for TeaserStandard', function () { - const resp = spec.interpretResponse({ body: responseTeaserStandard }, { bidIds: [{ slot: 'nativestd', bidId: 1, mediaType: 'native' }] }); - const teaserStandardResponse = resp[0].native; - - expect(JSON.stringify(teaserStandardResponse)).to.equal(JSON.stringify(expectedTeaserStandardResponse)); - }); - - it('should get correct native response for NativeInFeed', function () { - const resp = spec.interpretResponse({ body: responseNativeInFeed }, { bidIds: [{ slot: 'nativestd', bidId: 1, mediaType: 'native' }] }); - const nativeInFeedResponse = resp[0].native; - - expect(JSON.stringify(nativeInFeedResponse)).to.equal(JSON.stringify(expectedNativeInFeedResponse)); - }); +describe('ringieraxelspringer backward-compatibility shim', function () { + it('should re-export spec from dasBidAdapter', function () { + expect(spec).to.exist; + expect(spec.code).to.equal('das'); + expect(spec.aliases).to.include('ringieraxelspringer'); }); }); From 88b4ebc1f8eb43c1a5d1107e6124a1b942050807 Mon Sep 17 00:00:00 2001 From: mkomorski Date: Tue, 13 Jan 2026 17:22:40 +0100 Subject: [PATCH 098/248] tcfControl: add deferS2Sbidders flag (#14252) * tcfControl: add deferS2Sbidders flag * adding isS2S param to activity * test name * paritionbidders check * adding gvlid check --- modules/tcfControl.ts | 12 ++++--- src/adapterManager.ts | 15 +++++++-- test/spec/modules/tcfControl_spec.js | 48 ++++++++++++++++++++++++++-- 3 files changed, 65 insertions(+), 10 deletions(-) diff --git a/modules/tcfControl.ts b/modules/tcfControl.ts index 6884c5a96cc..81d5df3d802 100644 --- a/modules/tcfControl.ts +++ b/modules/tcfControl.ts @@ -65,7 +65,8 @@ const CONFIGURABLE_RULES = { purpose: 'basicAds', enforcePurpose: true, enforceVendor: true, - vendorExceptions: [] + vendorExceptions: [], + deferS2Sbidders: false } }, personalizedAds: { @@ -228,7 +229,7 @@ function getConsent(consentData, type, purposeNo, gvlId) { * @param {number=} gvlId - GVL ID for the module * @returns {boolean} */ -export function validateRules(rule, consentData, currentModule, gvlId) { +export function validateRules(rule, consentData, currentModule, gvlId, params = {}) { const ruleOptions = CONFIGURABLE_RULES[rule.purpose]; // return 'true' if vendor present in 'vendorExceptions' @@ -236,8 +237,9 @@ export function validateRules(rule, consentData, currentModule, gvlId) { return true; } const vendorConsentRequred = rule.enforceVendor && !((gvlId === VENDORLESS_GVLID || (rule.softVendorExceptions || []).includes(currentModule))); + const deferS2Sbidders = params['isS2S'] && rule.purpose === 'basicAds' && rule.deferS2Sbidders && !gvlId; const {purpose, vendor} = getConsent(consentData, ruleOptions.type, ruleOptions.id, gvlId); - return (!rule.enforcePurpose || purpose) && (!vendorConsentRequred || vendor); + return (!rule.enforcePurpose || purpose) && (!vendorConsentRequred || deferS2Sbidders || vendor); } function gdprRule(purposeNo, checkConsent, blocked = null, gvlidFallback: any = () => null) { @@ -247,7 +249,7 @@ function gdprRule(purposeNo, checkConsent, blocked = null, gvlidFallback: any = if (shouldEnforce(consentData, purposeNo, modName)) { const gvlid = getGvlid(params[ACTIVITY_PARAM_COMPONENT_TYPE], modName, gvlidFallback(params)); - const allow = !!checkConsent(consentData, modName, gvlid); + const allow = !!checkConsent(consentData, modName, gvlid, params); if (!allow) { blocked && blocked.add(modName); return {allow}; @@ -257,7 +259,7 @@ function gdprRule(purposeNo, checkConsent, blocked = null, gvlidFallback: any = } function singlePurposeGdprRule(purposeNo, blocked = null, gvlidFallback: any = () => null) { - return gdprRule(purposeNo, (cd, modName, gvlid) => !!validateRules(ACTIVE_RULES.purpose[purposeNo], cd, modName, gvlid), blocked, gvlidFallback); + return gdprRule(purposeNo, (cd, modName, gvlid, params) => !!validateRules(ACTIVE_RULES.purpose[purposeNo], cd, modName, gvlid, params), blocked, gvlidFallback); } function exceptPrebidModules(ruleFn) { diff --git a/src/adapterManager.ts b/src/adapterManager.ts index d19a43fcf03..037e497400a 100644 --- a/src/adapterManager.ts +++ b/src/adapterManager.ts @@ -505,18 +505,27 @@ const adapterManager = { .filter(uniques) .forEach(incrementAuctionsCounter); + let {[PARTITIONS.CLIENT]: clientBidders, [PARTITIONS.SERVER]: serverBidders} = partitionBidders(adUnits, _s2sConfigs); + const allowedBidders = new Set(); + adUnits.forEach(au => { if (!isPlainObject(au.mediaTypes)) { au.mediaTypes = {}; } // filter out bidders that cannot participate in the auction - au.bids = au.bids.filter((bid) => !bid.bidder || dep.isAllowed(ACTIVITY_FETCH_BIDS, activityParams(MODULE_TYPE_BIDDER, bid.bidder))) + au.bids = au.bids.filter((bid) => !bid.bidder || dep.isAllowed(ACTIVITY_FETCH_BIDS, activityParams(MODULE_TYPE_BIDDER, bid.bidder, { + isS2S: serverBidders.includes(bid.bidder) && !clientBidders.includes(bid.bidder) + }))) + au.bids.forEach(bid => { + allowedBidders.add(bid.bidder); + }); incrementRequestsCounter(au.code); }); - adUnits = setupAdUnitMediaTypes(adUnits, labels); + clientBidders = clientBidders.filter(bidder => allowedBidders.has(bidder)); + serverBidders = serverBidders.filter(bidder => allowedBidders.has(bidder)); - let {[PARTITIONS.CLIENT]: clientBidders, [PARTITIONS.SERVER]: serverBidders} = partitionBidders(adUnits, _s2sConfigs); + adUnits = setupAdUnitMediaTypes(adUnits, labels); if (config.getConfig('bidderSequence') === RANDOM) { clientBidders = shuffle(clientBidders); diff --git a/test/spec/modules/tcfControl_spec.js b/test/spec/modules/tcfControl_spec.js index b8164b86eae..0794effaa70 100644 --- a/test/spec/modules/tcfControl_spec.js +++ b/test/spec/modules/tcfControl_spec.js @@ -404,6 +404,48 @@ describe('gdpr enforcement', function () { expectAllow(allowed, fetchBidsRule(activityParams(MODULE_TYPE_BIDDER, bidder))); }) }); + + it('should allow S2S bidder when deferS2Sbidders is true', function() { + setEnforcementConfig({ + gdpr: { + rules: [{ + purpose: 'basicAds', + enforcePurpose: true, + enforceVendor: true, + vendorExceptions: [], + deferS2Sbidders: true + }] + } + }); + const consent = setupConsentData(); + consent.vendorData.vendor.consents = {}; + consent.vendorData.vendor.legitimateInterests = {}; + consent.vendorData.purpose.consents['2'] = true; + + const s2sBidderParams = activityParams(MODULE_TYPE_BIDDER, 's2sBidder', {isS2S: true}); + expectAllow(true, fetchBidsRule(s2sBidderParams)); + }); + + it('should not make exceptions for client bidders when deferS2Sbidders is true', function() { + setEnforcementConfig({ + gdpr: { + rules: [{ + purpose: 'basicAds', + enforcePurpose: true, + enforceVendor: true, + vendorExceptions: [], + deferS2Sbidders: true + }] + } + }); + const consent = setupConsentData(); + consent.vendorData.vendor.consents = {}; + consent.vendorData.vendor.legitimateInterests = {}; + consent.vendorData.purpose.consents['2'] = true; + + const clientBidderParams = activityParams(MODULE_TYPE_BIDDER, 'clientBidder'); + expectAllow(false, fetchBidsRule(clientBidderParams)); + }); }); describe('reportAnalyticsRule', () => { @@ -880,7 +922,8 @@ describe('gdpr enforcement', function () { purpose: 'basicAds', enforcePurpose: true, enforceVendor: true, - vendorExceptions: [] + vendorExceptions: [], + deferS2Sbidders: false }]; beforeEach(function () { sandbox = sinon.createSandbox(); @@ -926,7 +969,8 @@ describe('gdpr enforcement', function () { purpose: 'basicAds', enforcePurpose: false, enforceVendor: true, - vendorExceptions: ['bidderA'] + vendorExceptions: ['bidderA'], + deferS2Sbidders: false } setEnforcementConfig({ gdpr: { From 828916882d5e071e9876040bc62fe56ec38bf8bf Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Tue, 13 Jan 2026 09:27:47 -0800 Subject: [PATCH 099/248] CI: fix check-duplication action (#14327) --- .github/workflows/jscpd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jscpd.yml b/.github/workflows/jscpd.yml index 98cd0158720..3fbee7f3a04 100644 --- a/.github/workflows/jscpd.yml +++ b/.github/workflows/jscpd.yml @@ -35,7 +35,7 @@ jobs: ], "output": "./", "pattern": "**/*.js", - "ignore": "**/*spec.js" + "ignore": ["**/*spec.js"] }' > .jscpd.json - name: Run jscpd on entire codebase From 061dc51a1881e661a73d4d0ae2db9aebe5d9f472 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Jan 2026 16:08:28 -0500 Subject: [PATCH 100/248] Bump actions/checkout from 5 to 6 (#14307) Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/PR-assignment.yml | 2 +- .github/workflows/browser-tests.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/code-path-changes.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/jscpd.yml | 2 +- .github/workflows/linter.yml | 2 +- .github/workflows/run-tests.yml | 4 ++-- .github/workflows/test.yml | 8 ++++---- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/PR-assignment.yml b/.github/workflows/PR-assignment.yml index 5bac9b5d763..a2b405396bb 100644 --- a/.github/workflows/PR-assignment.yml +++ b/.github/workflows/PR-assignment.yml @@ -17,7 +17,7 @@ jobs: private-key: ${{ secrets.PR_BOT_PEM }} - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: refs/pull/${{ github.event.pull_request.number }}/head diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index 3e4bc947ad1..5e2b6e2541c 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -27,7 +27,7 @@ jobs: bstack-sessions: ${{ fromJSON(steps.define.outputs.result).bsBrowsers }} steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Restore working directory uses: ./.github/actions/load with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6942d25b54c..64c3096274a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout if: ${{ inputs.build-cmd }} - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Restore source if: ${{ inputs.build-cmd }} uses: ./.github/actions/load diff --git a/.github/workflows/code-path-changes.yml b/.github/workflows/code-path-changes.yml index 8d327a7e2b1..f543394f479 100644 --- a/.github/workflows/code-path-changes.yml +++ b/.github/workflows/code-path-changes.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Set up Node.js uses: actions/setup-node@v6 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f86cd38a43c..691ca30b583 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/jscpd.yml b/.github/workflows/jscpd.yml index 3fbee7f3a04..e00a6d9727d 100644 --- a/.github/workflows/jscpd.yml +++ b/.github/workflows/jscpd.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 # Fetch all history for all branches ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 30d327d3495..3d4873ce0ee 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -16,7 +16,7 @@ jobs: node-version: '20' - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ github.event.pull_request.base.sha }} diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4829b0ac912..67c86384ab8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -120,7 +120,7 @@ jobs: runs-on: ${{ inputs.runs-on }} steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Restore source uses: ./.github/actions/load @@ -216,7 +216,7 @@ jobs: coverage: coverage-complete-${{ inputs.test-cmd }} steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Restore source uses: ./.github/actions/load diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c56b8cae4c8..54a41e25946 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,14 +33,14 @@ jobs: - name: Checkout code (PR) id: checkout-pr if: ${{ github.event_name == 'pull_request_target' }} - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: refs/pull/${{ github.event.pull_request.number }}/head - name: Checkout code (push) id: checkout-push if: ${{ github.event_name == 'push' }} - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Commit info id: info @@ -66,7 +66,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Restore source uses: ./.github/actions/load with: @@ -101,7 +101,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Restore source uses: ./.github/actions/load From 2c257c3cf7b34560fd35a944c2517f7152dcef91 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Jan 2026 16:10:44 -0500 Subject: [PATCH 101/248] Bump actions/download-artifact from 6 to 7 (#14308) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 67c86384ab8..1cc6808f29f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -224,7 +224,7 @@ jobs: name: ${{ needs.build.outputs.built-key }} - name: Download coverage results - uses: actions/download-artifact@v6 + uses: actions/download-artifact@v7 with: path: ./build/coverage pattern: coverage-partial-${{ inputs.test-cmd }}-* From 85e5dec457881b1538be14c9e954c3b50fdf100b Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Wed, 14 Jan 2026 08:59:10 -0800 Subject: [PATCH 102/248] CI: set metadata override for ringieraxelspringer (#14335) --- metadata/overrides.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metadata/overrides.mjs b/metadata/overrides.mjs index bb722cfd4f2..70d29f19722 100644 --- a/metadata/overrides.mjs +++ b/metadata/overrides.mjs @@ -17,5 +17,6 @@ export default { relevadRtdProvider: 'RelevadRTDModule', sirdataRtdProvider: 'SirdataRTDModule', fanBidAdapter: 'freedomadnetwork', - uniquestWidgetBidAdapter: 'uniquest_widget' + uniquestWidgetBidAdapter: 'uniquest_widget', + ringieraxelspringerBidAdapter: 'das' } From a260eb6abaa0e5cefe2b093bae892723903b4b9b Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Wed, 14 Jan 2026 13:00:40 -0800 Subject: [PATCH 103/248] CI: fix linter warning and duplicate detection actions (#14339) * ci: fix potential security issue in jscpd workflow Change pull_request_target to pull_request to follow GitHub's recommended security practices. This prevents untrusted PR code from running with access to repository secrets. Reference: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ * fix: use full ref path and FETCH_HEAD for reliable git operations * fix: change ignore config to array format for jscpd compatibility * fix: add contents read permission for checkout and git fetch * Add issues: write permissions * split workflow * fix comment stage * fix ref to body * split linter comment * fix linter action * fix linter action --------- Co-authored-by: Junpei Tsuji --- .github/workflows/comment.yml | 69 +++++++++++++++++++++++++++++++++++ .github/workflows/jscpd.yml | 43 +++++++++++++--------- .github/workflows/linter.yml | 23 +++++++++--- 3 files changed, 112 insertions(+), 23 deletions(-) create mode 100644 .github/workflows/comment.yml diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml new file mode 100644 index 00000000000..0795250d168 --- /dev/null +++ b/.github/workflows/comment.yml @@ -0,0 +1,69 @@ +name: Post a comment +on: + workflow_run: + workflows: + - Check for Duplicated Code + - Check for linter warnings / exceptions + types: + - completed + +permissions: + contents: read + pull-requests: write + issues: write + +jobs: + comment: + runs-on: ubuntu-latest + steps: + - name: 'Download artifact' + id: download + uses: actions/github-script@v8 + with: + result-encoding: string + script: | + let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({ + owner: context.repo.owner, + repo: context.repo.repo, + run_id: context.payload.workflow_run.id, + }); + let matchArtifact = allArtifacts.data.artifacts.filter((artifact) => { + return artifact.name == "comment" + })[0]; + if (matchArtifact == null) { + return "false" + } + let download = await github.rest.actions.downloadArtifact({ + owner: context.repo.owner, + repo: context.repo.repo, + artifact_id: matchArtifact.id, + archive_format: 'zip', + }); + const fs = require('fs'); + const path = require('path'); + const temp = '${{ runner.temp }}/artifacts'; + if (!fs.existsSync(temp)){ + fs.mkdirSync(temp); + } + fs.writeFileSync(path.join(temp, 'comment.zip'), Buffer.from(download.data)); + return "true"; + + - name: 'Unzip artifact' + if: ${{ steps.download.outputs.result == 'true' }} + run: unzip "${{ runner.temp }}/artifacts/comment.zip" -d "${{ runner.temp }}/artifacts" + + - name: 'Comment on PR' + if: ${{ steps.download.outputs.result == 'true' }} + uses: actions/github-script@v8 + with: + script: | + const fs = require('fs'); + const path = require('path'); + const temp = '${{ runner.temp }}/artifacts'; + const {issue_number, body} = JSON.parse(fs.readFileSync(path.join(temp, 'comment.json'))); + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number, + body + }); diff --git a/.github/workflows/jscpd.yml b/.github/workflows/jscpd.yml index e00a6d9727d..c3021b2ced7 100644 --- a/.github/workflows/jscpd.yml +++ b/.github/workflows/jscpd.yml @@ -1,10 +1,13 @@ name: Check for Duplicated Code on: - pull_request_target: + pull_request: branches: - master +permissions: + contents: read + jobs: check-duplication: runs-on: ubuntu-latest @@ -13,17 +16,15 @@ jobs: - name: Checkout code uses: actions/checkout@v6 with: - fetch-depth: 0 # Fetch all history for all branches - ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 - name: Set up Node.js uses: actions/setup-node@v6 with: node-version: '20' - - name: Install dependencies - run: | - npm install -g jscpd diff-so-fancy + - name: Install jscpd + run: npm install -g jscpd - name: Create jscpd config file run: | @@ -35,19 +36,20 @@ jobs: ], "output": "./", "pattern": "**/*.js", - "ignore": ["**/*spec.js"] + "ignore": ["**/*spec.js"] }' > .jscpd.json - name: Run jscpd on entire codebase run: jscpd - - name: Fetch base and target branches + - name: Fetch base branch for comparison run: | - git fetch origin +refs/heads/${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }} - git fetch origin +refs/pull/${{ github.event.pull_request.number }}/merge:refs/remotes/pull/${{ github.event.pull_request.number }}/merge + git fetch origin refs/heads/${{ github.base_ref }} - - name: Get the diff - run: git diff --name-only origin/${{ github.event.pull_request.base.ref }}...refs/remotes/pull/${{ github.event.pull_request.number }}/merge > changed_files.txt + - name: Get changed files + run: | + git diff --name-only FETCH_HEAD...HEAD > changed_files.txt + cat changed_files.txt - name: List generated files (debug) run: ls -l @@ -92,7 +94,7 @@ jobs: name: filtered-jscpd-report path: ./filtered-jscpd-report.json - - name: Post GitHub comment + - name: Generate PR comment if: env.filtered_report_exists == 'true' uses: actions/github-script@v8 with: @@ -101,7 +103,7 @@ jobs: const filteredReport = JSON.parse(fs.readFileSync('filtered-jscpd-report.json', 'utf8')); let comment = "Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:\n\n"; function link(dup) { - return `https://github.com/${{ github.event.repository.full_name }}/blob/${{ github.event.pull_request.head.sha }}/${dup.name}#L${dup.start + 1}-L${dup.end - 1}` + return `https://github.com/${{ github.repository }}/blob/${{ github.event.pull_request.head.sha }}/${dup.name}#L${dup.start + 1}-L${dup.end - 1}` } filteredReport.forEach(duplication => { const firstFile = duplication.firstFile; @@ -110,12 +112,17 @@ jobs: comment += `- [\`${firstFile.name}\`](${link(firstFile)}) has ${lines} duplicated lines with [\`${secondFile.name}\`](${link(secondFile)})\n`; }); comment += "\nReducing 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.rest.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, + fs.writeFileSync('${{ runner.temp }}/comment.json', JSON.stringify({ issue_number: context.issue.number, body: comment - }); + })) + + - name: Upload comment data + if: env.filtered_report_exists == 'true' + uses: actions/upload-artifact@v4 + with: + name: comment + path: ${{ runner.temp }}/comment.json - name: Fail if duplications are found if: env.filtered_report_exists == 'true' diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 3d4873ce0ee..39fdcc4067b 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -1,10 +1,13 @@ name: Check for linter warnings / exceptions on: - pull_request_target: + pull_request: branches: - master +permissions: + contents: read + jobs: check-linter: runs-on: ubuntu-latest @@ -46,7 +49,9 @@ jobs: - name: Compare them and post comment if necessary uses: actions/github-script@v8 + id: comment with: + result-encoding: string script: | const fs = require('fs'); const path = require('path'); @@ -101,10 +106,18 @@ jobs: const comment = mkComment(mkDiff(base, pr)); if (comment) { - github.rest.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, + fs.writeFileSync("${{ runner.temp }}/comment.json", JSON.stringify({ issue_number: context.issue.number, body: comment - }); + })) + return "true"; + } else { + return "false"; } + + - name: Upload comment data + if: ${{ steps.comment.outputs.result == 'true' }} + uses: actions/upload-artifact@v4 + with: + name: comment + path: ${{ runner.temp }}/comment.json From 4f732cde56d5ddb663b6fb3bc8570cec128ad765 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E6=80=9D=E6=95=8F?= <506374983@qq.com> Date: Thu, 15 Jan 2026 05:06:21 +0800 Subject: [PATCH 104/248] Mediago Bid Adapter: fix ID uniqueness and auctionId leak (#14316) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Mediago Bid Adapter: fix ID uniqueness and auctionId leak - Fix ID generation to ensure uniqueness for multiple requests on the same page Use bidId from request or generate unique ID with random suffix - Replace auctionId with bidderRequestId to fix auctionId leak issue - Fix gpid default value from 0 to empty string - Add integration test page for mediago adapter * remove test parameter * Mediago Bid Adapter: remove unused itemMaps - Remove unused itemMaps global variable and related code - Simplify interpretResponse to use impid directly as requestId - Clean up unnecessary mapping logic * Mediago Bid Adapter: fix ID generation for uniqueness --------- Co-authored-by: 方思敏 Co-authored-by: Love Sharma --- integrationExamples/gpt/mediago_test.html | 442 ++++++++++++++++++++ modules/mediagoBidAdapter.js | 21 +- test/spec/modules/mediagoBidAdapter_spec.js | 2 +- 3 files changed, 450 insertions(+), 15 deletions(-) create mode 100644 integrationExamples/gpt/mediago_test.html diff --git a/integrationExamples/gpt/mediago_test.html b/integrationExamples/gpt/mediago_test.html new file mode 100644 index 00000000000..d09e814eda4 --- /dev/null +++ b/integrationExamples/gpt/mediago_test.html @@ -0,0 +1,442 @@ + + + + + + Mediago Bid Adapter Test + + + + + + +

Mediago Bid Adapter Test Page

+

This page is used to verify that the ID uniqueness issue has been resolved when there are multiple ad units

+ +
+ + +
+ +
+

Waiting for request...

+

Click the "Run Auction" button to start testing

+
+ +
+

Waiting for response...

+
+ +
+

Ad Unit 1 (300x250) - mpu_left

+
+

Ad Unit 1 - mpu_left

+
+
+ +
+

Ad Unit 2 (300x250)

+
+

Ad Unit 2

+
+
+ +
+

Ad Unit 3 (728x90)

+
+

Ad Unit 3

+
+
+ + + + + + diff --git a/modules/mediagoBidAdapter.js b/modules/mediagoBidAdapter.js index 7c1db69b869..c5fd2189cb9 100644 --- a/modules/mediagoBidAdapter.js +++ b/modules/mediagoBidAdapter.js @@ -33,7 +33,6 @@ const GVLID = 1020; // const ENDPOINT_URL = '/api/bid?tn='; export const storage = getStorageManager({bidderCode: BIDDER_CODE}); const globals = {}; -const itemMaps = {}; /* ----- mguid:start ------ */ export const COOKIE_KEY_MGUID = '__mguid_'; @@ -139,7 +138,7 @@ function getItems(validBidRequests, bidderRequest) { const bidFloor = getBidFloor(req); const gpid = utils.deepAccess(req, 'ortb2Imp.ext.gpid') || - utils.deepAccess(req, 'params.placementId', 0); + utils.deepAccess(req, 'params.placementId', ''); const gdprConsent = {}; if (bidderRequest && bidderRequest.gdprConsent) { @@ -156,7 +155,8 @@ function getItems(validBidRequests, bidderRequest) { // if (mediaTypes.native) {} // banner广告类型 if (mediaTypes.banner) { - const id = '' + (i + 1); + // fix id is not unique where there are multiple requests in the same page + const id = getProperty(req, 'bidId') || ('' + (i + 1) + Math.random().toString(36).substring(2, 15)); ret = { id: id, bidfloor: bidFloor, @@ -177,10 +177,6 @@ function getItems(validBidRequests, bidderRequest) { }, tagid: req.params && req.params.tagid }; - itemMaps[id] = { - req, - ret - }; } return ret; @@ -217,7 +213,7 @@ function getParam(validBidRequests, bidderRequest) { const isMobile = getDevice() ? 1 : 0; // input test status by Publisher. more frequently for test true req const isTest = validBidRequests[0].params.test || 0; - const auctionId = getProperty(bidderRequest, 'auctionId'); + const bidderRequestId = getProperty(bidderRequest, 'bidderRequestId'); const items = getItems(validBidRequests, bidderRequest); const domain = utils.deepAccess(bidderRequest, 'refererInfo.domain') || document.domain; @@ -233,8 +229,7 @@ function getParam(validBidRequests, bidderRequest) { if (items && items.length) { const c = { - // TODO: fix auctionId leak: https://github.com/prebid/Prebid.js/issues/9781 - id: 'mgprebidjs_' + auctionId, + id: 'mgprebidjs_' + bidderRequestId, test: +isTest, at: 1, cur: ['USD'], @@ -295,7 +290,6 @@ function getParam(validBidRequests, bidderRequest) { export const spec = { code: BIDDER_CODE, gvlid: GVLID, - // aliases: ['ex'], // short code /** * Determines whether or not the given bid request is valid. * @@ -345,10 +339,9 @@ export const spec = { const bidResponses = []; for (const bid of bids) { const impid = getProperty(bid, 'impid'); - if (itemMaps[impid]) { - const bidId = getProperty(itemMaps[impid], 'req', 'bidId'); + if (impid) { const bidResponse = { - requestId: bidId, + requestId: getProperty(bid, 'impid'), cpm: getProperty(bid, 'price'), width: getProperty(bid, 'w'), height: getProperty(bid, 'h'), diff --git a/test/spec/modules/mediagoBidAdapter_spec.js b/test/spec/modules/mediagoBidAdapter_spec.js index 6a1e588e886..8c4c6bc0f3a 100644 --- a/test/spec/modules/mediagoBidAdapter_spec.js +++ b/test/spec/modules/mediagoBidAdapter_spec.js @@ -200,7 +200,7 @@ describe('mediago:BidAdapterTests', function () { bid: [ { id: '6e28cfaf115a354ea1ad8e1304d6d7b8', - impid: '1', + impid: '54d73f19c9d47a', price: 0.087581, adm: adm, cid: '1339145', From d9cd7358d7ada4b07aab9de3219a5a03c4adb06a Mon Sep 17 00:00:00 2001 From: Anastasiia Pankiv <153929408+anastasiiapankivFS@users.noreply.github.com> Date: Wed, 14 Jan 2026 23:08:22 +0200 Subject: [PATCH 105/248] Fix: 'render' is not a function (#14304) --- src/creativeRenderers.js | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/creativeRenderers.js b/src/creativeRenderers.js index 1297b2da4b6..dcbfd2b40ba 100644 --- a/src/creativeRenderers.js +++ b/src/creativeRenderers.js @@ -17,9 +17,22 @@ export const getCreativeRenderer = (function() { const src = getCreativeRendererSource(bidResponse); if (!renderers.hasOwnProperty(src)) { renderers[src] = new PbPromise((resolve) => { - const iframe = createInvisibleIframe(); - iframe.srcdoc = ``; - iframe.onload = () => resolve(iframe.contentWindow.render); + const iframe = createInvisibleIframe() + iframe.srcdoc = ` + + `; + const listenerForRendererReady = (event) => { + if (event.source !== iframe.contentWindow) return; + if (event.data?.type === `RENDERER_READY_${bidResponse.adId}`) { + window.removeEventListener('message', listenerForRendererReady); + resolve(iframe.contentWindow.render); + } + } + window.addEventListener('message', listenerForRendererReady); document.body.appendChild(iframe); }) } From 8493b1fe8594d04635b63cfa0ce389dd9bccd9f0 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Wed, 14 Jan 2026 13:09:13 -0800 Subject: [PATCH 106/248] Core: add argument to requestBids event (#13634) * Core: add argument to requestBids event * Fix lint * filter adUnits before REQUEST_BIDS event * fix lint --- src/prebid.ts | 61 ++++++++++++----- test/spec/unit/pbjs_api_spec.js | 112 ++++++++++++++++++++++++++++++++ 2 files changed, 156 insertions(+), 17 deletions(-) diff --git a/src/prebid.ts b/src/prebid.ts index 3d5883cf294..c282155c8d1 100644 --- a/src/prebid.ts +++ b/src/prebid.ts @@ -772,26 +772,36 @@ declare module './events' { /** * Fired when `requestBids` is called. */ - [REQUEST_BIDS]: []; + [REQUEST_BIDS]: [RequestBidsOptions]; } } export const requestBids = (function() { - const delegate = hook('async', function (reqBidOptions: PrivRequestBidsOptions): void { - let { bidsBackHandler, timeout, adUnits, adUnitCodes, labels, auctionId, ttlBuffer, ortb2, metrics, defer } = reqBidOptions ?? {}; - events.emit(REQUEST_BIDS); - const cbTimeout = timeout || config.getConfig('bidderTimeout'); + function filterAdUnits(adUnits, adUnitCodes) { if (adUnitCodes != null && !Array.isArray(adUnitCodes)) { adUnitCodes = [adUnitCodes]; } - if (adUnitCodes && adUnitCodes.length) { - // if specific adUnitCodes supplied filter adUnits for those codes - adUnits = adUnits.filter(unit => adUnitCodes.includes(unit.code)); + if (adUnitCodes == null || (Array.isArray(adUnitCodes) && adUnitCodes.length === 0)) { + return { + included: adUnits, + excluded: [], + adUnitCodes: adUnits.map(au => au.code).filter(uniques) + } } else { - // otherwise derive adUnitCodes from adUnits - adUnitCodes = adUnits && adUnits.map(unit => unit.code); + adUnitCodes = adUnitCodes.filter(uniques); + return Object.assign({ + adUnitCodes + }, adUnits.reduce(({included, excluded}, adUnit) => { + (adUnitCodes.includes(adUnit.code) ? included : excluded).push(adUnit); + return {included, excluded}; + }, {included: [], excluded: []})) } - adUnitCodes = adUnitCodes.filter(uniques); + } + + const delegate = hook('async', function (reqBidOptions: PrivRequestBidsOptions): void { + let { bidsBackHandler, timeout, adUnits, adUnitCodes, labels, auctionId, ttlBuffer, ortb2, metrics, defer } = reqBidOptions ?? {}; + const cbTimeout = timeout || config.getConfig('bidderTimeout'); + ({included: adUnits, adUnitCodes} = filterAdUnits(adUnits, adUnitCodes)); let ortb2Fragments = { global: mergeDeep({}, config.getAnyConfig('ortb2') || {}, ortb2 || {}), bidder: Object.fromEntries(Object.entries(config.getBidderConfig()).map(([bidder, cfg]) => [bidder, deepClone(cfg.ortb2)]).filter(([_, ortb2]) => ortb2 != null)) @@ -811,13 +821,30 @@ export const requestBids = (function() { // if the request does not specify adUnits, clone the global adUnit array; // otherwise, if the caller goes on to use addAdUnits/removeAdUnits, any asynchronous logic // in any hook might see their effects. - const req = options as PrivRequestBidsOptions; - const adUnits = req.adUnits || pbjsInstance.adUnits; - req.adUnits = (Array.isArray(adUnits) ? adUnits.slice() : [adUnits]); + const adUnits = options.adUnits || pbjsInstance.adUnits; + options.adUnits = (Array.isArray(adUnits) ? adUnits.slice() : [adUnits]); + + const metrics = newMetrics(); + metrics.checkpoint('requestBids'); + + const {included, excluded, adUnitCodes} = filterAdUnits(adUnits, options.adUnitCodes); + + events.emit(REQUEST_BIDS, Object.assign(options, { + adUnits: included, + adUnitCodes + })); - req.metrics = newMetrics(); - req.metrics.checkpoint('requestBids'); - req.defer = defer({ promiseFactory: (r) => new Promise(r)}) + // ad units that were filtered out are re-included here, then filtered out again in `delegate` + // this is to avoid breaking requestBids hook that expect all ad units in the request (such as priceFloors) + + const req = Object.assign({}, options, { + adUnits: options.adUnits.slice().concat(excluded), + // because of this double filtering logic, it's not clear + // what it means for an event handler to modify adUnitCodes - so don't allow it + adUnitCodes, + metrics, + defer: defer({promiseFactory: (r) => new Promise(r)}) + }); delegate.call(this, req); return req.defer.promise; }))); diff --git a/test/spec/unit/pbjs_api_spec.js b/test/spec/unit/pbjs_api_spec.js index 3a439f7eb04..0ae2f29aa9b 100644 --- a/test/spec/unit/pbjs_api_spec.js +++ b/test/spec/unit/pbjs_api_spec.js @@ -27,6 +27,7 @@ import {deepAccess, deepSetValue, generateUUID} from '../../../src/utils.js'; import {getCreativeRenderer} from '../../../src/creativeRenderers.js'; import {BID_STATUS, EVENTS, GRANULARITY_OPTIONS, PB_LOCATOR, TARGETING_KEYS} from 'src/constants.js'; import {getBidToRender} from '../../../src/adRendering.js'; +import {getGlobal} from '../../../src/prebidGlobal.js'; var assert = require('chai').assert; var expect = require('chai').expect; @@ -1640,6 +1641,117 @@ describe('Unit: Prebid Module', function () { sinon.assert.called(spec.onTimeout); }); + describe('requestBids event', () => { + beforeEach(() => { + sandbox.stub(events, 'emit'); + }); + + it('should be emitted with request', async () => { + const request = { + adUnits + } + await runAuction(request); + sinon.assert.calledWith(events.emit, EVENTS.REQUEST_BIDS, request); + }); + + it('should provide a request object when not supplied to requestBids()', async () => { + getGlobal().addAdUnits(adUnits); + try { + await runAuction(); + sinon.assert.calledWith(events.emit, EVENTS.REQUEST_BIDS, sinon.match({ + adUnits + })); + } finally { + adUnits.map(au => au.code).forEach(getGlobal().removeAdUnit) + } + }); + + it('should not leak internal state', async () => { + const request = { + adUnits + }; + await runAuction(Object.assign({}, request)); + expect(events.emit.args[0][1].metrics).to.not.exist; + }); + + describe('ad unit filter', () => { + let au, request; + + function requestBidsHook(next, req) { + request = req; + next(req); + } + before(() => { + pbjsModule.requestBids.before(requestBidsHook, 999); + }) + after(() => { + pbjsModule.requestBids.getHooks({hook: requestBidsHook}).remove(); + }) + + beforeEach(() => { + request = null; + au = { + ...adUnits[0], + code: 'au' + } + adUnits.push(au); + }); + it('should filter adUnits by code', async () => { + await runAuction({ + adUnits, + adUnitCodes: ['au'] + }); + sinon.assert.calledWith(events.emit, EVENTS.REQUEST_BIDS, sinon.match({ + adUnits: [au], + })); + }); + it('should still pass unfiltered ad units to requestBids', () => { + runAuction({ + adUnits: adUnits.slice(), + adUnitCodes: ['au'] + }); + expect(request.adUnits).to.have.deep.members(adUnits); + }); + + it('should allow event handlers to add ad units', () => { + const extraAu = { + ...adUnits[0], + code: 'extra' + } + events.emit.callsFake((evt, request) => { + request.adUnits.push(extraAu) + }); + runAuction({ + adUnits: adUnits.slice(), + adUnitCodes: ['au'] + }); + expect(request.adUnits).to.have.deep.members([...adUnits, extraAu]); + }); + + it('should allow event handlers to remove ad units', () => { + events.emit.callsFake((evt, request) => { + request.adUnits = []; + }); + runAuction({ + adUnits: adUnits.slice(), + adUnitCodes: ['au'] + }); + expect(request.adUnits).to.eql([adUnits[0]]); + }); + + it('should NOT allow event handlers to modify adUnitCodes', () => { + events.emit.callsFake((evt, request) => { + request.adUnitCodes = ['other'] + }); + runAuction({ + adUnits, + adUnitCodes: ['au'] + }); + expect(request.adUnitCodes).to.eql(['au']); + }) + }); + }) + it('should execute `onSetTargeting` after setTargetingForGPTAsync', async function () { const bidId = 1; const auctionId = 1; From f6238b5408cb30e70511d74cf6d3680a0bae054b Mon Sep 17 00:00:00 2001 From: pm-abhinav-deshpande Date: Thu, 15 Jan 2026 02:40:01 +0530 Subject: [PATCH 107/248] PubMatic Bid Adapter: Removal of PAAPI support (#14297) * PubMatic RTD Provider: Plugin based architectural changes * PubMatic RTD Provider: Minor changes to the Plugins * PubMatic RTD Provider: Moved configJsonManager to the RTD provider * PubMatic RTD Provider: Move bidderOptimisation to one file * Adding testcases for floorProvider.js for floorPlugin * PubMatic RTD provider: Update endpoint to actual after testing * Adding test cases for floorProvider * Adding test cases for config * PubMatic RTD provider: Handle the getTargetting effectively * Pubmatic RTD Provider: Handle null case * Adding test cases for floorProviders * fixing linting issues * Fixing linting and other errors * RTD provider: Update pubmaticRtdProvider.js * RTD Provider: Update pubmaticRtdProvider_spec.js * RTD Provider: Dynamic Timeout Plugin * RTD Provider: Dynamic Timeout Plugin Updated with new schema * RTD Provider: Plugin changes * RTD Provider: Dynamic Timeout fixes * RTD Provider: Plugin changes * RTD Provider: Plugin changes * RTD Provider: Plugin changes (cherry picked from commit d440ca6ae01af946e6f019c6aa98d6026f2ea565) * RTD Provider: Plugin changes for Dynamic Timeout * RTD PRovider: Test cases : PubmaticUTils test cases and * RTD PRovider: Plugin Manager test cases * RTD Provider: Lint issues and Spec removed * RTD Provider: Dynamic TImeout Test cases * Add unit test cases for unifiedPricingRule.js * RTD Provider: Fixes for Floor and UPR working * RTD Provider: test cases updated * Dynamic timeout comments added * Remove bidder optimization * PubMatic RTD Provider: Handle Empty object case for floor data * RTD Provider: Update the priority for dynamic timeout rules * Dynamic timeout: handle default skipRate * Dynamic Timeout - Handle Negative values gracefully with 500 Default threshold * Review comments resolved * Comments added * Update pubmaticRtdProvider_Example.html * Fix lint & test cases * Update default UPR multiplier value * Remove comments * Adding DOW * Update pubmaticUtils.js * Update pubmaticRtdProvider.js * Added hourOfDay and cases to spec * Pubmatic RTD: update logic of ortb2Fragments.bidder * removed continueAuction functionality * Fixed lint error isFn imported but not used * PAAPI code removal initial commit * Moved all PAAPI removal logic to single condition, added PAAPI object to removal as well * Added individual check+delete for paapi related keys in pubmatic bid adapter. --------- Co-authored-by: Nitin Shirsat Co-authored-by: pm-nitin-shirsat <107102698+pm-nitin-shirsat@users.noreply.github.com> Co-authored-by: Tanishka Vishwakarma Co-authored-by: Komal Kumari Co-authored-by: priyankadeshmane Co-authored-by: pm-priyanka-deshmane <107103300+pm-priyanka-deshmane@users.noreply.github.com> --- modules/pubmaticBidAdapter.js | 13 +++------- test/spec/modules/pubmaticBidAdapter_spec.js | 27 ++++++++++++-------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/modules/pubmaticBidAdapter.js b/modules/pubmaticBidAdapter.js index 2a326867a4a..f23665670e9 100644 --- a/modules/pubmaticBidAdapter.js +++ b/modules/pubmaticBidAdapter.js @@ -99,6 +99,9 @@ const converter = ortbConverter({ if (pmzoneid) imp.ext.pmZoneId = pmzoneid; setImpTagId(imp, adSlot.trim(), hashedKey); setImpFields(imp); + imp.ext?.ae != null && delete imp.ext.ae; + imp.ext?.igs != null && delete imp.ext.igs; + imp.ext?.paapi != null && delete imp.ext.paapi; // check for battr data types ['banner', 'video', 'native'].forEach(key => { if (imp[key]?.battr && !Array.isArray(imp[key].battr)) { @@ -851,16 +854,6 @@ export const spec = { */ interpretResponse: (response, request) => { const { bids } = converter.fromORTB({ response: response.body, request: request.data }); - const fledgeAuctionConfigs = deepAccess(response.body, 'ext.fledge_auction_configs'); - if (fledgeAuctionConfigs) { - return { - bids, - paapi: Object.entries(fledgeAuctionConfigs).map(([bidId, cfg]) => ({ - bidId, - config: { auctionSignals: {}, ...cfg } - })) - }; - } return bids; }, diff --git a/test/spec/modules/pubmaticBidAdapter_spec.js b/test/spec/modules/pubmaticBidAdapter_spec.js index 3f2fb212381..2ed65dd7311 100644 --- a/test/spec/modules/pubmaticBidAdapter_spec.js +++ b/test/spec/modules/pubmaticBidAdapter_spec.js @@ -501,6 +501,23 @@ describe('PubMatic adapter', () => { expect(imp[0].ext.pbcode).to.equal(validBidRequests[0].adUnitCode); }); + it('should not include ae or igs in imp.ext', () => { + const bidWithAe = utils.deepClone(validBidRequests[0]); + bidWithAe.ortb2Imp = bidWithAe.ortb2Imp || {}; + bidWithAe.ortb2Imp.ext = bidWithAe.ortb2Imp.ext || {}; + bidWithAe.ortb2Imp.ext.ae = 1; + bidWithAe.ortb2Imp.ext.igs = { ae: 1, biddable: 1 }; + bidWithAe.ortb2Imp.ext.paapi = { requestedSize: { width: 300, height: 250 } }; + + const req = spec.buildRequests([bidWithAe], bidderRequest); + const { imp } = req?.data; + expect(imp).to.be.an('array'); + expect(imp[0]).to.have.property('ext'); + expect(imp[0].ext).to.not.have.property('ae'); + expect(imp[0].ext).to.not.have.property('igs'); + expect(imp[0].ext).to.not.have.property('paapi'); + }); + it('should add bidfloor if kadfloor is present in parameters', () => { const request = spec.buildRequests(validBidRequests, bidderRequest); const { imp } = request?.data; @@ -1174,16 +1191,6 @@ describe('PubMatic adapter', () => { }); }); - describe('FLEDGE', () => { - it('should not send imp.ext.ae when FLEDGE is disabled, ', () => { - const request = spec.buildRequests(validBidRequests, bidderRequest); - expect(request.data).to.have.property('imp'); - expect(request.data.imp).to.be.an('array'); - expect(request.data.imp[0]).to.have.property('ext'); - expect(request.data.imp[0].ext).to.not.have.property('ae'); - }); - }) - describe('cpm adjustment', () => { beforeEach(() => { global.cpmAdjustment = {}; From f23794fbc6f483120c31518505b27233fa6fb632 Mon Sep 17 00:00:00 2001 From: Fatih Kaya Date: Thu, 15 Jan 2026 00:11:10 +0300 Subject: [PATCH 108/248] AdMatic Bid Adapter : ortb2Imp added (#14294) * Admatic Bidder Adaptor * Update admaticBidAdapter.md * Update admaticBidAdapter.md * remove floor parameter * Update admaticBidAdapter.js * Admatic Bid Adapter: alias and bid floor features activated * Admatic adapter: host param control changed * Alias name changed. * Revert "Admatic adapter: host param control changed" This reverts commit de7ac85981b1ba3ad8c5d1dc95c5dadbdf5b9895. * added alias feature and host param * Revert "added alias feature and host param" This reverts commit 6ec8f4539ea6be403a0d7e08dad5c7a5228f28a1. * Revert "Alias name changed." This reverts commit 661c54f9b2397e8f25c257144d73161e13466281. * Revert "Admatic Bid Adapter: alias and bid floor features activated" This reverts commit 7a2e0e29c49e2f876b68aafe886b336fe2fe6fcb. * Revert "Update admaticBidAdapter.js" This reverts commit 7a845b7151bbb08addfb58ea9bd5b44167cc8a4e. * Revert "remove floor parameter" This reverts commit 7a23b055ccd4ea23d23e73248e82b21bc6f69d90. * Admatic adapter: host param control && Add new Bidder * Revert "Admatic adapter: host param control && Add new Bidder" This reverts commit 3c797b120c8e0fe2b851381300ac5c4b1f92c6e2. * commit new features * Update admaticBidAdapter.js * updated for coverage * sync updated * Update adloader.js * AdMatic Bidder: development of user sync url * Update admaticBidAdapter.js * Set currency for AdserverCurrency: bug fix * Update admaticBidAdapter.js * update * admatic adapter video params update * Update admaticBidAdapter.js * update * Update admaticBidAdapter.js * update * update * Update admaticBidAdapter_spec.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Revert "Update admaticBidAdapter.js" This reverts commit 1216892fe55e5ab24dda8e045ea007ee6bb40ff8. * Revert "Update admaticBidAdapter.js" This reverts commit b1929ece33bb4040a3bcd6b9332b50335356829c. * Revert "Update admaticBidAdapter_spec.js" This reverts commit 1ca659798b0c9b912634b1673e15e54e547b81e7. * Revert "update" This reverts commit 689ce9d21e08c27be49adb35c5fd5205aef5c35c. * Revert "update" This reverts commit f381a453f9389bebd58dcfa719e9ec17f939f338. * Revert "Update admaticBidAdapter.js" This reverts commit 38fd7abec701d8a4750f9e95eaeb40fb67e9f0e6. * Revert "update" This reverts commit a5316e74b612a5b2cd16cf42586334321fc87770. * Revert "Update admaticBidAdapter.js" This reverts commit 60a28cae302b711366dab0bff9f49b11862fb8ee. * Revert "admatic adapter video params update" This reverts commit 31e69e88fd9355e143f736754ac2e47fe49b65b6. * update * Update admaticBidAdapter.js * Update admaticBidAdapter_spec.js * mime_type add * add native adapter * AdMatic Adapter: Consent Management * added gvlid * Update admaticBidAdapter.js * admatic cur update * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * admatic sync update * Update admaticBidAdapter.js * Revert "Update admaticBidAdapter.js" This reverts commit 11e053f0743f2df0b88bb2010f8c26b08653516a. * Revert "Update admaticBidAdapter.js" This reverts commit 11e053f0743f2df0b88bb2010f8c26b08653516a. --- modules/admaticBidAdapter.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/admaticBidAdapter.js b/modules/admaticBidAdapter.js index d3f28af5f2c..4e75f7e583f 100644 --- a/modules/admaticBidAdapter.js +++ b/modules/admaticBidAdapter.js @@ -364,8 +364,11 @@ function buildRequestObject(bid) { reqObj.mediatype = bid.mediaTypes.native; } + reqObj.ext = reqObj.ext || {}; + if (deepAccess(bid, 'ortb2Imp.ext')) { - reqObj.ext = bid.ortb2Imp.ext; + Object.assign(reqObj.ext, bid.ortb2Imp.ext); + reqObj.ext.ortb2Imp = bid.ortb2Imp; } reqObj.id = getBidIdParameter('bidId', bid); From 544df0f7c7c57eac235abf579051fe2916bc1098 Mon Sep 17 00:00:00 2001 From: Samuel Adu Date: Wed, 14 Jan 2026 21:16:57 +0000 Subject: [PATCH 109/248] NodalsAi RTD Module: Prevent engine reference on auctions 2+ (#14303) * NodalsAi RTD Module: Prevent engine reference on auctions 2+ * linting --------- Co-authored-by: slimkrazy --- modules/nodalsAiRtdProvider.js | 10 +++- test/spec/modules/nodalsAiRtdProvider_spec.js | 58 +++++++++++++++++++ 2 files changed, 65 insertions(+), 3 deletions(-) diff --git a/modules/nodalsAiRtdProvider.js b/modules/nodalsAiRtdProvider.js index 8cf0df0bde2..104e91ab851 100644 --- a/modules/nodalsAiRtdProvider.js +++ b/modules/nodalsAiRtdProvider.js @@ -11,7 +11,7 @@ const GVLID = 1360; const ENGINE_VESION = '1.x.x'; const PUB_ENDPOINT_ORIGIN = 'https://nodals.io'; const LOCAL_STORAGE_KEY = 'signals.nodals.ai'; -const STORAGE_TTL = 3600; // 1 hour in seconds +const DEFAULT_STORAGE_TTL = 3600; // 1 hour in seconds const fillTemplate = (strings, ...keys) => { return function (values) { @@ -204,7 +204,11 @@ class NodalsAiRtdProvider { } #getEngine() { - return window?.$nodals?.adTargetingEngine[ENGINE_VESION]; + try { + return window?.$nodals?.adTargetingEngine?.[ENGINE_VESION]; + } catch (error) { + return undefined; + } } #setOverrides(params) { @@ -320,7 +324,7 @@ class NodalsAiRtdProvider { #dataIsStale(dataEnvelope) { const currentTime = Date.now(); const dataTime = dataEnvelope.createdAt || 0; - const staleThreshold = this.#overrides?.storageTTL ?? dataEnvelope?.data?.meta?.ttl ?? STORAGE_TTL; + const staleThreshold = this.#overrides?.storageTTL ?? dataEnvelope?.data?.meta?.ttl ?? DEFAULT_STORAGE_TTL; return currentTime - dataTime >= (staleThreshold * 1000); } diff --git a/test/spec/modules/nodalsAiRtdProvider_spec.js b/test/spec/modules/nodalsAiRtdProvider_spec.js index 486822f3934..9155e07b2ff 100644 --- a/test/spec/modules/nodalsAiRtdProvider_spec.js +++ b/test/spec/modules/nodalsAiRtdProvider_spec.js @@ -965,4 +965,62 @@ describe('NodalsAI RTD Provider', () => { expect(server.requests.length).to.equal(0); }); }); + + describe('#getEngine()', () => { + it('should return undefined when $nodals object does not exist', () => { + // Setup data in storage to avoid triggering fetchData + setDataInLocalStorage({ + data: successPubEndpointResponse, + createdAt: Date.now(), + }); + + delete window.$nodals; + const result = nodalsAiRtdSubmodule.getTargetingData([], validConfig, permissiveUserConsent); + expect(result).to.deep.equal({}); + }); + + it('should return undefined when adTargetingEngine object does not exist', () => { + // Setup data in storage to avoid triggering fetchData + setDataInLocalStorage({ + data: successPubEndpointResponse, + createdAt: Date.now(), + }); + + window.$nodals = {}; + const result = nodalsAiRtdSubmodule.getTargetingData([], validConfig, permissiveUserConsent); + expect(result).to.deep.equal({}); + }); + + it('should return undefined when specific engine version does not exist', () => { + // Setup data in storage to avoid triggering fetchData + setDataInLocalStorage({ + data: successPubEndpointResponse, + createdAt: Date.now(), + }); + + window.$nodals = { + adTargetingEngine: {} + }; + const result = nodalsAiRtdSubmodule.getTargetingData([], validConfig, permissiveUserConsent); + expect(result).to.deep.equal({}); + }); + + it('should return undefined when property access throws an error', () => { + // Setup data in storage to avoid triggering fetchData + setDataInLocalStorage({ + data: successPubEndpointResponse, + createdAt: Date.now(), + }); + + Object.defineProperty(window, '$nodals', { + get() { + throw new Error('Access denied'); + }, + configurable: true + }); + const result = nodalsAiRtdSubmodule.getTargetingData([], validConfig, permissiveUserConsent); + expect(result).to.deep.equal({}); + delete window.$nodals; + }); + }); }); From 8d4c6e7b2f27e039c4ef805e64d61fe6462202e4 Mon Sep 17 00:00:00 2001 From: pm-azhar-mulla <75726247+pm-azhar-mulla@users.noreply.github.com> Date: Thu, 15 Jan 2026 02:48:12 +0530 Subject: [PATCH 110/248] Chrome AI Summarizer User Activation Handling (#14292) * userActivation handling for ChromeAI * Updated test cases --------- Co-authored-by: pm-azhar-mulla --- integrationExamples/chromeai/japanese.html | 4 +- modules/chromeAiRtdProvider.js | 31 +++++- test/spec/modules/chromeAiRtdProvider_spec.js | 96 ++++++++++--------- 3 files changed, 82 insertions(+), 49 deletions(-) diff --git a/integrationExamples/chromeai/japanese.html b/integrationExamples/chromeai/japanese.html index fd212b03550..3d7c5954090 100644 --- a/integrationExamples/chromeai/japanese.html +++ b/integrationExamples/chromeai/japanese.html @@ -135,8 +135,8 @@ enabled: true }, summarizer:{ - enabled: false, - length: 190 + enabled: true, + length: "medium" } }, }, diff --git a/modules/chromeAiRtdProvider.js b/modules/chromeAiRtdProvider.js index 98d429af936..9fd2d4c6639 100644 --- a/modules/chromeAiRtdProvider.js +++ b/modules/chromeAiRtdProvider.js @@ -1,7 +1,7 @@ import { submodule } from '../src/hook.js'; import { logError, mergeDeep, logMessage, deepSetValue, deepAccess } from '../src/utils.js'; -import {getStorageManager} from '../src/storageManager.js'; -import {MODULE_TYPE_RTD} from '../src/activities/modules.js'; +import { getStorageManager } from '../src/storageManager.js'; +import { MODULE_TYPE_RTD } from '../src/activities/modules.js'; /* global LanguageDetector, Summarizer */ /** @@ -14,6 +14,7 @@ export const CONSTANTS = Object.freeze({ LOG_PRE_FIX: 'ChromeAI-Rtd-Provider:', STORAGE_KEY: 'chromeAi_detected_data', // Single key for both language and keywords MIN_TEXT_LENGTH: 20, + ACTIVATION_EVENTS: ['click', 'keydown', 'mousedown', 'touchend', 'pointerdown', 'pointerup'], DEFAULT_CONFIG: { languageDetector: { enabled: true, @@ -31,7 +32,7 @@ export const CONSTANTS = Object.freeze({ } }); -export const storage = getStorageManager({moduleType: MODULE_TYPE_RTD, moduleName: CONSTANTS.SUBMODULE_NAME}); +export const storage = getStorageManager({ moduleType: MODULE_TYPE_RTD, moduleName: CONSTANTS.SUBMODULE_NAME }); let moduleConfig = JSON.parse(JSON.stringify(CONSTANTS.DEFAULT_CONFIG)); let detectedKeywords = null; // To store generated summary/keywords @@ -299,6 +300,30 @@ const initSummarizer = async () => { return false; } + // If the model is not 'available' (needs download), it typically requires a user gesture. + // We check availability and defer if needed. + try { + const availability = await Summarizer.availability(); + const needsDownload = availability !== 'available' && availability !== 'unavailable'; // 'after-download', 'downloading', etc. + + if (needsDownload && !navigator.userActivation?.isActive) { + logMessage(`${CONSTANTS.LOG_PRE_FIX} Summarizer needs download (${availability}) but user inactive. Deferring init...`); + + const onUserActivation = () => { + CONSTANTS.ACTIVATION_EVENTS.forEach(evt => window.removeEventListener(evt, onUserActivation)); + logMessage(`${CONSTANTS.LOG_PRE_FIX} User activation detected. Retrying initSummarizer...`); + // Retry initialization with fresh gesture + initSummarizer(); + }; + + CONSTANTS.ACTIVATION_EVENTS.forEach(evt => window.addEventListener(evt, onUserActivation, { once: true })); + + return false; // Return false to not block main init, will retry later + } + } catch (e) { + logError(`${CONSTANTS.LOG_PRE_FIX} Error checking Summarizer availability:`, e); + } + const summaryText = await detectSummary(pageText, moduleConfig.summarizer); if (summaryText) { // The API returns a single summary string. We treat this string as a single keyword. diff --git a/test/spec/modules/chromeAiRtdProvider_spec.js b/test/spec/modules/chromeAiRtdProvider_spec.js index c723eac6346..744f09ed4df 100644 --- a/test/spec/modules/chromeAiRtdProvider_spec.js +++ b/test/spec/modules/chromeAiRtdProvider_spec.js @@ -3,7 +3,7 @@ import * as utils from 'src/utils.js'; import { config } from 'src/config.js'; import * as storageManager from 'src/storageManager.js'; -describe('Chrome AI RTD Provider', function() { +describe('Chrome AI RTD Provider', function () { // Set up sandbox for all stubs const sandbox = sinon.createSandbox(); // Mock storage manager @@ -34,7 +34,7 @@ describe('Chrome AI RTD Provider', function() { let mockTopDocument; let querySelectorStub; - beforeEach(function() { + beforeEach(function () { // Reset sandbox for each test sandbox.reset(); @@ -86,21 +86,21 @@ describe('Chrome AI RTD Provider', function() { // Mock global Chrome AI API constructors and their methods // LanguageDetector - const MockLanguageDetectorFn = function() { /* This constructor body isn't called by the module */ }; + const MockLanguageDetectorFn = function () { /* This constructor body isn't called by the module */ }; Object.defineProperty(MockLanguageDetectorFn, 'name', { value: 'LanguageDetector', configurable: true }); MockLanguageDetectorFn.availability = sandbox.stub().resolves('available'); // Default to 'available' MockLanguageDetectorFn.create = sandbox.stub().resolves(mockLanguageDetectorInstance); self.LanguageDetector = MockLanguageDetectorFn; // Summarizer - const MockSummarizerFn = function() { /* This constructor body isn't called by the module */ }; + const MockSummarizerFn = function () { /* This constructor body isn't called by the module */ }; Object.defineProperty(MockSummarizerFn, 'name', { value: 'Summarizer', configurable: true }); MockSummarizerFn.availability = sandbox.stub().resolves('available'); // Default to 'available' MockSummarizerFn.create = sandbox.stub().resolves(mockSummarizerInstance); self.Summarizer = MockSummarizerFn; }); - afterEach(function() { + afterEach(function () { // Restore original globals if (originalLanguageDetector) { self.LanguageDetector = originalLanguageDetector; @@ -119,18 +119,18 @@ describe('Chrome AI RTD Provider', function() { }); // Test basic module structure - describe('Module Structure', function() { - it('should have required methods', function() { + describe('Module Structure', function () { + it('should have required methods', function () { expect(chromeAiRtdProvider.chromeAiSubmodule.name).to.equal('chromeAi'); expect(typeof chromeAiRtdProvider.chromeAiSubmodule.init).to.equal('function'); expect(typeof chromeAiRtdProvider.chromeAiSubmodule.getBidRequestData).to.equal('function'); }); - it('should have the correct module name', function() { + it('should have the correct module name', function () { expect(chromeAiRtdProvider.chromeAiSubmodule.name).to.equal('chromeAi'); }); - it('should have the correct constants', function() { + it('should have the correct constants', function () { expect(chromeAiRtdProvider.CONSTANTS).to.be.an('object'); expect(chromeAiRtdProvider.CONSTANTS.SUBMODULE_NAME).to.equal('chromeAi'); expect(chromeAiRtdProvider.CONSTANTS.STORAGE_KEY).to.equal('chromeAi_detected_data'); @@ -139,33 +139,37 @@ describe('Chrome AI RTD Provider', function() { }); // Test initialization - describe('Initialization (init function)', function() { - beforeEach(function() { + describe('Initialization (init function)', function () { + beforeEach(function () { // Simulate empty localStorage for init tests mockStorage.getDataFromLocalStorage.withArgs(chromeAiRtdProvider.CONSTANTS.STORAGE_KEY).returns(null); // Reset call history for setDataInLocalStorage if needed, or ensure it's clean mockStorage.setDataInLocalStorage.resetHistory(); }); - afterEach(function() { + afterEach(function () { // Clean up localStorage stubs if necessary, or reset to default behavior mockStorage.getDataFromLocalStorage.withArgs(chromeAiRtdProvider.CONSTANTS.STORAGE_KEY).returns(null); // Reset to default for other describe blocks mockStorage.setDataInLocalStorage.resetHistory(); + + try { + delete navigator.userActivation; + } catch (e) { } }); - it('should handle LanguageDetector API unavailability (when availability() returns unavailable)', function() { + it('should handle LanguageDetector API unavailability (when availability() returns unavailable)', function () { // Ensure LanguageDetector constructor itself is available (which it is by beforeEach setup) // Configure its availability() method to return 'unavailable' for this test sandbox.stub(chromeAiRtdProvider, 'getPrioritizedLanguageData').returns(null); self.LanguageDetector.availability.resolves('unavailable'); - return chromeAiRtdProvider.chromeAiSubmodule.init({ params: { languageDetector: { enabled: true } } }).then(function(result) { + return chromeAiRtdProvider.chromeAiSubmodule.init({ params: { languageDetector: { enabled: true } } }).then(function (result) { // The init might still resolve to true if other features (like summarizer if enabled & available) initialize successfully. // We are checking that the specific error for LanguageDetector being unavailable is logged. expect(logErrorStub.calledWith(sinon.match('ChromeAI-Rtd-Provider: LanguageDetector is unavailable.'))).to.be.true; }); }); - it('should attempt language detection if no prior language data (default config)', async function() { + it('should attempt language detection if no prior language data (default config)', async function () { // Ensure getPrioritizedLanguageData returns null to force detection path sandbox.stub(chromeAiRtdProvider, 'getPrioritizedLanguageData').returns(null); @@ -180,17 +184,21 @@ describe('Chrome AI RTD Provider', function() { expect(mockLanguageDetectorInstance.detect.called).to.be.true; }); - it('should handle Summarizer API unavailability (when availability() returns unavailable)', function() { + it('should handle Summarizer API unavailability (when availability() returns unavailable)', function () { self.Summarizer.availability.resolves('unavailable'); - return chromeAiRtdProvider.chromeAiSubmodule.init({ params: { summarizer: { enabled: true } } }).then(function(result) { + return chromeAiRtdProvider.chromeAiSubmodule.init({ params: { summarizer: { enabled: true } } }).then(function (result) { expect(logErrorStub.calledWith(sinon.match('ChromeAI-Rtd-Provider: Summarizer is unavailable.'))).to.be.true; // Init might still resolve to true if other features initialize successfully. }); }); - it('should attempt model download if Summarizer availability is "after-download"', function() { + it('should attempt model download if Summarizer availability is "after-download"', function () { self.Summarizer.availability.resolves('after-download'); + // Mock active user to allow download + try { + Object.defineProperty(navigator, 'userActivation', { value: { isActive: true }, configurable: true, writable: true }); + } catch (e) { } return chromeAiRtdProvider.chromeAiSubmodule.init({ params: { summarizer: { enabled: true } } }).then(() => { expect(self.Summarizer.create.called).to.be.true; @@ -198,13 +206,13 @@ describe('Chrome AI RTD Provider', function() { }); }); - it('should return a promise', function() { + it('should return a promise', function () { const result = chromeAiRtdProvider.chromeAiSubmodule.init({}); expect(result).to.be.an.instanceof(Promise); return result; // Ensure Mocha waits for the promise }); - it('should initialize with custom config', function() { + it('should initialize with custom config', function () { const customConfig = { params: { languageDetector: { @@ -220,13 +228,13 @@ describe('Chrome AI RTD Provider', function() { } }; - return chromeAiRtdProvider.chromeAiSubmodule.init(customConfig).then(function(result) { + return chromeAiRtdProvider.chromeAiSubmodule.init(customConfig).then(function (result) { expect(typeof result).to.equal('boolean'); expect(logMessageStub.calledWith(sinon.match('Initializing with config'))).to.be.true; }); }); - it('should handle disabled features in config', function() { + it('should handle disabled features in config', function () { const disabledConfig = { params: { languageDetector: { enabled: false }, @@ -234,7 +242,7 @@ describe('Chrome AI RTD Provider', function() { } }; - return chromeAiRtdProvider.chromeAiSubmodule.init(disabledConfig).then(function(result) { + return chromeAiRtdProvider.chromeAiSubmodule.init(disabledConfig).then(function (result) { expect(result).to.be.true; expect(logMessageStub.calledWith(sinon.match('Language detection disabled by config'))).to.be.true; expect(logMessageStub.calledWith(sinon.match('Summarizer disabled by config.'))).to.be.true; @@ -243,31 +251,31 @@ describe('Chrome AI RTD Provider', function() { }); // Test storage functions - describe('Storage Functions', function() { - beforeEach(function() { + describe('Storage Functions', function () { + beforeEach(function () { mockStorage.getDataFromLocalStorage.resetHistory(); mockStorage.setDataInLocalStorage.resetHistory(); mockStorage.setDataInLocalStorage.returns(true); // Default success }); - describe('chromeAiRtdProvider._getChromeAiDataFromLocalStorage', function() { - it('should return null if localStorage is not available', function() { + describe('chromeAiRtdProvider._getChromeAiDataFromLocalStorage', function () { + it('should return null if localStorage is not available', function () { mockStorage.hasLocalStorage.returns(false); expect(chromeAiRtdProvider._getChromeAiDataFromLocalStorage(mockPageUrl)).to.be.null; }); - it('should return null if localStorage is not enabled', function() { + it('should return null if localStorage is not enabled', function () { mockStorage.localStorageIsEnabled.returns(false); expect(chromeAiRtdProvider._getChromeAiDataFromLocalStorage(mockPageUrl)).to.be.null; }); - it('should return null if no data in localStorage for the URL', function() { + it('should return null if no data in localStorage for the URL', function () { mockStorage.getDataFromLocalStorage.withArgs(chromeAiRtdProvider.CONSTANTS.STORAGE_KEY).returns(JSON.stringify({ 'other/url': {} })); expect(chromeAiRtdProvider._getChromeAiDataFromLocalStorage(mockPageUrl)).to.be.null; }); }); - describe('chromeAiRtdProvider.storeDetectedKeywords', function() { - it('should return false if keywords are not provided or empty', function() { + describe('chromeAiRtdProvider.storeDetectedKeywords', function () { + it('should return false if keywords are not provided or empty', function () { expect(chromeAiRtdProvider.storeDetectedKeywords(null, mockPageUrl)).to.be.false; expect(chromeAiRtdProvider.storeDetectedKeywords([], mockPageUrl)).to.be.false; expect(logMessageStub.calledWith(sinon.match('No valid keywords array to store'))).to.be.true; @@ -276,20 +284,20 @@ describe('Chrome AI RTD Provider', function() { }); // Test language detection main function - describe('chromeAiRtdProvider.detectLanguage (main function)', function() { - it('should detect language using Chrome AI API', async function() { + describe('chromeAiRtdProvider.detectLanguage (main function)', function () { + it('should detect language using Chrome AI API', async function () { const result = await chromeAiRtdProvider.detectLanguage('This is a test text'); expect(result).to.deep.equal({ language: 'en', confidence: 0.9 }); expect(mockLanguageDetectorInstance.detect.calledOnceWith('This is a test text')).to.be.true; }); - it('should return null if API is not available', async function() { + it('should return null if API is not available', async function () { self.LanguageDetector.create.resolves(null); // Simulate API creation failure const result = await chromeAiRtdProvider.detectLanguage('This is a test text'); expect(result).to.be.null; }); - it('should return null if confidence is below threshold', async function() { + it('should return null if confidence is below threshold', async function () { mockLanguageDetectorInstance.detect.resolves([{ detectedLanguage: 'en', confidence: 0.5 }]); // Need to re-init to pick up the new default config confidence if it changed, or set it explicitly await chromeAiRtdProvider.chromeAiSubmodule.init({ params: { languageDetector: { confidence: 0.8 } } }); @@ -298,11 +306,11 @@ describe('Chrome AI RTD Provider', function() { }); }); // Test getBidRequestData - describe('getBidRequestData', function() { + describe('getBidRequestData', function () { let reqBidsConfigObj; let onDoneSpy; - beforeEach(async function() { + beforeEach(async function () { // Initialize the module with a config that enables both features for these tests await chromeAiRtdProvider.chromeAiSubmodule.init({ params: { @@ -322,18 +330,18 @@ describe('Chrome AI RTD Provider', function() { logMessageStub.resetHistory(); }); - it('should call the callback function', function() { + it('should call the callback function', function () { chromeAiRtdProvider.chromeAiSubmodule.getBidRequestData(reqBidsConfigObj, onDoneSpy); expect(onDoneSpy.calledOnce).to.be.true; }); - it('should ensure ortb2Fragments.global exists', function() { + it('should ensure ortb2Fragments.global exists', function () { delete reqBidsConfigObj.ortb2Fragments.global; chromeAiRtdProvider.chromeAiSubmodule.getBidRequestData(reqBidsConfigObj, onDoneSpy); expect(reqBidsConfigObj.ortb2Fragments.global).to.be.an('object'); }); - it('should not enrich language if already present in auction ORTB2', function() { + it('should not enrich language if already present in auction ORTB2', function () { // Set language directly in ortb2Fragments for this test case utils.deepSetValue(reqBidsConfigObj.ortb2Fragments.global, 'site.content.language', 'es'); @@ -344,7 +352,7 @@ describe('Chrome AI RTD Provider', function() { expect(logMessageStub.calledWith(sinon.match('Lang already in auction ORTB2 at path'))).to.be.true; }); - it('should enrich with detected keywords if not in auction ORTB2', async function() { + it('should enrich with detected keywords if not in auction ORTB2', async function () { mockSummarizerInstance.summarize.resolves('newly detected summary'); await chromeAiRtdProvider.chromeAiSubmodule.init({ // Re-init to trigger summarizer with mocks params: { @@ -357,7 +365,7 @@ describe('Chrome AI RTD Provider', function() { expect(utils.deepAccess(reqBidsConfigObj.ortb2Fragments.global, 'site.content.ext.keywords')).to.deep.equal(['newly detected summary']); }); - it('should not enrich keywords if already present in auction ORTB2', function() { + it('should not enrich keywords if already present in auction ORTB2', function () { // Set keywords directly in ortb2Fragments for this test case utils.deepSetValue(reqBidsConfigObj.ortb2Fragments.global, 'site.content.ext.keywords', ['existing', 'keywords']); @@ -368,7 +376,7 @@ describe('Chrome AI RTD Provider', function() { expect(logMessageStub.calledWith(sinon.match('Keywords already present in auction_ortb2 at path'))).to.be.true; }); - it('should handle language detection disabled', function() { + it('should handle language detection disabled', function () { chromeAiRtdProvider.chromeAiSubmodule.init({ params: { languageDetector: { enabled: false } } }); // Re-init with lang disabled chromeAiRtdProvider.chromeAiSubmodule.getBidRequestData(reqBidsConfigObj, onDoneSpy); expect(logMessageStub.calledWith(sinon.match('Language detection disabled, no lang enrichment.'))).to.be.true; @@ -380,7 +388,7 @@ describe('Chrome AI RTD Provider', function() { expect(utils.deepAccess(reqBidsConfigObj.ortb2Fragments.global, langPath)).to.be.undefined; }); - it('should handle summarizer disabled', function() { + it('should handle summarizer disabled', function () { chromeAiRtdProvider.chromeAiSubmodule.init({ params: { summarizer: { enabled: false } } }); // Re-init with summarizer disabled chromeAiRtdProvider.chromeAiSubmodule.getBidRequestData(reqBidsConfigObj, onDoneSpy); expect(logMessageStub.calledWith(sinon.match('Summarizer disabled, no keyword enrichment.'))).to.be.true; From 0096bcfc0d24f0b2953fe14922023ce9a1985b36 Mon Sep 17 00:00:00 2001 From: Denis Logachov Date: Wed, 14 Jan 2026 23:21:39 +0200 Subject: [PATCH 111/248] Adkernel Bid Adapter: add AppMonsta alias (#14298) --- modules/adkernelBidAdapter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/adkernelBidAdapter.js b/modules/adkernelBidAdapter.js index 4bf011cc12c..d43002fd35e 100644 --- a/modules/adkernelBidAdapter.js +++ b/modules/adkernelBidAdapter.js @@ -107,7 +107,8 @@ export const spec = { {code: 'smartyexchange'}, {code: 'infinety'}, {code: 'qohere'}, - {code: 'blutonic'} + {code: 'blutonic'}, + {code: 'appmonsta', gvlid: 1283} ], supportedMediaTypes: [BANNER, VIDEO, NATIVE], From 01c1b595dff4dd068eac5dc4e65063bb0216c006 Mon Sep 17 00:00:00 2001 From: mosherBT <115997271+mosherBT@users.noreply.github.com> Date: Wed, 14 Jan 2026 16:25:47 -0500 Subject: [PATCH 112/248] Optable RTD Module: Read cache for targeting data (#14291) * Optable RTD Module: Read cache for targeting data * window.localStorage * change procedure * update logic * more changes * Add logs * logs * empty eids wait --------- Co-authored-by: Patrick McCann --- .../gpt/optableRtdProvider_example.html | 2 +- modules/optableRtdProvider.js | 243 +++++++++++++++--- test/spec/modules/optableRtdProvider_spec.js | 77 +++++- 3 files changed, 278 insertions(+), 44 deletions(-) diff --git a/integrationExamples/gpt/optableRtdProvider_example.html b/integrationExamples/gpt/optableRtdProvider_example.html index 5e1c8a77cb9..fc3cd5e1cb5 100644 --- a/integrationExamples/gpt/optableRtdProvider_example.html +++ b/integrationExamples/gpt/optableRtdProvider_example.html @@ -137,7 +137,7 @@ }, debug: true, // use only for testing, remove in production realTimeData: { - auctionDelay: 1000, // should be set lower in production use + auctionDelay: 200, // should be set lower in production use dataProviders: [ { name: 'optable', diff --git a/modules/optableRtdProvider.js b/modules/optableRtdProvider.js index 29638ba3a94..9ba9064b3c5 100644 --- a/modules/optableRtdProvider.js +++ b/modules/optableRtdProvider.js @@ -2,12 +2,24 @@ import {MODULE_TYPE_RTD} from '../src/activities/modules.js'; import {loadExternalScript} from '../src/adloader.js'; import {config} from '../src/config.js'; import {submodule} from '../src/hook.js'; +import {getStorageManager} from '../src/storageManager.js'; import {deepAccess, mergeDeep, prefixLog} from '../src/utils.js'; const MODULE_NAME = 'optable'; export const LOG_PREFIX = `[${MODULE_NAME} RTD]:`; const optableLog = prefixLog(LOG_PREFIX); const {logMessage, logWarn, logError} = optableLog; +const storage = getStorageManager({moduleType: MODULE_TYPE_RTD, moduleName: MODULE_NAME}); + +// localStorage keys and event names used by the Optable SDK +/** localStorage key for fallback cache (raw SDK targeting data) */ +const OPTABLE_CACHE_KEY = 'optable-cache:targeting'; +/** Event fired when targeting data changes (raw SDK data) */ +const OPTABLE_TARGETING_EVENT = 'optable-targeting:change'; +/** localStorage key used to store resolved targeting data (wrapper-manipulated) */ +const OPTABLE_RESOLVED_KEY = 'OPTABLE_RESOLVED'; +/** Event fired when wrapper-manipulated targeting data is ready */ +const OPTABLE_RESOLVED_EVENT = 'optableResolved'; /** * Extracts the parameters for Optable RTD module from the config object passed at instantiation @@ -18,6 +30,7 @@ export const parseConfig = (moduleConfig) => { const adserverTargeting = deepAccess(moduleConfig, 'params.adserverTargeting', true); const handleRtd = deepAccess(moduleConfig, 'params.handleRtd', null); const instance = deepAccess(moduleConfig, 'params.instance', null); + const skipCache = deepAccess(moduleConfig, 'params.skipCache', false); // If present, trim the bundle URL if (typeof bundleUrl === 'string') { @@ -27,15 +40,15 @@ export const parseConfig = (moduleConfig) => { // Verify that bundleUrl is a valid URL: only secure (HTTPS) URLs are allowed if (typeof bundleUrl === 'string' && bundleUrl.length && !bundleUrl.startsWith('https://')) { logError('Invalid URL format for bundleUrl in moduleConfig. Only HTTPS URLs are allowed.'); - return {bundleUrl: null, adserverTargeting, handleRtd: null}; + return {bundleUrl: null, adserverTargeting, handleRtd: null, skipCache}; } if (handleRtd && typeof handleRtd !== 'function') { logError('handleRtd must be a function'); - return {bundleUrl, adserverTargeting, handleRtd: null}; + return {bundleUrl, adserverTargeting, handleRtd: null, skipCache}; } - const result = {bundleUrl, adserverTargeting, handleRtd}; + const result = {bundleUrl, adserverTargeting, handleRtd, skipCache}; if (instance !== null) { result.instance = instance; } @@ -43,31 +56,148 @@ export const parseConfig = (moduleConfig) => { } /** - * Wait for Optable SDK event to fire with targeting data - * @param {string} eventName Name of the event to listen for + * Check for cached targeting data from localStorage + * Priority order: + * 1. localStorage[OPTABLE_RESOLVED_KEY] - Wrapper-manipulated data (most accurate) + * 2. localStorage[OPTABLE_CACHE_KEY] - Raw SDK targeting data (fallback) + * @returns {Object|null} Cached targeting data if found, null otherwise + */ +const checkLocalStorageCache = () => { + // 1. Check for wrapper-manipulated resolved data (highest priority) + const resolvedData = storage.getDataFromLocalStorage(OPTABLE_RESOLVED_KEY); + logMessage(`localStorage[${OPTABLE_RESOLVED_KEY}]: ${resolvedData ? 'EXISTS' : 'NOT FOUND'}`); + if (resolvedData) { + try { + const parsedData = JSON.parse(resolvedData); + const eidCount = parsedData?.ortb2?.user?.eids?.length || 0; + logMessage(`${OPTABLE_RESOLVED_KEY} has ${eidCount} EIDs`); + if (eidCount > 0) { + logMessage(`Using cached wrapper-resolved data from ${OPTABLE_RESOLVED_KEY} with ${eidCount} EIDs`); + return parsedData; + } else { + logMessage(`Skipping ${OPTABLE_RESOLVED_KEY} cache: empty eids - will wait for targeting event`); + } + } catch (e) { + logWarn(`Failed to parse ${OPTABLE_RESOLVED_KEY} from localStorage`, e); + } + } + + // 2. Check for fallback cache data (raw SDK data) + const cacheData = storage.getDataFromLocalStorage(OPTABLE_CACHE_KEY); + logMessage(`localStorage[${OPTABLE_CACHE_KEY}]: ${cacheData ? 'EXISTS' : 'NOT FOUND'}`); + if (cacheData) { + try { + const parsedData = JSON.parse(cacheData); + const eidCount = parsedData?.ortb2?.user?.eids?.length || 0; + logMessage(`${OPTABLE_CACHE_KEY} has ${eidCount} EIDs`); + if (eidCount > 0) { + logMessage(`Using cached raw SDK data from ${OPTABLE_CACHE_KEY} with ${eidCount} EIDs`); + return parsedData; + } else { + logMessage(`Skipping ${OPTABLE_CACHE_KEY} cache: empty eids - will wait for targeting event`); + } + } catch (e) { + logWarn(`Failed to parse ${OPTABLE_CACHE_KEY} from localStorage`, e); + } + } + + logMessage('No valid cache data found in localStorage'); + return null; +}; + +/** + * Wait for Optable SDK targeting event to fire with targeting data + * @param {boolean} skipCache If true, skip checking cached data * @returns {Promise} Promise that resolves with targeting data or null */ -const waitForOptableEvent = (eventName) => { +const waitForOptableEvent = (skipCache = false) => { + const startTime = Date.now(); return new Promise((resolve) => { - const optableBundle = /** @type {Object} */ (window.optable); - const cachedData = optableBundle?.instance?.targetingFromCache(); + // If skipCache is true, skip all cached data checks and wait for events + if (!skipCache) { + // 1. FIRST: Check instance.targetingFromCache() - wrapper has priority and can override cache + const optableBundle = /** @type {Object} */ (window.optable); + const instanceData = optableBundle?.instance?.targetingFromCache(); + const hasData = instanceData?.ortb2 ? 'ortb2 data present' : 'no data'; + logMessage(`SDK instance.targetingFromCache() returned: ${hasData}`); - if (cachedData && cachedData.ortb2) { - logMessage('Optable SDK already has cached data'); - resolve(cachedData); - return; + if (instanceData && instanceData.ortb2) { + const eidCount = instanceData.ortb2?.user?.eids?.length || 0; + logMessage(`SDK instance.targetingFromCache() has ${eidCount} EIDs`); + if (eidCount > 0) { + logMessage(`Resolved targeting from SDK instance cache with ${eidCount} EIDs`); + resolve(instanceData); + return; + } else { + logMessage('Skipping SDK instance cache: empty eids - will wait for targeting event'); + } + } + + // 2. THEN: Check localStorage cache sources + const cachedData = checkLocalStorageCache(); + if (cachedData) { + const eidCount = cachedData?.ortb2?.user?.eids?.length || 0; + logMessage(`Resolved targeting from localStorage cache with ${eidCount} EIDs`); + resolve(cachedData); + return; + } + } else { + logMessage('skipCache parameter enabled: bypassing all cache sources'); } - const eventListener = (event) => { - logMessage(`Received ${eventName} event`); - // Extract targeting data from event detail + // 3. FINALLY: Wait for targeting events (targeting call will be made by SDK) + // Priority: optableResolved (wrapper-manipulated) > optable-targeting:change (raw SDK) + logMessage('No cached data found - waiting for targeting call from Optable SDK'); + logMessage('Targeting call is being made by Optable SDK...'); + + const cleanup = () => { + window.removeEventListener(OPTABLE_RESOLVED_EVENT, resolvedEventListener); + window.removeEventListener(OPTABLE_TARGETING_EVENT, targetingEventListener); + }; + + const resolvedEventListener = (event) => { + const elapsed = Date.now() - startTime; + logMessage(`Event received: ${OPTABLE_RESOLVED_EVENT} (wrapper-resolved targeting) after ${elapsed}ms`); const targetingData = event.detail; - window.removeEventListener(eventName, eventListener); + const eidCount = targetingData?.ortb2?.user?.eids?.length || 0; + logMessage(`Targeting call returned ${eidCount} EIDs after ${elapsed}ms`); + cleanup(); + logMessage(`Resolved targeting from ${OPTABLE_RESOLVED_EVENT} event with ${eidCount} EIDs`); resolve(targetingData); }; - window.addEventListener(eventName, eventListener); - logMessage(`Waiting for ${eventName} event`); + const targetingEventListener = (event) => { + const elapsed = Date.now() - startTime; + logMessage(`Event received: ${OPTABLE_TARGETING_EVENT} (raw SDK targeting) after ${elapsed}ms`); + + // Check if resolved data already exists in localStorage + const resolvedData = storage.getDataFromLocalStorage(OPTABLE_RESOLVED_KEY); + logMessage(`Checking localStorage[${OPTABLE_RESOLVED_KEY}] after ${OPTABLE_TARGETING_EVENT}: ${resolvedData ? 'present' : 'not found'}`); + if (resolvedData) { + try { + const parsedData = JSON.parse(resolvedData); + const eidCount = parsedData?.ortb2?.user?.eids?.length || 0; + logMessage(`Targeting call returned ${eidCount} EIDs after ${elapsed}ms`); + logMessage(`Resolved targeting from ${OPTABLE_RESOLVED_KEY} after ${OPTABLE_TARGETING_EVENT} event`); + cleanup(); + resolve(parsedData); + return; + } catch (e) { + logWarn(`Failed to parse ${OPTABLE_RESOLVED_KEY}`, e); + } + } + + // No resolved data, use the targeting:change data + const eidCount = event.detail?.ortb2?.user?.eids?.length || 0; + logMessage(`Targeting call returned ${eidCount} EIDs after ${elapsed}ms`); + logMessage(`Resolved targeting from ${OPTABLE_TARGETING_EVENT} event detail with ${eidCount} EIDs`); + cleanup(); + resolve(event.detail); + }; + + window.addEventListener(OPTABLE_RESOLVED_EVENT, resolvedEventListener); + window.addEventListener(OPTABLE_TARGETING_EVENT, targetingEventListener); + logMessage(`Event listeners registered: waiting for ${OPTABLE_RESOLVED_EVENT} or ${OPTABLE_TARGETING_EVENT}`); }); }; @@ -76,22 +206,47 @@ const waitForOptableEvent = (eventName) => { * @param reqBidsConfigObj Bid request configuration object * @param optableExtraData Additional data to be used by the Optable SDK * @param mergeFn Function to merge data + * @param skipCache If true, skip checking cached data * @returns {Promise} */ -export const defaultHandleRtd = async (reqBidsConfigObj, optableExtraData, mergeFn) => { +export const defaultHandleRtd = async (reqBidsConfigObj, optableExtraData, mergeFn, skipCache = false) => { // Wait for the Optable SDK to dispatch targeting data via event - let targetingData = await waitForOptableEvent('optable-targeting:change'); + let targetingData = await waitForOptableEvent(skipCache); if (!targetingData || !targetingData.ortb2) { - logWarn('No targeting data found'); + logWarn('defaultHandleRtd: no valid targeting data available (missing ortb2)'); return; } + const eidCount = targetingData.ortb2?.user?.eids?.length || 0; + logMessage(`defaultHandleRtd: received targeting data with ${eidCount} EIDs`); + logMessage('Merging ortb2 data into global ORTB2 fragments...'); + mergeFn( reqBidsConfigObj.ortb2Fragments.global, targetingData.ortb2, ); - logMessage('Prebid\'s global ORTB2 object after merge: ', reqBidsConfigObj.ortb2Fragments.global); + + logMessage(`EIDs merged into ortb2Fragments.global.user.eids (${eidCount} EIDs)`); + + // Also add to user.ext.eids for additional coverage + if (targetingData.ortb2.user?.eids) { + const targetORTB2 = reqBidsConfigObj.ortb2Fragments.global; + targetORTB2.user = targetORTB2.user ?? {}; + targetORTB2.user.ext = targetORTB2.user.ext ?? {}; + targetORTB2.user.ext.eids = targetORTB2.user.ext.eids ?? []; + + logMessage('Also merging Optable EIDs into ortb2.user.ext.eids...'); + + // Merge EIDs into user.ext.eids + targetingData.ortb2.user.eids.forEach(eid => { + targetORTB2.user.ext.eids.push(eid); + }); + + logMessage(`EIDs also available in ortb2.user.ext.eids (${eidCount} EIDs)`); + } + + logMessage(`SUCCESS: ${eidCount} EIDs will be included in bid requests`); }; /** @@ -100,12 +255,13 @@ export const defaultHandleRtd = async (reqBidsConfigObj, optableExtraData, merge * @param {Object} reqBidsConfigObj Bid request configuration object * @param {Object} optableExtraData Additional data to be used by the Optable SDK * @param {Function} mergeFn Function to merge data + * @param {boolean} skipCache If true, skip checking cached data */ -export const mergeOptableData = async (handleRtdFn, reqBidsConfigObj, optableExtraData, mergeFn) => { +export const mergeOptableData = async (handleRtdFn, reqBidsConfigObj, optableExtraData, mergeFn, skipCache = false) => { if (handleRtdFn.constructor.name === 'AsyncFunction') { - await handleRtdFn(reqBidsConfigObj, optableExtraData, mergeFn); + await handleRtdFn(reqBidsConfigObj, optableExtraData, mergeFn, skipCache); } else { - handleRtdFn(reqBidsConfigObj, optableExtraData, mergeFn); + handleRtdFn(reqBidsConfigObj, optableExtraData, mergeFn, skipCache); } }; @@ -118,36 +274,36 @@ export const mergeOptableData = async (handleRtdFn, reqBidsConfigObj, optableExt export const getBidRequestData = (reqBidsConfigObj, callback, moduleConfig, userConsent) => { try { // Extract the bundle URL from the module configuration - const {bundleUrl, handleRtd} = parseConfig(moduleConfig); + const {bundleUrl, handleRtd, skipCache} = parseConfig(moduleConfig); const handleRtdFn = handleRtd || defaultHandleRtd; const optableExtraData = config.getConfig('optableRtdConfig') || {}; + logMessage(`Configuration: bundleUrl=${bundleUrl ? 'provided' : 'not provided'}, skipCache=${skipCache}, customHandleRtd=${!!handleRtd}`); if (bundleUrl) { // If bundleUrl is present, load the Optable JS bundle // by using the loadExternalScript function - logMessage('Custom bundle URL found in config: ', bundleUrl); + logMessage(`Loading Optable SDK from bundleUrl: ${bundleUrl}`); // Load Optable JS bundle and merge the data loadExternalScript(bundleUrl, MODULE_TYPE_RTD, MODULE_NAME, () => { - logMessage('Successfully loaded Optable JS bundle'); - mergeOptableData(handleRtdFn, reqBidsConfigObj, optableExtraData, mergeDeep).then(callback, callback); + logMessage('Optable SDK loaded successfully from bundleUrl'); + mergeOptableData(handleRtdFn, reqBidsConfigObj, optableExtraData, mergeDeep, skipCache).then(callback, callback); }, document); } else { // At this point, we assume that the Optable JS bundle is already // present on the page. If it is, we can directly merge the data // by passing the callback to the optable.cmd.push function. - logMessage('Custom bundle URL not found in config. ' + - 'Assuming Optable JS bundle is already present on the page'); + logMessage('No bundleUrl configured: assuming Optable SDK already present on page'); window.optable = window.optable || { cmd: [] }; window.optable.cmd.push(() => { - logMessage('Optable JS bundle found on the page'); - mergeOptableData(handleRtdFn, reqBidsConfigObj, optableExtraData, mergeDeep).then(callback, callback); + logMessage('Optable SDK command queue ready: proceeding with data merge'); + mergeOptableData(handleRtdFn, reqBidsConfigObj, optableExtraData, mergeDeep, skipCache).then(callback, callback); }); } } catch (error) { // If an error occurs, log it and call the callback // to continue with the auction - logError(error); + logError('getBidRequestData error: ', error); callback(); } } @@ -163,10 +319,10 @@ export const getBidRequestData = (reqBidsConfigObj, callback, moduleConfig, user export const getTargetingData = (adUnits, moduleConfig, userConsent, auction) => { // Extract `adserverTargeting` and `instance` from the module configuration const {adserverTargeting, instance} = parseConfig(moduleConfig); - logMessage('Ad Server targeting: ', adserverTargeting); + logMessage(`Configuration: adserverTargeting=${adserverTargeting}, instance=${instance || 'default (instance)'}`); if (!adserverTargeting) { - logMessage('Ad server targeting is disabled'); + logMessage('adserverTargeting disabled in configuration: returning empty targeting data'); return {}; } @@ -175,17 +331,20 @@ export const getTargetingData = (adUnits, moduleConfig, userConsent, auction) => // Default to 'instance' if not provided const instanceKey = instance || 'instance'; const sdkInstance = window?.optable?.[instanceKey]; + logMessage(`SDK instance lookup at window.optable.${instanceKey}: ${sdkInstance ? 'found' : 'not found'}`); if (!sdkInstance) { - logWarn(`No Optable SDK instance found for: ${instanceKey}`); + logWarn(`SDK instance not available at window.optable.${instanceKey}`); return targetingData; } // Get the Optable targeting data from the cache const optableTargetingData = sdkInstance?.targetingKeyValuesFromCache?.() || targetingData; + const keyCount = Object.keys(optableTargetingData).length; + logMessage(`SDK instance.targetingKeyValuesFromCache() returned ${keyCount} targeting key(s)`); // If no Optable targeting data is found, return an empty object - if (!Object.keys(optableTargetingData).length) { - logWarn('No Optable targeting data found'); + if (!keyCount) { + logWarn('No targeting key-values available from SDK cache'); return targetingData; } @@ -209,17 +368,19 @@ export const getTargetingData = (adUnits, moduleConfig, userConsent, auction) => } }); - logMessage('Optable targeting data: ', targetingData); + const finalAdUnitCount = Object.keys(targetingData).length; + logMessage(`Returning targeting data for ${finalAdUnitCount} ad unit(s) with merged key-values`); return targetingData; }; /** - * Dummy init function + *init function * @param {Object} config Module configuration * @param {boolean} userConsent User consent * @returns true */ const init = (config, userConsent) => { + logMessage('RTD module initialized'); return true; } diff --git a/test/spec/modules/optableRtdProvider_spec.js b/test/spec/modules/optableRtdProvider_spec.js index 271d31d0185..414ce060658 100644 --- a/test/spec/modules/optableRtdProvider_spec.js +++ b/test/spec/modules/optableRtdProvider_spec.js @@ -21,6 +21,7 @@ describe('Optable RTD Submodule', function () { bundleUrl: 'https://cdn.optable.co/bundle.js', adserverTargeting: true, handleRtd: config.params.handleRtd, + skipCache: false, }); }); @@ -49,6 +50,17 @@ describe('Optable RTD Submodule', function () { it('returns null handleRtd if handleRtd is not a function', function () { expect(parseConfig({params: {handleRtd: 'notAFunction'}}).handleRtd).to.be.null; }); + + it('defaults skipCache to false if missing', function () { + expect(parseConfig( + {params: {bundleUrl: 'https://cdn.optable.co/bundle.js'}} + ).skipCache).to.be.false; + }); + + it('parses skipCache correctly when set to true', function () { + const config = {params: {skipCache: true}}; + expect(parseConfig(config).skipCache).to.be.true; + }); }); describe('defaultHandleRtd', function () { @@ -117,6 +129,61 @@ describe('Optable RTD Submodule', function () { await defaultHandleRtd(reqBidsConfigObj, {}, mergeFn); expect(mergeFn.calledWith(reqBidsConfigObj.ortb2Fragments.global, targetingData.ortb2)).to.be.true; }); + + it('skips cache when skipCache is true and waits for events', async function () { + const cachedData = {ortb2: {user: {ext: {optable: 'cachedData'}}}}; + const eventData = {ortb2: {user: {ext: {optable: 'eventData'}}}}; + window.optable.instance.targetingFromCache.returns(cachedData); + + // Dispatch event with targeting data after a short delay + setTimeout(() => { + const event = new CustomEvent('optable-targeting:change', { + detail: eventData + }); + window.dispatchEvent(event); + }, 10); + + await defaultHandleRtd(reqBidsConfigObj, {}, mergeFn, true); + // Should use event data, not cached data + expect(mergeFn.calledWith(reqBidsConfigObj.ortb2Fragments.global, eventData.ortb2)).to.be.true; + expect(window.optable.instance.targetingFromCache.called).to.be.false; + }); + + it('skips cache when instance cache has empty eids and waits for events', async function () { + const cachedDataWithEmptyEids = {ortb2: {user: {eids: []}}}; + const eventData = {ortb2: {user: {eids: [{source: 'optable.co', uids: [{id: 'test-id'}]}]}}}; + window.optable.instance.targetingFromCache.returns(cachedDataWithEmptyEids); + + // Dispatch event with targeting data after a short delay + setTimeout(() => { + const event = new CustomEvent('optable-targeting:change', { + detail: eventData + }); + window.dispatchEvent(event); + }, 10); + + await defaultHandleRtd(reqBidsConfigObj, {}, mergeFn); + // Should use event data, not cached data with empty eids + expect(mergeFn.calledWith(reqBidsConfigObj.ortb2Fragments.global, eventData.ortb2)).to.be.true; + }); + + it('skips cache when instance cache has no eids and waits for events', async function () { + const cachedDataWithNoEids = {ortb2: {user: {}}}; + const eventData = {ortb2: {user: {eids: [{source: 'optable.co', uids: [{id: 'test-id'}]}]}}}; + window.optable.instance.targetingFromCache.returns(cachedDataWithNoEids); + + // Dispatch event with targeting data after a short delay + setTimeout(() => { + const event = new CustomEvent('optable-targeting:change', { + detail: eventData + }); + window.dispatchEvent(event); + }, 10); + + await defaultHandleRtd(reqBidsConfigObj, {}, mergeFn); + // Should use event data, not cached data without eids + expect(mergeFn.calledWith(reqBidsConfigObj.ortb2Fragments.global, eventData.ortb2)).to.be.true; + }); }); describe('mergeOptableData', function () { @@ -135,13 +202,19 @@ describe('Optable RTD Submodule', function () { it('calls handleRtdFn synchronously if it is a regular function', async function () { handleRtdFn = sinon.spy(); await mergeOptableData(handleRtdFn, reqBidsConfigObj, {}, mergeFn); - expect(handleRtdFn.calledOnceWith(reqBidsConfigObj, {}, mergeFn)).to.be.true; + expect(handleRtdFn.calledOnceWith(reqBidsConfigObj, {}, mergeFn, false)).to.be.true; }); it('calls handleRtdFn asynchronously if it is an async function', async function () { handleRtdFn = sinon.stub().resolves(); await mergeOptableData(handleRtdFn, reqBidsConfigObj, {}, mergeFn); - expect(handleRtdFn.calledOnceWith(reqBidsConfigObj, {}, mergeFn)).to.be.true; + expect(handleRtdFn.calledOnceWith(reqBidsConfigObj, {}, mergeFn, false)).to.be.true; + }); + + it('passes skipCache parameter to handleRtdFn', async function () { + handleRtdFn = sinon.spy(); + await mergeOptableData(handleRtdFn, reqBidsConfigObj, {}, mergeFn, true); + expect(handleRtdFn.calledOnceWith(reqBidsConfigObj, {}, mergeFn, true)).to.be.true; }); }); From 753309b9740d8b204260224571a71f9efad3b032 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Wed, 14 Jan 2026 16:31:45 -0500 Subject: [PATCH 113/248] Revert "Optable RTD Module: Read cache for targeting data (#14291)" (#14340) This reverts commit 01c1b595dff4dd068eac5dc4e65063bb0216c006. --- .../gpt/optableRtdProvider_example.html | 2 +- modules/optableRtdProvider.js | 243 +++--------------- test/spec/modules/optableRtdProvider_spec.js | 77 +----- 3 files changed, 44 insertions(+), 278 deletions(-) diff --git a/integrationExamples/gpt/optableRtdProvider_example.html b/integrationExamples/gpt/optableRtdProvider_example.html index fc3cd5e1cb5..5e1c8a77cb9 100644 --- a/integrationExamples/gpt/optableRtdProvider_example.html +++ b/integrationExamples/gpt/optableRtdProvider_example.html @@ -137,7 +137,7 @@ }, debug: true, // use only for testing, remove in production realTimeData: { - auctionDelay: 200, // should be set lower in production use + auctionDelay: 1000, // should be set lower in production use dataProviders: [ { name: 'optable', diff --git a/modules/optableRtdProvider.js b/modules/optableRtdProvider.js index 9ba9064b3c5..29638ba3a94 100644 --- a/modules/optableRtdProvider.js +++ b/modules/optableRtdProvider.js @@ -2,24 +2,12 @@ import {MODULE_TYPE_RTD} from '../src/activities/modules.js'; import {loadExternalScript} from '../src/adloader.js'; import {config} from '../src/config.js'; import {submodule} from '../src/hook.js'; -import {getStorageManager} from '../src/storageManager.js'; import {deepAccess, mergeDeep, prefixLog} from '../src/utils.js'; const MODULE_NAME = 'optable'; export const LOG_PREFIX = `[${MODULE_NAME} RTD]:`; const optableLog = prefixLog(LOG_PREFIX); const {logMessage, logWarn, logError} = optableLog; -const storage = getStorageManager({moduleType: MODULE_TYPE_RTD, moduleName: MODULE_NAME}); - -// localStorage keys and event names used by the Optable SDK -/** localStorage key for fallback cache (raw SDK targeting data) */ -const OPTABLE_CACHE_KEY = 'optable-cache:targeting'; -/** Event fired when targeting data changes (raw SDK data) */ -const OPTABLE_TARGETING_EVENT = 'optable-targeting:change'; -/** localStorage key used to store resolved targeting data (wrapper-manipulated) */ -const OPTABLE_RESOLVED_KEY = 'OPTABLE_RESOLVED'; -/** Event fired when wrapper-manipulated targeting data is ready */ -const OPTABLE_RESOLVED_EVENT = 'optableResolved'; /** * Extracts the parameters for Optable RTD module from the config object passed at instantiation @@ -30,7 +18,6 @@ export const parseConfig = (moduleConfig) => { const adserverTargeting = deepAccess(moduleConfig, 'params.adserverTargeting', true); const handleRtd = deepAccess(moduleConfig, 'params.handleRtd', null); const instance = deepAccess(moduleConfig, 'params.instance', null); - const skipCache = deepAccess(moduleConfig, 'params.skipCache', false); // If present, trim the bundle URL if (typeof bundleUrl === 'string') { @@ -40,15 +27,15 @@ export const parseConfig = (moduleConfig) => { // Verify that bundleUrl is a valid URL: only secure (HTTPS) URLs are allowed if (typeof bundleUrl === 'string' && bundleUrl.length && !bundleUrl.startsWith('https://')) { logError('Invalid URL format for bundleUrl in moduleConfig. Only HTTPS URLs are allowed.'); - return {bundleUrl: null, adserverTargeting, handleRtd: null, skipCache}; + return {bundleUrl: null, adserverTargeting, handleRtd: null}; } if (handleRtd && typeof handleRtd !== 'function') { logError('handleRtd must be a function'); - return {bundleUrl, adserverTargeting, handleRtd: null, skipCache}; + return {bundleUrl, adserverTargeting, handleRtd: null}; } - const result = {bundleUrl, adserverTargeting, handleRtd, skipCache}; + const result = {bundleUrl, adserverTargeting, handleRtd}; if (instance !== null) { result.instance = instance; } @@ -56,148 +43,31 @@ export const parseConfig = (moduleConfig) => { } /** - * Check for cached targeting data from localStorage - * Priority order: - * 1. localStorage[OPTABLE_RESOLVED_KEY] - Wrapper-manipulated data (most accurate) - * 2. localStorage[OPTABLE_CACHE_KEY] - Raw SDK targeting data (fallback) - * @returns {Object|null} Cached targeting data if found, null otherwise - */ -const checkLocalStorageCache = () => { - // 1. Check for wrapper-manipulated resolved data (highest priority) - const resolvedData = storage.getDataFromLocalStorage(OPTABLE_RESOLVED_KEY); - logMessage(`localStorage[${OPTABLE_RESOLVED_KEY}]: ${resolvedData ? 'EXISTS' : 'NOT FOUND'}`); - if (resolvedData) { - try { - const parsedData = JSON.parse(resolvedData); - const eidCount = parsedData?.ortb2?.user?.eids?.length || 0; - logMessage(`${OPTABLE_RESOLVED_KEY} has ${eidCount} EIDs`); - if (eidCount > 0) { - logMessage(`Using cached wrapper-resolved data from ${OPTABLE_RESOLVED_KEY} with ${eidCount} EIDs`); - return parsedData; - } else { - logMessage(`Skipping ${OPTABLE_RESOLVED_KEY} cache: empty eids - will wait for targeting event`); - } - } catch (e) { - logWarn(`Failed to parse ${OPTABLE_RESOLVED_KEY} from localStorage`, e); - } - } - - // 2. Check for fallback cache data (raw SDK data) - const cacheData = storage.getDataFromLocalStorage(OPTABLE_CACHE_KEY); - logMessage(`localStorage[${OPTABLE_CACHE_KEY}]: ${cacheData ? 'EXISTS' : 'NOT FOUND'}`); - if (cacheData) { - try { - const parsedData = JSON.parse(cacheData); - const eidCount = parsedData?.ortb2?.user?.eids?.length || 0; - logMessage(`${OPTABLE_CACHE_KEY} has ${eidCount} EIDs`); - if (eidCount > 0) { - logMessage(`Using cached raw SDK data from ${OPTABLE_CACHE_KEY} with ${eidCount} EIDs`); - return parsedData; - } else { - logMessage(`Skipping ${OPTABLE_CACHE_KEY} cache: empty eids - will wait for targeting event`); - } - } catch (e) { - logWarn(`Failed to parse ${OPTABLE_CACHE_KEY} from localStorage`, e); - } - } - - logMessage('No valid cache data found in localStorage'); - return null; -}; - -/** - * Wait for Optable SDK targeting event to fire with targeting data - * @param {boolean} skipCache If true, skip checking cached data + * Wait for Optable SDK event to fire with targeting data + * @param {string} eventName Name of the event to listen for * @returns {Promise} Promise that resolves with targeting data or null */ -const waitForOptableEvent = (skipCache = false) => { - const startTime = Date.now(); +const waitForOptableEvent = (eventName) => { return new Promise((resolve) => { - // If skipCache is true, skip all cached data checks and wait for events - if (!skipCache) { - // 1. FIRST: Check instance.targetingFromCache() - wrapper has priority and can override cache - const optableBundle = /** @type {Object} */ (window.optable); - const instanceData = optableBundle?.instance?.targetingFromCache(); - const hasData = instanceData?.ortb2 ? 'ortb2 data present' : 'no data'; - logMessage(`SDK instance.targetingFromCache() returned: ${hasData}`); + const optableBundle = /** @type {Object} */ (window.optable); + const cachedData = optableBundle?.instance?.targetingFromCache(); - if (instanceData && instanceData.ortb2) { - const eidCount = instanceData.ortb2?.user?.eids?.length || 0; - logMessage(`SDK instance.targetingFromCache() has ${eidCount} EIDs`); - if (eidCount > 0) { - logMessage(`Resolved targeting from SDK instance cache with ${eidCount} EIDs`); - resolve(instanceData); - return; - } else { - logMessage('Skipping SDK instance cache: empty eids - will wait for targeting event'); - } - } - - // 2. THEN: Check localStorage cache sources - const cachedData = checkLocalStorageCache(); - if (cachedData) { - const eidCount = cachedData?.ortb2?.user?.eids?.length || 0; - logMessage(`Resolved targeting from localStorage cache with ${eidCount} EIDs`); - resolve(cachedData); - return; - } - } else { - logMessage('skipCache parameter enabled: bypassing all cache sources'); + if (cachedData && cachedData.ortb2) { + logMessage('Optable SDK already has cached data'); + resolve(cachedData); + return; } - // 3. FINALLY: Wait for targeting events (targeting call will be made by SDK) - // Priority: optableResolved (wrapper-manipulated) > optable-targeting:change (raw SDK) - logMessage('No cached data found - waiting for targeting call from Optable SDK'); - logMessage('Targeting call is being made by Optable SDK...'); - - const cleanup = () => { - window.removeEventListener(OPTABLE_RESOLVED_EVENT, resolvedEventListener); - window.removeEventListener(OPTABLE_TARGETING_EVENT, targetingEventListener); - }; - - const resolvedEventListener = (event) => { - const elapsed = Date.now() - startTime; - logMessage(`Event received: ${OPTABLE_RESOLVED_EVENT} (wrapper-resolved targeting) after ${elapsed}ms`); + const eventListener = (event) => { + logMessage(`Received ${eventName} event`); + // Extract targeting data from event detail const targetingData = event.detail; - const eidCount = targetingData?.ortb2?.user?.eids?.length || 0; - logMessage(`Targeting call returned ${eidCount} EIDs after ${elapsed}ms`); - cleanup(); - logMessage(`Resolved targeting from ${OPTABLE_RESOLVED_EVENT} event with ${eidCount} EIDs`); + window.removeEventListener(eventName, eventListener); resolve(targetingData); }; - const targetingEventListener = (event) => { - const elapsed = Date.now() - startTime; - logMessage(`Event received: ${OPTABLE_TARGETING_EVENT} (raw SDK targeting) after ${elapsed}ms`); - - // Check if resolved data already exists in localStorage - const resolvedData = storage.getDataFromLocalStorage(OPTABLE_RESOLVED_KEY); - logMessage(`Checking localStorage[${OPTABLE_RESOLVED_KEY}] after ${OPTABLE_TARGETING_EVENT}: ${resolvedData ? 'present' : 'not found'}`); - if (resolvedData) { - try { - const parsedData = JSON.parse(resolvedData); - const eidCount = parsedData?.ortb2?.user?.eids?.length || 0; - logMessage(`Targeting call returned ${eidCount} EIDs after ${elapsed}ms`); - logMessage(`Resolved targeting from ${OPTABLE_RESOLVED_KEY} after ${OPTABLE_TARGETING_EVENT} event`); - cleanup(); - resolve(parsedData); - return; - } catch (e) { - logWarn(`Failed to parse ${OPTABLE_RESOLVED_KEY}`, e); - } - } - - // No resolved data, use the targeting:change data - const eidCount = event.detail?.ortb2?.user?.eids?.length || 0; - logMessage(`Targeting call returned ${eidCount} EIDs after ${elapsed}ms`); - logMessage(`Resolved targeting from ${OPTABLE_TARGETING_EVENT} event detail with ${eidCount} EIDs`); - cleanup(); - resolve(event.detail); - }; - - window.addEventListener(OPTABLE_RESOLVED_EVENT, resolvedEventListener); - window.addEventListener(OPTABLE_TARGETING_EVENT, targetingEventListener); - logMessage(`Event listeners registered: waiting for ${OPTABLE_RESOLVED_EVENT} or ${OPTABLE_TARGETING_EVENT}`); + window.addEventListener(eventName, eventListener); + logMessage(`Waiting for ${eventName} event`); }); }; @@ -206,47 +76,22 @@ const waitForOptableEvent = (skipCache = false) => { * @param reqBidsConfigObj Bid request configuration object * @param optableExtraData Additional data to be used by the Optable SDK * @param mergeFn Function to merge data - * @param skipCache If true, skip checking cached data * @returns {Promise} */ -export const defaultHandleRtd = async (reqBidsConfigObj, optableExtraData, mergeFn, skipCache = false) => { +export const defaultHandleRtd = async (reqBidsConfigObj, optableExtraData, mergeFn) => { // Wait for the Optable SDK to dispatch targeting data via event - let targetingData = await waitForOptableEvent(skipCache); + let targetingData = await waitForOptableEvent('optable-targeting:change'); if (!targetingData || !targetingData.ortb2) { - logWarn('defaultHandleRtd: no valid targeting data available (missing ortb2)'); + logWarn('No targeting data found'); return; } - const eidCount = targetingData.ortb2?.user?.eids?.length || 0; - logMessage(`defaultHandleRtd: received targeting data with ${eidCount} EIDs`); - logMessage('Merging ortb2 data into global ORTB2 fragments...'); - mergeFn( reqBidsConfigObj.ortb2Fragments.global, targetingData.ortb2, ); - - logMessage(`EIDs merged into ortb2Fragments.global.user.eids (${eidCount} EIDs)`); - - // Also add to user.ext.eids for additional coverage - if (targetingData.ortb2.user?.eids) { - const targetORTB2 = reqBidsConfigObj.ortb2Fragments.global; - targetORTB2.user = targetORTB2.user ?? {}; - targetORTB2.user.ext = targetORTB2.user.ext ?? {}; - targetORTB2.user.ext.eids = targetORTB2.user.ext.eids ?? []; - - logMessage('Also merging Optable EIDs into ortb2.user.ext.eids...'); - - // Merge EIDs into user.ext.eids - targetingData.ortb2.user.eids.forEach(eid => { - targetORTB2.user.ext.eids.push(eid); - }); - - logMessage(`EIDs also available in ortb2.user.ext.eids (${eidCount} EIDs)`); - } - - logMessage(`SUCCESS: ${eidCount} EIDs will be included in bid requests`); + logMessage('Prebid\'s global ORTB2 object after merge: ', reqBidsConfigObj.ortb2Fragments.global); }; /** @@ -255,13 +100,12 @@ export const defaultHandleRtd = async (reqBidsConfigObj, optableExtraData, merge * @param {Object} reqBidsConfigObj Bid request configuration object * @param {Object} optableExtraData Additional data to be used by the Optable SDK * @param {Function} mergeFn Function to merge data - * @param {boolean} skipCache If true, skip checking cached data */ -export const mergeOptableData = async (handleRtdFn, reqBidsConfigObj, optableExtraData, mergeFn, skipCache = false) => { +export const mergeOptableData = async (handleRtdFn, reqBidsConfigObj, optableExtraData, mergeFn) => { if (handleRtdFn.constructor.name === 'AsyncFunction') { - await handleRtdFn(reqBidsConfigObj, optableExtraData, mergeFn, skipCache); + await handleRtdFn(reqBidsConfigObj, optableExtraData, mergeFn); } else { - handleRtdFn(reqBidsConfigObj, optableExtraData, mergeFn, skipCache); + handleRtdFn(reqBidsConfigObj, optableExtraData, mergeFn); } }; @@ -274,36 +118,36 @@ export const mergeOptableData = async (handleRtdFn, reqBidsConfigObj, optableExt export const getBidRequestData = (reqBidsConfigObj, callback, moduleConfig, userConsent) => { try { // Extract the bundle URL from the module configuration - const {bundleUrl, handleRtd, skipCache} = parseConfig(moduleConfig); + const {bundleUrl, handleRtd} = parseConfig(moduleConfig); const handleRtdFn = handleRtd || defaultHandleRtd; const optableExtraData = config.getConfig('optableRtdConfig') || {}; - logMessage(`Configuration: bundleUrl=${bundleUrl ? 'provided' : 'not provided'}, skipCache=${skipCache}, customHandleRtd=${!!handleRtd}`); if (bundleUrl) { // If bundleUrl is present, load the Optable JS bundle // by using the loadExternalScript function - logMessage(`Loading Optable SDK from bundleUrl: ${bundleUrl}`); + logMessage('Custom bundle URL found in config: ', bundleUrl); // Load Optable JS bundle and merge the data loadExternalScript(bundleUrl, MODULE_TYPE_RTD, MODULE_NAME, () => { - logMessage('Optable SDK loaded successfully from bundleUrl'); - mergeOptableData(handleRtdFn, reqBidsConfigObj, optableExtraData, mergeDeep, skipCache).then(callback, callback); + logMessage('Successfully loaded Optable JS bundle'); + mergeOptableData(handleRtdFn, reqBidsConfigObj, optableExtraData, mergeDeep).then(callback, callback); }, document); } else { // At this point, we assume that the Optable JS bundle is already // present on the page. If it is, we can directly merge the data // by passing the callback to the optable.cmd.push function. - logMessage('No bundleUrl configured: assuming Optable SDK already present on page'); + logMessage('Custom bundle URL not found in config. ' + + 'Assuming Optable JS bundle is already present on the page'); window.optable = window.optable || { cmd: [] }; window.optable.cmd.push(() => { - logMessage('Optable SDK command queue ready: proceeding with data merge'); - mergeOptableData(handleRtdFn, reqBidsConfigObj, optableExtraData, mergeDeep, skipCache).then(callback, callback); + logMessage('Optable JS bundle found on the page'); + mergeOptableData(handleRtdFn, reqBidsConfigObj, optableExtraData, mergeDeep).then(callback, callback); }); } } catch (error) { // If an error occurs, log it and call the callback // to continue with the auction - logError('getBidRequestData error: ', error); + logError(error); callback(); } } @@ -319,10 +163,10 @@ export const getBidRequestData = (reqBidsConfigObj, callback, moduleConfig, user export const getTargetingData = (adUnits, moduleConfig, userConsent, auction) => { // Extract `adserverTargeting` and `instance` from the module configuration const {adserverTargeting, instance} = parseConfig(moduleConfig); - logMessage(`Configuration: adserverTargeting=${adserverTargeting}, instance=${instance || 'default (instance)'}`); + logMessage('Ad Server targeting: ', adserverTargeting); if (!adserverTargeting) { - logMessage('adserverTargeting disabled in configuration: returning empty targeting data'); + logMessage('Ad server targeting is disabled'); return {}; } @@ -331,20 +175,17 @@ export const getTargetingData = (adUnits, moduleConfig, userConsent, auction) => // Default to 'instance' if not provided const instanceKey = instance || 'instance'; const sdkInstance = window?.optable?.[instanceKey]; - logMessage(`SDK instance lookup at window.optable.${instanceKey}: ${sdkInstance ? 'found' : 'not found'}`); if (!sdkInstance) { - logWarn(`SDK instance not available at window.optable.${instanceKey}`); + logWarn(`No Optable SDK instance found for: ${instanceKey}`); return targetingData; } // Get the Optable targeting data from the cache const optableTargetingData = sdkInstance?.targetingKeyValuesFromCache?.() || targetingData; - const keyCount = Object.keys(optableTargetingData).length; - logMessage(`SDK instance.targetingKeyValuesFromCache() returned ${keyCount} targeting key(s)`); // If no Optable targeting data is found, return an empty object - if (!keyCount) { - logWarn('No targeting key-values available from SDK cache'); + if (!Object.keys(optableTargetingData).length) { + logWarn('No Optable targeting data found'); return targetingData; } @@ -368,19 +209,17 @@ export const getTargetingData = (adUnits, moduleConfig, userConsent, auction) => } }); - const finalAdUnitCount = Object.keys(targetingData).length; - logMessage(`Returning targeting data for ${finalAdUnitCount} ad unit(s) with merged key-values`); + logMessage('Optable targeting data: ', targetingData); return targetingData; }; /** - *init function + * Dummy init function * @param {Object} config Module configuration * @param {boolean} userConsent User consent * @returns true */ const init = (config, userConsent) => { - logMessage('RTD module initialized'); return true; } diff --git a/test/spec/modules/optableRtdProvider_spec.js b/test/spec/modules/optableRtdProvider_spec.js index 414ce060658..271d31d0185 100644 --- a/test/spec/modules/optableRtdProvider_spec.js +++ b/test/spec/modules/optableRtdProvider_spec.js @@ -21,7 +21,6 @@ describe('Optable RTD Submodule', function () { bundleUrl: 'https://cdn.optable.co/bundle.js', adserverTargeting: true, handleRtd: config.params.handleRtd, - skipCache: false, }); }); @@ -50,17 +49,6 @@ describe('Optable RTD Submodule', function () { it('returns null handleRtd if handleRtd is not a function', function () { expect(parseConfig({params: {handleRtd: 'notAFunction'}}).handleRtd).to.be.null; }); - - it('defaults skipCache to false if missing', function () { - expect(parseConfig( - {params: {bundleUrl: 'https://cdn.optable.co/bundle.js'}} - ).skipCache).to.be.false; - }); - - it('parses skipCache correctly when set to true', function () { - const config = {params: {skipCache: true}}; - expect(parseConfig(config).skipCache).to.be.true; - }); }); describe('defaultHandleRtd', function () { @@ -129,61 +117,6 @@ describe('Optable RTD Submodule', function () { await defaultHandleRtd(reqBidsConfigObj, {}, mergeFn); expect(mergeFn.calledWith(reqBidsConfigObj.ortb2Fragments.global, targetingData.ortb2)).to.be.true; }); - - it('skips cache when skipCache is true and waits for events', async function () { - const cachedData = {ortb2: {user: {ext: {optable: 'cachedData'}}}}; - const eventData = {ortb2: {user: {ext: {optable: 'eventData'}}}}; - window.optable.instance.targetingFromCache.returns(cachedData); - - // Dispatch event with targeting data after a short delay - setTimeout(() => { - const event = new CustomEvent('optable-targeting:change', { - detail: eventData - }); - window.dispatchEvent(event); - }, 10); - - await defaultHandleRtd(reqBidsConfigObj, {}, mergeFn, true); - // Should use event data, not cached data - expect(mergeFn.calledWith(reqBidsConfigObj.ortb2Fragments.global, eventData.ortb2)).to.be.true; - expect(window.optable.instance.targetingFromCache.called).to.be.false; - }); - - it('skips cache when instance cache has empty eids and waits for events', async function () { - const cachedDataWithEmptyEids = {ortb2: {user: {eids: []}}}; - const eventData = {ortb2: {user: {eids: [{source: 'optable.co', uids: [{id: 'test-id'}]}]}}}; - window.optable.instance.targetingFromCache.returns(cachedDataWithEmptyEids); - - // Dispatch event with targeting data after a short delay - setTimeout(() => { - const event = new CustomEvent('optable-targeting:change', { - detail: eventData - }); - window.dispatchEvent(event); - }, 10); - - await defaultHandleRtd(reqBidsConfigObj, {}, mergeFn); - // Should use event data, not cached data with empty eids - expect(mergeFn.calledWith(reqBidsConfigObj.ortb2Fragments.global, eventData.ortb2)).to.be.true; - }); - - it('skips cache when instance cache has no eids and waits for events', async function () { - const cachedDataWithNoEids = {ortb2: {user: {}}}; - const eventData = {ortb2: {user: {eids: [{source: 'optable.co', uids: [{id: 'test-id'}]}]}}}; - window.optable.instance.targetingFromCache.returns(cachedDataWithNoEids); - - // Dispatch event with targeting data after a short delay - setTimeout(() => { - const event = new CustomEvent('optable-targeting:change', { - detail: eventData - }); - window.dispatchEvent(event); - }, 10); - - await defaultHandleRtd(reqBidsConfigObj, {}, mergeFn); - // Should use event data, not cached data without eids - expect(mergeFn.calledWith(reqBidsConfigObj.ortb2Fragments.global, eventData.ortb2)).to.be.true; - }); }); describe('mergeOptableData', function () { @@ -202,19 +135,13 @@ describe('Optable RTD Submodule', function () { it('calls handleRtdFn synchronously if it is a regular function', async function () { handleRtdFn = sinon.spy(); await mergeOptableData(handleRtdFn, reqBidsConfigObj, {}, mergeFn); - expect(handleRtdFn.calledOnceWith(reqBidsConfigObj, {}, mergeFn, false)).to.be.true; + expect(handleRtdFn.calledOnceWith(reqBidsConfigObj, {}, mergeFn)).to.be.true; }); it('calls handleRtdFn asynchronously if it is an async function', async function () { handleRtdFn = sinon.stub().resolves(); await mergeOptableData(handleRtdFn, reqBidsConfigObj, {}, mergeFn); - expect(handleRtdFn.calledOnceWith(reqBidsConfigObj, {}, mergeFn, false)).to.be.true; - }); - - it('passes skipCache parameter to handleRtdFn', async function () { - handleRtdFn = sinon.spy(); - await mergeOptableData(handleRtdFn, reqBidsConfigObj, {}, mergeFn, true); - expect(handleRtdFn.calledOnceWith(reqBidsConfigObj, {}, mergeFn, true)).to.be.true; + expect(handleRtdFn.calledOnceWith(reqBidsConfigObj, {}, mergeFn)).to.be.true; }); }); From a8af90cf345385d041122b9d2b0fe638aae4606d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Jan 2026 10:14:19 -0500 Subject: [PATCH 114/248] Bump undici from 6.21.3 to 6.23.0 (#14341) Bumps [undici](https://github.com/nodejs/undici) from 6.21.3 to 6.23.0. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](https://github.com/nodejs/undici/compare/v6.21.3...v6.23.0) --- updated-dependencies: - dependency-name: undici dependency-version: 6.23.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 019161dcd31..5c9d8caf043 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20409,9 +20409,10 @@ } }, "node_modules/undici": { - "version": "6.21.3", + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.23.0.tgz", + "integrity": "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==", "dev": true, - "license": "MIT", "engines": { "node": ">=18.17" } @@ -35077,7 +35078,9 @@ "dev": true }, "undici": { - "version": "6.21.3", + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.23.0.tgz", + "integrity": "sha512-VfQPToRA5FZs/qJxLIinmU59u0r7LXqoJkCzinq3ckNJp3vKEh7jTWN589YQ5+aoAC/TGRLyJLCPKcLQbM8r9g==", "dev": true }, "undici-types": { From bbf7ff215b0c479b6587dde8731e82f025e54ba9 Mon Sep 17 00:00:00 2001 From: mkomorski Date: Thu, 15 Jan 2026 16:35:21 +0100 Subject: [PATCH 115/248] Core: Bidder alwaysHasCapacity flag (#14326) * Core: bidder alwaysHasCapacity flag * lint * add flag to equativBidAdapter * Remove alwaysHasCapacity from bid adapter spec Removed 'alwaysHasCapacity' property from spec. --------- Co-authored-by: Patrick McCann --- src/adapterManager.ts | 5 ++++- src/adapters/bidderFactory.ts | 1 + src/auction.ts | 6 ++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/adapterManager.ts b/src/adapterManager.ts index 037e497400a..15d63d97dbc 100644 --- a/src/adapterManager.ts +++ b/src/adapterManager.ts @@ -195,6 +195,7 @@ export interface BaseBidderRequest { gdprConsent?: ReturnType; uspConsent?: ReturnType; gppConsent?: ReturnType; + alwaysHasCapacity?: boolean; } export interface S2SBidderRequest extends BaseBidderRequest { @@ -606,6 +607,7 @@ const adapterManager = { src: S2S.SRC, refererInfo, metrics, + alwaysHasCapacity: s2sConfig.alwaysHasCapacity, }, s2sParams); if (bidderRequest.bids.length !== 0) { bidRequests.push(bidderRequest); @@ -635,6 +637,7 @@ const adapterManager = { const bidderRequestId = generateUUID(); const pageViewId = getPageViewIdForBidder(bidderCode); const metrics = auctionMetrics.fork(); + const adapter = _bidderRegistry[bidderCode]; const bidderRequest = addOrtb2({ bidderCode, auctionId, @@ -653,8 +656,8 @@ const adapterManager = { timeout: cbTimeout, refererInfo, metrics, + alwaysHasCapacity: adapter?.getSpec?.().alwaysHasCapacity, }); - const adapter = _bidderRegistry[bidderCode]; if (!adapter) { logError(`Trying to make a request for bidder that does not exist: ${bidderCode}`); } diff --git a/src/adapters/bidderFactory.ts b/src/adapters/bidderFactory.ts index bbd42934057..60f21964f88 100644 --- a/src/adapters/bidderFactory.ts +++ b/src/adapters/bidderFactory.ts @@ -157,6 +157,7 @@ export interface BidderSpec extends StorageDisclosure uspConsent: null | ConsentData[typeof CONSENT_USP], gppConsent: null | ConsentData[typeof CONSENT_GPP] ) => ({ type: SyncType, url: string })[]; + alwaysHasCapacity?: boolean; } export type BidAdapter = { diff --git a/src/auction.ts b/src/auction.ts index 3e3d19f35b0..7acd7b8cec9 100644 --- a/src/auction.ts +++ b/src/auction.ts @@ -366,6 +366,12 @@ export function newAuction({adUnits, adUnitCodes, callback, cbTimeout, labels, a let requests = 1; const source = (typeof bidRequest.src !== 'undefined' && bidRequest.src === S2S.SRC) ? 's2s' : bidRequest.bidderCode; + + // if the bidder has alwaysHasCapacity flag set and forceMaxRequestsPerOrigin is false, don't check capacity + if (bidRequest.alwaysHasCapacity && !config.getConfig('forceMaxRequestsPerOrigin')) { + return false; + } + // if we have no previous info on this source just let them through if (sourceInfo[source]) { if (sourceInfo[source].SRA === false) { From dce4841c11018a87c0bcdfce062f43b0089637fa Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Thu, 15 Jan 2026 16:39:59 +0000 Subject: [PATCH 116/248] Prebid 10.21.0 release --- .../codeql/queries/autogen_fpDOMMethod.qll | 4 +- .../queries/autogen_fpEventProperty.qll | 16 ++--- .../queries/autogen_fpGlobalConstructor.qll | 10 +-- .../autogen_fpGlobalObjectProperty0.qll | 52 +++++++-------- .../autogen_fpGlobalObjectProperty1.qll | 2 +- .../queries/autogen_fpGlobalTypeProperty0.qll | 6 +- .../queries/autogen_fpGlobalTypeProperty1.qll | 2 +- .../codeql/queries/autogen_fpGlobalVar.qll | 18 +++--- .../autogen_fpRenderingContextProperty.qll | 30 ++++----- .../queries/autogen_fpSensorProperty.qll | 2 +- .../gpt/x-domain/creative.html | 2 +- metadata/modules.json | 63 ++++++++++++++++--- metadata/modules/33acrossBidAdapter.json | 2 +- metadata/modules/33acrossIdSystem.json | 2 +- metadata/modules/acuityadsBidAdapter.json | 2 +- metadata/modules/adagioBidAdapter.json | 2 +- metadata/modules/adagioRtdProvider.json | 2 +- metadata/modules/adbroBidAdapter.json | 2 +- metadata/modules/addefendBidAdapter.json | 2 +- metadata/modules/adfBidAdapter.json | 2 +- metadata/modules/adfusionBidAdapter.json | 2 +- metadata/modules/adheseBidAdapter.json | 2 +- metadata/modules/adipoloBidAdapter.json | 2 +- metadata/modules/adkernelAdnBidAdapter.json | 2 +- metadata/modules/adkernelBidAdapter.json | 19 ++++-- metadata/modules/admaticBidAdapter.json | 4 +- metadata/modules/admixerBidAdapter.json | 2 +- metadata/modules/admixerIdSystem.json | 2 +- metadata/modules/adnowBidAdapter.json | 2 +- metadata/modules/adnuntiusBidAdapter.json | 2 +- metadata/modules/adnuntiusRtdProvider.json | 2 +- metadata/modules/adotBidAdapter.json | 2 +- metadata/modules/adponeBidAdapter.json | 2 +- metadata/modules/adqueryBidAdapter.json | 2 +- metadata/modules/adqueryIdSystem.json | 2 +- metadata/modules/adrinoBidAdapter.json | 2 +- .../modules/ads_interactiveBidAdapter.json | 2 +- metadata/modules/adtargetBidAdapter.json | 2 +- metadata/modules/adtelligentBidAdapter.json | 6 +- metadata/modules/adtelligentIdSystem.json | 2 +- metadata/modules/aduptechBidAdapter.json | 2 +- metadata/modules/adyoulikeBidAdapter.json | 2 +- metadata/modules/airgridRtdProvider.json | 2 +- metadata/modules/alkimiBidAdapter.json | 2 +- metadata/modules/allegroBidAdapter.json | 18 ++++++ metadata/modules/amxBidAdapter.json | 2 +- metadata/modules/amxIdSystem.json | 2 +- metadata/modules/aniviewBidAdapter.json | 2 +- metadata/modules/anonymisedRtdProvider.json | 2 +- metadata/modules/appStockSSPBidAdapter.json | 2 +- metadata/modules/appierBidAdapter.json | 2 +- metadata/modules/appnexusBidAdapter.json | 10 +-- metadata/modules/appushBidAdapter.json | 2 +- metadata/modules/apstreamBidAdapter.json | 2 +- metadata/modules/audiencerunBidAdapter.json | 2 +- metadata/modules/axisBidAdapter.json | 2 +- metadata/modules/azerionedgeRtdProvider.json | 2 +- metadata/modules/beachfrontBidAdapter.json | 2 +- metadata/modules/beopBidAdapter.json | 2 +- metadata/modules/betweenBidAdapter.json | 2 +- metadata/modules/bidfuseBidAdapter.json | 2 +- metadata/modules/bidmaticBidAdapter.json | 2 +- metadata/modules/bidtheatreBidAdapter.json | 2 +- metadata/modules/bliinkBidAdapter.json | 2 +- metadata/modules/blockthroughBidAdapter.json | 2 +- metadata/modules/blueBidAdapter.json | 2 +- metadata/modules/bmsBidAdapter.json | 2 +- metadata/modules/boldwinBidAdapter.json | 2 +- metadata/modules/bridBidAdapter.json | 2 +- metadata/modules/browsiBidAdapter.json | 2 +- metadata/modules/bucksenseBidAdapter.json | 2 +- metadata/modules/carodaBidAdapter.json | 2 +- metadata/modules/categoryTranslation.json | 2 +- metadata/modules/ceeIdSystem.json | 2 +- metadata/modules/chromeAiRtdProvider.json | 2 +- metadata/modules/clickioBidAdapter.json | 2 +- metadata/modules/clydoBidAdapter.json | 13 ++++ metadata/modules/compassBidAdapter.json | 2 +- metadata/modules/conceptxBidAdapter.json | 2 +- metadata/modules/connatixBidAdapter.json | 18 +----- metadata/modules/connectIdSystem.json | 2 +- metadata/modules/connectadBidAdapter.json | 2 +- .../modules/contentexchangeBidAdapter.json | 2 +- metadata/modules/conversantBidAdapter.json | 6 +- metadata/modules/copper6sspBidAdapter.json | 2 +- metadata/modules/cpmstarBidAdapter.json | 2 +- metadata/modules/criteoBidAdapter.json | 2 +- metadata/modules/criteoIdSystem.json | 2 +- metadata/modules/cwireBidAdapter.json | 2 +- metadata/modules/czechAdIdSystem.json | 2 +- metadata/modules/dailymotionBidAdapter.json | 2 +- metadata/modules/dasBidAdapter.json | 20 ++++++ metadata/modules/debugging.json | 2 +- metadata/modules/deepintentBidAdapter.json | 2 +- metadata/modules/defineMediaBidAdapter.json | 2 +- metadata/modules/deltaprojectsBidAdapter.json | 2 +- metadata/modules/dianomiBidAdapter.json | 2 +- metadata/modules/digitalMatterBidAdapter.json | 2 +- metadata/modules/distroscaleBidAdapter.json | 2 +- .../modules/docereeAdManagerBidAdapter.json | 2 +- metadata/modules/docereeBidAdapter.json | 2 +- metadata/modules/dspxBidAdapter.json | 2 +- metadata/modules/e_volutionBidAdapter.json | 2 +- metadata/modules/edge226BidAdapter.json | 2 +- metadata/modules/empowerBidAdapter.json | 2 +- metadata/modules/equativBidAdapter.json | 2 +- metadata/modules/eskimiBidAdapter.json | 2 +- metadata/modules/etargetBidAdapter.json | 2 +- metadata/modules/euidIdSystem.json | 2 +- metadata/modules/exadsBidAdapter.json | 2 +- metadata/modules/feedadBidAdapter.json | 2 +- metadata/modules/fwsspBidAdapter.json | 2 +- metadata/modules/gamoshiBidAdapter.json | 2 +- metadata/modules/gemiusIdSystem.json | 11 ++-- metadata/modules/glomexBidAdapter.json | 2 +- metadata/modules/goldbachBidAdapter.json | 2 +- metadata/modules/gridBidAdapter.json | 2 +- metadata/modules/gumgumBidAdapter.json | 2 +- metadata/modules/hadronIdSystem.json | 2 +- metadata/modules/hadronRtdProvider.json | 2 +- metadata/modules/holidBidAdapter.json | 2 +- metadata/modules/hybridBidAdapter.json | 2 +- metadata/modules/id5IdSystem.json | 2 +- metadata/modules/identityLinkIdSystem.json | 2 +- metadata/modules/illuminBidAdapter.json | 2 +- metadata/modules/impactifyBidAdapter.json | 2 +- .../modules/improvedigitalBidAdapter.json | 2 +- metadata/modules/inmobiBidAdapter.json | 2 +- metadata/modules/insticatorBidAdapter.json | 2 +- metadata/modules/intentIqIdSystem.json | 2 +- metadata/modules/invibesBidAdapter.json | 2 +- metadata/modules/ipromBidAdapter.json | 2 +- metadata/modules/ixBidAdapter.json | 2 +- metadata/modules/justIdSystem.json | 2 +- metadata/modules/justpremiumBidAdapter.json | 2 +- metadata/modules/jwplayerBidAdapter.json | 2 +- metadata/modules/kargoBidAdapter.json | 2 +- metadata/modules/kueezRtbBidAdapter.json | 2 +- .../modules/limelightDigitalBidAdapter.json | 18 +++++- metadata/modules/liveIntentIdSystem.json | 2 +- metadata/modules/liveIntentRtdProvider.json | 2 +- metadata/modules/livewrappedBidAdapter.json | 2 +- metadata/modules/loopmeBidAdapter.json | 2 +- metadata/modules/lotamePanoramaIdSystem.json | 57 ++++++++++++++--- metadata/modules/luponmediaBidAdapter.json | 2 +- metadata/modules/madvertiseBidAdapter.json | 2 +- metadata/modules/marsmediaBidAdapter.json | 2 +- .../modules/mediaConsortiumBidAdapter.json | 2 +- metadata/modules/mediaforceBidAdapter.json | 2 +- metadata/modules/mediafuseBidAdapter.json | 2 +- metadata/modules/mediagoBidAdapter.json | 2 +- metadata/modules/mediakeysBidAdapter.json | 2 +- metadata/modules/medianetBidAdapter.json | 4 +- metadata/modules/mediasquareBidAdapter.json | 2 +- metadata/modules/mgidBidAdapter.json | 2 +- metadata/modules/mgidRtdProvider.json | 2 +- metadata/modules/mgidXBidAdapter.json | 2 +- metadata/modules/minutemediaBidAdapter.json | 2 +- metadata/modules/missenaBidAdapter.json | 2 +- metadata/modules/mobianRtdProvider.json | 2 +- metadata/modules/mobkoiBidAdapter.json | 2 +- metadata/modules/mobkoiIdSystem.json | 2 +- metadata/modules/msftBidAdapter.json | 2 +- metadata/modules/nativeryBidAdapter.json | 2 +- metadata/modules/nativoBidAdapter.json | 2 +- metadata/modules/newspassidBidAdapter.json | 2 +- .../modules/nextMillenniumBidAdapter.json | 2 +- metadata/modules/nextrollBidAdapter.json | 2 +- metadata/modules/nexx360BidAdapter.json | 19 ++++-- metadata/modules/nobidBidAdapter.json | 2 +- metadata/modules/nodalsAiRtdProvider.json | 2 +- metadata/modules/novatiqIdSystem.json | 2 +- metadata/modules/oguryBidAdapter.json | 2 +- metadata/modules/omnidexBidAdapter.json | 2 +- metadata/modules/omsBidAdapter.json | 2 +- metadata/modules/onetagBidAdapter.json | 2 +- metadata/modules/openwebBidAdapter.json | 2 +- metadata/modules/openxBidAdapter.json | 2 +- metadata/modules/operaadsBidAdapter.json | 2 +- metadata/modules/optidigitalBidAdapter.json | 2 +- metadata/modules/optoutBidAdapter.json | 2 +- metadata/modules/orbidderBidAdapter.json | 2 +- metadata/modules/outbrainBidAdapter.json | 2 +- metadata/modules/ozoneBidAdapter.json | 2 +- metadata/modules/pairIdSystem.json | 2 +- metadata/modules/performaxBidAdapter.json | 2 +- .../permutiveIdentityManagerIdSystem.json | 2 +- metadata/modules/permutiveRtdProvider.json | 2 +- metadata/modules/pixfutureBidAdapter.json | 2 +- metadata/modules/playdigoBidAdapter.json | 2 +- metadata/modules/prebid-core.json | 4 +- metadata/modules/precisoBidAdapter.json | 2 +- metadata/modules/prismaBidAdapter.json | 2 +- metadata/modules/programmaticXBidAdapter.json | 2 +- metadata/modules/proxistoreBidAdapter.json | 2 +- metadata/modules/publinkIdSystem.json | 6 +- metadata/modules/pubmaticBidAdapter.json | 2 +- metadata/modules/pubmaticIdSystem.json | 2 +- metadata/modules/pulsepointBidAdapter.json | 2 +- metadata/modules/quantcastBidAdapter.json | 2 +- metadata/modules/quantcastIdSystem.json | 2 +- metadata/modules/r2b2BidAdapter.json | 2 +- metadata/modules/readpeakBidAdapter.json | 2 +- metadata/modules/relayBidAdapter.json | 2 +- .../modules/relevantdigitalBidAdapter.json | 2 +- metadata/modules/resetdigitalBidAdapter.json | 2 +- metadata/modules/responsiveAdsBidAdapter.json | 2 +- metadata/modules/revcontentBidAdapter.json | 2 +- metadata/modules/revnewBidAdapter.json | 2 +- metadata/modules/rhythmoneBidAdapter.json | 2 +- metadata/modules/richaudienceBidAdapter.json | 2 +- .../ringieraxelspringerBidAdapter.json | 9 ++- metadata/modules/riseBidAdapter.json | 4 +- metadata/modules/rixengineBidAdapter.json | 2 +- metadata/modules/rtbhouseBidAdapter.json | 2 +- metadata/modules/rubiconBidAdapter.json | 2 +- metadata/modules/scaliburBidAdapter.json | 2 +- metadata/modules/screencoreBidAdapter.json | 2 +- .../modules/seedingAllianceBidAdapter.json | 2 +- metadata/modules/seedtagBidAdapter.json | 2 +- metadata/modules/semantiqRtdProvider.json | 2 +- metadata/modules/setupadBidAdapter.json | 2 +- metadata/modules/sevioBidAdapter.json | 2 +- metadata/modules/sharedIdSystem.json | 2 +- metadata/modules/sharethroughBidAdapter.json | 2 +- metadata/modules/showheroes-bsBidAdapter.json | 2 +- metadata/modules/silvermobBidAdapter.json | 2 +- metadata/modules/sirdataRtdProvider.json | 2 +- metadata/modules/smaatoBidAdapter.json | 2 +- metadata/modules/smartadserverBidAdapter.json | 2 +- metadata/modules/smartxBidAdapter.json | 2 +- metadata/modules/smartyadsBidAdapter.json | 2 +- metadata/modules/smilewantedBidAdapter.json | 2 +- metadata/modules/snigelBidAdapter.json | 2 +- metadata/modules/sonaradsBidAdapter.json | 2 +- metadata/modules/sonobiBidAdapter.json | 2 +- metadata/modules/sovrnBidAdapter.json | 2 +- metadata/modules/sparteoBidAdapter.json | 2 +- metadata/modules/ssmasBidAdapter.json | 2 +- metadata/modules/sspBCBidAdapter.json | 2 +- metadata/modules/stackadaptBidAdapter.json | 2 +- metadata/modules/startioBidAdapter.json | 2 +- metadata/modules/stroeerCoreBidAdapter.json | 2 +- metadata/modules/stvBidAdapter.json | 2 +- metadata/modules/sublimeBidAdapter.json | 2 +- metadata/modules/taboolaBidAdapter.json | 2 +- metadata/modules/taboolaIdSystem.json | 2 +- metadata/modules/tadvertisingBidAdapter.json | 2 +- metadata/modules/tappxBidAdapter.json | 2 +- metadata/modules/targetVideoBidAdapter.json | 2 +- metadata/modules/teadsBidAdapter.json | 2 +- metadata/modules/teadsIdSystem.json | 2 +- metadata/modules/tealBidAdapter.json | 2 +- metadata/modules/tncIdSystem.json | 2 +- metadata/modules/topicsFpdModule.json | 2 +- metadata/modules/toponBidAdapter.json | 2 +- metadata/modules/tripleliftBidAdapter.json | 2 +- metadata/modules/ttdBidAdapter.json | 2 +- metadata/modules/twistDigitalBidAdapter.json | 2 +- metadata/modules/underdogmediaBidAdapter.json | 2 +- metadata/modules/undertoneBidAdapter.json | 2 +- metadata/modules/unifiedIdSystem.json | 2 +- metadata/modules/unrulyBidAdapter.json | 2 +- metadata/modules/userId.json | 2 +- metadata/modules/utiqIdSystem.json | 2 +- metadata/modules/utiqMtpIdSystem.json | 2 +- metadata/modules/validationFpdModule.json | 2 +- metadata/modules/valuadBidAdapter.json | 2 +- metadata/modules/vidazooBidAdapter.json | 2 +- metadata/modules/vidoomyBidAdapter.json | 2 +- metadata/modules/viouslyBidAdapter.json | 2 +- metadata/modules/visxBidAdapter.json | 2 +- metadata/modules/vlybyBidAdapter.json | 2 +- metadata/modules/voxBidAdapter.json | 2 +- metadata/modules/vrtcalBidAdapter.json | 2 +- metadata/modules/vuukleBidAdapter.json | 2 +- metadata/modules/weboramaRtdProvider.json | 2 +- metadata/modules/welectBidAdapter.json | 2 +- metadata/modules/yahooAdsBidAdapter.json | 2 +- metadata/modules/yieldlabBidAdapter.json | 2 +- metadata/modules/yieldloveBidAdapter.json | 2 +- metadata/modules/yieldmoBidAdapter.json | 2 +- metadata/modules/zeotapIdPlusIdSystem.json | 2 +- metadata/modules/zeta_globalBidAdapter.json | 2 +- .../modules/zeta_global_sspBidAdapter.json | 2 +- package-lock.json | 28 ++++----- package.json | 2 +- 287 files changed, 584 insertions(+), 409 deletions(-) create mode 100644 metadata/modules/allegroBidAdapter.json create mode 100644 metadata/modules/clydoBidAdapter.json create mode 100644 metadata/modules/dasBidAdapter.json diff --git a/.github/codeql/queries/autogen_fpDOMMethod.qll b/.github/codeql/queries/autogen_fpDOMMethod.qll index d0edbe52349..15cce1bbe19 100644 --- a/.github/codeql/queries/autogen_fpDOMMethod.qll +++ b/.github/codeql/queries/autogen_fpDOMMethod.qll @@ -7,9 +7,9 @@ class DOMMethod extends string { DOMMethod() { - ( this = "toDataURL" and weight = 23.69 and type = "HTMLCanvasElement" ) + ( this = "toDataURL" and weight = 27.48 and type = "HTMLCanvasElement" ) or - ( this = "getChannelData" and weight = 731.69 and type = "AudioBuffer" ) + ( this = "getChannelData" and weight = 849.03 and type = "AudioBuffer" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpEventProperty.qll b/.github/codeql/queries/autogen_fpEventProperty.qll index 2bdc9551d10..7d33f8a1d5f 100644 --- a/.github/codeql/queries/autogen_fpEventProperty.qll +++ b/.github/codeql/queries/autogen_fpEventProperty.qll @@ -7,21 +7,21 @@ class EventProperty extends string { EventProperty() { - ( this = "candidate" and weight = 68.42 and event = "icecandidate" ) + ( this = "candidate" and weight = 76.95 and event = "icecandidate" ) or - ( this = "acceleration" and weight = 67.02 and event = "devicemotion" ) + ( this = "accelerationIncludingGravity" and weight = 238.43 and event = "devicemotion" ) or - ( this = "rotationRate" and weight = 66.54 and event = "devicemotion" ) + ( this = "beta" and weight = 736.03 and event = "deviceorientation" ) or - ( this = "accelerationIncludingGravity" and weight = 184.27 and event = "devicemotion" ) + ( this = "gamma" and weight = 279.41 and event = "deviceorientation" ) or - ( this = "alpha" and weight = 355.23 and event = "deviceorientation" ) + ( this = "alpha" and weight = 737.51 and event = "deviceorientation" ) or - ( this = "beta" and weight = 768.94 and event = "deviceorientation" ) + ( this = "acceleration" and weight = 58.12 and event = "devicemotion" ) or - ( this = "gamma" and weight = 350.62 and event = "deviceorientation" ) + ( this = "rotationRate" and weight = 57.64 and event = "devicemotion" ) or - ( this = "absolute" and weight = 235.6 and event = "deviceorientation" ) + ( this = "absolute" and weight = 344.13 and event = "deviceorientation" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalConstructor.qll b/.github/codeql/queries/autogen_fpGlobalConstructor.qll index 1e85f9c4dbf..e30fb7b2972 100644 --- a/.github/codeql/queries/autogen_fpGlobalConstructor.qll +++ b/.github/codeql/queries/autogen_fpGlobalConstructor.qll @@ -6,15 +6,15 @@ class GlobalConstructor extends string { GlobalConstructor() { - ( this = "RTCPeerConnection" and weight = 52.98 ) + ( this = "SharedWorker" and weight = 78.9 ) or - ( this = "OfflineAudioContext" and weight = 943.82 ) + ( this = "OfflineAudioContext" and weight = 1110.27 ) or - ( this = "SharedWorker" and weight = 81.97 ) + ( this = "RTCPeerConnection" and weight = 56.31 ) or - ( this = "Gyroscope" and weight = 127.22 ) + ( this = "Gyroscope" and weight = 109.74 ) or - ( this = "AudioWorkletNode" and weight = 58.97 ) + ( this = "AudioWorkletNode" and weight = 138.2 ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll b/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll index 089b3adf045..89f92da1290 100644 --- a/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll +++ b/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll @@ -7,55 +7,57 @@ class GlobalObjectProperty0 extends string { GlobalObjectProperty0() { - ( this = "availHeight" and weight = 66.03 and global0 = "screen" ) + ( this = "availHeight" and weight = 68.69 and global0 = "screen" ) or - ( this = "availWidth" and weight = 61.41 and global0 = "screen" ) + ( this = "availWidth" and weight = 64.15 and global0 = "screen" ) or - ( this = "colorDepth" and weight = 34.09 and global0 = "screen" ) + ( this = "colorDepth" and weight = 35.15 and global0 = "screen" ) or - ( this = "availTop" and weight = 1174.2 and global0 = "screen" ) + ( this = "availTop" and weight = 1340.55 and global0 = "screen" ) or - ( this = "deviceMemory" and weight = 77.66 and global0 = "navigator" ) + ( this = "mimeTypes" and weight = 15.13 and global0 = "navigator" ) or - ( this = "getBattery" and weight = 112.15 and global0 = "navigator" ) + ( this = "deviceMemory" and weight = 69.83 and global0 = "navigator" ) or - ( this = "webdriver" and weight = 29.29 and global0 = "navigator" ) + ( this = "getBattery" and weight = 59.15 and global0 = "navigator" ) or - ( this = "permission" and weight = 24.76 and global0 = "Notification" ) + ( this = "webdriver" and weight = 30.06 and global0 = "navigator" ) or - ( this = "storage" and weight = 87.32 and global0 = "navigator" ) + ( this = "permission" and weight = 26.25 and global0 = "Notification" ) or - ( this = "orientation" and weight = 37.55 and global0 = "screen" ) + ( this = "storage" and weight = 40.72 and global0 = "navigator" ) or - ( this = "hardwareConcurrency" and weight = 72.78 and global0 = "navigator" ) + ( this = "orientation" and weight = 34.85 and global0 = "screen" ) or - ( this = "onLine" and weight = 20.49 and global0 = "navigator" ) + ( this = "pixelDepth" and weight = 45.53 and global0 = "screen" ) or - ( this = "vendorSub" and weight = 1531.94 and global0 = "navigator" ) + ( this = "availLeft" and weight = 574.21 and global0 = "screen" ) or - ( this = "productSub" and weight = 537.18 and global0 = "navigator" ) + ( this = "vendorSub" and weight = 1588.52 and global0 = "navigator" ) or - ( this = "webkitTemporaryStorage" and weight = 34.68 and global0 = "navigator" ) + ( this = "productSub" and weight = 557.44 and global0 = "navigator" ) or - ( this = "webkitPersistentStorage" and weight = 100.12 and global0 = "navigator" ) + ( this = "webkitTemporaryStorage" and weight = 32.71 and global0 = "navigator" ) or - ( this = "appCodeName" and weight = 158.73 and global0 = "navigator" ) + ( this = "hardwareConcurrency" and weight = 61.57 and global0 = "navigator" ) or - ( this = "keyboard" and weight = 5550.82 and global0 = "navigator" ) + ( this = "appCodeName" and weight = 170.17 and global0 = "navigator" ) or - ( this = "mediaDevices" and weight = 130.49 and global0 = "navigator" ) + ( this = "onLine" and weight = 19.42 and global0 = "navigator" ) or - ( this = "mediaCapabilities" and weight = 154.9 and global0 = "navigator" ) + ( this = "keyboard" and weight = 5667.18 and global0 = "navigator" ) or - ( this = "permissions" and weight = 63.86 and global0 = "navigator" ) + ( this = "mediaDevices" and weight = 129.67 and global0 = "navigator" ) or - ( this = "availLeft" and weight = 503.56 and global0 = "screen" ) + ( this = "mediaCapabilities" and weight = 167.06 and global0 = "navigator" ) or - ( this = "pixelDepth" and weight = 38.42 and global0 = "screen" ) + ( this = "permissions" and weight = 81.52 and global0 = "navigator" ) or - ( this = "requestMediaKeySystemAccess" and weight = 19.71 and global0 = "navigator" ) + ( this = "webkitPersistentStorage" and weight = 132.63 and global0 = "navigator" ) or - ( this = "getGamepads" and weight = 339.45 and global0 = "navigator" ) + ( this = "requestMediaKeySystemAccess" and weight = 20.97 and global0 = "navigator" ) + or + ( this = "getGamepads" and weight = 441.8 and global0 = "navigator" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll b/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll index 82e70b02732..e0d8248beb6 100644 --- a/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll +++ b/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll @@ -8,7 +8,7 @@ class GlobalObjectProperty1 extends string { GlobalObjectProperty1() { - ( this = "enumerateDevices" and weight = 397.8 and global0 = "navigator" and global1 = "mediaDevices" ) + ( this = "enumerateDevices" and weight = 380.3 and global0 = "navigator" and global1 = "mediaDevices" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll b/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll index 085d5297f27..b49336e6468 100644 --- a/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll +++ b/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll @@ -7,11 +7,11 @@ class GlobalTypeProperty0 extends string { GlobalTypeProperty0() { - ( this = "x" and weight = 6159.48 and global0 = "Gyroscope" ) + ( this = "x" and weight = 5667.18 and global0 = "Gyroscope" ) or - ( this = "y" and weight = 6159.48 and global0 = "Gyroscope" ) + ( this = "y" and weight = 5667.18 and global0 = "Gyroscope" ) or - ( this = "z" and weight = 6159.48 and global0 = "Gyroscope" ) + ( this = "z" and weight = 5667.18 and global0 = "Gyroscope" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll b/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll index bed9bf55443..a12f1fc92ad 100644 --- a/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll +++ b/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll @@ -8,7 +8,7 @@ class GlobalTypeProperty1 extends string { GlobalTypeProperty1() { - ( this = "resolvedOptions" and weight = 18.4 and global0 = "Intl" and global1 = "DateTimeFormat" ) + ( this = "resolvedOptions" and weight = 19.12 and global0 = "Intl" and global1 = "DateTimeFormat" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalVar.qll b/.github/codeql/queries/autogen_fpGlobalVar.qll index 940ce7ce072..27ad11c54c4 100644 --- a/.github/codeql/queries/autogen_fpGlobalVar.qll +++ b/.github/codeql/queries/autogen_fpGlobalVar.qll @@ -6,23 +6,23 @@ class GlobalVar extends string { GlobalVar() { - ( this = "devicePixelRatio" and weight = 18.53 ) + ( this = "devicePixelRatio" and weight = 19.09 ) or - ( this = "screenX" and weight = 384.76 ) + ( this = "screenX" and weight = 401.78 ) or - ( this = "screenY" and weight = 334.94 ) + ( this = "screenY" and weight = 345.3 ) or - ( this = "outerWidth" and weight = 107.41 ) + ( this = "outerWidth" and weight = 107.67 ) or - ( this = "outerHeight" and weight = 187.92 ) + ( this = "outerHeight" and weight = 190.2 ) or - ( this = "screenLeft" and weight = 343.39 ) + ( this = "screenLeft" and weight = 372.82 ) or - ( this = "screenTop" and weight = 343.56 ) + ( this = "screenTop" and weight = 374.95 ) or - ( this = "indexedDB" and weight = 19.24 ) + ( this = "indexedDB" and weight = 18.61 ) or - ( this = "openDatabase" and weight = 145.2 ) + ( this = "openDatabase" and weight = 159.66 ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpRenderingContextProperty.qll b/.github/codeql/queries/autogen_fpRenderingContextProperty.qll index 77ae81bed2a..ddcb191a490 100644 --- a/.github/codeql/queries/autogen_fpRenderingContextProperty.qll +++ b/.github/codeql/queries/autogen_fpRenderingContextProperty.qll @@ -7,35 +7,35 @@ class RenderingContextProperty extends string { RenderingContextProperty() { - ( this = "getExtension" and weight = 23.24 and contextType = "webgl" ) + ( this = "getExtension" and weight = 23.15 and contextType = "webgl" ) or - ( this = "getParameter" and weight = 27.29 and contextType = "webgl" ) + ( this = "getParameter" and weight = 27.52 and contextType = "webgl" ) or - ( this = "getShaderPrecisionFormat" and weight = 665.75 and contextType = "webgl" ) + ( this = "getImageData" and weight = 48.33 and contextType = "2d" ) or - ( this = "getContextAttributes" and weight = 1417.95 and contextType = "webgl" ) + ( this = "getParameter" and weight = 81.31 and contextType = "webgl2" ) or - ( this = "getSupportedExtensions" and weight = 1009.79 and contextType = "webgl" ) + ( this = "getShaderPrecisionFormat" and weight = 144.52 and contextType = "webgl2" ) or - ( this = "getImageData" and weight = 46.91 and contextType = "2d" ) + ( this = "getExtension" and weight = 82.09 and contextType = "webgl2" ) or - ( this = "getExtension" and weight = 81.11 and contextType = "webgl2" ) + ( this = "getContextAttributes" and weight = 228.41 and contextType = "webgl2" ) or - ( this = "getParameter" and weight = 78.86 and contextType = "webgl2" ) + ( this = "getSupportedExtensions" and weight = 882.01 and contextType = "webgl2" ) or - ( this = "getSupportedExtensions" and weight = 668.35 and contextType = "webgl2" ) + ( this = "measureText" and weight = 47.58 and contextType = "2d" ) or - ( this = "getContextAttributes" and weight = 197.1 and contextType = "webgl2" ) + ( this = "getShaderPrecisionFormat" and weight = 664.14 and contextType = "webgl" ) or - ( this = "getShaderPrecisionFormat" and weight = 138.38 and contextType = "webgl2" ) + ( this = "getContextAttributes" and weight = 1178.57 and contextType = "webgl" ) or - ( this = "readPixels" and weight = 20.79 and contextType = "webgl" ) + ( this = "getSupportedExtensions" and weight = 1036.87 and contextType = "webgl" ) or - ( this = "isPointInPath" and weight = 6159.48 and contextType = "2d" ) + ( this = "readPixels" and weight = 25.3 and contextType = "webgl" ) or - ( this = "measureText" and weight = 40.71 and contextType = "2d" ) + ( this = "isPointInPath" and weight = 4284.36 and contextType = "2d" ) or - ( this = "readPixels" and weight = 72.72 and contextType = "webgl2" ) + ( this = "readPixels" and weight = 69.37 and contextType = "webgl2" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpSensorProperty.qll b/.github/codeql/queries/autogen_fpSensorProperty.qll index b970ada6e93..65d017e68bc 100644 --- a/.github/codeql/queries/autogen_fpSensorProperty.qll +++ b/.github/codeql/queries/autogen_fpSensorProperty.qll @@ -6,7 +6,7 @@ class SensorProperty extends string { SensorProperty() { - ( this = "start" and weight = 143.54 ) + ( this = "start" and weight = 97.55 ) } float getWeight() { diff --git a/integrationExamples/gpt/x-domain/creative.html b/integrationExamples/gpt/x-domain/creative.html index ae8456c19e0..14deeb4f559 100644 --- a/integrationExamples/gpt/x-domain/creative.html +++ b/integrationExamples/gpt/x-domain/creative.html @@ -2,7 +2,7 @@ // creative will be rendered, e.g. GAM delivering a SafeFrame // this code is autogenerated, also available in 'build/creative/creative.js' - + +`.trim(); + } + }); + + return interpretedResponse.bids; + } catch (err) { + err.message = `Error while interpreting bid response: ${err?.message}`; + recordAndLogError('interpretResponse/didError', err); + } + }, + + /** + * Register user syncs to be processed during the shared user ID sync activity + * + * @param {Object} syncOptions - Options for user synchronization + * @param {Array} serverResponses - Array of bid responses + * @param {Object} gdprConsent - GDPR consent information + * @param {Object} uspConsent - USP consent information + * @returns {Array} Array of user sync objects + */ + getUserSyncs: function ( + syncOptions, + serverResponses, + gdprConsent, + uspConsent + ) { + record('getUserSyncs'); + try { + if (hasPurpose1Consent(gdprConsent)) { + return serverResponses + .flatMap((res) => res?.body?.ext?.userSyncs ?? []) + .filter( + (s) => + (s.type === 'iframe' && syncOptions.iframeEnabled) || + (s.type === 'image' && syncOptions.pixelEnabled) + ); + } + } catch (err) { + err.message = `Error while getting user syncs: ${err?.message}`; + recordAndLogError('getUserSyncs/didError', err); + } + }, + + onTimeout: (timeoutData) => { + record('onTimeout', { error: timeoutData }); + }, + + onSetTargeting: (bid) => { + record('onSetTargeting'); + }, + + onAdRenderSucceeded: (bid) => { + record('onAdRenderSucceeded'); + }, + + onBidderError: (error) => { + record('onBidderError', { error }); + }, + + onBidWon: (bid) => { + record('onBidWon'); + }, + + onBidAttribute: (bid) => { + record('onBidAttribute'); + }, + + onBidBillable: (bid) => { + record('onBidBillable'); + }, +}; + +registerBidder(spec); diff --git a/modules/apsBidAdapter.md b/modules/apsBidAdapter.md new file mode 100644 index 00000000000..1b772210af7 --- /dev/null +++ b/modules/apsBidAdapter.md @@ -0,0 +1,84 @@ +# Overview + +``` +Module Name: APS Bidder Adapter +Module Type: Bidder Adapter +Maintainer: aps-prebid@amazon.com +``` + +# Description + +Connects to Amazon Publisher Services (APS) for bids. + +## Test Bids + +Please contact your APS Account Manager to learn more about our testing policies. + +# Usage + +## Prerequisites + +Add the account ID provided by APS to your configuration. + +``` +pbjs.setBidderConfig( + { + bidders: ['aps'], + config: { + aps: { + accountID: YOUR_APS_ACCOUNT_ID, + } + }, + }, + true // mergeConfig toggle +); +``` + +## Ad Units + +## Banner + +``` +const adUnits = [ + { + code: 'banner_div', + mediaTypes: { + banner: { + sizes: [[300, 250]], + }, + }, + bids: [{ bidder: 'aps' }], + }, +]; +``` + +## Video + +Please select your preferred video renderer. The following example uses in-renderer-js: + +``` +const adUnits = [ + { + code: 'video_div', + mediaTypes: { + video: { + playerSize: [400, 225], + context: 'outstream', + mimes: ['video/mp4'], + protocols: [1, 2, 3, 4, 5, 6, 7, 8], + minduration: 5, + maxduration: 30, + placement: 3, + }, + }, + bids: [{ bidder: 'aps' }], + renderer: { + url: 'https://cdn.jsdelivr.net/npm/in-renderer-js@1/dist/in-renderer.umd.min.js', + render(bid) { + new window.InRenderer().render('video_div', bid); + }, + }, + }, +]; + +``` diff --git a/test/spec/modules/apsBidAdapter_spec.js b/test/spec/modules/apsBidAdapter_spec.js new file mode 100644 index 00000000000..429572b0343 --- /dev/null +++ b/test/spec/modules/apsBidAdapter_spec.js @@ -0,0 +1,1059 @@ +import sinon from 'sinon'; +import { expect } from 'chai'; +import { spec, ADAPTER_VERSION } from 'modules/apsBidAdapter'; +import { config } from 'src/config.js'; + +/** + * Update config without rewriting the entire aps scope. + * + * Every call to setConfig() overwrites supplied values at the top level. + * e.g. if ortb2 is provided as a value, any previously-supplied ortb2 + * values will disappear. + */ +const updateAPSConfig = (data) => { + const existingAPSConfig = config.readConfig('aps'); + config.setConfig({ + aps: { + ...existingAPSConfig, + ...data, + }, + }); +}; + +describe('apsBidAdapter', () => { + const accountID = 'test-account'; + + beforeEach(() => { + updateAPSConfig({ accountID }); + }); + + afterEach(() => { + config.resetConfig(); + delete window._aps; + }); + + describe('isBidRequestValid', () => { + it('should record prebidAdapter/isBidRequestValid/didTrigger event', () => { + spec.isBidRequestValid({}); + + const accountQueue = window._aps.get(accountID).queue; + expect(accountQueue).to.have.length(1); + expect(accountQueue[0].type).to.equal( + 'prebidAdapter/isBidRequestValid/didTrigger' + ); + }); + + it('when no accountID provided, should not record event', () => { + updateAPSConfig({ accountID: undefined }); + spec.isBidRequestValid({}); + + expect(window._aps).not.to.exist; + }); + + it('when telemetry is turned off, should not record event', () => { + updateAPSConfig({ telemetry: false }); + spec.isBidRequestValid({}); + + expect(window._aps).not.to.exist; + }); + + [ + { accountID: undefined }, + { accountID: null }, + { accountID: [] }, + { accountID: { key: 'value' } }, + { accountID: true }, + { accountID: false }, + ].forEach((scenario) => { + it(`when accountID is ${JSON.stringify(scenario.accountID)}, should return false`, () => { + updateAPSConfig({ accountID: scenario.accountID }); + const actual = spec.isBidRequestValid({}); + expect(actual).to.equal(false); + }); + }); + + it('when accountID is a number, should return true', () => { + updateAPSConfig({ accountID: 1234 }); + const actual = spec.isBidRequestValid({}); + expect(actual).to.equal(true); + }); + + it('when accountID is a string, should return true', () => { + updateAPSConfig({ accountID: '1234' }); + const actual = spec.isBidRequestValid({}); + expect(actual).to.equal(true); + }); + }); + + describe('buildRequests', () => { + let bidRequests, bidderRequest; + + beforeEach(() => { + bidRequests = [ + { + bidId: 'bid1', + adUnitCode: 'adunit1', + mediaTypes: { banner: { sizes: [[300, 250]] } }, + params: {}, + }, + { + bidId: 'bid2', + code: 'video_div', + mediaTypes: { + video: { + playerSize: [400, 225], + context: 'outstream', + mimes: ['video/mp4'], + protocols: [1, 2, 3, 4, 5, 6, 7, 8], + minduration: 5, + maxduration: 30, + placement: 3, + }, + }, + bids: [{ bidder: 'aps' }], + }, + ]; + bidderRequest = { + bidderCode: 'aps', + auctionId: 'auction1', + bidderRequestId: 'request1', + }; + }); + + it('should record prebidAdapter/buildRequests/didTrigger event', () => { + spec.buildRequests(bidRequests, bidderRequest); + + const accountQueue = window._aps.get(accountID).queue; + expect(accountQueue).to.have.length(1); + expect(accountQueue[0].type).to.equal( + 'prebidAdapter/buildRequests/didTrigger' + ); + }); + + it('when no accountID provided, should not record event', () => { + updateAPSConfig({ accountID: undefined }); + spec.buildRequests(bidRequests, bidderRequest); + + expect(window._aps).not.to.exist; + }); + + it('when telemetry is turned off, should not record event', () => { + updateAPSConfig({ telemetry: false }); + spec.buildRequests(bidRequests, bidderRequest); + + expect(window._aps).not.to.exist; + }); + + it('should return server request with default endpoint', () => { + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.method).to.equal('POST'); + expect(result.url).to.equal( + 'https://web.ads.aps.amazon-adsystem.com/e/pb/bid' + ); + expect(result.data).to.exist; + }); + + it('should return server request with properly formatted impressions', () => { + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.data.imp.length).to.equal(2); + expect(result.data.imp[0]).to.deep.equal({ + banner: { format: [{ h: 250, w: 300 }], h: 250, topframe: 0, w: 300 }, + id: 'bid1', + secure: 1, + }); + expect(result.data.imp[1]).to.deep.equal({ + id: 'bid2', + secure: 1, + ...(FEATURES.VIDEO && { + video: { + h: 225, + maxduration: 30, + mimes: ['video/mp4'], + minduration: 5, + placement: 3, + protocols: [1, 2, 3, 4, 5, 6, 7, 8], + w: 400, + }, + }), + }); + }); + + it('when debugURL is provided, should use custom debugURL', () => { + updateAPSConfig({ debugURL: 'https://example.com' }); + + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.url).to.equal('https://example.com'); + }); + + it('should convert bid requests to ORTB format with account', () => { + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.data).to.be.an('object'); + expect(result.data.ext).to.exist; + expect(result.data.ext.account).to.equal(accountID); + }); + + it('should include ADAPTER_VERSION in request data', () => { + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.data.ext.sdk.version).to.equal(ADAPTER_VERSION); + expect(result.data.ext.sdk.source).to.equal('prebid'); + }); + + it('when accountID is not provided, should convert bid requests to ORTB format with no account', () => { + updateAPSConfig({ accountID: undefined }); + + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.data).to.be.an('object'); + expect(result.data.ext).to.exist; + expect(result.data.ext.account).to.equal(undefined); + }); + + it('should remove sensitive geo data from device', () => { + bidderRequest.ortb2 = { + device: { + geo: { + lat: 37.7749, + lon: -122.4194, + country: 'US', + }, + }, + }; + + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.data.device.geo.lat).to.be.undefined; + expect(result.data.device.geo.lon).to.be.undefined; + expect(result.data.device.geo.country).to.equal('US'); + }); + + it('should remove sensitive user data', () => { + bidderRequest.ortb2 = { + user: { + gender: 'M', + yob: 1990, + keywords: 'sports,tech', + kwarry: 'alternate keywords', + customdata: 'custom user data', + geo: { lat: 37.7749, lon: -122.4194 }, + data: [{ id: 'segment1' }], + id: 'user123', + }, + }; + + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.data.user.gender).to.be.undefined; + expect(result.data.user.yob).to.be.undefined; + expect(result.data.user.keywords).to.be.undefined; + expect(result.data.user.kwarry).to.be.undefined; + expect(result.data.user.customdata).to.be.undefined; + expect(result.data.user.geo).to.be.undefined; + expect(result.data.user.data).to.be.undefined; + expect(result.data.user.id).to.equal('user123'); + }); + + it('should set default currency to USD', () => { + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.data.cur).to.deep.equal(['USD']); + }); + + [ + { imp: undefined }, + { imp: null }, + { imp: 'not an array' }, + { imp: 123 }, + { imp: true }, + { imp: false }, + ].forEach((scenario) => { + it(`when imp is ${JSON.stringify(scenario.imp)}, should send data`, () => { + bidderRequest.ortb2 = { + imp: scenario.imp, + }; + + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.data.imp).to.equal(scenario.imp); + }); + }); + + [ + { imp: [null] }, + { imp: [undefined] }, + { imp: [null, {}] }, + { imp: [{}, null] }, + { imp: [undefined, {}] }, + { imp: [{}, undefined] }, + ].forEach((scenario, scenarioIndex) => { + it(`when imp array contains null/undefined at index, should send data - scenario ${scenarioIndex}`, () => { + bidRequests = []; + bidderRequest.ortb2 = { imp: scenario.imp }; + + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.data.imp).to.deep.equal(scenario.imp); + }); + }); + + [ + { w: 'invalid', h: 250 }, + { w: 300, h: 'invalid' }, + { w: null, h: 250 }, + { w: 300, h: undefined }, + { w: true, h: 250 }, + { w: 300, h: false }, + { w: {}, h: 250 }, + { w: 300, h: [] }, + ].forEach((scenario) => { + it(`when imp array contains banner object with invalid format (h: "${scenario.h}", w: "${scenario.w}"), should send data`, () => { + const { w, h } = scenario; + const invalidBannerObj = { + banner: { + format: [ + { w, h }, + { w: 300, h: 250 }, + ], + }, + }; + const imp = [ + { banner: { format: [{ w: 300, h: 250 }] } }, + { video: { w: 300, h: undefined } }, + invalidBannerObj, + { video: { w: undefined, h: 300 } }, + ]; + bidRequests = []; + bidderRequest.ortb2 = { imp }; + + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.data.imp).to.deep.equal(imp); + }); + }); + + describe('when debug mode is enabled', () => { + beforeEach(() => { + updateAPSConfig({ debug: true }); + }); + + it('should append debug parameters', () => { + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.url).to.equal( + 'https://web.ads.aps.amazon-adsystem.com/e/pb/bid?amzn_debug_mode=1' + ); + }); + + it('when using custom endpoint, should append debug parameters', () => { + updateAPSConfig({ debugURL: 'https://example.com' }); + + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.url).to.equal('https://example.com?amzn_debug_mode=1'); + }); + + it('when endpoint has existing query params, should append debug parameters with &', () => { + updateAPSConfig({ + debugURL: 'https://example.com?existing=param', + }); + + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.url).to.equal( + 'https://example.com?existing=param&amzn_debug_mode=1' + ); + }); + + describe('when renderMethod is fif', () => { + beforeEach(() => { + updateAPSConfig({ renderMethod: 'fif' }); + }); + + it('when renderMethod is fif, should append fif debug parameters', () => { + const result = spec.buildRequests(bidRequests, bidderRequest); + + expect(result.url).to.equal( + 'https://web.ads.aps.amazon-adsystem.com/e/pb/bid?amzn_debug_mode=fif&amzn_debug_mode=1' + ); + }); + }); + }); + }); + + describe('interpretResponse', () => { + const impid = '32adcfab8e54178'; + let response, request, bidRequests, bidderRequest; + + beforeEach(() => { + bidRequests = [ + { + bidder: 'aps', + params: {}, + ortb2Imp: { ext: { data: {} } }, + mediaTypes: { banner: { sizes: [[300, 250]] } }, + adUnitCode: 'display-ad', + adUnitId: '57661158-f277-4061-bbfc-532b6f811c7b', + sizes: [[300, 250]], + bidId: impid, + bidderRequestId: '2a1ec2d1ccea318', + }, + ]; + bidderRequest = { + bidderCode: 'aps', + auctionId: null, + bidderRequestId: '2a1ec2d1ccea318', + bids: [ + { + bidder: 'aps', + params: {}, + ortb2Imp: { ext: { data: {} } }, + mediaTypes: { banner: { sizes: [[300, 250]] } }, + adUnitCode: 'display-ad', + adUnitId: '57661158-f277-4061-bbfc-532b6f811c7b', + sizes: [[300, 250]], + bidId: impid, + bidderRequestId: '2a1ec2d1ccea318', + }, + ], + start: 1758899825329, + }; + + request = spec.buildRequests(bidRequests, bidderRequest); + + response = { + body: { + id: '53d4dda2-cf3d-455a-8554-48f051ca4ad3', + cur: 'USD', + seatbid: [ + { + bid: [ + { + mtype: 1, + id: 'jp45_n29nkvhfuttv0rhl5iaaagvz_t54weaaaxzaqbhchnfdhhux2jpzdigicbhchnfdhhux2ltcdegicdpqbra', + adid: 'eaayacognuhq9jcfs8rwkoyyhmwtke4e4jmnrjcx.ywnbprnvr0ybkk6wpu_', + price: 5.5, + impid, + crid: 'amazon-test-ad', + w: 300, + h: 250, + exp: 3600, + }, + ], + }, + ], + }, + headers: {}, + }; + }); + + it('should record prebidAdapter/interpretResponse/didTrigger event', () => { + spec.interpretResponse(response, request); + + const accountQueue = window._aps.get(accountID).queue; + expect(accountQueue).to.have.length(2); + expect(accountQueue[0].type).to.equal( + 'prebidAdapter/buildRequests/didTrigger' + ); + expect(accountQueue[1].type).to.equal( + 'prebidAdapter/interpretResponse/didTrigger' + ); + }); + + it('should return interpreted bids from ORTB response', () => { + const result = spec.interpretResponse(response, request); + + expect(result).to.be.an('array'); + expect(result.length).to.equal(1); + }); + + it('should include accountID in creative script', () => { + updateAPSConfig({ accountID: accountID }); + + const result = spec.interpretResponse(response, request); + + expect(result).to.have.length(1); + expect(result[0].ad).to.include("const accountID = 'test-account'"); + }); + + it('when creativeURL is provided, should use custom creative URL', () => { + updateAPSConfig({ + creativeURL: 'https://custom-creative.com/script.js', + }); + + const result = spec.interpretResponse(response, request); + + expect(result).to.have.length(1); + expect(result[0].ad).to.include( + 'src="https://custom-creative.com/script.js"' + ); + }); + + it('should use default creative URL when not provided', () => { + const result = spec.interpretResponse(response, request); + + expect(result).to.have.length(1); + expect(result[0].ad).to.include( + 'src="https://client.aps.amazon-adsystem.com/prebid-creative.js"' + ); + }); + + describe('when bid mediaType is VIDEO', () => { + beforeEach(() => { + response.body.seatbid[0].bid[0].mtype = 2; + }); + + it('should not inject creative script for video bids', () => { + const result = spec.interpretResponse(response, request); + + expect(result).to.have.length(1); + expect(result[0].ad).to.be.undefined; + }); + }); + + describe('when bid mediaType is not VIDEO', () => { + it('should inject creative script for non-video bids', () => { + const result = spec.interpretResponse(response, request); + + expect(result).to.have.length(1); + expect(result[0].ad).to.include(' +``` + +# Bid Params + +| Name | Scope | Description | Example | Type | +|------|-------|-------------|---------|------| +| `propertyKey` | required | Your unique property identifier from Panxo dashboard | `'abc123def456'` | `string` | +| `floor` | optional | Minimum CPM floor price in USD | `0.50` | `number` | + +# Configuration Example + +```javascript +var adUnits = [{ + code: 'banner-ad', + mediaTypes: { + banner: { + sizes: [[300, 250], [728, 90]] + } + }, + bids: [{ + bidder: 'panxo', + params: { + propertyKey: 'your-property-key-here' + } + }] +}]; +``` + +# Full Page Example + +```html + + + + + + + + + + + + +
+ + +``` + +# Supported Media Types + +| Type | Support | +|------|---------| +| Banner | Yes | +| Video | No | +| Native | No | + +# Privacy & Consent + +This adapter supports: + +- **GDPR/TCF 2.0**: Consent string is passed in bid requests +- **CCPA/US Privacy**: USP string is passed in bid requests +- **GPP**: Global Privacy Platform strings are supported +- **COPPA**: Child-directed content flags are respected + +# User Sync + +Panxo supports pixel-based user sync. Enable it in your Prebid configuration: + +```javascript +pbjs.setConfig({ + userSync: { + filterSettings: { + pixel: { + bidders: ['panxo'], + filter: 'include' + } + } + } +}); +``` + +# First Party Data + +This adapter supports First Party Data via the `ortb2` configuration: + +```javascript +pbjs.setConfig({ + ortb2: { + site: { + name: 'Example Site', + cat: ['IAB1'], + content: { + keywords: 'technology, ai' + } + }, + user: { + data: [{ + name: 'example-data-provider', + segment: [{ id: 'segment-1' }] + }] + } + } +}); +``` + +# Supply Chain (schain) + +Supply chain information is automatically passed when configured: + +```javascript +pbjs.setConfig({ + schain: { + validation: 'relaxed', + config: { + ver: '1.0', + complete: 1, + nodes: [{ + asi: 'publisher-domain.com', + sid: '12345', + hp: 1 + }] + } + } +}); +``` + +# Floor Prices + +This adapter supports the Prebid Price Floors Module. Configure floors as needed: + +```javascript +pbjs.setConfig({ + floors: { + enforcement: { floorDeals: true }, + data: { + default: 0.50, + schema: { fields: ['mediaType'] }, + values: { 'banner': 0.50 } + } + } +}); +``` + +# Win Notifications + +This adapter automatically fires win notification URLs (nurl) when a bid wins the auction. No additional configuration is required. + +# Contact + +For support or questions: +- Email: tech@panxo.ai +- Documentation: https://docs.panxo.ai diff --git a/test/spec/modules/panxoBidAdapter_spec.js b/test/spec/modules/panxoBidAdapter_spec.js new file mode 100644 index 00000000000..d61e2106094 --- /dev/null +++ b/test/spec/modules/panxoBidAdapter_spec.js @@ -0,0 +1,309 @@ +import { expect } from 'chai'; +import { spec, storage } from 'modules/panxoBidAdapter.js'; +import { BANNER } from 'src/mediaTypes.js'; + +describe('PanxoBidAdapter', function () { + const PROPERTY_KEY = 'abc123def456'; + const USER_ID = 'test-user-id-12345'; + + // Mock storage.getDataFromLocalStorage + let getDataStub; + + beforeEach(function () { + getDataStub = sinon.stub(storage, 'getDataFromLocalStorage'); + getDataStub.withArgs('panxo_uid').returns(USER_ID); + }); + + afterEach(function () { + getDataStub.restore(); + }); + + describe('isBidRequestValid', function () { + it('should return true when propertyKey is present', function () { + const bid = { + bidder: 'panxo', + params: { propertyKey: PROPERTY_KEY }, + mediaTypes: { banner: { sizes: [[300, 250]] } } + }; + expect(spec.isBidRequestValid(bid)).to.be.true; + }); + + it('should return false when propertyKey is missing', function () { + const bid = { + bidder: 'panxo', + params: {}, + mediaTypes: { banner: { sizes: [[300, 250]] } } + }; + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + + it('should return false when banner mediaType is missing', function () { + const bid = { + bidder: 'panxo', + params: { propertyKey: PROPERTY_KEY }, + mediaTypes: { video: {} } + }; + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + }); + + describe('buildRequests', function () { + const bidderRequest = { + bidderRequestId: 'test-request-id', + auctionId: 'test-auction-id', + timeout: 1500, + refererInfo: { + page: 'https://example.com/page', + domain: 'example.com', + ref: 'https://google.com' + } + }; + + const validBidRequests = [{ + bidder: 'panxo', + bidId: 'bid-id-1', + adUnitCode: 'ad-unit-1', + params: { propertyKey: PROPERTY_KEY }, + mediaTypes: { banner: { sizes: [[300, 250], [728, 90]] } } + }]; + + it('should build a valid OpenRTB request', function () { + const requests = spec.buildRequests(validBidRequests, bidderRequest); + + expect(requests).to.be.an('array').with.lengthOf(1); + expect(requests[0].method).to.equal('POST'); + expect(requests[0].url).to.include('panxo-sys.com/openrtb/2.5/bid'); + expect(requests[0].url).to.include(`key=${PROPERTY_KEY}`); + expect(requests[0].data).to.be.an('object'); + }); + + it('should include user.buyeruid from localStorage', function () { + const requests = spec.buildRequests(validBidRequests, bidderRequest); + + expect(requests[0].data.user).to.be.an('object'); + expect(requests[0].data.user.buyeruid).to.equal(USER_ID); + }); + + it('should build correct impressions', function () { + const requests = spec.buildRequests(validBidRequests, bidderRequest); + + expect(requests[0].data.imp).to.be.an('array'); + expect(requests[0].data.imp[0].id).to.equal('bid-id-1'); + expect(requests[0].data.imp[0].banner.format).to.have.lengthOf(2); + expect(requests[0].data.imp[0].tagid).to.equal('ad-unit-1'); + }); + + it('should return empty array when panxo_uid is not found', function () { + getDataStub.withArgs('panxo_uid').returns(null); + const requests = spec.buildRequests(validBidRequests, bidderRequest); + + expect(requests).to.be.an('array').that.is.empty; + }); + + it('should include GDPR consent when available', function () { + const gdprBidderRequest = { + ...bidderRequest, + gdprConsent: { + gdprApplies: true, + consentString: 'CO-test-consent-string' + } + }; + const requests = spec.buildRequests(validBidRequests, gdprBidderRequest); + + expect(requests[0].data.regs.ext.gdpr).to.equal(1); + expect(requests[0].data.user.ext.consent).to.equal('CO-test-consent-string'); + }); + + it('should include USP consent when available', function () { + const uspBidderRequest = { + ...bidderRequest, + uspConsent: '1YNN' + }; + const requests = spec.buildRequests(validBidRequests, uspBidderRequest); + + expect(requests[0].data.regs.ext.us_privacy).to.equal('1YNN'); + }); + + it('should include schain when available', function () { + const schainBidderRequest = { + ...bidderRequest, + ortb2: { + source: { + ext: { + schain: { + ver: '1.0', + complete: 1, + nodes: [{ asi: 'example.com', sid: '12345', hp: 1 }] + } + } + } + } + }; + const requests = spec.buildRequests(validBidRequests, schainBidderRequest); + + expect(requests[0].data.source.ext.schain).to.deep.equal(schainBidderRequest.ortb2.source.ext.schain); + }); + + it('should use floor from getFloor function', function () { + const bidWithFloor = [{ + ...validBidRequests[0], + getFloor: () => ({ currency: 'USD', floor: 1.50 }) + }]; + const requests = spec.buildRequests(bidWithFloor, bidderRequest); + + expect(requests[0].data.imp[0].bidfloor).to.equal(1.50); + }); + + it('should split requests by different propertyKeys', function () { + const multiPropertyBids = [ + { + bidder: 'panxo', + bidId: 'bid-id-1', + adUnitCode: 'ad-unit-1', + params: { propertyKey: 'property-a' }, + mediaTypes: { banner: { sizes: [[300, 250]] } } + }, + { + bidder: 'panxo', + bidId: 'bid-id-2', + adUnitCode: 'ad-unit-2', + params: { propertyKey: 'property-b' }, + mediaTypes: { banner: { sizes: [[728, 90]] } } + } + ]; + const requests = spec.buildRequests(multiPropertyBids, bidderRequest); + + expect(requests).to.have.lengthOf(2); + expect(requests[0].url).to.include('key=property-a'); + expect(requests[1].url).to.include('key=property-b'); + }); + }); + + describe('interpretResponse', function () { + const request = { + bidderRequest: { + bids: [{ bidId: 'bid-id-1', adUnitCode: 'ad-unit-1' }] + } + }; + + const serverResponse = { + body: { + id: 'response-id', + seatbid: [{ + seat: 'panxo', + bid: [{ + impid: 'bid-id-1', + price: 2.50, + w: 300, + h: 250, + adm: '
Ad creative
', + crid: 'creative-123', + adomain: ['advertiser.com'], + nurl: 'https://panxo-sys.com/win?price=${AUCTION_PRICE}' + }] + }], + cur: 'USD' + } + }; + + it('should parse valid bid response', function () { + const bids = spec.interpretResponse(serverResponse, request); + + expect(bids).to.have.lengthOf(1); + expect(bids[0].requestId).to.equal('bid-id-1'); + expect(bids[0].cpm).to.equal(2.50); + expect(bids[0].width).to.equal(300); + expect(bids[0].height).to.equal(250); + expect(bids[0].currency).to.equal('USD'); + expect(bids[0].netRevenue).to.be.true; + expect(bids[0].ad).to.equal('
Ad creative
'); + expect(bids[0].meta.advertiserDomains).to.include('advertiser.com'); + }); + + it('should return empty array for empty response', function () { + const emptyResponse = { body: {} }; + const bids = spec.interpretResponse(emptyResponse, request); + + expect(bids).to.be.an('array').that.is.empty; + }); + + it('should return empty array for no seatbid', function () { + const noSeatbidResponse = { body: { id: 'test', seatbid: [] } }; + const bids = spec.interpretResponse(noSeatbidResponse, request); + + expect(bids).to.be.an('array').that.is.empty; + }); + + it('should include nurl in bid response', function () { + const bids = spec.interpretResponse(serverResponse, request); + + expect(bids[0].nurl).to.include('panxo-sys.com/win'); + }); + }); + + describe('getUserSyncs', function () { + it('should return pixel sync when enabled', function () { + const syncOptions = { pixelEnabled: true }; + const syncs = spec.getUserSyncs(syncOptions); + + expect(syncs).to.have.lengthOf(1); + expect(syncs[0].type).to.equal('image'); + expect(syncs[0].url).to.include('panxo-sys.com/usersync'); + }); + + it('should return empty array when pixel sync disabled', function () { + const syncOptions = { pixelEnabled: false }; + const syncs = spec.getUserSyncs(syncOptions); + + expect(syncs).to.be.an('array').that.is.empty; + }); + + it('should include GDPR params when available', function () { + const syncOptions = { pixelEnabled: true }; + const gdprConsent = { gdprApplies: true, consentString: 'test-consent' }; + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent); + + expect(syncs[0].url).to.include('gdpr=1'); + expect(syncs[0].url).to.include('gdpr_consent=test-consent'); + }); + + it('should include USP params when available', function () { + const syncOptions = { pixelEnabled: true }; + const uspConsent = '1YNN'; + const syncs = spec.getUserSyncs(syncOptions, [], null, uspConsent); + + expect(syncs[0].url).to.include('us_privacy=1YNN'); + }); + }); + + describe('onBidWon', function () { + it('should fire win notification pixel', function () { + const bid = { + nurl: 'https://panxo-sys.com/win?price=${AUCTION_PRICE}', + cpm: 2.50 + }; + + // Mock document.createElement + const imgStub = { src: '', style: {} }; + const createElementStub = sinon.stub(document, 'createElement').returns(imgStub); + const appendChildStub = sinon.stub(document.body, 'appendChild'); + + spec.onBidWon(bid); + + expect(imgStub.src).to.include('price=2.5'); + + createElementStub.restore(); + appendChildStub.restore(); + }); + }); + + describe('spec properties', function () { + it('should have correct bidder code', function () { + expect(spec.code).to.equal('panxo'); + }); + + it('should support banner media type', function () { + expect(spec.supportedMediaTypes).to.include(BANNER); + }); + }); +}); From 0f451945fd8a85f21317052a28f9d0f4f88bf774 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Wed, 21 Jan 2026 04:40:39 -0800 Subject: [PATCH 127/248] Core: normalize FPD fields that have different ORTB 2.5 / 2.6 names; add `toOrtb26` translation utility (#14260) * Core: normalize FPD * Add toOrtb26 to translation library * Fix syntax error in TO_26_DEFAULT_RULES definition --------- Co-authored-by: Patrick McCann --- libraries/ortb2.5Translator/translator.js | 34 +++++-- src/fpd/normalize.js | 48 ++++++---- test/spec/fpd/normalize_spec.js | 93 ++++++++++++------- .../spec/ortb2.5Translator/translator_spec.js | 26 +++++- 4 files changed, 140 insertions(+), 61 deletions(-) diff --git a/libraries/ortb2.5Translator/translator.js b/libraries/ortb2.5Translator/translator.js index 2fe6dcdf6e2..1634d6584d0 100644 --- a/libraries/ortb2.5Translator/translator.js +++ b/libraries/ortb2.5Translator/translator.js @@ -13,9 +13,18 @@ export const EXT_PROMOTIONS = [ export function splitPath(path) { const parts = path.split('.'); - const prefix = parts.slice(0, parts.length - 1).join('.'); - const field = parts[parts.length - 1]; - return [prefix, field]; + const field = parts.pop(); + return [parts.join('.'), field]; +} + +export function addExt(prefix, field) { + return `${prefix}.ext.${field}` +} + +function removeExt(prefix, field) { + const [newPrefix, ext] = splitPath(prefix); + if (ext !== 'ext') throw new Error('invalid argument'); + return `${newPrefix}.${field}`; } /** @@ -25,7 +34,7 @@ export function splitPath(path) { * @return {(function({}): (function(): void|undefined))|*} a function that takes an object and, if it contains * sourcePath, copies its contents to destinationPath, returning a function that deletes the original sourcePath. */ -export function moveRule(sourcePath, dest = (prefix, field) => `${prefix}.ext.${field}`) { +export function moveRule(sourcePath, dest) { const [prefix, field] = splitPath(sourcePath); dest = dest(prefix, field); return (ortb2) => { @@ -50,11 +59,15 @@ function kwarrayRule(section) { }; } -export const DEFAULT_RULES = Object.freeze([ - ...EXT_PROMOTIONS.map((f) => moveRule(f)), +export const TO_25_DEFAULT_RULES = Object.freeze([ + ...EXT_PROMOTIONS.map((f) => moveRule(f, addExt)), ...['app', 'content', 'site', 'user'].map(kwarrayRule) ]); +export const TO_26_DEFAULT_RULES = Object.freeze([ + ...EXT_PROMOTIONS.map(f => moveRule(addExt(...splitPath(f)), removeExt)), +]); + /** * Factory for ORTB 2.5 translation functions. * @@ -62,7 +75,7 @@ export const DEFAULT_RULES = Object.freeze([ * @param rules translation rules; an array of functions of the type returned by `moveRule` * @return {function({}): {}} a translation function that takes an ORTB object, modifies it in place, and returns it. */ -export function ortb25Translator(deleteFields = true, rules = DEFAULT_RULES) { +export function ortb25Translator(deleteFields = true, rules = TO_25_DEFAULT_RULES) { return function (ortb2) { rules.forEach(f => { try { @@ -82,3 +95,10 @@ export function ortb25Translator(deleteFields = true, rules = DEFAULT_RULES) { * The request is modified in place and returned. */ export const toOrtb25 = ortb25Translator(); + +/** + * Translate an ortb 2.5 request to version 2.6 by moving fields that have a standardized 2.5 extension. + * + * The request is modified in place and returned. + */ +export const toOrtb26 = ortb25Translator(true, TO_26_DEFAULT_RULES); diff --git a/src/fpd/normalize.js b/src/fpd/normalize.js index cf4a5c5d2b9..d28bdde3802 100644 --- a/src/fpd/normalize.js +++ b/src/fpd/normalize.js @@ -1,10 +1,16 @@ -import {deepEqual, deepSetValue, logWarn} from '../utils.js'; +import {deepEqual, deepSetValue, deepAccess, logWarn} from '../utils.js'; import {hook} from '../hook.js'; export const normalizeFPD = hook('sync', function(ortb2Fragments) { [ normalizeEIDs, - normalizeSchain + makeNormalizer('source.schain', 'source.ext.schain', 'source.ext.schain'), + makeNormalizer('device.sua', 'device.ext.sua', 'device.sua'), + makeNormalizer('regs.gdpr', 'regs.ext.gdpr', 'regs.ext.gdpr'), + makeNormalizer('user.consent', 'user.ext.consent', 'user.ext.consent'), + makeNormalizer('regs.us_privacy', 'regs.ext.us_privacy', 'regs.ext.us_privacy'), + makeNormalizer('regs.gpp', 'regs.ext.gpp', 'regs.gpp'), + makeNormalizer('regs.gpp_sid', 'regs.ext.gpp_sid', 'regs.gpp_sid'), ].forEach(normalizer => applyNormalizer(normalizer, ortb2Fragments)); return ortb2Fragments; }) @@ -40,19 +46,29 @@ export function normalizeEIDs(target, context) { return target; } -export function normalizeSchain(target, context) { - if (!target) return target; - const schain = target.source?.schain; - const extSchain = target.source?.ext?.schain; - if (schain != null && extSchain != null && !deepEqual(schain, extSchain)) { - logWarn(`Conflicting source.schain and source.ext.schain (${context}), preferring source.schain`, { - 'source.schain': schain, - 'source.ext.schain': extSchain - }) - } - if ((schain ?? extSchain) != null) { - deepSetValue(target, 'source.ext.schain', schain ?? extSchain); +export function makeNormalizer(preferred, fallback, dest) { + if (dest !== preferred && dest !== fallback) throw new Error('invalid argument'); + const delPath = (dest === preferred ? fallback : preferred).split('.'); + const delProp = delPath.pop(); + const delTarget = delPath.join('.'); + + return function (ortb2, context) { + if (!ortb2) return ortb2; + const prefData = deepAccess(ortb2, preferred); + const fallbackData = deepAccess(ortb2, fallback); + if (prefData != null && fallbackData != null && !deepEqual(prefData, fallbackData)) { + logWarn(`Conflicting ${preferred} and ${fallback} (${context}), preferring ${preferred}`, { + [preferred]: prefData, + [fallback]: fallbackData + }) + } + if ((prefData ?? fallbackData) != null) { + deepSetValue(ortb2, dest, prefData ?? fallbackData); + } + const ignoredTarget = deepAccess(ortb2, delTarget); + if (ignoredTarget != null && typeof ignoredTarget === 'object') { + delete ignoredTarget[delProp]; + } + return ortb2; } - delete target.source?.schain; - return target; } diff --git a/test/spec/fpd/normalize_spec.js b/test/spec/fpd/normalize_spec.js index 33e06656719..1f5dc1a51a1 100644 --- a/test/spec/fpd/normalize_spec.js +++ b/test/spec/fpd/normalize_spec.js @@ -1,5 +1,7 @@ -import {normalizeEIDs, normalizeFPD, normalizeSchain} from '../../../src/fpd/normalize.js'; +import {makeNormalizer, normalizeEIDs, normalizeFPD, normalizeSchain} from '../../../src/fpd/normalize.js'; import * as utils from '../../../src/utils.js'; +import {deepClone, deepSetValue} from '../../../src/utils.js'; +import deepAccess from 'dlv/index.js'; describe('FPD normalization', () => { let sandbox; @@ -50,42 +52,67 @@ describe('FPD normalization', () => { expect(normalizeEIDs({})).to.eql({}); }) }) - describe('schain', () => { - it('should move schain to ext.schain', () => { - const fpd = { - source: { - schain: 'foo' - } - } - expect(normalizeSchain(fpd)).to.deep.equal({ - source: { - ext: { - schain: 'foo' - } - } - }) + + describe('makeNormalizer', () => { + let ortb2; + beforeEach(() => { + ortb2 = {}; }); - it('should warn on conflict', () => { - const fpd = { - source: { - schain: 'foo', - ext: { - schain: 'bar' - } - }, - } - expect(normalizeSchain(fpd)).to.eql({ - source: { - ext: { - schain: 'foo' + + Object.entries({ + 'preferred path': 'preferred.path', + 'fallback path': 'fallback.path' + }).forEach(([t, dest]) => { + describe(`when the destination path is the ${t}`, () => { + let normalizer, expected; + beforeEach(() => { + normalizer = makeNormalizer('preferred.path', 'fallback.path', dest); + expected = {}; + deepSetValue(expected, dest, ['data']); + }) + + function check() { + expect(deepAccess(ortb2, dest)).to.eql(deepAccess(expected, dest)); + if (dest === 'preferred.path') { + expect(ortb2.fallback?.path).to.not.exist; + } else { + expect(ortb2.preferred?.path).to.not.exist; } } + + it('should do nothing if there is neither preferred nor fallback data', () => { + ortb2.unrelated = ['data']; + normalizer(ortb2); + expect(ortb2).to.eql({unrelated: ['data']}); + }) + + it(`should leave fpd unchanged if data is only in the ${t}`, () => { + deepSetValue(ortb2, dest, ['data']); + normalizer(ortb2); + expect(ortb2).to.eql(expected); + }); + + it('should move data when it is in the fallback path', () => { + ortb2.fallback = {path: ['data']}; + normalizer(ortb2); + check(); + }); + + it('should move data when it is in the preferred path', () => { + ortb2.preferred = {path: ['data']}; + normalizer(ortb2); + expect(deepAccess(ortb2, dest)).to.eql(deepAccess(expected, dest)); + check(); + }); + + it('should warn on conflict', () => { + ortb2.preferred = {path: ['data']}; + ortb2.fallback = {path: ['fallback']}; + normalizer(ortb2); + sinon.assert.called(utils.logWarn); + check(); + }) }); - sinon.assert.called(utils.logWarn); }); - - it('should do nothing if there is no schain', () => { - expect(normalizeSchain({})).to.eql({}); - }) }) }) diff --git a/test/spec/ortb2.5Translator/translator_spec.js b/test/spec/ortb2.5Translator/translator_spec.js index db20a8f59be..a3d62417626 100644 --- a/test/spec/ortb2.5Translator/translator_spec.js +++ b/test/spec/ortb2.5Translator/translator_spec.js @@ -1,4 +1,10 @@ -import {EXT_PROMOTIONS, moveRule, splitPath, toOrtb25} from '../../../libraries/ortb2.5Translator/translator.js'; +import { + addExt, + EXT_PROMOTIONS, + moveRule, + splitPath, + toOrtb25, toOrtb26 +} from '../../../libraries/ortb2.5Translator/translator.js'; import {deepAccess, deepClone, deepSetValue} from '../../../src/utils.js'; describe('ORTB 2.5 translation', () => { @@ -33,10 +39,7 @@ describe('ORTB 2.5 translation', () => { }); describe('toOrtb25', () => { EXT_PROMOTIONS.forEach(path => { - const newPath = (() => { - const [prefix, field] = splitPath(path); - return `${prefix}.ext.${field}`; - })(); + const newPath = addExt(...splitPath(path)); it(`moves ${path} to ${newPath}`, () => { const obj = {}; @@ -61,4 +64,17 @@ describe('ORTB 2.5 translation', () => { }); }); }); + describe('toOrtb26', () => { + EXT_PROMOTIONS.forEach(path => { + const oldPath = addExt(...splitPath(path)); + + it(`moves ${oldPath} to ${path}`, () => { + const obj = {}; + deepSetValue(obj, oldPath, 'val'); + toOrtb26(obj); + expect(deepAccess(obj, oldPath)).to.eql(undefined); + expect(deepAccess(obj, path)).to.eql('val'); + }); + }); + }) }); From c4063a19e2c23c16a35a503628c187398dff1e4e Mon Sep 17 00:00:00 2001 From: himu Date: Wed, 21 Jan 2026 21:44:29 +0900 Subject: [PATCH 128/248] fix(priceFloors): handle undefined adUnit.bids in updateAdUnitsForAuction (#14360) Use optional chaining to safely iterate over adUnit.bids since it can be undefined in some configurations. Fixes TypeError: Cannot read properties of undefined (reading 'forEach') --- modules/priceFloors.ts | 3 ++- test/spec/modules/priceFloors_spec.js | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/priceFloors.ts b/modules/priceFloors.ts index 37149ee3a79..45460c66425 100644 --- a/modules/priceFloors.ts +++ b/modules/priceFloors.ts @@ -448,7 +448,8 @@ export function updateAdUnitsForAuction(adUnits, floorData, auctionId) { const noFloorSignalBiddersArray = getNoFloorSignalBidersArray(floorData) adUnits.forEach((adUnit) => { - adUnit.bids.forEach(bid => { + // adUnit.bids can be undefined + adUnit.bids?.forEach(bid => { // check if the bidder is in the no signal list const isNoFloorSignaled = noFloorSignalBiddersArray.some(bidderName => bidderName === bid.bidder) if (floorData.skipped || isNoFloorSignaled) { diff --git a/test/spec/modules/priceFloors_spec.js b/test/spec/modules/priceFloors_spec.js index a68da71534b..761e5256674 100644 --- a/test/spec/modules/priceFloors_spec.js +++ b/test/spec/modules/priceFloors_spec.js @@ -689,6 +689,11 @@ describe('the price floors module', function () { const skipRate = utils.deepAccess(adUnits, '0.bids.0.floorData.skipRate'); expect(skipRate).to.equal(undefined); }); + + it('should not throw when adUnit.bids is undefined', function() { + const adUnitsWithNoBids = [{ code: 'test-ad-unit', mediaTypes: { banner: { sizes: [[300, 250]] } } }]; + expect(() => updateAdUnitsForAuction(adUnitsWithNoBids, inputFloorData, 'id')).to.not.throw(); + }); }); describe('createFloorsDataForAuction', function() { From 2b07b174672e8652f4677dec4cd58d30b8b16d1d Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Wed, 21 Jan 2026 09:01:13 -0500 Subject: [PATCH 129/248] Core: fix package updates (#14356) --- package-lock.json | 1769 +++++++++++++++++++++++++++++---------------- package.json | 13 +- 2 files changed, 1170 insertions(+), 612 deletions(-) diff --git a/package-lock.json b/package-lock.json index 129c7358aaa..e99ff856176 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,9 +10,8 @@ "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", - "@babel/plugin-transform-runtime": "^7.18.9", - "@babel/preset-env": "^7.27.2", - "@babel/preset-typescript": "^7.26.0", + "@babel/preset-env": "^7.28.5", + "@babel/preset-typescript": "^7.28.5", "@babel/runtime": "^7.28.3", "core-js": "^3.45.1", "crypto-js": "^4.2.0", @@ -25,16 +24,15 @@ "iab-adcom": "^1.0.6", "iab-native": "^1.0.0", "iab-openrtb": "^1.0.1", - "karma-safarinative-launcher": "^1.1.0", "klona": "^2.0.6", "live-connect-js": "^7.2.0" }, "devDependencies": { - "@babel/eslint-parser": "^7.16.5", + "@babel/eslint-parser": "^7.28.6", "@babel/plugin-transform-runtime": "^7.27.4", "@babel/register": "^7.28.3", "@chiragrupani/karma-chromium-edge-launcher": "^2.4.1", - "@eslint/compat": "^1.3.1", + "@eslint/compat": "^1.4.1", "@types/google-publisher-tag": "^1.20250210.0", "@wdio/browserstack-service": "^9.19.1", "@wdio/cli": "^9.19.1", @@ -82,6 +80,7 @@ "karma-mocha-reporter": "^2.2.5", "karma-opera-launcher": "^1.0.0", "karma-safari-launcher": "^1.0.0", + "karma-safarinative-launcher": "^1.1.0", "karma-script-launcher": "^1.0.0", "karma-sinon": "^1.0.5", "karma-sourcemap-loader": "^0.4.0", @@ -111,7 +110,7 @@ "videojs-playlist": "^5.2.0", "webdriver": "^9.19.2", "webdriverio": "^9.18.4", - "webpack": "^5.102.1", + "webpack": "^5.103.0", "webpack-bundle-analyzer": "^4.5.0", "webpack-manifest-plugin": "^5.0.1", "webpack-stream": "^7.0.0", @@ -128,10 +127,12 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.28.6.tgz", + "integrity": "sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==", "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" }, @@ -140,7 +141,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.27.5", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.6.tgz", + "integrity": "sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -177,7 +180,9 @@ } }, "node_modules/@babel/eslint-parser": { - "version": "7.24.7", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.28.6.tgz", + "integrity": "sha512-QGmsKi2PBO/MHSQk+AAgA9R6OHQr+VqnniFE0eMWZcVcfBZoA2dKn2hUsl3Csg/Plt9opRUWdY7//VXsrIlEiA==", "dev": true, "license": "MIT", "dependencies": { @@ -194,13 +199,13 @@ } }, "node_modules/@babel/generator": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.3.tgz", - "integrity": "sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.6.tgz", + "integrity": "sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==", "license": "MIT", "dependencies": { - "@babel/parser": "^7.28.3", - "@babel/types": "^7.28.2", + "@babel/parser": "^7.28.6", + "@babel/types": "^7.28.6", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" @@ -220,10 +225,12 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.27.2", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz", + "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==", "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.27.2", + "@babel/compat-data": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", @@ -234,15 +241,17 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.6.tgz", + "integrity": "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow==", "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", - "@babel/helper-replace-supers": "^7.27.1", + "@babel/helper-replace-supers": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/traverse": "^7.27.1", + "@babel/traverse": "^7.28.6", "semver": "^6.3.1" }, "engines": { @@ -253,11 +262,13 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.27.1", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.28.5.tgz", + "integrity": "sha512-N1EhvLtHzOvj7QQOUCCS3NrPJP8c5W6ZXCHDn7Yialuy1iu4r5EmIYkXlKNqT99Ciw+W0mDqWoR6HWMZlFP3hw==", "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "regexpu-core": "^6.2.0", + "@babel/helper-annotate-as-pure": "^7.27.3", + "regexpu-core": "^6.3.1", "semver": "^6.3.1" }, "engines": { @@ -268,19 +279,44 @@ } }, "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.6.4", + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.5.tgz", + "integrity": "sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==", "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.22.6", - "@babel/helper-plugin-utils": "^7.22.5", - "debug": "^4.1.1", + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-plugin-utils": "^7.27.1", + "debug": "^4.4.1", "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2" + "resolve": "^1.22.10" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, + "node_modules/@babel/helper-define-polyfill-provider/node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/@babel/helper-define-polyfill-provider/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" + }, "node_modules/@babel/helper-globals": { "version": "7.28.0", "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz", @@ -291,36 +327,40 @@ } }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.27.1", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.28.5.tgz", + "integrity": "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==", "license": "MIT", "dependencies": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" + "@babel/traverse": "^7.28.5", + "@babel/types": "^7.28.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz", + "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==", "license": "MIT", "dependencies": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" + "@babel/traverse": "^7.28.6", + "@babel/types": "^7.28.6" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz", - "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz", + "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==", "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1", - "@babel/traverse": "^7.28.3" + "@babel/helper-module-imports": "^7.28.6", + "@babel/helper-validator-identifier": "^7.28.5", + "@babel/traverse": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -340,7 +380,9 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz", + "integrity": "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -348,6 +390,8 @@ }, "node_modules/@babel/helper-remap-async-to-generator": { "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.27.1.tgz", + "integrity": "sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==", "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.27.1", @@ -362,12 +406,14 @@ } }, "node_modules/@babel/helper-replace-supers": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.28.6.tgz", + "integrity": "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg==", "license": "MIT", "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/traverse": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -395,7 +441,9 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.27.1", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", "license": "MIT", "engines": { "node": ">=6.9.0" @@ -409,12 +457,14 @@ } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.28.6.tgz", + "integrity": "sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ==", "license": "MIT", "dependencies": { - "@babel/template": "^7.27.1", - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" + "@babel/template": "^7.28.6", + "@babel/traverse": "^7.28.6", + "@babel/types": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -434,12 +484,12 @@ } }, "node_modules/@babel/parser": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.4.tgz", - "integrity": "sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.6.tgz", + "integrity": "sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==", "license": "MIT", "dependencies": { - "@babel/types": "^7.28.4" + "@babel/types": "^7.28.6" }, "bin": { "parser": "bin/babel-parser.js" @@ -449,11 +499,13 @@ } }, "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { - "version": "7.27.1", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.28.5.tgz", + "integrity": "sha512-87GDMS3tsmMSi/3bWOte1UblL+YUTFMV8SZPZ2eSEL17s74Cw/l63rR6NmGVKMYW2GYi85nE+/d6Hw5N0bEk2Q==", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/traverse": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -504,11 +556,13 @@ } }, "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.28.6.tgz", + "integrity": "sha512-a0aBScVTlNaiUe35UtfxAN7A/tehvvG4/ByO6+46VPKTRSlfnAFsgKy0FUh+qAkQrDTmhDkT+IBOKlOoMUxQ0g==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/traverse": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -528,10 +582,12 @@ } }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.28.6.tgz", + "integrity": "sha512-pSJUpFHdx9z5nqTSirOCMtYVP2wFgoWhP0p3g8ONK/4IHhLIBd0B9NYqAvIUAhq+OkhO4VM1tENCt0cjlsNShw==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -541,10 +597,12 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.28.6.tgz", + "integrity": "sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -568,11 +626,12 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz", - "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.28.6.tgz", + "integrity": "sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==", + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -609,12 +668,14 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.28.6.tgz", + "integrity": "sha512-9knsChgsMzBV5Yh3kkhrZNxH3oCYAfMBkNNaVN4cP2RVlFPe8wYdwwcnOsAbkdDoV9UjFtOXWrWB52M8W4jNeA==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-remap-async-to-generator": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/traverse": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -624,11 +685,13 @@ } }, "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.28.6.tgz", + "integrity": "sha512-ilTRcmbuXjsMmcZ3HASTe4caH5Tpo93PkTxF9oG2VZsSWsahydmcEHhix9Ik122RcTnZnUzPbmux4wh1swfv7g==", "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-module-imports": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-remap-async-to-generator": "^7.27.1" }, "engines": { @@ -652,10 +715,12 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.27.5", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.6.tgz", + "integrity": "sha512-tt/7wOtBmwHPNMPu7ax4pdPz6shjFrmHDghvNC+FG9Qvj7D6mJcoRQIF5dy4njmxR941l6rgtvfSB2zX3VlUIw==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -665,11 +730,13 @@ } }, "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.28.6.tgz", + "integrity": "sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw==", "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -679,11 +746,13 @@ } }, "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.28.6.tgz", + "integrity": "sha512-rfQ++ghVwTWTqQ7w8qyDxL1XGihjBss4CmTgGRCTAC9RIbhVpyp4fOeZtta0Lbf+dTNIVJer6ych2ibHwkZqsQ==", "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -693,15 +762,17 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.6.tgz", + "integrity": "sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q==", "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-compilation-targets": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-replace-supers": "^7.27.1", - "@babel/traverse": "^7.27.1", - "globals": "^11.1.0" + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-globals": "^7.28.0", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/helper-replace-supers": "^7.28.6", + "@babel/traverse": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -710,19 +781,14 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-classes/node_modules/globals": { - "version": "11.12.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.28.6.tgz", + "integrity": "sha512-bcc3k0ijhHbc2lEfpFHgx7eYw9KNXqOerKWfzbxEHUGKnS3sz9C4CNL9OiFN1297bDNfUiSO7DaLzbvHQQQ1BQ==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/template": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/template": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -732,10 +798,13 @@ } }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.27.3", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.28.5.tgz", + "integrity": "sha512-Kl9Bc6D0zTUcFUvkNuQh4eGXPKKNDOJQXVyyM4ZAQPMveniJdxi8XMJwLo+xSoW3MIq81bD33lcUe9kZpl0MCw==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/traverse": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -745,11 +814,13 @@ } }, "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.28.6.tgz", + "integrity": "sha512-SljjowuNKB7q5Oayv4FoPzeB74g3QgLt8IVJw9ADvWy3QnUb/01aw8I4AVv8wYnPvQz2GDDZ/g3GhcNyDBI4Bg==", "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-regexp-features-plugin": "^7.28.5", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -772,11 +843,13 @@ } }, "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.28.6.tgz", + "integrity": "sha512-5suVoXjC14lUN6ZL9OLKIHCNVWCrqGqlmEp/ixdXjvgnEl/kauLvvMO/Xw9NyMc95Joj1AeLVPVMvibBgSoFlA==", "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-regexp-features-plugin": "^7.28.5", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -798,11 +871,29 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-explicit-resource-management": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.28.6.tgz", + "integrity": "sha512-Iao5Konzx2b6g7EPqTy40UZbcdXE126tTxVFr/nAIj+WItNxjKSYTEw3RC+A2/ZetmdJsgueL1KhaMCQHkLPIg==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/plugin-transform-destructuring": "^7.28.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.28.6.tgz", + "integrity": "sha512-WitabqiGjV/vJ0aPOLSFfNY1u9U3R7W36B03r5I2KoNix+a3sOhJ3pKFB3R5It9/UiK78NiO0KE9P21cMhlPkw==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -854,10 +945,12 @@ } }, "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.28.6.tgz", + "integrity": "sha512-Nr+hEN+0geQkzhbdgQVPoqr47lZbm+5fCUmO70722xJZd0Mvb59+33QLImGj6F+DkK3xgDi1YVysP8whD6FQAw==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -880,10 +973,12 @@ } }, "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.28.6.tgz", + "integrity": "sha512-+anKKair6gpi8VsM/95kmomGNMD0eLz1NQ8+Pfw5sAwWH9fGYXT50E55ZpV0pHUHWf6IUTWPM+f/7AAff+wr9A==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -920,11 +1015,13 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.28.6.tgz", + "integrity": "sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA==", "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-module-transforms": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -934,13 +1031,15 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.27.1", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.28.5.tgz", + "integrity": "sha512-vn5Jma98LCOeBy/KpeQhXcV2WZgaRUtjwQmjoBuLNlOmkg0fB5pdvYVeWRYI69wWKwK2cD1QbMiUQnoujWvrew==", "license": "MIT", "dependencies": { - "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-module-transforms": "^7.28.3", "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/helper-validator-identifier": "^7.28.5", + "@babel/traverse": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -991,10 +1090,12 @@ } }, "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.28.6.tgz", + "integrity": "sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1004,10 +1105,12 @@ } }, "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.28.6.tgz", + "integrity": "sha512-SJR8hPynj8outz+SlStQSwvziMN4+Bq99it4tMIf5/Caq+3iOc0JtKyse8puvyXkk3eFRIA5ID/XfunGgO5i6w==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1017,13 +1120,16 @@ } }, "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.27.3", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.6.tgz", + "integrity": "sha512-5rh+JR4JBC4pGkXLAcYdLHZjXudVxWMXbB6u6+E9lRL5TrGVbHt1TjxGbZ8CkmYw9zjkB7jutzOROArsqtncEA==", "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.27.2", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/plugin-transform-destructuring": "^7.27.3", - "@babel/plugin-transform-parameters": "^7.27.1" + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/plugin-transform-destructuring": "^7.28.5", + "@babel/plugin-transform-parameters": "^7.27.7", + "@babel/traverse": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1047,10 +1153,12 @@ } }, "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.28.6.tgz", + "integrity": "sha512-R8ja/Pyrv0OGAvAXQhSTmWyPJPml+0TMqXlO5w+AsMEiwb2fg3WkOvob7UxFSL3OIttFSGSRFKQsOhJ/X6HQdQ==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1060,10 +1168,12 @@ } }, "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.28.6.tgz", + "integrity": "sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "engines": { @@ -1074,7 +1184,9 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.27.1", + "version": "7.27.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.27.7.tgz", + "integrity": "sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==", "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.27.1" @@ -1087,11 +1199,13 @@ } }, "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.28.6.tgz", + "integrity": "sha512-piiuapX9CRv7+0st8lmuUlRSmX6mBcVeNQ1b4AYzJxfCMuBfB0vBXDiGSmm03pKJw1v6cZ8KSeM+oUnM6yAExg==", "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1101,12 +1215,14 @@ } }, "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.28.6.tgz", + "integrity": "sha512-b97jvNSOb5+ehyQmBpmhOCiUC5oVK4PMnpRvO7+ymFBoqYjeDHIU9jnrNUuwHOiL9RpGDoKBpSViarV+BU+eVA==", "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1129,10 +1245,12 @@ } }, "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.27.5", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.28.6.tgz", + "integrity": "sha512-eZhoEZHYQLL5uc1gS5e9/oTknS0sSSAtd5TkKMUp3J+S/CaUjagc0kOUPsEbDmMeva0nC3WWl4SxVY6+OBuxfw==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1142,11 +1260,13 @@ } }, "node_modules/@babel/plugin-transform-regexp-modifiers": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.28.6.tgz", + "integrity": "sha512-QGWAepm9qxpaIs7UM9FvUSnCGlb8Ua1RhyM4/veAxLwt3gMat/LSGrZixyuj4I6+Kn9iwvqCyPTtbdxanYoWYg==", "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-regexp-features-plugin": "^7.28.5", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1201,10 +1321,12 @@ } }, "node_modules/@babel/plugin-transform-spread": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.28.6.tgz", + "integrity": "sha512-9U4QObUC0FtJl05AsUcodau/RWDytrU6uKgkxu09mLR9HLDAtUMoPuuskm5huQsoktmsYpI+bGmq+iapDcriKA==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" }, "engines": { @@ -1254,15 +1376,16 @@ } }, "node_modules/@babel/plugin-transform-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.27.1.tgz", - "integrity": "sha512-Q5sT5+O4QUebHdbwKedFBEwRLb02zJ7r4A5Gg2hUoLuU3FjdMcyqcywqUrLCaDsFCxzokf7u9kuy7qz51YUuAg==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.6.tgz", + "integrity": "sha512-0YWL2RFxOqEm9Efk5PvreamxPME8OyY0wM5wh5lHjF+VtVhdneCWGzZeSqzOfiobVqQaNCd2z0tQvnI9DaPWPw==", + "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/plugin-syntax-typescript": "^7.27.1" + "@babel/plugin-syntax-typescript": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1285,11 +1408,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-property-regex": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.28.6.tgz", + "integrity": "sha512-4Wlbdl/sIZjzi/8St0evF0gEZrgOswVO6aOzqxh1kDZOl9WmLrHq2HtGhnOJZmHZYKP8WZ1MDLCt5DAWwRo57A==", "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-regexp-features-plugin": "^7.28.5", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1313,11 +1438,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.28.6.tgz", + "integrity": "sha512-/wHc/paTUmsDYN7SZkpWxogTOBNnlx7nBQYfy6JJlCT7G3mVhltk3e++N7zV0XfgGsrqBxd4rJQt9H16I21Y1Q==", "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-regexp-features-plugin": "^7.28.5", + "@babel/helper-plugin-utils": "^7.28.6" }, "engines": { "node": ">=6.9.0" @@ -1327,77 +1454,80 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.27.2", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.28.6.tgz", + "integrity": "sha512-GaTI4nXDrs7l0qaJ6Rg06dtOXTBCG6TMDB44zbqofCIC4PqC7SEvmFFtpxzCDw9W5aJ7RKVshgXTLvLdBFV/qw==", "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.27.2", - "@babel/helper-compilation-targets": "^7.27.2", - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/compat-data": "^7.28.6", + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.27.1", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.28.5", "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.27.1", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.27.1", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.27.1", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.27.1", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.28.6", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", - "@babel/plugin-syntax-import-assertions": "^7.27.1", - "@babel/plugin-syntax-import-attributes": "^7.27.1", + "@babel/plugin-syntax-import-assertions": "^7.28.6", + "@babel/plugin-syntax-import-attributes": "^7.28.6", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", "@babel/plugin-transform-arrow-functions": "^7.27.1", - "@babel/plugin-transform-async-generator-functions": "^7.27.1", - "@babel/plugin-transform-async-to-generator": "^7.27.1", + "@babel/plugin-transform-async-generator-functions": "^7.28.6", + "@babel/plugin-transform-async-to-generator": "^7.28.6", "@babel/plugin-transform-block-scoped-functions": "^7.27.1", - "@babel/plugin-transform-block-scoping": "^7.27.1", - "@babel/plugin-transform-class-properties": "^7.27.1", - "@babel/plugin-transform-class-static-block": "^7.27.1", - "@babel/plugin-transform-classes": "^7.27.1", - "@babel/plugin-transform-computed-properties": "^7.27.1", - "@babel/plugin-transform-destructuring": "^7.27.1", - "@babel/plugin-transform-dotall-regex": "^7.27.1", + "@babel/plugin-transform-block-scoping": "^7.28.6", + "@babel/plugin-transform-class-properties": "^7.28.6", + "@babel/plugin-transform-class-static-block": "^7.28.6", + "@babel/plugin-transform-classes": "^7.28.6", + "@babel/plugin-transform-computed-properties": "^7.28.6", + "@babel/plugin-transform-destructuring": "^7.28.5", + "@babel/plugin-transform-dotall-regex": "^7.28.6", "@babel/plugin-transform-duplicate-keys": "^7.27.1", - "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.27.1", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.28.6", "@babel/plugin-transform-dynamic-import": "^7.27.1", - "@babel/plugin-transform-exponentiation-operator": "^7.27.1", + "@babel/plugin-transform-explicit-resource-management": "^7.28.6", + "@babel/plugin-transform-exponentiation-operator": "^7.28.6", "@babel/plugin-transform-export-namespace-from": "^7.27.1", "@babel/plugin-transform-for-of": "^7.27.1", "@babel/plugin-transform-function-name": "^7.27.1", - "@babel/plugin-transform-json-strings": "^7.27.1", + "@babel/plugin-transform-json-strings": "^7.28.6", "@babel/plugin-transform-literals": "^7.27.1", - "@babel/plugin-transform-logical-assignment-operators": "^7.27.1", + "@babel/plugin-transform-logical-assignment-operators": "^7.28.6", "@babel/plugin-transform-member-expression-literals": "^7.27.1", "@babel/plugin-transform-modules-amd": "^7.27.1", - "@babel/plugin-transform-modules-commonjs": "^7.27.1", - "@babel/plugin-transform-modules-systemjs": "^7.27.1", + "@babel/plugin-transform-modules-commonjs": "^7.28.6", + "@babel/plugin-transform-modules-systemjs": "^7.28.5", "@babel/plugin-transform-modules-umd": "^7.27.1", "@babel/plugin-transform-named-capturing-groups-regex": "^7.27.1", "@babel/plugin-transform-new-target": "^7.27.1", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1", - "@babel/plugin-transform-numeric-separator": "^7.27.1", - "@babel/plugin-transform-object-rest-spread": "^7.27.2", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.28.6", + "@babel/plugin-transform-numeric-separator": "^7.28.6", + "@babel/plugin-transform-object-rest-spread": "^7.28.6", "@babel/plugin-transform-object-super": "^7.27.1", - "@babel/plugin-transform-optional-catch-binding": "^7.27.1", - "@babel/plugin-transform-optional-chaining": "^7.27.1", - "@babel/plugin-transform-parameters": "^7.27.1", - "@babel/plugin-transform-private-methods": "^7.27.1", - "@babel/plugin-transform-private-property-in-object": "^7.27.1", + "@babel/plugin-transform-optional-catch-binding": "^7.28.6", + "@babel/plugin-transform-optional-chaining": "^7.28.6", + "@babel/plugin-transform-parameters": "^7.27.7", + "@babel/plugin-transform-private-methods": "^7.28.6", + "@babel/plugin-transform-private-property-in-object": "^7.28.6", "@babel/plugin-transform-property-literals": "^7.27.1", - "@babel/plugin-transform-regenerator": "^7.27.1", - "@babel/plugin-transform-regexp-modifiers": "^7.27.1", + "@babel/plugin-transform-regenerator": "^7.28.6", + "@babel/plugin-transform-regexp-modifiers": "^7.28.6", "@babel/plugin-transform-reserved-words": "^7.27.1", "@babel/plugin-transform-shorthand-properties": "^7.27.1", - "@babel/plugin-transform-spread": "^7.27.1", + "@babel/plugin-transform-spread": "^7.28.6", "@babel/plugin-transform-sticky-regex": "^7.27.1", "@babel/plugin-transform-template-literals": "^7.27.1", "@babel/plugin-transform-typeof-symbol": "^7.27.1", "@babel/plugin-transform-unicode-escapes": "^7.27.1", - "@babel/plugin-transform-unicode-property-regex": "^7.27.1", + "@babel/plugin-transform-unicode-property-regex": "^7.28.6", "@babel/plugin-transform-unicode-regex": "^7.27.1", - "@babel/plugin-transform-unicode-sets-regex": "^7.27.1", + "@babel/plugin-transform-unicode-sets-regex": "^7.28.6", "@babel/preset-modules": "0.1.6-no-external-plugins", - "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.11.0", - "babel-plugin-polyfill-regenerator": "^0.6.1", - "core-js-compat": "^3.40.0", + "babel-plugin-polyfill-corejs2": "^0.4.14", + "babel-plugin-polyfill-corejs3": "^0.13.0", + "babel-plugin-polyfill-regenerator": "^0.6.5", + "core-js-compat": "^3.43.0", "semver": "^6.3.1" }, "engines": { @@ -1407,6 +1537,19 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/preset-env/node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.13.0.tgz", + "integrity": "sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==", + "license": "MIT", + "dependencies": { + "@babel/helper-define-polyfill-provider": "^0.6.5", + "core-js-compat": "^3.43.0" + }, + "peerDependencies": { + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + } + }, "node_modules/@babel/preset-modules": { "version": "0.1.6-no-external-plugins", "license": "MIT", @@ -1420,15 +1563,16 @@ } }, "node_modules/@babel/preset-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.27.1.tgz", - "integrity": "sha512-l7WfQfX0WK4M0v2RudjuQK4u99BS6yLHYEmdtVPP7lKV013zr9DygFuWNlnbvQ9LR+LS0Egz/XAvGx5U9MX0fQ==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.28.5.tgz", + "integrity": "sha512-+bQy5WOI2V6LJZpPVxY+yp66XdZ2yifu0Mc1aP5CQKgjn4QM5IN2i5fAZ4xKop47pr8rpVhiAeu+nDQa12C8+g==", + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-validator-option": "^7.27.1", "@babel/plugin-syntax-jsx": "^7.27.1", "@babel/plugin-transform-modules-commonjs": "^7.27.1", - "@babel/plugin-transform-typescript": "^7.27.1" + "@babel/plugin-transform-typescript": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -1561,29 +1705,31 @@ } }, "node_modules/@babel/template": { - "version": "7.27.2", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz", + "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==", "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/parser": "^7.27.2", - "@babel/types": "^7.27.1" + "@babel/code-frame": "^7.28.6", + "@babel/parser": "^7.28.6", + "@babel/types": "^7.28.6" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.4.tgz", - "integrity": "sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.6.tgz", + "integrity": "sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==", "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.3", + "@babel/code-frame": "^7.28.6", + "@babel/generator": "^7.28.6", "@babel/helper-globals": "^7.28.0", - "@babel/parser": "^7.28.4", - "@babel/template": "^7.27.2", - "@babel/types": "^7.28.4", + "@babel/parser": "^7.28.6", + "@babel/template": "^7.28.6", + "@babel/types": "^7.28.6", "debug": "^4.3.1" }, "engines": { @@ -1591,13 +1737,13 @@ } }, "node_modules/@babel/types": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.4.tgz", - "integrity": "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.6.tgz", + "integrity": "sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==", "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1" + "@babel/helper-validator-identifier": "^7.28.5" }, "engines": { "node": ">=6.9.0" @@ -1620,6 +1766,7 @@ }, "node_modules/@colors/colors": { "version": "1.5.0", + "dev": true, "license": "MIT", "engines": { "node": ">=0.1.90" @@ -2119,11 +2266,14 @@ } }, "node_modules/@eslint/compat": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.3.1.tgz", - "integrity": "sha512-k8MHony59I5EPic6EQTCNOuPoVBnoYXkP+20xvwFjN7t0qI3ImyvyBgg+hIVPwC8JaxVjjUZld+cLfBLFDLucg==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.4.1.tgz", + "integrity": "sha512-cfO82V9zxxGBxcQDr1lfaYB7wykTa0b00mGa36FrJl7iTFd0Z2cHfEYuxcBRP/iNijCsWsEkA+jzT8hGYmv33w==", "dev": true, "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0" + }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -2136,6 +2286,19 @@ } } }, + "node_modules/@eslint/compat/node_modules/@eslint/core": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz", + "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "node_modules/@eslint/config-array": { "version": "0.21.0", "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.0.tgz", @@ -3394,6 +3557,7 @@ }, "node_modules/@socket.io/component-emitter": { "version": "3.1.2", + "dev": true, "license": "MIT" }, "node_modules/@stylistic/eslint-plugin": { @@ -3462,10 +3626,12 @@ }, "node_modules/@types/cookie": { "version": "0.4.1", + "dev": true, "license": "MIT" }, "node_modules/@types/cors": { "version": "2.8.17", + "dev": true, "license": "MIT", "dependencies": { "@types/node": "*" @@ -3553,6 +3719,7 @@ }, "node_modules/@types/node": { "version": "20.14.2", + "dev": true, "license": "MIT", "dependencies": { "undici-types": "~5.26.4" @@ -6508,6 +6675,7 @@ }, "node_modules/ansi-regex": { "version": "5.0.1", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -6533,6 +6701,7 @@ }, "node_modules/anymatch": { "version": "3.1.3", + "dev": true, "license": "ISC", "dependencies": { "normalize-path": "^3.0.0", @@ -7124,11 +7293,13 @@ } }, "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.11", + "version": "0.4.14", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.14.tgz", + "integrity": "sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==", "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.6.2", + "@babel/compat-data": "^7.27.7", + "@babel/helper-define-polyfill-provider": "^0.6.5", "semver": "^6.3.1" }, "peerDependencies": { @@ -7137,6 +7308,7 @@ }, "node_modules/babel-plugin-polyfill-corejs3": { "version": "0.11.1", + "dev": true, "license": "MIT", "dependencies": { "@babel/helper-define-polyfill-provider": "^0.6.3", @@ -7147,10 +7319,12 @@ } }, "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.6.2", + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.5.tgz", + "integrity": "sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==", "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.2" + "@babel/helper-define-polyfill-provider": "^0.6.5" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -7171,6 +7345,7 @@ }, "node_modules/balanced-match": { "version": "1.0.2", + "dev": true, "license": "MIT" }, "node_modules/bare-events": { @@ -7261,6 +7436,7 @@ }, "node_modules/base64id": { "version": "2.0.0", + "dev": true, "license": "MIT", "engines": { "node": "^4.5.0 || >= 5.9" @@ -7313,6 +7489,7 @@ }, "node_modules/binary-extensions": { "version": "2.3.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -7483,6 +7660,7 @@ "version": "1.1.12", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", @@ -7491,6 +7669,7 @@ }, "node_modules/braces": { "version": "3.0.3", + "dev": true, "license": "MIT", "dependencies": { "fill-range": "^7.1.1" @@ -7505,9 +7684,9 @@ "license": "ISC" }, "node_modules/browserslist": { - "version": "4.26.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.26.3.tgz", - "integrity": "sha512-lAUU+02RFBuCKQPj/P6NgjlbCnLBMp4UtgTx7vNHd3XSIJF87s9a5rA3aH2yw3GS9DqZAUbOtZdCCiZeVRqt0w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", + "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", "funding": [ { "type": "opencollective", @@ -7524,11 +7703,11 @@ ], "license": "MIT", "dependencies": { - "baseline-browser-mapping": "^2.8.9", - "caniuse-lite": "^1.0.30001746", - "electron-to-chromium": "^1.5.227", - "node-releases": "^2.0.21", - "update-browserslist-db": "^1.1.3" + "baseline-browser-mapping": "^2.9.0", + "caniuse-lite": "^1.0.30001759", + "electron-to-chromium": "^1.5.263", + "node-releases": "^2.0.27", + "update-browserslist-db": "^1.2.0" }, "bin": { "browserslist": "cli.js" @@ -7819,6 +7998,7 @@ }, "node_modules/chokidar": { "version": "3.6.0", + "dev": true, "license": "MIT", "dependencies": { "anymatch": "~3.1.2", @@ -8143,6 +8323,7 @@ }, "node_modules/concat-map": { "version": "0.0.1", + "dev": true, "license": "MIT" }, "node_modules/concat-with-sourcemaps": { @@ -8155,6 +8336,7 @@ }, "node_modules/connect": { "version": "3.7.0", + "dev": true, "license": "MIT", "dependencies": { "debug": "2.6.9", @@ -8176,6 +8358,7 @@ }, "node_modules/connect/node_modules/debug": { "version": "2.6.9", + "dev": true, "license": "MIT", "dependencies": { "ms": "2.0.0" @@ -8183,6 +8366,7 @@ }, "node_modules/connect/node_modules/finalhandler": { "version": "1.1.2", + "dev": true, "license": "MIT", "dependencies": { "debug": "2.6.9", @@ -8199,10 +8383,12 @@ }, "node_modules/connect/node_modules/ms": { "version": "2.0.0", + "dev": true, "license": "MIT" }, "node_modules/connect/node_modules/on-finished": { "version": "2.3.0", + "dev": true, "license": "MIT", "dependencies": { "ee-first": "1.1.1" @@ -8213,6 +8399,7 @@ }, "node_modules/connect/node_modules/statuses": { "version": "1.5.0", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -8288,10 +8475,12 @@ } }, "node_modules/core-js-compat": { - "version": "3.42.0", + "version": "3.47.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.47.0.tgz", + "integrity": "sha512-IGfuznZ/n7Kp9+nypamBhvwdwLsW6KC8IOaURw2doAK5e98AG3acVLdh0woOnEqCfUtS+Vu882JE4k/DAm3ItQ==", "license": "MIT", "dependencies": { - "browserslist": "^4.24.4" + "browserslist": "^4.28.0" }, "funding": { "type": "opencollective", @@ -8304,6 +8493,7 @@ }, "node_modules/cors": { "version": "2.8.5", + "dev": true, "license": "MIT", "dependencies": { "object-assign": "^4", @@ -8791,6 +8981,7 @@ }, "node_modules/custom-event": { "version": "1.0.1", + "dev": true, "license": "MIT" }, "node_modules/d": { @@ -8863,6 +9054,7 @@ }, "node_modules/date-format": { "version": "4.0.14", + "dev": true, "license": "MIT", "engines": { "node": ">=4.0" @@ -9141,6 +9333,7 @@ }, "node_modules/di": { "version": "0.0.1", + "dev": true, "license": "MIT" }, "node_modules/diff": { @@ -9178,6 +9371,7 @@ }, "node_modules/dom-serialize": { "version": "2.2.1", + "dev": true, "license": "MIT", "dependencies": { "custom-event": "~1.0.0", @@ -9455,13 +9649,14 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.237", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.237.tgz", - "integrity": "sha512-icUt1NvfhGLar5lSWH3tHNzablaA5js3HVHacQimfP8ViEBOQv+L7DKEuHdbTZ0SKCO1ogTJTIL1Gwk9S6Qvcg==", + "version": "1.5.267", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz", + "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==", "license": "ISC" }, "node_modules/emoji-regex": { "version": "8.0.0", + "dev": true, "license": "MIT" }, "node_modules/emojis-list": { @@ -9512,6 +9707,7 @@ }, "node_modules/engine.io": { "version": "6.6.2", + "dev": true, "license": "MIT", "dependencies": { "@types/cookie": "^0.4.1", @@ -9531,6 +9727,7 @@ }, "node_modules/engine.io-parser": { "version": "5.2.3", + "dev": true, "license": "MIT", "engines": { "node": ">=10.0.0" @@ -9538,6 +9735,7 @@ }, "node_modules/engine.io/node_modules/cookie": { "version": "0.7.2", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.6" @@ -9559,6 +9757,7 @@ }, "node_modules/ent": { "version": "2.2.0", + "dev": true, "license": "MIT" }, "node_modules/entities": { @@ -10926,6 +11125,7 @@ }, "node_modules/eventemitter3": { "version": "4.0.7", + "dev": true, "license": "MIT" }, "node_modules/events": { @@ -11118,6 +11318,7 @@ }, "node_modules/extend": { "version": "3.0.2", + "dev": true, "license": "MIT" }, "node_modules/extend-shallow": { @@ -11397,6 +11598,7 @@ }, "node_modules/fill-range": { "version": "7.1.1", + "dev": true, "license": "MIT", "dependencies": { "to-regex-range": "^5.0.1" @@ -11526,10 +11728,12 @@ }, "node_modules/flatted": { "version": "3.3.1", + "dev": true, "license": "ISC" }, "node_modules/follow-redirects": { "version": "1.15.6", + "dev": true, "funding": [ { "type": "individual", @@ -11705,6 +11909,7 @@ }, "node_modules/fs.realpath": { "version": "1.0.0", + "dev": true, "license": "ISC" }, "node_modules/fsevents": { @@ -11837,6 +12042,7 @@ }, "node_modules/get-caller-file": { "version": "2.0.5", + "dev": true, "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" @@ -12007,6 +12213,7 @@ }, "node_modules/glob-parent": { "version": "5.1.2", + "dev": true, "license": "ISC", "dependencies": { "is-glob": "^4.0.1" @@ -13096,6 +13303,7 @@ }, "node_modules/http-proxy": { "version": "1.18.1", + "dev": true, "license": "MIT", "dependencies": { "eventemitter3": "^4.0.0", @@ -13269,6 +13477,7 @@ }, "node_modules/inflight": { "version": "1.0.6", + "dev": true, "license": "ISC", "dependencies": { "once": "^1.3.0", @@ -13440,6 +13649,7 @@ }, "node_modules/is-binary-path": { "version": "2.1.0", + "dev": true, "license": "MIT", "dependencies": { "binary-extensions": "^2.0.0" @@ -13498,7 +13708,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.1", + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", "license": "MIT", "dependencies": { "hasown": "^2.0.2" @@ -13577,6 +13789,7 @@ }, "node_modules/is-extglob": { "version": "2.1.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -13598,6 +13811,7 @@ }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -13624,6 +13838,7 @@ }, "node_modules/is-glob": { "version": "4.0.3", + "dev": true, "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" @@ -13668,6 +13883,7 @@ }, "node_modules/is-number": { "version": "7.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=0.12.0" @@ -13921,6 +14137,7 @@ }, "node_modules/isbinaryfile": { "version": "4.0.10", + "dev": true, "license": "MIT", "engines": { "node": ">= 8.0.0" @@ -14908,6 +15125,7 @@ "version": "6.4.4", "resolved": "https://registry.npmjs.org/karma/-/karma-6.4.4.tgz", "integrity": "sha512-LrtUxbdvt1gOpo3gxG+VAJlJAEMhbWlM4YrFQgql98FwF7+K8K12LYO4hnDdUkNjeztYrOXEMqgTajSWgmtI/w==", + "dev": true, "license": "MIT", "dependencies": { "@colors/colors": "1.5.0", @@ -15202,6 +15420,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/karma-safarinative-launcher/-/karma-safarinative-launcher-1.1.0.tgz", "integrity": "sha512-vdMjdQDHkSUbOZc8Zq2K5bBC0yJGFEgfrKRJTqt0Um0SC1Rt8drS2wcN6UA3h4LgsL3f1pMcmRSvKucbJE8Qdg==", + "dev": true, "peerDependencies": { "karma": ">=0.9" } @@ -15318,6 +15537,7 @@ }, "node_modules/karma/node_modules/ansi-styles": { "version": "4.3.0", + "dev": true, "license": "MIT", "dependencies": { "color-convert": "^2.0.1" @@ -15331,6 +15551,7 @@ }, "node_modules/karma/node_modules/cliui": { "version": "7.0.4", + "dev": true, "license": "ISC", "dependencies": { "string-width": "^4.2.0", @@ -15340,6 +15561,7 @@ }, "node_modules/karma/node_modules/color-convert": { "version": "2.0.1", + "dev": true, "license": "MIT", "dependencies": { "color-name": "~1.1.4" @@ -15350,10 +15572,12 @@ }, "node_modules/karma/node_modules/color-name": { "version": "1.1.4", + "dev": true, "license": "MIT" }, "node_modules/karma/node_modules/glob": { "version": "7.2.3", + "dev": true, "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", @@ -15372,6 +15596,7 @@ }, "node_modules/karma/node_modules/strip-ansi": { "version": "6.0.1", + "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -15382,6 +15607,7 @@ }, "node_modules/karma/node_modules/wrap-ansi": { "version": "7.0.0", + "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", @@ -15397,6 +15623,7 @@ }, "node_modules/karma/node_modules/yargs": { "version": "16.2.0", + "dev": true, "license": "MIT", "dependencies": { "cliui": "^7.0.2", @@ -15413,6 +15640,7 @@ }, "node_modules/karma/node_modules/yargs-parser": { "version": "20.2.9", + "dev": true, "license": "ISC", "engines": { "node": ">=10" @@ -15542,11 +15770,17 @@ "license": "MIT" }, "node_modules/loader-runner": { - "version": "4.3.0", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.1.tgz", + "integrity": "sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==", "dev": true, "license": "MIT", "engines": { "node": ">=6.11.5" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" } }, "node_modules/loader-utils": { @@ -15675,6 +15909,7 @@ }, "node_modules/log4js": { "version": "6.9.1", + "dev": true, "license": "Apache-2.0", "dependencies": { "date-format": "^4.0.14", @@ -15895,6 +16130,7 @@ }, "node_modules/mime": { "version": "2.6.0", + "dev": true, "license": "MIT", "bin": { "mime": "cli.js" @@ -15932,6 +16168,7 @@ }, "node_modules/minimatch": { "version": "3.1.2", + "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" @@ -15942,6 +16179,7 @@ }, "node_modules/minimist": { "version": "1.2.8", + "dev": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" @@ -15963,6 +16201,7 @@ }, "node_modules/mkdirp": { "version": "0.5.6", + "dev": true, "license": "MIT", "dependencies": { "minimist": "^1.2.6" @@ -16688,9 +16927,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.25", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.25.tgz", - "integrity": "sha512-4auku8B/vw5psvTiiN9j1dAOsXvMoGqJuKJcR+dTdqiXEK20mMTk1UEo3HS16LeGQsVG6+qKTPM9u/qQ2LqATA==", + "version": "2.0.27", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", + "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==", "license": "MIT" }, "node_modules/node-request-interceptor": { @@ -16753,6 +16992,7 @@ }, "node_modules/normalize-path": { "version": "3.0.0", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -16801,6 +17041,7 @@ }, "node_modules/object-assign": { "version": "4.1.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -16968,6 +17209,7 @@ }, "node_modules/once": { "version": "1.4.0", + "dev": true, "license": "ISC", "dependencies": { "wrappy": "1" @@ -17284,6 +17526,7 @@ }, "node_modules/path-is-absolute": { "version": "1.0.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -17387,6 +17630,7 @@ }, "node_modules/picomatch": { "version": "2.3.1", + "dev": true, "license": "MIT", "engines": { "node": ">=8.6" @@ -17766,6 +18010,7 @@ }, "node_modules/qjobs": { "version": "1.2.0", + "dev": true, "license": "MIT", "engines": { "node": ">=0.9" @@ -18027,6 +18272,7 @@ }, "node_modules/readdirp": { "version": "3.6.0", + "dev": true, "license": "MIT", "dependencies": { "picomatch": "^2.2.1" @@ -18082,10 +18328,14 @@ }, "node_modules/regenerate": { "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", "license": "MIT" }, "node_modules/regenerate-unicode-properties": { - "version": "10.2.0", + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.2.tgz", + "integrity": "sha512-m03P+zhBeQd1RGnYxrGyDAPpWX/epKirLrp8e3qevZdVkKtnCrjjWczIbYc8+xd6vcTStVlqfycTx1KR4LOr0g==", "license": "MIT", "dependencies": { "regenerate": "^1.4.2" @@ -18114,15 +18364,17 @@ } }, "node_modules/regexpu-core": { - "version": "6.2.0", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.4.0.tgz", + "integrity": "sha512-0ghuzq67LI9bLXpOX/ISfve/Mq33a4aFRzoQYhnnok1JOFpmE/A2TBGkNVenOGEeSBCjIiWcc6MVOG5HEQv0sA==", "license": "MIT", "dependencies": { "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.2.0", + "regenerate-unicode-properties": "^10.2.2", "regjsgen": "^0.8.0", - "regjsparser": "^0.12.0", + "regjsparser": "^0.13.0", "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.1.0" + "unicode-match-property-value-ecmascript": "^2.2.1" }, "engines": { "node": ">=4" @@ -18130,28 +18382,22 @@ }, "node_modules/regjsgen": { "version": "0.8.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==", "license": "MIT" }, "node_modules/regjsparser": { - "version": "0.12.0", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.0.tgz", + "integrity": "sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==", "license": "BSD-2-Clause", "dependencies": { - "jsesc": "~3.0.2" + "jsesc": "~3.1.0" }, "bin": { "regjsparser": "bin/parser" } }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "3.0.2", - "license": "MIT", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/remove-trailing-separator": { "version": "1.1.0", "dev": true, @@ -18185,6 +18431,7 @@ }, "node_modules/require-directory": { "version": "2.1.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -18200,19 +18447,25 @@ }, "node_modules/requires-port": { "version": "1.0.0", + "dev": true, "license": "MIT" }, "node_modules/resolve": { - "version": "1.22.8", + "version": "1.22.11", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.11.tgz", + "integrity": "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==", "license": "MIT", "dependencies": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.1", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": { "resolve": "bin/resolve" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -18290,6 +18543,7 @@ }, "node_modules/rfdc": { "version": "1.4.1", + "dev": true, "license": "MIT" }, "node_modules/rgb2hex": { @@ -18299,6 +18553,7 @@ }, "node_modules/rimraf": { "version": "3.0.2", + "dev": true, "license": "ISC", "dependencies": { "glob": "^7.1.3" @@ -18312,6 +18567,7 @@ }, "node_modules/rimraf/node_modules/glob": { "version": "7.2.3", + "dev": true, "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", @@ -18960,6 +19216,7 @@ }, "node_modules/socket.io": { "version": "4.8.0", + "dev": true, "license": "MIT", "dependencies": { "accepts": "~1.3.4", @@ -18976,6 +19233,7 @@ }, "node_modules/socket.io-adapter": { "version": "2.5.5", + "dev": true, "license": "MIT", "dependencies": { "debug": "~4.3.4", @@ -18984,6 +19242,7 @@ }, "node_modules/socket.io-parser": { "version": "4.2.4", + "dev": true, "license": "MIT", "dependencies": { "@socket.io/component-emitter": "~3.1.0", @@ -19034,6 +19293,7 @@ }, "node_modules/source-map": { "version": "0.6.1", + "dev": true, "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -19290,6 +19550,7 @@ }, "node_modules/streamroller": { "version": "3.1.5", + "dev": true, "license": "MIT", "dependencies": { "date-format": "^4.0.14", @@ -19302,6 +19563,7 @@ }, "node_modules/streamroller/node_modules/fs-extra": { "version": "8.1.0", + "dev": true, "license": "MIT", "dependencies": { "graceful-fs": "^4.2.0", @@ -19314,6 +19576,7 @@ }, "node_modules/streamroller/node_modules/jsonfile": { "version": "4.0.0", + "dev": true, "license": "MIT", "optionalDependencies": { "graceful-fs": "^4.1.6" @@ -19321,6 +19584,7 @@ }, "node_modules/streamroller/node_modules/universalify": { "version": "0.1.2", + "dev": true, "license": "MIT", "engines": { "node": ">= 4.0.0" @@ -19360,6 +19624,7 @@ }, "node_modules/string-width": { "version": "4.2.3", + "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -19397,6 +19662,7 @@ }, "node_modules/string-width/node_modules/strip-ansi": { "version": "6.0.1", + "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -19750,9 +20016,9 @@ } }, "node_modules/terser": { - "version": "5.44.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.44.0.tgz", - "integrity": "sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==", + "version": "5.45.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.45.0.tgz", + "integrity": "sha512-hQ9c+JZEnMug8eqzuU48sCeq95f00lLDAaJ5gWhRkFXsfy3+SUkZXiF/Z66ZO6EomSmgqXnkhVrWXKaQ8K41Ug==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -19769,9 +20035,9 @@ } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.14", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.14.tgz", - "integrity": "sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==", + "version": "5.3.16", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.16.tgz", + "integrity": "sha512-h9oBFCWrq78NyWWVcSwZarJkZ01c2AyGrzs1crmHZO3QUg9D61Wu4NPjBy69n7JqylFF5y+CsUZYmYEIZ3mR+Q==", "dev": true, "license": "MIT", "dependencies": { @@ -19982,6 +20248,7 @@ "version": "0.2.4", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.4.tgz", "integrity": "sha512-UdiSoX6ypifLmrfQ/XfiawN6hkjSBpCjhKxxZcWlUUmoXLaCKQU0bx4HF/tdDK2uzRuchf1txGvrWBzYREssoQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=14.14" @@ -20002,6 +20269,7 @@ }, "node_modules/to-regex-range": { "version": "5.0.1", + "dev": true, "license": "MIT", "dependencies": { "is-number": "^7.0.0" @@ -20322,6 +20590,7 @@ }, "node_modules/ua-parser-js": { "version": "0.7.38", + "dev": true, "funding": [ { "type": "opencollective", @@ -20419,10 +20688,13 @@ }, "node_modules/undici-types": { "version": "5.26.5", + "dev": true, "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", + "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", "license": "MIT", "engines": { "node": ">=4" @@ -20430,6 +20702,8 @@ }, "node_modules/unicode-match-property-ecmascript": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", "license": "MIT", "dependencies": { "unicode-canonical-property-names-ecmascript": "^2.0.0", @@ -20440,14 +20714,18 @@ } }, "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.2.0", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.1.tgz", + "integrity": "sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg==", "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.1.0", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.2.0.tgz", + "integrity": "sha512-hpbDzxUY9BFwX+UeBnxv3Sh1q7HFxj48DTmXchNgRa46lO8uj3/1iEn3MiNUYTg1g9ctIqXCCERn8gYZhHC5lQ==", "license": "MIT", "engines": { "node": ">=4" @@ -20517,7 +20795,9 @@ } }, "node_modules/update-browserslist-db": { - "version": "1.1.3", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", "funding": [ { "type": "opencollective", @@ -20898,6 +21178,7 @@ }, "node_modules/void-elements": { "version": "2.0.1", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -21363,9 +21644,9 @@ } }, "node_modules/webpack": { - "version": "5.102.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.102.1.tgz", - "integrity": "sha512-7h/weGm9d/ywQ6qzJ+Xy+r9n/3qgp/thalBbpOi5i223dPXKi04IBtqPN9nTd+jBc7QKfvDbaBnFipYp4sJAUQ==", + "version": "5.104.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.104.1.tgz", + "integrity": "sha512-Qphch25abbMNtekmEGJmeRUhLDbe+QfiWTiqpKYkpCOWY64v9eyl+KRRLmqOFA2AvKPpc9DC6+u2n76tQLBoaA==", "dev": true, "license": "MIT", "dependencies": { @@ -21377,21 +21658,21 @@ "@webassemblyjs/wasm-parser": "^1.14.1", "acorn": "^8.15.0", "acorn-import-phases": "^1.0.3", - "browserslist": "^4.26.3", + "browserslist": "^4.28.1", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.17.3", - "es-module-lexer": "^1.2.1", + "enhanced-resolve": "^5.17.4", + "es-module-lexer": "^2.0.0", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.2.11", "json-parse-even-better-errors": "^2.3.1", - "loader-runner": "^4.2.0", + "loader-runner": "^4.3.1", "mime-types": "^2.1.27", "neo-async": "^2.6.2", "schema-utils": "^4.3.3", "tapable": "^2.3.0", - "terser-webpack-plugin": "^5.3.11", + "terser-webpack-plugin": "^5.3.16", "watchpack": "^2.4.4", "webpack-sources": "^3.3.3" }, @@ -21632,6 +21913,13 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/webpack/node_modules/es-module-lexer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.0.0.tgz", + "integrity": "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==", + "dev": true, + "license": "MIT" + }, "node_modules/webpack/node_modules/json-parse-even-better-errors": { "version": "2.3.1", "dev": true, @@ -21951,10 +22239,12 @@ }, "node_modules/wrappy": { "version": "1.0.2", + "dev": true, "license": "ISC" }, "node_modules/ws": { "version": "8.17.1", + "dev": true, "license": "MIT", "engines": { "node": ">=10.0.0" @@ -21981,6 +22271,7 @@ }, "node_modules/y18n": { "version": "5.0.8", + "dev": true, "license": "ISC", "engines": { "node": ">=10" @@ -22167,15 +22458,19 @@ }, "dependencies": { "@babel/code-frame": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.28.6.tgz", + "integrity": "sha512-JYgintcMjRiCvS8mMECzaEn+m3PfoQiyqukOMCCVQtoJGYJw8j/8LBJEiqkHLkfwCcs74E3pbAUFNg7d9VNJ+Q==", "requires": { - "@babel/helper-validator-identifier": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" } }, "@babel/compat-data": { - "version": "7.27.5" + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.6.tgz", + "integrity": "sha512-2lfu57JtzctfIrcGMz992hyLlByuzgIk58+hhGCxjKZ3rWI82NnVLjXcaTqkI2NvlcvOskZaiZ5kjUALo3Lpxg==" }, "@babel/core": { "version": "7.28.4", @@ -22200,7 +22495,9 @@ } }, "@babel/eslint-parser": { - "version": "7.24.7", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.28.6.tgz", + "integrity": "sha512-QGmsKi2PBO/MHSQk+AAgA9R6OHQr+VqnniFE0eMWZcVcfBZoA2dKn2hUsl3Csg/Plt9opRUWdY7//VXsrIlEiA==", "dev": true, "requires": { "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1", @@ -22209,12 +22506,12 @@ } }, "@babel/generator": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.3.tgz", - "integrity": "sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.6.tgz", + "integrity": "sha512-lOoVRwADj8hjf7al89tvQ2a1lf53Z+7tiXMgpZJL3maQPDxh0DgLMN62B2MKUOFcoodBHLMbDM6WAbKgNy5Suw==", "requires": { - "@babel/parser": "^7.28.3", - "@babel/types": "^7.28.2", + "@babel/parser": "^7.28.6", + "@babel/types": "^7.28.6", "@jridgewell/gen-mapping": "^0.3.12", "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" @@ -22227,9 +22524,11 @@ } }, "@babel/helper-compilation-targets": { - "version": "7.27.2", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz", + "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==", "requires": { - "@babel/compat-data": "^7.27.2", + "@babel/compat-data": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", @@ -22237,33 +22536,54 @@ } }, "@babel/helper-create-class-features-plugin": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.6.tgz", + "integrity": "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow==", "requires": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", - "@babel/helper-replace-supers": "^7.27.1", + "@babel/helper-replace-supers": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/traverse": "^7.27.1", + "@babel/traverse": "^7.28.6", "semver": "^6.3.1" } }, "@babel/helper-create-regexp-features-plugin": { - "version": "7.27.1", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.28.5.tgz", + "integrity": "sha512-N1EhvLtHzOvj7QQOUCCS3NrPJP8c5W6ZXCHDn7Yialuy1iu4r5EmIYkXlKNqT99Ciw+W0mDqWoR6HWMZlFP3hw==", "requires": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "regexpu-core": "^6.2.0", + "@babel/helper-annotate-as-pure": "^7.27.3", + "regexpu-core": "^6.3.1", "semver": "^6.3.1" } }, "@babel/helper-define-polyfill-provider": { - "version": "0.6.4", + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.5.tgz", + "integrity": "sha512-uJnGFcPsWQK8fvjgGP5LZUZZsYGIoPeRjSF5PGwrelYgq7Q15/Ft9NGFp1zglwgIv//W0uG4BevRuSJRyylZPg==", "requires": { - "@babel/helper-compilation-targets": "^7.22.6", - "@babel/helper-plugin-utils": "^7.22.5", - "debug": "^4.1.1", + "@babel/helper-compilation-targets": "^7.27.2", + "@babel/helper-plugin-utils": "^7.27.1", + "debug": "^4.4.1", "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2" + "resolve": "^1.22.10" + }, + "dependencies": { + "debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "requires": { + "ms": "^2.1.3" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + } } }, "@babel/helper-globals": { @@ -22272,27 +22592,31 @@ "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==" }, "@babel/helper-member-expression-to-functions": { - "version": "7.27.1", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.28.5.tgz", + "integrity": "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==", "requires": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" + "@babel/traverse": "^7.28.5", + "@babel/types": "^7.28.5" } }, "@babel/helper-module-imports": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz", + "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==", "requires": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" + "@babel/traverse": "^7.28.6", + "@babel/types": "^7.28.6" } }, "@babel/helper-module-transforms": { - "version": "7.28.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz", - "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz", + "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==", "requires": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1", - "@babel/traverse": "^7.28.3" + "@babel/helper-module-imports": "^7.28.6", + "@babel/helper-validator-identifier": "^7.28.5", + "@babel/traverse": "^7.28.6" } }, "@babel/helper-optimise-call-expression": { @@ -22302,10 +22626,14 @@ } }, "@babel/helper-plugin-utils": { - "version": "7.27.1" + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz", + "integrity": "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==" }, "@babel/helper-remap-async-to-generator": { "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.27.1.tgz", + "integrity": "sha512-7fiA521aVw8lSPeI4ZOD3vRFkoqkJcS+z4hFo82bFSH/2tNd6eJ5qCVMS5OzDmZh/kaHQeBaeyxK6wljcPtveA==", "requires": { "@babel/helper-annotate-as-pure": "^7.27.1", "@babel/helper-wrap-function": "^7.27.1", @@ -22313,11 +22641,13 @@ } }, "@babel/helper-replace-supers": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.28.6.tgz", + "integrity": "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg==", "requires": { - "@babel/helper-member-expression-to-functions": "^7.27.1", + "@babel/helper-member-expression-to-functions": "^7.28.5", "@babel/helper-optimise-call-expression": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/traverse": "^7.28.6" } }, "@babel/helper-skip-transparent-expression-wrappers": { @@ -22331,17 +22661,21 @@ "version": "7.27.1" }, "@babel/helper-validator-identifier": { - "version": "7.27.1" + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==" }, "@babel/helper-validator-option": { "version": "7.27.1" }, "@babel/helper-wrap-function": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.28.6.tgz", + "integrity": "sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ==", "requires": { - "@babel/template": "^7.27.1", - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" + "@babel/template": "^7.28.6", + "@babel/traverse": "^7.28.6", + "@babel/types": "^7.28.6" } }, "@babel/helpers": { @@ -22354,18 +22688,20 @@ } }, "@babel/parser": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.4.tgz", - "integrity": "sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.6.tgz", + "integrity": "sha512-TeR9zWR18BvbfPmGbLampPMW+uW1NZnJlRuuHso8i87QZNq2JRF9i6RgxRqtEq+wQGsS19NNTWr2duhnE49mfQ==", "requires": { - "@babel/types": "^7.28.4" + "@babel/types": "^7.28.6" } }, "@babel/plugin-bugfix-firefox-class-in-computed-class-key": { - "version": "7.27.1", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.28.5.tgz", + "integrity": "sha512-87GDMS3tsmMSi/3bWOte1UblL+YUTFMV8SZPZ2eSEL17s74Cw/l63rR6NmGVKMYW2GYi85nE+/d6Hw5N0bEk2Q==", "requires": { "@babel/helper-plugin-utils": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/traverse": "^7.28.5" } }, "@babel/plugin-bugfix-safari-class-field-initializer-scope": { @@ -22389,10 +22725,12 @@ } }, "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.28.6.tgz", + "integrity": "sha512-a0aBScVTlNaiUe35UtfxAN7A/tehvvG4/ByO6+46VPKTRSlfnAFsgKy0FUh+qAkQrDTmhDkT+IBOKlOoMUxQ0g==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/traverse": "^7.28.6" } }, "@babel/plugin-proposal-private-property-in-object": { @@ -22400,15 +22738,19 @@ "requires": {} }, "@babel/plugin-syntax-import-assertions": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.28.6.tgz", + "integrity": "sha512-pSJUpFHdx9z5nqTSirOCMtYVP2wFgoWhP0p3g8ONK/4IHhLIBd0B9NYqAvIUAhq+OkhO4VM1tENCt0cjlsNShw==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-syntax-import-attributes": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.28.6.tgz", + "integrity": "sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-syntax-jsx": { @@ -22420,11 +22762,11 @@ } }, "@babel/plugin-syntax-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz", - "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.28.6.tgz", + "integrity": "sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-syntax-unicode-sets-regex": { @@ -22441,18 +22783,22 @@ } }, "@babel/plugin-transform-async-generator-functions": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.28.6.tgz", + "integrity": "sha512-9knsChgsMzBV5Yh3kkhrZNxH3oCYAfMBkNNaVN4cP2RVlFPe8wYdwwcnOsAbkdDoV9UjFtOXWrWB52M8W4jNeA==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-remap-async-to-generator": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/traverse": "^7.28.6" } }, "@babel/plugin-transform-async-to-generator": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.28.6.tgz", + "integrity": "sha512-ilTRcmbuXjsMmcZ3HASTe4caH5Tpo93PkTxF9oG2VZsSWsahydmcEHhix9Ik122RcTnZnUzPbmux4wh1swfv7g==", "requires": { - "@babel/helper-module-imports": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-module-imports": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-remap-async-to-generator": "^7.27.1" } }, @@ -22463,59 +22809,69 @@ } }, "@babel/plugin-transform-block-scoping": { - "version": "7.27.5", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.28.6.tgz", + "integrity": "sha512-tt/7wOtBmwHPNMPu7ax4pdPz6shjFrmHDghvNC+FG9Qvj7D6mJcoRQIF5dy4njmxR941l6rgtvfSB2zX3VlUIw==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-class-properties": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.28.6.tgz", + "integrity": "sha512-dY2wS3I2G7D697VHndN91TJr8/AAfXQNt5ynCTI/MpxMsSzHp+52uNivYT5wCPax3whc47DR8Ba7cmlQMg24bw==", "requires": { - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-class-static-block": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.28.6.tgz", + "integrity": "sha512-rfQ++ghVwTWTqQ7w8qyDxL1XGihjBss4CmTgGRCTAC9RIbhVpyp4fOeZtta0Lbf+dTNIVJer6ych2ibHwkZqsQ==", "requires": { - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-classes": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.28.6.tgz", + "integrity": "sha512-EF5KONAqC5zAqT783iMGuM2ZtmEBy+mJMOKl2BCvPZ2lVrwvXnB6o+OBWCS+CoeCCpVRF2sA2RBKUxvT8tQT5Q==", "requires": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-compilation-targets": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-replace-supers": "^7.27.1", - "@babel/traverse": "^7.27.1", - "globals": "^11.1.0" - }, - "dependencies": { - "globals": { - "version": "11.12.0" - } + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-globals": "^7.28.0", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/helper-replace-supers": "^7.28.6", + "@babel/traverse": "^7.28.6" } }, "@babel/plugin-transform-computed-properties": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.28.6.tgz", + "integrity": "sha512-bcc3k0ijhHbc2lEfpFHgx7eYw9KNXqOerKWfzbxEHUGKnS3sz9C4CNL9OiFN1297bDNfUiSO7DaLzbvHQQQ1BQ==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/template": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/template": "^7.28.6" } }, "@babel/plugin-transform-destructuring": { - "version": "7.27.3", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.28.5.tgz", + "integrity": "sha512-Kl9Bc6D0zTUcFUvkNuQh4eGXPKKNDOJQXVyyM4ZAQPMveniJdxi8XMJwLo+xSoW3MIq81bD33lcUe9kZpl0MCw==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.27.1", + "@babel/traverse": "^7.28.5" } }, "@babel/plugin-transform-dotall-regex": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.28.6.tgz", + "integrity": "sha512-SljjowuNKB7q5Oayv4FoPzeB74g3QgLt8IVJw9ADvWy3QnUb/01aw8I4AVv8wYnPvQz2GDDZ/g3GhcNyDBI4Bg==", "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-regexp-features-plugin": "^7.28.5", + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-duplicate-keys": { @@ -22525,10 +22881,12 @@ } }, "@babel/plugin-transform-duplicate-named-capturing-groups-regex": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.28.6.tgz", + "integrity": "sha512-5suVoXjC14lUN6ZL9OLKIHCNVWCrqGqlmEp/ixdXjvgnEl/kauLvvMO/Xw9NyMc95Joj1AeLVPVMvibBgSoFlA==", "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-regexp-features-plugin": "^7.28.5", + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-dynamic-import": { @@ -22537,10 +22895,21 @@ "@babel/helper-plugin-utils": "^7.27.1" } }, + "@babel/plugin-transform-explicit-resource-management": { + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-explicit-resource-management/-/plugin-transform-explicit-resource-management-7.28.6.tgz", + "integrity": "sha512-Iao5Konzx2b6g7EPqTy40UZbcdXE126tTxVFr/nAIj+WItNxjKSYTEw3RC+A2/ZetmdJsgueL1KhaMCQHkLPIg==", + "requires": { + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/plugin-transform-destructuring": "^7.28.5" + } + }, "@babel/plugin-transform-exponentiation-operator": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.28.6.tgz", + "integrity": "sha512-WitabqiGjV/vJ0aPOLSFfNY1u9U3R7W36B03r5I2KoNix+a3sOhJ3pKFB3R5It9/UiK78NiO0KE9P21cMhlPkw==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-export-namespace-from": { @@ -22565,9 +22934,11 @@ } }, "@babel/plugin-transform-json-strings": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.28.6.tgz", + "integrity": "sha512-Nr+hEN+0geQkzhbdgQVPoqr47lZbm+5fCUmO70722xJZd0Mvb59+33QLImGj6F+DkK3xgDi1YVysP8whD6FQAw==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-literals": { @@ -22577,9 +22948,11 @@ } }, "@babel/plugin-transform-logical-assignment-operators": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.28.6.tgz", + "integrity": "sha512-+anKKair6gpi8VsM/95kmomGNMD0eLz1NQ8+Pfw5sAwWH9fGYXT50E55ZpV0pHUHWf6IUTWPM+f/7AAff+wr9A==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-member-expression-literals": { @@ -22596,19 +22969,23 @@ } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.28.6.tgz", + "integrity": "sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA==", "requires": { - "@babel/helper-module-transforms": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-module-transforms": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.27.1", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.28.5.tgz", + "integrity": "sha512-vn5Jma98LCOeBy/KpeQhXcV2WZgaRUtjwQmjoBuLNlOmkg0fB5pdvYVeWRYI69wWKwK2cD1QbMiUQnoujWvrew==", "requires": { - "@babel/helper-module-transforms": "^7.27.1", + "@babel/helper-module-transforms": "^7.28.3", "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1", - "@babel/traverse": "^7.27.1" + "@babel/helper-validator-identifier": "^7.28.5", + "@babel/traverse": "^7.28.5" } }, "@babel/plugin-transform-modules-umd": { @@ -22632,24 +23009,31 @@ } }, "@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.28.6.tgz", + "integrity": "sha512-3wKbRgmzYbw24mDJXT7N+ADXw8BC/imU9yo9c9X9NKaLF1fW+e5H1U5QjMUBe4Qo4Ox/o++IyUkl1sVCLgevKg==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-numeric-separator": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.28.6.tgz", + "integrity": "sha512-SJR8hPynj8outz+SlStQSwvziMN4+Bq99it4tMIf5/Caq+3iOc0JtKyse8puvyXkk3eFRIA5ID/XfunGgO5i6w==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-object-rest-spread": { - "version": "7.27.3", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.28.6.tgz", + "integrity": "sha512-5rh+JR4JBC4pGkXLAcYdLHZjXudVxWMXbB6u6+E9lRL5TrGVbHt1TjxGbZ8CkmYw9zjkB7jutzOROArsqtncEA==", "requires": { - "@babel/helper-compilation-targets": "^7.27.2", - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/plugin-transform-destructuring": "^7.27.3", - "@babel/plugin-transform-parameters": "^7.27.1" + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", + "@babel/plugin-transform-destructuring": "^7.28.5", + "@babel/plugin-transform-parameters": "^7.27.7", + "@babel/traverse": "^7.28.6" } }, "@babel/plugin-transform-object-super": { @@ -22660,37 +23044,47 @@ } }, "@babel/plugin-transform-optional-catch-binding": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.28.6.tgz", + "integrity": "sha512-R8ja/Pyrv0OGAvAXQhSTmWyPJPml+0TMqXlO5w+AsMEiwb2fg3WkOvob7UxFSL3OIttFSGSRFKQsOhJ/X6HQdQ==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-optional-chaining": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.28.6.tgz", + "integrity": "sha512-A4zobikRGJTsX9uqVFdafzGkqD30t26ck2LmOzAuLL8b2x6k3TIqRiT2xVvA9fNmFeTX484VpsdgmKNA0bS23w==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" } }, "@babel/plugin-transform-parameters": { - "version": "7.27.1", + "version": "7.27.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.27.7.tgz", + "integrity": "sha512-qBkYTYCb76RRxUM6CcZA5KRu8K4SM8ajzVeUgVdMVO9NN9uI/GaVmBg/WKJJGnNokV9SY8FxNOVWGXzqzUidBg==", "requires": { "@babel/helper-plugin-utils": "^7.27.1" } }, "@babel/plugin-transform-private-methods": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.28.6.tgz", + "integrity": "sha512-piiuapX9CRv7+0st8lmuUlRSmX6mBcVeNQ1b4AYzJxfCMuBfB0vBXDiGSmm03pKJw1v6cZ8KSeM+oUnM6yAExg==", "requires": { - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-private-property-in-object": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.28.6.tgz", + "integrity": "sha512-b97jvNSOb5+ehyQmBpmhOCiUC5oVK4PMnpRvO7+ymFBoqYjeDHIU9jnrNUuwHOiL9RpGDoKBpSViarV+BU+eVA==", "requires": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-property-literals": { @@ -22700,16 +23094,20 @@ } }, "@babel/plugin-transform-regenerator": { - "version": "7.27.5", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.28.6.tgz", + "integrity": "sha512-eZhoEZHYQLL5uc1gS5e9/oTknS0sSSAtd5TkKMUp3J+S/CaUjagc0kOUPsEbDmMeva0nC3WWl4SxVY6+OBuxfw==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-regexp-modifiers": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.28.6.tgz", + "integrity": "sha512-QGWAepm9qxpaIs7UM9FvUSnCGlb8Ua1RhyM4/veAxLwt3gMat/LSGrZixyuj4I6+Kn9iwvqCyPTtbdxanYoWYg==", "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-regexp-features-plugin": "^7.28.5", + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-reserved-words": { @@ -22737,9 +23135,11 @@ } }, "@babel/plugin-transform-spread": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.28.6.tgz", + "integrity": "sha512-9U4QObUC0FtJl05AsUcodau/RWDytrU6uKgkxu09mLR9HLDAtUMoPuuskm5huQsoktmsYpI+bGmq+iapDcriKA==", "requires": { - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1" } }, @@ -22762,15 +23162,15 @@ } }, "@babel/plugin-transform-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.27.1.tgz", - "integrity": "sha512-Q5sT5+O4QUebHdbwKedFBEwRLb02zJ7r4A5Gg2hUoLuU3FjdMcyqcywqUrLCaDsFCxzokf7u9kuy7qz51YUuAg==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.6.tgz", + "integrity": "sha512-0YWL2RFxOqEm9Efk5PvreamxPME8OyY0wM5wh5lHjF+VtVhdneCWGzZeSqzOfiobVqQaNCd2z0tQvnI9DaPWPw==", "requires": { - "@babel/helper-annotate-as-pure": "^7.27.1", - "@babel/helper-create-class-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/helper-annotate-as-pure": "^7.27.3", + "@babel/helper-create-class-features-plugin": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/plugin-syntax-typescript": "^7.27.1" + "@babel/plugin-syntax-typescript": "^7.28.6" } }, "@babel/plugin-transform-unicode-escapes": { @@ -22780,10 +23180,12 @@ } }, "@babel/plugin-transform-unicode-property-regex": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.28.6.tgz", + "integrity": "sha512-4Wlbdl/sIZjzi/8St0evF0gEZrgOswVO6aOzqxh1kDZOl9WmLrHq2HtGhnOJZmHZYKP8WZ1MDLCt5DAWwRo57A==", "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-regexp-features-plugin": "^7.28.5", + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/plugin-transform-unicode-regex": { @@ -22794,84 +23196,100 @@ } }, "@babel/plugin-transform-unicode-sets-regex": { - "version": "7.27.1", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.28.6.tgz", + "integrity": "sha512-/wHc/paTUmsDYN7SZkpWxogTOBNnlx7nBQYfy6JJlCT7G3mVhltk3e++N7zV0XfgGsrqBxd4rJQt9H16I21Y1Q==", "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.27.1", - "@babel/helper-plugin-utils": "^7.27.1" + "@babel/helper-create-regexp-features-plugin": "^7.28.5", + "@babel/helper-plugin-utils": "^7.28.6" } }, "@babel/preset-env": { - "version": "7.27.2", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.28.6.tgz", + "integrity": "sha512-GaTI4nXDrs7l0qaJ6Rg06dtOXTBCG6TMDB44zbqofCIC4PqC7SEvmFFtpxzCDw9W5aJ7RKVshgXTLvLdBFV/qw==", "requires": { - "@babel/compat-data": "^7.27.2", - "@babel/helper-compilation-targets": "^7.27.2", - "@babel/helper-plugin-utils": "^7.27.1", + "@babel/compat-data": "^7.28.6", + "@babel/helper-compilation-targets": "^7.28.6", + "@babel/helper-plugin-utils": "^7.28.6", "@babel/helper-validator-option": "^7.27.1", - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.27.1", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.28.5", "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.27.1", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.27.1", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.27.1", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.27.1", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.28.6", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", - "@babel/plugin-syntax-import-assertions": "^7.27.1", - "@babel/plugin-syntax-import-attributes": "^7.27.1", + "@babel/plugin-syntax-import-assertions": "^7.28.6", + "@babel/plugin-syntax-import-attributes": "^7.28.6", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", "@babel/plugin-transform-arrow-functions": "^7.27.1", - "@babel/plugin-transform-async-generator-functions": "^7.27.1", - "@babel/plugin-transform-async-to-generator": "^7.27.1", + "@babel/plugin-transform-async-generator-functions": "^7.28.6", + "@babel/plugin-transform-async-to-generator": "^7.28.6", "@babel/plugin-transform-block-scoped-functions": "^7.27.1", - "@babel/plugin-transform-block-scoping": "^7.27.1", - "@babel/plugin-transform-class-properties": "^7.27.1", - "@babel/plugin-transform-class-static-block": "^7.27.1", - "@babel/plugin-transform-classes": "^7.27.1", - "@babel/plugin-transform-computed-properties": "^7.27.1", - "@babel/plugin-transform-destructuring": "^7.27.1", - "@babel/plugin-transform-dotall-regex": "^7.27.1", + "@babel/plugin-transform-block-scoping": "^7.28.6", + "@babel/plugin-transform-class-properties": "^7.28.6", + "@babel/plugin-transform-class-static-block": "^7.28.6", + "@babel/plugin-transform-classes": "^7.28.6", + "@babel/plugin-transform-computed-properties": "^7.28.6", + "@babel/plugin-transform-destructuring": "^7.28.5", + "@babel/plugin-transform-dotall-regex": "^7.28.6", "@babel/plugin-transform-duplicate-keys": "^7.27.1", - "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.27.1", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.28.6", "@babel/plugin-transform-dynamic-import": "^7.27.1", - "@babel/plugin-transform-exponentiation-operator": "^7.27.1", + "@babel/plugin-transform-explicit-resource-management": "^7.28.6", + "@babel/plugin-transform-exponentiation-operator": "^7.28.6", "@babel/plugin-transform-export-namespace-from": "^7.27.1", "@babel/plugin-transform-for-of": "^7.27.1", "@babel/plugin-transform-function-name": "^7.27.1", - "@babel/plugin-transform-json-strings": "^7.27.1", + "@babel/plugin-transform-json-strings": "^7.28.6", "@babel/plugin-transform-literals": "^7.27.1", - "@babel/plugin-transform-logical-assignment-operators": "^7.27.1", + "@babel/plugin-transform-logical-assignment-operators": "^7.28.6", "@babel/plugin-transform-member-expression-literals": "^7.27.1", "@babel/plugin-transform-modules-amd": "^7.27.1", - "@babel/plugin-transform-modules-commonjs": "^7.27.1", - "@babel/plugin-transform-modules-systemjs": "^7.27.1", + "@babel/plugin-transform-modules-commonjs": "^7.28.6", + "@babel/plugin-transform-modules-systemjs": "^7.28.5", "@babel/plugin-transform-modules-umd": "^7.27.1", "@babel/plugin-transform-named-capturing-groups-regex": "^7.27.1", "@babel/plugin-transform-new-target": "^7.27.1", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1", - "@babel/plugin-transform-numeric-separator": "^7.27.1", - "@babel/plugin-transform-object-rest-spread": "^7.27.2", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.28.6", + "@babel/plugin-transform-numeric-separator": "^7.28.6", + "@babel/plugin-transform-object-rest-spread": "^7.28.6", "@babel/plugin-transform-object-super": "^7.27.1", - "@babel/plugin-transform-optional-catch-binding": "^7.27.1", - "@babel/plugin-transform-optional-chaining": "^7.27.1", - "@babel/plugin-transform-parameters": "^7.27.1", - "@babel/plugin-transform-private-methods": "^7.27.1", - "@babel/plugin-transform-private-property-in-object": "^7.27.1", + "@babel/plugin-transform-optional-catch-binding": "^7.28.6", + "@babel/plugin-transform-optional-chaining": "^7.28.6", + "@babel/plugin-transform-parameters": "^7.27.7", + "@babel/plugin-transform-private-methods": "^7.28.6", + "@babel/plugin-transform-private-property-in-object": "^7.28.6", "@babel/plugin-transform-property-literals": "^7.27.1", - "@babel/plugin-transform-regenerator": "^7.27.1", - "@babel/plugin-transform-regexp-modifiers": "^7.27.1", + "@babel/plugin-transform-regenerator": "^7.28.6", + "@babel/plugin-transform-regexp-modifiers": "^7.28.6", "@babel/plugin-transform-reserved-words": "^7.27.1", "@babel/plugin-transform-shorthand-properties": "^7.27.1", - "@babel/plugin-transform-spread": "^7.27.1", + "@babel/plugin-transform-spread": "^7.28.6", "@babel/plugin-transform-sticky-regex": "^7.27.1", "@babel/plugin-transform-template-literals": "^7.27.1", "@babel/plugin-transform-typeof-symbol": "^7.27.1", "@babel/plugin-transform-unicode-escapes": "^7.27.1", - "@babel/plugin-transform-unicode-property-regex": "^7.27.1", + "@babel/plugin-transform-unicode-property-regex": "^7.28.6", "@babel/plugin-transform-unicode-regex": "^7.27.1", - "@babel/plugin-transform-unicode-sets-regex": "^7.27.1", + "@babel/plugin-transform-unicode-sets-regex": "^7.28.6", "@babel/preset-modules": "0.1.6-no-external-plugins", - "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.11.0", - "babel-plugin-polyfill-regenerator": "^0.6.1", - "core-js-compat": "^3.40.0", + "babel-plugin-polyfill-corejs2": "^0.4.14", + "babel-plugin-polyfill-corejs3": "^0.13.0", + "babel-plugin-polyfill-regenerator": "^0.6.5", + "core-js-compat": "^3.43.0", "semver": "^6.3.1" + }, + "dependencies": { + "babel-plugin-polyfill-corejs3": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.13.0.tgz", + "integrity": "sha512-U+GNwMdSFgzVmfhNm8GJUX88AadB3uo9KpJqS3FaqNIPKgySuvMb+bHPsOmmuWyIcuqZj/pzt1RUIUZns4y2+A==", + "requires": { + "@babel/helper-define-polyfill-provider": "^0.6.5", + "core-js-compat": "^3.43.0" + } + } } }, "@babel/preset-modules": { @@ -22883,15 +23301,15 @@ } }, "@babel/preset-typescript": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.27.1.tgz", - "integrity": "sha512-l7WfQfX0WK4M0v2RudjuQK4u99BS6yLHYEmdtVPP7lKV013zr9DygFuWNlnbvQ9LR+LS0Egz/XAvGx5U9MX0fQ==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.28.5.tgz", + "integrity": "sha512-+bQy5WOI2V6LJZpPVxY+yp66XdZ2yifu0Mc1aP5CQKgjn4QM5IN2i5fAZ4xKop47pr8rpVhiAeu+nDQa12C8+g==", "requires": { "@babel/helper-plugin-utils": "^7.27.1", "@babel/helper-validator-option": "^7.27.1", "@babel/plugin-syntax-jsx": "^7.27.1", "@babel/plugin-transform-modules-commonjs": "^7.27.1", - "@babel/plugin-transform-typescript": "^7.27.1" + "@babel/plugin-transform-typescript": "^7.28.5" } }, "@babel/register": { @@ -22973,34 +23391,36 @@ "integrity": "sha512-9uIQ10o0WGdpP6GDhXcdOJPJuDgFtIDtN/9+ArJQ2NAfAmiuhTQdzkaTGR33v43GYS2UrSA0eX2pPPHoFVvpxA==" }, "@babel/template": { - "version": "7.27.2", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz", + "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==", "requires": { - "@babel/code-frame": "^7.27.1", - "@babel/parser": "^7.27.2", - "@babel/types": "^7.27.1" + "@babel/code-frame": "^7.28.6", + "@babel/parser": "^7.28.6", + "@babel/types": "^7.28.6" } }, "@babel/traverse": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.4.tgz", - "integrity": "sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.6.tgz", + "integrity": "sha512-fgWX62k02qtjqdSNTAGxmKYY/7FSL9WAS1o2Hu5+I5m9T0yxZzr4cnrfXQ/MX0rIifthCSs6FKTlzYbJcPtMNg==", "requires": { - "@babel/code-frame": "^7.27.1", - "@babel/generator": "^7.28.3", + "@babel/code-frame": "^7.28.6", + "@babel/generator": "^7.28.6", "@babel/helper-globals": "^7.28.0", - "@babel/parser": "^7.28.4", - "@babel/template": "^7.27.2", - "@babel/types": "^7.28.4", + "@babel/parser": "^7.28.6", + "@babel/template": "^7.28.6", + "@babel/types": "^7.28.6", "debug": "^4.3.1" } }, "@babel/types": { - "version": "7.28.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.4.tgz", - "integrity": "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==", + "version": "7.28.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.6.tgz", + "integrity": "sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg==", "requires": { "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.27.1" + "@babel/helper-validator-identifier": "^7.28.5" } }, "@browserstack/ai-sdk-node": { @@ -23018,7 +23438,8 @@ "dev": true }, "@colors/colors": { - "version": "1.5.0" + "version": "1.5.0", + "dev": true }, "@discoveryjs/json-ext": { "version": "0.5.7", @@ -23259,11 +23680,24 @@ "dev": true }, "@eslint/compat": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.3.1.tgz", - "integrity": "sha512-k8MHony59I5EPic6EQTCNOuPoVBnoYXkP+20xvwFjN7t0qI3ImyvyBgg+hIVPwC8JaxVjjUZld+cLfBLFDLucg==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.4.1.tgz", + "integrity": "sha512-cfO82V9zxxGBxcQDr1lfaYB7wykTa0b00mGa36FrJl7iTFd0Z2cHfEYuxcBRP/iNijCsWsEkA+jzT8hGYmv33w==", "dev": true, - "requires": {} + "requires": { + "@eslint/core": "^0.17.0" + }, + "dependencies": { + "@eslint/core": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz", + "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.15" + } + } + } }, "@eslint/config-array": { "version": "0.21.0", @@ -24049,7 +24483,8 @@ "dev": true }, "@socket.io/component-emitter": { - "version": "3.1.2" + "version": "3.1.2", + "dev": true }, "@stylistic/eslint-plugin": { "version": "2.11.0", @@ -24091,10 +24526,12 @@ } }, "@types/cookie": { - "version": "0.4.1" + "version": "0.4.1", + "dev": true }, "@types/cors": { "version": "2.8.17", + "dev": true, "requires": { "@types/node": "*" } @@ -24170,6 +24607,7 @@ }, "@types/node": { "version": "20.14.2", + "dev": true, "requires": { "undici-types": "~5.26.4" } @@ -26133,7 +26571,8 @@ } }, "ansi-regex": { - "version": "5.0.1" + "version": "5.0.1", + "dev": true }, "ansi-styles": { "version": "3.2.1", @@ -26147,6 +26586,7 @@ }, "anymatch": { "version": "3.1.3", + "dev": true, "requires": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -26520,24 +26960,29 @@ } }, "babel-plugin-polyfill-corejs2": { - "version": "0.4.11", + "version": "0.4.14", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.14.tgz", + "integrity": "sha512-Co2Y9wX854ts6U8gAAPXfn0GmAyctHuK8n0Yhfjd6t30g7yvKjspvvOo9yG+z52PZRgFErt7Ka2pYnXCjLKEpg==", "requires": { - "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.6.2", + "@babel/compat-data": "^7.27.7", + "@babel/helper-define-polyfill-provider": "^0.6.5", "semver": "^6.3.1" } }, "babel-plugin-polyfill-corejs3": { "version": "0.11.1", + "dev": true, "requires": { "@babel/helper-define-polyfill-provider": "^0.6.3", "core-js-compat": "^3.40.0" } }, "babel-plugin-polyfill-regenerator": { - "version": "0.6.2", + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.5.tgz", + "integrity": "sha512-ISqQ2frbiNU9vIJkzg7dlPpznPZ4jOiUQ1uSmB0fEHeowtN3COYRsXr/xexn64NpU13P06jc/L5TgiJXOgrbEg==", "requires": { - "@babel/helper-define-polyfill-provider": "^0.6.2" + "@babel/helper-define-polyfill-provider": "^0.6.5" } }, "bach": { @@ -26550,7 +26995,8 @@ } }, "balanced-match": { - "version": "1.0.2" + "version": "1.0.2", + "dev": true }, "bare-events": { "version": "2.5.4", @@ -26593,7 +27039,8 @@ "dev": true }, "base64id": { - "version": "2.0.0" + "version": "2.0.0", + "dev": true }, "baseline-browser-mapping": { "version": "2.9.14", @@ -26626,7 +27073,8 @@ "dev": true }, "binary-extensions": { - "version": "2.3.0" + "version": "2.3.0", + "dev": true }, "binaryextensions": { "version": "2.3.0", @@ -26746,6 +27194,7 @@ "version": "1.1.12", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -26753,6 +27202,7 @@ }, "braces": { "version": "3.0.3", + "dev": true, "requires": { "fill-range": "^7.1.1" } @@ -26762,15 +27212,15 @@ "dev": true }, "browserslist": { - "version": "4.26.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.26.3.tgz", - "integrity": "sha512-lAUU+02RFBuCKQPj/P6NgjlbCnLBMp4UtgTx7vNHd3XSIJF87s9a5rA3aH2yw3GS9DqZAUbOtZdCCiZeVRqt0w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", + "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", "requires": { - "baseline-browser-mapping": "^2.8.9", - "caniuse-lite": "^1.0.30001746", - "electron-to-chromium": "^1.5.227", - "node-releases": "^2.0.21", - "update-browserslist-db": "^1.1.3" + "baseline-browser-mapping": "^2.9.0", + "caniuse-lite": "^1.0.30001759", + "electron-to-chromium": "^1.5.263", + "node-releases": "^2.0.27", + "update-browserslist-db": "^1.2.0" } }, "browserstack": { @@ -26967,6 +27417,7 @@ }, "chokidar": { "version": "3.6.0", + "dev": true, "requires": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -27170,7 +27621,8 @@ } }, "concat-map": { - "version": "0.0.1" + "version": "0.0.1", + "dev": true }, "concat-with-sourcemaps": { "version": "1.1.0", @@ -27181,6 +27633,7 @@ }, "connect": { "version": "3.7.0", + "dev": true, "requires": { "debug": "2.6.9", "finalhandler": "1.1.2", @@ -27190,12 +27643,14 @@ "dependencies": { "debug": { "version": "2.6.9", + "dev": true, "requires": { "ms": "2.0.0" } }, "finalhandler": { "version": "1.1.2", + "dev": true, "requires": { "debug": "2.6.9", "encodeurl": "~1.0.2", @@ -27207,16 +27662,19 @@ } }, "ms": { - "version": "2.0.0" + "version": "2.0.0", + "dev": true }, "on-finished": { "version": "2.3.0", + "dev": true, "requires": { "ee-first": "1.1.1" } }, "statuses": { - "version": "1.5.0" + "version": "1.5.0", + "dev": true } } }, @@ -27266,9 +27724,11 @@ "integrity": "sha512-L4NPsJlCfZsPeXukyzHFlg/i7IIVwHSItR0wg0FLNqYClJ4MQYTYLbC7EkjKYRLZF2iof2MUgN0EGy7MdQFChg==" }, "core-js-compat": { - "version": "3.42.0", + "version": "3.47.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.47.0.tgz", + "integrity": "sha512-IGfuznZ/n7Kp9+nypamBhvwdwLsW6KC8IOaURw2doAK5e98AG3acVLdh0woOnEqCfUtS+Vu882JE4k/DAm3ItQ==", "requires": { - "browserslist": "^4.24.4" + "browserslist": "^4.28.0" } }, "core-util-is": { @@ -27276,6 +27736,7 @@ }, "cors": { "version": "2.8.5", + "dev": true, "requires": { "object-assign": "^4", "vary": "^1" @@ -27591,7 +28052,8 @@ "dev": true }, "custom-event": { - "version": "1.0.1" + "version": "1.0.1", + "dev": true }, "d": { "version": "1.0.2", @@ -27633,7 +28095,8 @@ } }, "date-format": { - "version": "4.0.14" + "version": "4.0.14", + "dev": true }, "debounce": { "version": "1.2.1", @@ -27801,7 +28264,8 @@ "dev": true }, "di": { - "version": "0.0.1" + "version": "0.0.1", + "dev": true }, "diff": { "version": "5.2.0", @@ -27825,6 +28289,7 @@ }, "dom-serialize": { "version": "2.2.1", + "dev": true, "requires": { "custom-event": "~1.0.0", "ent": "~2.2.0", @@ -28006,12 +28471,13 @@ } }, "electron-to-chromium": { - "version": "1.5.237", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.237.tgz", - "integrity": "sha512-icUt1NvfhGLar5lSWH3tHNzablaA5js3HVHacQimfP8ViEBOQv+L7DKEuHdbTZ0SKCO1ogTJTIL1Gwk9S6Qvcg==" + "version": "1.5.267", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz", + "integrity": "sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw==" }, "emoji-regex": { - "version": "8.0.0" + "version": "8.0.0", + "dev": true }, "emojis-list": { "version": "3.0.0", @@ -28046,6 +28512,7 @@ }, "engine.io": { "version": "6.6.2", + "dev": true, "requires": { "@types/cookie": "^0.4.1", "@types/cors": "^2.8.12", @@ -28060,12 +28527,14 @@ }, "dependencies": { "cookie": { - "version": "0.7.2" + "version": "0.7.2", + "dev": true } } }, "engine.io-parser": { - "version": "5.2.3" + "version": "5.2.3", + "dev": true }, "enhanced-resolve": { "version": "5.18.3", @@ -28078,7 +28547,8 @@ } }, "ent": { - "version": "2.2.0" + "version": "2.2.0", + "dev": true }, "entities": { "version": "4.5.0", @@ -28968,7 +29438,8 @@ "dev": true }, "eventemitter3": { - "version": "4.0.7" + "version": "4.0.7", + "dev": true }, "events": { "version": "3.3.0", @@ -29108,7 +29579,8 @@ } }, "extend": { - "version": "3.0.2" + "version": "3.0.2", + "dev": true }, "extend-shallow": { "version": "1.1.4", @@ -29291,6 +29763,7 @@ }, "fill-range": { "version": "7.1.1", + "dev": true, "requires": { "to-regex-range": "^5.0.1" } @@ -29376,10 +29849,12 @@ } }, "flatted": { - "version": "3.3.1" + "version": "3.3.1", + "dev": true }, "follow-redirects": { - "version": "1.15.6" + "version": "1.15.6", + "dev": true }, "for-each": { "version": "0.3.5", @@ -29481,7 +29956,8 @@ } }, "fs.realpath": { - "version": "1.0.0" + "version": "1.0.0", + "dev": true }, "fsevents": { "version": "2.3.3", @@ -29560,7 +30036,8 @@ "version": "1.0.0-beta.2" }, "get-caller-file": { - "version": "2.0.5" + "version": "2.0.5", + "dev": true }, "get-func-name": { "version": "2.0.2", @@ -29687,6 +30164,7 @@ }, "glob-parent": { "version": "5.1.2", + "dev": true, "requires": { "is-glob": "^4.0.1" } @@ -30430,6 +30908,7 @@ }, "http-proxy": { "version": "1.18.1", + "dev": true, "requires": { "eventemitter3": "^4.0.0", "follow-redirects": "^1.0.0", @@ -30535,6 +31014,7 @@ }, "inflight": { "version": "1.0.6", + "dev": true, "requires": { "once": "^1.3.0", "wrappy": "1" @@ -30640,6 +31120,7 @@ }, "is-binary-path": { "version": "2.1.0", + "dev": true, "requires": { "binary-extensions": "^2.0.0" } @@ -30674,7 +31155,9 @@ "dev": true }, "is-core-module": { - "version": "2.15.1", + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", "requires": { "hasown": "^2.0.2" } @@ -30715,7 +31198,8 @@ } }, "is-extglob": { - "version": "2.1.1" + "version": "2.1.1", + "dev": true }, "is-finalizationregistry": { "version": "1.1.1", @@ -30725,7 +31209,8 @@ } }, "is-fullwidth-code-point": { - "version": "3.0.0" + "version": "3.0.0", + "dev": true }, "is-function": { "version": "1.0.2", @@ -30740,6 +31225,7 @@ }, "is-glob": { "version": "4.0.3", + "dev": true, "requires": { "is-extglob": "^2.1.1" } @@ -30761,7 +31247,8 @@ "dev": true }, "is-number": { - "version": "7.0.0" + "version": "7.0.0", + "dev": true }, "is-number-object": { "version": "1.1.1", @@ -30895,7 +31382,8 @@ "dev": true }, "isbinaryfile": { - "version": "4.0.10" + "version": "4.0.10", + "dev": true }, "isexe": { "version": "3.1.1", @@ -31539,6 +32027,7 @@ "version": "6.4.4", "resolved": "https://registry.npmjs.org/karma/-/karma-6.4.4.tgz", "integrity": "sha512-LrtUxbdvt1gOpo3gxG+VAJlJAEMhbWlM4YrFQgql98FwF7+K8K12LYO4hnDdUkNjeztYrOXEMqgTajSWgmtI/w==", + "dev": true, "requires": { "@colors/colors": "1.5.0", "body-parser": "^1.19.0", @@ -31568,12 +32057,14 @@ "dependencies": { "ansi-styles": { "version": "4.3.0", + "dev": true, "requires": { "color-convert": "^2.0.1" } }, "cliui": { "version": "7.0.4", + "dev": true, "requires": { "string-width": "^4.2.0", "strip-ansi": "^6.0.0", @@ -31582,15 +32073,18 @@ }, "color-convert": { "version": "2.0.1", + "dev": true, "requires": { "color-name": "~1.1.4" } }, "color-name": { - "version": "1.1.4" + "version": "1.1.4", + "dev": true }, "glob": { "version": "7.2.3", + "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -31602,12 +32096,14 @@ }, "strip-ansi": { "version": "6.0.1", + "dev": true, "requires": { "ansi-regex": "^5.0.1" } }, "wrap-ansi": { "version": "7.0.0", + "dev": true, "requires": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -31616,6 +32112,7 @@ }, "yargs": { "version": "16.2.0", + "dev": true, "requires": { "cliui": "^7.0.2", "escalade": "^3.1.1", @@ -31627,7 +32124,8 @@ } }, "yargs-parser": { - "version": "20.2.9" + "version": "20.2.9", + "dev": true } } }, @@ -31815,6 +32313,7 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/karma-safarinative-launcher/-/karma-safarinative-launcher-1.1.0.tgz", "integrity": "sha512-vdMjdQDHkSUbOZc8Zq2K5bBC0yJGFEgfrKRJTqt0Um0SC1Rt8drS2wcN6UA3h4LgsL3f1pMcmRSvKucbJE8Qdg==", + "dev": true, "requires": {} }, "karma-script-launcher": { @@ -31973,7 +32472,9 @@ "dev": true }, "loader-runner": { - "version": "4.3.0", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.1.tgz", + "integrity": "sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==", "dev": true }, "loader-utils": { @@ -32062,6 +32563,7 @@ }, "log4js": { "version": "6.9.1", + "dev": true, "requires": { "date-format": "^4.0.14", "debug": "^4.3.4", @@ -32209,7 +32711,8 @@ } }, "mime": { - "version": "2.6.0" + "version": "2.6.0", + "dev": true }, "mime-db": { "version": "1.52.0" @@ -32231,12 +32734,14 @@ }, "minimatch": { "version": "3.1.2", + "dev": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { - "version": "1.2.8" + "version": "1.2.8", + "dev": true }, "minipass": { "version": "7.1.2", @@ -32250,6 +32755,7 @@ }, "mkdirp": { "version": "0.5.6", + "dev": true, "requires": { "minimist": "^1.2.6" } @@ -32694,9 +33200,9 @@ } }, "node-releases": { - "version": "2.0.25", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.25.tgz", - "integrity": "sha512-4auku8B/vw5psvTiiN9j1dAOsXvMoGqJuKJcR+dTdqiXEK20mMTk1UEo3HS16LeGQsVG6+qKTPM9u/qQ2LqATA==" + "version": "2.0.27", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz", + "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==" }, "node-request-interceptor": { "version": "0.6.3", @@ -32739,7 +33245,8 @@ } }, "normalize-path": { - "version": "3.0.0" + "version": "3.0.0", + "dev": true }, "now-and-later": { "version": "3.0.0", @@ -32769,7 +33276,8 @@ } }, "object-assign": { - "version": "4.1.1" + "version": "4.1.1", + "dev": true }, "object-inspect": { "version": "1.13.4" @@ -32870,6 +33378,7 @@ }, "once": { "version": "1.4.0", + "dev": true, "requires": { "wrappy": "1" } @@ -33072,7 +33581,8 @@ "dev": true }, "path-is-absolute": { - "version": "1.0.1" + "version": "1.0.1", + "dev": true }, "path-key": { "version": "3.1.1", @@ -33136,7 +33646,8 @@ "version": "1.1.1" }, "picomatch": { - "version": "2.3.1" + "version": "2.3.1", + "dev": true }, "pirates": { "version": "4.0.6", @@ -33373,7 +33884,8 @@ "dev": true }, "qjobs": { - "version": "1.2.0" + "version": "1.2.0", + "dev": true }, "qs": { "version": "6.14.1", @@ -33542,6 +34054,7 @@ }, "readdirp": { "version": "3.6.0", + "dev": true, "requires": { "picomatch": "^2.2.1" } @@ -33577,10 +34090,14 @@ } }, "regenerate": { - "version": "1.4.2" + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==" }, "regenerate-unicode-properties": { - "version": "10.2.0", + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.2.tgz", + "integrity": "sha512-m03P+zhBeQd1RGnYxrGyDAPpWX/epKirLrp8e3qevZdVkKtnCrjjWczIbYc8+xd6vcTStVlqfycTx1KR4LOr0g==", "requires": { "regenerate": "^1.4.2" } @@ -33598,28 +34115,29 @@ } }, "regexpu-core": { - "version": "6.2.0", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.4.0.tgz", + "integrity": "sha512-0ghuzq67LI9bLXpOX/ISfve/Mq33a4aFRzoQYhnnok1JOFpmE/A2TBGkNVenOGEeSBCjIiWcc6MVOG5HEQv0sA==", "requires": { "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.2.0", + "regenerate-unicode-properties": "^10.2.2", "regjsgen": "^0.8.0", - "regjsparser": "^0.12.0", + "regjsparser": "^0.13.0", "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.1.0" + "unicode-match-property-value-ecmascript": "^2.2.1" } }, "regjsgen": { - "version": "0.8.0" + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==" }, "regjsparser": { - "version": "0.12.0", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.13.0.tgz", + "integrity": "sha512-NZQZdC5wOE/H3UT28fVGL+ikOZcEzfMGk/c3iN9UGxzWHMa1op7274oyiUVrAG4B2EuFhus8SvkaYnhvW92p9Q==", "requires": { - "jsesc": "~3.0.2" - }, - "dependencies": { - "jsesc": { - "version": "3.0.2" - } + "jsesc": "~3.1.0" } }, "remove-trailing-separator": { @@ -33644,7 +34162,8 @@ } }, "require-directory": { - "version": "2.1.1" + "version": "2.1.1", + "dev": true }, "require-from-string": { "version": "2.0.2", @@ -33652,12 +34171,15 @@ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" }, "requires-port": { - "version": "1.0.0" + "version": "1.0.0", + "dev": true }, "resolve": { - "version": "1.22.8", + "version": "1.22.11", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.11.tgz", + "integrity": "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==", "requires": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.1", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } @@ -33709,7 +34231,8 @@ "dev": true }, "rfdc": { - "version": "1.4.1" + "version": "1.4.1", + "dev": true }, "rgb2hex": { "version": "0.2.5", @@ -33717,12 +34240,14 @@ }, "rimraf": { "version": "3.0.2", + "dev": true, "requires": { "glob": "^7.1.3" }, "dependencies": { "glob": { "version": "7.2.3", + "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -34141,6 +34666,7 @@ }, "socket.io": { "version": "4.8.0", + "dev": true, "requires": { "accepts": "~1.3.4", "base64id": "~2.0.0", @@ -34153,6 +34679,7 @@ }, "socket.io-adapter": { "version": "2.5.5", + "dev": true, "requires": { "debug": "~4.3.4", "ws": "~8.17.1" @@ -34160,6 +34687,7 @@ }, "socket.io-parser": { "version": "4.2.4", + "dev": true, "requires": { "@socket.io/component-emitter": "~3.1.0", "debug": "~4.3.1" @@ -34193,7 +34721,8 @@ "dev": true }, "source-map": { - "version": "0.6.1" + "version": "0.6.1", + "dev": true }, "source-map-js": { "version": "1.2.1", @@ -34371,6 +34900,7 @@ }, "streamroller": { "version": "3.1.5", + "dev": true, "requires": { "date-format": "^4.0.14", "debug": "^4.3.4", @@ -34379,6 +34909,7 @@ "dependencies": { "fs-extra": { "version": "8.1.0", + "dev": true, "requires": { "graceful-fs": "^4.2.0", "jsonfile": "^4.0.0", @@ -34387,12 +34918,14 @@ }, "jsonfile": { "version": "4.0.0", + "dev": true, "requires": { "graceful-fs": "^4.1.6" } }, "universalify": { - "version": "0.1.2" + "version": "0.1.2", + "dev": true } } }, @@ -34426,6 +34959,7 @@ }, "string-width": { "version": "4.2.3", + "dev": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -34434,6 +34968,7 @@ "dependencies": { "strip-ansi": { "version": "6.0.1", + "dev": true, "requires": { "ansi-regex": "^5.0.1" } @@ -34679,9 +35214,9 @@ } }, "terser": { - "version": "5.44.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.44.0.tgz", - "integrity": "sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==", + "version": "5.45.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.45.0.tgz", + "integrity": "sha512-hQ9c+JZEnMug8eqzuU48sCeq95f00lLDAaJ5gWhRkFXsfy3+SUkZXiF/Z66ZO6EomSmgqXnkhVrWXKaQ8K41Ug==", "dev": true, "requires": { "@jridgewell/source-map": "^0.3.3", @@ -34691,9 +35226,9 @@ } }, "terser-webpack-plugin": { - "version": "5.3.14", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.14.tgz", - "integrity": "sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==", + "version": "5.3.16", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.16.tgz", + "integrity": "sha512-h9oBFCWrq78NyWWVcSwZarJkZ01c2AyGrzs1crmHZO3QUg9D61Wu4NPjBy69n7JqylFF5y+CsUZYmYEIZ3mR+Q==", "dev": true, "requires": { "@jridgewell/trace-mapping": "^0.3.25", @@ -34827,7 +35362,8 @@ "tmp": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.4.tgz", - "integrity": "sha512-UdiSoX6ypifLmrfQ/XfiawN6hkjSBpCjhKxxZcWlUUmoXLaCKQU0bx4HF/tdDK2uzRuchf1txGvrWBzYREssoQ==" + "integrity": "sha512-UdiSoX6ypifLmrfQ/XfiawN6hkjSBpCjhKxxZcWlUUmoXLaCKQU0bx4HF/tdDK2uzRuchf1txGvrWBzYREssoQ==", + "dev": true }, "to-absolute-glob": { "version": "3.0.0", @@ -34841,6 +35377,7 @@ }, "to-regex-range": { "version": "5.0.1", + "dev": true, "requires": { "is-number": "^7.0.0" } @@ -35033,7 +35570,8 @@ } }, "ua-parser-js": { - "version": "0.7.38" + "version": "0.7.38", + "dev": true }, "uglify-js": { "version": "3.18.0", @@ -35084,23 +35622,32 @@ "dev": true }, "undici-types": { - "version": "5.26.5" + "version": "5.26.5", + "dev": true }, "unicode-canonical-property-names-ecmascript": { - "version": "2.0.1" + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", + "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==" }, "unicode-match-property-ecmascript": { "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", + "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", "requires": { "unicode-canonical-property-names-ecmascript": "^2.0.0", "unicode-property-aliases-ecmascript": "^2.0.0" } }, "unicode-match-property-value-ecmascript": { - "version": "2.2.0" + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.1.tgz", + "integrity": "sha512-JQ84qTuMg4nVkx8ga4A16a1epI9H6uTXAknqxkGF/aFfRLw1xC/Bp24HNLaZhHSkWd3+84t8iXnp1J0kYcZHhg==" }, "unicode-property-aliases-ecmascript": { - "version": "2.1.0" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.2.0.tgz", + "integrity": "sha512-hpbDzxUY9BFwX+UeBnxv3Sh1q7HFxj48DTmXchNgRa46lO8uj3/1iEn3MiNUYTg1g9ctIqXCCERn8gYZhHC5lQ==" }, "unicorn-magic": { "version": "0.3.0", @@ -35144,7 +35691,9 @@ } }, "update-browserslist-db": { - "version": "1.1.3", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", "requires": { "escalade": "^3.2.0", "picocolors": "^1.1.1" @@ -35421,7 +35970,8 @@ } }, "void-elements": { - "version": "2.0.1" + "version": "2.0.1", + "dev": true }, "wait-port": { "version": "1.1.0", @@ -35754,9 +36304,9 @@ } }, "webpack": { - "version": "5.102.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.102.1.tgz", - "integrity": "sha512-7h/weGm9d/ywQ6qzJ+Xy+r9n/3qgp/thalBbpOi5i223dPXKi04IBtqPN9nTd+jBc7QKfvDbaBnFipYp4sJAUQ==", + "version": "5.104.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.104.1.tgz", + "integrity": "sha512-Qphch25abbMNtekmEGJmeRUhLDbe+QfiWTiqpKYkpCOWY64v9eyl+KRRLmqOFA2AvKPpc9DC6+u2n76tQLBoaA==", "dev": true, "requires": { "@types/eslint-scope": "^3.7.7", @@ -35767,25 +36317,31 @@ "@webassemblyjs/wasm-parser": "^1.14.1", "acorn": "^8.15.0", "acorn-import-phases": "^1.0.3", - "browserslist": "^4.26.3", + "browserslist": "^4.28.1", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.17.3", - "es-module-lexer": "^1.2.1", + "enhanced-resolve": "^5.17.4", + "es-module-lexer": "^2.0.0", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", "graceful-fs": "^4.2.11", "json-parse-even-better-errors": "^2.3.1", - "loader-runner": "^4.2.0", + "loader-runner": "^4.3.1", "mime-types": "^2.1.27", "neo-async": "^2.6.2", "schema-utils": "^4.3.3", "tapable": "^2.3.0", - "terser-webpack-plugin": "^5.3.11", + "terser-webpack-plugin": "^5.3.16", "watchpack": "^2.4.4", "webpack-sources": "^3.3.3" }, "dependencies": { + "es-module-lexer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.0.0.tgz", + "integrity": "sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==", + "dev": true + }, "json-parse-even-better-errors": { "version": "2.3.1", "dev": true @@ -36136,17 +36692,20 @@ } }, "wrappy": { - "version": "1.0.2" + "version": "1.0.2", + "dev": true }, "ws": { "version": "8.17.1", + "dev": true, "requires": {} }, "xtend": { "version": "4.0.2" }, "y18n": { - "version": "5.0.8" + "version": "5.0.8", + "dev": true }, "yallist": { "version": "3.1.1" diff --git a/package.json b/package.json index 30360f7b992..95ded76b793 100644 --- a/package.json +++ b/package.json @@ -53,11 +53,11 @@ "node": ">=20.0.0" }, "devDependencies": { - "@babel/eslint-parser": "^7.16.5", + "@babel/eslint-parser": "^7.28.6", "@babel/plugin-transform-runtime": "^7.27.4", "@babel/register": "^7.28.3", "@chiragrupani/karma-chromium-edge-launcher": "^2.4.1", - "@eslint/compat": "^1.3.1", + "@eslint/compat": "^1.4.1", "@types/google-publisher-tag": "^1.20250210.0", "@wdio/browserstack-service": "^9.19.1", "@wdio/cli": "^9.19.1", @@ -105,6 +105,7 @@ "karma-mocha-reporter": "^2.2.5", "karma-opera-launcher": "^1.0.0", "karma-safari-launcher": "^1.0.0", + "karma-safarinative-launcher": "^1.1.0", "karma-script-launcher": "^1.0.0", "karma-sinon": "^1.0.5", "karma-sourcemap-loader": "^0.4.0", @@ -134,7 +135,7 @@ "videojs-playlist": "^5.2.0", "webdriver": "^9.19.2", "webdriverio": "^9.18.4", - "webpack": "^5.102.1", + "webpack": "^5.103.0", "webpack-bundle-analyzer": "^4.5.0", "webpack-manifest-plugin": "^5.0.1", "webpack-stream": "^7.0.0", @@ -142,9 +143,8 @@ }, "dependencies": { "@babel/core": "^7.28.4", - "@babel/plugin-transform-runtime": "^7.18.9", - "@babel/preset-env": "^7.27.2", - "@babel/preset-typescript": "^7.26.0", + "@babel/preset-env": "^7.28.5", + "@babel/preset-typescript": "^7.28.5", "@babel/runtime": "^7.28.3", "core-js": "^3.45.1", "crypto-js": "^4.2.0", @@ -157,7 +157,6 @@ "iab-adcom": "^1.0.6", "iab-native": "^1.0.0", "iab-openrtb": "^1.0.1", - "karma-safarinative-launcher": "^1.1.0", "klona": "^2.0.6", "live-connect-js": "^7.2.0" }, From dd6b399502288dfb97b2e4bc536b63682dac3603 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Wed, 21 Jan 2026 09:41:01 -0500 Subject: [PATCH 130/248] Revert "New Adapter: Panxo - AI traffic monetization SSP (#14351)" (#14363) This reverts commit 2f8afb2d9f73423b1021dc51b86963c5e3b97600. --- modules/panxoBidAdapter.js | 344 ---------------------- modules/panxoBidAdapter.md | 199 ------------- test/spec/modules/panxoBidAdapter_spec.js | 309 ------------------- 3 files changed, 852 deletions(-) delete mode 100644 modules/panxoBidAdapter.js delete mode 100644 modules/panxoBidAdapter.md delete mode 100644 test/spec/modules/panxoBidAdapter_spec.js diff --git a/modules/panxoBidAdapter.js b/modules/panxoBidAdapter.js deleted file mode 100644 index 1c2c18f0bc7..00000000000 --- a/modules/panxoBidAdapter.js +++ /dev/null @@ -1,344 +0,0 @@ -/** - * @module panxoBidAdapter - * @description Panxo Bid Adapter for Prebid.js - AI-referred traffic monetization - * @requires Panxo Signal script (cdn.panxo-sys.com) loaded before Prebid - */ - -import { registerBidder } from '../src/adapters/bidderFactory.js'; -import { BANNER } from '../src/mediaTypes.js'; -import { deepAccess, logWarn, isFn, isPlainObject } from '../src/utils.js'; -import { getStorageManager } from '../src/storageManager.js'; - -const BIDDER_CODE = 'panxo'; -const ENDPOINT_URL = 'https://panxo-sys.com/openrtb/2.5/bid'; -const USER_ID_KEY = 'panxo_uid'; -const SYNC_URL = 'https://panxo-sys.com/usersync'; -const DEFAULT_CURRENCY = 'USD'; -const TTL = 300; -const NET_REVENUE = true; - -export const storage = getStorageManager({ bidderCode: BIDDER_CODE }); - -export function getPanxoUserId() { - try { - return storage.getDataFromLocalStorage(USER_ID_KEY); - } catch (e) { - // storageManager handles errors internally - } - return null; -} - -function buildBanner(bid) { - const sizes = deepAccess(bid, 'mediaTypes.banner.sizes') || bid.sizes || []; - if (sizes.length === 0) return null; - - return { - format: sizes.map(size => ({ w: size[0], h: size[1] })), - w: sizes[0][0], - h: sizes[0][1] - }; -} - -function getFloorPrice(bid, size) { - if (isFn(bid.getFloor)) { - try { - const floorInfo = bid.getFloor({ - currency: DEFAULT_CURRENCY, - mediaType: BANNER, - size: size - }); - if (floorInfo && floorInfo.floor) { - return floorInfo.floor; - } - } catch (e) { - // Floor module error - } - } - return deepAccess(bid, 'params.floor') || 0; -} - -function buildUser(panxoUid, bidderRequest) { - const user = { buyeruid: panxoUid }; - - // GDPR consent - const gdprConsent = deepAccess(bidderRequest, 'gdprConsent'); - if (gdprConsent && gdprConsent.consentString) { - user.ext = { consent: gdprConsent.consentString }; - } - - // First Party Data - user - const fpd = deepAccess(bidderRequest, 'ortb2.user'); - if (isPlainObject(fpd)) { - user.ext = { ...user.ext, ...fpd.ext }; - if (fpd.data) user.data = fpd.data; - } - - return user; -} - -function buildRegs(bidderRequest) { - const regs = { ext: {} }; - - // GDPR - const gdprConsent = deepAccess(bidderRequest, 'gdprConsent'); - if (gdprConsent) { - regs.ext.gdpr = gdprConsent.gdprApplies ? 1 : 0; - } - - // CCPA / US Privacy - const uspConsent = deepAccess(bidderRequest, 'uspConsent'); - if (uspConsent) { - regs.ext.us_privacy = uspConsent; - } - - // GPP - const gppConsent = deepAccess(bidderRequest, 'gppConsent'); - if (gppConsent) { - regs.ext.gpp = gppConsent.gppString; - regs.ext.gpp_sid = gppConsent.applicableSections; - } - - // COPPA - const coppa = deepAccess(bidderRequest, 'ortb2.regs.coppa'); - if (coppa) { - regs.coppa = 1; - } - - return regs; -} - -function buildDevice() { - const device = { - ua: navigator.userAgent, - language: navigator.language, - js: 1, - dnt: navigator.doNotTrack === '1' ? 1 : 0 - }; - - if (typeof screen !== 'undefined') { - device.w = screen.width; - device.h = screen.height; - } - - return device; -} - -function buildSite(bidderRequest) { - const site = { - page: deepAccess(bidderRequest, 'refererInfo.page') || '', - domain: deepAccess(bidderRequest, 'refererInfo.domain') || '', - ref: deepAccess(bidderRequest, 'refererInfo.ref') || '' - }; - - // First Party Data - site - const fpd = deepAccess(bidderRequest, 'ortb2.site'); - if (isPlainObject(fpd)) { - Object.assign(site, { - name: fpd.name, - cat: fpd.cat, - sectioncat: fpd.sectioncat, - pagecat: fpd.pagecat, - content: fpd.content - }); - if (fpd.ext) site.ext = fpd.ext; - } - - return site; -} - -function buildSource(bidderRequest) { - const source = { - tid: deepAccess(bidderRequest, 'ortb2.source.tid') || bidderRequest.auctionId - }; - - // Supply Chain (schain) - read from ortb2 where Prebid normalizes it - const schain = deepAccess(bidderRequest, 'ortb2.source.ext.schain'); - if (isPlainObject(schain)) { - source.ext = { schain: schain }; - } - - return source; -} - -export const spec = { - code: BIDDER_CODE, - gvlid: 1527, - supportedMediaTypes: [BANNER], - - isBidRequestValid(bid) { - const propertyKey = deepAccess(bid, 'params.propertyKey'); - if (!propertyKey) { - logWarn('Panxo: Missing required param "propertyKey"'); - return false; - } - if (!deepAccess(bid, 'mediaTypes.banner')) { - logWarn('Panxo: Only banner mediaType is supported'); - return false; - } - return true; - }, - - buildRequests(validBidRequests, bidderRequest) { - const panxoUid = getPanxoUserId(); - if (!panxoUid) { - logWarn('Panxo: panxo_uid not found. Ensure Signal script is loaded before Prebid.'); - return []; - } - - // Group bids by propertyKey to handle multiple properties on same page - const bidsByPropertyKey = {}; - validBidRequests.forEach(bid => { - const key = deepAccess(bid, 'params.propertyKey'); - if (!bidsByPropertyKey[key]) { - bidsByPropertyKey[key] = []; - } - bidsByPropertyKey[key].push(bid); - }); - - // Build one request per propertyKey - const requests = []; - Object.keys(bidsByPropertyKey).forEach(propertyKey => { - const bidsForKey = bidsByPropertyKey[propertyKey]; - - const impressions = bidsForKey.map((bid) => { - const banner = buildBanner(bid); - if (!banner) return null; - - const sizes = deepAccess(bid, 'mediaTypes.banner.sizes') || []; - const primarySize = sizes[0] || [300, 250]; - - // Include ortb2Imp if available - const ortb2Imp = deepAccess(bid, 'ortb2Imp.ext'); - - return { - id: bid.bidId, - banner: banner, - bidfloor: getFloorPrice(bid, primarySize), - bidfloorcur: DEFAULT_CURRENCY, - secure: 1, - tagid: bid.adUnitCode, - ext: ortb2Imp || undefined - }; - }).filter(Boolean); - - if (impressions.length === 0) return; - - const openrtbRequest = { - id: bidderRequest.bidderRequestId, - imp: impressions, - site: buildSite(bidderRequest), - device: buildDevice(), - user: buildUser(panxoUid, bidderRequest), - regs: buildRegs(bidderRequest), - source: buildSource(bidderRequest), - at: 1, - cur: [DEFAULT_CURRENCY], - tmax: bidderRequest.timeout || 1000 - }; - - requests.push({ - method: 'POST', - url: `${ENDPOINT_URL}?key=${encodeURIComponent(propertyKey)}&source=prebid`, - data: openrtbRequest, - options: { contentType: 'application/json', withCredentials: false }, - bidderRequest: bidderRequest - }); - }); - - return requests; - }, - - interpretResponse(serverResponse, request) { - const bids = []; - const response = serverResponse.body; - - if (!response || !response.seatbid) return bids; - - const bidRequestMap = {}; - if (request.bidderRequest && request.bidderRequest.bids) { - request.bidderRequest.bids.forEach(bid => { - bidRequestMap[bid.bidId] = bid; - }); - } - - response.seatbid.forEach(seatbid => { - if (!seatbid.bid) return; - - seatbid.bid.forEach(bid => { - const originalBid = bidRequestMap[bid.impid]; - if (!originalBid) return; - - bids.push({ - requestId: bid.impid, - cpm: bid.price, - currency: response.cur || DEFAULT_CURRENCY, - width: bid.w, - height: bid.h, - creativeId: bid.crid || bid.id, - dealId: bid.dealid || null, - netRevenue: NET_REVENUE, - ttl: bid.exp || TTL, - ad: bid.adm, - nurl: bid.nurl, - meta: { - advertiserDomains: bid.adomain || [], - mediaType: BANNER - } - }); - }); - }); - - return bids; - }, - - getUserSyncs(syncOptions, serverResponses, gdprConsent, uspConsent, gppConsent) { - const syncs = []; - - if (syncOptions.pixelEnabled) { - let syncUrl = SYNC_URL + '?source=prebid'; - - // GDPR - if (gdprConsent) { - syncUrl += `&gdpr=${gdprConsent.gdprApplies ? 1 : 0}`; - if (gdprConsent.consentString) { - syncUrl += `&gdpr_consent=${encodeURIComponent(gdprConsent.consentString)}`; - } - } - - // US Privacy - if (uspConsent) { - syncUrl += `&us_privacy=${encodeURIComponent(uspConsent)}`; - } - - // GPP - if (gppConsent) { - if (gppConsent.gppString) { - syncUrl += `&gpp=${encodeURIComponent(gppConsent.gppString)}`; - } - if (gppConsent.applicableSections) { - syncUrl += `&gpp_sid=${encodeURIComponent(gppConsent.applicableSections.join(','))}`; - } - } - - syncs.push({ type: 'image', url: syncUrl }); - } - - return syncs; - }, - - onBidWon(bid) { - if (bid.nurl) { - const winUrl = bid.nurl.replace(/\$\{AUCTION_PRICE\}/g, bid.cpm); - const img = document.createElement('img'); - img.src = winUrl; - img.style.display = 'none'; - document.body.appendChild(img); - } - }, - - onTimeout(timeoutData) { - logWarn('Panxo: Bid timeout', timeoutData); - } -}; - -registerBidder(spec); diff --git a/modules/panxoBidAdapter.md b/modules/panxoBidAdapter.md deleted file mode 100644 index 70c8b20dc3d..00000000000 --- a/modules/panxoBidAdapter.md +++ /dev/null @@ -1,199 +0,0 @@ -# Overview - -``` -Module Name: Panxo Bid Adapter -Module Type: Bidder Adapter -Maintainer: tech@panxo.ai -``` - -# Description - -Panxo is a specialized SSP for AI-referred traffic monetization. This adapter enables publishers to monetize traffic coming from AI assistants like ChatGPT, Perplexity, Claude, and Gemini through Prebid.js header bidding. - -**Important**: This adapter requires the Panxo Signal script to be installed on the publisher's page. The Signal script must load before Prebid.js to ensure proper user identification and AI traffic detection. - -# Prerequisites - -1. Register your property at [app.panxo.ai](https://app.panxo.ai) -2. Obtain your `propertyKey` from the Panxo dashboard -3. Install the Panxo Signal script in your page's ``: - -```html - -``` - -# Bid Params - -| Name | Scope | Description | Example | Type | -|------|-------|-------------|---------|------| -| `propertyKey` | required | Your unique property identifier from Panxo dashboard | `'abc123def456'` | `string` | -| `floor` | optional | Minimum CPM floor price in USD | `0.50` | `number` | - -# Configuration Example - -```javascript -var adUnits = [{ - code: 'banner-ad', - mediaTypes: { - banner: { - sizes: [[300, 250], [728, 90]] - } - }, - bids: [{ - bidder: 'panxo', - params: { - propertyKey: 'your-property-key-here' - } - }] -}]; -``` - -# Full Page Example - -```html - - - - - - - - - - - - -
- - -``` - -# Supported Media Types - -| Type | Support | -|------|---------| -| Banner | Yes | -| Video | No | -| Native | No | - -# Privacy & Consent - -This adapter supports: - -- **GDPR/TCF 2.0**: Consent string is passed in bid requests -- **CCPA/US Privacy**: USP string is passed in bid requests -- **GPP**: Global Privacy Platform strings are supported -- **COPPA**: Child-directed content flags are respected - -# User Sync - -Panxo supports pixel-based user sync. Enable it in your Prebid configuration: - -```javascript -pbjs.setConfig({ - userSync: { - filterSettings: { - pixel: { - bidders: ['panxo'], - filter: 'include' - } - } - } -}); -``` - -# First Party Data - -This adapter supports First Party Data via the `ortb2` configuration: - -```javascript -pbjs.setConfig({ - ortb2: { - site: { - name: 'Example Site', - cat: ['IAB1'], - content: { - keywords: 'technology, ai' - } - }, - user: { - data: [{ - name: 'example-data-provider', - segment: [{ id: 'segment-1' }] - }] - } - } -}); -``` - -# Supply Chain (schain) - -Supply chain information is automatically passed when configured: - -```javascript -pbjs.setConfig({ - schain: { - validation: 'relaxed', - config: { - ver: '1.0', - complete: 1, - nodes: [{ - asi: 'publisher-domain.com', - sid: '12345', - hp: 1 - }] - } - } -}); -``` - -# Floor Prices - -This adapter supports the Prebid Price Floors Module. Configure floors as needed: - -```javascript -pbjs.setConfig({ - floors: { - enforcement: { floorDeals: true }, - data: { - default: 0.50, - schema: { fields: ['mediaType'] }, - values: { 'banner': 0.50 } - } - } -}); -``` - -# Win Notifications - -This adapter automatically fires win notification URLs (nurl) when a bid wins the auction. No additional configuration is required. - -# Contact - -For support or questions: -- Email: tech@panxo.ai -- Documentation: https://docs.panxo.ai diff --git a/test/spec/modules/panxoBidAdapter_spec.js b/test/spec/modules/panxoBidAdapter_spec.js deleted file mode 100644 index d61e2106094..00000000000 --- a/test/spec/modules/panxoBidAdapter_spec.js +++ /dev/null @@ -1,309 +0,0 @@ -import { expect } from 'chai'; -import { spec, storage } from 'modules/panxoBidAdapter.js'; -import { BANNER } from 'src/mediaTypes.js'; - -describe('PanxoBidAdapter', function () { - const PROPERTY_KEY = 'abc123def456'; - const USER_ID = 'test-user-id-12345'; - - // Mock storage.getDataFromLocalStorage - let getDataStub; - - beforeEach(function () { - getDataStub = sinon.stub(storage, 'getDataFromLocalStorage'); - getDataStub.withArgs('panxo_uid').returns(USER_ID); - }); - - afterEach(function () { - getDataStub.restore(); - }); - - describe('isBidRequestValid', function () { - it('should return true when propertyKey is present', function () { - const bid = { - bidder: 'panxo', - params: { propertyKey: PROPERTY_KEY }, - mediaTypes: { banner: { sizes: [[300, 250]] } } - }; - expect(spec.isBidRequestValid(bid)).to.be.true; - }); - - it('should return false when propertyKey is missing', function () { - const bid = { - bidder: 'panxo', - params: {}, - mediaTypes: { banner: { sizes: [[300, 250]] } } - }; - expect(spec.isBidRequestValid(bid)).to.be.false; - }); - - it('should return false when banner mediaType is missing', function () { - const bid = { - bidder: 'panxo', - params: { propertyKey: PROPERTY_KEY }, - mediaTypes: { video: {} } - }; - expect(spec.isBidRequestValid(bid)).to.be.false; - }); - }); - - describe('buildRequests', function () { - const bidderRequest = { - bidderRequestId: 'test-request-id', - auctionId: 'test-auction-id', - timeout: 1500, - refererInfo: { - page: 'https://example.com/page', - domain: 'example.com', - ref: 'https://google.com' - } - }; - - const validBidRequests = [{ - bidder: 'panxo', - bidId: 'bid-id-1', - adUnitCode: 'ad-unit-1', - params: { propertyKey: PROPERTY_KEY }, - mediaTypes: { banner: { sizes: [[300, 250], [728, 90]] } } - }]; - - it('should build a valid OpenRTB request', function () { - const requests = spec.buildRequests(validBidRequests, bidderRequest); - - expect(requests).to.be.an('array').with.lengthOf(1); - expect(requests[0].method).to.equal('POST'); - expect(requests[0].url).to.include('panxo-sys.com/openrtb/2.5/bid'); - expect(requests[0].url).to.include(`key=${PROPERTY_KEY}`); - expect(requests[0].data).to.be.an('object'); - }); - - it('should include user.buyeruid from localStorage', function () { - const requests = spec.buildRequests(validBidRequests, bidderRequest); - - expect(requests[0].data.user).to.be.an('object'); - expect(requests[0].data.user.buyeruid).to.equal(USER_ID); - }); - - it('should build correct impressions', function () { - const requests = spec.buildRequests(validBidRequests, bidderRequest); - - expect(requests[0].data.imp).to.be.an('array'); - expect(requests[0].data.imp[0].id).to.equal('bid-id-1'); - expect(requests[0].data.imp[0].banner.format).to.have.lengthOf(2); - expect(requests[0].data.imp[0].tagid).to.equal('ad-unit-1'); - }); - - it('should return empty array when panxo_uid is not found', function () { - getDataStub.withArgs('panxo_uid').returns(null); - const requests = spec.buildRequests(validBidRequests, bidderRequest); - - expect(requests).to.be.an('array').that.is.empty; - }); - - it('should include GDPR consent when available', function () { - const gdprBidderRequest = { - ...bidderRequest, - gdprConsent: { - gdprApplies: true, - consentString: 'CO-test-consent-string' - } - }; - const requests = spec.buildRequests(validBidRequests, gdprBidderRequest); - - expect(requests[0].data.regs.ext.gdpr).to.equal(1); - expect(requests[0].data.user.ext.consent).to.equal('CO-test-consent-string'); - }); - - it('should include USP consent when available', function () { - const uspBidderRequest = { - ...bidderRequest, - uspConsent: '1YNN' - }; - const requests = spec.buildRequests(validBidRequests, uspBidderRequest); - - expect(requests[0].data.regs.ext.us_privacy).to.equal('1YNN'); - }); - - it('should include schain when available', function () { - const schainBidderRequest = { - ...bidderRequest, - ortb2: { - source: { - ext: { - schain: { - ver: '1.0', - complete: 1, - nodes: [{ asi: 'example.com', sid: '12345', hp: 1 }] - } - } - } - } - }; - const requests = spec.buildRequests(validBidRequests, schainBidderRequest); - - expect(requests[0].data.source.ext.schain).to.deep.equal(schainBidderRequest.ortb2.source.ext.schain); - }); - - it('should use floor from getFloor function', function () { - const bidWithFloor = [{ - ...validBidRequests[0], - getFloor: () => ({ currency: 'USD', floor: 1.50 }) - }]; - const requests = spec.buildRequests(bidWithFloor, bidderRequest); - - expect(requests[0].data.imp[0].bidfloor).to.equal(1.50); - }); - - it('should split requests by different propertyKeys', function () { - const multiPropertyBids = [ - { - bidder: 'panxo', - bidId: 'bid-id-1', - adUnitCode: 'ad-unit-1', - params: { propertyKey: 'property-a' }, - mediaTypes: { banner: { sizes: [[300, 250]] } } - }, - { - bidder: 'panxo', - bidId: 'bid-id-2', - adUnitCode: 'ad-unit-2', - params: { propertyKey: 'property-b' }, - mediaTypes: { banner: { sizes: [[728, 90]] } } - } - ]; - const requests = spec.buildRequests(multiPropertyBids, bidderRequest); - - expect(requests).to.have.lengthOf(2); - expect(requests[0].url).to.include('key=property-a'); - expect(requests[1].url).to.include('key=property-b'); - }); - }); - - describe('interpretResponse', function () { - const request = { - bidderRequest: { - bids: [{ bidId: 'bid-id-1', adUnitCode: 'ad-unit-1' }] - } - }; - - const serverResponse = { - body: { - id: 'response-id', - seatbid: [{ - seat: 'panxo', - bid: [{ - impid: 'bid-id-1', - price: 2.50, - w: 300, - h: 250, - adm: '
Ad creative
', - crid: 'creative-123', - adomain: ['advertiser.com'], - nurl: 'https://panxo-sys.com/win?price=${AUCTION_PRICE}' - }] - }], - cur: 'USD' - } - }; - - it('should parse valid bid response', function () { - const bids = spec.interpretResponse(serverResponse, request); - - expect(bids).to.have.lengthOf(1); - expect(bids[0].requestId).to.equal('bid-id-1'); - expect(bids[0].cpm).to.equal(2.50); - expect(bids[0].width).to.equal(300); - expect(bids[0].height).to.equal(250); - expect(bids[0].currency).to.equal('USD'); - expect(bids[0].netRevenue).to.be.true; - expect(bids[0].ad).to.equal('
Ad creative
'); - expect(bids[0].meta.advertiserDomains).to.include('advertiser.com'); - }); - - it('should return empty array for empty response', function () { - const emptyResponse = { body: {} }; - const bids = spec.interpretResponse(emptyResponse, request); - - expect(bids).to.be.an('array').that.is.empty; - }); - - it('should return empty array for no seatbid', function () { - const noSeatbidResponse = { body: { id: 'test', seatbid: [] } }; - const bids = spec.interpretResponse(noSeatbidResponse, request); - - expect(bids).to.be.an('array').that.is.empty; - }); - - it('should include nurl in bid response', function () { - const bids = spec.interpretResponse(serverResponse, request); - - expect(bids[0].nurl).to.include('panxo-sys.com/win'); - }); - }); - - describe('getUserSyncs', function () { - it('should return pixel sync when enabled', function () { - const syncOptions = { pixelEnabled: true }; - const syncs = spec.getUserSyncs(syncOptions); - - expect(syncs).to.have.lengthOf(1); - expect(syncs[0].type).to.equal('image'); - expect(syncs[0].url).to.include('panxo-sys.com/usersync'); - }); - - it('should return empty array when pixel sync disabled', function () { - const syncOptions = { pixelEnabled: false }; - const syncs = spec.getUserSyncs(syncOptions); - - expect(syncs).to.be.an('array').that.is.empty; - }); - - it('should include GDPR params when available', function () { - const syncOptions = { pixelEnabled: true }; - const gdprConsent = { gdprApplies: true, consentString: 'test-consent' }; - const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent); - - expect(syncs[0].url).to.include('gdpr=1'); - expect(syncs[0].url).to.include('gdpr_consent=test-consent'); - }); - - it('should include USP params when available', function () { - const syncOptions = { pixelEnabled: true }; - const uspConsent = '1YNN'; - const syncs = spec.getUserSyncs(syncOptions, [], null, uspConsent); - - expect(syncs[0].url).to.include('us_privacy=1YNN'); - }); - }); - - describe('onBidWon', function () { - it('should fire win notification pixel', function () { - const bid = { - nurl: 'https://panxo-sys.com/win?price=${AUCTION_PRICE}', - cpm: 2.50 - }; - - // Mock document.createElement - const imgStub = { src: '', style: {} }; - const createElementStub = sinon.stub(document, 'createElement').returns(imgStub); - const appendChildStub = sinon.stub(document.body, 'appendChild'); - - spec.onBidWon(bid); - - expect(imgStub.src).to.include('price=2.5'); - - createElementStub.restore(); - appendChildStub.restore(); - }); - }); - - describe('spec properties', function () { - it('should have correct bidder code', function () { - expect(spec.code).to.equal('panxo'); - }); - - it('should support banner media type', function () { - expect(spec.supportedMediaTypes).to.include(BANNER); - }); - }); -}); From 381152e46227a106f311133013de48df52de2d26 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Wed, 21 Jan 2026 15:18:08 +0000 Subject: [PATCH 131/248] Prebid 10.22.0 release --- .../codeql/queries/autogen_fpDOMMethod.qll | 4 +- .../queries/autogen_fpEventProperty.qll | 16 +++--- .../queries/autogen_fpGlobalConstructor.qll | 10 ++-- .../autogen_fpGlobalObjectProperty0.qll | 54 ++++++++++--------- .../autogen_fpGlobalObjectProperty1.qll | 2 +- .../queries/autogen_fpGlobalTypeProperty0.qll | 6 +-- .../queries/autogen_fpGlobalTypeProperty1.qll | 2 +- .../codeql/queries/autogen_fpGlobalVar.qll | 18 +++---- .../autogen_fpRenderingContextProperty.qll | 30 +++++------ .../queries/autogen_fpSensorProperty.qll | 2 +- metadata/modules.json | 14 +++++ metadata/modules/33acrossBidAdapter.json | 2 +- metadata/modules/33acrossIdSystem.json | 2 +- metadata/modules/acuityadsBidAdapter.json | 2 +- metadata/modules/adagioBidAdapter.json | 2 +- metadata/modules/adagioRtdProvider.json | 2 +- metadata/modules/adbroBidAdapter.json | 2 +- metadata/modules/addefendBidAdapter.json | 2 +- metadata/modules/adfBidAdapter.json | 2 +- metadata/modules/adfusionBidAdapter.json | 2 +- metadata/modules/adheseBidAdapter.json | 2 +- metadata/modules/adipoloBidAdapter.json | 2 +- metadata/modules/adkernelAdnBidAdapter.json | 2 +- metadata/modules/adkernelBidAdapter.json | 10 ++-- metadata/modules/admaticBidAdapter.json | 4 +- metadata/modules/admixerBidAdapter.json | 2 +- metadata/modules/admixerIdSystem.json | 2 +- metadata/modules/adnowBidAdapter.json | 2 +- metadata/modules/adnuntiusBidAdapter.json | 2 +- metadata/modules/adnuntiusRtdProvider.json | 2 +- metadata/modules/adotBidAdapter.json | 2 +- metadata/modules/adponeBidAdapter.json | 2 +- metadata/modules/adqueryBidAdapter.json | 2 +- metadata/modules/adqueryIdSystem.json | 2 +- metadata/modules/adrinoBidAdapter.json | 2 +- .../modules/ads_interactiveBidAdapter.json | 2 +- metadata/modules/adtargetBidAdapter.json | 2 +- metadata/modules/adtelligentBidAdapter.json | 6 +-- metadata/modules/adtelligentIdSystem.json | 2 +- metadata/modules/aduptechBidAdapter.json | 2 +- metadata/modules/adverxoBidAdapter.json | 7 +++ metadata/modules/adyoulikeBidAdapter.json | 2 +- metadata/modules/airgridRtdProvider.json | 2 +- metadata/modules/alkimiBidAdapter.json | 2 +- metadata/modules/allegroBidAdapter.json | 2 +- metadata/modules/amxBidAdapter.json | 2 +- metadata/modules/amxIdSystem.json | 2 +- metadata/modules/aniviewBidAdapter.json | 2 +- metadata/modules/anonymisedRtdProvider.json | 2 +- metadata/modules/appStockSSPBidAdapter.json | 2 +- metadata/modules/appierBidAdapter.json | 2 +- metadata/modules/appnexusBidAdapter.json | 10 ++-- metadata/modules/appushBidAdapter.json | 2 +- metadata/modules/apsBidAdapter.json | 49 +++++++++++++++++ metadata/modules/apstreamBidAdapter.json | 2 +- metadata/modules/audiencerunBidAdapter.json | 2 +- metadata/modules/axisBidAdapter.json | 2 +- metadata/modules/azerionedgeRtdProvider.json | 2 +- metadata/modules/beachfrontBidAdapter.json | 2 +- metadata/modules/beopBidAdapter.json | 2 +- metadata/modules/betweenBidAdapter.json | 2 +- metadata/modules/bidfuseBidAdapter.json | 2 +- metadata/modules/bidmaticBidAdapter.json | 2 +- metadata/modules/bidtheatreBidAdapter.json | 2 +- metadata/modules/bliinkBidAdapter.json | 2 +- metadata/modules/blockthroughBidAdapter.json | 2 +- metadata/modules/blueBidAdapter.json | 2 +- metadata/modules/bmsBidAdapter.json | 2 +- metadata/modules/boldwinBidAdapter.json | 2 +- metadata/modules/bridBidAdapter.json | 2 +- metadata/modules/browsiBidAdapter.json | 2 +- metadata/modules/bucksenseBidAdapter.json | 2 +- metadata/modules/carodaBidAdapter.json | 2 +- metadata/modules/categoryTranslation.json | 2 +- metadata/modules/ceeIdSystem.json | 2 +- metadata/modules/chromeAiRtdProvider.json | 2 +- metadata/modules/clickioBidAdapter.json | 2 +- metadata/modules/compassBidAdapter.json | 2 +- metadata/modules/conceptxBidAdapter.json | 2 +- metadata/modules/connatixBidAdapter.json | 2 +- metadata/modules/connectIdSystem.json | 2 +- metadata/modules/connectadBidAdapter.json | 2 +- .../modules/contentexchangeBidAdapter.json | 2 +- metadata/modules/conversantBidAdapter.json | 2 +- metadata/modules/copper6sspBidAdapter.json | 2 +- metadata/modules/cpmstarBidAdapter.json | 2 +- metadata/modules/criteoBidAdapter.json | 2 +- metadata/modules/criteoIdSystem.json | 2 +- metadata/modules/cwireBidAdapter.json | 2 +- metadata/modules/czechAdIdSystem.json | 2 +- metadata/modules/dailymotionBidAdapter.json | 2 +- metadata/modules/debugging.json | 2 +- metadata/modules/deepintentBidAdapter.json | 2 +- metadata/modules/defineMediaBidAdapter.json | 2 +- metadata/modules/deltaprojectsBidAdapter.json | 2 +- metadata/modules/dianomiBidAdapter.json | 2 +- metadata/modules/digitalMatterBidAdapter.json | 2 +- metadata/modules/distroscaleBidAdapter.json | 2 +- .../modules/docereeAdManagerBidAdapter.json | 2 +- metadata/modules/docereeBidAdapter.json | 2 +- metadata/modules/dspxBidAdapter.json | 2 +- metadata/modules/e_volutionBidAdapter.json | 2 +- metadata/modules/edge226BidAdapter.json | 2 +- metadata/modules/empowerBidAdapter.json | 2 +- metadata/modules/equativBidAdapter.json | 2 +- metadata/modules/eskimiBidAdapter.json | 2 +- metadata/modules/etargetBidAdapter.json | 2 +- metadata/modules/euidIdSystem.json | 2 +- metadata/modules/exadsBidAdapter.json | 2 +- metadata/modules/feedadBidAdapter.json | 2 +- metadata/modules/fwsspBidAdapter.json | 2 +- metadata/modules/gamoshiBidAdapter.json | 2 +- metadata/modules/gemiusIdSystem.json | 2 +- metadata/modules/glomexBidAdapter.json | 2 +- metadata/modules/goldbachBidAdapter.json | 2 +- metadata/modules/gridBidAdapter.json | 2 +- metadata/modules/gumgumBidAdapter.json | 2 +- metadata/modules/hadronIdSystem.json | 2 +- metadata/modules/hadronRtdProvider.json | 2 +- metadata/modules/holidBidAdapter.json | 2 +- metadata/modules/hybridBidAdapter.json | 2 +- metadata/modules/id5IdSystem.json | 2 +- metadata/modules/identityLinkIdSystem.json | 2 +- metadata/modules/illuminBidAdapter.json | 2 +- metadata/modules/impactifyBidAdapter.json | 2 +- .../modules/improvedigitalBidAdapter.json | 2 +- metadata/modules/inmobiBidAdapter.json | 2 +- metadata/modules/insticatorBidAdapter.json | 2 +- metadata/modules/intentIqIdSystem.json | 2 +- metadata/modules/invibesBidAdapter.json | 2 +- metadata/modules/ipromBidAdapter.json | 2 +- metadata/modules/ixBidAdapter.json | 2 +- metadata/modules/justIdSystem.json | 2 +- metadata/modules/justpremiumBidAdapter.json | 2 +- metadata/modules/jwplayerBidAdapter.json | 2 +- metadata/modules/kargoBidAdapter.json | 2 +- metadata/modules/kueezRtbBidAdapter.json | 2 +- .../modules/limelightDigitalBidAdapter.json | 4 +- metadata/modules/liveIntentIdSystem.json | 2 +- metadata/modules/liveIntentRtdProvider.json | 2 +- metadata/modules/livewrappedBidAdapter.json | 2 +- metadata/modules/loopmeBidAdapter.json | 2 +- metadata/modules/lotamePanoramaIdSystem.json | 2 +- metadata/modules/luponmediaBidAdapter.json | 2 +- metadata/modules/madvertiseBidAdapter.json | 2 +- metadata/modules/marsmediaBidAdapter.json | 2 +- .../modules/mediaConsortiumBidAdapter.json | 2 +- metadata/modules/mediaforceBidAdapter.json | 2 +- metadata/modules/mediafuseBidAdapter.json | 2 +- metadata/modules/mediagoBidAdapter.json | 2 +- metadata/modules/mediakeysBidAdapter.json | 2 +- metadata/modules/medianetBidAdapter.json | 4 +- metadata/modules/mediasquareBidAdapter.json | 2 +- metadata/modules/mgidBidAdapter.json | 2 +- metadata/modules/mgidRtdProvider.json | 2 +- metadata/modules/mgidXBidAdapter.json | 2 +- metadata/modules/minutemediaBidAdapter.json | 2 +- metadata/modules/missenaBidAdapter.json | 2 +- metadata/modules/mobianRtdProvider.json | 2 +- metadata/modules/mobkoiBidAdapter.json | 2 +- metadata/modules/mobkoiIdSystem.json | 2 +- metadata/modules/msftBidAdapter.json | 2 +- metadata/modules/nativeryBidAdapter.json | 2 +- metadata/modules/nativoBidAdapter.json | 2 +- metadata/modules/newspassidBidAdapter.json | 2 +- .../modules/nextMillenniumBidAdapter.json | 2 +- metadata/modules/nextrollBidAdapter.json | 2 +- metadata/modules/nexx360BidAdapter.json | 12 ++--- metadata/modules/nobidBidAdapter.json | 2 +- metadata/modules/nodalsAiRtdProvider.json | 2 +- metadata/modules/novatiqIdSystem.json | 2 +- metadata/modules/oguryBidAdapter.json | 2 +- metadata/modules/omnidexBidAdapter.json | 2 +- metadata/modules/omsBidAdapter.json | 2 +- metadata/modules/onetagBidAdapter.json | 2 +- metadata/modules/openwebBidAdapter.json | 2 +- metadata/modules/openxBidAdapter.json | 2 +- metadata/modules/operaadsBidAdapter.json | 2 +- metadata/modules/optidigitalBidAdapter.json | 2 +- metadata/modules/optoutBidAdapter.json | 2 +- metadata/modules/orbidderBidAdapter.json | 2 +- metadata/modules/outbrainBidAdapter.json | 2 +- metadata/modules/ozoneBidAdapter.json | 2 +- metadata/modules/pairIdSystem.json | 21 ++++++-- metadata/modules/performaxBidAdapter.json | 2 +- .../permutiveIdentityManagerIdSystem.json | 2 +- metadata/modules/permutiveRtdProvider.json | 2 +- metadata/modules/pixfutureBidAdapter.json | 2 +- metadata/modules/playdigoBidAdapter.json | 2 +- metadata/modules/prebid-core.json | 4 +- metadata/modules/precisoBidAdapter.json | 2 +- metadata/modules/prismaBidAdapter.json | 2 +- metadata/modules/programmaticXBidAdapter.json | 2 +- metadata/modules/proxistoreBidAdapter.json | 2 +- metadata/modules/publinkIdSystem.json | 2 +- metadata/modules/pubmaticBidAdapter.json | 2 +- metadata/modules/pubmaticIdSystem.json | 2 +- metadata/modules/pulsepointBidAdapter.json | 2 +- metadata/modules/quantcastBidAdapter.json | 2 +- metadata/modules/quantcastIdSystem.json | 2 +- metadata/modules/r2b2BidAdapter.json | 2 +- metadata/modules/readpeakBidAdapter.json | 2 +- metadata/modules/relayBidAdapter.json | 2 +- .../modules/relevantdigitalBidAdapter.json | 2 +- metadata/modules/resetdigitalBidAdapter.json | 2 +- metadata/modules/responsiveAdsBidAdapter.json | 2 +- metadata/modules/revcontentBidAdapter.json | 2 +- metadata/modules/revnewBidAdapter.json | 2 +- metadata/modules/rhythmoneBidAdapter.json | 2 +- metadata/modules/richaudienceBidAdapter.json | 2 +- metadata/modules/riseBidAdapter.json | 4 +- metadata/modules/rixengineBidAdapter.json | 2 +- metadata/modules/rtbhouseBidAdapter.json | 2 +- metadata/modules/rubiconBidAdapter.json | 2 +- metadata/modules/scaliburBidAdapter.json | 2 +- metadata/modules/screencoreBidAdapter.json | 2 +- .../modules/seedingAllianceBidAdapter.json | 2 +- metadata/modules/seedtagBidAdapter.json | 2 +- metadata/modules/semantiqRtdProvider.json | 2 +- metadata/modules/setupadBidAdapter.json | 2 +- metadata/modules/sevioBidAdapter.json | 2 +- metadata/modules/sharedIdSystem.json | 2 +- metadata/modules/sharethroughBidAdapter.json | 2 +- metadata/modules/showheroes-bsBidAdapter.json | 2 +- metadata/modules/silvermobBidAdapter.json | 2 +- metadata/modules/sirdataRtdProvider.json | 2 +- metadata/modules/smaatoBidAdapter.json | 2 +- metadata/modules/smartadserverBidAdapter.json | 2 +- metadata/modules/smartxBidAdapter.json | 2 +- metadata/modules/smartyadsBidAdapter.json | 2 +- metadata/modules/smilewantedBidAdapter.json | 2 +- metadata/modules/snigelBidAdapter.json | 2 +- metadata/modules/sonaradsBidAdapter.json | 2 +- metadata/modules/sonobiBidAdapter.json | 2 +- metadata/modules/sovrnBidAdapter.json | 2 +- metadata/modules/sparteoBidAdapter.json | 2 +- metadata/modules/ssmasBidAdapter.json | 2 +- metadata/modules/sspBCBidAdapter.json | 2 +- metadata/modules/stackadaptBidAdapter.json | 2 +- metadata/modules/startioBidAdapter.json | 2 +- metadata/modules/stroeerCoreBidAdapter.json | 2 +- metadata/modules/stvBidAdapter.json | 2 +- metadata/modules/sublimeBidAdapter.json | 2 +- metadata/modules/taboolaBidAdapter.json | 2 +- metadata/modules/taboolaIdSystem.json | 2 +- metadata/modules/tadvertisingBidAdapter.json | 2 +- metadata/modules/tappxBidAdapter.json | 2 +- metadata/modules/targetVideoBidAdapter.json | 2 +- metadata/modules/teadsBidAdapter.json | 2 +- metadata/modules/teadsIdSystem.json | 2 +- metadata/modules/tealBidAdapter.json | 2 +- metadata/modules/tncIdSystem.json | 2 +- metadata/modules/topicsFpdModule.json | 2 +- metadata/modules/toponBidAdapter.json | 2 +- metadata/modules/tripleliftBidAdapter.json | 2 +- metadata/modules/ttdBidAdapter.json | 2 +- metadata/modules/twistDigitalBidAdapter.json | 2 +- metadata/modules/underdogmediaBidAdapter.json | 2 +- metadata/modules/undertoneBidAdapter.json | 2 +- metadata/modules/unifiedIdSystem.json | 2 +- metadata/modules/unrulyBidAdapter.json | 2 +- metadata/modules/userId.json | 2 +- metadata/modules/utiqIdSystem.json | 2 +- metadata/modules/utiqMtpIdSystem.json | 2 +- metadata/modules/validationFpdModule.json | 2 +- metadata/modules/valuadBidAdapter.json | 2 +- metadata/modules/vidazooBidAdapter.json | 2 +- metadata/modules/vidoomyBidAdapter.json | 2 +- metadata/modules/viouslyBidAdapter.json | 2 +- metadata/modules/visxBidAdapter.json | 2 +- metadata/modules/vlybyBidAdapter.json | 2 +- metadata/modules/voxBidAdapter.json | 2 +- metadata/modules/vrtcalBidAdapter.json | 2 +- metadata/modules/vuukleBidAdapter.json | 2 +- metadata/modules/weboramaRtdProvider.json | 2 +- metadata/modules/welectBidAdapter.json | 2 +- metadata/modules/yahooAdsBidAdapter.json | 2 +- metadata/modules/yieldlabBidAdapter.json | 2 +- metadata/modules/yieldloveBidAdapter.json | 2 +- metadata/modules/yieldmoBidAdapter.json | 2 +- metadata/modules/zeotapIdPlusIdSystem.json | 2 +- metadata/modules/zeta_globalBidAdapter.json | 2 +- .../modules/zeta_global_sspBidAdapter.json | 2 +- package-lock.json | 28 +++++----- package.json | 2 +- 285 files changed, 465 insertions(+), 378 deletions(-) create mode 100644 metadata/modules/apsBidAdapter.json diff --git a/.github/codeql/queries/autogen_fpDOMMethod.qll b/.github/codeql/queries/autogen_fpDOMMethod.qll index 15cce1bbe19..61555d5852f 100644 --- a/.github/codeql/queries/autogen_fpDOMMethod.qll +++ b/.github/codeql/queries/autogen_fpDOMMethod.qll @@ -7,9 +7,9 @@ class DOMMethod extends string { DOMMethod() { - ( this = "toDataURL" and weight = 27.48 and type = "HTMLCanvasElement" ) + ( this = "toDataURL" and weight = 32.78 and type = "HTMLCanvasElement" ) or - ( this = "getChannelData" and weight = 849.03 and type = "AudioBuffer" ) + ( this = "getChannelData" and weight = 1033.52 and type = "AudioBuffer" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpEventProperty.qll b/.github/codeql/queries/autogen_fpEventProperty.qll index 7d33f8a1d5f..a102dc216aa 100644 --- a/.github/codeql/queries/autogen_fpEventProperty.qll +++ b/.github/codeql/queries/autogen_fpEventProperty.qll @@ -7,21 +7,21 @@ class EventProperty extends string { EventProperty() { - ( this = "candidate" and weight = 76.95 and event = "icecandidate" ) + ( this = "accelerationIncludingGravity" and weight = 195.95 and event = "devicemotion" ) or - ( this = "accelerationIncludingGravity" and weight = 238.43 and event = "devicemotion" ) + ( this = "beta" and weight = 889.02 and event = "deviceorientation" ) or - ( this = "beta" and weight = 736.03 and event = "deviceorientation" ) + ( this = "gamma" and weight = 318.9 and event = "deviceorientation" ) or - ( this = "gamma" and weight = 279.41 and event = "deviceorientation" ) + ( this = "alpha" and weight = 748.66 and event = "deviceorientation" ) or - ( this = "alpha" and weight = 737.51 and event = "deviceorientation" ) + ( this = "candidate" and weight = 48.4 and event = "icecandidate" ) or - ( this = "acceleration" and weight = 58.12 and event = "devicemotion" ) + ( this = "acceleration" and weight = 59.13 and event = "devicemotion" ) or - ( this = "rotationRate" and weight = 57.64 and event = "devicemotion" ) + ( this = "rotationRate" and weight = 58.73 and event = "devicemotion" ) or - ( this = "absolute" and weight = 344.13 and event = "deviceorientation" ) + ( this = "absolute" and weight = 480.46 and event = "deviceorientation" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalConstructor.qll b/.github/codeql/queries/autogen_fpGlobalConstructor.qll index e30fb7b2972..1bd3776448a 100644 --- a/.github/codeql/queries/autogen_fpGlobalConstructor.qll +++ b/.github/codeql/queries/autogen_fpGlobalConstructor.qll @@ -6,15 +6,15 @@ class GlobalConstructor extends string { GlobalConstructor() { - ( this = "SharedWorker" and weight = 78.9 ) + ( this = "OfflineAudioContext" and weight = 1249.69 ) or - ( this = "OfflineAudioContext" and weight = 1110.27 ) + ( this = "SharedWorker" and weight = 78.96 ) or - ( this = "RTCPeerConnection" and weight = 56.31 ) + ( this = "RTCPeerConnection" and weight = 36.22 ) or - ( this = "Gyroscope" and weight = 109.74 ) + ( this = "Gyroscope" and weight = 94.31 ) or - ( this = "AudioWorkletNode" and weight = 138.2 ) + ( this = "AudioWorkletNode" and weight = 106.77 ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll b/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll index 89f92da1290..622b4097377 100644 --- a/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll +++ b/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll @@ -7,57 +7,59 @@ class GlobalObjectProperty0 extends string { GlobalObjectProperty0() { - ( this = "availHeight" and weight = 68.69 and global0 = "screen" ) + ( this = "availWidth" and weight = 62.91 and global0 = "screen" ) or - ( this = "availWidth" and weight = 64.15 and global0 = "screen" ) + ( this = "availHeight" and weight = 66.51 and global0 = "screen" ) or - ( this = "colorDepth" and weight = 35.15 and global0 = "screen" ) + ( this = "colorDepth" and weight = 36.87 and global0 = "screen" ) or - ( this = "availTop" and weight = 1340.55 and global0 = "screen" ) + ( this = "pixelDepth" and weight = 43.1 and global0 = "screen" ) or - ( this = "mimeTypes" and weight = 15.13 and global0 = "navigator" ) + ( this = "availLeft" and weight = 730.43 and global0 = "screen" ) or - ( this = "deviceMemory" and weight = 69.83 and global0 = "navigator" ) + ( this = "availTop" and weight = 1485.89 and global0 = "screen" ) or - ( this = "getBattery" and weight = 59.15 and global0 = "navigator" ) + ( this = "orientation" and weight = 33.81 and global0 = "screen" ) or - ( this = "webdriver" and weight = 30.06 and global0 = "navigator" ) + ( this = "vendorSub" and weight = 1822.98 and global0 = "navigator" ) or - ( this = "permission" and weight = 26.25 and global0 = "Notification" ) + ( this = "productSub" and weight = 381.55 and global0 = "navigator" ) or - ( this = "storage" and weight = 40.72 and global0 = "navigator" ) + ( this = "plugins" and weight = 15.37 and global0 = "navigator" ) or - ( this = "orientation" and weight = 34.85 and global0 = "screen" ) + ( this = "mimeTypes" and weight = 15.39 and global0 = "navigator" ) or - ( this = "pixelDepth" and weight = 45.53 and global0 = "screen" ) + ( this = "webkitTemporaryStorage" and weight = 32.87 and global0 = "navigator" ) or - ( this = "availLeft" and weight = 574.21 and global0 = "screen" ) + ( this = "hardwareConcurrency" and weight = 55.54 and global0 = "navigator" ) or - ( this = "vendorSub" and weight = 1588.52 and global0 = "navigator" ) + ( this = "appCodeName" and weight = 167.7 and global0 = "navigator" ) or - ( this = "productSub" and weight = 557.44 and global0 = "navigator" ) + ( this = "onLine" and weight = 18.14 and global0 = "navigator" ) or - ( this = "webkitTemporaryStorage" and weight = 32.71 and global0 = "navigator" ) + ( this = "webdriver" and weight = 28.99 and global0 = "navigator" ) or - ( this = "hardwareConcurrency" and weight = 61.57 and global0 = "navigator" ) + ( this = "keyboard" and weight = 5673.26 and global0 = "navigator" ) or - ( this = "appCodeName" and weight = 170.17 and global0 = "navigator" ) + ( this = "mediaDevices" and weight = 123.32 and global0 = "navigator" ) or - ( this = "onLine" and weight = 19.42 and global0 = "navigator" ) + ( this = "storage" and weight = 30.23 and global0 = "navigator" ) or - ( this = "keyboard" and weight = 5667.18 and global0 = "navigator" ) + ( this = "deviceMemory" and weight = 62.29 and global0 = "navigator" ) or - ( this = "mediaDevices" and weight = 129.67 and global0 = "navigator" ) + ( this = "mediaCapabilities" and weight = 148.31 and global0 = "navigator" ) or - ( this = "mediaCapabilities" and weight = 167.06 and global0 = "navigator" ) + ( this = "permissions" and weight = 92.01 and global0 = "navigator" ) or - ( this = "permissions" and weight = 81.52 and global0 = "navigator" ) + ( this = "permission" and weight = 25.87 and global0 = "Notification" ) or - ( this = "webkitPersistentStorage" and weight = 132.63 and global0 = "navigator" ) + ( this = "getBattery" and weight = 40.45 and global0 = "navigator" ) or - ( this = "requestMediaKeySystemAccess" and weight = 20.97 and global0 = "navigator" ) + ( this = "webkitPersistentStorage" and weight = 121.43 and global0 = "navigator" ) or - ( this = "getGamepads" and weight = 441.8 and global0 = "navigator" ) + ( this = "requestMediaKeySystemAccess" and weight = 22.53 and global0 = "navigator" ) + or + ( this = "getGamepads" and weight = 275.28 and global0 = "navigator" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll b/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll index e0d8248beb6..3be175f2c11 100644 --- a/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll +++ b/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll @@ -8,7 +8,7 @@ class GlobalObjectProperty1 extends string { GlobalObjectProperty1() { - ( this = "enumerateDevices" and weight = 380.3 and global0 = "navigator" and global1 = "mediaDevices" ) + ( this = "enumerateDevices" and weight = 361.7 and global0 = "navigator" and global1 = "mediaDevices" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll b/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll index b49336e6468..489d3f0f3ae 100644 --- a/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll +++ b/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll @@ -7,11 +7,11 @@ class GlobalTypeProperty0 extends string { GlobalTypeProperty0() { - ( this = "x" and weight = 5667.18 and global0 = "Gyroscope" ) + ( this = "x" and weight = 5673.26 and global0 = "Gyroscope" ) or - ( this = "y" and weight = 5667.18 and global0 = "Gyroscope" ) + ( this = "y" and weight = 5673.26 and global0 = "Gyroscope" ) or - ( this = "z" and weight = 5667.18 and global0 = "Gyroscope" ) + ( this = "z" and weight = 5673.26 and global0 = "Gyroscope" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll b/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll index a12f1fc92ad..2f290d30132 100644 --- a/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll +++ b/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll @@ -8,7 +8,7 @@ class GlobalTypeProperty1 extends string { GlobalTypeProperty1() { - ( this = "resolvedOptions" and weight = 19.12 and global0 = "Intl" and global1 = "DateTimeFormat" ) + ( this = "resolvedOptions" and weight = 18.94 and global0 = "Intl" and global1 = "DateTimeFormat" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalVar.qll b/.github/codeql/queries/autogen_fpGlobalVar.qll index 27ad11c54c4..debc39522ee 100644 --- a/.github/codeql/queries/autogen_fpGlobalVar.qll +++ b/.github/codeql/queries/autogen_fpGlobalVar.qll @@ -6,23 +6,23 @@ class GlobalVar extends string { GlobalVar() { - ( this = "devicePixelRatio" and weight = 19.09 ) + ( this = "devicePixelRatio" and weight = 18.84 ) or - ( this = "screenX" and weight = 401.78 ) + ( this = "outerWidth" and weight = 104.3 ) or - ( this = "screenY" and weight = 345.3 ) + ( this = "outerHeight" and weight = 177.3 ) or - ( this = "outerWidth" and weight = 107.67 ) + ( this = "indexedDB" and weight = 21.68 ) or - ( this = "outerHeight" and weight = 190.2 ) + ( this = "screenX" and weight = 411.93 ) or - ( this = "screenLeft" and weight = 372.82 ) + ( this = "screenY" and weight = 369.99 ) or - ( this = "screenTop" and weight = 374.95 ) + ( this = "screenLeft" and weight = 344.06 ) or - ( this = "indexedDB" and weight = 18.61 ) + ( this = "screenTop" and weight = 343.13 ) or - ( this = "openDatabase" and weight = 159.66 ) + ( this = "openDatabase" and weight = 128.91 ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpRenderingContextProperty.qll b/.github/codeql/queries/autogen_fpRenderingContextProperty.qll index ddcb191a490..1f23b1a5057 100644 --- a/.github/codeql/queries/autogen_fpRenderingContextProperty.qll +++ b/.github/codeql/queries/autogen_fpRenderingContextProperty.qll @@ -7,35 +7,35 @@ class RenderingContextProperty extends string { RenderingContextProperty() { - ( this = "getExtension" and weight = 23.15 and contextType = "webgl" ) + ( this = "getImageData" and weight = 55.51 and contextType = "2d" ) or - ( this = "getParameter" and weight = 27.52 and contextType = "webgl" ) + ( this = "getParameter" and weight = 30.58 and contextType = "webgl" ) or - ( this = "getImageData" and weight = 48.33 and contextType = "2d" ) + ( this = "measureText" and weight = 46.82 and contextType = "2d" ) or - ( this = "getParameter" and weight = 81.31 and contextType = "webgl2" ) + ( this = "getParameter" and weight = 70.22 and contextType = "webgl2" ) or - ( this = "getShaderPrecisionFormat" and weight = 144.52 and contextType = "webgl2" ) + ( this = "getShaderPrecisionFormat" and weight = 128.74 and contextType = "webgl2" ) or - ( this = "getExtension" and weight = 82.09 and contextType = "webgl2" ) + ( this = "getExtension" and weight = 71.78 and contextType = "webgl2" ) or - ( this = "getContextAttributes" and weight = 228.41 and contextType = "webgl2" ) + ( this = "getContextAttributes" and weight = 190.28 and contextType = "webgl2" ) or - ( this = "getSupportedExtensions" and weight = 882.01 and contextType = "webgl2" ) + ( this = "getSupportedExtensions" and weight = 560.85 and contextType = "webgl2" ) or - ( this = "measureText" and weight = 47.58 and contextType = "2d" ) + ( this = "getExtension" and weight = 26.27 and contextType = "webgl" ) or - ( this = "getShaderPrecisionFormat" and weight = 664.14 and contextType = "webgl" ) + ( this = "getShaderPrecisionFormat" and weight = 1175.17 and contextType = "webgl" ) or - ( this = "getContextAttributes" and weight = 1178.57 and contextType = "webgl" ) + ( this = "getContextAttributes" and weight = 1998.53 and contextType = "webgl" ) or - ( this = "getSupportedExtensions" and weight = 1036.87 and contextType = "webgl" ) + ( this = "getSupportedExtensions" and weight = 1388.64 and contextType = "webgl" ) or - ( this = "readPixels" and weight = 25.3 and contextType = "webgl" ) + ( this = "readPixels" and weight = 22.43 and contextType = "webgl" ) or - ( this = "isPointInPath" and weight = 4284.36 and contextType = "2d" ) + ( this = "isPointInPath" and weight = 5210.68 and contextType = "2d" ) or - ( this = "readPixels" and weight = 69.37 and contextType = "webgl2" ) + ( this = "readPixels" and weight = 610.19 and contextType = "webgl2" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpSensorProperty.qll b/.github/codeql/queries/autogen_fpSensorProperty.qll index 65d017e68bc..74bf3e4f988 100644 --- a/.github/codeql/queries/autogen_fpSensorProperty.qll +++ b/.github/codeql/queries/autogen_fpSensorProperty.qll @@ -6,7 +6,7 @@ class SensorProperty extends string { SensorProperty() { - ( this = "start" and weight = 97.55 ) + ( this = "start" and weight = 92.53 ) } float getWeight() { diff --git a/metadata/modules.json b/metadata/modules.json index 1ff79e4c63b..6bba23bd092 100644 --- a/metadata/modules.json +++ b/metadata/modules.json @@ -960,6 +960,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "alchemyx", + "aliasOf": "adverxo", + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "adxcg", @@ -1303,6 +1310,13 @@ "gvlid": 879, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "aps", + "aliasOf": null, + "gvlid": 793, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "apstream", diff --git a/metadata/modules/33acrossBidAdapter.json b/metadata/modules/33acrossBidAdapter.json index b508d492689..28bc19ea084 100644 --- a/metadata/modules/33acrossBidAdapter.json +++ b/metadata/modules/33acrossBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2026-01-15T16:36:37.468Z", + "timestamp": "2026-01-21T15:16:22.814Z", "disclosures": [] } }, diff --git a/metadata/modules/33acrossIdSystem.json b/metadata/modules/33acrossIdSystem.json index c00e1e452a1..6c4fc8ee6fa 100644 --- a/metadata/modules/33acrossIdSystem.json +++ b/metadata/modules/33acrossIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2026-01-15T16:36:37.575Z", + "timestamp": "2026-01-21T15:16:22.912Z", "disclosures": [] } }, diff --git a/metadata/modules/acuityadsBidAdapter.json b/metadata/modules/acuityadsBidAdapter.json index 4d6a5fda3e8..6f890a405b2 100644 --- a/metadata/modules/acuityadsBidAdapter.json +++ b/metadata/modules/acuityadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.acuityads.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:36:37.577Z", + "timestamp": "2026-01-21T15:16:22.914Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioBidAdapter.json b/metadata/modules/adagioBidAdapter.json index de31aded310..31087ee5c76 100644 --- a/metadata/modules/adagioBidAdapter.json +++ b/metadata/modules/adagioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:36:37.610Z", + "timestamp": "2026-01-21T15:16:22.947Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioRtdProvider.json b/metadata/modules/adagioRtdProvider.json index aceec16684b..60dc0446c5d 100644 --- a/metadata/modules/adagioRtdProvider.json +++ b/metadata/modules/adagioRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:36:37.832Z", + "timestamp": "2026-01-21T15:16:23.014Z", "disclosures": [] } }, diff --git a/metadata/modules/adbroBidAdapter.json b/metadata/modules/adbroBidAdapter.json index 601d4d75eb0..7eb1502f89b 100644 --- a/metadata/modules/adbroBidAdapter.json +++ b/metadata/modules/adbroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tag.adbro.me/privacy/devicestorage.json": { - "timestamp": "2026-01-15T16:36:37.832Z", + "timestamp": "2026-01-21T15:16:23.014Z", "disclosures": [] } }, diff --git a/metadata/modules/addefendBidAdapter.json b/metadata/modules/addefendBidAdapter.json index 156b0a7b850..201cb7effbd 100644 --- a/metadata/modules/addefendBidAdapter.json +++ b/metadata/modules/addefendBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.addefend.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:36:38.129Z", + "timestamp": "2026-01-21T15:16:23.303Z", "disclosures": [] } }, diff --git a/metadata/modules/adfBidAdapter.json b/metadata/modules/adfBidAdapter.json index 430e0ee2005..5aef107fb2f 100644 --- a/metadata/modules/adfBidAdapter.json +++ b/metadata/modules/adfBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://site.adform.com/assets/devicestorage.json": { - "timestamp": "2026-01-15T16:36:38.754Z", + "timestamp": "2026-01-21T15:16:24.107Z", "disclosures": [] } }, diff --git a/metadata/modules/adfusionBidAdapter.json b/metadata/modules/adfusionBidAdapter.json index 7f8ad865d23..a838f9f9567 100644 --- a/metadata/modules/adfusionBidAdapter.json +++ b/metadata/modules/adfusionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spicyrtb.com/static/iab-disclosure.json": { - "timestamp": "2026-01-15T16:36:38.755Z", + "timestamp": "2026-01-21T15:16:24.108Z", "disclosures": [] } }, diff --git a/metadata/modules/adheseBidAdapter.json b/metadata/modules/adheseBidAdapter.json index 6a1bc353718..8f83e1080a0 100644 --- a/metadata/modules/adheseBidAdapter.json +++ b/metadata/modules/adheseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adhese.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:36:39.105Z", + "timestamp": "2026-01-21T15:16:24.474Z", "disclosures": [] } }, diff --git a/metadata/modules/adipoloBidAdapter.json b/metadata/modules/adipoloBidAdapter.json index c6186699e97..9c96cfb8a1c 100644 --- a/metadata/modules/adipoloBidAdapter.json +++ b/metadata/modules/adipoloBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adipolo.com/device_storage_disclosure.json": { - "timestamp": "2026-01-15T16:36:39.373Z", + "timestamp": "2026-01-21T15:16:24.737Z", "disclosures": [] } }, diff --git a/metadata/modules/adkernelAdnBidAdapter.json b/metadata/modules/adkernelAdnBidAdapter.json index f05baa21a71..c2443f34504 100644 --- a/metadata/modules/adkernelAdnBidAdapter.json +++ b/metadata/modules/adkernelAdnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:36:39.507Z", + "timestamp": "2026-01-21T15:16:24.892Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", diff --git a/metadata/modules/adkernelBidAdapter.json b/metadata/modules/adkernelBidAdapter.json index a0063f22aa1..533adb5b635 100644 --- a/metadata/modules/adkernelBidAdapter.json +++ b/metadata/modules/adkernelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:36:39.547Z", + "timestamp": "2026-01-21T15:16:24.933Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", @@ -17,19 +17,19 @@ ] }, "https://data.converge-digital.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:36:39.547Z", + "timestamp": "2026-01-21T15:16:24.933Z", "disclosures": [] }, "https://spinx.biz/tcf-spinx.json": { - "timestamp": "2026-01-15T16:36:39.586Z", + "timestamp": "2026-01-21T15:16:24.979Z", "disclosures": [] }, "https://gdpr.memob.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:36:40.358Z", + "timestamp": "2026-01-21T15:16:25.740Z", "disclosures": [] }, "https://appmonsta.ai/DeviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:36:40.374Z", + "timestamp": "2026-01-21T15:16:25.757Z", "disclosures": [] } }, diff --git a/metadata/modules/admaticBidAdapter.json b/metadata/modules/admaticBidAdapter.json index 28aa7f6f8fe..fb5475a18cb 100644 --- a/metadata/modules/admaticBidAdapter.json +++ b/metadata/modules/admaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.admatic.de/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2026-01-15T16:36:50.419Z", + "timestamp": "2026-01-21T15:16:27.252Z", "disclosures": [ { "identifier": "px_pbjs", @@ -12,7 +12,7 @@ ] }, "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:36:41.675Z", + "timestamp": "2026-01-21T15:16:27.092Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/admixerBidAdapter.json b/metadata/modules/admixerBidAdapter.json index 47cf50a9bd3..0bac310b608 100644 --- a/metadata/modules/admixerBidAdapter.json +++ b/metadata/modules/admixerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2026-01-15T16:36:50.420Z", + "timestamp": "2026-01-21T15:16:27.253Z", "disclosures": [] } }, diff --git a/metadata/modules/admixerIdSystem.json b/metadata/modules/admixerIdSystem.json index a8393b4f630..ff55aa04384 100644 --- a/metadata/modules/admixerIdSystem.json +++ b/metadata/modules/admixerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2026-01-15T16:36:50.913Z", + "timestamp": "2026-01-21T15:16:27.746Z", "disclosures": [] } }, diff --git a/metadata/modules/adnowBidAdapter.json b/metadata/modules/adnowBidAdapter.json index 14189d1c55f..b7cdcbe11c1 100644 --- a/metadata/modules/adnowBidAdapter.json +++ b/metadata/modules/adnowBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adnow.com/vdsod.json": { - "timestamp": "2026-01-15T16:36:50.913Z", + "timestamp": "2026-01-21T15:16:27.746Z", "disclosures": [ { "identifier": "SC_unique_*", diff --git a/metadata/modules/adnuntiusBidAdapter.json b/metadata/modules/adnuntiusBidAdapter.json index b48ccbded64..9978243ca77 100644 --- a/metadata/modules/adnuntiusBidAdapter.json +++ b/metadata/modules/adnuntiusBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:14.929Z", + "timestamp": "2026-01-21T15:16:27.974Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adnuntiusRtdProvider.json b/metadata/modules/adnuntiusRtdProvider.json index c2e5c1cd7a2..6b28926eab7 100644 --- a/metadata/modules/adnuntiusRtdProvider.json +++ b/metadata/modules/adnuntiusRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:15.246Z", + "timestamp": "2026-01-21T15:16:28.288Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adotBidAdapter.json b/metadata/modules/adotBidAdapter.json index 18c8489f9c7..76a8d448590 100644 --- a/metadata/modules/adotBidAdapter.json +++ b/metadata/modules/adotBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.adotmob.com/tcf/tcf.json": { - "timestamp": "2026-01-15T16:37:15.247Z", + "timestamp": "2026-01-21T15:16:28.289Z", "disclosures": [] } }, diff --git a/metadata/modules/adponeBidAdapter.json b/metadata/modules/adponeBidAdapter.json index e5b816c7d49..562e9b3191b 100644 --- a/metadata/modules/adponeBidAdapter.json +++ b/metadata/modules/adponeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.adpone.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:15.386Z", + "timestamp": "2026-01-21T15:16:28.330Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryBidAdapter.json b/metadata/modules/adqueryBidAdapter.json index a47536be831..4a4c5e0437e 100644 --- a/metadata/modules/adqueryBidAdapter.json +++ b/metadata/modules/adqueryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2026-01-15T16:37:15.412Z", + "timestamp": "2026-01-21T15:16:28.350Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryIdSystem.json b/metadata/modules/adqueryIdSystem.json index c09bd93d13e..c3c47ba2f4d 100644 --- a/metadata/modules/adqueryIdSystem.json +++ b/metadata/modules/adqueryIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2026-01-15T16:37:15.776Z", + "timestamp": "2026-01-21T15:16:28.687Z", "disclosures": [] } }, diff --git a/metadata/modules/adrinoBidAdapter.json b/metadata/modules/adrinoBidAdapter.json index a3c444e2024..d9be264c1a8 100644 --- a/metadata/modules/adrinoBidAdapter.json +++ b/metadata/modules/adrinoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.adrino.cloud/iab/device-storage.json": { - "timestamp": "2026-01-15T16:37:15.777Z", + "timestamp": "2026-01-21T15:16:28.688Z", "disclosures": [] } }, diff --git a/metadata/modules/ads_interactiveBidAdapter.json b/metadata/modules/ads_interactiveBidAdapter.json index 61dd58a2056..27972eafcba 100644 --- a/metadata/modules/ads_interactiveBidAdapter.json +++ b/metadata/modules/ads_interactiveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adsinteractive.com/vendor.json": { - "timestamp": "2026-01-15T16:37:15.878Z", + "timestamp": "2026-01-21T15:16:28.779Z", "disclosures": [] } }, diff --git a/metadata/modules/adtargetBidAdapter.json b/metadata/modules/adtargetBidAdapter.json index 61b5353fddb..ba378474003 100644 --- a/metadata/modules/adtargetBidAdapter.json +++ b/metadata/modules/adtargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:16.186Z", + "timestamp": "2026-01-21T15:16:29.070Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/adtelligentBidAdapter.json b/metadata/modules/adtelligentBidAdapter.json index 0fc34ae0a08..f88d4766a3d 100644 --- a/metadata/modules/adtelligentBidAdapter.json +++ b/metadata/modules/adtelligentBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:16.186Z", + "timestamp": "2026-01-21T15:16:29.071Z", "disclosures": [] }, "https://www.selectmedia.asia/gdpr/devicestorage.json": { - "timestamp": "2026-01-15T16:37:16.204Z", + "timestamp": "2026-01-21T15:16:29.090Z", "disclosures": [ { "identifier": "waterFallCacheAnsKey_*", @@ -81,7 +81,7 @@ ] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2026-01-15T16:37:16.366Z", + "timestamp": "2026-01-21T15:16:29.271Z", "disclosures": [] } }, diff --git a/metadata/modules/adtelligentIdSystem.json b/metadata/modules/adtelligentIdSystem.json index 74b3d26bf3e..dff1fc84910 100644 --- a/metadata/modules/adtelligentIdSystem.json +++ b/metadata/modules/adtelligentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:16.444Z", + "timestamp": "2026-01-21T15:16:29.346Z", "disclosures": [] } }, diff --git a/metadata/modules/aduptechBidAdapter.json b/metadata/modules/aduptechBidAdapter.json index 4fdbda58179..64d433e132d 100644 --- a/metadata/modules/aduptechBidAdapter.json +++ b/metadata/modules/aduptechBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.d.adup-tech.com/gdpr/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:16.445Z", + "timestamp": "2026-01-21T15:16:29.347Z", "disclosures": [] } }, diff --git a/metadata/modules/adverxoBidAdapter.json b/metadata/modules/adverxoBidAdapter.json index cece61bdaf1..e3cec5f59de 100644 --- a/metadata/modules/adverxoBidAdapter.json +++ b/metadata/modules/adverxoBidAdapter.json @@ -29,6 +29,13 @@ "aliasOf": "adverxo", "gvlid": null, "disclosureURL": null + }, + { + "componentType": "bidder", + "componentName": "alchemyx", + "aliasOf": "adverxo", + "gvlid": null, + "disclosureURL": null } ] } \ No newline at end of file diff --git a/metadata/modules/adyoulikeBidAdapter.json b/metadata/modules/adyoulikeBidAdapter.json index 0f6da67e6c2..cf1f7645e87 100644 --- a/metadata/modules/adyoulikeBidAdapter.json +++ b/metadata/modules/adyoulikeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adyoulike.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-15T16:37:16.471Z", + "timestamp": "2026-01-21T15:16:29.372Z", "disclosures": null } }, diff --git a/metadata/modules/airgridRtdProvider.json b/metadata/modules/airgridRtdProvider.json index 7b14bbae2ac..508624393d0 100644 --- a/metadata/modules/airgridRtdProvider.json +++ b/metadata/modules/airgridRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.wearemiq.com/privacy-and-compliance/devicestoragedisclosures.json": { - "timestamp": "2026-01-15T16:37:20.002Z", + "timestamp": "2026-01-21T15:16:32.939Z", "disclosures": [] } }, diff --git a/metadata/modules/alkimiBidAdapter.json b/metadata/modules/alkimiBidAdapter.json index dab27980871..207b205aa45 100644 --- a/metadata/modules/alkimiBidAdapter.json +++ b/metadata/modules/alkimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d1xjh92lb8fey3.cloudfront.net/tcf/alkimi_exchange_tcf.json": { - "timestamp": "2026-01-15T16:37:20.031Z", + "timestamp": "2026-01-21T15:16:32.976Z", "disclosures": [] } }, diff --git a/metadata/modules/allegroBidAdapter.json b/metadata/modules/allegroBidAdapter.json index e7788f68978..616a2162531 100644 --- a/metadata/modules/allegroBidAdapter.json +++ b/metadata/modules/allegroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.allegrostatic.com/dsp-tcf-external/device-storage.json": { - "timestamp": "2026-01-15T16:37:20.319Z", + "timestamp": "2026-01-21T15:16:33.255Z", "disclosures": [] } }, diff --git a/metadata/modules/amxBidAdapter.json b/metadata/modules/amxBidAdapter.json index 595cc4e40ff..6e3a3bff685 100644 --- a/metadata/modules/amxBidAdapter.json +++ b/metadata/modules/amxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2026-01-15T16:37:20.750Z", + "timestamp": "2026-01-21T15:16:33.716Z", "disclosures": [] } }, diff --git a/metadata/modules/amxIdSystem.json b/metadata/modules/amxIdSystem.json index d350419f8bf..368ed164dd3 100644 --- a/metadata/modules/amxIdSystem.json +++ b/metadata/modules/amxIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2026-01-15T16:37:20.794Z", + "timestamp": "2026-01-21T15:16:33.785Z", "disclosures": [] } }, diff --git a/metadata/modules/aniviewBidAdapter.json b/metadata/modules/aniviewBidAdapter.json index c932ad48b30..67abd000a1e 100644 --- a/metadata/modules/aniviewBidAdapter.json +++ b/metadata/modules/aniviewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.aniview.com/gdpr/gdpr.json": { - "timestamp": "2026-01-15T16:37:20.794Z", + "timestamp": "2026-01-21T15:16:33.785Z", "disclosures": [ { "identifier": "av_*", diff --git a/metadata/modules/anonymisedRtdProvider.json b/metadata/modules/anonymisedRtdProvider.json index b17d38e89f2..c347b6c2e2e 100644 --- a/metadata/modules/anonymisedRtdProvider.json +++ b/metadata/modules/anonymisedRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.anonymised.io/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:21.051Z", + "timestamp": "2026-01-21T15:16:34.077Z", "disclosures": [ { "identifier": "oidc.user*", diff --git a/metadata/modules/appStockSSPBidAdapter.json b/metadata/modules/appStockSSPBidAdapter.json index 4418fdb219e..fab273d8e3b 100644 --- a/metadata/modules/appStockSSPBidAdapter.json +++ b/metadata/modules/appStockSSPBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://app-stock.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:21.070Z", + "timestamp": "2026-01-21T15:16:34.250Z", "disclosures": [] } }, diff --git a/metadata/modules/appierBidAdapter.json b/metadata/modules/appierBidAdapter.json index 0e6d091d779..e82a329c3ce 100644 --- a/metadata/modules/appierBidAdapter.json +++ b/metadata/modules/appierBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.appier.com/deviceStorage2025.json": { - "timestamp": "2026-01-15T16:37:21.109Z", + "timestamp": "2026-01-21T15:16:34.279Z", "disclosures": [ { "identifier": "_atrk_ssid", diff --git a/metadata/modules/appnexusBidAdapter.json b/metadata/modules/appnexusBidAdapter.json index 4daa7849c38..823f03e8991 100644 --- a/metadata/modules/appnexusBidAdapter.json +++ b/metadata/modules/appnexusBidAdapter.json @@ -2,23 +2,23 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-01-15T16:37:21.729Z", + "timestamp": "2026-01-21T15:16:34.997Z", "disclosures": [] }, "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:21.220Z", + "timestamp": "2026-01-21T15:16:34.419Z", "disclosures": [] }, "https://beintoo-support.b-cdn.net/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:21.242Z", + "timestamp": "2026-01-21T15:16:34.437Z", "disclosures": [] }, "https://projectagora.net/1032_deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:21.262Z", + "timestamp": "2026-01-21T15:16:34.549Z", "disclosures": [] }, "https://adzymic.com/tcf.json": { - "timestamp": "2026-01-15T16:37:21.729Z", + "timestamp": "2026-01-21T15:16:34.997Z", "disclosures": [] } }, diff --git a/metadata/modules/appushBidAdapter.json b/metadata/modules/appushBidAdapter.json index 1f2a1001edc..362373e14e1 100644 --- a/metadata/modules/appushBidAdapter.json +++ b/metadata/modules/appushBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.thebiding.com/disclosures.json": { - "timestamp": "2026-01-15T16:37:21.750Z", + "timestamp": "2026-01-21T15:16:35.025Z", "disclosures": [] } }, diff --git a/metadata/modules/apsBidAdapter.json b/metadata/modules/apsBidAdapter.json new file mode 100644 index 00000000000..de3d4b624ca --- /dev/null +++ b/metadata/modules/apsBidAdapter.json @@ -0,0 +1,49 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": { + "https://m.media-amazon.com/images/G/01/adprefs/deviceStorageDisclosure.json": { + "timestamp": "2026-01-21T15:16:35.094Z", + "disclosures": [ + { + "identifier": "vendor-id", + "type": "cookie", + "maxAgeSeconds": 2592000, + "cookieRefresh": true, + "purposes": [ + 1, + 7 + ] + }, + { + "identifier": "amzn-token", + "type": "cookie", + "maxAgeSeconds": 604800, + "cookieRefresh": true, + "purposes": [ + 1 + ] + }, + { + "identifier": "*sessionMarker/marker", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 7 + ] + } + ] + } + }, + "components": [ + { + "componentType": "bidder", + "componentName": "aps", + "aliasOf": null, + "gvlid": 793, + "disclosureURL": "https://m.media-amazon.com/images/G/01/adprefs/deviceStorageDisclosure.json" + } + ] +} \ No newline at end of file diff --git a/metadata/modules/apstreamBidAdapter.json b/metadata/modules/apstreamBidAdapter.json index 6b4ccb793f1..dd2c47436ea 100644 --- a/metadata/modules/apstreamBidAdapter.json +++ b/metadata/modules/apstreamBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sak.userreport.com/tcf.json": { - "timestamp": "2026-01-15T16:37:21.827Z", + "timestamp": "2026-01-21T15:16:35.116Z", "disclosures": [ { "identifier": "apr_dsu", diff --git a/metadata/modules/audiencerunBidAdapter.json b/metadata/modules/audiencerunBidAdapter.json index f45b96d4045..78f2422c707 100644 --- a/metadata/modules/audiencerunBidAdapter.json +++ b/metadata/modules/audiencerunBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.audiencerun.com/tcf.json": { - "timestamp": "2026-01-15T16:37:21.848Z", + "timestamp": "2026-01-21T15:16:35.141Z", "disclosures": [] } }, diff --git a/metadata/modules/axisBidAdapter.json b/metadata/modules/axisBidAdapter.json index d6e67748fc6..e1beeb35be1 100644 --- a/metadata/modules/axisBidAdapter.json +++ b/metadata/modules/axisBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://axis-marketplace.com/tcf.json": { - "timestamp": "2026-01-15T16:37:21.895Z", + "timestamp": "2026-01-21T15:16:35.201Z", "disclosures": [] } }, diff --git a/metadata/modules/azerionedgeRtdProvider.json b/metadata/modules/azerionedgeRtdProvider.json index 7d1760d0cdf..c5b957dbb02 100644 --- a/metadata/modules/azerionedgeRtdProvider.json +++ b/metadata/modules/azerionedgeRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2026-01-15T16:37:21.937Z", + "timestamp": "2026-01-21T15:16:35.242Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/beachfrontBidAdapter.json b/metadata/modules/beachfrontBidAdapter.json index 10084ba55b4..f150a9a3762 100644 --- a/metadata/modules/beachfrontBidAdapter.json +++ b/metadata/modules/beachfrontBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2026-01-15T16:37:21.980Z", + "timestamp": "2026-01-21T15:16:35.274Z", "disclosures": [] } }, diff --git a/metadata/modules/beopBidAdapter.json b/metadata/modules/beopBidAdapter.json index ea81c16179b..cf50470b47f 100644 --- a/metadata/modules/beopBidAdapter.json +++ b/metadata/modules/beopBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://beop.io/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:22.002Z", + "timestamp": "2026-01-21T15:16:35.627Z", "disclosures": [] } }, diff --git a/metadata/modules/betweenBidAdapter.json b/metadata/modules/betweenBidAdapter.json index dd5d5f5c0eb..4df09f96284 100644 --- a/metadata/modules/betweenBidAdapter.json +++ b/metadata/modules/betweenBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.betweenx.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:22.125Z", + "timestamp": "2026-01-21T15:16:35.751Z", "disclosures": [] } }, diff --git a/metadata/modules/bidfuseBidAdapter.json b/metadata/modules/bidfuseBidAdapter.json index fe1587ae778..dd88bf2e743 100644 --- a/metadata/modules/bidfuseBidAdapter.json +++ b/metadata/modules/bidfuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidfuse.com/disclosure.json": { - "timestamp": "2026-01-15T16:37:22.186Z", + "timestamp": "2026-01-21T15:16:35.815Z", "disclosures": [] } }, diff --git a/metadata/modules/bidmaticBidAdapter.json b/metadata/modules/bidmaticBidAdapter.json index 9e9067213e2..bab8bed298e 100644 --- a/metadata/modules/bidmaticBidAdapter.json +++ b/metadata/modules/bidmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidmatic.io/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:22.372Z", + "timestamp": "2026-01-21T15:16:35.994Z", "disclosures": [] } }, diff --git a/metadata/modules/bidtheatreBidAdapter.json b/metadata/modules/bidtheatreBidAdapter.json index f9f2fabc74c..10949a5d4bd 100644 --- a/metadata/modules/bidtheatreBidAdapter.json +++ b/metadata/modules/bidtheatreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.bidtheatre.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:22.410Z", + "timestamp": "2026-01-21T15:16:36.045Z", "disclosures": [] } }, diff --git a/metadata/modules/bliinkBidAdapter.json b/metadata/modules/bliinkBidAdapter.json index f5bb94bcc55..8ec015b1f9a 100644 --- a/metadata/modules/bliinkBidAdapter.json +++ b/metadata/modules/bliinkBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bliink.io/disclosures.json": { - "timestamp": "2026-01-15T16:37:22.672Z", + "timestamp": "2026-01-21T15:16:36.316Z", "disclosures": [] } }, diff --git a/metadata/modules/blockthroughBidAdapter.json b/metadata/modules/blockthroughBidAdapter.json index 83615319f90..f26d883d1d5 100644 --- a/metadata/modules/blockthroughBidAdapter.json +++ b/metadata/modules/blockthroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://blockthrough.com/tcf_disclosures.json": { - "timestamp": "2026-01-15T16:37:23.054Z", + "timestamp": "2026-01-21T15:16:36.668Z", "disclosures": null } }, diff --git a/metadata/modules/blueBidAdapter.json b/metadata/modules/blueBidAdapter.json index 518be157904..e32587ebe24 100644 --- a/metadata/modules/blueBidAdapter.json +++ b/metadata/modules/blueBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://getblue.io/iab/iab.json": { - "timestamp": "2026-01-15T16:37:23.144Z", + "timestamp": "2026-01-21T15:16:36.766Z", "disclosures": [] } }, diff --git a/metadata/modules/bmsBidAdapter.json b/metadata/modules/bmsBidAdapter.json index 303021966b3..16940b8531e 100644 --- a/metadata/modules/bmsBidAdapter.json +++ b/metadata/modules/bmsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bluems.com/iab.json": { - "timestamp": "2026-01-15T16:37:23.500Z", + "timestamp": "2026-01-21T15:16:37.120Z", "disclosures": [] } }, diff --git a/metadata/modules/boldwinBidAdapter.json b/metadata/modules/boldwinBidAdapter.json index 70d07826aa6..0ed9fd7923f 100644 --- a/metadata/modules/boldwinBidAdapter.json +++ b/metadata/modules/boldwinBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://magav.videowalldirect.com/iab/videowalldirectiab.json": { - "timestamp": "2026-01-15T16:37:23.535Z", + "timestamp": "2026-01-21T15:16:37.138Z", "disclosures": [] } }, diff --git a/metadata/modules/bridBidAdapter.json b/metadata/modules/bridBidAdapter.json index 8aac69ef3cd..f11ad1153ef 100644 --- a/metadata/modules/bridBidAdapter.json +++ b/metadata/modules/bridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2026-01-15T16:37:23.568Z", + "timestamp": "2026-01-21T15:16:37.160Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/browsiBidAdapter.json b/metadata/modules/browsiBidAdapter.json index 0c262185ff5..0cb4c6eb267 100644 --- a/metadata/modules/browsiBidAdapter.json +++ b/metadata/modules/browsiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.browsiprod.com/ads/tcf.json": { - "timestamp": "2026-01-15T16:37:23.706Z", + "timestamp": "2026-01-21T15:16:37.299Z", "disclosures": [] } }, diff --git a/metadata/modules/bucksenseBidAdapter.json b/metadata/modules/bucksenseBidAdapter.json index 47eca0c0a76..87c476f0b36 100644 --- a/metadata/modules/bucksenseBidAdapter.json +++ b/metadata/modules/bucksenseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://j.bksnimages.com/iab/devsto02.json": { - "timestamp": "2026-01-15T16:37:23.743Z", + "timestamp": "2026-01-21T15:16:37.355Z", "disclosures": [] } }, diff --git a/metadata/modules/carodaBidAdapter.json b/metadata/modules/carodaBidAdapter.json index 7e0d20f7c1f..4efb66f4d89 100644 --- a/metadata/modules/carodaBidAdapter.json +++ b/metadata/modules/carodaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn2.caroda.io/tcfvds/2022-05-17/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:23.785Z", + "timestamp": "2026-01-21T15:16:37.394Z", "disclosures": [] } }, diff --git a/metadata/modules/categoryTranslation.json b/metadata/modules/categoryTranslation.json index e92582fc32f..e266b2b30f3 100644 --- a/metadata/modules/categoryTranslation.json +++ b/metadata/modules/categoryTranslation.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/categoryTranslation.json": { - "timestamp": "2026-01-15T16:36:37.466Z", + "timestamp": "2026-01-21T15:16:22.812Z", "disclosures": [ { "identifier": "iabToFwMappingkey", diff --git a/metadata/modules/ceeIdSystem.json b/metadata/modules/ceeIdSystem.json index cf988945eed..ecd8cbbbc22 100644 --- a/metadata/modules/ceeIdSystem.json +++ b/metadata/modules/ceeIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:24.082Z", + "timestamp": "2026-01-21T15:16:37.699Z", "disclosures": null } }, diff --git a/metadata/modules/chromeAiRtdProvider.json b/metadata/modules/chromeAiRtdProvider.json index c15ff7b9baa..f39b94c7976 100644 --- a/metadata/modules/chromeAiRtdProvider.json +++ b/metadata/modules/chromeAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/chromeAiRtdProvider.json": { - "timestamp": "2026-01-15T16:37:24.403Z", + "timestamp": "2026-01-21T15:16:38.027Z", "disclosures": [ { "identifier": "chromeAi_detected_data", diff --git a/metadata/modules/clickioBidAdapter.json b/metadata/modules/clickioBidAdapter.json index e4b74ffa33f..94f7f16f52f 100644 --- a/metadata/modules/clickioBidAdapter.json +++ b/metadata/modules/clickioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://o.clickiocdn.com/tcf_storage_info.json": { - "timestamp": "2026-01-15T16:37:24.404Z", + "timestamp": "2026-01-21T15:16:38.028Z", "disclosures": [] } }, diff --git a/metadata/modules/compassBidAdapter.json b/metadata/modules/compassBidAdapter.json index 9d09d5cfd34..09e49cec04d 100644 --- a/metadata/modules/compassBidAdapter.json +++ b/metadata/modules/compassBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-01-15T16:37:24.820Z", + "timestamp": "2026-01-21T15:16:38.465Z", "disclosures": [] } }, diff --git a/metadata/modules/conceptxBidAdapter.json b/metadata/modules/conceptxBidAdapter.json index a866c1f014e..1f890db7a88 100644 --- a/metadata/modules/conceptxBidAdapter.json +++ b/metadata/modules/conceptxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cncptx.com/device_storage_disclosure.json": { - "timestamp": "2026-01-15T16:37:24.836Z", + "timestamp": "2026-01-21T15:16:38.481Z", "disclosures": [] } }, diff --git a/metadata/modules/connatixBidAdapter.json b/metadata/modules/connatixBidAdapter.json index b8bc893e2af..f62456c3b1d 100644 --- a/metadata/modules/connatixBidAdapter.json +++ b/metadata/modules/connatixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://connatix.com/iab-tcf-disclosure.json": { - "timestamp": "2026-01-15T16:37:24.861Z", + "timestamp": "2026-01-21T15:16:38.511Z", "disclosures": [ { "identifier": "cnx_userId", diff --git a/metadata/modules/connectIdSystem.json b/metadata/modules/connectIdSystem.json index f1942c65604..711894bc75a 100644 --- a/metadata/modules/connectIdSystem.json +++ b/metadata/modules/connectIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2026-01-15T16:37:24.938Z", + "timestamp": "2026-01-21T15:16:38.586Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/connectadBidAdapter.json b/metadata/modules/connectadBidAdapter.json index 699183a7953..2a5bfbb5eb8 100644 --- a/metadata/modules/connectadBidAdapter.json +++ b/metadata/modules/connectadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.connectad.io/tcf_storage_info.json": { - "timestamp": "2026-01-15T16:37:24.959Z", + "timestamp": "2026-01-21T15:16:38.608Z", "disclosures": [] } }, diff --git a/metadata/modules/contentexchangeBidAdapter.json b/metadata/modules/contentexchangeBidAdapter.json index 03ffa8a4331..2c15133d291 100644 --- a/metadata/modules/contentexchangeBidAdapter.json +++ b/metadata/modules/contentexchangeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://hb.contentexchange.me/template/device_storage.json": { - "timestamp": "2026-01-15T16:37:24.995Z", + "timestamp": "2026-01-21T15:16:39.025Z", "disclosures": null } }, diff --git a/metadata/modules/conversantBidAdapter.json b/metadata/modules/conversantBidAdapter.json index 1d6083f65d5..bd8e9426455 100644 --- a/metadata/modules/conversantBidAdapter.json +++ b/metadata/modules/conversantBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.9/device_storage_disclosure.json": { - "timestamp": "2026-01-15T16:37:25.119Z", + "timestamp": "2026-01-21T15:16:39.056Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/copper6sspBidAdapter.json b/metadata/modules/copper6sspBidAdapter.json index f7fe4bae141..1275c106723 100644 --- a/metadata/modules/copper6sspBidAdapter.json +++ b/metadata/modules/copper6sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.copper6.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:25.142Z", + "timestamp": "2026-01-21T15:16:39.070Z", "disclosures": [] } }, diff --git a/metadata/modules/cpmstarBidAdapter.json b/metadata/modules/cpmstarBidAdapter.json index 5afe41d0cb1..d689d4037c0 100644 --- a/metadata/modules/cpmstarBidAdapter.json +++ b/metadata/modules/cpmstarBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2026-01-15T16:37:25.177Z", + "timestamp": "2026-01-21T15:16:39.112Z", "disclosures": [] } }, diff --git a/metadata/modules/criteoBidAdapter.json b/metadata/modules/criteoBidAdapter.json index 23009b06d2d..ed25ca22c17 100644 --- a/metadata/modules/criteoBidAdapter.json +++ b/metadata/modules/criteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2026-01-15T16:37:25.210Z", + "timestamp": "2026-01-21T15:16:39.189Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/criteoIdSystem.json b/metadata/modules/criteoIdSystem.json index 481e0b4d105..fb4af1fede1 100644 --- a/metadata/modules/criteoIdSystem.json +++ b/metadata/modules/criteoIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2026-01-15T16:37:25.227Z", + "timestamp": "2026-01-21T15:16:39.203Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/cwireBidAdapter.json b/metadata/modules/cwireBidAdapter.json index 35bdc0d3bad..8c7fd24ddff 100644 --- a/metadata/modules/cwireBidAdapter.json +++ b/metadata/modules/cwireBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.cwi.re/artifacts/iab/iab.json": { - "timestamp": "2026-01-15T16:37:25.227Z", + "timestamp": "2026-01-21T15:16:39.204Z", "disclosures": [] } }, diff --git a/metadata/modules/czechAdIdSystem.json b/metadata/modules/czechAdIdSystem.json index 70d4f766db0..ee9919cf839 100644 --- a/metadata/modules/czechAdIdSystem.json +++ b/metadata/modules/czechAdIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cpex.cz/storagedisclosure.json": { - "timestamp": "2026-01-15T16:37:25.255Z", + "timestamp": "2026-01-21T15:16:39.586Z", "disclosures": [] } }, diff --git a/metadata/modules/dailymotionBidAdapter.json b/metadata/modules/dailymotionBidAdapter.json index a4b480a7f52..800dd57eb28 100644 --- a/metadata/modules/dailymotionBidAdapter.json +++ b/metadata/modules/dailymotionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://statics.dmcdn.net/a/vds.json": { - "timestamp": "2026-01-15T16:37:25.655Z", + "timestamp": "2026-01-21T15:16:39.992Z", "disclosures": [ { "identifier": "uid_dm", diff --git a/metadata/modules/debugging.json b/metadata/modules/debugging.json index be1d24bff85..b4c2ae2c42e 100644 --- a/metadata/modules/debugging.json +++ b/metadata/modules/debugging.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2026-01-15T16:36:37.464Z", + "timestamp": "2026-01-21T15:16:22.811Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/deepintentBidAdapter.json b/metadata/modules/deepintentBidAdapter.json index caadad2e64b..73c3d103901 100644 --- a/metadata/modules/deepintentBidAdapter.json +++ b/metadata/modules/deepintentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.deepintent.com/iabeurope_vendor_disclosures.json": { - "timestamp": "2026-01-15T16:37:25.681Z", + "timestamp": "2026-01-21T15:16:40.098Z", "disclosures": [] } }, diff --git a/metadata/modules/defineMediaBidAdapter.json b/metadata/modules/defineMediaBidAdapter.json index 6f08662645e..fa316818b9e 100644 --- a/metadata/modules/defineMediaBidAdapter.json +++ b/metadata/modules/defineMediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://definemedia.de/tcf/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-15T16:37:25.762Z", + "timestamp": "2026-01-21T15:16:40.219Z", "disclosures": [ { "identifier": "conative$dataGathering$Adex", diff --git a/metadata/modules/deltaprojectsBidAdapter.json b/metadata/modules/deltaprojectsBidAdapter.json index 2ecd1687865..d997f834961 100644 --- a/metadata/modules/deltaprojectsBidAdapter.json +++ b/metadata/modules/deltaprojectsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.de17a.com/policy/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:26.176Z", + "timestamp": "2026-01-21T15:16:40.641Z", "disclosures": [] } }, diff --git a/metadata/modules/dianomiBidAdapter.json b/metadata/modules/dianomiBidAdapter.json index 784840e9a2b..a90fafec29e 100644 --- a/metadata/modules/dianomiBidAdapter.json +++ b/metadata/modules/dianomiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.dianomi.com/device_storage.json": { - "timestamp": "2026-01-15T16:37:26.601Z", + "timestamp": "2026-01-21T15:16:40.716Z", "disclosures": [] } }, diff --git a/metadata/modules/digitalMatterBidAdapter.json b/metadata/modules/digitalMatterBidAdapter.json index fc99fe60759..359c944b2e1 100644 --- a/metadata/modules/digitalMatterBidAdapter.json +++ b/metadata/modules/digitalMatterBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://digitalmatter.ai/disclosures.json": { - "timestamp": "2026-01-15T16:37:26.601Z", + "timestamp": "2026-01-21T15:16:40.716Z", "disclosures": [] } }, diff --git a/metadata/modules/distroscaleBidAdapter.json b/metadata/modules/distroscaleBidAdapter.json index 058b5dd309c..249539c9258 100644 --- a/metadata/modules/distroscaleBidAdapter.json +++ b/metadata/modules/distroscaleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.jsrdn.com/tcf/tcf-vendor-disclosure.json": { - "timestamp": "2026-01-15T16:37:26.960Z", + "timestamp": "2026-01-21T15:16:41.071Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeAdManagerBidAdapter.json b/metadata/modules/docereeAdManagerBidAdapter.json index 21c2a2ee183..f5454f2309a 100644 --- a/metadata/modules/docereeAdManagerBidAdapter.json +++ b/metadata/modules/docereeAdManagerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:26.987Z", + "timestamp": "2026-01-21T15:16:41.165Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeBidAdapter.json b/metadata/modules/docereeBidAdapter.json index 0b1ddd6b45b..0815e04e6d2 100644 --- a/metadata/modules/docereeBidAdapter.json +++ b/metadata/modules/docereeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:27.735Z", + "timestamp": "2026-01-21T15:16:41.920Z", "disclosures": [] } }, diff --git a/metadata/modules/dspxBidAdapter.json b/metadata/modules/dspxBidAdapter.json index 326d5c3c5e2..025ad773f48 100644 --- a/metadata/modules/dspxBidAdapter.json +++ b/metadata/modules/dspxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/os.json": { - "timestamp": "2026-01-15T16:37:27.736Z", + "timestamp": "2026-01-21T15:16:41.920Z", "disclosures": [] } }, diff --git a/metadata/modules/e_volutionBidAdapter.json b/metadata/modules/e_volutionBidAdapter.json index 9e92ef262a2..fb7d0dab4f3 100644 --- a/metadata/modules/e_volutionBidAdapter.json +++ b/metadata/modules/e_volutionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://e-volution.ai/file.json": { - "timestamp": "2026-01-15T16:37:28.380Z", + "timestamp": "2026-01-21T15:16:42.646Z", "disclosures": [] } }, diff --git a/metadata/modules/edge226BidAdapter.json b/metadata/modules/edge226BidAdapter.json index 60092247096..2d80d88cb30 100644 --- a/metadata/modules/edge226BidAdapter.json +++ b/metadata/modules/edge226BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.serveteck.com/cdn_storage/tcf/tcf.json?a=1.io": { - "timestamp": "2026-01-15T16:37:28.706Z", + "timestamp": "2026-01-21T15:16:43.012Z", "disclosures": [] } }, diff --git a/metadata/modules/empowerBidAdapter.json b/metadata/modules/empowerBidAdapter.json index 7e5a855b078..7896d5f362a 100644 --- a/metadata/modules/empowerBidAdapter.json +++ b/metadata/modules/empowerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.empower.net/vendor/vendor.json": { - "timestamp": "2026-01-15T16:37:28.720Z", + "timestamp": "2026-01-21T15:16:43.070Z", "disclosures": [] } }, diff --git a/metadata/modules/equativBidAdapter.json b/metadata/modules/equativBidAdapter.json index 4d8ad974ec3..9a871ee8f33 100644 --- a/metadata/modules/equativBidAdapter.json +++ b/metadata/modules/equativBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2026-01-15T16:37:28.760Z", + "timestamp": "2026-01-21T15:16:43.095Z", "disclosures": [] } }, diff --git a/metadata/modules/eskimiBidAdapter.json b/metadata/modules/eskimiBidAdapter.json index d520ec21d6a..d72275c721a 100644 --- a/metadata/modules/eskimiBidAdapter.json +++ b/metadata/modules/eskimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://dsp-media.eskimi.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:28.839Z", + "timestamp": "2026-01-21T15:16:43.802Z", "disclosures": [] } }, diff --git a/metadata/modules/etargetBidAdapter.json b/metadata/modules/etargetBidAdapter.json index ccd6df2c4e6..f6db2e107f5 100644 --- a/metadata/modules/etargetBidAdapter.json +++ b/metadata/modules/etargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.etarget.sk/cookies3.json": { - "timestamp": "2026-01-15T16:37:28.864Z", + "timestamp": "2026-01-21T15:16:43.820Z", "disclosures": [] } }, diff --git a/metadata/modules/euidIdSystem.json b/metadata/modules/euidIdSystem.json index 4940af0fea3..f77752e6aca 100644 --- a/metadata/modules/euidIdSystem.json +++ b/metadata/modules/euidIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-15T16:37:29.395Z", + "timestamp": "2026-01-21T15:16:44.520Z", "disclosures": [] } }, diff --git a/metadata/modules/exadsBidAdapter.json b/metadata/modules/exadsBidAdapter.json index 2dc16c3c173..4330e255da3 100644 --- a/metadata/modules/exadsBidAdapter.json +++ b/metadata/modules/exadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.native7.com/tcf/deviceStorage.php": { - "timestamp": "2026-01-15T16:37:29.597Z", + "timestamp": "2026-01-21T15:16:44.725Z", "disclosures": [ { "identifier": "pn-zone-*", diff --git a/metadata/modules/feedadBidAdapter.json b/metadata/modules/feedadBidAdapter.json index 336bce9c92a..611343dbeb1 100644 --- a/metadata/modules/feedadBidAdapter.json +++ b/metadata/modules/feedadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.feedad.com/tcf-device-disclosures.json": { - "timestamp": "2026-01-15T16:37:29.770Z", + "timestamp": "2026-01-21T15:16:44.906Z", "disclosures": [ { "identifier": "__fad_data", diff --git a/metadata/modules/fwsspBidAdapter.json b/metadata/modules/fwsspBidAdapter.json index adc6898cfd2..35b267448e0 100644 --- a/metadata/modules/fwsspBidAdapter.json +++ b/metadata/modules/fwsspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.fwmrm.net/g/devicedisclosure.json": { - "timestamp": "2026-01-15T16:37:29.972Z", + "timestamp": "2026-01-21T15:16:45.058Z", "disclosures": [] } }, diff --git a/metadata/modules/gamoshiBidAdapter.json b/metadata/modules/gamoshiBidAdapter.json index 1840831491b..f7d9244f89e 100644 --- a/metadata/modules/gamoshiBidAdapter.json +++ b/metadata/modules/gamoshiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gamoshi.com/disclosures-client-storage.json": { - "timestamp": "2026-01-15T16:37:30.056Z", + "timestamp": "2026-01-21T15:16:45.714Z", "disclosures": [] } }, diff --git a/metadata/modules/gemiusIdSystem.json b/metadata/modules/gemiusIdSystem.json index 41725086443..b8267d82a05 100644 --- a/metadata/modules/gemiusIdSystem.json +++ b/metadata/modules/gemiusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2026-01-15T16:37:30.137Z", + "timestamp": "2026-01-21T15:16:45.823Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/glomexBidAdapter.json b/metadata/modules/glomexBidAdapter.json index 12f4f3af4c1..12a4723bea3 100644 --- a/metadata/modules/glomexBidAdapter.json +++ b/metadata/modules/glomexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:30.590Z", + "timestamp": "2026-01-21T15:16:46.373Z", "disclosures": [ { "identifier": "glomexUser", diff --git a/metadata/modules/goldbachBidAdapter.json b/metadata/modules/goldbachBidAdapter.json index 017d03eab2f..170fcc59d4a 100644 --- a/metadata/modules/goldbachBidAdapter.json +++ b/metadata/modules/goldbachBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gb-next.ch/TcfGoldbachDeviceStorage.json": { - "timestamp": "2026-01-15T16:37:30.612Z", + "timestamp": "2026-01-21T15:16:46.393Z", "disclosures": [ { "identifier": "dakt_2_session_id", diff --git a/metadata/modules/gridBidAdapter.json b/metadata/modules/gridBidAdapter.json index 16a1fb5eba9..5ada86e2d1a 100644 --- a/metadata/modules/gridBidAdapter.json +++ b/metadata/modules/gridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.themediagrid.com/devicestorage.json": { - "timestamp": "2026-01-15T16:37:30.631Z", + "timestamp": "2026-01-21T15:16:46.414Z", "disclosures": [] } }, diff --git a/metadata/modules/gumgumBidAdapter.json b/metadata/modules/gumgumBidAdapter.json index 401128e8ec4..7d4c95280f3 100644 --- a/metadata/modules/gumgumBidAdapter.json +++ b/metadata/modules/gumgumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://marketing.gumgum.com/devicestoragedisclosures.json": { - "timestamp": "2026-01-15T16:37:30.777Z", + "timestamp": "2026-01-21T15:16:46.595Z", "disclosures": [] } }, diff --git a/metadata/modules/hadronIdSystem.json b/metadata/modules/hadronIdSystem.json index 5be05f97ac5..382e7a5b692 100644 --- a/metadata/modules/hadronIdSystem.json +++ b/metadata/modules/hadronIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2026-01-15T16:37:30.846Z", + "timestamp": "2026-01-21T15:16:46.652Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/hadronRtdProvider.json b/metadata/modules/hadronRtdProvider.json index cf519af2d4b..4092a2025aa 100644 --- a/metadata/modules/hadronRtdProvider.json +++ b/metadata/modules/hadronRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2026-01-15T16:37:31.022Z", + "timestamp": "2026-01-21T15:16:46.764Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/holidBidAdapter.json b/metadata/modules/holidBidAdapter.json index cd7d445a7b5..32c0d348000 100644 --- a/metadata/modules/holidBidAdapter.json +++ b/metadata/modules/holidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ads.holid.io/devicestorage.json": { - "timestamp": "2026-01-15T16:37:31.022Z", + "timestamp": "2026-01-21T15:16:46.764Z", "disclosures": [ { "identifier": "uids", diff --git a/metadata/modules/hybridBidAdapter.json b/metadata/modules/hybridBidAdapter.json index 6e4431fea64..71e979382ca 100644 --- a/metadata/modules/hybridBidAdapter.json +++ b/metadata/modules/hybridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:31.310Z", + "timestamp": "2026-01-21T15:16:47.041Z", "disclosures": [] } }, diff --git a/metadata/modules/id5IdSystem.json b/metadata/modules/id5IdSystem.json index 2f26fea8f78..d672e3d95e8 100644 --- a/metadata/modules/id5IdSystem.json +++ b/metadata/modules/id5IdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://id5-sync.com/tcf/disclosures.json": { - "timestamp": "2026-01-15T16:37:31.527Z", + "timestamp": "2026-01-21T15:16:47.254Z", "disclosures": [] } }, diff --git a/metadata/modules/identityLinkIdSystem.json b/metadata/modules/identityLinkIdSystem.json index 72ec6d90f38..d745841ac6e 100644 --- a/metadata/modules/identityLinkIdSystem.json +++ b/metadata/modules/identityLinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.ats.rlcdn.com/device-storage-disclosure.json": { - "timestamp": "2026-01-15T16:37:31.841Z", + "timestamp": "2026-01-21T15:16:47.533Z", "disclosures": [ { "identifier": "_lr_retry_request", diff --git a/metadata/modules/illuminBidAdapter.json b/metadata/modules/illuminBidAdapter.json index 22e2cb0cd27..c219534cb5d 100644 --- a/metadata/modules/illuminBidAdapter.json +++ b/metadata/modules/illuminBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admanmedia.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:31.859Z", + "timestamp": "2026-01-21T15:16:47.554Z", "disclosures": [] } }, diff --git a/metadata/modules/impactifyBidAdapter.json b/metadata/modules/impactifyBidAdapter.json index ae26f59c0fe..f56e8b665b9 100644 --- a/metadata/modules/impactifyBidAdapter.json +++ b/metadata/modules/impactifyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.impactify.io/tcfvendors.json": { - "timestamp": "2026-01-15T16:37:32.142Z", + "timestamp": "2026-01-21T15:16:47.845Z", "disclosures": [ { "identifier": "_im*", diff --git a/metadata/modules/improvedigitalBidAdapter.json b/metadata/modules/improvedigitalBidAdapter.json index 4a70169e53e..2f35776ec38 100644 --- a/metadata/modules/improvedigitalBidAdapter.json +++ b/metadata/modules/improvedigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2026-01-15T16:37:32.482Z", + "timestamp": "2026-01-21T15:16:48.129Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/inmobiBidAdapter.json b/metadata/modules/inmobiBidAdapter.json index ecc19209245..e3a538055dc 100644 --- a/metadata/modules/inmobiBidAdapter.json +++ b/metadata/modules/inmobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publisher.inmobi.com/public/disclosure": { - "timestamp": "2026-01-15T16:37:32.482Z", + "timestamp": "2026-01-21T15:16:48.130Z", "disclosures": [] } }, diff --git a/metadata/modules/insticatorBidAdapter.json b/metadata/modules/insticatorBidAdapter.json index b916aed5900..a0c29a3b05e 100644 --- a/metadata/modules/insticatorBidAdapter.json +++ b/metadata/modules/insticatorBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.insticator.com/iab/device-storage-disclosure.json": { - "timestamp": "2026-01-15T16:37:32.560Z", + "timestamp": "2026-01-21T15:16:48.208Z", "disclosures": [ { "identifier": "visitorGeo", diff --git a/metadata/modules/intentIqIdSystem.json b/metadata/modules/intentIqIdSystem.json index 939508257b8..76d0db7687c 100644 --- a/metadata/modules/intentIqIdSystem.json +++ b/metadata/modules/intentIqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://agent.intentiq.com/GDPR/gdpr.json": { - "timestamp": "2026-01-15T16:37:32.588Z", + "timestamp": "2026-01-21T15:16:48.367Z", "disclosures": [] } }, diff --git a/metadata/modules/invibesBidAdapter.json b/metadata/modules/invibesBidAdapter.json index 1f5d4e4fa3e..802498d5930 100644 --- a/metadata/modules/invibesBidAdapter.json +++ b/metadata/modules/invibesBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.invibes.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:32.647Z", + "timestamp": "2026-01-21T15:16:48.425Z", "disclosures": [ { "identifier": "ivvcap", diff --git a/metadata/modules/ipromBidAdapter.json b/metadata/modules/ipromBidAdapter.json index 87571cc0bd1..a9767514ee7 100644 --- a/metadata/modules/ipromBidAdapter.json +++ b/metadata/modules/ipromBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://core.iprom.net/info/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:33.007Z", + "timestamp": "2026-01-21T15:16:48.800Z", "disclosures": [] } }, diff --git a/metadata/modules/ixBidAdapter.json b/metadata/modules/ixBidAdapter.json index 819efd5f012..52b765cb72c 100644 --- a/metadata/modules/ixBidAdapter.json +++ b/metadata/modules/ixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.indexexchange.com/device_storage_disclosure.json": { - "timestamp": "2026-01-15T16:37:33.453Z", + "timestamp": "2026-01-21T15:16:49.270Z", "disclosures": [ { "identifier": "ix_features", diff --git a/metadata/modules/justIdSystem.json b/metadata/modules/justIdSystem.json index d5da7be5c2a..89d68f3ea81 100644 --- a/metadata/modules/justIdSystem.json +++ b/metadata/modules/justIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audience-solutions.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:33.505Z", + "timestamp": "2026-01-21T15:16:49.303Z", "disclosures": [ { "identifier": "__jtuid", diff --git a/metadata/modules/justpremiumBidAdapter.json b/metadata/modules/justpremiumBidAdapter.json index dcadb4c351b..6115b2cf5b8 100644 --- a/metadata/modules/justpremiumBidAdapter.json +++ b/metadata/modules/justpremiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.justpremium.com/devicestoragedisclosures.json": { - "timestamp": "2026-01-15T16:37:34.004Z", + "timestamp": "2026-01-21T15:16:49.828Z", "disclosures": [] } }, diff --git a/metadata/modules/jwplayerBidAdapter.json b/metadata/modules/jwplayerBidAdapter.json index 805c198ba02..bea808a6708 100644 --- a/metadata/modules/jwplayerBidAdapter.json +++ b/metadata/modules/jwplayerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.jwplayer.com/devicestorage.json": { - "timestamp": "2026-01-15T16:37:34.050Z", + "timestamp": "2026-01-21T15:16:49.848Z", "disclosures": [] } }, diff --git a/metadata/modules/kargoBidAdapter.json b/metadata/modules/kargoBidAdapter.json index 1fdc5fba8a0..3251e4603d6 100644 --- a/metadata/modules/kargoBidAdapter.json +++ b/metadata/modules/kargoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://storage.cloud.kargo.com/device_storage_disclosure.json": { - "timestamp": "2026-01-15T16:37:34.212Z", + "timestamp": "2026-01-21T15:16:50.140Z", "disclosures": [ { "identifier": "krg_crb", diff --git a/metadata/modules/kueezRtbBidAdapter.json b/metadata/modules/kueezRtbBidAdapter.json index 2152cc568c4..64f287d76f5 100644 --- a/metadata/modules/kueezRtbBidAdapter.json +++ b/metadata/modules/kueezRtbBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.kueez.com/tcf.json": { - "timestamp": "2026-01-15T16:37:34.231Z", + "timestamp": "2026-01-21T15:16:50.192Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/limelightDigitalBidAdapter.json b/metadata/modules/limelightDigitalBidAdapter.json index 3ff9690a4f1..f75b4f7757b 100644 --- a/metadata/modules/limelightDigitalBidAdapter.json +++ b/metadata/modules/limelightDigitalBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://policy.iion.io/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:34.324Z", + "timestamp": "2026-01-21T15:16:50.236Z", "disclosures": [] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2026-01-15T16:37:34.350Z", + "timestamp": "2026-01-21T15:16:50.390Z", "disclosures": [] } }, diff --git a/metadata/modules/liveIntentIdSystem.json b/metadata/modules/liveIntentIdSystem.json index 44c5014b55e..8b54b888d02 100644 --- a/metadata/modules/liveIntentIdSystem.json +++ b/metadata/modules/liveIntentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:34.351Z", + "timestamp": "2026-01-21T15:16:50.390Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/liveIntentRtdProvider.json b/metadata/modules/liveIntentRtdProvider.json index a09843ec6ea..1e5085a81df 100644 --- a/metadata/modules/liveIntentRtdProvider.json +++ b/metadata/modules/liveIntentRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:34.363Z", + "timestamp": "2026-01-21T15:16:50.532Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/livewrappedBidAdapter.json b/metadata/modules/livewrappedBidAdapter.json index b79c8ff6a99..6b5a309d7da 100644 --- a/metadata/modules/livewrappedBidAdapter.json +++ b/metadata/modules/livewrappedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://content.lwadm.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:34.363Z", + "timestamp": "2026-01-21T15:16:50.533Z", "disclosures": [ { "identifier": "uid", diff --git a/metadata/modules/loopmeBidAdapter.json b/metadata/modules/loopmeBidAdapter.json index 6c0ad174f78..61d4939283f 100644 --- a/metadata/modules/loopmeBidAdapter.json +++ b/metadata/modules/loopmeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://co.loopme.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:34.382Z", + "timestamp": "2026-01-21T15:16:50.558Z", "disclosures": [] } }, diff --git a/metadata/modules/lotamePanoramaIdSystem.json b/metadata/modules/lotamePanoramaIdSystem.json index 0582b693bb3..7ddaac4b4e8 100644 --- a/metadata/modules/lotamePanoramaIdSystem.json +++ b/metadata/modules/lotamePanoramaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tags.crwdcntrl.net/privacy/tcf-purposes.json": { - "timestamp": "2026-01-15T16:37:34.548Z", + "timestamp": "2026-01-21T15:16:50.626Z", "disclosures": [ { "identifier": "lotame_domain_check", diff --git a/metadata/modules/luponmediaBidAdapter.json b/metadata/modules/luponmediaBidAdapter.json index e8c92f62c8a..692bc08f9ed 100644 --- a/metadata/modules/luponmediaBidAdapter.json +++ b/metadata/modules/luponmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://luponmedia.com/vendor_device_storage.json": { - "timestamp": "2026-01-15T16:37:34.564Z", + "timestamp": "2026-01-21T15:16:50.642Z", "disclosures": [] } }, diff --git a/metadata/modules/madvertiseBidAdapter.json b/metadata/modules/madvertiseBidAdapter.json index ea6dfa2a956..93d00207b7f 100644 --- a/metadata/modules/madvertiseBidAdapter.json +++ b/metadata/modules/madvertiseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.bluestack.app/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:34.979Z", + "timestamp": "2026-01-21T15:16:51.084Z", "disclosures": [] } }, diff --git a/metadata/modules/marsmediaBidAdapter.json b/metadata/modules/marsmediaBidAdapter.json index e0274e10bd1..0fada8419a6 100644 --- a/metadata/modules/marsmediaBidAdapter.json +++ b/metadata/modules/marsmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mars.media/apis/tcf-v2.json": { - "timestamp": "2026-01-15T16:37:35.326Z", + "timestamp": "2026-01-21T15:16:51.439Z", "disclosures": [] } }, diff --git a/metadata/modules/mediaConsortiumBidAdapter.json b/metadata/modules/mediaConsortiumBidAdapter.json index 1fc1ae2ea50..c7e5eaf0103 100644 --- a/metadata/modules/mediaConsortiumBidAdapter.json +++ b/metadata/modules/mediaConsortiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.hubvisor.io/assets/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:35.430Z", + "timestamp": "2026-01-21T15:16:51.547Z", "disclosures": [ { "identifier": "hbv:turbo-cmp", diff --git a/metadata/modules/mediaforceBidAdapter.json b/metadata/modules/mediaforceBidAdapter.json index ebb8d723bb9..3246a3f6fc2 100644 --- a/metadata/modules/mediaforceBidAdapter.json +++ b/metadata/modules/mediaforceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://comparisons.org/privacy.json": { - "timestamp": "2026-01-15T16:37:35.443Z", + "timestamp": "2026-01-21T15:16:51.676Z", "disclosures": [] } }, diff --git a/metadata/modules/mediafuseBidAdapter.json b/metadata/modules/mediafuseBidAdapter.json index 25195acc2e7..de1ccf74863 100644 --- a/metadata/modules/mediafuseBidAdapter.json +++ b/metadata/modules/mediafuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-01-15T16:37:35.466Z", + "timestamp": "2026-01-21T15:16:51.693Z", "disclosures": [] } }, diff --git a/metadata/modules/mediagoBidAdapter.json b/metadata/modules/mediagoBidAdapter.json index 9cb27cd78c3..63a87575cfb 100644 --- a/metadata/modules/mediagoBidAdapter.json +++ b/metadata/modules/mediagoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.mediago.io/js/tcf.json": { - "timestamp": "2026-01-15T16:37:35.466Z", + "timestamp": "2026-01-21T15:16:51.693Z", "disclosures": [] } }, diff --git a/metadata/modules/mediakeysBidAdapter.json b/metadata/modules/mediakeysBidAdapter.json index 794d657bd64..232b085d059 100644 --- a/metadata/modules/mediakeysBidAdapter.json +++ b/metadata/modules/mediakeysBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.eu-west-3.amazonaws.com/adserving.resourcekeys.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:35.488Z", + "timestamp": "2026-01-21T15:16:51.810Z", "disclosures": [] } }, diff --git a/metadata/modules/medianetBidAdapter.json b/metadata/modules/medianetBidAdapter.json index 0ff5cbb42c6..e6ad2a0a506 100644 --- a/metadata/modules/medianetBidAdapter.json +++ b/metadata/modules/medianetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.media.net/tcfv2/gvl/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:35.768Z", + "timestamp": "2026-01-21T15:16:52.094Z", "disclosures": [ { "identifier": "_mNExInsl", @@ -246,7 +246,7 @@ ] }, "https://trustedstack.com/tcf/gvl/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:35.937Z", + "timestamp": "2026-01-21T15:16:52.205Z", "disclosures": [ { "identifier": "usp_status", diff --git a/metadata/modules/mediasquareBidAdapter.json b/metadata/modules/mediasquareBidAdapter.json index 6966b722014..af36fd36c88 100644 --- a/metadata/modules/mediasquareBidAdapter.json +++ b/metadata/modules/mediasquareBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediasquare.fr/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:36.063Z", + "timestamp": "2026-01-21T15:16:52.270Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidBidAdapter.json b/metadata/modules/mgidBidAdapter.json index a20123dcb4c..d7336894b00 100644 --- a/metadata/modules/mgidBidAdapter.json +++ b/metadata/modules/mgidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-01-15T16:37:36.664Z", + "timestamp": "2026-01-21T15:16:52.804Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidRtdProvider.json b/metadata/modules/mgidRtdProvider.json index 0e646d04b78..783780e0c0f 100644 --- a/metadata/modules/mgidRtdProvider.json +++ b/metadata/modules/mgidRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-01-15T16:37:36.702Z", + "timestamp": "2026-01-21T15:16:52.890Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidXBidAdapter.json b/metadata/modules/mgidXBidAdapter.json index 5b116702798..28b909ab5ed 100644 --- a/metadata/modules/mgidXBidAdapter.json +++ b/metadata/modules/mgidXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-01-15T16:37:36.702Z", + "timestamp": "2026-01-21T15:16:52.890Z", "disclosures": [] } }, diff --git a/metadata/modules/minutemediaBidAdapter.json b/metadata/modules/minutemediaBidAdapter.json index 0eb9ee64c1b..52975bf0e9b 100644 --- a/metadata/modules/minutemediaBidAdapter.json +++ b/metadata/modules/minutemediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://disclosures.mmctsvc.com/device-storage.json": { - "timestamp": "2026-01-15T16:37:36.703Z", + "timestamp": "2026-01-21T15:16:52.891Z", "disclosures": [] } }, diff --git a/metadata/modules/missenaBidAdapter.json b/metadata/modules/missenaBidAdapter.json index 1252aff990a..50dbae57589 100644 --- a/metadata/modules/missenaBidAdapter.json +++ b/metadata/modules/missenaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.missena.io/iab.json": { - "timestamp": "2026-01-15T16:37:36.726Z", + "timestamp": "2026-01-21T15:16:52.910Z", "disclosures": [] } }, diff --git a/metadata/modules/mobianRtdProvider.json b/metadata/modules/mobianRtdProvider.json index a2fc13fb1e0..559a86ed33e 100644 --- a/metadata/modules/mobianRtdProvider.json +++ b/metadata/modules/mobianRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.outcomes.net/tcf.json": { - "timestamp": "2026-01-15T16:37:36.778Z", + "timestamp": "2026-01-21T15:16:52.961Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiBidAdapter.json b/metadata/modules/mobkoiBidAdapter.json index d5e26a184ac..b7c46364245 100644 --- a/metadata/modules/mobkoiBidAdapter.json +++ b/metadata/modules/mobkoiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:36.797Z", + "timestamp": "2026-01-21T15:16:52.980Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiIdSystem.json b/metadata/modules/mobkoiIdSystem.json index 2ae98dfd905..50b2b2c15d4 100644 --- a/metadata/modules/mobkoiIdSystem.json +++ b/metadata/modules/mobkoiIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:36.820Z", + "timestamp": "2026-01-21T15:16:53.000Z", "disclosures": [] } }, diff --git a/metadata/modules/msftBidAdapter.json b/metadata/modules/msftBidAdapter.json index ae4cab1562e..cebddea5825 100644 --- a/metadata/modules/msftBidAdapter.json +++ b/metadata/modules/msftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-01-15T16:37:36.821Z", + "timestamp": "2026-01-21T15:16:53.001Z", "disclosures": [] } }, diff --git a/metadata/modules/nativeryBidAdapter.json b/metadata/modules/nativeryBidAdapter.json index 7bfb26c39a3..f77162977c5 100644 --- a/metadata/modules/nativeryBidAdapter.json +++ b/metadata/modules/nativeryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnimg.nativery.com/widget/js/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:36.821Z", + "timestamp": "2026-01-21T15:16:53.001Z", "disclosures": [] } }, diff --git a/metadata/modules/nativoBidAdapter.json b/metadata/modules/nativoBidAdapter.json index a923f44873c..9f6f3ecc4ad 100644 --- a/metadata/modules/nativoBidAdapter.json +++ b/metadata/modules/nativoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.nativo.com/tcf-disclosures.json": { - "timestamp": "2026-01-15T16:37:37.150Z", + "timestamp": "2026-01-21T15:16:53.312Z", "disclosures": [] } }, diff --git a/metadata/modules/newspassidBidAdapter.json b/metadata/modules/newspassidBidAdapter.json index 597655a3adb..c4d372be80c 100644 --- a/metadata/modules/newspassidBidAdapter.json +++ b/metadata/modules/newspassidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2026-01-15T16:37:37.193Z", + "timestamp": "2026-01-21T15:16:53.353Z", "disclosures": [] } }, diff --git a/metadata/modules/nextMillenniumBidAdapter.json b/metadata/modules/nextMillenniumBidAdapter.json index c7cf8a19060..67ed02b3065 100644 --- a/metadata/modules/nextMillenniumBidAdapter.json +++ b/metadata/modules/nextMillenniumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://nextmillennium.io/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:37.194Z", + "timestamp": "2026-01-21T15:16:53.353Z", "disclosures": [] } }, diff --git a/metadata/modules/nextrollBidAdapter.json b/metadata/modules/nextrollBidAdapter.json index 58b70f38288..34f85259bd2 100644 --- a/metadata/modules/nextrollBidAdapter.json +++ b/metadata/modules/nextrollBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.adroll.com/shares/device_storage.json": { - "timestamp": "2026-01-15T16:37:37.234Z", + "timestamp": "2026-01-21T15:16:53.462Z", "disclosures": [ { "identifier": "__adroll_fpc", diff --git a/metadata/modules/nexx360BidAdapter.json b/metadata/modules/nexx360BidAdapter.json index ca5d45f6224..96a33e5532f 100644 --- a/metadata/modules/nexx360BidAdapter.json +++ b/metadata/modules/nexx360BidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:38.067Z", + "timestamp": "2026-01-21T15:16:54.527Z", "disclosures": [] }, "https://static.first-id.fr/tcf/cookie.json": { - "timestamp": "2026-01-15T16:37:37.502Z", + "timestamp": "2026-01-21T15:16:53.741Z", "disclosures": [] }, "https://i.plug.it/banners/js/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:37.537Z", + "timestamp": "2026-01-21T15:16:53.768Z", "disclosures": [] }, "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:37.670Z", + "timestamp": "2026-01-21T15:16:54.132Z", "disclosures": [ { "identifier": "glomexUser", @@ -46,7 +46,7 @@ ] }, "https://gdpr.pubx.ai/devicestoragedisclosure.json": { - "timestamp": "2026-01-15T16:37:37.670Z", + "timestamp": "2026-01-21T15:16:54.132Z", "disclosures": [ { "identifier": "pubx:defaults", @@ -61,7 +61,7 @@ ] }, "https://yieldbird.com/devicestorage.json": { - "timestamp": "2026-01-15T16:37:37.690Z", + "timestamp": "2026-01-21T15:16:54.171Z", "disclosures": [] } }, diff --git a/metadata/modules/nobidBidAdapter.json b/metadata/modules/nobidBidAdapter.json index b239da5bb93..e59b6a10941 100644 --- a/metadata/modules/nobidBidAdapter.json +++ b/metadata/modules/nobidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://public.servenobid.com/gdpr_tcf/vendor_device_storage_operational_disclosures.json": { - "timestamp": "2026-01-15T16:37:38.068Z", + "timestamp": "2026-01-21T15:16:54.528Z", "disclosures": [] } }, diff --git a/metadata/modules/nodalsAiRtdProvider.json b/metadata/modules/nodalsAiRtdProvider.json index deaed20650e..b62b673da96 100644 --- a/metadata/modules/nodalsAiRtdProvider.json +++ b/metadata/modules/nodalsAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.nodals.ai/vendor.json": { - "timestamp": "2026-01-15T16:37:38.080Z", + "timestamp": "2026-01-21T15:16:54.543Z", "disclosures": [ { "identifier": "localStorage", diff --git a/metadata/modules/novatiqIdSystem.json b/metadata/modules/novatiqIdSystem.json index 4c5a6d1875f..7f89bd60fcd 100644 --- a/metadata/modules/novatiqIdSystem.json +++ b/metadata/modules/novatiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://novatiq.com/privacy/iab/novatiq.json": { - "timestamp": "2026-01-15T16:37:39.860Z", + "timestamp": "2026-01-21T15:16:56.488Z", "disclosures": [ { "identifier": "novatiq", diff --git a/metadata/modules/oguryBidAdapter.json b/metadata/modules/oguryBidAdapter.json index 540937d4b66..e42e2f0be32 100644 --- a/metadata/modules/oguryBidAdapter.json +++ b/metadata/modules/oguryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.ogury.co/disclosure.json": { - "timestamp": "2026-01-15T16:37:40.186Z", + "timestamp": "2026-01-21T15:16:56.828Z", "disclosures": [] } }, diff --git a/metadata/modules/omnidexBidAdapter.json b/metadata/modules/omnidexBidAdapter.json index d445aca9249..df49e06a8f8 100644 --- a/metadata/modules/omnidexBidAdapter.json +++ b/metadata/modules/omnidexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.omni-dex.io/devicestorage.json": { - "timestamp": "2026-01-15T16:37:40.254Z", + "timestamp": "2026-01-21T15:16:56.874Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/omsBidAdapter.json b/metadata/modules/omsBidAdapter.json index 10ec0a22ddc..ad4398c4181 100644 --- a/metadata/modules/omsBidAdapter.json +++ b/metadata/modules/omsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-01-15T16:37:40.311Z", + "timestamp": "2026-01-21T15:16:56.932Z", "disclosures": [] } }, diff --git a/metadata/modules/onetagBidAdapter.json b/metadata/modules/onetagBidAdapter.json index c2ea0a6753b..9bde7edca00 100644 --- a/metadata/modules/onetagBidAdapter.json +++ b/metadata/modules/onetagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://onetag-cdn.com/privacy/tcf_storage.json": { - "timestamp": "2026-01-15T16:37:40.312Z", + "timestamp": "2026-01-21T15:16:56.933Z", "disclosures": [ { "identifier": "onetag_sid", diff --git a/metadata/modules/openwebBidAdapter.json b/metadata/modules/openwebBidAdapter.json index 9e0ee96cbc7..abb241f2a18 100644 --- a/metadata/modules/openwebBidAdapter.json +++ b/metadata/modules/openwebBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2026-01-15T16:37:40.635Z", + "timestamp": "2026-01-21T15:16:57.299Z", "disclosures": [] } }, diff --git a/metadata/modules/openxBidAdapter.json b/metadata/modules/openxBidAdapter.json index 429188497e6..b36bfd7310a 100644 --- a/metadata/modules/openxBidAdapter.json +++ b/metadata/modules/openxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.openx.com/device-storage.json": { - "timestamp": "2026-01-15T16:37:40.673Z", + "timestamp": "2026-01-21T15:16:57.350Z", "disclosures": [] } }, diff --git a/metadata/modules/operaadsBidAdapter.json b/metadata/modules/operaadsBidAdapter.json index 9ac3b618f22..8c918c7098e 100644 --- a/metadata/modules/operaadsBidAdapter.json +++ b/metadata/modules/operaadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://res.adx.opera.com/dsd.json": { - "timestamp": "2026-01-15T16:37:40.701Z", + "timestamp": "2026-01-21T15:16:57.428Z", "disclosures": [] } }, diff --git a/metadata/modules/optidigitalBidAdapter.json b/metadata/modules/optidigitalBidAdapter.json index 9b008afc432..0375f29d97d 100644 --- a/metadata/modules/optidigitalBidAdapter.json +++ b/metadata/modules/optidigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://scripts.opti-digital.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:40.811Z", + "timestamp": "2026-01-21T15:16:57.592Z", "disclosures": [] } }, diff --git a/metadata/modules/optoutBidAdapter.json b/metadata/modules/optoutBidAdapter.json index ce2ca2bf6ca..b54cf7e781f 100644 --- a/metadata/modules/optoutBidAdapter.json +++ b/metadata/modules/optoutBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserving.optoutadvertising.com/dsd": { - "timestamp": "2026-01-15T16:37:40.875Z", + "timestamp": "2026-01-21T15:16:57.630Z", "disclosures": [] } }, diff --git a/metadata/modules/orbidderBidAdapter.json b/metadata/modules/orbidderBidAdapter.json index eedd4242b17..44010d8a596 100644 --- a/metadata/modules/orbidderBidAdapter.json +++ b/metadata/modules/orbidderBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://orbidder.otto.de/disclosure/dsd.json": { - "timestamp": "2026-01-15T16:37:41.133Z", + "timestamp": "2026-01-21T15:16:57.892Z", "disclosures": [] } }, diff --git a/metadata/modules/outbrainBidAdapter.json b/metadata/modules/outbrainBidAdapter.json index 3492a09df2e..a9af8e17e3d 100644 --- a/metadata/modules/outbrainBidAdapter.json +++ b/metadata/modules/outbrainBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.outbrain.com/privacy/wp-json/privacy/v2/devicestorage.json": { - "timestamp": "2026-01-15T16:37:41.441Z", + "timestamp": "2026-01-21T15:16:58.199Z", "disclosures": [ { "identifier": "dicbo_id", diff --git a/metadata/modules/ozoneBidAdapter.json b/metadata/modules/ozoneBidAdapter.json index 392d823eab5..bf1fc0e1552 100644 --- a/metadata/modules/ozoneBidAdapter.json +++ b/metadata/modules/ozoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://prebid.the-ozone-project.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:41.554Z", + "timestamp": "2026-01-21T15:16:58.400Z", "disclosures": [] } }, diff --git a/metadata/modules/pairIdSystem.json b/metadata/modules/pairIdSystem.json index 2b37fcb7b00..31cbc6f678a 100644 --- a/metadata/modules/pairIdSystem.json +++ b/metadata/modules/pairIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gstatic.com/iabtcf/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:41.738Z", + "timestamp": "2026-01-21T15:16:58.545Z", "disclosures": [ { "identifier": "__gads", @@ -224,7 +224,7 @@ "cookieRefresh": false }, { - "identifier": "_gcl_ag", + "identifier": "_gcl_gs", "type": "cookie", "maxAgeSeconds": 7776000, "purposes": [ @@ -239,7 +239,7 @@ "cookieRefresh": false }, { - "identifier": "_gcl_gs", + "identifier": "_gcl_ag", "type": "cookie", "maxAgeSeconds": 7776000, "purposes": [ @@ -297,6 +297,21 @@ 10 ], "cookieRefresh": false + }, + { + "identifier": "FPGCLGS", + "type": "cookie", + "maxAgeSeconds": 7776000, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ], + "cookieRefresh": false } ] } diff --git a/metadata/modules/performaxBidAdapter.json b/metadata/modules/performaxBidAdapter.json index 3bb6bec21e2..f157ca8cce0 100644 --- a/metadata/modules/performaxBidAdapter.json +++ b/metadata/modules/performaxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.performax.cz/device_storage.json": { - "timestamp": "2026-01-15T16:37:41.770Z", + "timestamp": "2026-01-21T15:16:58.578Z", "disclosures": [ { "identifier": "px2uid", diff --git a/metadata/modules/permutiveIdentityManagerIdSystem.json b/metadata/modules/permutiveIdentityManagerIdSystem.json index 24aa3516648..b86661062c3 100644 --- a/metadata/modules/permutiveIdentityManagerIdSystem.json +++ b/metadata/modules/permutiveIdentityManagerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2026-01-15T16:37:42.260Z", + "timestamp": "2026-01-21T15:16:58.990Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/permutiveRtdProvider.json b/metadata/modules/permutiveRtdProvider.json index 7f1f84962cc..2333450a805 100644 --- a/metadata/modules/permutiveRtdProvider.json +++ b/metadata/modules/permutiveRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2026-01-15T16:37:42.449Z", + "timestamp": "2026-01-21T15:16:59.185Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/pixfutureBidAdapter.json b/metadata/modules/pixfutureBidAdapter.json index b0bd85f10a5..c88eda96775 100644 --- a/metadata/modules/pixfutureBidAdapter.json +++ b/metadata/modules/pixfutureBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.pixfuture.com/vendor-disclosures.json": { - "timestamp": "2026-01-15T16:37:42.450Z", + "timestamp": "2026-01-21T15:16:59.186Z", "disclosures": [] } }, diff --git a/metadata/modules/playdigoBidAdapter.json b/metadata/modules/playdigoBidAdapter.json index 7c895b7afe8..ae46cc67ea4 100644 --- a/metadata/modules/playdigoBidAdapter.json +++ b/metadata/modules/playdigoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://playdigo.com/file.json": { - "timestamp": "2026-01-15T16:37:42.521Z", + "timestamp": "2026-01-21T15:16:59.235Z", "disclosures": [] } }, diff --git a/metadata/modules/prebid-core.json b/metadata/modules/prebid-core.json index baf381e37d2..458f4ba682c 100644 --- a/metadata/modules/prebid-core.json +++ b/metadata/modules/prebid-core.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json": { - "timestamp": "2026-01-15T16:36:37.462Z", + "timestamp": "2026-01-21T15:16:22.809Z", "disclosures": [ { "identifier": "_rdc*", @@ -23,7 +23,7 @@ ] }, "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2026-01-15T16:36:37.464Z", + "timestamp": "2026-01-21T15:16:22.811Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/precisoBidAdapter.json b/metadata/modules/precisoBidAdapter.json index f10656d416e..7b260064f90 100644 --- a/metadata/modules/precisoBidAdapter.json +++ b/metadata/modules/precisoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://preciso.net/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:42.702Z", + "timestamp": "2026-01-21T15:16:59.410Z", "disclosures": [ { "identifier": "XXXXX_viewnew", diff --git a/metadata/modules/prismaBidAdapter.json b/metadata/modules/prismaBidAdapter.json index 16b2425e2b1..d7c0d89c2c1 100644 --- a/metadata/modules/prismaBidAdapter.json +++ b/metadata/modules/prismaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:42.737Z", + "timestamp": "2026-01-21T15:16:59.471Z", "disclosures": [] } }, diff --git a/metadata/modules/programmaticXBidAdapter.json b/metadata/modules/programmaticXBidAdapter.json index 134da3c579e..a95bd4f0716 100644 --- a/metadata/modules/programmaticXBidAdapter.json +++ b/metadata/modules/programmaticXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://progrtb.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-01-15T16:37:42.737Z", + "timestamp": "2026-01-21T15:16:59.472Z", "disclosures": [] } }, diff --git a/metadata/modules/proxistoreBidAdapter.json b/metadata/modules/proxistoreBidAdapter.json index 360ddff4c0b..ae2a16d3c3d 100644 --- a/metadata/modules/proxistoreBidAdapter.json +++ b/metadata/modules/proxistoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://abs.proxistore.com/assets/json/proxistore_device_storage_disclosure.json": { - "timestamp": "2026-01-15T16:37:42.815Z", + "timestamp": "2026-01-21T15:16:59.524Z", "disclosures": [] } }, diff --git a/metadata/modules/publinkIdSystem.json b/metadata/modules/publinkIdSystem.json index 8defad27662..8fb9399e55c 100644 --- a/metadata/modules/publinkIdSystem.json +++ b/metadata/modules/publinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.9/device_storage_disclosure.json": { - "timestamp": "2026-01-15T16:37:43.276Z", + "timestamp": "2026-01-21T15:16:59.902Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/pubmaticBidAdapter.json b/metadata/modules/pubmaticBidAdapter.json index 34d5432788b..f3aa36d69e5 100644 --- a/metadata/modules/pubmaticBidAdapter.json +++ b/metadata/modules/pubmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2026-01-15T16:37:43.277Z", + "timestamp": "2026-01-21T15:16:59.903Z", "disclosures": [] } }, diff --git a/metadata/modules/pubmaticIdSystem.json b/metadata/modules/pubmaticIdSystem.json index f5dcca4eaec..ff3fbd66324 100644 --- a/metadata/modules/pubmaticIdSystem.json +++ b/metadata/modules/pubmaticIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2026-01-15T16:37:43.305Z", + "timestamp": "2026-01-21T15:16:59.918Z", "disclosures": [] } }, diff --git a/metadata/modules/pulsepointBidAdapter.json b/metadata/modules/pulsepointBidAdapter.json index 491cbd138b9..7bccc16f3ce 100644 --- a/metadata/modules/pulsepointBidAdapter.json +++ b/metadata/modules/pulsepointBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bh.contextweb.com/tcf/vendorInfo.json": { - "timestamp": "2026-01-15T16:37:43.308Z", + "timestamp": "2026-01-21T15:16:59.919Z", "disclosures": [] } }, diff --git a/metadata/modules/quantcastBidAdapter.json b/metadata/modules/quantcastBidAdapter.json index 26e032e06b1..605822743f3 100644 --- a/metadata/modules/quantcastBidAdapter.json +++ b/metadata/modules/quantcastBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2026-01-15T16:37:43.326Z", + "timestamp": "2026-01-21T15:16:59.937Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/quantcastIdSystem.json b/metadata/modules/quantcastIdSystem.json index 51e190c21fc..888e03b2fcb 100644 --- a/metadata/modules/quantcastIdSystem.json +++ b/metadata/modules/quantcastIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2026-01-15T16:37:43.510Z", + "timestamp": "2026-01-21T15:17:00.116Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/r2b2BidAdapter.json b/metadata/modules/r2b2BidAdapter.json index 53bb5eef4b3..62b7af885f4 100644 --- a/metadata/modules/r2b2BidAdapter.json +++ b/metadata/modules/r2b2BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.r2b2.io/cookie_disclosure": { - "timestamp": "2026-01-15T16:37:43.511Z", + "timestamp": "2026-01-21T15:17:00.117Z", "disclosures": [ { "identifier": "AdTrack-hide-*", diff --git a/metadata/modules/readpeakBidAdapter.json b/metadata/modules/readpeakBidAdapter.json index 4e352b5b4a2..405dfdb16fb 100644 --- a/metadata/modules/readpeakBidAdapter.json +++ b/metadata/modules/readpeakBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.readpeak.com/tcf/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:43.857Z", + "timestamp": "2026-01-21T15:17:00.570Z", "disclosures": [ { "identifier": "rp_uidfp", diff --git a/metadata/modules/relayBidAdapter.json b/metadata/modules/relayBidAdapter.json index 28e495dfacf..4bd86b056b8 100644 --- a/metadata/modules/relayBidAdapter.json +++ b/metadata/modules/relayBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://relay42.com/hubfs/raw_assets/public/IAB.json": { - "timestamp": "2026-01-15T16:37:43.882Z", + "timestamp": "2026-01-21T15:17:00.595Z", "disclosures": [] } }, diff --git a/metadata/modules/relevantdigitalBidAdapter.json b/metadata/modules/relevantdigitalBidAdapter.json index ec0c3661306..ba667884940 100644 --- a/metadata/modules/relevantdigitalBidAdapter.json +++ b/metadata/modules/relevantdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.relevant-digital.com/resources/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:43.957Z", + "timestamp": "2026-01-21T15:17:00.656Z", "disclosures": [] } }, diff --git a/metadata/modules/resetdigitalBidAdapter.json b/metadata/modules/resetdigitalBidAdapter.json index 7120af32094..1cb0456e43c 100644 --- a/metadata/modules/resetdigitalBidAdapter.json +++ b/metadata/modules/resetdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resetdigital.co/GDPR-TCF.json": { - "timestamp": "2026-01-15T16:37:44.236Z", + "timestamp": "2026-01-21T15:17:00.945Z", "disclosures": [] } }, diff --git a/metadata/modules/responsiveAdsBidAdapter.json b/metadata/modules/responsiveAdsBidAdapter.json index fc6c8ed28e2..14820adf1f9 100644 --- a/metadata/modules/responsiveAdsBidAdapter.json +++ b/metadata/modules/responsiveAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publish.responsiveads.com/tcf/tcf-v2.json": { - "timestamp": "2026-01-15T16:37:44.276Z", + "timestamp": "2026-01-21T15:17:00.984Z", "disclosures": [] } }, diff --git a/metadata/modules/revcontentBidAdapter.json b/metadata/modules/revcontentBidAdapter.json index c2733730712..6c84249b171 100644 --- a/metadata/modules/revcontentBidAdapter.json +++ b/metadata/modules/revcontentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sothebys.revcontent.com/static/device_storage.json": { - "timestamp": "2026-01-15T16:37:44.307Z", + "timestamp": "2026-01-21T15:17:01.026Z", "disclosures": [ { "identifier": "__ID", diff --git a/metadata/modules/revnewBidAdapter.json b/metadata/modules/revnewBidAdapter.json index 7e4cc7a0a9c..695223069a3 100644 --- a/metadata/modules/revnewBidAdapter.json +++ b/metadata/modules/revnewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediafuse.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:44.324Z", + "timestamp": "2026-01-21T15:17:01.059Z", "disclosures": [] } }, diff --git a/metadata/modules/rhythmoneBidAdapter.json b/metadata/modules/rhythmoneBidAdapter.json index bbba31a6732..9728a7aa7e8 100644 --- a/metadata/modules/rhythmoneBidAdapter.json +++ b/metadata/modules/rhythmoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:44.423Z", + "timestamp": "2026-01-21T15:17:01.128Z", "disclosures": [] } }, diff --git a/metadata/modules/richaudienceBidAdapter.json b/metadata/modules/richaudienceBidAdapter.json index 1e00a036717..208ef2a7425 100644 --- a/metadata/modules/richaudienceBidAdapter.json +++ b/metadata/modules/richaudienceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnj.richaudience.com/52a26ab9400b2a9f5aabfa20acf3196g.json": { - "timestamp": "2026-01-15T16:37:44.674Z", + "timestamp": "2026-01-21T15:17:01.496Z", "disclosures": [] } }, diff --git a/metadata/modules/riseBidAdapter.json b/metadata/modules/riseBidAdapter.json index de0a9024d9d..0c746db669d 100644 --- a/metadata/modules/riseBidAdapter.json +++ b/metadata/modules/riseBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d2pm7iglz0b6eq.cloudfront.net/RiseDeviceStorage.json": { - "timestamp": "2026-01-15T16:37:44.743Z", + "timestamp": "2026-01-21T15:17:01.568Z", "disclosures": [] }, "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2026-01-15T16:37:44.743Z", + "timestamp": "2026-01-21T15:17:01.568Z", "disclosures": [] } }, diff --git a/metadata/modules/rixengineBidAdapter.json b/metadata/modules/rixengineBidAdapter.json index 6bd696c38b8..0aacc76bf1b 100644 --- a/metadata/modules/rixengineBidAdapter.json +++ b/metadata/modules/rixengineBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.algorix.co/gdpr-disclosure.json": { - "timestamp": "2026-01-15T16:37:44.744Z", + "timestamp": "2026-01-21T15:17:01.569Z", "disclosures": [] } }, diff --git a/metadata/modules/rtbhouseBidAdapter.json b/metadata/modules/rtbhouseBidAdapter.json index 006ca1b53ea..7fa16e457e7 100644 --- a/metadata/modules/rtbhouseBidAdapter.json +++ b/metadata/modules/rtbhouseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://rtbhouse.com/DeviceStorage.json": { - "timestamp": "2026-01-15T16:37:44.763Z", + "timestamp": "2026-01-21T15:17:01.676Z", "disclosures": [ { "identifier": "_rtbh.*", diff --git a/metadata/modules/rubiconBidAdapter.json b/metadata/modules/rubiconBidAdapter.json index 5691f393a9e..ae7a9c840ff 100644 --- a/metadata/modules/rubiconBidAdapter.json +++ b/metadata/modules/rubiconBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.rubiconproject.com/dvplus/devicestoragedisclosure.json": { - "timestamp": "2026-01-15T16:37:44.966Z", + "timestamp": "2026-01-21T15:17:01.886Z", "disclosures": [] } }, diff --git a/metadata/modules/scaliburBidAdapter.json b/metadata/modules/scaliburBidAdapter.json index adcfd7e9e9e..95985ef007d 100644 --- a/metadata/modules/scaliburBidAdapter.json +++ b/metadata/modules/scaliburBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://legal.overwolf.com/docs/overwolf/website/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:45.225Z", + "timestamp": "2026-01-21T15:17:02.149Z", "disclosures": [ { "identifier": "scluid", diff --git a/metadata/modules/screencoreBidAdapter.json b/metadata/modules/screencoreBidAdapter.json index ff8615c9419..9e06b18660e 100644 --- a/metadata/modules/screencoreBidAdapter.json +++ b/metadata/modules/screencoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://screencore.io/tcf.json": { - "timestamp": "2026-01-15T16:37:45.241Z", + "timestamp": "2026-01-21T15:17:02.166Z", "disclosures": null } }, diff --git a/metadata/modules/seedingAllianceBidAdapter.json b/metadata/modules/seedingAllianceBidAdapter.json index 4aaa039a8a4..3174123fbb7 100644 --- a/metadata/modules/seedingAllianceBidAdapter.json +++ b/metadata/modules/seedingAllianceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.nativendo.de/cdn/asset/tcf/purpose-specific-storage-and-access-information.json": { - "timestamp": "2026-01-15T16:37:47.836Z", + "timestamp": "2026-01-21T15:17:04.761Z", "disclosures": [] } }, diff --git a/metadata/modules/seedtagBidAdapter.json b/metadata/modules/seedtagBidAdapter.json index fad7b182baf..79371740968 100644 --- a/metadata/modules/seedtagBidAdapter.json +++ b/metadata/modules/seedtagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2026-01-15T16:37:47.866Z", + "timestamp": "2026-01-21T15:17:04.790Z", "disclosures": [] } }, diff --git a/metadata/modules/semantiqRtdProvider.json b/metadata/modules/semantiqRtdProvider.json index 6ccc3e5d212..d3145dff825 100644 --- a/metadata/modules/semantiqRtdProvider.json +++ b/metadata/modules/semantiqRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audienzz.com/device_storage_disclosure_vendor_783.json": { - "timestamp": "2026-01-15T16:37:47.867Z", + "timestamp": "2026-01-21T15:17:04.790Z", "disclosures": [] } }, diff --git a/metadata/modules/setupadBidAdapter.json b/metadata/modules/setupadBidAdapter.json index 520b2269345..5266468465d 100644 --- a/metadata/modules/setupadBidAdapter.json +++ b/metadata/modules/setupadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cookies.stpd.cloud/disclosures.json": { - "timestamp": "2026-01-15T16:37:47.917Z", + "timestamp": "2026-01-21T15:17:04.866Z", "disclosures": [] } }, diff --git a/metadata/modules/sevioBidAdapter.json b/metadata/modules/sevioBidAdapter.json index 654c8dbf9a4..b0e7c8d5353 100644 --- a/metadata/modules/sevioBidAdapter.json +++ b/metadata/modules/sevioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sevio.com/tcf.json": { - "timestamp": "2026-01-15T16:37:48.004Z", + "timestamp": "2026-01-21T15:17:04.978Z", "disclosures": [] } }, diff --git a/metadata/modules/sharedIdSystem.json b/metadata/modules/sharedIdSystem.json index a9ea050df56..f9cbc4b88a2 100644 --- a/metadata/modules/sharedIdSystem.json +++ b/metadata/modules/sharedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2026-01-15T16:37:48.141Z", + "timestamp": "2026-01-21T15:17:05.148Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/sharethroughBidAdapter.json b/metadata/modules/sharethroughBidAdapter.json index 8e18328cdd7..d7f8f4d4242 100644 --- a/metadata/modules/sharethroughBidAdapter.json +++ b/metadata/modules/sharethroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.sharethrough.com/gvl.json": { - "timestamp": "2026-01-15T16:37:48.143Z", + "timestamp": "2026-01-21T15:17:05.148Z", "disclosures": [] } }, diff --git a/metadata/modules/showheroes-bsBidAdapter.json b/metadata/modules/showheroes-bsBidAdapter.json index bd8a7a75045..0fe06a9f92c 100644 --- a/metadata/modules/showheroes-bsBidAdapter.json +++ b/metadata/modules/showheroes-bsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static-origin.showheroes.com/gvl_storage_disclosure.json": { - "timestamp": "2026-01-15T16:37:48.167Z", + "timestamp": "2026-01-21T15:17:05.170Z", "disclosures": [] } }, diff --git a/metadata/modules/silvermobBidAdapter.json b/metadata/modules/silvermobBidAdapter.json index 2f606177efd..9a78a647f02 100644 --- a/metadata/modules/silvermobBidAdapter.json +++ b/metadata/modules/silvermobBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://silvermob.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:48.593Z", + "timestamp": "2026-01-21T15:17:05.593Z", "disclosures": [] } }, diff --git a/metadata/modules/sirdataRtdProvider.json b/metadata/modules/sirdataRtdProvider.json index a8db42ebcff..60ffec07374 100644 --- a/metadata/modules/sirdataRtdProvider.json +++ b/metadata/modules/sirdataRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sirdata.eu/sirdata_device_storage_disclosure.json": { - "timestamp": "2026-01-15T16:37:48.616Z", + "timestamp": "2026-01-21T15:17:05.611Z", "disclosures": [] } }, diff --git a/metadata/modules/smaatoBidAdapter.json b/metadata/modules/smaatoBidAdapter.json index f780a82bde5..6e21316b38a 100644 --- a/metadata/modules/smaatoBidAdapter.json +++ b/metadata/modules/smaatoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resources.smaato.com/hubfs/Smaato/IAB/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:48.940Z", + "timestamp": "2026-01-21T15:17:05.910Z", "disclosures": [] } }, diff --git a/metadata/modules/smartadserverBidAdapter.json b/metadata/modules/smartadserverBidAdapter.json index 19610d8eb77..e7edb4d7137 100644 --- a/metadata/modules/smartadserverBidAdapter.json +++ b/metadata/modules/smartadserverBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2026-01-15T16:37:49.013Z", + "timestamp": "2026-01-21T15:17:05.987Z", "disclosures": [] } }, diff --git a/metadata/modules/smartxBidAdapter.json b/metadata/modules/smartxBidAdapter.json index c5e653b6777..8803c85fa7d 100644 --- a/metadata/modules/smartxBidAdapter.json +++ b/metadata/modules/smartxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.smartclip.net/iab/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:49.014Z", + "timestamp": "2026-01-21T15:17:05.987Z", "disclosures": [] } }, diff --git a/metadata/modules/smartyadsBidAdapter.json b/metadata/modules/smartyadsBidAdapter.json index d06600cd59e..ee908d6e2fe 100644 --- a/metadata/modules/smartyadsBidAdapter.json +++ b/metadata/modules/smartyadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smartyads.com/tcf.json": { - "timestamp": "2026-01-15T16:37:49.042Z", + "timestamp": "2026-01-21T15:17:06.011Z", "disclosures": [] } }, diff --git a/metadata/modules/smilewantedBidAdapter.json b/metadata/modules/smilewantedBidAdapter.json index d8bce380ff2..b658597c747 100644 --- a/metadata/modules/smilewantedBidAdapter.json +++ b/metadata/modules/smilewantedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smilewanted.com/vendor-device-storage-disclosures.json": { - "timestamp": "2026-01-15T16:37:49.113Z", + "timestamp": "2026-01-21T15:17:06.048Z", "disclosures": [] } }, diff --git a/metadata/modules/snigelBidAdapter.json b/metadata/modules/snigelBidAdapter.json index 42e0760b1f1..d17219aeddc 100644 --- a/metadata/modules/snigelBidAdapter.json +++ b/metadata/modules/snigelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.snigelweb.com/gvl/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:37:49.560Z", + "timestamp": "2026-01-21T15:17:06.506Z", "disclosures": [] } }, diff --git a/metadata/modules/sonaradsBidAdapter.json b/metadata/modules/sonaradsBidAdapter.json index c289db6361c..5417992dc11 100644 --- a/metadata/modules/sonaradsBidAdapter.json +++ b/metadata/modules/sonaradsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bridgeupp.com/device-storage-disclosure.json": { - "timestamp": "2026-01-15T16:37:49.595Z", + "timestamp": "2026-01-21T15:17:06.558Z", "disclosures": [] } }, diff --git a/metadata/modules/sonobiBidAdapter.json b/metadata/modules/sonobiBidAdapter.json index 4cdd313805f..a3434d63755 100644 --- a/metadata/modules/sonobiBidAdapter.json +++ b/metadata/modules/sonobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sonobi.com/tcf2-device-storage-disclosure.json": { - "timestamp": "2026-01-15T16:37:49.850Z", + "timestamp": "2026-01-21T15:17:06.775Z", "disclosures": [] } }, diff --git a/metadata/modules/sovrnBidAdapter.json b/metadata/modules/sovrnBidAdapter.json index cb8b86f38e1..1d13462ea77 100644 --- a/metadata/modules/sovrnBidAdapter.json +++ b/metadata/modules/sovrnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sovrn.com/tcf-cookie-disclosure/disclosure.json": { - "timestamp": "2026-01-15T16:37:50.088Z", + "timestamp": "2026-01-21T15:17:07.010Z", "disclosures": [] } }, diff --git a/metadata/modules/sparteoBidAdapter.json b/metadata/modules/sparteoBidAdapter.json index 47a848b42b8..6dcb320ef39 100644 --- a/metadata/modules/sparteoBidAdapter.json +++ b/metadata/modules/sparteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:50.111Z", + "timestamp": "2026-01-21T15:17:07.032Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/ssmasBidAdapter.json b/metadata/modules/ssmasBidAdapter.json index 71d6b3a4633..8d1fc62e602 100644 --- a/metadata/modules/ssmasBidAdapter.json +++ b/metadata/modules/ssmasBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://semseoymas.com/iab.json": { - "timestamp": "2026-01-15T16:37:50.388Z", + "timestamp": "2026-01-21T15:17:07.312Z", "disclosures": null } }, diff --git a/metadata/modules/sspBCBidAdapter.json b/metadata/modules/sspBCBidAdapter.json index 79295390096..73dc546a4f4 100644 --- a/metadata/modules/sspBCBidAdapter.json +++ b/metadata/modules/sspBCBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2026-01-15T16:37:50.998Z", + "timestamp": "2026-01-21T15:17:07.901Z", "disclosures": null } }, diff --git a/metadata/modules/stackadaptBidAdapter.json b/metadata/modules/stackadaptBidAdapter.json index 1df2f052d7e..d4ae9c3fbb2 100644 --- a/metadata/modules/stackadaptBidAdapter.json +++ b/metadata/modules/stackadaptBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.amazonaws.com/stackadapt_public/disclosures.json": { - "timestamp": "2026-01-15T16:37:50.999Z", + "timestamp": "2026-01-21T15:17:07.902Z", "disclosures": [ { "identifier": "sa-camp-*", diff --git a/metadata/modules/startioBidAdapter.json b/metadata/modules/startioBidAdapter.json index 8811bbec80f..f9e849f8d44 100644 --- a/metadata/modules/startioBidAdapter.json +++ b/metadata/modules/startioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://info.startappservice.com/tcf/start.io_domains.json": { - "timestamp": "2026-01-15T16:37:51.031Z", + "timestamp": "2026-01-21T15:17:07.940Z", "disclosures": [] } }, diff --git a/metadata/modules/stroeerCoreBidAdapter.json b/metadata/modules/stroeerCoreBidAdapter.json index 0fb4f1597c7..38a3b050b5f 100644 --- a/metadata/modules/stroeerCoreBidAdapter.json +++ b/metadata/modules/stroeerCoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.stroeer.de/StroeerSSP_deviceStorage.json": { - "timestamp": "2026-01-15T16:37:51.054Z", + "timestamp": "2026-01-21T15:17:07.958Z", "disclosures": [] } }, diff --git a/metadata/modules/stvBidAdapter.json b/metadata/modules/stvBidAdapter.json index 1f9fc8193a5..cc987faae96 100644 --- a/metadata/modules/stvBidAdapter.json +++ b/metadata/modules/stvBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/stv.json": { - "timestamp": "2026-01-15T16:38:46.504Z", + "timestamp": "2026-01-21T15:17:08.380Z", "disclosures": [] } }, diff --git a/metadata/modules/sublimeBidAdapter.json b/metadata/modules/sublimeBidAdapter.json index b984f7d1d90..8f84b5b6227 100644 --- a/metadata/modules/sublimeBidAdapter.json +++ b/metadata/modules/sublimeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.ayads.co/cookiepolicy.json": { - "timestamp": "2026-01-15T16:38:47.144Z", + "timestamp": "2026-01-21T15:17:09.023Z", "disclosures": [ { "identifier": "dnt", diff --git a/metadata/modules/taboolaBidAdapter.json b/metadata/modules/taboolaBidAdapter.json index 2981daa8eae..f8d9b90381e 100644 --- a/metadata/modules/taboolaBidAdapter.json +++ b/metadata/modules/taboolaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2026-01-15T16:38:47.178Z", + "timestamp": "2026-01-21T15:17:09.296Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/taboolaIdSystem.json b/metadata/modules/taboolaIdSystem.json index 173e6b061aa..360ed099e0f 100644 --- a/metadata/modules/taboolaIdSystem.json +++ b/metadata/modules/taboolaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2026-01-15T16:38:47.840Z", + "timestamp": "2026-01-21T15:17:09.905Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/tadvertisingBidAdapter.json b/metadata/modules/tadvertisingBidAdapter.json index 18d2400be19..a22f75b54ad 100644 --- a/metadata/modules/tadvertisingBidAdapter.json +++ b/metadata/modules/tadvertisingBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:38:47.841Z", + "timestamp": "2026-01-21T15:17:09.906Z", "disclosures": [] } }, diff --git a/metadata/modules/tappxBidAdapter.json b/metadata/modules/tappxBidAdapter.json index b3d3a8d5324..013a74f81be 100644 --- a/metadata/modules/tappxBidAdapter.json +++ b/metadata/modules/tappxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tappx.com/devicestorage.json": { - "timestamp": "2026-01-15T16:38:47.842Z", + "timestamp": "2026-01-21T15:17:09.907Z", "disclosures": [] } }, diff --git a/metadata/modules/targetVideoBidAdapter.json b/metadata/modules/targetVideoBidAdapter.json index db43da23ed7..7216e023297 100644 --- a/metadata/modules/targetVideoBidAdapter.json +++ b/metadata/modules/targetVideoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2026-01-15T16:38:47.868Z", + "timestamp": "2026-01-21T15:17:09.935Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/teadsBidAdapter.json b/metadata/modules/teadsBidAdapter.json index f50e5368bc6..d1e45cb2c97 100644 --- a/metadata/modules/teadsBidAdapter.json +++ b/metadata/modules/teadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:47.868Z", + "timestamp": "2026-01-21T15:17:09.935Z", "disclosures": [] } }, diff --git a/metadata/modules/teadsIdSystem.json b/metadata/modules/teadsIdSystem.json index 7d8a2c226ed..42f4ebb812f 100644 --- a/metadata/modules/teadsIdSystem.json +++ b/metadata/modules/teadsIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:47.887Z", + "timestamp": "2026-01-21T15:17:09.960Z", "disclosures": [] } }, diff --git a/metadata/modules/tealBidAdapter.json b/metadata/modules/tealBidAdapter.json index c0f619afc0a..5ac1fe8c1d9 100644 --- a/metadata/modules/tealBidAdapter.json +++ b/metadata/modules/tealBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://c.bids.ws/iab/disclosures.json": { - "timestamp": "2026-01-15T16:38:47.887Z", + "timestamp": "2026-01-21T15:17:09.960Z", "disclosures": [] } }, diff --git a/metadata/modules/tncIdSystem.json b/metadata/modules/tncIdSystem.json index 2fb0f3c1db2..41c9b2b619f 100644 --- a/metadata/modules/tncIdSystem.json +++ b/metadata/modules/tncIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.tncid.app/iab-tcf-device-storage-disclosure.json": { - "timestamp": "2026-01-15T16:38:48.032Z", + "timestamp": "2026-01-21T15:17:10.014Z", "disclosures": [] } }, diff --git a/metadata/modules/topicsFpdModule.json b/metadata/modules/topicsFpdModule.json index dee202714a9..ddb49386c15 100644 --- a/metadata/modules/topicsFpdModule.json +++ b/metadata/modules/topicsFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/topicsFpdModule.json": { - "timestamp": "2026-01-15T16:36:37.465Z", + "timestamp": "2026-01-21T15:16:22.811Z", "disclosures": [ { "identifier": "prebid:topics", diff --git a/metadata/modules/toponBidAdapter.json b/metadata/modules/toponBidAdapter.json index ccc04d95693..74feb9d7cd3 100644 --- a/metadata/modules/toponBidAdapter.json +++ b/metadata/modules/toponBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mores.toponad.net/tmp/tpn/toponads_tcf_disclosure.json": { - "timestamp": "2026-01-15T16:38:48.048Z", + "timestamp": "2026-01-21T15:17:10.034Z", "disclosures": [] } }, diff --git a/metadata/modules/tripleliftBidAdapter.json b/metadata/modules/tripleliftBidAdapter.json index d58b64b460a..038268be8a9 100644 --- a/metadata/modules/tripleliftBidAdapter.json +++ b/metadata/modules/tripleliftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://triplelift.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:48.082Z", + "timestamp": "2026-01-21T15:17:10.059Z", "disclosures": [] } }, diff --git a/metadata/modules/ttdBidAdapter.json b/metadata/modules/ttdBidAdapter.json index 3dd929a01d8..23816f1bdad 100644 --- a/metadata/modules/ttdBidAdapter.json +++ b/metadata/modules/ttdBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-15T16:38:48.122Z", + "timestamp": "2026-01-21T15:17:10.088Z", "disclosures": [] } }, diff --git a/metadata/modules/twistDigitalBidAdapter.json b/metadata/modules/twistDigitalBidAdapter.json index a0187d7fd7b..45ae377ade9 100644 --- a/metadata/modules/twistDigitalBidAdapter.json +++ b/metadata/modules/twistDigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://twistdigital.net/iab.json": { - "timestamp": "2026-01-15T16:38:48.122Z", + "timestamp": "2026-01-21T15:17:10.089Z", "disclosures": [ { "identifier": "vdzj1_{id}", diff --git a/metadata/modules/underdogmediaBidAdapter.json b/metadata/modules/underdogmediaBidAdapter.json index 131d52a4487..a70b4a279d9 100644 --- a/metadata/modules/underdogmediaBidAdapter.json +++ b/metadata/modules/underdogmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.underdog.media/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:48.185Z", + "timestamp": "2026-01-21T15:17:10.161Z", "disclosures": [] } }, diff --git a/metadata/modules/undertoneBidAdapter.json b/metadata/modules/undertoneBidAdapter.json index c0a24a2a7d8..c652f3ca0b7 100644 --- a/metadata/modules/undertoneBidAdapter.json +++ b/metadata/modules/undertoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.undertone.com/js/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:48.215Z", + "timestamp": "2026-01-21T15:17:10.182Z", "disclosures": [] } }, diff --git a/metadata/modules/unifiedIdSystem.json b/metadata/modules/unifiedIdSystem.json index c6b154a8c51..45971596b47 100644 --- a/metadata/modules/unifiedIdSystem.json +++ b/metadata/modules/unifiedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-15T16:38:48.238Z", + "timestamp": "2026-01-21T15:17:10.198Z", "disclosures": [] } }, diff --git a/metadata/modules/unrulyBidAdapter.json b/metadata/modules/unrulyBidAdapter.json index a63ad90c48e..30fd1495008 100644 --- a/metadata/modules/unrulyBidAdapter.json +++ b/metadata/modules/unrulyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:38:48.239Z", + "timestamp": "2026-01-21T15:17:10.198Z", "disclosures": [] } }, diff --git a/metadata/modules/userId.json b/metadata/modules/userId.json index 3534b6b7277..e5269440454 100644 --- a/metadata/modules/userId.json +++ b/metadata/modules/userId.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/userId-optout.json": { - "timestamp": "2026-01-15T16:36:37.466Z", + "timestamp": "2026-01-21T15:16:22.813Z", "disclosures": [ { "identifier": "_pbjs_id_optout", diff --git a/metadata/modules/utiqIdSystem.json b/metadata/modules/utiqIdSystem.json index 8bbeb65d6c3..1d23694cf77 100644 --- a/metadata/modules/utiqIdSystem.json +++ b/metadata/modules/utiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:38:48.239Z", + "timestamp": "2026-01-21T15:17:10.198Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/utiqMtpIdSystem.json b/metadata/modules/utiqMtpIdSystem.json index c62580098cf..eb49f9d9027 100644 --- a/metadata/modules/utiqMtpIdSystem.json +++ b/metadata/modules/utiqMtpIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:38:48.240Z", + "timestamp": "2026-01-21T15:17:10.199Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/validationFpdModule.json b/metadata/modules/validationFpdModule.json index 887fe2922df..375ed570cb5 100644 --- a/metadata/modules/validationFpdModule.json +++ b/metadata/modules/validationFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2026-01-15T16:36:37.465Z", + "timestamp": "2026-01-21T15:16:22.812Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/valuadBidAdapter.json b/metadata/modules/valuadBidAdapter.json index e2fbe5c76d2..e7aef4febc8 100644 --- a/metadata/modules/valuadBidAdapter.json +++ b/metadata/modules/valuadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.valuad.cloud/tcfdevice.json": { - "timestamp": "2026-01-15T16:38:48.240Z", + "timestamp": "2026-01-21T15:17:10.199Z", "disclosures": [] } }, diff --git a/metadata/modules/vidazooBidAdapter.json b/metadata/modules/vidazooBidAdapter.json index 42035967158..b45149019ba 100644 --- a/metadata/modules/vidazooBidAdapter.json +++ b/metadata/modules/vidazooBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidazoo.com/gdpr-tcf/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:48.480Z", + "timestamp": "2026-01-21T15:17:10.377Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/vidoomyBidAdapter.json b/metadata/modules/vidoomyBidAdapter.json index a5671abf15a..a4fbba104e1 100644 --- a/metadata/modules/vidoomyBidAdapter.json +++ b/metadata/modules/vidoomyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidoomy.com/storageurl/devicestoragediscurl.json": { - "timestamp": "2026-01-15T16:38:48.591Z", + "timestamp": "2026-01-21T15:17:10.438Z", "disclosures": [] } }, diff --git a/metadata/modules/viouslyBidAdapter.json b/metadata/modules/viouslyBidAdapter.json index f1c0a00e035..8e77e1a135e 100644 --- a/metadata/modules/viouslyBidAdapter.json +++ b/metadata/modules/viouslyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:48.726Z", + "timestamp": "2026-01-21T15:17:10.552Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/visxBidAdapter.json b/metadata/modules/visxBidAdapter.json index b500aabe29f..53c66a42db3 100644 --- a/metadata/modules/visxBidAdapter.json +++ b/metadata/modules/visxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.yoc.com/visx/sellers/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:48.726Z", + "timestamp": "2026-01-21T15:17:10.553Z", "disclosures": [ { "identifier": "__vads", diff --git a/metadata/modules/vlybyBidAdapter.json b/metadata/modules/vlybyBidAdapter.json index 17b7f554bcb..a25400030ad 100644 --- a/metadata/modules/vlybyBidAdapter.json +++ b/metadata/modules/vlybyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vlyby.com/conf/iab/gvl.json": { - "timestamp": "2026-01-15T16:38:48.906Z", + "timestamp": "2026-01-21T15:17:10.747Z", "disclosures": [] } }, diff --git a/metadata/modules/voxBidAdapter.json b/metadata/modules/voxBidAdapter.json index 860bc867b2e..d8a01c72033 100644 --- a/metadata/modules/voxBidAdapter.json +++ b/metadata/modules/voxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:49.111Z", + "timestamp": "2026-01-21T15:17:11.165Z", "disclosures": [] } }, diff --git a/metadata/modules/vrtcalBidAdapter.json b/metadata/modules/vrtcalBidAdapter.json index a20427f1a9e..718bf2e62e9 100644 --- a/metadata/modules/vrtcalBidAdapter.json +++ b/metadata/modules/vrtcalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vrtcal.com/docs/gdpr-tcf-disclosures.json": { - "timestamp": "2026-01-15T16:38:49.112Z", + "timestamp": "2026-01-21T15:17:11.166Z", "disclosures": [] } }, diff --git a/metadata/modules/vuukleBidAdapter.json b/metadata/modules/vuukleBidAdapter.json index 39e10c3551a..e1ec79ea855 100644 --- a/metadata/modules/vuukleBidAdapter.json +++ b/metadata/modules/vuukleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vuukle.com/data-privacy/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:49.128Z", + "timestamp": "2026-01-21T15:17:11.180Z", "disclosures": [ { "identifier": "vuukle_token", diff --git a/metadata/modules/weboramaRtdProvider.json b/metadata/modules/weboramaRtdProvider.json index 5c3db7c2674..8708b232e86 100644 --- a/metadata/modules/weboramaRtdProvider.json +++ b/metadata/modules/weboramaRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://weborama.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:49.424Z", + "timestamp": "2026-01-21T15:17:11.454Z", "disclosures": [] } }, diff --git a/metadata/modules/welectBidAdapter.json b/metadata/modules/welectBidAdapter.json index ca3f2aee085..508cece746c 100644 --- a/metadata/modules/welectBidAdapter.json +++ b/metadata/modules/welectBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.welect.de/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:49.671Z", + "timestamp": "2026-01-21T15:17:11.708Z", "disclosures": [] } }, diff --git a/metadata/modules/yahooAdsBidAdapter.json b/metadata/modules/yahooAdsBidAdapter.json index 04a7ec8fb4c..32a6ab9844c 100644 --- a/metadata/modules/yahooAdsBidAdapter.json +++ b/metadata/modules/yahooAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2026-01-15T16:38:50.046Z", + "timestamp": "2026-01-21T15:17:12.126Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/yieldlabBidAdapter.json b/metadata/modules/yieldlabBidAdapter.json index e29d2c74115..6a868978be0 100644 --- a/metadata/modules/yieldlabBidAdapter.json +++ b/metadata/modules/yieldlabBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.yieldlab.net/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:50.047Z", + "timestamp": "2026-01-21T15:17:12.127Z", "disclosures": [] } }, diff --git a/metadata/modules/yieldloveBidAdapter.json b/metadata/modules/yieldloveBidAdapter.json index 46ad12670e1..f9f446b01c7 100644 --- a/metadata/modules/yieldloveBidAdapter.json +++ b/metadata/modules/yieldloveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn-a.yieldlove.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:50.171Z", + "timestamp": "2026-01-21T15:17:12.242Z", "disclosures": [ { "identifier": "session_id", diff --git a/metadata/modules/yieldmoBidAdapter.json b/metadata/modules/yieldmoBidAdapter.json index 14184f77daa..0eef8ded2e6 100644 --- a/metadata/modules/yieldmoBidAdapter.json +++ b/metadata/modules/yieldmoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://devicestoragedisclosureurl.yieldmo.com/deviceStorage.json": { - "timestamp": "2026-01-15T16:38:50.194Z", + "timestamp": "2026-01-21T15:17:12.263Z", "disclosures": [] } }, diff --git a/metadata/modules/zeotapIdPlusIdSystem.json b/metadata/modules/zeotapIdPlusIdSystem.json index e418d54c7f4..60a5aa93435 100644 --- a/metadata/modules/zeotapIdPlusIdSystem.json +++ b/metadata/modules/zeotapIdPlusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spl.zeotap.com/assets/iab-disclosure.json": { - "timestamp": "2026-01-15T16:38:50.278Z", + "timestamp": "2026-01-21T15:17:12.335Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_globalBidAdapter.json b/metadata/modules/zeta_globalBidAdapter.json index eb5f832ef38..52293da3a42 100644 --- a/metadata/modules/zeta_globalBidAdapter.json +++ b/metadata/modules/zeta_globalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:38:50.392Z", + "timestamp": "2026-01-21T15:17:12.498Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_global_sspBidAdapter.json b/metadata/modules/zeta_global_sspBidAdapter.json index e35e3b2d193..305a257359d 100644 --- a/metadata/modules/zeta_global_sspBidAdapter.json +++ b/metadata/modules/zeta_global_sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2026-01-15T16:38:50.477Z", + "timestamp": "2026-01-21T15:17:12.572Z", "disclosures": [] } }, diff --git a/package-lock.json b/package-lock.json index e99ff856176..565646dfd4d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.22.0-pre", + "version": "10.22.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.22.0-pre", + "version": "10.22.0", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", @@ -7443,9 +7443,9 @@ } }, "node_modules/baseline-browser-mapping": { - "version": "2.9.14", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.14.tgz", - "integrity": "sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==", + "version": "2.9.17", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.17.tgz", + "integrity": "sha512-agD0MgJFUP/4nvjqzIB29zRPUuCF7Ge6mEv9s8dHrtYD7QWXRcx75rOADE/d5ah1NI+0vkDl0yorDd5U852IQQ==", "bin": { "baseline-browser-mapping": "dist/cli.js" } @@ -7879,9 +7879,9 @@ "license": "MIT" }, "node_modules/caniuse-lite": { - "version": "1.0.30001764", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001764.tgz", - "integrity": "sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==", + "version": "1.0.30001765", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001765.tgz", + "integrity": "sha512-LWcNtSyZrakjECqmpP4qdg0MMGdN368D7X8XvvAqOcqMv0RxnlqVKZl2V6/mBR68oYMxOZPLw/gO7DuisMHUvQ==", "funding": [ { "type": "opencollective", @@ -27043,9 +27043,9 @@ "dev": true }, "baseline-browser-mapping": { - "version": "2.9.14", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.14.tgz", - "integrity": "sha512-B0xUquLkiGLgHhpPBqvl7GWegWBUNuujQ6kXd/r1U38ElPT6Ok8KZ8e+FpUGEc2ZoRQUzq/aUnaKFc/svWUGSg==" + "version": "2.9.17", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.17.tgz", + "integrity": "sha512-agD0MgJFUP/4nvjqzIB29zRPUuCF7Ge6mEv9s8dHrtYD7QWXRcx75rOADE/d5ah1NI+0vkDl0yorDd5U852IQQ==" }, "basic-auth": { "version": "2.0.1", @@ -27338,9 +27338,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001764", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001764.tgz", - "integrity": "sha512-9JGuzl2M+vPL+pz70gtMF9sHdMFbY9FJaQBi186cHKH3pSzDvzoUJUPV6fqiKIMyXbud9ZLg4F3Yza1vJ1+93g==" + "version": "1.0.30001765", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001765.tgz", + "integrity": "sha512-LWcNtSyZrakjECqmpP4qdg0MMGdN368D7X8XvvAqOcqMv0RxnlqVKZl2V6/mBR68oYMxOZPLw/gO7DuisMHUvQ==" }, "chai": { "version": "4.4.1", diff --git a/package.json b/package.json index 95ded76b793..73932954b64 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.22.0-pre", + "version": "10.22.0", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From 521af378a4a5545e90bf229a67bf25544b586540 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Wed, 21 Jan 2026 15:18:09 +0000 Subject: [PATCH 132/248] Increment version to 10.23.0-pre --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 565646dfd4d..4d170942396 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.22.0", + "version": "10.23.0-pre", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.22.0", + "version": "10.23.0-pre", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", diff --git a/package.json b/package.json index 73932954b64..6f2cdf0ae0d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.22.0", + "version": "10.23.0-pre", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From 4c620e75872fc62e9f0193cefc8e93f62eb8ff74 Mon Sep 17 00:00:00 2001 From: ourcraig Date: Thu, 22 Jan 2026 06:40:05 +1100 Subject: [PATCH 133/248] Rubicon Bid Adapter: add support for primaryCatId and secondaryCatIds (#14361) --- modules/rubiconBidAdapter.js | 7 ++ test/spec/modules/rubiconBidAdapter_spec.js | 92 +++++++++++++++++++++ 2 files changed, 99 insertions(+) diff --git a/modules/rubiconBidAdapter.js b/modules/rubiconBidAdapter.js index 47c311ceb9a..a59f6b6379e 100644 --- a/modules/rubiconBidAdapter.js +++ b/modules/rubiconBidAdapter.js @@ -739,6 +739,13 @@ export const spec = { [bid.width, bid.height] = sizeMap[ad.size_id].split('x').map(num => Number(num)); } + if (ad.bid_cat && ad.bid_cat.length) { + bid.meta.primaryCatId = ad.bid_cat[0]; + if (ad.bid_cat.length > 1) { + bid.meta.secondaryCatIds = ad.bid_cat.slice(1); + } + } + // add server-side targeting bid.rubiconTargeting = (Array.isArray(ad.targeting) ? ad.targeting : []) .reduce((memo, item) => { diff --git a/test/spec/modules/rubiconBidAdapter_spec.js b/test/spec/modules/rubiconBidAdapter_spec.js index 70e55c5a7eb..bd9990f75de 100644 --- a/test/spec/modules/rubiconBidAdapter_spec.js +++ b/test/spec/modules/rubiconBidAdapter_spec.js @@ -3860,6 +3860,98 @@ describe('the rubicon adapter', function () { expect(bids[1].meta.mediaType).to.equal('video'); }); + it('should handle primaryCatId and secondaryCatIds when bid.bid_cat is present in response', function () { + const response = { + 'status': 'ok', + 'account_id': 14062, + 'site_id': 70608, + 'zone_id': 530022, + 'size_id': 15, + 'alt_size_ids': [ + 43 + ], + 'tracking': '', + 'inventory': {}, + 'ads': [ + { + 'status': 'ok', + 'impression_id': '153dc240-8229-4604-b8f5-256933b9374c', + 'size_id': '15', + 'ad_id': '6', + 'advertiser': 7, + 'network': 8, + 'creative_id': 'crid-9', + 'type': 'script', + 'script': 'alert(\'foo\')', + 'campaign_id': 10, + 'cpm': 0.811, + 'emulated_format': 'video', + 'targeting': [ + { + 'key': 'rpfl_14062', + 'values': [ + '15_tier_all_test' + ] + } + ], + 'bid_cat': ['IAB1-1'] + }, + { + 'status': 'ok', + 'impression_id': '153dc240-8229-4604-b8f5-256933b9374d', + 'size_id': '43', + 'ad_id': '7', + 'advertiser': 7, + 'network': 8, + 'creative_id': 'crid-9', + 'type': 'script', + 'script': 'alert(\'foo\')', + 'campaign_id': 10, + 'cpm': 0.911, + 'targeting': [ + { + 'key': 'rpfl_14062', + 'values': [ + '43_tier_all_test' + ] + } + ], + 'bid_cat': ['IAB1-2', 'IAB1-3'] + }, + { + 'status': 'ok', + 'impression_id': '153dc240-8229-4604-b8f5-256933b9374d', + 'size_id': '43', + 'ad_id': '7', + 'advertiser': 7, + 'network': 8, + 'creative_id': 'crid-9', + 'type': 'script', + 'script': 'alert(\'foo\')', + 'campaign_id': 10, + 'cpm': 10, + 'targeting': [ + { + 'key': 'rpfl_14062', + 'values': [ + '43_tier_all_test' + ] + } + ] + } + ] + }; + const bids = spec.interpretResponse({body: response}, { + bidRequest: bidderRequest.bids[0] + }); + expect(bids[0].meta.primaryCatId).to.be.undefined; + expect(bids[0].meta.secondaryCatIds).to.be.undefined; + expect(bids[1].meta.primaryCatId).to.equal(response.ads[1].bid_cat[0]); + expect(bids[1].meta.secondaryCatIds).to.deep.equal(response.ads[1].bid_cat.slice(1)); + expect(bids[2].meta.primaryCatId).to.equal(response.ads[0].bid_cat[0]); + expect(bids[2].meta.secondaryCatIds).to.be.undefined; + }); + describe('singleRequest enabled', function () { it('handles bidRequest of type Array and returns associated adUnits', function () { const overrideMap = []; From 4ab7cc35b8c914effeedd14baae8b5449e7ffa6c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Jan 2026 20:52:31 -0500 Subject: [PATCH 134/248] Bump lodash from 4.17.21 to 4.17.23 (#14368) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.21 to 4.17.23. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.21...4.17.23) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.17.23 dependency-type: direct:development ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4d170942396..57c7d89e06b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15839,8 +15839,9 @@ } }, "node_modules/lodash": { - "version": "4.17.21", - "license": "MIT" + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==" }, "node_modules/lodash.clone": { "version": "4.5.0", @@ -32509,7 +32510,9 @@ } }, "lodash": { - "version": "4.17.21" + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==" }, "lodash.clone": { "version": "4.5.0", From b764b8a157fa5c95579605fe1c0576a8e38473c5 Mon Sep 17 00:00:00 2001 From: alukonin1 <152840501+alukonin1@users.noreply.github.com> Date: Thu, 22 Jan 2026 16:57:49 +0200 Subject: [PATCH 135/248] Yield one bid adapter: support Interstitial (instl param) in building server request (#14370) * Support Interstitial (instl param) in building server request * adjust unit tests for Instl param --- modules/yieldoneBidAdapter.js | 6 +++ test/spec/modules/yieldoneBidAdapter_spec.js | 46 ++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/modules/yieldoneBidAdapter.js b/modules/yieldoneBidAdapter.js index c71dadd1573..244da9aa3a1 100644 --- a/modules/yieldoneBidAdapter.js +++ b/modules/yieldoneBidAdapter.js @@ -126,6 +126,12 @@ export const spec = { payload.gpid = gpid; } + // instl + const instl = deepAccess(bidRequest, 'ortb2Imp.instl'); + if (instl === 1 || instl === '1') { + payload.instl = 1; + } + return { method: 'GET', url: ENDPOINT_URL, diff --git a/test/spec/modules/yieldoneBidAdapter_spec.js b/test/spec/modules/yieldoneBidAdapter_spec.js index ea9ca43edbf..3bafe1b83bb 100644 --- a/test/spec/modules/yieldoneBidAdapter_spec.js +++ b/test/spec/modules/yieldoneBidAdapter_spec.js @@ -548,6 +548,52 @@ describe('yieldoneBidAdapter', function () { expect(request[0].data.gpid).to.equal('gpid_sample'); }); }); + + describe('instl', function () { + it('dont send instl if undefined', function () { + const bidRequests = [ + { + params: {placementId: '0'}, + }, + { + params: {placementId: '1'}, + ortb2Imp: {}, + }, + { + params: {placementId: '2'}, + ortb2Imp: undefined, + }, + { + params: {placementId: '3'}, + ortb2Imp: {instl: undefined}, + }, + ]; + const request = spec.buildRequests(bidRequests, bidderRequest); + + bidRequests.forEach((bidRequest, ind) => { + expect(request[ind].data).to.not.have.property('instl'); + }) + }); + + it('should send instl if available', function () { + const bidRequests = [ + { + params: {placementId: '0'}, + ortb2Imp: {instl: '1'}, + }, + { + params: {placementId: '1'}, + ortb2Imp: {instl: 1}, + }, + ]; + const request = spec.buildRequests(bidRequests, bidderRequest); + + bidRequests.forEach((bidRequest, ind) => { + expect(request[ind].data).to.have.property('instl'); + expect(request[ind].data.instl).to.equal(1); + }) + }); + }); }); describe('interpretResponse', function () { From f46d47e433ae9a14bfdd2c76dad1582ea0e4fdb0 Mon Sep 17 00:00:00 2001 From: PanxoDev Date: Thu, 22 Jan 2026 17:32:59 +0100 Subject: [PATCH 136/248] New Adapter: Panxo - AI traffic monetization SSP (#14365) This adapter enables publishers to monetize AI-referred traffic through Prebid.js. - Bidder code: panxo - GVL ID: 1527 - Media types: Banner - Features: GDPR/TCF 2.0, CCPA, GPP, COPPA, schain, First Party Data, Price Floors - Requires Panxo Signal script to be loaded before Prebid Documentation: modules/panxoBidAdapter.md Tests: test/spec/modules/panxoBidAdapter_spec.js --- modules/panxoBidAdapter.js | 357 ++++++++++++++++++++++ modules/panxoBidAdapter.md | 229 ++++++++++++++ test/spec/modules/panxoBidAdapter_spec.js | 346 +++++++++++++++++++++ 3 files changed, 932 insertions(+) create mode 100644 modules/panxoBidAdapter.js create mode 100644 modules/panxoBidAdapter.md create mode 100644 test/spec/modules/panxoBidAdapter_spec.js diff --git a/modules/panxoBidAdapter.js b/modules/panxoBidAdapter.js new file mode 100644 index 00000000000..6f9eb80ae84 --- /dev/null +++ b/modules/panxoBidAdapter.js @@ -0,0 +1,357 @@ +/** + * @module modules/panxoBidAdapter + * @description Bid Adapter for Prebid.js - AI-referred traffic monetization + * @see https://docs.panxo.ai for Signal script installation + */ + +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER } from '../src/mediaTypes.js'; +import { deepAccess, logWarn, isFn, isPlainObject } from '../src/utils.js'; +import { getStorageManager } from '../src/storageManager.js'; + +const BIDDER_CODE = 'panxo'; +const ENDPOINT_URL = 'https://panxo-sys.com/openrtb/2.5/bid'; +const USER_ID_KEY = 'panxo_uid'; +const SYNC_URL = 'https://panxo-sys.com/usersync'; +const DEFAULT_CURRENCY = 'USD'; +const TTL = 300; +const NET_REVENUE = true; + +export const storage = getStorageManager({ bidderCode: BIDDER_CODE }); + +export function getPanxoUserId() { + try { + return storage.getDataFromLocalStorage(USER_ID_KEY); + } catch (e) { + // storageManager handles errors internally + } + return null; +} + +function buildBanner(bid) { + const sizes = deepAccess(bid, 'mediaTypes.banner.sizes') || bid.sizes || []; + if (sizes.length === 0) return null; + + return { + format: sizes.map(size => ({ w: size[0], h: size[1] })), + w: sizes[0][0], + h: sizes[0][1] + }; +} + +function getFloorPrice(bid, size) { + if (isFn(bid.getFloor)) { + try { + const floorInfo = bid.getFloor({ + currency: DEFAULT_CURRENCY, + mediaType: BANNER, + size: size + }); + if (floorInfo && floorInfo.floor) { + return floorInfo.floor; + } + } catch (e) { + // Floor module error + } + } + return deepAccess(bid, 'params.floor') || 0; +} + +function buildUser(panxoUid, bidderRequest) { + const user = { buyeruid: panxoUid }; + + // GDPR consent + const gdprConsent = deepAccess(bidderRequest, 'gdprConsent'); + if (gdprConsent && gdprConsent.consentString) { + user.ext = { consent: gdprConsent.consentString }; + } + + // First Party Data - user + const fpd = deepAccess(bidderRequest, 'ortb2.user'); + if (isPlainObject(fpd)) { + user.ext = { ...user.ext, ...fpd.ext }; + if (fpd.data) user.data = fpd.data; + } + + return user; +} + +function buildRegs(bidderRequest) { + const regs = { ext: {} }; + + // GDPR - only set when gdprApplies is explicitly true or false, not undefined + const gdprConsent = deepAccess(bidderRequest, 'gdprConsent'); + if (gdprConsent && typeof gdprConsent.gdprApplies === 'boolean') { + regs.ext.gdpr = gdprConsent.gdprApplies ? 1 : 0; + } + + // CCPA / US Privacy + const uspConsent = deepAccess(bidderRequest, 'uspConsent'); + if (uspConsent) { + regs.ext.us_privacy = uspConsent; + } + + // GPP + const gppConsent = deepAccess(bidderRequest, 'gppConsent'); + if (gppConsent) { + regs.ext.gpp = gppConsent.gppString; + regs.ext.gpp_sid = gppConsent.applicableSections; + } + + // COPPA + const coppa = deepAccess(bidderRequest, 'ortb2.regs.coppa'); + if (coppa) { + regs.coppa = 1; + } + + return regs; +} + +function buildDevice() { + const device = { + ua: navigator.userAgent, + language: navigator.language, + js: 1, + dnt: navigator.doNotTrack === '1' ? 1 : 0 + }; + + if (typeof screen !== 'undefined') { + device.w = screen.width; + device.h = screen.height; + } + + return device; +} + +function buildSite(bidderRequest) { + const site = { + page: deepAccess(bidderRequest, 'refererInfo.page') || '', + domain: deepAccess(bidderRequest, 'refererInfo.domain') || '', + ref: deepAccess(bidderRequest, 'refererInfo.ref') || '' + }; + + // First Party Data - site + const fpd = deepAccess(bidderRequest, 'ortb2.site'); + if (isPlainObject(fpd)) { + Object.assign(site, { + name: fpd.name, + cat: fpd.cat, + sectioncat: fpd.sectioncat, + pagecat: fpd.pagecat, + content: fpd.content + }); + if (fpd.ext) site.ext = fpd.ext; + } + + return site; +} + +function buildSource(bidderRequest) { + const source = { + tid: deepAccess(bidderRequest, 'ortb2.source.tid') || bidderRequest.auctionId + }; + + // Supply Chain (schain) - read from ortb2 where Prebid normalizes it + const schain = deepAccess(bidderRequest, 'ortb2.source.ext.schain'); + if (isPlainObject(schain)) { + source.ext = { schain: schain }; + } + + return source; +} + +export const spec = { + code: BIDDER_CODE, + gvlid: 1527, // IAB TCF Global Vendor List ID + supportedMediaTypes: [BANNER], + + isBidRequestValid(bid) { + const propertyKey = deepAccess(bid, 'params.propertyKey'); + if (!propertyKey) { + logWarn('Panxo: Missing required param "propertyKey"'); + return false; + } + if (!deepAccess(bid, 'mediaTypes.banner')) { + logWarn('Panxo: Only banner mediaType is supported'); + return false; + } + return true; + }, + + buildRequests(validBidRequests, bidderRequest) { + const panxoUid = getPanxoUserId(); + if (!panxoUid) { + logWarn('Panxo: panxo_uid not found. Ensure Signal script is loaded before Prebid.'); + return []; + } + + // Group bids by propertyKey to handle multiple properties on same page + const bidsByPropertyKey = {}; + validBidRequests.forEach(bid => { + const key = deepAccess(bid, 'params.propertyKey'); + if (!bidsByPropertyKey[key]) { + bidsByPropertyKey[key] = []; + } + bidsByPropertyKey[key].push(bid); + }); + + // Build one request per propertyKey + const requests = []; + Object.keys(bidsByPropertyKey).forEach(propertyKey => { + const bidsForKey = bidsByPropertyKey[propertyKey]; + + const impressions = bidsForKey.map((bid) => { + const banner = buildBanner(bid); + if (!banner) return null; + + const sizes = deepAccess(bid, 'mediaTypes.banner.sizes') || []; + const primarySize = sizes[0] || [300, 250]; + + // Build impression object + const imp = { + id: bid.bidId, + banner: banner, + bidfloor: getFloorPrice(bid, primarySize), + bidfloorcur: DEFAULT_CURRENCY, + secure: 1, + tagid: bid.adUnitCode + }; + + // Merge full ortb2Imp object (instl, pmp, ext, etc.) + const ortb2Imp = deepAccess(bid, 'ortb2Imp'); + if (isPlainObject(ortb2Imp)) { + Object.keys(ortb2Imp).forEach(key => { + if (key === 'ext') { + imp.ext = { ...imp.ext, ...ortb2Imp.ext }; + } else if (imp[key] === undefined) { + imp[key] = ortb2Imp[key]; + } + }); + } + + return imp; + }).filter(Boolean); + + if (impressions.length === 0) return; + + const openrtbRequest = { + id: bidderRequest.bidderRequestId, + imp: impressions, + site: buildSite(bidderRequest), + device: buildDevice(), + user: buildUser(panxoUid, bidderRequest), + regs: buildRegs(bidderRequest), + source: buildSource(bidderRequest), + at: 1, + cur: [DEFAULT_CURRENCY], + tmax: bidderRequest.timeout || 1000 + }; + + requests.push({ + method: 'POST', + url: `${ENDPOINT_URL}?key=${encodeURIComponent(propertyKey)}&source=prebid`, + data: openrtbRequest, + options: { contentType: 'text/plain', withCredentials: false }, + bidderRequest: bidderRequest + }); + }); + + return requests; + }, + + interpretResponse(serverResponse, request) { + const bids = []; + const response = serverResponse.body; + + if (!response || !response.seatbid) return bids; + + const bidRequestMap = {}; + if (request.bidderRequest && request.bidderRequest.bids) { + request.bidderRequest.bids.forEach(bid => { + bidRequestMap[bid.bidId] = bid; + }); + } + + response.seatbid.forEach(seatbid => { + if (!seatbid.bid) return; + + seatbid.bid.forEach(bid => { + const originalBid = bidRequestMap[bid.impid]; + if (!originalBid) return; + + bids.push({ + requestId: bid.impid, + cpm: bid.price, + currency: response.cur || DEFAULT_CURRENCY, + width: bid.w, + height: bid.h, + creativeId: bid.crid || bid.id, + dealId: bid.dealid || null, + netRevenue: NET_REVENUE, + ttl: bid.exp || TTL, + ad: bid.adm, + nurl: bid.nurl, + meta: { + advertiserDomains: bid.adomain || [], + mediaType: BANNER + } + }); + }); + }); + + return bids; + }, + + getUserSyncs(syncOptions, serverResponses, gdprConsent, uspConsent, gppConsent) { + const syncs = []; + + if (syncOptions.pixelEnabled) { + let syncUrl = SYNC_URL + '?source=prebid'; + + // GDPR - only include when gdprApplies is explicitly true or false + if (gdprConsent) { + if (typeof gdprConsent.gdprApplies === 'boolean') { + syncUrl += `&gdpr=${gdprConsent.gdprApplies ? 1 : 0}`; + } + if (gdprConsent.consentString) { + syncUrl += `&gdpr_consent=${encodeURIComponent(gdprConsent.consentString)}`; + } + } + + // US Privacy + if (uspConsent) { + syncUrl += `&us_privacy=${encodeURIComponent(uspConsent)}`; + } + + // GPP + if (gppConsent) { + if (gppConsent.gppString) { + syncUrl += `&gpp=${encodeURIComponent(gppConsent.gppString)}`; + } + if (gppConsent.applicableSections) { + syncUrl += `&gpp_sid=${encodeURIComponent(gppConsent.applicableSections.join(','))}`; + } + } + + syncs.push({ type: 'image', url: syncUrl }); + } + + return syncs; + }, + + onBidWon(bid) { + if (bid.nurl) { + const winUrl = bid.nurl.replace(/\$\{AUCTION_PRICE\}/g, bid.cpm); + const img = document.createElement('img'); + img.src = winUrl; + img.style.display = 'none'; + document.body.appendChild(img); + } + }, + + onTimeout(timeoutData) { + logWarn('Panxo: Bid timeout', timeoutData); + } +}; + +registerBidder(spec); diff --git a/modules/panxoBidAdapter.md b/modules/panxoBidAdapter.md new file mode 100644 index 00000000000..17a1df185f9 --- /dev/null +++ b/modules/panxoBidAdapter.md @@ -0,0 +1,229 @@ +# Overview + +``` +Module Name: Panxo Bid Adapter +Module Type: Bidder Adapter +Maintainer: tech@panxo.ai +``` + +# Description + +Panxo is a specialized SSP for AI-referred traffic monetization. This adapter enables publishers to monetize traffic coming from AI assistants like ChatGPT, Perplexity, Claude, and Gemini through Prebid.js header bidding. + +**Important**: This adapter requires the Panxo Signal script to be installed on the publisher's page. The Signal script must load before Prebid.js to ensure proper user identification and AI traffic detection. + +# Prerequisites + +1. Register your property at [app.panxo.ai](https://app.panxo.ai) +2. Obtain your `propertyKey` from the Panxo dashboard +3. Install the Panxo Signal script in your page's ``: + +```html + +``` + +# Bid Params + +| Name | Scope | Description | Example | Type | +|------|-------|-------------|---------|------| +| `propertyKey` | required | Your unique property identifier from Panxo dashboard | `'abc123def456'` | `string` | +| `floor` | optional | Minimum CPM floor price in USD | `0.50` | `number` | + +# Configuration Example + +```javascript +var adUnits = [{ + code: 'banner-ad', + mediaTypes: { + banner: { + sizes: [[300, 250], [728, 90]] + } + }, + bids: [{ + bidder: 'panxo', + params: { + propertyKey: 'your-property-key-here' + } + }] +}]; +``` + +# Full Page Example + +```html + + + + + + + + + + + + +
+ + +``` + +# Supported Media Types + +| Type | Support | +|------|---------| +| Banner | Yes | +| Video | No | +| Native | No | + +# Privacy & Consent + +**IAB TCF Global Vendor List ID: 1527** + +This adapter is registered with the IAB Europe Transparency and Consent Framework. Publishers using a CMP (Consent Management Platform) should ensure Panxo (Vendor ID 1527) is included in their vendor list. + +This adapter supports: + +- **GDPR/TCF 2.0**: Consent string is passed in bid requests. GVL ID: 1527 +- **CCPA/US Privacy**: USP string is passed in bid requests +- **GPP**: Global Privacy Platform strings are supported +- **COPPA**: Child-directed content flags are respected + +## CMP Configuration + +If you use a Consent Management Platform (Cookiebot, OneTrust, Quantcast Choice, etc.), ensure that: + +1. Panxo (Vendor ID: 1527) is included in your vendor list +2. Users can grant/deny consent specifically for Panxo +3. The CMP loads before Prebid.js to ensure consent is available + +Example TCF configuration with Prebid: + +```javascript +pbjs.setConfig({ + consentManagement: { + gdpr: { + cmpApi: 'iab', + timeout: 8000, + defaultGdprScope: true + }, + usp: { + cmpApi: 'iab', + timeout: 1000 + } + } +}); +``` + +# User Sync + +Panxo supports pixel-based user sync. Enable it in your Prebid configuration: + +```javascript +pbjs.setConfig({ + userSync: { + filterSettings: { + pixel: { + bidders: ['panxo'], + filter: 'include' + } + } + } +}); +``` + +# First Party Data + +This adapter supports First Party Data via the `ortb2` configuration: + +```javascript +pbjs.setConfig({ + ortb2: { + site: { + name: 'Example Site', + cat: ['IAB1'], + content: { + keywords: 'technology, ai' + } + }, + user: { + data: [{ + name: 'example-data-provider', + segment: [{ id: 'segment-1' }] + }] + } + } +}); +``` + +# Supply Chain (schain) + +Supply chain information is automatically passed when configured: + +```javascript +pbjs.setConfig({ + schain: { + validation: 'relaxed', + config: { + ver: '1.0', + complete: 1, + nodes: [{ + asi: 'publisher-domain.com', + sid: '12345', + hp: 1 + }] + } + } +}); +``` + +# Floor Prices + +This adapter supports the Prebid Price Floors Module. Configure floors as needed: + +```javascript +pbjs.setConfig({ + floors: { + enforcement: { floorDeals: true }, + data: { + default: 0.50, + schema: { fields: ['mediaType'] }, + values: { 'banner': 0.50 } + } + } +}); +``` + +# Win Notifications + +This adapter automatically fires win notification URLs (nurl) when a bid wins the auction. No additional configuration is required. + +# Contact + +For support or questions: +- Email: tech@panxo.ai +- Documentation: https://docs.panxo.ai diff --git a/test/spec/modules/panxoBidAdapter_spec.js b/test/spec/modules/panxoBidAdapter_spec.js new file mode 100644 index 00000000000..4ce770aec12 --- /dev/null +++ b/test/spec/modules/panxoBidAdapter_spec.js @@ -0,0 +1,346 @@ +import { expect } from 'chai'; +import { spec, storage } from 'modules/panxoBidAdapter.js'; +import { BANNER } from 'src/mediaTypes.js'; + +describe('PanxoBidAdapter', function () { + const PROPERTY_KEY = 'abc123def456'; + const USER_ID = 'test-user-id-12345'; + + // Mock storage.getDataFromLocalStorage + let getDataStub; + + beforeEach(function () { + getDataStub = sinon.stub(storage, 'getDataFromLocalStorage'); + getDataStub.withArgs('panxo_uid').returns(USER_ID); + }); + + afterEach(function () { + getDataStub.restore(); + }); + + describe('isBidRequestValid', function () { + it('should return true when propertyKey is present', function () { + const bid = { + bidder: 'panxo', + params: { propertyKey: PROPERTY_KEY }, + mediaTypes: { banner: { sizes: [[300, 250]] } } + }; + expect(spec.isBidRequestValid(bid)).to.be.true; + }); + + it('should return false when propertyKey is missing', function () { + const bid = { + bidder: 'panxo', + params: {}, + mediaTypes: { banner: { sizes: [[300, 250]] } } + }; + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + + it('should return false when banner mediaType is missing', function () { + const bid = { + bidder: 'panxo', + params: { propertyKey: PROPERTY_KEY }, + mediaTypes: { video: {} } + }; + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + }); + + describe('buildRequests', function () { + const bidderRequest = { + bidderRequestId: 'test-request-id', + auctionId: 'test-auction-id', + timeout: 1500, + refererInfo: { + page: 'https://example.com/page', + domain: 'example.com', + ref: 'https://google.com' + } + }; + + const validBidRequests = [{ + bidder: 'panxo', + bidId: 'bid-id-1', + adUnitCode: 'ad-unit-1', + params: { propertyKey: PROPERTY_KEY }, + mediaTypes: { banner: { sizes: [[300, 250], [728, 90]] } } + }]; + + it('should build a valid OpenRTB request', function () { + const requests = spec.buildRequests(validBidRequests, bidderRequest); + + expect(requests).to.be.an('array').with.lengthOf(1); + expect(requests[0].method).to.equal('POST'); + expect(requests[0].url).to.include('panxo-sys.com/openrtb/2.5/bid'); + expect(requests[0].url).to.include(`key=${PROPERTY_KEY}`); + expect(requests[0].data).to.be.an('object'); + }); + + it('should include user.buyeruid from localStorage', function () { + const requests = spec.buildRequests(validBidRequests, bidderRequest); + + expect(requests[0].data.user).to.be.an('object'); + expect(requests[0].data.user.buyeruid).to.equal(USER_ID); + }); + + it('should build correct impressions', function () { + const requests = spec.buildRequests(validBidRequests, bidderRequest); + + expect(requests[0].data.imp).to.be.an('array'); + expect(requests[0].data.imp[0].id).to.equal('bid-id-1'); + expect(requests[0].data.imp[0].banner.format).to.have.lengthOf(2); + expect(requests[0].data.imp[0].tagid).to.equal('ad-unit-1'); + }); + + it('should return empty array when panxo_uid is not found', function () { + getDataStub.withArgs('panxo_uid').returns(null); + const requests = spec.buildRequests(validBidRequests, bidderRequest); + + expect(requests).to.be.an('array').that.is.empty; + }); + + it('should include GDPR consent when gdprApplies is true', function () { + const gdprBidderRequest = { + ...bidderRequest, + gdprConsent: { + gdprApplies: true, + consentString: 'CO-test-consent-string' + } + }; + const requests = spec.buildRequests(validBidRequests, gdprBidderRequest); + + expect(requests[0].data.regs.ext.gdpr).to.equal(1); + expect(requests[0].data.user.ext.consent).to.equal('CO-test-consent-string'); + }); + + it('should not include gdpr flag when gdprApplies is undefined', function () { + const gdprBidderRequest = { + ...bidderRequest, + gdprConsent: { + gdprApplies: undefined, + consentString: 'CO-test-consent-string' + } + }; + const requests = spec.buildRequests(validBidRequests, gdprBidderRequest); + + expect(requests[0].data.regs.ext.gdpr).to.be.undefined; + expect(requests[0].data.user.ext.consent).to.equal('CO-test-consent-string'); + }); + + it('should include USP consent when available', function () { + const uspBidderRequest = { + ...bidderRequest, + uspConsent: '1YNN' + }; + const requests = spec.buildRequests(validBidRequests, uspBidderRequest); + + expect(requests[0].data.regs.ext.us_privacy).to.equal('1YNN'); + }); + + it('should include schain when available', function () { + const schainBidderRequest = { + ...bidderRequest, + ortb2: { + source: { + ext: { + schain: { + ver: '1.0', + complete: 1, + nodes: [{ asi: 'example.com', sid: '12345', hp: 1 }] + } + } + } + } + }; + const requests = spec.buildRequests(validBidRequests, schainBidderRequest); + + expect(requests[0].data.source.ext.schain).to.deep.equal(schainBidderRequest.ortb2.source.ext.schain); + }); + + it('should use floor from getFloor function', function () { + const bidWithFloor = [{ + ...validBidRequests[0], + getFloor: () => ({ currency: 'USD', floor: 1.50 }) + }]; + const requests = spec.buildRequests(bidWithFloor, bidderRequest); + + expect(requests[0].data.imp[0].bidfloor).to.equal(1.50); + }); + + it('should include full ortb2Imp object in impression', function () { + const bidWithOrtb2Imp = [{ + ...validBidRequests[0], + ortb2Imp: { + instl: 1, + ext: { data: { customField: 'value' } } + } + }]; + const requests = spec.buildRequests(bidWithOrtb2Imp, bidderRequest); + + expect(requests[0].data.imp[0].instl).to.equal(1); + expect(requests[0].data.imp[0].ext.data.customField).to.equal('value'); + }); + + it('should split requests by different propertyKeys', function () { + const multiPropertyBids = [ + { + bidder: 'panxo', + bidId: 'bid-id-1', + adUnitCode: 'ad-unit-1', + params: { propertyKey: 'property-a' }, + mediaTypes: { banner: { sizes: [[300, 250]] } } + }, + { + bidder: 'panxo', + bidId: 'bid-id-2', + adUnitCode: 'ad-unit-2', + params: { propertyKey: 'property-b' }, + mediaTypes: { banner: { sizes: [[728, 90]] } } + } + ]; + const requests = spec.buildRequests(multiPropertyBids, bidderRequest); + + expect(requests).to.have.lengthOf(2); + expect(requests[0].url).to.include('key=property-a'); + expect(requests[1].url).to.include('key=property-b'); + }); + }); + + describe('interpretResponse', function () { + const request = { + bidderRequest: { + bids: [{ bidId: 'bid-id-1', adUnitCode: 'ad-unit-1' }] + } + }; + + const serverResponse = { + body: { + id: 'response-id', + seatbid: [{ + seat: 'panxo', + bid: [{ + impid: 'bid-id-1', + price: 2.50, + w: 300, + h: 250, + adm: '
Ad creative
', + crid: 'creative-123', + adomain: ['advertiser.com'], + nurl: 'https://panxo-sys.com/win?price=${AUCTION_PRICE}' + }] + }], + cur: 'USD' + } + }; + + it('should parse valid bid response', function () { + const bids = spec.interpretResponse(serverResponse, request); + + expect(bids).to.have.lengthOf(1); + expect(bids[0].requestId).to.equal('bid-id-1'); + expect(bids[0].cpm).to.equal(2.50); + expect(bids[0].width).to.equal(300); + expect(bids[0].height).to.equal(250); + expect(bids[0].currency).to.equal('USD'); + expect(bids[0].netRevenue).to.be.true; + expect(bids[0].ad).to.equal('
Ad creative
'); + expect(bids[0].meta.advertiserDomains).to.include('advertiser.com'); + }); + + it('should return empty array for empty response', function () { + const emptyResponse = { body: {} }; + const bids = spec.interpretResponse(emptyResponse, request); + + expect(bids).to.be.an('array').that.is.empty; + }); + + it('should return empty array for no seatbid', function () { + const noSeatbidResponse = { body: { id: 'test', seatbid: [] } }; + const bids = spec.interpretResponse(noSeatbidResponse, request); + + expect(bids).to.be.an('array').that.is.empty; + }); + + it('should include nurl in bid response', function () { + const bids = spec.interpretResponse(serverResponse, request); + + expect(bids[0].nurl).to.include('panxo-sys.com/win'); + }); + }); + + describe('getUserSyncs', function () { + it('should return pixel sync when enabled', function () { + const syncOptions = { pixelEnabled: true }; + const syncs = spec.getUserSyncs(syncOptions); + + expect(syncs).to.have.lengthOf(1); + expect(syncs[0].type).to.equal('image'); + expect(syncs[0].url).to.include('panxo-sys.com/usersync'); + }); + + it('should return empty array when pixel sync disabled', function () { + const syncOptions = { pixelEnabled: false }; + const syncs = spec.getUserSyncs(syncOptions); + + expect(syncs).to.be.an('array').that.is.empty; + }); + + it('should include GDPR params when gdprApplies is true', function () { + const syncOptions = { pixelEnabled: true }; + const gdprConsent = { gdprApplies: true, consentString: 'test-consent' }; + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent); + + expect(syncs[0].url).to.include('gdpr=1'); + expect(syncs[0].url).to.include('gdpr_consent=test-consent'); + }); + + it('should not include gdpr flag when gdprApplies is undefined', function () { + const syncOptions = { pixelEnabled: true }; + const gdprConsent = { gdprApplies: undefined, consentString: 'test-consent' }; + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent); + + expect(syncs[0].url).to.not.include('gdpr='); + expect(syncs[0].url).to.include('gdpr_consent=test-consent'); + }); + + it('should include USP params when available', function () { + const syncOptions = { pixelEnabled: true }; + const uspConsent = '1YNN'; + const syncs = spec.getUserSyncs(syncOptions, [], null, uspConsent); + + expect(syncs[0].url).to.include('us_privacy=1YNN'); + }); + }); + + describe('onBidWon', function () { + it('should fire win notification pixel', function () { + const bid = { + nurl: 'https://panxo-sys.com/win?price=${AUCTION_PRICE}', + cpm: 2.50 + }; + + // Mock document.createElement + const imgStub = { src: '', style: {} }; + const createElementStub = sinon.stub(document, 'createElement').returns(imgStub); + const appendChildStub = sinon.stub(document.body, 'appendChild'); + + spec.onBidWon(bid); + + expect(imgStub.src).to.include('price=2.5'); + + createElementStub.restore(); + appendChildStub.restore(); + }); + }); + + describe('spec properties', function () { + it('should have correct bidder code', function () { + expect(spec.code).to.equal('panxo'); + }); + + it('should support banner media type', function () { + expect(spec.supportedMediaTypes).to.include(BANNER); + }); + }); +}); From f2c15cb75c5a2d597501535faeeb1ac83a811159 Mon Sep 17 00:00:00 2001 From: donnychang Date: Fri, 23 Jan 2026 05:30:52 +0800 Subject: [PATCH 137/248] Bridgewell Bid Adapter: expand request data (#14320) * enhance adapter with additional bid parameters * Add additional bid parameters to tests of bridgewellBidAdapter * pass mediaType and size to getFloor --------- Co-authored-by: Laneser --- modules/bridgewellBidAdapter.js | 78 ++++++- .../spec/modules/bridgewellBidAdapter_spec.js | 196 +++++++++++++++++- 2 files changed, 258 insertions(+), 16 deletions(-) diff --git a/modules/bridgewellBidAdapter.js b/modules/bridgewellBidAdapter.js index 0cddb617799..80e98dbd37e 100644 --- a/modules/bridgewellBidAdapter.js +++ b/modules/bridgewellBidAdapter.js @@ -45,33 +45,82 @@ export const spec = { validBidRequests = convertOrtbRequestToProprietaryNative(validBidRequests); const adUnits = []; - var bidderUrl = REQUEST_ENDPOINT + Math.random(); + const bidderUrl = REQUEST_ENDPOINT + Math.random(); _each(validBidRequests, function (bid) { + const passthrough = bid.ortb2Imp?.ext?.prebid?.passthrough; + const filteredPassthrough = passthrough ? Object.fromEntries( + Object.entries({ + bucket: passthrough.bucket, + client: passthrough.client, + gamAdCode: passthrough.gamAdCode, + gamLoc: passthrough.gamLoc, + colo: passthrough.colo, + device: passthrough.device, + lang: passthrough.lang, + pt: passthrough.pt, + region: passthrough.region, + site: passthrough.site, + ver: passthrough.ver + }).filter(([_, value]) => value !== undefined) + ) : undefined; + const adUnit = { adUnitCode: bid.adUnitCode, requestId: bid.bidId, + transactionId: bid.transactionId, + adUnitId: bid.adUnitId, + sizes: bid.sizes, mediaTypes: bid.mediaTypes || { banner: { sizes: bid.sizes } }, - userIds: bid.userId || {}, - userIdAsEids: bid.userIdAsEids || {} + ortb2Imp: { + ext: { + prebid: { + passthrough: filteredPassthrough + }, + data: { + adserver: { + name: bid.ortb2Imp?.ext?.data?.adserver?.name, + adslot: bid.ortb2Imp?.ext?.data?.adserver?.adslot + }, + pbadslot: bid.ortb2Imp?.ext?.data?.pbadslot + }, + gpid: bid.ortb2Imp?.ext?.gpid + }, + banner: { + pos: bid.ortb2Imp?.banner?.pos + } + } }; - if (bid.params.cid) { + + if (bid.params?.cid) { adUnit.cid = bid.params.cid; - } else { + } else if (bid.params?.ChannelID) { adUnit.ChannelID = bid.params.ChannelID; } + + let floorInfo = {}; + if (typeof bid.getFloor === 'function') { + const mediaType = bid.mediaTypes?.banner ? BANNER : (bid.mediaTypes?.native ? NATIVE : '*'); + const sizes = bid.mediaTypes?.banner?.sizes || bid.sizes || []; + const size = sizes.length === 1 ? sizes[0] : '*'; + floorInfo = bid.getFloor({currency: 'USD', mediaType: mediaType, size: size}) || {}; + } + adUnit.floor = floorInfo.floor; + adUnit.currency = floorInfo.currency; adUnits.push(adUnit); }); let topUrl = ''; - if (bidderRequest && bidderRequest.refererInfo) { + if (bidderRequest?.refererInfo?.page) { topUrl = bidderRequest.refererInfo.page; } + const firstBid = validBidRequests[0] || {}; + return { method: 'POST', url: bidderUrl, @@ -82,10 +131,23 @@ export const spec = { }, inIframe: inIframe(), url: topUrl, - referrer: bidderRequest.refererInfo.ref, + referrer: bidderRequest?.refererInfo?.ref, + auctionId: firstBid?.auctionId, + bidderRequestId: firstBid?.bidderRequestId, + src: firstBid?.src, + userIds: firstBid?.userId || {}, + userIdAsEids: firstBid?.userIdAsEids || [], + auctionsCount: firstBid?.auctionsCount, + bidRequestsCount: firstBid?.bidRequestsCount, + bidderRequestsCount: firstBid?.bidderRequestsCount, + bidderWinsCount: firstBid?.bidderWinsCount, + deferBilling: firstBid?.deferBilling, + metrics: firstBid?.metrics || {}, adUnits: adUnits, // TODO: please do not send internal data structures over the network - refererInfo: bidderRequest.refererInfo.legacy}, + refererInfo: bidderRequest?.refererInfo?.legacy, + ortb2: bidderRequest?.ortb2 + }, validBidRequests: validBidRequests }; }, diff --git a/test/spec/modules/bridgewellBidAdapter_spec.js b/test/spec/modules/bridgewellBidAdapter_spec.js index 3802d97614d..edb8286f931 100644 --- a/test/spec/modules/bridgewellBidAdapter_spec.js +++ b/test/spec/modules/bridgewellBidAdapter_spec.js @@ -165,16 +165,20 @@ describe('bridgewellBidAdapter', function () { expect(payload).to.be.an('object'); expect(payload.adUnits).to.be.an('array'); expect(payload.url).to.exist.and.to.equal('https://www.bridgewell.com/'); + expect(payload.userIds).to.deep.equal(userId); + expect(payload.userIdAsEids).to.deep.equal(userIdAsEids); + expect(payload.auctionId).to.equal('1d1a030790a475'); + expect(payload.bidderRequestId).to.equal('22edbae2733bf6'); for (let i = 0, max_i = payload.adUnits.length; i < max_i; i++) { const u = payload.adUnits[i]; expect(u).to.have.property('ChannelID').that.is.a('string'); expect(u).to.not.have.property('cid'); expect(u).to.have.property('adUnitCode').and.to.equal('adunit-code-2'); expect(u).to.have.property('requestId').and.to.equal('3150ccb55da321'); - expect(u).to.have.property('userIds'); - expect(u.userIds).to.deep.equal(userId); - expect(u).to.have.property('userIdAsEids'); - expect(u.userIdAsEids).to.deep.equal(userIdAsEids); + expect(u).to.have.property('transactionId'); + expect(u).to.have.property('sizes'); + expect(u).to.have.property('mediaTypes'); + expect(u).to.have.property('ortb2Imp'); } }); @@ -213,16 +217,20 @@ describe('bridgewellBidAdapter', function () { expect(payload).to.be.an('object'); expect(payload.adUnits).to.be.an('array'); expect(payload.url).to.exist.and.to.equal('https://www.bridgewell.com/'); + expect(payload.userIds).to.deep.equal(userId); + expect(payload.userIdAsEids).to.deep.equal(userIdAsEids); + expect(payload.auctionId).to.equal('1d1a030790a475'); + expect(payload.bidderRequestId).to.equal('22edbae2733bf6'); for (let i = 0, max_i = payload.adUnits.length; i < max_i; i++) { const u = payload.adUnits[i]; expect(u).to.have.property('cid').that.is.a('number'); expect(u).to.not.have.property('ChannelID'); expect(u).to.have.property('adUnitCode').and.to.equal('adunit-code-2'); expect(u).to.have.property('requestId').and.to.equal('3150ccb55da321'); - expect(u).to.have.property('userIds'); - expect(u.userIds).to.deep.equal(userId); - expect(u).to.have.property('userIdAsEids'); - expect(u.userIdAsEids).to.deep.equal(userIdAsEids); + expect(u).to.have.property('transactionId'); + expect(u).to.have.property('sizes'); + expect(u).to.have.property('mediaTypes'); + expect(u).to.have.property('ortb2Imp'); } }); @@ -240,6 +248,178 @@ describe('bridgewellBidAdapter', function () { const validBidRequests = request.validBidRequests; expect(validBidRequests).to.deep.equal(bidRequests); }); + + it('should include ortb2Imp fields in adUnit', function () { + const bidderRequest = { + refererInfo: { + page: 'https://www.bridgewell.com/', + legacy: { + referer: 'https://www.bridgewell.com/', + } + } + } + const bidRequestsWithOrtb2 = [ + { + 'bidder': 'bridgewell', + 'params': { + 'cid': 1234, + }, + 'adUnitCode': 'adunit-code-1', + 'transactionId': 'trans-123', + 'adUnitId': 'adunit-123', + 'sizes': [[300, 250]], + 'mediaTypes': { + 'banner': { + 'sizes': [[300, 250]] + } + }, + 'bidId': 'bid-123', + 'ortb2Imp': { + 'ext': { + 'data': { + 'adserver': { + 'name': 'gam', + 'adslot': '/1234/test' + }, + 'pbadslot': '/1234/test-pbadslot' + }, + 'gpid': 'test-gpid', + 'prebid': { + 'passthrough': { + 'bucket': 'test-bucket', + 'client': 'test-client', + 'gamAdCode': 'test-gam', + 'undefinedField': undefined + } + } + }, + 'banner': { + 'pos': 1 + } + }, + 'userId': userId, + 'userIdAsEids': userIdAsEids, + } + ]; + + const request = spec.buildRequests(bidRequestsWithOrtb2, bidderRequest); + const adUnit = request.data.adUnits[0]; + + expect(adUnit.transactionId).to.equal('trans-123'); + expect(adUnit.adUnitId).to.equal('adunit-123'); + expect(adUnit.sizes).to.deep.equal([[300, 250]]); + expect(adUnit.ortb2Imp.ext.data.adserver.name).to.equal('gam'); + expect(adUnit.ortb2Imp.ext.data.adserver.adslot).to.equal('/1234/test'); + expect(adUnit.ortb2Imp.ext.data.pbadslot).to.equal('/1234/test-pbadslot'); + expect(adUnit.ortb2Imp.ext.gpid).to.equal('test-gpid'); + expect(adUnit.ortb2Imp.banner.pos).to.equal(1); + expect(adUnit.ortb2Imp.ext.prebid.passthrough).to.deep.equal({ + bucket: 'test-bucket', + client: 'test-client', + gamAdCode: 'test-gam' + }); + expect(adUnit.ortb2Imp.ext.prebid.passthrough).to.not.have.property('undefinedField'); + }); + + it('should include floor information when getFloor is available', function () { + const bidderRequest = { + refererInfo: { + page: 'https://www.bridgewell.com/', + legacy: { + referer: 'https://www.bridgewell.com/', + } + } + } + const bidRequestsWithFloor = [ + { + 'bidder': 'bridgewell', + 'params': { + 'cid': 1234, + }, + 'adUnitCode': 'adunit-code-1', + 'mediaTypes': { + 'banner': { + 'sizes': [[300, 250]] + } + }, + 'bidId': 'bid-123', + 'getFloor': function() { + return { + floor: 1.5, + currency: 'USD' + }; + }, + 'userId': userId, + 'userIdAsEids': userIdAsEids, + } + ]; + + const request = spec.buildRequests(bidRequestsWithFloor, bidderRequest); + const adUnit = request.data.adUnits[0]; + + expect(adUnit.floor).to.equal(1.5); + expect(adUnit.currency).to.equal('USD'); + }); + + it('should include additional bid request fields in payload', function () { + const bidderRequest = { + refererInfo: { + page: 'https://www.bridgewell.com/', + ref: 'https://www.referrer.com/', + legacy: { + referer: 'https://www.bridgewell.com/', + } + }, + ortb2: { + site: { + name: 'test-site' + } + } + } + const bidRequestsWithMetrics = [ + { + 'bidder': 'bridgewell', + 'params': { + 'cid': 1234, + }, + 'adUnitCode': 'adunit-code-1', + 'mediaTypes': { + 'banner': { + 'sizes': [[300, 250]] + } + }, + 'bidId': 'bid-123', + 'bidderRequestId': 'bidder-req-123', + 'auctionId': 'auction-123', + 'src': 's2s', + 'auctionsCount': 5, + 'bidRequestsCount': 10, + 'bidderRequestsCount': 3, + 'bidderWinsCount': 2, + 'deferBilling': true, + 'metrics': { + 'test': 'metric' + }, + 'userId': userId, + 'userIdAsEids': userIdAsEids, + } + ]; + + const request = spec.buildRequests(bidRequestsWithMetrics, bidderRequest); + const payload = request.data; + + expect(payload.auctionId).to.equal('auction-123'); + expect(payload.bidderRequestId).to.equal('bidder-req-123'); + expect(payload.src).to.equal('s2s'); + expect(payload.auctionsCount).to.equal(5); + expect(payload.bidRequestsCount).to.equal(10); + expect(payload.bidderRequestsCount).to.equal(3); + expect(payload.bidderWinsCount).to.equal(2); + expect(payload.deferBilling).to.equal(true); + expect(payload.metrics).to.deep.equal({test: 'metric'}); + expect(payload.referrer).to.equal('https://www.referrer.com/'); + expect(payload.ortb2).to.deep.equal({site: {name: 'test-site'}}); + }); }); describe('interpretResponse', function () { From b121eda695f82d8d2e6e8189f8fc6f861a3dbf5e Mon Sep 17 00:00:00 2001 From: Tjorven Date: Fri, 23 Jan 2026 16:15:29 +0100 Subject: [PATCH 138/248] Remove "emetriq" as "appnexus" alias (#14369) --- libraries/appnexusUtils/anUtils.js | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/appnexusUtils/anUtils.js b/libraries/appnexusUtils/anUtils.js index 89cbaa95040..6a87625162b 100644 --- a/libraries/appnexusUtils/anUtils.js +++ b/libraries/appnexusUtils/anUtils.js @@ -12,7 +12,6 @@ export function convertCamelToUnderscore(value) { export const appnexusAliases = [ { code: 'appnexusAst', gvlid: 32 }, - { code: 'emetriq', gvlid: 213 }, { code: 'pagescience', gvlid: 32 }, { code: 'gourmetads', gvlid: 32 }, { code: 'newdream', gvlid: 32 }, From 9f69dc9122e0eb58a894eda78b6c34d719ad5837 Mon Sep 17 00:00:00 2001 From: Tomas Roos Date: Mon, 26 Jan 2026 14:25:18 +0100 Subject: [PATCH 139/248] Added size ids for 1080x1920 (#14376) --- modules/rubiconBidAdapter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/rubiconBidAdapter.js b/modules/rubiconBidAdapter.js index a59f6b6379e..a3c05dabe5d 100644 --- a/modules/rubiconBidAdapter.js +++ b/modules/rubiconBidAdapter.js @@ -113,6 +113,7 @@ var sizeMap = { 195: '600x300', 198: '640x360', 199: '640x200', + 210: '1080x1920', 213: '1030x590', 214: '980x360', 221: '1x1', From b1836aeb5ca8b161d4f4fde88846bb3f6506764f Mon Sep 17 00:00:00 2001 From: DimaIntentIQ <139111483+DimaIntentIQ@users.noreply.github.com> Date: Mon, 26 Jan 2026 15:30:23 +0200 Subject: [PATCH 140/248] IntentIq ID Module & Analytical Adapter: increase default server call time, support region, bugfixes (#14374) * AGT-734: Support region for prebid modules (merge 0_3_4 with master) * AGT-730: move spd to partnerData (merge 0_3_4 to master) * AGT-765: Send ad size and pos in impression reporting module (#58) * AGT-765: pos and size * AGT-765: Tests for position resolving * AGT-765: Test fix * AGT-756: Missed vrref in payload fix (#56) * AGT-756: vrref in payload fix * remove comment * AGT-756: Fix vrref bug * AGT-756: Remove comments * AGT-756: Test for vrref * update requestRtt to show more clear time (#59) * AGT-739: Change time to call server (#57) * fix typo, remove parameter duplication (#60) * fix typo, remove parameter duplication * update doc examples * AGT-721: Documentation for region, size, pos (#61) * fix region parameter in table (#62) * update tests * remove unused test --------- Co-authored-by: dmytro-po --- .../intentIqConstants/intentIqConstants.js | 1 + libraries/intentIqUtils/getRefferer.js | 33 ++-- libraries/intentIqUtils/getUnitPosition.js | 17 ++ libraries/intentIqUtils/intentIqConfig.js | 36 +++- libraries/intentIqUtils/urlUtils.js | 10 +- modules/intentIqAnalyticsAdapter.js | 37 ++-- modules/intentIqAnalyticsAdapter.md | 11 +- modules/intentIqIdSystem.js | 68 +++---- modules/intentIqIdSystem.md | 5 +- .../modules/intentIqAnalyticsAdapter_spec.js | 180 +++++++++++++++--- test/spec/modules/intentIqIdSystem_spec.js | 101 +++++++--- 11 files changed, 376 insertions(+), 123 deletions(-) create mode 100644 libraries/intentIqUtils/getUnitPosition.js diff --git a/libraries/intentIqConstants/intentIqConstants.js b/libraries/intentIqConstants/intentIqConstants.js index 0fa479a19ad..6bcf994d2b4 100644 --- a/libraries/intentIqConstants/intentIqConstants.js +++ b/libraries/intentIqConstants/intentIqConstants.js @@ -12,6 +12,7 @@ export const GVLID = "1323"; export const VERSION = 0.33; export const PREBID = "pbjs"; export const HOURS_24 = 86400000; +export const HOURS_72 = HOURS_24 * 3; export const INVALID_ID = "INVALID_ID"; diff --git a/libraries/intentIqUtils/getRefferer.js b/libraries/intentIqUtils/getRefferer.js index 20c6a6a5b47..2ed8a668a56 100644 --- a/libraries/intentIqUtils/getRefferer.js +++ b/libraries/intentIqUtils/getRefferer.js @@ -4,19 +4,25 @@ import { getWindowTop, logError, getWindowLocation, getWindowSelf } from '../../ * Determines if the script is running inside an iframe and retrieves the URL. * @return {string} The encoded vrref value representing the relevant URL. */ -export function getReferrer() { + +export function getCurrentUrl() { + let url = ''; try { - const url = getWindowSelf() === getWindowTop() - ? getWindowLocation().href - : getWindowTop().location.href; + if (getWindowSelf() === getWindowTop()) { + // top page + url = getWindowLocation().href || ''; + } else { + // iframe + url = getWindowTop().location.href || ''; + } if (url.length >= 50) { - const { origin } = new URL(url); - return origin; - } + return new URL(url).origin; + }; return url; } catch (error) { + // Handling access errors, such as cross-domain restrictions logError(`Error accessing location: ${error}`); return ''; } @@ -31,12 +37,12 @@ export function getReferrer() { * @return {string} The modified URL with appended `vrref` or `fui` parameters. */ export function appendVrrefAndFui(url, domainName) { - const fullUrl = encodeURIComponent(getReferrer()); + const fullUrl = getCurrentUrl(); if (fullUrl) { return (url += '&vrref=' + getRelevantRefferer(domainName, fullUrl)); } url += '&fui=1'; // Full Url Issue - url += '&vrref=' + encodeURIComponent(domainName || ''); + if (domainName) url += '&vrref=' + encodeURIComponent(domainName); return url; } @@ -47,10 +53,9 @@ export function appendVrrefAndFui(url, domainName) { * @return {string} The relevant referrer */ export function getRelevantRefferer(domainName, fullUrl) { - if (domainName && isDomainIncluded(fullUrl, domainName)) { - return fullUrl; - } - return domainName ? encodeURIComponent(domainName) : fullUrl; + return encodeURIComponent( + domainName && isDomainIncluded(fullUrl, domainName) ? fullUrl : (domainName || fullUrl) + ); } /** @@ -61,7 +66,7 @@ export function getRelevantRefferer(domainName, fullUrl) { */ export function isDomainIncluded(fullUrl, domainName) { try { - return fullUrl.includes(domainName); + return new URL(fullUrl).hostname === domainName; } catch (error) { logError(`Invalid URL provided: ${error}`); return false; diff --git a/libraries/intentIqUtils/getUnitPosition.js b/libraries/intentIqUtils/getUnitPosition.js new file mode 100644 index 00000000000..025a06a9964 --- /dev/null +++ b/libraries/intentIqUtils/getUnitPosition.js @@ -0,0 +1,17 @@ +export function getUnitPosition(pbjs, adUnitCode) { + const adUnits = pbjs?.adUnits; + if (!Array.isArray(adUnits) || !adUnitCode) return; + + for (let i = 0; i < adUnits.length; i++) { + const adUnit = adUnits[i]; + if (adUnit?.code !== adUnitCode) continue; + + const mediaTypes = adUnit?.mediaTypes; + if (!mediaTypes || typeof mediaTypes !== 'object') return; + + const firstKey = Object.keys(mediaTypes)[0]; + const pos = mediaTypes[firstKey]?.pos; + + return typeof pos === 'number' ? pos : undefined; + } +} diff --git a/libraries/intentIqUtils/intentIqConfig.js b/libraries/intentIqUtils/intentIqConfig.js index 3f2572f14fa..41c731f646b 100644 --- a/libraries/intentIqUtils/intentIqConfig.js +++ b/libraries/intentIqUtils/intentIqConfig.js @@ -1,3 +1,33 @@ -export const iiqServerAddress = (configParams, gdprDetected) => typeof configParams?.iiqServerAddress === 'string' ? configParams.iiqServerAddress : gdprDetected ? 'https://api-gdpr.intentiq.com' : 'https://api.intentiq.com' -export const iiqPixelServerAddress = (configParams, gdprDetected) => typeof configParams?.iiqPixelServerAddress === 'string' ? configParams.iiqPixelServerAddress : gdprDetected ? 'https://sync-gdpr.intentiq.com' : 'https://sync.intentiq.com' -export const reportingServerAddress = (reportEndpoint, gdprDetected) => reportEndpoint && typeof reportEndpoint === 'string' ? reportEndpoint : gdprDetected ? 'https://reports-gdpr.intentiq.com/report' : 'https://reports.intentiq.com/report' +const REGION_MAPPING = { + gdpr: true, + apac: true, + emea: true +}; + +function checkRegion(region) { + if (typeof region !== 'string') return ''; + const lower = region.toLowerCase(); + return REGION_MAPPING[lower] ? lower : ''; +} + +function buildServerAddress(baseName, region) { + const checkedRegion = checkRegion(region); + if (checkedRegion) return `https://${baseName}-${checkedRegion}.intentiq.com`; + return `https://${baseName}.intentiq.com`; +} + +export const getIiqServerAddress = (configParams = {}) => { + if (typeof configParams?.iiqServerAddress === 'string') return configParams.iiqServerAddress; + return buildServerAddress('api', configParams.region); +}; + +export const iiqPixelServerAddress = (configParams = {}) => { + if (typeof configParams?.iiqPixelServerAddress === 'string') return configParams.iiqPixelServerAddress; + return buildServerAddress('sync', configParams.region); +}; + +export const reportingServerAddress = (reportEndpoint, region) => { + if (reportEndpoint && typeof reportEndpoint === 'string') return reportEndpoint; + const host = buildServerAddress('reports', region); + return `${host}/report`; +}; diff --git a/libraries/intentIqUtils/urlUtils.js b/libraries/intentIqUtils/urlUtils.js index 4cfb8273eab..78579aeb67d 100644 --- a/libraries/intentIqUtils/urlUtils.js +++ b/libraries/intentIqUtils/urlUtils.js @@ -1,5 +1,7 @@ -export function appendSPData (url, firstPartyData) { - const spdParam = firstPartyData?.spd ? encodeURIComponent(typeof firstPartyData.spd === 'object' ? JSON.stringify(firstPartyData.spd) : firstPartyData.spd) : ''; - url += spdParam ? '&spd=' + spdParam : ''; - return url +export function appendSPData (url, partnerData) { + const spdParam = partnerData?.spd ? encodeURIComponent(typeof partnerData.spd === 'object' ? JSON.stringify(partnerData.spd) : partnerData.spd) : ''; + if (!spdParam) { + return url; + } + return `${url}&spd=${spdParam}`; }; diff --git a/modules/intentIqAnalyticsAdapter.js b/modules/intentIqAnalyticsAdapter.js index 946a13ae174..bf179d3e880 100644 --- a/modules/intentIqAnalyticsAdapter.js +++ b/modules/intentIqAnalyticsAdapter.js @@ -5,8 +5,9 @@ import { ajax } from '../src/ajax.js'; import { EVENTS } from '../src/constants.js'; import { detectBrowser } from '../libraries/intentIqUtils/detectBrowserUtils.js'; import { appendSPData } from '../libraries/intentIqUtils/urlUtils.js'; -import { appendVrrefAndFui, getReferrer } from '../libraries/intentIqUtils/getRefferer.js'; +import { appendVrrefAndFui, getCurrentUrl, getRelevantRefferer } from '../libraries/intentIqUtils/getRefferer.js'; import { getCmpData } from '../libraries/intentIqUtils/getCmpData.js'; +import { getUnitPosition } from '../libraries/intentIqUtils/getUnitPosition.js'; import { VERSION, PREBID, @@ -16,10 +17,12 @@ import { reportingServerAddress } from '../libraries/intentIqUtils/intentIqConfi import { handleAdditionalParams } from '../libraries/intentIqUtils/handleAdditionalParams.js'; import { gamPredictionReport } from '../libraries/intentIqUtils/gamPredictionReport.js'; import { defineABTestingGroup } from '../libraries/intentIqUtils/defineABTestingGroupUtils.js'; +import { getGlobal } from '../src/prebidGlobal.js'; const MODULE_NAME = 'iiqAnalytics'; const analyticsType = 'endpoint'; const prebidVersion = '$prebid.version$'; +const pbjs = getGlobal(); export const REPORTER_ID = Date.now() + '_' + getRandom(0, 1000); let globalName; let identityGlobalName; @@ -70,10 +73,7 @@ const PARAMS_NAMES = { const DEFAULT_URL = 'https://reports.intentiq.com/report'; const getDataForDefineURL = () => { - const cmpData = getCmpData(); - const gdprDetected = cmpData.gdprString; - - return [iiqAnalyticsAnalyticsAdapter.initOptions.reportingServerAddress, gdprDetected]; + return [iiqAnalyticsAnalyticsAdapter.initOptions.reportingServerAddress, iiqAnalyticsAnalyticsAdapter.initOptions.region]; }; const getDefaultInitOptions = () => { @@ -92,7 +92,8 @@ const getDefaultInitOptions = () => { abPercentage: null, abTestUuid: null, additionalParams: null, - reportingServerAddress: '' + reportingServerAddress: '', + region: '' } } @@ -123,12 +124,13 @@ function initAdapterConfig(config) { const options = config?.options || {} iiqConfig = options - const { manualWinReportEnabled, gamPredictReporting, reportMethod, reportingServerAddress, adUnitConfig, partner, ABTestingConfigurationSource, browserBlackList, domainName, additionalParams } = options + const { manualWinReportEnabled, gamPredictReporting, reportMethod, reportingServerAddress, region, adUnitConfig, partner, ABTestingConfigurationSource, browserBlackList, domainName, additionalParams } = options iiqAnalyticsAnalyticsAdapter.initOptions.manualWinReportEnabled = manualWinReportEnabled || false; iiqAnalyticsAnalyticsAdapter.initOptions.reportMethod = parseReportingMethod(reportMethod); iiqAnalyticsAnalyticsAdapter.initOptions.gamPredictReporting = typeof gamPredictReporting === 'boolean' ? gamPredictReporting : false; iiqAnalyticsAnalyticsAdapter.initOptions.reportingServerAddress = typeof reportingServerAddress === 'string' ? reportingServerAddress : ''; + iiqAnalyticsAnalyticsAdapter.initOptions.region = typeof region === 'string' ? region : ''; iiqAnalyticsAnalyticsAdapter.initOptions.adUnitConfig = typeof adUnitConfig === 'number' ? adUnitConfig : 1; iiqAnalyticsAnalyticsAdapter.initOptions.configSource = ABTestingConfigurationSource; iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup = defineABTestingGroup(options); @@ -155,7 +157,7 @@ function receivePartnerData() { return false } iiqAnalyticsAnalyticsAdapter.initOptions.fpid = FPD - const { partnerData, clientsHints = '', actualABGroup } = window[identityGlobalName] + const { partnerData, clientHints = '', actualABGroup } = window[identityGlobalName] if (partnerData) { iiqAnalyticsAnalyticsAdapter.initOptions.dataIdsInitialized = true; @@ -172,7 +174,7 @@ function receivePartnerData() { if (actualABGroup) { iiqAnalyticsAnalyticsAdapter.initOptions.currentGroup = actualABGroup; } - iiqAnalyticsAnalyticsAdapter.initOptions.clientsHints = clientsHints; + iiqAnalyticsAnalyticsAdapter.initOptions.clientHints = clientHints; } catch (e) { logError(e); return false; @@ -268,9 +270,10 @@ function getRandom(start, end) { export function preparePayload(data) { const result = getDefaultDataObject(); + const fullUrl = getCurrentUrl(); result[PARAMS_NAMES.partnerId] = iiqAnalyticsAnalyticsAdapter.initOptions.partner; result[PARAMS_NAMES.prebidVersion] = prebidVersion; - result[PARAMS_NAMES.referrer] = getReferrer(); + result[PARAMS_NAMES.referrer] = getRelevantRefferer(iiqAnalyticsAnalyticsAdapter.initOptions.domainName, fullUrl); result[PARAMS_NAMES.terminationCause] = iiqAnalyticsAnalyticsAdapter.initOptions.terminationCause; result[PARAMS_NAMES.clientType] = iiqAnalyticsAnalyticsAdapter.initOptions.clientType; result[PARAMS_NAMES.siteId] = iiqAnalyticsAnalyticsAdapter.initOptions.siteId; @@ -345,6 +348,15 @@ function prepareData(data, result) { if (data.status) { result.status = data.status; } + if (data.size) { + result.size = data.size; + } + if (typeof data.pos === 'number') { + result.pos = data.pos; + } else if (data.adUnitCode) { + const pos = getUnitPosition(pbjs, data.adUnitCode); + if (typeof pos === 'number') result.pos = pos; + } result.prebidAuctionId = data.auctionId || data.prebidAuctionId; @@ -410,6 +422,7 @@ function getDefaultDataObject() { function constructFullUrl(data) { const report = []; const reportMethod = iiqAnalyticsAnalyticsAdapter.initOptions.reportMethod; + const partnerData = window[identityGlobalName]?.partnerData; const currentBrowserLowerCase = detectBrowser(); data = btoa(JSON.stringify(data)); report.push(data); @@ -432,11 +445,11 @@ function constructFullUrl(data) { '&source=' + PREBID + '&uh=' + - encodeURIComponent(iiqAnalyticsAnalyticsAdapter.initOptions.clientsHints) + + encodeURIComponent(iiqAnalyticsAnalyticsAdapter.initOptions.clientHints) + (cmpData.uspString ? '&us_privacy=' + encodeURIComponent(cmpData.uspString) : '') + (cmpData.gppString ? '&gpp=' + encodeURIComponent(cmpData.gppString) : '') + (cmpData.gdprString ? '&gdpr_consent=' + encodeURIComponent(cmpData.gdprString) + '&gdpr=1' : '&gdpr=0'); - url = appendSPData(url, iiqAnalyticsAnalyticsAdapter.initOptions.fpid); + url = appendSPData(url, partnerData); url = appendVrrefAndFui(url, iiqAnalyticsAnalyticsAdapter.initOptions.domainName); if (reportMethod === 'POST') { diff --git a/modules/intentIqAnalyticsAdapter.md b/modules/intentIqAnalyticsAdapter.md index 42f6167c33b..c691496df59 100644 --- a/modules/intentIqAnalyticsAdapter.md +++ b/modules/intentIqAnalyticsAdapter.md @@ -45,11 +45,8 @@ pbjs.enableAnalytics({ provider: 'iiqAnalytics', options: { partner: 1177538, - manualWinReportEnabled: false, - reportMethod: "GET", - adUnitConfig: 1, + ABTestingConfigurationSource: 'IIQServer', domainName: "currentDomain.com", - gamPredictReporting: false } }); ``` @@ -90,7 +87,9 @@ originalCpm: 1.5, // Original CPM value. originalCurrency: 'USD', // Original currency. status: 'rendered', // Auction status, e.g., 'rendered'. placementId: 'div-1' // ID of the ad placement. -adType: 'banner' // Specifies the type of ad served +adType: 'banner', // Specifies the type of ad served, +size: '320x250', // Size of adUnit item, +pos: 0 // The following values are defined in the ORTB 2.5 spec } ``` @@ -108,6 +107,8 @@ adType: 'banner' // Specifies the type of ad served | status | String | Status of the impression. Leave empty or undefined if Prebid is not the bidding platform | rendered | No | | placementId | String | Unique identifier of the ad unit on the webpage that showed this ad | div-1 | No | | adType | String | Specifies the type of ad served. Possible values: “banner“, “video“, “native“, “audio“. | banner | No | +| size | String | Size of adUnit item | '320x250' | No | +| pos | number | The pos field specifies the position of the adUnit on the page according to the OpenRTB 2.5 specification | 0 | No | To report the auction win, call the function as follows: diff --git a/modules/intentIqIdSystem.js b/modules/intentIqIdSystem.js index e10c19f1888..054afe82371 100644 --- a/modules/intentIqIdSystem.js +++ b/modules/intentIqIdSystem.js @@ -5,25 +5,25 @@ * @requires module:modules/userId */ -import {logError, isPlainObject, isStr, isNumber} from '../src/utils.js'; -import {ajax} from '../src/ajax.js'; -import {submodule} from '../src/hook.js' -import {detectBrowser} from '../libraries/intentIqUtils/detectBrowserUtils.js'; -import {appendSPData} from '../libraries/intentIqUtils/urlUtils.js'; +import { logError, isPlainObject, isStr, isNumber } from '../src/utils.js'; +import { ajax } from '../src/ajax.js'; +import { submodule } from '../src/hook.js' +import { detectBrowser } from '../libraries/intentIqUtils/detectBrowserUtils.js'; +import { appendSPData } from '../libraries/intentIqUtils/urlUtils.js'; import { isCHSupported } from '../libraries/intentIqUtils/chUtils.js' -import {appendVrrefAndFui} from '../libraries/intentIqUtils/getRefferer.js'; +import { appendVrrefAndFui } from '../libraries/intentIqUtils/getRefferer.js'; import { getCmpData } from '../libraries/intentIqUtils/getCmpData.js'; -import {readData, storeData, defineStorageType, removeDataByKey, tryParse} from '../libraries/intentIqUtils/storageUtils.js'; +import { readData, storeData, defineStorageType, removeDataByKey, tryParse } from '../libraries/intentIqUtils/storageUtils.js'; import { FIRST_PARTY_KEY, CLIENT_HINTS_KEY, EMPTY, GVLID, VERSION, INVALID_ID, SYNC_REFRESH_MILL, META_DATA_CONSTANT, PREBID, - HOURS_24, CH_KEYS + HOURS_72, CH_KEYS } from '../libraries/intentIqConstants/intentIqConstants.js'; -import {SYNC_KEY} from '../libraries/intentIqUtils/getSyncKey.js'; -import {iiqPixelServerAddress, iiqServerAddress} from '../libraries/intentIqUtils/intentIqConfig.js'; +import { SYNC_KEY } from '../libraries/intentIqUtils/getSyncKey.js'; +import { iiqPixelServerAddress, getIiqServerAddress } from '../libraries/intentIqUtils/intentIqConfig.js'; import { handleAdditionalParams } from '../libraries/intentIqUtils/handleAdditionalParams.js'; import { decryptData, encryptData } from '../libraries/intentIqUtils/cryptionUtils.js'; import { defineABTestingGroup } from '../libraries/intentIqUtils/defineABTestingGroupUtils.js'; @@ -81,7 +81,7 @@ function addUniquenessToUrl(url) { return url; } -function appendFirstPartyData (url, firstPartyData, partnerData) { +function appendFirstPartyData(url, firstPartyData, partnerData) { url += firstPartyData.pid ? '&pid=' + encodeURIComponent(firstPartyData.pid) : ''; url += firstPartyData.pcid ? '&iiqidtype=2&iiqpcid=' + encodeURIComponent(firstPartyData.pcid) : ''; url += firstPartyData.pcidDate ? '&iiqpciddate=' + encodeURIComponent(firstPartyData.pcidDate) : ''; @@ -93,7 +93,7 @@ function verifyIdType(value) { return -1; } -function appendPartnersFirstParty (url, configParams) { +function appendPartnersFirstParty(url, configParams) { const partnerClientId = typeof configParams.partnerClientId === 'string' ? encodeURIComponent(configParams.partnerClientId) : ''; const partnerClientIdType = typeof configParams.partnerClientIdType === 'number' ? verifyIdType(configParams.partnerClientIdType) : -1; @@ -105,7 +105,7 @@ function appendPartnersFirstParty (url, configParams) { return url; } -function appendCMPData (url, cmpData) { +function appendCMPData(url, cmpData) { url += cmpData.uspString ? '&us_privacy=' + encodeURIComponent(cmpData.uspString) : ''; url += cmpData.gppString ? '&gpp=' + encodeURIComponent(cmpData.gppString) : ''; url += cmpData.gdprApplies @@ -114,7 +114,7 @@ function appendCMPData (url, cmpData) { return url } -function appendCounters (url) { +function appendCounters(url) { url += '&jaesc=' + encodeURIComponent(callCount); url += '&jafc=' + encodeURIComponent(failCount); url += '&jaensc=' + encodeURIComponent(noDataCount); @@ -146,7 +146,7 @@ function addMetaData(url, data) { return url + '&fbp=' + data; } -export function initializeGlobalIIQ (partnerId) { +export function initializeGlobalIIQ(partnerId) { if (!globalName || !window[globalName]) { globalName = `iiq_identity_${partnerId}` window[globalName] = {} @@ -171,7 +171,7 @@ export function createPixelUrl(firstPartyData, clientHints, configParams, partne url = appendCMPData(url, cmpData); url = addMetaData(url, sourceMetaDataExternal || sourceMetaData); url = handleAdditionalParams(browser, url, 0, configParams.additionalParams); - url = appendSPData(url, firstPartyData) + url = appendSPData(url, partnerData); url += '&source=' + PREBID; return url; } @@ -184,7 +184,7 @@ function sendSyncRequest(allowedStorage, url, partner, firstPartyData, newUser) const needToDoSync = (Date.now() - (firstPartyData?.date || firstPartyData?.sCal || Date.now())) > SYNC_REFRESH_MILL if (newUser || needToDoSync) { ajax(url, () => { - }, undefined, {method: 'GET', withCredentials: true}); + }, undefined, { method: 'GET', withCredentials: true }); if (firstPartyData?.date) { firstPartyData.date = Date.now() storeData(FIRST_PARTY_KEY_FINAL, JSON.stringify(firstPartyData), allowedStorage, firstPartyData); @@ -193,7 +193,7 @@ function sendSyncRequest(allowedStorage, url, partner, firstPartyData, newUser) } else if (!lastSyncDate || lastSyncElapsedTime > SYNC_REFRESH_MILL) { storeData(SYNC_KEY(partner), Date.now() + '', allowedStorage); ajax(url, () => { - }, undefined, {method: 'GET', withCredentials: true}); + }, undefined, { method: 'GET', withCredentials: true }); } } @@ -285,7 +285,7 @@ export const intentIqIdSubmodule = { * @returns {{intentIqId: {string}}|undefined} */ decode(value) { - return value && INVALID_ID !== value ? {'intentIqId': value} : undefined; + return value && INVALID_ID !== value ? { 'intentIqId': value } : undefined; }, /** @@ -431,7 +431,7 @@ export const intentIqIdSubmodule = { } } - function updateGlobalObj () { + function updateGlobalObj() { if (globalName) { window[globalName].partnerData = partnerData window[globalName].firstPartyData = firstPartyData @@ -442,8 +442,8 @@ export const intentIqIdSubmodule = { let hasPartnerData = !!Object.keys(partnerData).length; if (!isCMPStringTheSame(firstPartyData, cmpData) || - !firstPartyData.sCal || - (hasPartnerData && (!partnerData.cttl || !partnerData.date || Date.now() - partnerData.date > partnerData.cttl))) { + !firstPartyData.sCal || + (hasPartnerData && (!partnerData.cttl || !partnerData.date || Date.now() - partnerData.date > partnerData.cttl))) { firstPartyData.uspString = cmpData.uspString; firstPartyData.gppString = cmpData.gppString; firstPartyData.gdprString = cmpData.gdprString; @@ -454,7 +454,7 @@ export const intentIqIdSubmodule = { if (!shouldCallServer) { if (!hasPartnerData && !firstPartyData.isOptedOut) { shouldCallServer = true; - } else shouldCallServer = Date.now() > firstPartyData.sCal + HOURS_24; + } else shouldCallServer = Date.now() > firstPartyData.sCal + HOURS_72; } if (firstPartyData.isOptedOut) { @@ -498,7 +498,7 @@ export const intentIqIdSubmodule = { updateGlobalObj() // update global object before server request, to make sure analytical adapter will have it even if the server is "not in time" // use protocol relative urls for http or https - let url = `${iiqServerAddress(configParams, gdprDetected)}/profiles_engine/ProfilesEngineServlet?at=39&mi=10&dpi=${configParams.partner}&pt=17&dpn=1`; + let url = `${getIiqServerAddress(configParams)}/profiles_engine/ProfilesEngineServlet?at=39&mi=10&dpi=${configParams.partner}&pt=17&dpn=1`; url += configParams.pai ? '&pai=' + encodeURIComponent(configParams.pai) : ''; url = appendFirstPartyData(url, firstPartyData, partnerData); url = appendPartnersFirstParty(url, configParams); @@ -511,7 +511,7 @@ export const intentIqIdSubmodule = { url += actualABGroup ? '&testGroup=' + encodeURIComponent(actualABGroup) : ''; url = addMetaData(url, sourceMetaDataExternal || sourceMetaData); url = handleAdditionalParams(currentBrowserLowerCase, url, 1, additionalParams); - url = appendSPData(url, firstPartyData) + url = appendSPData(url, partnerData) url += '&source=' + PREBID; url += '&ABTestingConfigurationSource=' + configParams.ABTestingConfigurationSource url += '&abtg=' + encodeURIComponent(actualABGroup) @@ -528,6 +528,9 @@ export const intentIqIdSubmodule = { const resp = function (callback) { const callbacks = { success: response => { + if (rrttStrtTime && rrttStrtTime > 0) { + partnerData.rrtt = Date.now() - rrttStrtTime; + } const respJson = tryParse(response); // If response is a valid json and should save is true if (respJson) { @@ -542,7 +545,7 @@ export const intentIqIdSubmodule = { if (callbackTimeoutID) clearTimeout(callbackTimeoutID) if ('cttl' in respJson) { partnerData.cttl = respJson.cttl; - } else partnerData.cttl = HOURS_24; + } else partnerData.cttl = HOURS_72; if ('tc' in respJson) { partnerData.terminationCause = respJson.tc; @@ -588,7 +591,7 @@ export const intentIqIdSubmodule = { } else { // If data is a single string, assume it is an id with source intentiq.com if (respJson.data && typeof respJson.data === 'string') { - respJson.data = {eids: [respJson.data]} + respJson.data = { eids: [respJson.data] } } } partnerData.data = respJson.data; @@ -604,7 +607,7 @@ export const intentIqIdSubmodule = { if ('spd' in respJson) { // server provided data - firstPartyData.spd = respJson.spd; + partnerData.spd = respJson.spd; } if ('abTestUuid' in respJson) { @@ -620,10 +623,6 @@ export const intentIqIdSubmodule = { delete partnerData.gpr // remove prediction flag in case server doesn't provide it } - if (rrttStrtTime && rrttStrtTime > 0) { - partnerData.rrtt = Date.now() - rrttStrtTime; - } - if (respJson.data?.eids) { runtimeEids = respJson.data callback(respJson.data.eids); @@ -648,12 +647,13 @@ export const intentIqIdSubmodule = { callback(runtimeEids); } }; - rrttStrtTime = Date.now(); partnerData.wsrvcll = true; storeData(PARTNER_DATA_KEY, JSON.stringify(partnerData), allowedStorage, firstPartyData); clearCountersAndStore(allowedStorage, partnerData); + rrttStrtTime = Date.now(); + const sendAjax = uh => { if (uh) url += '&uh=' + encodeURIComponent(uh); ajax(url, callbacks, undefined, { method: 'GET', withCredentials: true }); @@ -675,7 +675,7 @@ export const intentIqIdSubmodule = { sendAjax(''); } }; - const respObj = {callback: resp}; + const respObj = { callback: resp }; if (runtimeEids?.eids?.length) respObj.id = runtimeEids.eids; return respObj diff --git a/modules/intentIqIdSystem.md b/modules/intentIqIdSystem.md index 7597ba90fbf..2465f8cbf6f 100644 --- a/modules/intentIqIdSystem.md +++ b/modules/intentIqIdSystem.md @@ -56,6 +56,7 @@ Please find below list of parameters that could be used in configuring Intent IQ | params. ABTestingConfigurationSource| Optional | String | Determines how AB group will be defined. Possible values: `"IIQServer"` – group defined by IIQ server, `"percentage"` – generated group based on abPercentage, `"group"` – define group based on value provided by partner. | `IIQServer` | | params.abPercentage | Optional | Number | Percentage for A/B testing group. Default value is `95` | `95` | | params.group | Optional | String | Define group provided by partner, possible values: `"A"`, `"B"` | `"A"` | +| params.region | Optional | String | Optional region identifier used to automatically build server endpoints. When specified, region-specific endpoints will be used. (`gdpr`,`emea`, `apac`) | `"gdpr"` | | params.additionalParams | Optional | Array | This parameter allows sending additional custom key-value parameters with specific destination logic (sync, VR, winreport). Each custom parameter is defined as an object in the array. | `[ { parameterName: “abc”, parameterValue: 123, destination: [1,1,0] } ]` | | params.additionalParams [0].parameterName | Required | String | Name of the custom parameter. This will be sent as a query parameter. | `"abc"` | | params.additionalParams [0].parameterValue | Required | String / Number | Value to assign to the parameter. | `123` | @@ -72,6 +73,7 @@ pbjs.setConfig({ partner: 123456, // valid partner id timeoutInMillis: 500, browserBlackList: "chrome", + ABTestingConfigurationSource: 'IIQServer', callback: (data) => {...}, // your logic here groupChanged: (group) => console.log('Group is', group), domainName: "currentDomain.com", @@ -80,7 +82,8 @@ pbjs.setConfig({ sourceMetaData: "123.123.123.123", // Optional parameter sourceMetaDataExternal: 123456, // Optional parameter chTimeout: 10, // Optional parameter - abPercentage: 95 //Optional parameter + abPercentage: 95, // Optional parameter + region: "gdpr", // Optional parameter additionalParams: [ // Optional parameter { parameterName: "abc", diff --git a/test/spec/modules/intentIqAnalyticsAdapter_spec.js b/test/spec/modules/intentIqAnalyticsAdapter_spec.js index e93b6ec1915..8389ca4a644 100644 --- a/test/spec/modules/intentIqAnalyticsAdapter_spec.js +++ b/test/spec/modules/intentIqAnalyticsAdapter_spec.js @@ -2,8 +2,10 @@ import { expect } from "chai"; import iiqAnalyticsAnalyticsAdapter from "modules/intentIqAnalyticsAdapter.js"; import * as utils from "src/utils.js"; import { server } from "test/mocks/xhr.js"; +import { config } from "src/config.js"; import { EVENTS } from "src/constants.js"; import * as events from "src/events.js"; +import { getGlobal } from "../../../src/prebidGlobal.js"; import sinon from "sinon"; import { REPORTER_ID, @@ -20,7 +22,7 @@ import { } from "../../../libraries/intentIqConstants/intentIqConstants.js"; import * as detectBrowserUtils from "../../../libraries/intentIqUtils/detectBrowserUtils.js"; import { - getReferrer, + getCurrentUrl, appendVrrefAndFui, } from "../../../libraries/intentIqUtils/getRefferer.js"; import { @@ -29,7 +31,10 @@ import { gdprDataHandler, } from "../../../src/consentHandler.js"; +let getConfigStub; +let userIdConfigForTest; const partner = 10; +const identityName = `iiq_identity_${partner}` const defaultIdentityObject = { firstPartyData: { pcid: "f961ffb1-a0e1-4696-a9d2-a21d815bd344", @@ -41,8 +46,7 @@ const defaultIdentityObject = { sCal: Date.now() - 36000, isOptedOut: false, pid: "profile", - dbsaved: "true", - spd: "spd", + dbsaved: "true" }, partnerData: { abTestUuid: "abTestUuid", @@ -53,7 +57,7 @@ const defaultIdentityObject = { profile: "profile", wsrvcll: true, }, - clientHints: { + clientHints: JSON.stringify({ 0: '"Chromium";v="142", "Google Chrome";v="142", "Not_A Brand";v="99"', 1: "?0", 2: '"macOS"', @@ -62,8 +66,30 @@ const defaultIdentityObject = { 6: '"15.6.1"', 7: "?0", 8: '"Chromium";v="142.0.7444.60", "Google Chrome";v="142.0.7444.60", "Not_A Brand";v="99.0.0.0"', - }, + }), }; +const regionCases = [ + { + name: 'default (no region)', + region: undefined, + expectedEndpoint: 'https://reports.intentiq.com/report' + }, + { + name: 'apac', + region: 'apac', + expectedEndpoint: 'https://reports-apac.intentiq.com/report' + }, + { + name: 'emea', + region: 'emea', + expectedEndpoint: 'https://reports-emea.intentiq.com/report' + }, + { + name: 'gdpr', + region: 'gdpr', + expectedEndpoint: 'https://reports-gdpr.intentiq.com/report' + } +] const version = VERSION; const REPORT_ENDPOINT = "https://reports.intentiq.com/report"; const REPORT_ENDPOINT_GDPR = "https://reports-gdpr.intentiq.com/report"; @@ -78,6 +104,22 @@ const getDefaultConfig = () => { } } +const getUserConfigWithReportingServerAddress = () => [ + { + 'name': 'intentIqId', + 'params': { + 'partner': partner, + 'unpack': null, + }, + 'storage': { + 'type': 'html5', + 'name': 'intentIqId', + 'expires': 60, + 'refreshInSeconds': 14400 + } + } +]; + const getWonRequest = () => ({ bidderCode: "pubmatic", width: 728, @@ -131,6 +173,11 @@ describe("IntentIQ tests all", function () { beforeEach(function () { logErrorStub = sinon.stub(utils, "logError"); sinon.stub(events, "getEvents").returns([]); + + if (config.getConfig && config.getConfig.restore) { + config.getConfig.restore(); + } + iiqAnalyticsAnalyticsAdapter.initOptions = { lsValueInitialized: false, partner: null, @@ -151,11 +198,12 @@ describe("IntentIQ tests all", function () { iiqAnalyticsAnalyticsAdapter.track.restore(); } sinon.spy(iiqAnalyticsAnalyticsAdapter, "track"); - window[`iiq_identity_${partner}`] = defaultIdentityObject; + window[identityName] = utils.deepClone(defaultIdentityObject); }); afterEach(function () { logErrorStub.restore(); + if (getConfigStub && getConfigStub.restore) getConfigStub.restore(); if (getWindowSelfStub) getWindowSelfStub.restore(); if (getWindowTopStub) getWindowTopStub.restore(); if (getWindowLocationStub) getWindowLocationStub.restore(); @@ -272,26 +320,52 @@ describe("IntentIQ tests all", function () { expect(payloadDecoded).to.have.property("adType", externalWinEvent.adType); }); - it("should send report to report-gdpr address if gdpr is detected", function () { - const gppStub = sinon - .stub(gppDataHandler, "getConsentData") - .returns({ gppString: '{"key1":"value1","key2":"value2"}' }); - const uspStub = sinon - .stub(uspDataHandler, "getConsentData") - .returns("1NYN"); - const gdprStub = sinon - .stub(gdprDataHandler, "getConsentData") - .returns({ consentString: "gdprConsent" }); + it("should get pos from pbjs.adUnits when BID_WON has no pos", function () { + const pbjs = getGlobal(); + const prevAdUnits = pbjs.adUnits; - events.emit(EVENTS.BID_WON, getWonRequest()); + pbjs.adUnits = Array.isArray(pbjs.adUnits) ? pbjs.adUnits : []; + pbjs.adUnits.push({ code: "myVideoAdUnit", mediaTypes: { video: { pos: 777 } } }); + + enableAnalyticWithSpecialOptions({ manualWinReportEnabled: false }); + + events.emit(EVENTS.BID_WON, { + ...getWonRequest(), + adUnitCode: "myVideoAdUnit", + mediaType: "video" + }); - expect(server.requests.length).to.be.above(0); const request = server.requests[0]; + const payloadEncoded = new URL(request.url).searchParams.get("payload"); + const payloadDecoded = JSON.parse(atob(JSON.parse(payloadEncoded)[0])); - expect(request.url).to.contain(REPORT_ENDPOINT_GDPR); - gppStub.restore(); - uspStub.restore(); - gdprStub.restore(); + expect(payloadDecoded.pos).to.equal(777); + + pbjs.adUnits = prevAdUnits; + }); + + it("should get pos from reportExternalWin when present", function () { + enableAnalyticWithSpecialOptions({ manualWinReportEnabled: true }); + + const winPos = 999; + + window[`intentIqAnalyticsAdapter_${partner}`].reportExternalWin({ + adUnitCode: "myVideoAdUnit", + bidderCode: "appnexus", + cpm: 1.5, + currency: "USD", + mediaType: "video", + size: "300x250", + status: "rendered", + auctionId: "auc123", + pos: winPos + }); + + const request = server.requests[0]; + const payloadEncoded = new URL(request.url).searchParams.get("payload"); + const payloadDecoded = JSON.parse(atob(JSON.parse(payloadEncoded)[0])); + + expect(payloadDecoded.pos).to.equal(winPos); }); it("should initialize with default configurations", function () { @@ -319,6 +393,9 @@ describe("IntentIQ tests all", function () { }); it("should handle BID_WON event with default group configuration", function () { + const spdData = "server provided data"; + const expectedSpdEncoded = encodeURIComponent(spdData); + window[identityName].partnerData.spd = spdData; const wonRequest = getWonRequest(); events.emit(EVENTS.BID_WON, wonRequest); @@ -331,7 +408,7 @@ describe("IntentIQ tests all", function () { const payload = encodeURIComponent(JSON.stringify([base64String])); const expectedUrl = appendVrrefAndFui( REPORT_ENDPOINT + - `?pid=${partner}&mct=1&iiqid=${defaultIdentityObject.firstPartyData.pcid}&agid=${REPORTER_ID}&jsver=${version}&source=pbjs&uh=&gdpr=0&spd=spd`, + `?pid=${partner}&mct=1&iiqid=${defaultIdentityObject.firstPartyData.pcid}&agid=${REPORTER_ID}&jsver=${version}&source=pbjs&uh=${encodeURIComponent(window[identityName].clientHints)}&gdpr=0&spd=${expectedSpdEncoded}`, iiqAnalyticsAnalyticsAdapter.initOptions.domainName ); const urlWithPayload = expectedUrl + `&payload=${payload}`; @@ -379,6 +456,22 @@ describe("IntentIQ tests all", function () { gdprStub.restore(); }); + regionCases.forEach(({ name, region, expectedEndpoint }) => { + it(`should send request to region-specific report endpoint when region is "${name}"`, function () { + userIdConfigForTest = getUserConfigWithReportingServerAddress(); + getConfigStub = sinon.stub(config, "getConfig"); + getConfigStub.withArgs("userSync.userIds").callsFake(() => userIdConfigForTest); + + enableAnalyticWithSpecialOptions({ region }); + + events.emit(EVENTS.BID_WON, getWonRequest()); + + expect(server.requests.length).to.be.above(0); + const request = server.requests[0]; + expect(request.url).to.contain(expectedEndpoint); + }); + }); + it("should not send request if manualWinReportEnabled is true", function () { iiqAnalyticsAnalyticsAdapter.initOptions.manualWinReportEnabled = true; events.emit(EVENTS.BID_WON, getWonRequest()); @@ -417,7 +510,7 @@ describe("IntentIQ tests all", function () { .stub(utils, "getWindowLocation") .returns({ href: "http://localhost:9876/" }); - const referrer = getReferrer(); + const referrer = getCurrentUrl(); expect(referrer).to.equal("http://localhost:9876/"); }); @@ -428,7 +521,7 @@ describe("IntentIQ tests all", function () { .stub(utils, "getWindowTop") .returns({ location: { href: "http://example.com/" } }); - const referrer = getReferrer(); + const referrer = getCurrentUrl(); expect(referrer).to.equal("http://example.com/"); }); @@ -440,7 +533,7 @@ describe("IntentIQ tests all", function () { .stub(utils, "getWindowTop") .throws(new Error("Access denied")); - const referrer = getReferrer(); + const referrer = getCurrentUrl(); expect(referrer).to.equal(""); expect(logErrorStub.calledOnce).to.be.true; expect(logErrorStub.firstCall.args[0]).to.contain( @@ -528,6 +621,36 @@ describe("IntentIQ tests all", function () { expect(request.url).to.include("general=Lee"); }); + it("should include domainName in both query and payload when fullUrl is empty (cross-origin)", function () { + const domainName = "mydomain-frame.com"; + + enableAnalyticWithSpecialOptions({ domainName }); + + getWindowTopStub = sinon.stub(utils, "getWindowTop").throws(new Error("cross-origin")); + + events.emit(EVENTS.BID_WON, getWonRequest()); + + const request = server.requests[0]; + + // Query contain vrref=domainName + const parsedUrl = new URL(request.url); + const vrrefParam = parsedUrl.searchParams.get("vrref"); + + // Payload contain vrref=domainName + const payloadEncoded = parsedUrl.searchParams.get("payload"); + const payloadDecoded = JSON.parse(atob(JSON.parse(payloadEncoded)[0])); + + expect(server.requests.length).to.be.above(0); + expect(vrrefParam).to.not.equal(null); + expect(decodeURIComponent(vrrefParam)).to.equal(domainName); + expect(parsedUrl.searchParams.get("fui")).to.equal("1"); + + expect(payloadDecoded).to.have.property("vrref"); + expect(decodeURIComponent(payloadDecoded.vrref)).to.equal(domainName); + + restoreReportList(); + }); + it("should not send additionalParams in report if value is too large", function () { const longVal = "x".repeat(5000000); @@ -550,8 +673,9 @@ describe("IntentIQ tests all", function () { it("should include spd parameter from LS in report URL", function () { const spdObject = { foo: "bar", value: 42 }; const expectedSpdEncoded = encodeURIComponent(JSON.stringify(spdObject)); - window[`iiq_identity_${partner}`].firstPartyData.spd = + window[identityName].firstPartyData.spd = JSON.stringify(spdObject); + window[identityName].partnerData.spd = spdObject; getWindowLocationStub = sinon .stub(utils, "getWindowLocation") @@ -568,7 +692,7 @@ describe("IntentIQ tests all", function () { it("should include spd parameter string from LS in report URL", function () { const spdData = "server provided data"; const expectedSpdEncoded = encodeURIComponent(spdData); - window[`iiq_identity_${partner}`].firstPartyData.spd = spdData; + window[identityName].partnerData.spd = spdData; getWindowLocationStub = sinon .stub(utils, "getWindowLocation") diff --git a/test/spec/modules/intentIqIdSystem_spec.js b/test/spec/modules/intentIqIdSystem_spec.js index 4b9afc38146..18dd0452943 100644 --- a/test/spec/modules/intentIqIdSystem_spec.js +++ b/test/spec/modules/intentIqIdSystem_spec.js @@ -123,6 +123,20 @@ const mockGAM = () => { }; }; +const regionCases = [ + { name: 'no region (default)', region: undefined, expected: 'https://api.intentiq.com' }, + { name: 'apac', region: 'apac', expected: 'https://api-apac.intentiq.com' }, + { name: 'emea', region: 'emea', expected: 'https://api-emea.intentiq.com' }, + { name: 'gdpr', region: 'gdpr', expected: 'https://api-gdpr.intentiq.com' } +]; + +const syncRegionCases = [ + { name: 'default', region: undefined, expected: 'https://sync.intentiq.com' }, + { name: 'apac', region: 'apac', expected: 'https://sync-apac.intentiq.com' }, + { name: 'emea', region: 'emea', expected: 'https://sync-emea.intentiq.com' }, + { name: 'gdpr', region: 'gdpr', expected: 'https://sync-gdpr.intentiq.com' }, +]; + describe('IntentIQ tests', function () { this.timeout(10000); let sandbox; @@ -597,7 +611,7 @@ describe('IntentIQ tests', function () { it('should send AT=20 request and send spd in it', async function () { const spdValue = { foo: 'bar', value: 42 }; const encodedSpd = encodeURIComponent(JSON.stringify(spdValue)); - localStorage.setItem(FIRST_PARTY_KEY, JSON.stringify({pcid: '123', spd: spdValue})); + localStorage.setItem(FIRST_PARTY_KEY + '_' + partner, JSON.stringify({pcid: '123', spd: spdValue})); intentIqIdSubmodule.getId({params: { partner: 10, @@ -615,7 +629,7 @@ describe('IntentIQ tests', function () { it('should send AT=20 request and send spd string in it ', async function () { const spdValue = 'server provided data'; const encodedSpd = encodeURIComponent(spdValue); - localStorage.setItem(FIRST_PARTY_KEY, JSON.stringify({pcid: '123', spd: spdValue})); + localStorage.setItem(FIRST_PARTY_KEY + '_' + partner, JSON.stringify({pcid: '123', spd: spdValue})); intentIqIdSubmodule.getId({params: { partner: 10, @@ -634,7 +648,7 @@ describe('IntentIQ tests', function () { const spdValue = { foo: 'bar', value: 42 }; const encodedSpd = encodeURIComponent(JSON.stringify(spdValue)); - localStorage.setItem(FIRST_PARTY_KEY, JSON.stringify({ pcid: '123', spd: spdValue })); + localStorage.setItem(FIRST_PARTY_KEY + '_' + partner, JSON.stringify({ pcid: '123', spd: spdValue })); const callBackSpy = sinon.spy(); const submoduleCallback = intentIqIdSubmodule.getId(defaultConfigParams).callback; @@ -650,7 +664,7 @@ describe('IntentIQ tests', function () { it('should send spd string from firstPartyData in localStorage in at=39 request', async function () { const spdValue = 'spd string'; const encodedSpd = encodeURIComponent(spdValue); - localStorage.setItem(FIRST_PARTY_KEY, JSON.stringify({ pcid: '123', spd: spdValue })); + localStorage.setItem(FIRST_PARTY_KEY + '_' + partner, JSON.stringify({ pcid: '123', spd: spdValue })); const callBackSpy = sinon.spy(); const submoduleCallback = intentIqIdSubmodule.getId(defaultConfigParams).callback; @@ -676,7 +690,7 @@ describe('IntentIQ tests', function () { JSON.stringify({ pid: 'test_pid', data: 'test_personid', ls: true, spd: spdValue }) ); - const storedLs = readData(FIRST_PARTY_KEY, ['html5', 'cookie'], storage); + const storedLs = readData(FIRST_PARTY_KEY + '_' + partner, ['html5', 'cookie'], storage); const parsedLs = JSON.parse(storedLs); expect(storedLs).to.not.be.null; @@ -738,7 +752,7 @@ describe('IntentIQ tests', function () { expect(result).to.equal('unknown'); }); - it("Should call the server for new partner if FPD has been updated by other partner, and 24 hours have not yet passed.", async () => { + it("Should call the server for new partner if FPD has been updated by other partner, and 72 hours have not yet passed.", async () => { const allowedStorage = ['html5'] const newPartnerId = 12345 const FPD = { @@ -759,7 +773,7 @@ describe('IntentIQ tests', function () { expect(request.url).contain("ProfilesEngineServlet?at=39") // server was called }) - it("Should NOT call the server if FPD has been updated user Opted Out, and 24 hours have not yet passed.", async () => { + it("Should NOT call the server if FPD has been updated user Opted Out, and 72 hours have not yet passed.", async () => { const allowedStorage = ['html5'] const newPartnerId = 12345 const FPD = { @@ -906,23 +920,15 @@ describe('IntentIQ tests', function () { expect(callbackArgument).to.deep.equal({ eids: [] }); // Ensure that runtimeEids was updated to { eids: [] } }); - it('should make request to correct address api-gdpr.intentiq.com if gdpr is detected', async function() { - const ENDPOINT_GDPR = 'https://api-gdpr.intentiq.com'; - mockConsentHandlers(uspData, gppData, gdprData); - const callBackSpy = sinon.spy(); - const submoduleCallback = intentIqIdSubmodule.getId({...defaultConfigParams}).callback; - - submoduleCallback(callBackSpy); - await waitForClientHints(); - const request = server.requests[0]; - - expect(request.url).to.contain(ENDPOINT_GDPR); - }); - it('should make request to correct address with iiqServerAddress parameter', async function() { - defaultConfigParams.params.iiqServerAddress = testAPILink + const customParams = { + params: { + ...defaultConfigParams.params, + iiqServerAddress: testAPILink + } + }; const callBackSpy = sinon.spy(); - const submoduleCallback = intentIqIdSubmodule.getId({...defaultConfigParams}).callback; + const submoduleCallback = intentIqIdSubmodule.getId({...customParams}).callback; submoduleCallback(callBackSpy); await waitForClientHints(); @@ -949,6 +955,57 @@ describe('IntentIQ tests', function () { const request = server.requests[0]; expect(request.url).to.contain(syncTestAPILink); }); + + regionCases.forEach(({ name, region, expected }) => { + it(`should use region-specific api endpoint when region is "${name}"`, async function () { + mockConsentHandlers(uspData, gppData, gdprData); // gdprApplies = true + + const callBackSpy = sinon.spy(); + const configWithRegion = { + params: { + ...defaultConfigParams.params, + region + } + }; + + const submoduleCallback = intentIqIdSubmodule.getId(configWithRegion).callback; + submoduleCallback(callBackSpy); + await waitForClientHints(); + + const request = server.requests[0]; + expect(request.url).to.contain(expected); + }); + }); + + syncRegionCases.forEach(({ name, region, expected }) => { + it(`should use region-specific sync endpoint when region is "${name}"`, async function () { + let wasCallbackCalled = false; + + const callbackConfigParams = { + params: { + partner, + pai, + partnerClientIdType, + partnerClientId, + browserBlackList: 'Chrome', + region, + callback: () => { + wasCallbackCalled = true; + } + } + }; + + mockConsentHandlers(uspData, gppData, gdprData); + + intentIqIdSubmodule.getId(callbackConfigParams); + + await waitForClientHints(); + + const request = server.requests[0]; + expect(request.url).to.contain(expected); + expect(wasCallbackCalled).to.equal(true); + }); + }); }); it('should get and save client hints to storage', async () => { From ea0fb574d0a60f40027670106276b736bc73cb52 Mon Sep 17 00:00:00 2001 From: mkomorski Date: Mon, 26 Jan 2026 14:31:07 +0100 Subject: [PATCH 141/248] Core: adding ima params to local cache request (#14312) * Core: adding ima params to local cache request * retrieving ima params * usp data handler --- integrationExamples/audio/audioGam.html | 4 +++- integrationExamples/gpt/localCacheGam.html | 6 +++++- modules/gamAdServerVideo.js | 24 +++++++++++++++++++++- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/integrationExamples/audio/audioGam.html b/integrationExamples/audio/audioGam.html index 8a8a4398637..6392e5f0b6e 100644 --- a/integrationExamples/audio/audioGam.html +++ b/integrationExamples/audio/audioGam.html @@ -115,9 +115,11 @@ const bid = bidResponse.bids[0]; + const adUnit = adUnits.find(au => au.code === 'div-gpt-ad-51545-0'); + const adXml = await pbjs.adServers.gam.getVastXml({ bid, - adUnit: 'div-gpt-ad-51545-0', + adUnit, params: { iu: '/41758329/localcache', url: "https://pubads.g.doubleclick.net/gampad/ads?iu=/41758329/localcache&sz=640x480&gdfp_req=1&output=vast&env=vp", diff --git a/integrationExamples/gpt/localCacheGam.html b/integrationExamples/gpt/localCacheGam.html index 6b203d33ee9..9169fcdf5e3 100644 --- a/integrationExamples/gpt/localCacheGam.html +++ b/integrationExamples/gpt/localCacheGam.html @@ -13,6 +13,8 @@ mediaTypes: { video: { playerSize: [640, 360], + playbackmethod: [2, 6], + api: [2, 7, 8], } }, video: { @@ -95,9 +97,11 @@ const bid = bidResponse.bids[0]; + const adUnit = adUnits.find(au => au.code === 'div-gpt-ad-51545-0'); + const vastXml = await pbjs.adServers.gam.getVastXml({ bid, - adUnit: 'div-gpt-ad-51545-0', + adUnit, params: { iu: '/41758329/localcache', url: "https://pubads.g.doubleclick.net/gampad/ads?iu=/41758329/localcache&sz=640x480&gdfp_req=1&output=vast&env=vp", diff --git a/modules/gamAdServerVideo.js b/modules/gamAdServerVideo.js index d5541c16424..9613af93e4e 100644 --- a/modules/gamAdServerVideo.js +++ b/modules/gamAdServerVideo.js @@ -28,6 +28,7 @@ import { fetch } from '../src/ajax.js'; import XMLUtil from '../libraries/xmlUtils/xmlUtils.js'; import {getGlobalVarName} from '../src/buildOptions.js'; +import { uspDataHandler } from '../src/consentHandler.js'; /** * @typedef {Object} DfpVideoParams * @@ -292,7 +293,28 @@ async function getVastForLocallyCachedBids(gamVastWrapper, localCacheMap) { }; export async function getVastXml(options, localCacheMap = vastLocalCache) { - const vastUrl = buildGamVideoUrl(options); + let vastUrl = buildGamVideoUrl(options); + + const adUnit = options.adUnit; + const video = adUnit?.mediaTypes?.video; + const sdkApis = (video?.api || []).join(','); + const usPrivacy = uspDataHandler.getConsentData?.(); + // Adding parameters required by ima + if (config.getConfig('cache.useLocal') && window.google?.ima) { + vastUrl = new URL(vastUrl); + const imaSdkVersion = `h.${window.google.ima.VERSION}`; + vastUrl.searchParams.set('omid_p', `Google1/${imaSdkVersion}`); + vastUrl.searchParams.set('sdkv', imaSdkVersion); + if (sdkApis) { + vastUrl.searchParams.set('sdk_apis', sdkApis); + } + if (usPrivacy) { + vastUrl.searchParams.set('us_privacy', usPrivacy); + } + + vastUrl = vastUrl.toString(); + } + const response = await fetch(vastUrl); if (!response.ok) { throw new Error('Unable to fetch GAM VAST wrapper'); From 2d65a147a82932db0ef0c9805ec0c0c37b452831 Mon Sep 17 00:00:00 2001 From: Marcin Muras <47107445+mmuras@users.noreply.github.com> Date: Tue, 27 Jan 2026 22:54:58 +0100 Subject: [PATCH 142/248] AdOceanBidAdapter: add gvlid (#14382) --- modules/adoceanBidAdapter.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/adoceanBidAdapter.js b/modules/adoceanBidAdapter.js index 6f6548a1ba8..410b3c92338 100644 --- a/modules/adoceanBidAdapter.js +++ b/modules/adoceanBidAdapter.js @@ -3,6 +3,7 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'; import { BANNER, VIDEO } from '../src/mediaTypes.js'; const BIDDER_CODE = 'adocean'; +const GVLID = 328; const URL_SAFE_FIELDS = { slaves: true }; @@ -117,6 +118,7 @@ function interpretResponse(placementResponse, bidRequest, bids) { export const spec = { code: BIDDER_CODE, + gvlid: GVLID, supportedMediaTypes: [BANNER, VIDEO], isBidRequestValid: function(bid) { From cdcc67ac346378ddcf884e072656e55c50efbbb7 Mon Sep 17 00:00:00 2001 From: daniel-barac <55977021+daniel-barac@users.noreply.github.com> Date: Tue, 27 Jan 2026 23:55:57 +0200 Subject: [PATCH 143/248] Connatix Bid Adapter: Add coppa & gpp signals (#14379) * added modules and command for fandom build * revert: cnx master changes * feat: stop storing ids in cookie * test: update tests * fix: remove trailing space * Add coppa & gpp signals * update unit tests --------- Co-authored-by: dragos.baci Co-authored-by: DragosBaci <118546616+DragosBaci@users.noreply.github.com> Co-authored-by: Alex Co-authored-by: Gaina Dan-Lucian Co-authored-by: Gaina Dan-Lucian <83463253+Dan-Lucian@users.noreply.github.com> --- modules/connatixBidAdapter.js | 9 ++++++ test/spec/modules/connatixBidAdapter_spec.js | 29 ++++++++++++++++---- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/modules/connatixBidAdapter.js b/modules/connatixBidAdapter.js index 4ccb75bdc97..7b22de3aa1d 100644 --- a/modules/connatixBidAdapter.js +++ b/modules/connatixBidAdapter.js @@ -342,6 +342,15 @@ export const spec = { params['us_privacy'] = encodeURIComponent(uspConsent); } + if (gppConsent?.gppString && gppConsent?.applicableSections?.length) { + params['gpp'] = encodeURIComponent(gppConsent.gppString); + params['gpp_sid'] = gppConsent.applicableSections.join(','); + } + + if (config.getConfig('coppa') === true) { + params['coppa'] = 1; + } + window.addEventListener('message', function handler(event) { if (!event.data || event.origin !== 'https://cds.connatix.com' || !event.data.cnx) { return; diff --git a/test/spec/modules/connatixBidAdapter_spec.js b/test/spec/modules/connatixBidAdapter_spec.js index ce7af687b8d..35e60c403af 100644 --- a/test/spec/modules/connatixBidAdapter_spec.js +++ b/test/spec/modules/connatixBidAdapter_spec.js @@ -1,5 +1,6 @@ import { expect } from 'chai'; import sinon from 'sinon'; +import { config } from 'src/config.js'; import { _getBidRequests, _canSelectViewabilityContainer as connatixCanSelectViewabilityContainer, @@ -755,6 +756,10 @@ describe('connatixBidAdapter', function () { headers: function() { } }; + afterEach(() => { + config.resetConfig(); + }); + it('Should return an empty array when iframeEnabled: false', function () { expect(spec.getUserSyncs({iframeEnabled: false, pixelEnabled: true}, [], {}, {}, {})).to.be.an('array').that.is.empty; }); @@ -832,16 +837,16 @@ describe('connatixBidAdapter', function () { const { url } = userSyncList[0]; expect(url).to.equal(`${UserSyncEndpoint}?gdpr=1&gdpr_consent=test%262&us_privacy=1YYYN`); }); - it('Should not modify the sync url if gppConsent param is provided', function () { + it('Should append gpp and gpp_sid to the url if gppConsent param is provided', function () { const userSyncList = spec.getUserSyncs( {iframeEnabled: true, pixelEnabled: true}, [serverResponse], {gdprApplies: true, consentString: 'test&2'}, '1YYYN', - {consent: '1'} + {gppString: 'GPP', applicableSections: [2, 4]} ); const { url } = userSyncList[0]; - expect(url).to.equal(`${UserSyncEndpoint}?gdpr=1&gdpr_consent=test%262&us_privacy=1YYYN`); + expect(url).to.equal(`${UserSyncEndpoint}?gdpr=1&gdpr_consent=test%262&us_privacy=1YYYN&gpp=GPP&gpp_sid=2,4`); }); it('Should correctly append all consents to the sync url if the url contains query params', function () { const userSyncList = spec.getUserSyncs( @@ -849,10 +854,24 @@ describe('connatixBidAdapter', function () { [serverResponse2], {gdprApplies: true, consentString: 'test&2'}, '1YYYN', - {consent: '1'} + {gppString: 'GPP', applicableSections: [2, 4]} + ); + const { url } = userSyncList[0]; + expect(url).to.equal(`${UserSyncEndpointWithParams}&gdpr=1&gdpr_consent=test%262&us_privacy=1YYYN&gpp=GPP&gpp_sid=2,4`); + }); + it('Should append coppa to the url if coppa is true', function () { + config.setConfig({ + coppa: true + }); + const userSyncList = spec.getUserSyncs( + {iframeEnabled: true, pixelEnabled: true}, + [serverResponse], + {gdprApplies: true, consentString: 'test&2'}, + '1YYYN', + {gppString: 'GPP', applicableSections: [2, 4]} ); const { url } = userSyncList[0]; - expect(url).to.equal(`${UserSyncEndpointWithParams}&gdpr=1&gdpr_consent=test%262&us_privacy=1YYYN`); + expect(url).to.equal(`${UserSyncEndpoint}?gdpr=1&gdpr_consent=test%262&us_privacy=1YYYN&gpp=GPP&gpp_sid=2,4&coppa=1`); }); }); From d36de0e6e1b629cae71b439ec03386258f75a9f6 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Wed, 28 Jan 2026 07:30:57 -0800 Subject: [PATCH 144/248] Core: granular settings for main thread yielding (#13789) * turn off yielding with scheudler === false * sync renderAd * what would we do without our Linter * Turn off yielding completely * linting (again) * granular yielding, off by default * Too many callbacks * Avoid yielding the main thread during renderAd * Expose requestBids hooks * lint * Revert "Expose requestBids hooks" This reverts commit ae0062a3ecc961e61d49fa05acdcfb7a372d65bb. * Revert "Core: wait for creative document DOMContentLoaded (#13991)" This reverts commit 2870230d47be17201df3812782083a54b462774a. * Revert "Core: remove use of document.write in rendering (#13851)" This reverts commit 48419a62d330a48433b4ab7163ca538966f9ed09. * lint * simplify yield config, default to true, add auctionOptions.legacyRender * lint * update e2e tests --------- Co-authored-by: Patrick McCann Co-authored-by: Patrick McCann --- modules/topLevelPaapi.js | 53 +++++++-------- src/adRendering.ts | 59 ++++++++++------- src/auction.ts | 9 +++ src/config.ts | 63 +++++++++--------- src/prebid.ts | 49 +++++++------- src/prebidGlobal.ts | 4 -- src/secureCreatives.js | 7 +- src/utils/yield.ts | 66 +++++++++++++++++-- test/spec/modules/topLevelPaapi_spec.js | 20 +++--- test/spec/unit/adRendering_spec.js | 27 ++++---- test/spec/unit/pbjs_api_spec.js | 56 +++++++++++----- test/spec/unit/secureCreatives_spec.js | 8 ++- test/spec/utils/yield_spec.js | 85 +++++++++++++++++++++++++ 13 files changed, 345 insertions(+), 161 deletions(-) create mode 100644 test/spec/utils/yield_spec.js diff --git a/modules/topLevelPaapi.js b/modules/topLevelPaapi.js index 960d7858117..3fb613ff728 100644 --- a/modules/topLevelPaapi.js +++ b/modules/topLevelPaapi.js @@ -17,12 +17,10 @@ config.getConfig('paapi', (cfg) => { moduleConfig = cfg.paapi?.topLevelSeller; if (moduleConfig) { getBidToRender.before(renderPaapiHook); - getBidToRender.after(renderOverrideHook); getRenderingData.before(getRenderingDataHook); markWinningBid.before(markWinningBidHook); } else { getBidToRender.getHooks({hook: renderPaapiHook}).remove(); - getBidToRender.getHooks({hook: renderOverrideHook}).remove(); getRenderingData.getHooks({hook: getRenderingDataHook}).remove(); markWinningBid.getHooks({hook: markWinningBidHook}).remove(); } @@ -40,31 +38,27 @@ function bidIfRenderable(bid) { return bid; } -const forRenderStack = []; - -function renderPaapiHook(next, adId, forRender = true, override = PbPromise.resolve()) { - forRenderStack.push(forRender); - const ids = parsePaapiAdId(adId); - if (ids) { - override = override.then((bid) => { - if (bid) return bid; - const [auctionId, adUnitCode] = ids; - return paapiBids(auctionId)?.[adUnitCode]?.then(bid => { - if (!bid) { - logWarn(MODULE_NAME, `No PAAPI bid found for auctionId: "${auctionId}", adUnit: "${adUnitCode}"`); - } - return bidIfRenderable(bid); - }); - }); - } - next(adId, forRender, override); -} - -function renderOverrideHook(next, bidPm) { - const forRender = forRenderStack.pop(); - if (moduleConfig?.overrideWinner) { - bidPm = bidPm.then((bid) => { - if (isPaapiBid(bid) || bid?.status === BID_STATUS.RENDERED) return bid; +function renderPaapiHook(next, adId, forRender = true, cb) { + PbPromise + .resolve() + .then(() => { + const ids = parsePaapiAdId(adId); + if (ids) { + const [auctionId, adUnitCode] = ids; + return paapiBids(auctionId)?.[adUnitCode]?.then(bid => { + if (!bid) { + logWarn(MODULE_NAME, `No PAAPI bid found for auctionId: "${auctionId}", adUnit: "${adUnitCode}"`); + } + return bidIfRenderable(bid); + }); + } + }) + .then((bid) => { + if (bid != null) return bid; + return new Promise(resolve => next(adId, forRender, resolve)) + }) + .then((bid) => { + if (bid == null || isPaapiBid(bid) || bid?.status === BID_STATUS.RENDERED) return bid; return getPAAPIBids({adUnitCode: bid.adUnitCode}).then(res => { const paapiBid = bidIfRenderable(res[bid.adUnitCode]); if (paapiBid) { @@ -77,9 +71,8 @@ function renderOverrideHook(next, bidPm) { } return bid; }); - }); - } - next(bidPm); + }) + .then(cb); } export function getRenderingDataHook(next, bid, options) { diff --git a/src/adRendering.ts b/src/adRendering.ts index b35959c75e0..25aba25a59f 100644 --- a/src/adRendering.ts +++ b/src/adRendering.ts @@ -17,12 +17,13 @@ import {auctionManager} from './auctionManager.js'; import {getCreativeRenderer} from './creativeRenderers.js'; import {hook} from './hook.js'; import {fireNativeTrackers} from './native.js'; -import {PbPromise} from './utils/promise.js'; import adapterManager from './adapterManager.js'; import {useMetrics} from './utils/perfMetrics.js'; import {filters} from './targeting.js'; import {EVENT_TYPE_WIN, parseEventTrackers, TRACKER_METHOD_IMG} from './eventTrackers.js'; import type {Bid} from "./bidfactory.ts"; +import {yieldsIf} from "./utils/yield.ts"; +import {PbPromise} from "./utils/promise.ts"; const { AD_RENDER_FAILED, AD_RENDER_SUCCEEDED, STALE_RENDER, BID_WON, EXPIRED_RENDER } = EVENTS; const { EXCEPTION } = AD_RENDER_FAILED_REASON; @@ -55,10 +56,13 @@ declare module './events' { } } -export const getBidToRender = hook('sync', function (adId, forRender = true, override = PbPromise.resolve()) { - return override - .then(bid => bid ?? auctionManager.findBidByAdId(adId)) - .catch(() => {}) +/** + * NOTE: this is here to support PAAPI, which is soon to be removed; + * and should *not* be made asynchronous or it breaks `legacyRender` (unyielding) + * rendering logic + */ +export const getBidToRender = hook('sync', function (adId, forRender, cb) { + cb(auctionManager.findBidByAdId(adId)); }) export const markWinningBid = hook('sync', function (bid) { @@ -331,7 +335,12 @@ export function renderIfDeferred(bidResponse) { } } -export function renderAdDirect(doc, adId, options) { +let legacyRender = false; +config.getConfig('auctionOptions', (opts) => { + legacyRender = opts.auctionOptions?.legacyRender ?? false +}); + +export const renderAdDirect = yieldsIf(() => !legacyRender, function renderAdDirect(doc, adId, options) { let bid; function fail(reason, message) { emitAdRenderFail(Object.assign({id: adId, bid}, {reason, message})); @@ -362,20 +371,26 @@ export function renderAdDirect(doc, adId, options) { } function renderFn(adData) { - PbPromise.all([ - getCreativeRenderer(bid), - waitForDocumentReady(doc) - ]).then(([render]) => render(adData, { - sendMessage: (type, data) => messageHandler(type, data, bid), - mkFrame: createIframe, - }, doc.defaultView)) - .then( - () => emitAdRenderSucceeded({doc, bid, id: bid.adId}), - (e) => { - fail(e?.reason || AD_RENDER_FAILED_REASON.EXCEPTION, e?.message) - e?.stack && logError(e); - } - ); + if (adData.ad && legacyRender) { + doc.write(adData.ad); + doc.close(); + emitAdRenderSucceeded({doc, bid, id: bid.adId}); + } else { + PbPromise.all([ + getCreativeRenderer(bid), + waitForDocumentReady(doc) + ]).then(([render]) => render(adData, { + sendMessage: (type, data) => messageHandler(type, data, bid), + mkFrame: createIframe, + }, doc.defaultView)) + .then( + () => emitAdRenderSucceeded({doc, bid, id: bid.adId}), + (e) => { + fail(e?.reason || AD_RENDER_FAILED_REASON.EXCEPTION, e?.message) + e?.stack && logError(e); + } + ); + } // TODO: this is almost certainly the wrong way to do this const creativeComment = document.createComment(`Creative ${bid.creativeId} served by ${bid.bidder} Prebid.js Header Bidding`); insertElement(creativeComment, doc, 'html'); @@ -384,7 +399,7 @@ export function renderAdDirect(doc, adId, options) { if (!adId || !doc) { fail(AD_RENDER_FAILED_REASON.MISSING_DOC_OR_ADID, `missing ${adId ? 'doc' : 'adId'}`); } else { - getBidToRender(adId).then(bidResponse => { + getBidToRender(adId, true, (bidResponse) => { bid = bidResponse; handleRender({renderFn, resizeFn, adId, options: {clickUrl: options?.clickThrough}, bidResponse, doc}); }); @@ -392,7 +407,7 @@ export function renderAdDirect(doc, adId, options) { } catch (e) { fail(EXCEPTION, e.message); } -} +}); /** * Insert an invisible, named iframe that can be used by creatives to locate the window Prebid is running in diff --git a/src/auction.ts b/src/auction.ts index 7acd7b8cec9..97984dae443 100644 --- a/src/auction.ts +++ b/src/auction.ts @@ -135,6 +135,15 @@ export interface AuctionOptionsConfig { * When true, prevent bids from being rendered if TTL is reached. Default is false. */ suppressExpiredRender?: boolean; + + /** + * If true, use legacy rendering logic. + * + * Since Prebid 10.12, `pbjs.renderAd` wraps creatives in an additional iframe. This can cause problems for some creatives + * that try to reach the top window and do not expect to find the extra iframe. You may set `legacyRender: true` to revert + * to pre-10.12 rendering logic. + */ + legacyRender?: boolean; } export interface PriceBucketConfig { diff --git a/src/config.ts b/src/config.ts index 00e87a9c62d..96f0427ea07 100644 --- a/src/config.ts +++ b/src/config.ts @@ -62,6 +62,40 @@ function attachProperties(config, useDefaultValues = true) { auctionOptions: {} } : {} + const validateauctionOptions = (() => { + const boolKeys = ['secondaryBidders', 'suppressStaleRender', 'suppressExpiredRender', 'legacyRender']; + const arrKeys = ['secondaryBidders'] + const allKeys = [].concat(boolKeys).concat(arrKeys); + + return function validateauctionOptions(val) { + if (!isPlainObject(val)) { + logWarn('Auction Options must be an object') + return false + } + + for (const k of Object.keys(val)) { + if (!allKeys.includes(k)) { + logWarn(`Auction Options given an incorrect param: ${k}`) + return false + } + if (arrKeys.includes(k)) { + if (!isArray(val[k])) { + logWarn(`Auction Options ${k} must be of type Array`); + return false + } else if (!val[k].every(isStr)) { + logWarn(`Auction Options ${k} must be only string`); + return false + } + } else if (boolKeys.includes(k)) { + if (!isBoolean(val[k])) { + logWarn(`Auction Options ${k} must be of type boolean`); + return false; + } + } + } + return true; + } + })(); function getProp(name) { return values[name]; } @@ -164,35 +198,6 @@ function attachProperties(config, useDefaultValues = true) { } return true; } - - function validateauctionOptions(val) { - if (!isPlainObject(val)) { - logWarn('Auction Options must be an object') - return false - } - - for (const k of Object.keys(val)) { - if (k !== 'secondaryBidders' && k !== 'suppressStaleRender' && k !== 'suppressExpiredRender') { - logWarn(`Auction Options given an incorrect param: ${k}`) - return false - } - if (k === 'secondaryBidders') { - if (!isArray(val[k])) { - logWarn(`Auction Options ${k} must be of type Array`); - return false - } else if (!val[k].every(isStr)) { - logWarn(`Auction Options ${k} must be only string`); - return false - } - } else if (k === 'suppressStaleRender' || k === 'suppressExpiredRender') { - if (!isBoolean(val[k])) { - logWarn(`Auction Options ${k} must be of type boolean`); - return false; - } - } - } - return true; - } } export interface Config { diff --git a/src/prebid.ts b/src/prebid.ts index c282155c8d1..34d6208970a 100644 --- a/src/prebid.ts +++ b/src/prebid.ts @@ -32,17 +32,12 @@ import {isBidUsable, type SlotMatchingFn, targeting} from './targeting.js'; import {hook, wrapHook} from './hook.js'; import {loadSession} from './debugging.js'; import {storageCallbacks} from './storageManager.js'; -import adapterManager, { - type AliasBidderOptions, - type BidRequest, - getS2SBidderSet -} from './adapterManager.js'; +import adapterManager, {type AliasBidderOptions, type BidRequest, getS2SBidderSet} from './adapterManager.js'; import {BID_STATUS, EVENTS, NATIVE_KEYS} from './constants.js'; -import type {EventHandler, EventIDs, Event} from "./events.js"; +import type {Event, EventHandler, EventIDs} from "./events.js"; import * as events from './events.js'; import {type Metrics, newMetrics, useMetrics} from './utils/perfMetrics.js'; import {type Defer, defer, PbPromise} from './utils/promise.js'; -import {pbYield} from './utils/yield.js'; import {enrichFPD} from './fpd/enrichment.js'; import {allConsent} from './consentHandler.js'; import { @@ -66,9 +61,10 @@ import type {ORTBRequest} from "./types/ortb/request.d.ts"; import type {DeepPartial} from "./types/objects.d.ts"; import type {AnyFunction, Wraps} from "./types/functions.d.ts"; import type {BidderScopedSettings, BidderSettings} from "./bidderSettings.ts"; -import {ORTB_AUDIO_PARAMS, fillAudioDefaults} from './audio.ts'; +import {fillAudioDefaults, ORTB_AUDIO_PARAMS} from './audio.ts'; import {getGlobalVarName} from "./buildOptions.ts"; +import {yieldAll} from "./utils/yield.ts"; const pbjsInstance = getGlobal(); const { triggerUserSyncs } = userSync; @@ -654,8 +650,7 @@ type RenderAdOptions = { * @param id adId of the bid to render * @param options */ -async function renderAd(doc: Document, id: Bid['adId'], options?: RenderAdOptions) { - await pbYield(); +function renderAd(doc: Document, id: Bid['adId'], options?: RenderAdOptions) { renderAdDirect(doc, id, options); } addApiMethod('renderAd', renderAd); @@ -1240,19 +1235,22 @@ function quePush(command) { }) } -async function _processQueue(queue) { - for (const cmd of queue) { - if (typeof cmd.called === 'undefined') { - try { - cmd.call(); - cmd.called = true; - } catch (e) { - logError('Error processing command :', 'prebid.js', e); - } +function runCommand(cmd) { + if (typeof cmd.called === 'undefined') { + try { + cmd.call(); + cmd.called = true; + } catch (e) { + logError('Error processing command :', 'prebid.js', e); } - await pbYield(); } } +function _processQueue(queue, cb?) { + yieldAll( + () => getGlobal().yield ?? true, + queue.map(cmd => () => runCommand(cmd)), cb + ); +} /** * Process the command queue, effectively booting up Prebid. @@ -1263,12 +1261,11 @@ const processQueue = delayIfPrerendering(() => pbjsInstance.delayPrerendering, a pbjsInstance.que.push = pbjsInstance.cmd.push = quePush; insertLocatorFrame(); hook.ready(); - try { - await _processQueue(pbjsInstance.que); - await _processQueue(pbjsInstance.cmd); - } finally { - queSetupComplete.resolve(); - } + _processQueue(pbjsInstance.que, () => { + _processQueue(pbjsInstance.cmd, () => { + queSetupComplete.resolve(); + }); + }); }) addApiMethod('processQueue', processQueue, false); diff --git a/src/prebidGlobal.ts b/src/prebidGlobal.ts index 749f5af85e7..c64e408bcf6 100644 --- a/src/prebidGlobal.ts +++ b/src/prebidGlobal.ts @@ -21,10 +21,6 @@ export interface PrebidJS { * Names of all installed modules. */ installedModules: string[] - /** - * Optional scheduler used by pbYield(). - */ - scheduler?: { yield: () => Promise } } // if the global already exists in global document scope, use it, if not, create the object diff --git a/src/secureCreatives.js b/src/secureCreatives.js index 6ce564c95d0..8233c373d1a 100644 --- a/src/secureCreatives.js +++ b/src/secureCreatives.js @@ -60,7 +60,7 @@ function ensureAdId(adId, reply) { } } -export function receiveMessage(ev) { +export function receiveMessage(ev, cb) { var key = ev.message ? 'message' : 'data'; var data = {}; try { @@ -70,9 +70,10 @@ export function receiveMessage(ev) { } if (data && data.adId && data.message && HANDLER_MAP.hasOwnProperty(data.message)) { - return getBidToRender(data.adId, data.message === MESSAGES.REQUEST).then(adObject => { + return getBidToRender(data.adId, data.message === MESSAGES.REQUEST, (adObject) => { HANDLER_MAP[data.message](ensureAdId(data.adId, getReplier(ev)), data, adObject); - }) + cb && cb(); + }); } } diff --git a/src/utils/yield.ts b/src/utils/yield.ts index 049150c2520..57b198053e9 100644 --- a/src/utils/yield.ts +++ b/src/utils/yield.ts @@ -1,7 +1,63 @@ -import {getGlobal} from '../prebidGlobal.js'; -import {PbPromise} from './promise.js'; +import {PbPromise} from "./promise.ts"; -export function pbYield(): Promise { - const scheduler = getGlobal().scheduler ?? (window as any).scheduler; - return scheduler?.yield ? scheduler.yield() : PbPromise.resolve(); +declare module '../prebidGlobal' { + interface PrebidJS { + /** + * Enable yielding of the main thread. + */ + yield?: boolean; + } +} + +function doYield() { + const scheduler = (window as any).scheduler; + return typeof scheduler?.yield === 'function' ? scheduler.yield() : PbPromise.resolve() +} + +/** + * Runs `cb`, after yielding the main thread if `shouldYield` returns true. + */ +export function pbYield(shouldYield: () => boolean, cb: () => void) { + if (shouldYield()) { + doYield().then(cb); + } else { + cb(); + } +} + +/** + * Returns a wrapper around `fn` that yields the main thread if `shouldYield` returns true. + */ +export function yieldsIf void>(shouldYield: () => boolean, fn: T): (...args: Parameters) => void { + return function (...args) { + pbYield(shouldYield, () => { + fn.apply(this, args); + }) + } +} + +/** + * Runs each function in `fns`, yielding the main thread in between each one if `shouldYield` returns true. + * Runs `cb` after all functions have been run. + */ +export function yieldAll(shouldYield: () => boolean, fns: (() => void)[], cb?: () => void) { + serialize(fns.map(fn => (cb) => { + pbYield(shouldYield, () => { + fn(); + cb(); + }) + }), cb); +} + +export function serialize(fns: ((cb: () => void) => void)[], cb?: () => void) { + let i = 0; + function next() { + if (fns.length > i) { + i += 1; + fns[i - 1](next); + } else if (typeof cb === 'function') { + cb(); + } + } + next(); } diff --git a/test/spec/modules/topLevelPaapi_spec.js b/test/spec/modules/topLevelPaapi_spec.js index bceed8b523a..c08a14f899f 100644 --- a/test/spec/modules/topLevelPaapi_spec.js +++ b/test/spec/modules/topLevelPaapi_spec.js @@ -287,9 +287,13 @@ describe('topLevelPaapi', () => { }); }); + function getBidToRenderPm(adId, forRender = true) { + return new Promise((resolve) => getBidToRender(adId, forRender, resolve)); + } + it('should hook into getBidToRender', () => { return getBids({adUnitCode: 'au', auctionId}).then(res => { - return getBidToRender(res.au.adId).then(bidToRender => [res.au, bidToRender]) + return getBidToRenderPm(res.au.adId).then(bidToRender => [res.au, bidToRender]) }).then(([paapiBid, bidToRender]) => { if (canRender) { expect(bidToRender).to.eql(paapiBid) @@ -319,7 +323,7 @@ describe('topLevelPaapi', () => { it(`should ${!canRender ? 'NOT' : ''} override winning bid for the same adUnit`, () => { return Promise.all([ getBids({adUnitCode: 'au', auctionId}).then(res => res.au), - getBidToRender(mockContextual.adId) + getBidToRenderPm(mockContextual.adId) ]).then(([paapiBid, bidToRender]) => { if (canRender) { expect(bidToRender).to.eql(paapiBid); @@ -332,14 +336,14 @@ describe('topLevelPaapi', () => { it('should not override when the ad unit has no paapi winner', () => { mockContextual.adUnitCode = 'other'; - return getBidToRender(mockContextual.adId).then(bidToRender => { + return getBidToRenderPm(mockContextual.adId).then(bidToRender => { expect(bidToRender).to.eql(mockContextual); }) }); it('should not override when already a paapi bid', () => { return getBids({adUnitCode: 'au', auctionId}).then(res => { - return getBidToRender(res.au.adId).then((bidToRender) => [bidToRender, res.au]); + return getBidToRenderPm(res.au.adId).then((bidToRender) => [bidToRender, res.au]); }).then(([bidToRender, paapiBid]) => { expect(bidToRender).to.eql(canRender ? paapiBid : mockContextual) }) @@ -348,21 +352,21 @@ describe('topLevelPaapi', () => { if (canRender) { it('should not not override when the bid was already rendered', () => { getBids(); - return getBidToRender(mockContextual.adId).then((bid) => { + return getBidToRenderPm(mockContextual.adId).then((bid) => { // first pass - paapi wins over contextual expect(bid.source).to.eql('paapi'); bid.status = BID_STATUS.RENDERED; - return getBidToRender(mockContextual.adId, false).then(bidToRender => [bid, bidToRender]) + return getBidToRenderPm(mockContextual.adId, false).then(bidToRender => [bid, bidToRender]) }).then(([paapiBid, bidToRender]) => { // if `forRender` = false (bit retrieved for x-domain events and such) // the referenced bid is still paapi expect(bidToRender).to.eql(paapiBid); - return getBidToRender(mockContextual.adId); + return getBidToRenderPm(mockContextual.adId); }).then(bidToRender => { // second pass, paapi has been rendered, contextual should win expect(bidToRender).to.eql(mockContextual); bidToRender.status = BID_STATUS.RENDERED; - return getBidToRender(mockContextual.adId, false); + return getBidToRenderPm(mockContextual.adId, false); }).then(bidToRender => { // if the contextual bid has been rendered, it's the one being referenced expect(bidToRender).to.eql(mockContextual); diff --git a/test/spec/unit/adRendering_spec.js b/test/spec/unit/adRendering_spec.js index 7978a115eaa..b7be604b85b 100644 --- a/test/spec/unit/adRendering_spec.js +++ b/test/spec/unit/adRendering_spec.js @@ -39,22 +39,21 @@ describe('adRendering', () => { beforeEach(() => { sandbox.stub(auctionManager, 'findBidByAdId').callsFake(() => 'auction-bid') }); - it('should default to bid from auctionManager', () => { - return getBidToRender('adId', true, Promise.resolve(null)).then((res) => { - expect(res).to.eql('auction-bid'); - sinon.assert.calledWith(auctionManager.findBidByAdId, 'adId'); - }); - }); - it('should give precedence to override promise', () => { - return getBidToRender('adId', true, Promise.resolve('override')).then((res) => { - expect(res).to.eql('override'); - sinon.assert.notCalled(auctionManager.findBidByAdId); + it('should default to bid from auctionManager', async () => { + await new Promise((resolve) => { + getBidToRender('adId', true, (res) => { + expect(res).to.eql('auction-bid'); + sinon.assert.calledWith(auctionManager.findBidByAdId, 'adId'); + resolve(); + }) }) }); - it('should return undef when override rejects', () => { - return getBidToRender('adId', true, Promise.reject(new Error('any reason'))).then(res => { - expect(res).to.not.exist; - }) + it('should, by default, not give up the thread', () => { + let ran = false; + getBidToRender('adId', true, () => { + ran = true; + }); + expect(ran).to.be.true; }) }) describe('getRenderingData', () => { diff --git a/test/spec/unit/pbjs_api_spec.js b/test/spec/unit/pbjs_api_spec.js index 0ae2f29aa9b..5939298765e 100644 --- a/test/spec/unit/pbjs_api_spec.js +++ b/test/spec/unit/pbjs_api_spec.js @@ -202,15 +202,10 @@ window.apntag = { describe('Unit: Prebid Module', function () { let bidExpiryStub, sandbox; - function getBidToRenderHook(next, adId) { - // make sure we can handle async bidToRender - next(adId, new Promise((resolve) => setTimeout(resolve))) - } before((done) => { hook.ready(); pbjsModule.requestBids.getHooks().remove(); resetDebugging(); - getBidToRender.before(getBidToRenderHook, 100); // preload creative renderer getCreativeRenderer({}).then(() => done()); }); @@ -232,7 +227,6 @@ describe('Unit: Prebid Module', function () { after(function() { auctionManager.clearAllAuctions(); - getBidToRender.getHooks({hook: getBidToRenderHook}).remove(); }); describe('processQueue', () => { @@ -1239,6 +1233,7 @@ describe('Unit: Prebid Module', function () { } beforeEach(function () { + bidId++; doc = { write: sinon.spy(), close: sinon.spy(), @@ -1297,17 +1292,43 @@ describe('Unit: Prebid Module', function () { }) }); - it('should write the ad to the doc', function () { - const ad = ""; - pushBidResponseToAuction({ - ad + describe('when legacyRender is set', () => { + beforeEach(() => { + pbjs.setConfig({ + auctionOptions: { + legacyRender: true + } + }) }); - const iframe = {}; - doc.createElement.returns(iframe); - return renderAd(doc, bidId).then(() => { - expect(iframe.srcdoc).to.eql(ad); - }) - }); + + afterEach(() => { + configObj.resetConfig() + }); + + it('should immediately write the ad to the doc', function () { + pushBidResponseToAuction({ + ad: "" + }); + pbjs.renderAd(doc, bidId); + sinon.assert.calledWith(doc.write, adResponse.ad); + sinon.assert.called(doc.close); + }); + }) + + describe('when legacyRender is NOT set', () => { + it('should use an iframe, not document.write', function () { + const ad = ""; + pushBidResponseToAuction({ + ad + }); + const iframe = {}; + doc.createElement.returns(iframe); + return renderAd(doc, bidId).then(() => { + expect(iframe.srcdoc).to.eql(ad); + sinon.assert.notCalled(doc.write); + }) + }); + }) it('should place the url inside an iframe on the doc', function () { pushBidResponseToAuction({ @@ -1382,7 +1403,8 @@ describe('Unit: Prebid Module', function () { ad: "" }); return renderAd(doc, bidId).then(() => { - assert.deepEqual(pbjs.getAllWinningBids()[0], adResponse); + const winningBid = pbjs.getAllWinningBids().find(el => el.adId === adResponse.adId); + expect(winningBid).to.eql(adResponse); }); }); diff --git a/test/spec/unit/secureCreatives_spec.js b/test/spec/unit/secureCreatives_spec.js index 6f48a0364a2..084341358b4 100644 --- a/test/spec/unit/secureCreatives_spec.js +++ b/test/spec/unit/secureCreatives_spec.js @@ -21,9 +21,9 @@ import {getGlobal} from '../../../src/prebidGlobal.js'; describe('secureCreatives', () => { let sandbox; - function getBidToRenderHook(next, adId) { + function getBidToRenderHook(next, ...args) { // make sure that bids can be retrieved asynchronously - next(adId, new Promise((resolve) => setTimeout(resolve))) + setTimeout(() => next(...args)) } before(() => { getBidToRender.before(getBidToRenderHook); @@ -45,7 +45,9 @@ describe('secureCreatives', () => { } function receive(ev) { - return Promise.resolve(receiveMessage(ev)); + return new Promise((resolve) => { + receiveMessage(ev, resolve); + }) } describe('getReplier', () => { diff --git a/test/spec/utils/yield_spec.js b/test/spec/utils/yield_spec.js new file mode 100644 index 00000000000..d2f9d188d3c --- /dev/null +++ b/test/spec/utils/yield_spec.js @@ -0,0 +1,85 @@ +import {pbYield, serialize} from '../../../src/utils/yield.js'; +import {getGlobal} from '../../../src/prebidGlobal.js'; + +describe('main thread yielding', () => { + let shouldYield, ran; + beforeEach(() => { + ran = false; + shouldYield = null; + }); + + function runYield() { + return new Promise((resolve) => { + pbYield(() => shouldYield, () => { + ran = true; + resolve(); + }); + }); + } + + describe('pbYield', () => { + [true, false].forEach(expectYield => { + it(`should ${!expectYield ? 'not ' : ''}yield when shouldYield returns ${expectYield}`, () => { + shouldYield = expectYield; + const pm = runYield(); + expect(ran).to.eql(!expectYield); + return pm; + }); + }); + + describe('when shouldYield = true', () => { + let scheduler; + beforeEach(() => { + shouldYield = true; + scheduler = { + yield: sinon.stub().callsFake(() => Promise.resolve()) + }; + }); + it('should use window.scheduler, when available', async () => { + window.scheduler = scheduler; + try { + await runYield(); + sinon.assert.called(scheduler.yield); + } finally { + delete window.scheduler; + } + }); + }); + }); + describe('serialize', () => { + it('runs each function in succession, when delayed', async () => { + let cbs = []; + const fn = (cb) => { + cbs.push(cb); + } + let done = false; + serialize([fn, fn], () => { + done = true; + }); + expect(cbs.length).to.equal(1); + expect(done).to.be.false; + await Promise.resolve(); + cbs[0](); + expect(cbs.length).to.equal(2); + expect(done).to.be.false; + cbs[1](); + expect(cbs.length).to.equal(2); + expect(done).to.be.true; + }); + it('runs each function in succession, when immediate', () => { + let results = []; + let i = 0; + const fn = (cb) => { + i++; + results.push(i); + cb(); + }; + let done = false; + serialize([fn, fn], () => { + done = true; + }); + expect(results).to.eql([1, 2]); + expect(done).to.be.true; + }); + }); +}); From f11060fff92d0fef611a7cdfea223f87e5853a79 Mon Sep 17 00:00:00 2001 From: tal avital Date: Wed, 28 Jan 2026 17:32:46 +0200 Subject: [PATCH 145/248] Taboola support extra signals (#14299) * add deferredBilling support using onBidBillable * update burl setting * support nurl firing logic * add extra signals to taboola request * add extra ad signals * fix missing semicolon * use Prebid's built-in counters * updated detectBot logic --- modules/taboolaBidAdapter.js | 122 +++++- test/spec/modules/taboolaBidAdapter_spec.js | 391 +++++++++++++++++++- 2 files changed, 499 insertions(+), 14 deletions(-) diff --git a/modules/taboolaBidAdapter.js b/modules/taboolaBidAdapter.js index 3e7127f1ab7..421ddbd256b 100644 --- a/modules/taboolaBidAdapter.js +++ b/modules/taboolaBidAdapter.js @@ -3,10 +3,14 @@ import {registerBidder} from '../src/adapters/bidderFactory.js'; import {BANNER} from '../src/mediaTypes.js'; import {config} from '../src/config.js'; -import {deepSetValue, getWindowSelf, replaceAuctionPrice, isArray, safeJSONParse, isPlainObject} from '../src/utils.js'; +import {deepSetValue, getWindowSelf, replaceAuctionPrice, isArray, safeJSONParse, isPlainObject, getWinDimensions} from '../src/utils.js'; import {getStorageManager} from '../src/storageManager.js'; import {ajax} from '../src/ajax.js'; import {ortbConverter} from '../libraries/ortbConverter/converter.js'; +import {getConnectionType} from '../libraries/connectionInfo/connectionUtils.js'; +import {getViewportCoordinates} from '../libraries/viewport/viewport.js'; +import {percentInView} from '../libraries/percentInView/percentInView.js'; +import {getBoundingClientRect} from '../libraries/boundingClientRect/boundingClientRect.js'; const BIDDER_CODE = 'taboola'; const GVLID = 42; @@ -95,6 +99,73 @@ export const internal = { } } +export function detectBot() { + try { + return { + detected: !!( + window.__nightmare || + window.callPhantom || + window._phantom || + /HeadlessChrome/.test(navigator.userAgent) + ) + }; + } catch (e) { + return { detected: false }; + } +} + +export function getPageVisibility() { + try { + return { + hidden: document.hidden, + state: document.visibilityState, + hasFocus: document.hasFocus() + }; + } catch (e) { + return { hidden: false, state: 'visible', hasFocus: true }; + } +} + +export function getDeviceExtSignals(existingExt = {}) { + const viewport = getViewportCoordinates(); + return { + ...existingExt, + bot: detectBot(), + visibility: getPageVisibility(), + scroll: { + top: Math.round(viewport.top), + left: Math.round(viewport.left) + } + }; +} + +export function getElementSignals(adUnitCode) { + try { + const element = document.getElementById(adUnitCode); + if (!element) return null; + + const rect = getBoundingClientRect(element); + const winDimensions = getWinDimensions(); + const rawViewability = percentInView(element); + + const signals = { + placement: { + top: Math.round(rect.top), + left: Math.round(rect.left) + }, + fold: rect.top < winDimensions.innerHeight ? 'above' : 'below' + }; + + if (rawViewability !== null && !isNaN(rawViewability)) { + signals.viewability = Math.round(rawViewability); + } + + return signals; + } catch (e) { + return null; + } +} + const converter = ortbConverter({ context: { netRevenue: true, @@ -108,7 +179,7 @@ const converter = ortbConverter({ }, request(buildRequest, imps, bidderRequest, context) { const reqData = buildRequest(imps, bidderRequest, context); - fillTaboolaReqData(bidderRequest, context.bidRequests[0], reqData) + fillTaboolaReqData(bidderRequest, context.bidRequests[0], reqData, context); return reqData; }, bidResponse(buildBidResponse, bid, context) { @@ -137,7 +208,12 @@ export const spec = { }, buildRequests: (validBidRequests, bidderRequest) => { const [bidRequest] = validBidRequests; - const data = converter.toORTB({bidderRequest: bidderRequest, bidRequests: validBidRequests}); + const auctionId = bidderRequest.auctionId || validBidRequests[0]?.auctionId; + const data = converter.toORTB({ + bidderRequest: bidderRequest, + bidRequests: validBidRequests, + context: { auctionId } + }); const {publisherId} = bidRequest.params; const url = END_POINT_URL + '?publisher=' + publisherId; @@ -287,10 +363,19 @@ function getSiteProperties({publisherId}, refererInfo, ortb2) { } } -function fillTaboolaReqData(bidderRequest, bidRequest, data) { +function fillTaboolaReqData(bidderRequest, bidRequest, data, context) { const {refererInfo, gdprConsent = {}, uspConsent} = bidderRequest; const site = getSiteProperties(bidRequest.params, refererInfo, bidderRequest.ortb2); - deepSetValue(data, 'device', bidderRequest?.ortb2?.device); + + const ortb2Device = bidderRequest?.ortb2?.device || {}; + const connectionType = getConnectionType(); + const device = { + ...ortb2Device, + js: 1, + ...(connectionType && { connectiontype: connectionType }), + ext: getDeviceExtSignals(ortb2Device.ext) + }; + deepSetValue(data, 'device', device); const extractedUserId = userData.getUserId(gdprConsent, uspConsent); if (data.user === undefined || data.user === null) { data.user = { @@ -340,6 +425,10 @@ function fillTaboolaReqData(bidderRequest, bidRequest, data) { data.wlang = ortb2.wlang || bidRequest.params.wlang || []; deepSetValue(data, 'ext.pageType', ortb2?.ext?.data?.pageType || ortb2?.ext?.data?.section || bidRequest.params.pageType); deepSetValue(data, 'ext.prebid.version', '$prebid.version$'); + const auctionId = context?.auctionId; + if (auctionId) { + deepSetValue(data, 'ext.prebid.auctionId', auctionId); + } } function fillTaboolaImpData(bid, imp) { @@ -362,6 +451,29 @@ function fillTaboolaImpData(bid, imp) { imp.bidfloorcur = bidfloorcur; } deepSetValue(imp, 'ext.gpid', bid?.ortb2Imp?.ext?.gpid); + + if (bid.bidId) { + deepSetValue(imp, 'ext.prebid.bidId', bid.bidId); + } + if (bid.adUnitCode) { + deepSetValue(imp, 'ext.prebid.adUnitCode', bid.adUnitCode); + } + if (bid.adUnitId) { + deepSetValue(imp, 'ext.prebid.adUnitId', bid.adUnitId); + } + + deepSetValue(imp, 'ext.prebid.bidRequestsCount', bid.bidRequestsCount); + deepSetValue(imp, 'ext.prebid.bidderRequestsCount', bid.bidderRequestsCount); + deepSetValue(imp, 'ext.prebid.bidderWinsCount', bid.bidderWinsCount); + + const elementSignals = getElementSignals(bid.adUnitCode); + if (elementSignals) { + if (elementSignals.viewability !== undefined) { + deepSetValue(imp, 'ext.viewability', elementSignals.viewability); + } + deepSetValue(imp, 'ext.placement', elementSignals.placement); + deepSetValue(imp, 'ext.fold', elementSignals.fold); + } } function getBanners(bid, pos) { diff --git a/test/spec/modules/taboolaBidAdapter_spec.js b/test/spec/modules/taboolaBidAdapter_spec.js index 9c06d717a04..8c23be4bcd0 100644 --- a/test/spec/modules/taboolaBidAdapter_spec.js +++ b/test/spec/modules/taboolaBidAdapter_spec.js @@ -1,5 +1,5 @@ import {expect} from 'chai'; -import {spec, internal, END_POINT_URL, userData, EVENT_ENDPOINT} from 'modules/taboolaBidAdapter.js'; +import {spec, internal, END_POINT_URL, userData, EVENT_ENDPOINT, detectBot, getPageVisibility} from 'modules/taboolaBidAdapter.js'; import {config} from '../../../src/config.js' import * as utils from '../../../src/utils.js' import {server} from '../../mocks/xhr.js' @@ -285,9 +285,13 @@ describe('Taboola Adapter', function () { 'tagid': commonBidRequest.params.tagId, 'bidfloor': null, 'bidfloorcur': 'USD', - 'ext': {} + 'ext': { + 'prebid': { + 'bidId': defaultBidRequest.bidId + } + } }], - 'device': {'ua': navigator.userAgent}, + 'device': res.data.device, 'id': 'mock-uuid', 'test': 0, 'user': { @@ -308,15 +312,12 @@ describe('Taboola Adapter', function () { 'bcat': [], 'badv': [], 'wlang': [], - 'ext': { - 'prebid': { - 'version': '$prebid.version$' - } - } + 'ext': res.data.ext }; expect(res.url).to.equal(`${END_POINT_URL}?publisher=${commonBidRequest.params.publisherId}`); expect(JSON.stringify(res.data)).to.deep.equal(JSON.stringify(expectedData)); + expect(res.data.ext.prebid.version).to.equal('$prebid.version$'); }); it('should pass optional parameters in request', function () { @@ -475,7 +476,12 @@ describe('Taboola Adapter', function () { expect(res.data.badv).to.deep.equal(bidderRequest.ortb2.badv) expect(res.data.wlang).to.deep.equal(bidderRequest.ortb2.wlang) expect(res.data.user.id).to.deep.equal(bidderRequest.ortb2.user.id) - expect(res.data.device).to.deep.equal(bidderRequest.ortb2.device); + // Device should contain ortb2 device properties plus fraud prevention signals + expect(res.data.device.w).to.equal(bidderRequest.ortb2.device.w); + expect(res.data.device.h).to.equal(bidderRequest.ortb2.device.h); + expect(res.data.device.ua).to.equal(bidderRequest.ortb2.device.ua); + expect(res.data.device.ext.bot).to.exist; + expect(res.data.device.ext.visibility).to.exist; }); it('should pass user entities', function () { @@ -1606,5 +1612,372 @@ describe('Taboola Adapter', function () { expect(internal.getReferrer(bidderRequest.refererInfo)).to.equal(bidderRequest.refererInfo.ref); }); }); + + describe('detectBot', function () { + it('should return detected false for normal browsers', function () { + const result = detectBot(); + expect(result).to.have.property('detected'); + expect(result.detected).to.be.a('boolean'); + }); + + it('should return object with detected property', function () { + const result = detectBot(); + expect(result).to.be.an('object'); + expect(result).to.have.property('detected'); + }); + }); + + describe('getPageVisibility', function () { + it('should return visibility state object', function () { + const result = getPageVisibility(); + expect(result).to.be.an('object'); + expect(result).to.have.property('hidden'); + expect(result).to.have.property('state'); + expect(result).to.have.property('hasFocus'); + }); + + it('should return boolean for hidden property', function () { + const result = getPageVisibility(); + expect(result.hidden).to.be.a('boolean'); + }); + + it('should return string for state property', function () { + const result = getPageVisibility(); + expect(result.state).to.be.a('string'); + }); + + it('should return boolean for hasFocus property', function () { + const result = getPageVisibility(); + expect(result.hasFocus).to.be.a('boolean'); + }); + }); + + describe('fraud signals in buildRequests', function () { + const defaultBidRequest = { + bidder: 'taboola', + params: { + publisherId: 'publisherId', + tagId: 'placement name' + }, + bidId: 'test-bid-id', + auctionId: 'test-auction-id', + sizes: [[300, 250]] + }; + + const commonBidderRequest = { + bidderRequestId: 'mock-uuid', + refererInfo: { + page: 'https://example.com/ref', + ref: 'https://ref', + domain: 'example.com', + } + }; + + it('should include bot detection in device.ext', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.device.ext.bot).to.exist; + expect(res.data.device.ext.bot).to.have.property('detected'); + }); + + it('should include visibility in device.ext', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.device.ext.visibility).to.exist; + expect(res.data.device.ext.visibility).to.have.property('hidden'); + expect(res.data.device.ext.visibility).to.have.property('state'); + expect(res.data.device.ext.visibility).to.have.property('hasFocus'); + }); + + it('should include scroll position in device.ext', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.device.ext.scroll).to.exist; + expect(res.data.device.ext.scroll).to.have.property('top'); + expect(res.data.device.ext.scroll).to.have.property('left'); + expect(res.data.device.ext.scroll.top).to.be.a('number'); + expect(res.data.device.ext.scroll.left).to.be.a('number'); + }); + + it('should include viewability in imp.ext when element exists', function () { + const adUnitCode = 'test-viewability-div'; + const testDiv = document.createElement('div'); + testDiv.id = adUnitCode; + testDiv.style.width = '300px'; + testDiv.style.height = '250px'; + document.body.appendChild(testDiv); + + const bidRequest = { + ...defaultBidRequest, + adUnitCode: adUnitCode + }; + + try { + const res = spec.buildRequests([bidRequest], commonBidderRequest); + // Viewability should be a number between 0-100 when element exists + expect(res.data.imp[0].ext.viewability).to.be.a('number'); + expect(res.data.imp[0].ext.viewability).to.be.at.least(0); + expect(res.data.imp[0].ext.viewability).to.be.at.most(100); + } finally { + document.body.removeChild(testDiv); + } + }); + + it('should not include viewability when element does not exist', function () { + const bidRequest = { + ...defaultBidRequest, + adUnitCode: 'non-existent-element-id' + }; + const res = spec.buildRequests([bidRequest], commonBidderRequest); + expect(res.data.imp[0].ext.viewability).to.be.undefined; + }); + + it('should include placement position in imp.ext when element exists', function () { + const adUnitCode = 'test-placement-div'; + const testDiv = document.createElement('div'); + testDiv.id = adUnitCode; + testDiv.style.width = '300px'; + testDiv.style.height = '250px'; + testDiv.style.position = 'absolute'; + testDiv.style.top = '100px'; + testDiv.style.left = '50px'; + document.body.appendChild(testDiv); + + const bidRequest = { + ...defaultBidRequest, + adUnitCode: adUnitCode + }; + + try { + const res = spec.buildRequests([bidRequest], commonBidderRequest); + expect(res.data.imp[0].ext.placement).to.exist; + expect(res.data.imp[0].ext.placement).to.have.property('top'); + expect(res.data.imp[0].ext.placement).to.have.property('left'); + expect(res.data.imp[0].ext.placement.top).to.be.a('number'); + expect(res.data.imp[0].ext.placement.left).to.be.a('number'); + } finally { + document.body.removeChild(testDiv); + } + }); + + it('should include fold detection in imp.ext when element exists', function () { + const adUnitCode = 'test-fold-div'; + const testDiv = document.createElement('div'); + testDiv.id = adUnitCode; + testDiv.style.width = '300px'; + testDiv.style.height = '250px'; + document.body.appendChild(testDiv); + + const bidRequest = { + ...defaultBidRequest, + adUnitCode: adUnitCode + }; + + try { + const res = spec.buildRequests([bidRequest], commonBidderRequest); + expect(res.data.imp[0].ext.fold).to.exist; + expect(res.data.imp[0].ext.fold).to.be.oneOf(['above', 'below']); + } finally { + document.body.removeChild(testDiv); + } + }); + + it('should not include placement or fold when element does not exist', function () { + const bidRequest = { + ...defaultBidRequest, + adUnitCode: 'non-existent-placement-element' + }; + const res = spec.buildRequests([bidRequest], commonBidderRequest); + expect(res.data.imp[0].ext.placement).to.be.undefined; + expect(res.data.imp[0].ext.fold).to.be.undefined; + }); + + it('should preserve existing ortb2 device ext properties', function () { + const bidderRequestWithDeviceExt = { + ...commonBidderRequest, + ortb2: { + device: { + ua: 'test-ua', + ext: { + existingProp: 'existingValue' + } + } + } + }; + const res = spec.buildRequests([defaultBidRequest], bidderRequestWithDeviceExt); + expect(res.data.device.ext.existingProp).to.equal('existingValue'); + expect(res.data.device.ext.bot).to.exist; + expect(res.data.device.ext.visibility).to.exist; + }); + + it('should include device.js = 1', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.device.js).to.equal(1); + }); + + it('should include connectiontype when available', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + // connectiontype is optional - depends on navigator.connection availability + if (res.data.device.connectiontype !== undefined) { + expect(res.data.device.connectiontype).to.be.a('number'); + expect(res.data.device.connectiontype).to.be.oneOf([0, 1, 2, 3, 4, 5, 6, 7]); + } + }); + + it('should not override existing ortb2 device properties', function () { + const bidderRequestWithDevice = { + ...commonBidderRequest, + ortb2: { + device: { + ua: 'custom-ua', + w: 1920, + h: 1080 + } + } + }; + const res = spec.buildRequests([defaultBidRequest], bidderRequestWithDevice); + expect(res.data.device.ua).to.equal('custom-ua'); + expect(res.data.device.w).to.equal(1920); + expect(res.data.device.h).to.equal(1080); + expect(res.data.device.js).to.equal(1); + }); + }); + + describe('Prebid IDs in buildRequests', function () { + const defaultBidRequest = { + bidder: 'taboola', + params: { + publisherId: 'publisherId', + tagId: 'placement name' + }, + bidId: 'test-bid-id-123', + auctionId: 'test-auction-id-456', + adUnitCode: 'test-ad-unit-code', + sizes: [[300, 250]] + }; + + const commonBidderRequest = { + bidderRequestId: 'mock-uuid', + auctionId: 'auction-id-789', + refererInfo: { + page: 'https://example.com/ref', + ref: 'https://ref', + domain: 'example.com', + } + }; + + it('should include auctionId in ext.prebid', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.ext.prebid.auctionId).to.equal('auction-id-789'); + }); + + it('should include bidId in imp.ext.prebid', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.imp[0].ext.prebid.bidId).to.equal('test-bid-id-123'); + }); + + it('should include adUnitCode in imp.ext.prebid', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.imp[0].ext.prebid.adUnitCode).to.equal('test-ad-unit-code'); + }); + + it('should include adUnitId in imp.ext.prebid when available', function () { + const bidRequestWithAdUnitId = { + ...defaultBidRequest, + adUnitId: 'test-ad-unit-id' + }; + const res = spec.buildRequests([bidRequestWithAdUnitId], commonBidderRequest); + expect(res.data.imp[0].ext.prebid.adUnitId).to.equal('test-ad-unit-id'); + }); + + it('should not include adUnitId when not available', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.imp[0].ext.prebid.adUnitId).to.be.undefined; + }); + + it('should include all Prebid IDs for multiple impressions', function () { + const bidRequest1 = { + ...defaultBidRequest, + bidId: 'bid-id-1', + adUnitCode: 'ad-unit-1' + }; + const bidRequest2 = { + ...defaultBidRequest, + bidId: 'bid-id-2', + adUnitCode: 'ad-unit-2' + }; + const res = spec.buildRequests([bidRequest1, bidRequest2], commonBidderRequest); + expect(res.data.imp[0].ext.prebid.bidId).to.equal('bid-id-1'); + expect(res.data.imp[0].ext.prebid.adUnitCode).to.equal('ad-unit-1'); + expect(res.data.imp[1].ext.prebid.bidId).to.equal('bid-id-2'); + expect(res.data.imp[1].ext.prebid.adUnitCode).to.equal('ad-unit-2'); + }); + }); + + describe('Prebid counters in buildRequests', function () { + const defaultBidRequest = { + bidder: 'taboola', + params: { + publisherId: 'publisherId', + tagId: 'placement name' + }, + bidId: 'test-bid-id', + adUnitCode: 'test-ad-unit', + bidRequestsCount: 3, + bidderRequestsCount: 2, + bidderWinsCount: 1, + sizes: [[300, 250]] + }; + + const commonBidderRequest = { + bidderRequestId: 'mock-uuid', + auctionId: 'test-auction-id', + refererInfo: { + page: 'https://example.com/ref', + ref: 'https://ref', + domain: 'example.com', + } + }; + + it('should include bidRequestsCount in imp.ext.prebid', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.imp[0].ext.prebid.bidRequestsCount).to.equal(3); + }); + + it('should include bidderRequestsCount in imp.ext.prebid', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.imp[0].ext.prebid.bidderRequestsCount).to.equal(2); + }); + + it('should include bidderWinsCount in imp.ext.prebid', function () { + const res = spec.buildRequests([defaultBidRequest], commonBidderRequest); + expect(res.data.imp[0].ext.prebid.bidderWinsCount).to.equal(1); + }); + + it('should include all Prebid counters for multiple impressions', function () { + const bidRequest1 = { + ...defaultBidRequest, + bidId: 'bid-id-1', + adUnitCode: 'ad-unit-1', + bidRequestsCount: 5, + bidderRequestsCount: 4, + bidderWinsCount: 2 + }; + const bidRequest2 = { + ...defaultBidRequest, + bidId: 'bid-id-2', + adUnitCode: 'ad-unit-2', + bidRequestsCount: 2, + bidderRequestsCount: 1, + bidderWinsCount: 0 + }; + const res = spec.buildRequests([bidRequest1, bidRequest2], commonBidderRequest); + + expect(res.data.imp[0].ext.prebid.bidRequestsCount).to.equal(5); + expect(res.data.imp[0].ext.prebid.bidderRequestsCount).to.equal(4); + expect(res.data.imp[0].ext.prebid.bidderWinsCount).to.equal(2); + + expect(res.data.imp[1].ext.prebid.bidRequestsCount).to.equal(2); + expect(res.data.imp[1].ext.prebid.bidderRequestsCount).to.equal(1); + expect(res.data.imp[1].ext.prebid.bidderWinsCount).to.equal(0); + }); + }); }) }) From d16f9f879a7104ee906c273bbef4ac0f98b71759 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Wed, 28 Jan 2026 16:31:45 +0000 Subject: [PATCH 146/248] Prebid 10.23.0 release --- metadata/modules.json | 16 +- metadata/modules/33acrossBidAdapter.json | 2 +- metadata/modules/33acrossIdSystem.json | 2 +- metadata/modules/acuityadsBidAdapter.json | 2 +- metadata/modules/adagioBidAdapter.json | 2 +- metadata/modules/adagioRtdProvider.json | 2 +- metadata/modules/adbroBidAdapter.json | 2 +- metadata/modules/addefendBidAdapter.json | 2 +- metadata/modules/adfBidAdapter.json | 2 +- metadata/modules/adfusionBidAdapter.json | 2 +- metadata/modules/adheseBidAdapter.json | 2 +- metadata/modules/adipoloBidAdapter.json | 2 +- metadata/modules/adkernelAdnBidAdapter.json | 2 +- metadata/modules/adkernelBidAdapter.json | 10 +- metadata/modules/admaticBidAdapter.json | 4 +- metadata/modules/admixerBidAdapter.json | 2 +- metadata/modules/admixerIdSystem.json | 2 +- metadata/modules/adnowBidAdapter.json | 2 +- metadata/modules/adnuntiusBidAdapter.json | 2 +- metadata/modules/adnuntiusRtdProvider.json | 2 +- metadata/modules/adoceanBidAdapter.json | 273 ++++++++++++++- metadata/modules/adotBidAdapter.json | 2 +- metadata/modules/adponeBidAdapter.json | 2 +- metadata/modules/adqueryBidAdapter.json | 2 +- metadata/modules/adqueryIdSystem.json | 2 +- metadata/modules/adrinoBidAdapter.json | 2 +- .../modules/ads_interactiveBidAdapter.json | 2 +- metadata/modules/adtargetBidAdapter.json | 2 +- metadata/modules/adtelligentBidAdapter.json | 6 +- metadata/modules/adtelligentIdSystem.json | 2 +- metadata/modules/aduptechBidAdapter.json | 2 +- metadata/modules/adyoulikeBidAdapter.json | 4 +- metadata/modules/airgridRtdProvider.json | 2 +- metadata/modules/alkimiBidAdapter.json | 2 +- metadata/modules/allegroBidAdapter.json | 2 +- metadata/modules/amxBidAdapter.json | 2 +- metadata/modules/amxIdSystem.json | 2 +- metadata/modules/aniviewBidAdapter.json | 2 +- metadata/modules/anonymisedRtdProvider.json | 2 +- metadata/modules/appStockSSPBidAdapter.json | 2 +- metadata/modules/appierBidAdapter.json | 2 +- metadata/modules/appnexusBidAdapter.json | 19 +- metadata/modules/appushBidAdapter.json | 2 +- metadata/modules/apsBidAdapter.json | 2 +- metadata/modules/apstreamBidAdapter.json | 2 +- metadata/modules/audiencerunBidAdapter.json | 2 +- metadata/modules/axisBidAdapter.json | 2 +- metadata/modules/azerionedgeRtdProvider.json | 2 +- metadata/modules/beachfrontBidAdapter.json | 2 +- metadata/modules/beopBidAdapter.json | 2 +- metadata/modules/betweenBidAdapter.json | 2 +- metadata/modules/bidfuseBidAdapter.json | 2 +- metadata/modules/bidmaticBidAdapter.json | 2 +- metadata/modules/bidtheatreBidAdapter.json | 2 +- metadata/modules/bliinkBidAdapter.json | 2 +- metadata/modules/blockthroughBidAdapter.json | 320 +++++++++++++++++- metadata/modules/blueBidAdapter.json | 2 +- metadata/modules/bmsBidAdapter.json | 2 +- metadata/modules/boldwinBidAdapter.json | 2 +- metadata/modules/bridBidAdapter.json | 2 +- metadata/modules/browsiBidAdapter.json | 2 +- metadata/modules/bucksenseBidAdapter.json | 2 +- metadata/modules/carodaBidAdapter.json | 2 +- metadata/modules/categoryTranslation.json | 2 +- metadata/modules/ceeIdSystem.json | 2 +- metadata/modules/chromeAiRtdProvider.json | 2 +- metadata/modules/clickioBidAdapter.json | 2 +- metadata/modules/compassBidAdapter.json | 2 +- metadata/modules/conceptxBidAdapter.json | 2 +- metadata/modules/connatixBidAdapter.json | 2 +- metadata/modules/connectIdSystem.json | 2 +- metadata/modules/connectadBidAdapter.json | 2 +- .../modules/contentexchangeBidAdapter.json | 2 +- metadata/modules/conversantBidAdapter.json | 2 +- metadata/modules/copper6sspBidAdapter.json | 2 +- metadata/modules/cpmstarBidAdapter.json | 2 +- metadata/modules/criteoBidAdapter.json | 2 +- metadata/modules/criteoIdSystem.json | 2 +- metadata/modules/cwireBidAdapter.json | 2 +- metadata/modules/czechAdIdSystem.json | 2 +- metadata/modules/dailymotionBidAdapter.json | 2 +- metadata/modules/debugging.json | 2 +- metadata/modules/deepintentBidAdapter.json | 2 +- metadata/modules/defineMediaBidAdapter.json | 2 +- metadata/modules/deltaprojectsBidAdapter.json | 2 +- metadata/modules/dianomiBidAdapter.json | 2 +- metadata/modules/digitalMatterBidAdapter.json | 2 +- metadata/modules/distroscaleBidAdapter.json | 2 +- .../modules/docereeAdManagerBidAdapter.json | 2 +- metadata/modules/docereeBidAdapter.json | 2 +- metadata/modules/dspxBidAdapter.json | 2 +- metadata/modules/e_volutionBidAdapter.json | 2 +- metadata/modules/edge226BidAdapter.json | 2 +- metadata/modules/empowerBidAdapter.json | 2 +- metadata/modules/equativBidAdapter.json | 2 +- metadata/modules/eskimiBidAdapter.json | 2 +- metadata/modules/etargetBidAdapter.json | 2 +- metadata/modules/euidIdSystem.json | 2 +- metadata/modules/exadsBidAdapter.json | 2 +- metadata/modules/feedadBidAdapter.json | 2 +- metadata/modules/fwsspBidAdapter.json | 2 +- metadata/modules/gamoshiBidAdapter.json | 2 +- metadata/modules/gemiusIdSystem.json | 2 +- metadata/modules/glomexBidAdapter.json | 2 +- metadata/modules/goldbachBidAdapter.json | 2 +- metadata/modules/gridBidAdapter.json | 2 +- metadata/modules/gumgumBidAdapter.json | 2 +- metadata/modules/hadronIdSystem.json | 2 +- metadata/modules/hadronRtdProvider.json | 2 +- metadata/modules/holidBidAdapter.json | 2 +- metadata/modules/hybridBidAdapter.json | 2 +- metadata/modules/id5IdSystem.json | 2 +- metadata/modules/identityLinkIdSystem.json | 2 +- metadata/modules/illuminBidAdapter.json | 2 +- metadata/modules/impactifyBidAdapter.json | 2 +- .../modules/improvedigitalBidAdapter.json | 2 +- metadata/modules/inmobiBidAdapter.json | 2 +- metadata/modules/insticatorBidAdapter.json | 2 +- metadata/modules/intentIqIdSystem.json | 2 +- metadata/modules/invibesBidAdapter.json | 2 +- metadata/modules/ipromBidAdapter.json | 2 +- metadata/modules/ixBidAdapter.json | 2 +- metadata/modules/justIdSystem.json | 2 +- metadata/modules/justpremiumBidAdapter.json | 2 +- metadata/modules/jwplayerBidAdapter.json | 2 +- metadata/modules/kargoBidAdapter.json | 2 +- metadata/modules/kueezRtbBidAdapter.json | 2 +- .../modules/limelightDigitalBidAdapter.json | 4 +- metadata/modules/liveIntentIdSystem.json | 2 +- metadata/modules/liveIntentRtdProvider.json | 2 +- metadata/modules/livewrappedBidAdapter.json | 2 +- metadata/modules/loopmeBidAdapter.json | 2 +- metadata/modules/lotamePanoramaIdSystem.json | 2 +- metadata/modules/luponmediaBidAdapter.json | 2 +- metadata/modules/madvertiseBidAdapter.json | 2 +- metadata/modules/marsmediaBidAdapter.json | 2 +- .../modules/mediaConsortiumBidAdapter.json | 2 +- metadata/modules/mediaforceBidAdapter.json | 2 +- metadata/modules/mediafuseBidAdapter.json | 2 +- metadata/modules/mediagoBidAdapter.json | 2 +- metadata/modules/mediakeysBidAdapter.json | 2 +- metadata/modules/medianetBidAdapter.json | 4 +- metadata/modules/mediasquareBidAdapter.json | 2 +- metadata/modules/mgidBidAdapter.json | 2 +- metadata/modules/mgidRtdProvider.json | 2 +- metadata/modules/mgidXBidAdapter.json | 2 +- metadata/modules/minutemediaBidAdapter.json | 2 +- metadata/modules/missenaBidAdapter.json | 2 +- metadata/modules/mobianRtdProvider.json | 2 +- metadata/modules/mobkoiBidAdapter.json | 2 +- metadata/modules/mobkoiIdSystem.json | 2 +- metadata/modules/msftBidAdapter.json | 2 +- metadata/modules/nativeryBidAdapter.json | 2 +- metadata/modules/nativoBidAdapter.json | 2 +- metadata/modules/newspassidBidAdapter.json | 2 +- .../modules/nextMillenniumBidAdapter.json | 2 +- metadata/modules/nextrollBidAdapter.json | 2 +- metadata/modules/nexx360BidAdapter.json | 12 +- metadata/modules/nobidBidAdapter.json | 2 +- metadata/modules/nodalsAiRtdProvider.json | 2 +- metadata/modules/novatiqIdSystem.json | 2 +- metadata/modules/oguryBidAdapter.json | 2 +- metadata/modules/omnidexBidAdapter.json | 2 +- metadata/modules/omsBidAdapter.json | 2 +- metadata/modules/onetagBidAdapter.json | 2 +- metadata/modules/openwebBidAdapter.json | 2 +- metadata/modules/openxBidAdapter.json | 2 +- metadata/modules/operaadsBidAdapter.json | 2 +- metadata/modules/optidigitalBidAdapter.json | 2 +- metadata/modules/optoutBidAdapter.json | 2 +- metadata/modules/orbidderBidAdapter.json | 2 +- metadata/modules/outbrainBidAdapter.json | 2 +- metadata/modules/ozoneBidAdapter.json | 2 +- metadata/modules/pairIdSystem.json | 2 +- metadata/modules/panxoBidAdapter.json | 46 +++ metadata/modules/performaxBidAdapter.json | 2 +- .../permutiveIdentityManagerIdSystem.json | 2 +- metadata/modules/permutiveRtdProvider.json | 2 +- metadata/modules/pixfutureBidAdapter.json | 2 +- metadata/modules/playdigoBidAdapter.json | 2 +- metadata/modules/prebid-core.json | 4 +- metadata/modules/precisoBidAdapter.json | 2 +- metadata/modules/prismaBidAdapter.json | 2 +- metadata/modules/programmaticXBidAdapter.json | 2 +- metadata/modules/proxistoreBidAdapter.json | 2 +- metadata/modules/publinkIdSystem.json | 2 +- metadata/modules/pubmaticBidAdapter.json | 2 +- metadata/modules/pubmaticIdSystem.json | 2 +- metadata/modules/pulsepointBidAdapter.json | 2 +- metadata/modules/quantcastBidAdapter.json | 2 +- metadata/modules/quantcastIdSystem.json | 2 +- metadata/modules/r2b2BidAdapter.json | 2 +- metadata/modules/readpeakBidAdapter.json | 2 +- metadata/modules/relayBidAdapter.json | 2 +- .../modules/relevantdigitalBidAdapter.json | 2 +- metadata/modules/resetdigitalBidAdapter.json | 2 +- metadata/modules/responsiveAdsBidAdapter.json | 2 +- metadata/modules/revcontentBidAdapter.json | 2 +- metadata/modules/revnewBidAdapter.json | 2 +- metadata/modules/rhythmoneBidAdapter.json | 2 +- metadata/modules/richaudienceBidAdapter.json | 2 +- metadata/modules/riseBidAdapter.json | 4 +- metadata/modules/rixengineBidAdapter.json | 2 +- metadata/modules/rtbhouseBidAdapter.json | 2 +- metadata/modules/rubiconBidAdapter.json | 2 +- metadata/modules/scaliburBidAdapter.json | 2 +- metadata/modules/screencoreBidAdapter.json | 2 +- .../modules/seedingAllianceBidAdapter.json | 2 +- metadata/modules/seedtagBidAdapter.json | 2 +- metadata/modules/semantiqRtdProvider.json | 2 +- metadata/modules/setupadBidAdapter.json | 2 +- metadata/modules/sevioBidAdapter.json | 2 +- metadata/modules/sharedIdSystem.json | 2 +- metadata/modules/sharethroughBidAdapter.json | 2 +- metadata/modules/showheroes-bsBidAdapter.json | 2 +- metadata/modules/silvermobBidAdapter.json | 2 +- metadata/modules/sirdataRtdProvider.json | 2 +- metadata/modules/smaatoBidAdapter.json | 2 +- metadata/modules/smartadserverBidAdapter.json | 2 +- metadata/modules/smartxBidAdapter.json | 2 +- metadata/modules/smartyadsBidAdapter.json | 2 +- metadata/modules/smilewantedBidAdapter.json | 2 +- metadata/modules/snigelBidAdapter.json | 2 +- metadata/modules/sonaradsBidAdapter.json | 2 +- metadata/modules/sonobiBidAdapter.json | 2 +- metadata/modules/sovrnBidAdapter.json | 2 +- metadata/modules/sparteoBidAdapter.json | 2 +- metadata/modules/ssmasBidAdapter.json | 2 +- metadata/modules/sspBCBidAdapter.json | 2 +- metadata/modules/stackadaptBidAdapter.json | 2 +- metadata/modules/startioBidAdapter.json | 2 +- metadata/modules/stroeerCoreBidAdapter.json | 2 +- metadata/modules/stvBidAdapter.json | 2 +- metadata/modules/sublimeBidAdapter.json | 2 +- metadata/modules/taboolaBidAdapter.json | 2 +- metadata/modules/taboolaIdSystem.json | 2 +- metadata/modules/tadvertisingBidAdapter.json | 2 +- metadata/modules/tappxBidAdapter.json | 2 +- metadata/modules/targetVideoBidAdapter.json | 2 +- metadata/modules/teadsBidAdapter.json | 2 +- metadata/modules/teadsIdSystem.json | 2 +- metadata/modules/tealBidAdapter.json | 2 +- metadata/modules/tncIdSystem.json | 2 +- metadata/modules/topicsFpdModule.json | 2 +- metadata/modules/toponBidAdapter.json | 2 +- metadata/modules/tripleliftBidAdapter.json | 2 +- metadata/modules/ttdBidAdapter.json | 2 +- metadata/modules/twistDigitalBidAdapter.json | 2 +- metadata/modules/underdogmediaBidAdapter.json | 2 +- metadata/modules/undertoneBidAdapter.json | 2 +- metadata/modules/unifiedIdSystem.json | 2 +- metadata/modules/unrulyBidAdapter.json | 2 +- metadata/modules/userId.json | 2 +- metadata/modules/utiqIdSystem.json | 2 +- metadata/modules/utiqMtpIdSystem.json | 2 +- metadata/modules/validationFpdModule.json | 2 +- metadata/modules/valuadBidAdapter.json | 2 +- metadata/modules/vidazooBidAdapter.json | 2 +- metadata/modules/vidoomyBidAdapter.json | 2 +- metadata/modules/viouslyBidAdapter.json | 2 +- metadata/modules/visxBidAdapter.json | 2 +- metadata/modules/vlybyBidAdapter.json | 2 +- metadata/modules/voxBidAdapter.json | 2 +- metadata/modules/vrtcalBidAdapter.json | 2 +- metadata/modules/vuukleBidAdapter.json | 2 +- metadata/modules/weboramaRtdProvider.json | 2 +- metadata/modules/welectBidAdapter.json | 2 +- metadata/modules/yahooAdsBidAdapter.json | 2 +- metadata/modules/yieldlabBidAdapter.json | 2 +- metadata/modules/yieldloveBidAdapter.json | 2 +- metadata/modules/yieldmoBidAdapter.json | 2 +- metadata/modules/zeotapIdPlusIdSystem.json | 2 +- metadata/modules/zeta_globalBidAdapter.json | 2 +- .../modules/zeta_global_sspBidAdapter.json | 2 +- package-lock.json | 28 +- package.json | 2 +- 276 files changed, 947 insertions(+), 329 deletions(-) create mode 100644 metadata/modules/panxoBidAdapter.json diff --git a/metadata/modules.json b/metadata/modules.json index 6bba23bd092..b078a117e6e 100644 --- a/metadata/modules.json +++ b/metadata/modules.json @@ -691,7 +691,7 @@ "componentType": "bidder", "componentName": "adocean", "aliasOf": null, - "gvlid": null, + "gvlid": 328, "disclosureURL": null }, { @@ -1212,13 +1212,6 @@ "gvlid": 32, "disclosureURL": null }, - { - "componentType": "bidder", - "componentName": "emetriq", - "aliasOf": "appnexus", - "gvlid": 213, - "disclosureURL": null - }, { "componentType": "bidder", "componentName": "pagescience", @@ -3648,6 +3641,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "panxo", + "aliasOf": null, + "gvlid": 1527, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "performax", diff --git a/metadata/modules/33acrossBidAdapter.json b/metadata/modules/33acrossBidAdapter.json index 28bc19ea084..7c784ce23b2 100644 --- a/metadata/modules/33acrossBidAdapter.json +++ b/metadata/modules/33acrossBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2026-01-21T15:16:22.814Z", + "timestamp": "2026-01-28T16:29:58.218Z", "disclosures": [] } }, diff --git a/metadata/modules/33acrossIdSystem.json b/metadata/modules/33acrossIdSystem.json index 6c4fc8ee6fa..08c9e5fdb3c 100644 --- a/metadata/modules/33acrossIdSystem.json +++ b/metadata/modules/33acrossIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2026-01-21T15:16:22.912Z", + "timestamp": "2026-01-28T16:29:58.314Z", "disclosures": [] } }, diff --git a/metadata/modules/acuityadsBidAdapter.json b/metadata/modules/acuityadsBidAdapter.json index 6f890a405b2..5c1719c2ce1 100644 --- a/metadata/modules/acuityadsBidAdapter.json +++ b/metadata/modules/acuityadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.acuityads.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:22.914Z", + "timestamp": "2026-01-28T16:29:58.317Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioBidAdapter.json b/metadata/modules/adagioBidAdapter.json index 31087ee5c76..b490d929e1a 100644 --- a/metadata/modules/adagioBidAdapter.json +++ b/metadata/modules/adagioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:22.947Z", + "timestamp": "2026-01-28T16:29:58.354Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioRtdProvider.json b/metadata/modules/adagioRtdProvider.json index 60dc0446c5d..e604c3b2d9c 100644 --- a/metadata/modules/adagioRtdProvider.json +++ b/metadata/modules/adagioRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:23.014Z", + "timestamp": "2026-01-28T16:29:58.504Z", "disclosures": [] } }, diff --git a/metadata/modules/adbroBidAdapter.json b/metadata/modules/adbroBidAdapter.json index 7eb1502f89b..6b21766ca1d 100644 --- a/metadata/modules/adbroBidAdapter.json +++ b/metadata/modules/adbroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tag.adbro.me/privacy/devicestorage.json": { - "timestamp": "2026-01-21T15:16:23.014Z", + "timestamp": "2026-01-28T16:29:58.504Z", "disclosures": [] } }, diff --git a/metadata/modules/addefendBidAdapter.json b/metadata/modules/addefendBidAdapter.json index 201cb7effbd..0d880b30acc 100644 --- a/metadata/modules/addefendBidAdapter.json +++ b/metadata/modules/addefendBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.addefend.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:23.303Z", + "timestamp": "2026-01-28T16:29:58.826Z", "disclosures": [] } }, diff --git a/metadata/modules/adfBidAdapter.json b/metadata/modules/adfBidAdapter.json index 5aef107fb2f..fb6d19f8ad4 100644 --- a/metadata/modules/adfBidAdapter.json +++ b/metadata/modules/adfBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://site.adform.com/assets/devicestorage.json": { - "timestamp": "2026-01-21T15:16:24.107Z", + "timestamp": "2026-01-28T16:29:59.445Z", "disclosures": [] } }, diff --git a/metadata/modules/adfusionBidAdapter.json b/metadata/modules/adfusionBidAdapter.json index a838f9f9567..57df8f4f68b 100644 --- a/metadata/modules/adfusionBidAdapter.json +++ b/metadata/modules/adfusionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spicyrtb.com/static/iab-disclosure.json": { - "timestamp": "2026-01-21T15:16:24.108Z", + "timestamp": "2026-01-28T16:29:59.445Z", "disclosures": [] } }, diff --git a/metadata/modules/adheseBidAdapter.json b/metadata/modules/adheseBidAdapter.json index 8f83e1080a0..907ed2be2df 100644 --- a/metadata/modules/adheseBidAdapter.json +++ b/metadata/modules/adheseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adhese.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:24.474Z", + "timestamp": "2026-01-28T16:29:59.885Z", "disclosures": [] } }, diff --git a/metadata/modules/adipoloBidAdapter.json b/metadata/modules/adipoloBidAdapter.json index 9c96cfb8a1c..88388af4def 100644 --- a/metadata/modules/adipoloBidAdapter.json +++ b/metadata/modules/adipoloBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adipolo.com/device_storage_disclosure.json": { - "timestamp": "2026-01-21T15:16:24.737Z", + "timestamp": "2026-01-28T16:30:00.155Z", "disclosures": [] } }, diff --git a/metadata/modules/adkernelAdnBidAdapter.json b/metadata/modules/adkernelAdnBidAdapter.json index c2443f34504..29fbe50a428 100644 --- a/metadata/modules/adkernelAdnBidAdapter.json +++ b/metadata/modules/adkernelAdnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:24.892Z", + "timestamp": "2026-01-28T16:30:00.288Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", diff --git a/metadata/modules/adkernelBidAdapter.json b/metadata/modules/adkernelBidAdapter.json index 533adb5b635..3cefa08504a 100644 --- a/metadata/modules/adkernelBidAdapter.json +++ b/metadata/modules/adkernelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:24.933Z", + "timestamp": "2026-01-28T16:30:00.508Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", @@ -17,19 +17,19 @@ ] }, "https://data.converge-digital.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:24.933Z", + "timestamp": "2026-01-28T16:30:00.508Z", "disclosures": [] }, "https://spinx.biz/tcf-spinx.json": { - "timestamp": "2026-01-21T15:16:24.979Z", + "timestamp": "2026-01-28T16:30:00.562Z", "disclosures": [] }, "https://gdpr.memob.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:25.740Z", + "timestamp": "2026-01-28T16:30:01.305Z", "disclosures": [] }, "https://appmonsta.ai/DeviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:25.757Z", + "timestamp": "2026-01-28T16:30:01.323Z", "disclosures": [] } }, diff --git a/metadata/modules/admaticBidAdapter.json b/metadata/modules/admaticBidAdapter.json index fb5475a18cb..f44a99df523 100644 --- a/metadata/modules/admaticBidAdapter.json +++ b/metadata/modules/admaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.admatic.de/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2026-01-21T15:16:27.252Z", + "timestamp": "2026-01-28T16:30:03.161Z", "disclosures": [ { "identifier": "px_pbjs", @@ -12,7 +12,7 @@ ] }, "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:27.092Z", + "timestamp": "2026-01-28T16:30:02.786Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/admixerBidAdapter.json b/metadata/modules/admixerBidAdapter.json index 0bac310b608..f4aceb4271e 100644 --- a/metadata/modules/admixerBidAdapter.json +++ b/metadata/modules/admixerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2026-01-21T15:16:27.253Z", + "timestamp": "2026-01-28T16:30:03.161Z", "disclosures": [] } }, diff --git a/metadata/modules/admixerIdSystem.json b/metadata/modules/admixerIdSystem.json index ff55aa04384..9e56d98f973 100644 --- a/metadata/modules/admixerIdSystem.json +++ b/metadata/modules/admixerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2026-01-21T15:16:27.746Z", + "timestamp": "2026-01-28T16:30:03.552Z", "disclosures": [] } }, diff --git a/metadata/modules/adnowBidAdapter.json b/metadata/modules/adnowBidAdapter.json index b7cdcbe11c1..85b183c233f 100644 --- a/metadata/modules/adnowBidAdapter.json +++ b/metadata/modules/adnowBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adnow.com/vdsod.json": { - "timestamp": "2026-01-21T15:16:27.746Z", + "timestamp": "2026-01-28T16:30:03.552Z", "disclosures": [ { "identifier": "SC_unique_*", diff --git a/metadata/modules/adnuntiusBidAdapter.json b/metadata/modules/adnuntiusBidAdapter.json index 9978243ca77..faa59453320 100644 --- a/metadata/modules/adnuntiusBidAdapter.json +++ b/metadata/modules/adnuntiusBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:27.974Z", + "timestamp": "2026-01-28T16:30:03.784Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adnuntiusRtdProvider.json b/metadata/modules/adnuntiusRtdProvider.json index 6b28926eab7..88033c0bd3a 100644 --- a/metadata/modules/adnuntiusRtdProvider.json +++ b/metadata/modules/adnuntiusRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:28.288Z", + "timestamp": "2026-01-28T16:30:04.118Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adoceanBidAdapter.json b/metadata/modules/adoceanBidAdapter.json index 9743e913146..434185cfb11 100644 --- a/metadata/modules/adoceanBidAdapter.json +++ b/metadata/modules/adoceanBidAdapter.json @@ -1,13 +1,280 @@ { "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", - "disclosures": {}, + "disclosures": { + "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { + "timestamp": "2026-01-28T16:30:04.118Z", + "disclosures": [ + { + "identifier": "__gsyncs_gdpr", + "type": "cookie", + "maxAgeSeconds": 157680000, + "cookieRefresh": false, + "purposes": [ + 1 + ] + }, + { + "identifier": "__gsync_gdpr", + "type": "cookie", + "maxAgeSeconds": 157680000, + "cookieRefresh": true, + "purposes": [ + 1 + ] + }, + { + "identifier": "__gsync_s_gdpr", + "type": "cookie", + "maxAgeSeconds": 157680000, + "cookieRefresh": true, + "purposes": [ + 1 + ] + }, + { + "identifier": "__gfp_cap", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfp_s_cap", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfp_cache", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfp_s_cache", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfp_64b", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfp_s_64b", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfps_64b", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "gemius_ruid", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": null, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfp_dnt", + "type": "cookie", + "maxAgeSeconds": 157680000, + "cookieRefresh": true, + "purposes": [ + 1 + ], + "optOut": true + }, + { + "identifier": "__gfp_s_dnt", + "type": "cookie", + "maxAgeSeconds": 157680000, + "cookieRefresh": true, + "purposes": [ + 1 + ], + "optOut": true + }, + { + "identifier": "__gfp_ruid", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfp_s_ruid", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfp_ruid_pub", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfp_s_ruid_pub", + "type": "cookie", + "maxAgeSeconds": 34128000, + "cookieRefresh": true, + "purposes": [ + 1, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "__gfp_gdpr", + "type": "cookie", + "maxAgeSeconds": 157680000, + "cookieRefresh": false, + "purposes": [ + 1 + ] + }, + { + "identifier": "__gfp_s_gdpr", + "type": "cookie", + "maxAgeSeconds": 157680000, + "cookieRefresh": false, + "purposes": [ + 1 + ] + }, + { + "identifier": "ao-fpgad", + "type": "cookie", + "maxAgeSeconds": 33696000, + "cookieRefresh": true, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 8, + 9, + 10 + ] + }, + { + "identifier": "AO-OPT-OUT", + "type": "cookie", + "maxAgeSeconds": 155520000, + "cookieRefresh": false, + "purposes": [ + 1 + ], + "optOut": true + }, + { + "identifier": "_ao_consent_data", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": null, + "purposes": [] + }, + { + "identifier": "_ao_chints", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": null, + "purposes": [] + } + ] + } + }, "components": [ { "componentType": "bidder", "componentName": "adocean", "aliasOf": null, - "gvlid": null, - "disclosureURL": null + "gvlid": 328, + "disclosureURL": "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json" } ] } \ No newline at end of file diff --git a/metadata/modules/adotBidAdapter.json b/metadata/modules/adotBidAdapter.json index 76a8d448590..7e1e6a0aff6 100644 --- a/metadata/modules/adotBidAdapter.json +++ b/metadata/modules/adotBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.adotmob.com/tcf/tcf.json": { - "timestamp": "2026-01-21T15:16:28.289Z", + "timestamp": "2026-01-28T16:30:04.676Z", "disclosures": [] } }, diff --git a/metadata/modules/adponeBidAdapter.json b/metadata/modules/adponeBidAdapter.json index 562e9b3191b..ffa30b608f0 100644 --- a/metadata/modules/adponeBidAdapter.json +++ b/metadata/modules/adponeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.adpone.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:28.330Z", + "timestamp": "2026-01-28T16:30:04.714Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryBidAdapter.json b/metadata/modules/adqueryBidAdapter.json index 4a4c5e0437e..9525503e59b 100644 --- a/metadata/modules/adqueryBidAdapter.json +++ b/metadata/modules/adqueryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2026-01-21T15:16:28.350Z", + "timestamp": "2026-01-28T16:30:04.745Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryIdSystem.json b/metadata/modules/adqueryIdSystem.json index c3c47ba2f4d..cc0f9edaf73 100644 --- a/metadata/modules/adqueryIdSystem.json +++ b/metadata/modules/adqueryIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2026-01-21T15:16:28.687Z", + "timestamp": "2026-01-28T16:30:05.099Z", "disclosures": [] } }, diff --git a/metadata/modules/adrinoBidAdapter.json b/metadata/modules/adrinoBidAdapter.json index d9be264c1a8..1b11ddd4322 100644 --- a/metadata/modules/adrinoBidAdapter.json +++ b/metadata/modules/adrinoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.adrino.cloud/iab/device-storage.json": { - "timestamp": "2026-01-21T15:16:28.688Z", + "timestamp": "2026-01-28T16:30:05.100Z", "disclosures": [] } }, diff --git a/metadata/modules/ads_interactiveBidAdapter.json b/metadata/modules/ads_interactiveBidAdapter.json index 27972eafcba..186d5188d3b 100644 --- a/metadata/modules/ads_interactiveBidAdapter.json +++ b/metadata/modules/ads_interactiveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adsinteractive.com/vendor.json": { - "timestamp": "2026-01-21T15:16:28.779Z", + "timestamp": "2026-01-28T16:30:05.144Z", "disclosures": [] } }, diff --git a/metadata/modules/adtargetBidAdapter.json b/metadata/modules/adtargetBidAdapter.json index ba378474003..5ca832a5cfb 100644 --- a/metadata/modules/adtargetBidAdapter.json +++ b/metadata/modules/adtargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:29.070Z", + "timestamp": "2026-01-28T16:30:05.446Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/adtelligentBidAdapter.json b/metadata/modules/adtelligentBidAdapter.json index f88d4766a3d..5df3a013203 100644 --- a/metadata/modules/adtelligentBidAdapter.json +++ b/metadata/modules/adtelligentBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:29.071Z", + "timestamp": "2026-01-28T16:30:05.446Z", "disclosures": [] }, "https://www.selectmedia.asia/gdpr/devicestorage.json": { - "timestamp": "2026-01-21T15:16:29.090Z", + "timestamp": "2026-01-28T16:30:05.465Z", "disclosures": [ { "identifier": "waterFallCacheAnsKey_*", @@ -81,7 +81,7 @@ ] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2026-01-21T15:16:29.271Z", + "timestamp": "2026-01-28T16:30:05.651Z", "disclosures": [] } }, diff --git a/metadata/modules/adtelligentIdSystem.json b/metadata/modules/adtelligentIdSystem.json index dff1fc84910..4793bd2971a 100644 --- a/metadata/modules/adtelligentIdSystem.json +++ b/metadata/modules/adtelligentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:29.346Z", + "timestamp": "2026-01-28T16:30:05.794Z", "disclosures": [] } }, diff --git a/metadata/modules/aduptechBidAdapter.json b/metadata/modules/aduptechBidAdapter.json index 64d433e132d..763a2faa1b7 100644 --- a/metadata/modules/aduptechBidAdapter.json +++ b/metadata/modules/aduptechBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.d.adup-tech.com/gdpr/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:29.347Z", + "timestamp": "2026-01-28T16:30:05.795Z", "disclosures": [] } }, diff --git a/metadata/modules/adyoulikeBidAdapter.json b/metadata/modules/adyoulikeBidAdapter.json index cf1f7645e87..ad36769e5f0 100644 --- a/metadata/modules/adyoulikeBidAdapter.json +++ b/metadata/modules/adyoulikeBidAdapter.json @@ -2,8 +2,8 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adyoulike.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-21T15:16:29.372Z", - "disclosures": null + "timestamp": "2026-01-28T16:30:05.815Z", + "disclosures": [] } }, "components": [ diff --git a/metadata/modules/airgridRtdProvider.json b/metadata/modules/airgridRtdProvider.json index 508624393d0..d490880b416 100644 --- a/metadata/modules/airgridRtdProvider.json +++ b/metadata/modules/airgridRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.wearemiq.com/privacy-and-compliance/devicestoragedisclosures.json": { - "timestamp": "2026-01-21T15:16:32.939Z", + "timestamp": "2026-01-28T16:30:06.273Z", "disclosures": [] } }, diff --git a/metadata/modules/alkimiBidAdapter.json b/metadata/modules/alkimiBidAdapter.json index 207b205aa45..f80e84a7d63 100644 --- a/metadata/modules/alkimiBidAdapter.json +++ b/metadata/modules/alkimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d1xjh92lb8fey3.cloudfront.net/tcf/alkimi_exchange_tcf.json": { - "timestamp": "2026-01-21T15:16:32.976Z", + "timestamp": "2026-01-28T16:30:06.319Z", "disclosures": [] } }, diff --git a/metadata/modules/allegroBidAdapter.json b/metadata/modules/allegroBidAdapter.json index 616a2162531..0bb0131e96f 100644 --- a/metadata/modules/allegroBidAdapter.json +++ b/metadata/modules/allegroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.allegrostatic.com/dsp-tcf-external/device-storage.json": { - "timestamp": "2026-01-21T15:16:33.255Z", + "timestamp": "2026-01-28T16:30:06.612Z", "disclosures": [] } }, diff --git a/metadata/modules/amxBidAdapter.json b/metadata/modules/amxBidAdapter.json index 6e3a3bff685..8de34154ecc 100644 --- a/metadata/modules/amxBidAdapter.json +++ b/metadata/modules/amxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2026-01-21T15:16:33.716Z", + "timestamp": "2026-01-28T16:30:07.054Z", "disclosures": [] } }, diff --git a/metadata/modules/amxIdSystem.json b/metadata/modules/amxIdSystem.json index 368ed164dd3..1a8270a07dd 100644 --- a/metadata/modules/amxIdSystem.json +++ b/metadata/modules/amxIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2026-01-21T15:16:33.785Z", + "timestamp": "2026-01-28T16:30:07.197Z", "disclosures": [] } }, diff --git a/metadata/modules/aniviewBidAdapter.json b/metadata/modules/aniviewBidAdapter.json index 67abd000a1e..e2d0cb92554 100644 --- a/metadata/modules/aniviewBidAdapter.json +++ b/metadata/modules/aniviewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.aniview.com/gdpr/gdpr.json": { - "timestamp": "2026-01-21T15:16:33.785Z", + "timestamp": "2026-01-28T16:30:07.197Z", "disclosures": [ { "identifier": "av_*", diff --git a/metadata/modules/anonymisedRtdProvider.json b/metadata/modules/anonymisedRtdProvider.json index c347b6c2e2e..3da9ac7b85c 100644 --- a/metadata/modules/anonymisedRtdProvider.json +++ b/metadata/modules/anonymisedRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.anonymised.io/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:34.077Z", + "timestamp": "2026-01-28T16:30:07.304Z", "disclosures": [ { "identifier": "oidc.user*", diff --git a/metadata/modules/appStockSSPBidAdapter.json b/metadata/modules/appStockSSPBidAdapter.json index fab273d8e3b..8bd90c00e58 100644 --- a/metadata/modules/appStockSSPBidAdapter.json +++ b/metadata/modules/appStockSSPBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://app-stock.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:34.250Z", + "timestamp": "2026-01-28T16:30:07.420Z", "disclosures": [] } }, diff --git a/metadata/modules/appierBidAdapter.json b/metadata/modules/appierBidAdapter.json index e82a329c3ce..2f0f4655a71 100644 --- a/metadata/modules/appierBidAdapter.json +++ b/metadata/modules/appierBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.appier.com/deviceStorage2025.json": { - "timestamp": "2026-01-21T15:16:34.279Z", + "timestamp": "2026-01-28T16:30:07.455Z", "disclosures": [ { "identifier": "_atrk_ssid", diff --git a/metadata/modules/appnexusBidAdapter.json b/metadata/modules/appnexusBidAdapter.json index 823f03e8991..ca815263571 100644 --- a/metadata/modules/appnexusBidAdapter.json +++ b/metadata/modules/appnexusBidAdapter.json @@ -2,23 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-01-21T15:16:34.997Z", - "disclosures": [] - }, - "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:34.419Z", + "timestamp": "2026-01-28T16:30:08.134Z", "disclosures": [] }, "https://beintoo-support.b-cdn.net/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:34.437Z", + "timestamp": "2026-01-28T16:30:07.591Z", "disclosures": [] }, "https://projectagora.net/1032_deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:34.549Z", + "timestamp": "2026-01-28T16:30:07.694Z", "disclosures": [] }, "https://adzymic.com/tcf.json": { - "timestamp": "2026-01-21T15:16:34.997Z", + "timestamp": "2026-01-28T16:30:08.134Z", "disclosures": [] } }, @@ -37,13 +33,6 @@ "gvlid": 32, "disclosureURL": "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json" }, - { - "componentType": "bidder", - "componentName": "emetriq", - "aliasOf": "appnexus", - "gvlid": 213, - "disclosureURL": "https://tcf.emetriq.de/deviceStorageDisclosure.json" - }, { "componentType": "bidder", "componentName": "pagescience", diff --git a/metadata/modules/appushBidAdapter.json b/metadata/modules/appushBidAdapter.json index 362373e14e1..b74c3d9b2e8 100644 --- a/metadata/modules/appushBidAdapter.json +++ b/metadata/modules/appushBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.thebiding.com/disclosures.json": { - "timestamp": "2026-01-21T15:16:35.025Z", + "timestamp": "2026-01-28T16:30:08.156Z", "disclosures": [] } }, diff --git a/metadata/modules/apsBidAdapter.json b/metadata/modules/apsBidAdapter.json index de3d4b624ca..3ddca493ec1 100644 --- a/metadata/modules/apsBidAdapter.json +++ b/metadata/modules/apsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://m.media-amazon.com/images/G/01/adprefs/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:35.094Z", + "timestamp": "2026-01-28T16:30:08.218Z", "disclosures": [ { "identifier": "vendor-id", diff --git a/metadata/modules/apstreamBidAdapter.json b/metadata/modules/apstreamBidAdapter.json index dd2c47436ea..b45081cbc64 100644 --- a/metadata/modules/apstreamBidAdapter.json +++ b/metadata/modules/apstreamBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sak.userreport.com/tcf.json": { - "timestamp": "2026-01-21T15:16:35.116Z", + "timestamp": "2026-01-28T16:30:08.230Z", "disclosures": [ { "identifier": "apr_dsu", diff --git a/metadata/modules/audiencerunBidAdapter.json b/metadata/modules/audiencerunBidAdapter.json index 78f2422c707..561717d5ac0 100644 --- a/metadata/modules/audiencerunBidAdapter.json +++ b/metadata/modules/audiencerunBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.audiencerun.com/tcf.json": { - "timestamp": "2026-01-21T15:16:35.141Z", + "timestamp": "2026-01-28T16:30:08.251Z", "disclosures": [] } }, diff --git a/metadata/modules/axisBidAdapter.json b/metadata/modules/axisBidAdapter.json index e1beeb35be1..97d8889684e 100644 --- a/metadata/modules/axisBidAdapter.json +++ b/metadata/modules/axisBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://axis-marketplace.com/tcf.json": { - "timestamp": "2026-01-21T15:16:35.201Z", + "timestamp": "2026-01-28T16:30:08.288Z", "disclosures": [] } }, diff --git a/metadata/modules/azerionedgeRtdProvider.json b/metadata/modules/azerionedgeRtdProvider.json index c5b957dbb02..138bb4cf730 100644 --- a/metadata/modules/azerionedgeRtdProvider.json +++ b/metadata/modules/azerionedgeRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2026-01-21T15:16:35.242Z", + "timestamp": "2026-01-28T16:30:08.325Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/beachfrontBidAdapter.json b/metadata/modules/beachfrontBidAdapter.json index f150a9a3762..d9ea10bb0eb 100644 --- a/metadata/modules/beachfrontBidAdapter.json +++ b/metadata/modules/beachfrontBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2026-01-21T15:16:35.274Z", + "timestamp": "2026-01-28T16:30:08.359Z", "disclosures": [] } }, diff --git a/metadata/modules/beopBidAdapter.json b/metadata/modules/beopBidAdapter.json index cf50470b47f..7de553c3356 100644 --- a/metadata/modules/beopBidAdapter.json +++ b/metadata/modules/beopBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://beop.io/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:35.627Z", + "timestamp": "2026-01-28T16:30:08.381Z", "disclosures": [] } }, diff --git a/metadata/modules/betweenBidAdapter.json b/metadata/modules/betweenBidAdapter.json index 4df09f96284..cdeb282e76d 100644 --- a/metadata/modules/betweenBidAdapter.json +++ b/metadata/modules/betweenBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.betweenx.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:35.751Z", + "timestamp": "2026-01-28T16:30:08.501Z", "disclosures": [] } }, diff --git a/metadata/modules/bidfuseBidAdapter.json b/metadata/modules/bidfuseBidAdapter.json index dd88bf2e743..e9f10a2af75 100644 --- a/metadata/modules/bidfuseBidAdapter.json +++ b/metadata/modules/bidfuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidfuse.com/disclosure.json": { - "timestamp": "2026-01-21T15:16:35.815Z", + "timestamp": "2026-01-28T16:30:08.568Z", "disclosures": [] } }, diff --git a/metadata/modules/bidmaticBidAdapter.json b/metadata/modules/bidmaticBidAdapter.json index bab8bed298e..c698dd1c7e1 100644 --- a/metadata/modules/bidmaticBidAdapter.json +++ b/metadata/modules/bidmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidmatic.io/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:35.994Z", + "timestamp": "2026-01-28T16:30:09.193Z", "disclosures": [] } }, diff --git a/metadata/modules/bidtheatreBidAdapter.json b/metadata/modules/bidtheatreBidAdapter.json index 10949a5d4bd..f8747a74d23 100644 --- a/metadata/modules/bidtheatreBidAdapter.json +++ b/metadata/modules/bidtheatreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.bidtheatre.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:36.045Z", + "timestamp": "2026-01-28T16:30:09.243Z", "disclosures": [] } }, diff --git a/metadata/modules/bliinkBidAdapter.json b/metadata/modules/bliinkBidAdapter.json index 8ec015b1f9a..2daef968201 100644 --- a/metadata/modules/bliinkBidAdapter.json +++ b/metadata/modules/bliinkBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bliink.io/disclosures.json": { - "timestamp": "2026-01-21T15:16:36.316Z", + "timestamp": "2026-01-28T16:30:09.554Z", "disclosures": [] } }, diff --git a/metadata/modules/blockthroughBidAdapter.json b/metadata/modules/blockthroughBidAdapter.json index f26d883d1d5..b6e60f793e3 100644 --- a/metadata/modules/blockthroughBidAdapter.json +++ b/metadata/modules/blockthroughBidAdapter.json @@ -2,8 +2,324 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://blockthrough.com/tcf_disclosures.json": { - "timestamp": "2026-01-21T15:16:36.668Z", - "disclosures": null + "timestamp": "2026-01-28T16:30:09.898Z", + "disclosures": [ + { + "identifier": "BT_AA_DETECTION", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "btUserCountry", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "btUserCountryExpiry", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "btUserIsFromRestrictedCountry", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_BUNDLE_VERSION", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_DIGEST_VERSION", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_sid", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_traceID", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "uids", + "type": "cookie", + "maxAgeSeconds": 7776000, + "cookieRefresh": true, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_pvSent", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_WHITELISTING_IFRAME_ACCESS", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_BLOCKLISTED_CREATIVES", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_AM_SOFTWALL_RENDERED", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_AM_SOFTWALL_DISMISSED", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_AM_SOFTWALL_RECOVERED", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_AM_SOFTWALL_RENDER_COUNT", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_AM_SOFTWALL_ABTEST", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_AM_ATTRIBUTION_EXPIRY", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_AM_PREMIUM_ADBLOCK_USER_DETECTED", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_AM_PREMIUM_ADBLOCK_USER_DETECTION_DATE", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + }, + { + "identifier": "BT_AM_SCA_SUCCEED", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 2, + 3, + 4, + 7, + 9, + 10 + ] + } + ] } }, "components": [ diff --git a/metadata/modules/blueBidAdapter.json b/metadata/modules/blueBidAdapter.json index e32587ebe24..d5459ddd030 100644 --- a/metadata/modules/blueBidAdapter.json +++ b/metadata/modules/blueBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://getblue.io/iab/iab.json": { - "timestamp": "2026-01-21T15:16:36.766Z", + "timestamp": "2026-01-28T16:30:10.177Z", "disclosures": [] } }, diff --git a/metadata/modules/bmsBidAdapter.json b/metadata/modules/bmsBidAdapter.json index 16940b8531e..a7f11357ec6 100644 --- a/metadata/modules/bmsBidAdapter.json +++ b/metadata/modules/bmsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bluems.com/iab.json": { - "timestamp": "2026-01-21T15:16:37.120Z", + "timestamp": "2026-01-28T16:30:10.533Z", "disclosures": [] } }, diff --git a/metadata/modules/boldwinBidAdapter.json b/metadata/modules/boldwinBidAdapter.json index 0ed9fd7923f..2e6fbbf4f05 100644 --- a/metadata/modules/boldwinBidAdapter.json +++ b/metadata/modules/boldwinBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://magav.videowalldirect.com/iab/videowalldirectiab.json": { - "timestamp": "2026-01-21T15:16:37.138Z", + "timestamp": "2026-01-28T16:30:10.546Z", "disclosures": [] } }, diff --git a/metadata/modules/bridBidAdapter.json b/metadata/modules/bridBidAdapter.json index f11ad1153ef..3141704c3cf 100644 --- a/metadata/modules/bridBidAdapter.json +++ b/metadata/modules/bridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2026-01-21T15:16:37.160Z", + "timestamp": "2026-01-28T16:30:10.571Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/browsiBidAdapter.json b/metadata/modules/browsiBidAdapter.json index 0cb4c6eb267..4983eb994cd 100644 --- a/metadata/modules/browsiBidAdapter.json +++ b/metadata/modules/browsiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.browsiprod.com/ads/tcf.json": { - "timestamp": "2026-01-21T15:16:37.299Z", + "timestamp": "2026-01-28T16:30:10.712Z", "disclosures": [] } }, diff --git a/metadata/modules/bucksenseBidAdapter.json b/metadata/modules/bucksenseBidAdapter.json index 87c476f0b36..5756973a60a 100644 --- a/metadata/modules/bucksenseBidAdapter.json +++ b/metadata/modules/bucksenseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://j.bksnimages.com/iab/devsto02.json": { - "timestamp": "2026-01-21T15:16:37.355Z", + "timestamp": "2026-01-28T16:30:10.730Z", "disclosures": [] } }, diff --git a/metadata/modules/carodaBidAdapter.json b/metadata/modules/carodaBidAdapter.json index 4efb66f4d89..bf06a9d157f 100644 --- a/metadata/modules/carodaBidAdapter.json +++ b/metadata/modules/carodaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn2.caroda.io/tcfvds/2022-05-17/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:37.394Z", + "timestamp": "2026-01-28T16:30:10.790Z", "disclosures": [] } }, diff --git a/metadata/modules/categoryTranslation.json b/metadata/modules/categoryTranslation.json index e266b2b30f3..62d8ea2cf73 100644 --- a/metadata/modules/categoryTranslation.json +++ b/metadata/modules/categoryTranslation.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/categoryTranslation.json": { - "timestamp": "2026-01-21T15:16:22.812Z", + "timestamp": "2026-01-28T16:29:58.215Z", "disclosures": [ { "identifier": "iabToFwMappingkey", diff --git a/metadata/modules/ceeIdSystem.json b/metadata/modules/ceeIdSystem.json index ecd8cbbbc22..9d6ee591a78 100644 --- a/metadata/modules/ceeIdSystem.json +++ b/metadata/modules/ceeIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:37.699Z", + "timestamp": "2026-01-28T16:30:11.083Z", "disclosures": null } }, diff --git a/metadata/modules/chromeAiRtdProvider.json b/metadata/modules/chromeAiRtdProvider.json index f39b94c7976..f01c1535e6c 100644 --- a/metadata/modules/chromeAiRtdProvider.json +++ b/metadata/modules/chromeAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/chromeAiRtdProvider.json": { - "timestamp": "2026-01-21T15:16:38.027Z", + "timestamp": "2026-01-28T16:30:11.410Z", "disclosures": [ { "identifier": "chromeAi_detected_data", diff --git a/metadata/modules/clickioBidAdapter.json b/metadata/modules/clickioBidAdapter.json index 94f7f16f52f..098d2ef463b 100644 --- a/metadata/modules/clickioBidAdapter.json +++ b/metadata/modules/clickioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://o.clickiocdn.com/tcf_storage_info.json": { - "timestamp": "2026-01-21T15:16:38.028Z", + "timestamp": "2026-01-28T16:30:11.411Z", "disclosures": [] } }, diff --git a/metadata/modules/compassBidAdapter.json b/metadata/modules/compassBidAdapter.json index 09e49cec04d..0e34d3b794e 100644 --- a/metadata/modules/compassBidAdapter.json +++ b/metadata/modules/compassBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-01-21T15:16:38.465Z", + "timestamp": "2026-01-28T16:30:11.830Z", "disclosures": [] } }, diff --git a/metadata/modules/conceptxBidAdapter.json b/metadata/modules/conceptxBidAdapter.json index 1f890db7a88..a8dc49de2f9 100644 --- a/metadata/modules/conceptxBidAdapter.json +++ b/metadata/modules/conceptxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cncptx.com/device_storage_disclosure.json": { - "timestamp": "2026-01-21T15:16:38.481Z", + "timestamp": "2026-01-28T16:30:11.853Z", "disclosures": [] } }, diff --git a/metadata/modules/connatixBidAdapter.json b/metadata/modules/connatixBidAdapter.json index f62456c3b1d..ceff6354d6a 100644 --- a/metadata/modules/connatixBidAdapter.json +++ b/metadata/modules/connatixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://connatix.com/iab-tcf-disclosure.json": { - "timestamp": "2026-01-21T15:16:38.511Z", + "timestamp": "2026-01-28T16:30:11.876Z", "disclosures": [ { "identifier": "cnx_userId", diff --git a/metadata/modules/connectIdSystem.json b/metadata/modules/connectIdSystem.json index 711894bc75a..fc825b87474 100644 --- a/metadata/modules/connectIdSystem.json +++ b/metadata/modules/connectIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2026-01-21T15:16:38.586Z", + "timestamp": "2026-01-28T16:30:11.964Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/connectadBidAdapter.json b/metadata/modules/connectadBidAdapter.json index 2a5bfbb5eb8..449b80e8442 100644 --- a/metadata/modules/connectadBidAdapter.json +++ b/metadata/modules/connectadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.connectad.io/tcf_storage_info.json": { - "timestamp": "2026-01-21T15:16:38.608Z", + "timestamp": "2026-01-28T16:30:11.985Z", "disclosures": [] } }, diff --git a/metadata/modules/contentexchangeBidAdapter.json b/metadata/modules/contentexchangeBidAdapter.json index 2c15133d291..2fe9de26b24 100644 --- a/metadata/modules/contentexchangeBidAdapter.json +++ b/metadata/modules/contentexchangeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://hb.contentexchange.me/template/device_storage.json": { - "timestamp": "2026-01-21T15:16:39.025Z", + "timestamp": "2026-01-28T16:30:12.429Z", "disclosures": null } }, diff --git a/metadata/modules/conversantBidAdapter.json b/metadata/modules/conversantBidAdapter.json index bd8e9426455..61dd65570fe 100644 --- a/metadata/modules/conversantBidAdapter.json +++ b/metadata/modules/conversantBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.9/device_storage_disclosure.json": { - "timestamp": "2026-01-21T15:16:39.056Z", + "timestamp": "2026-01-28T16:30:12.505Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/copper6sspBidAdapter.json b/metadata/modules/copper6sspBidAdapter.json index 1275c106723..962b5946cd8 100644 --- a/metadata/modules/copper6sspBidAdapter.json +++ b/metadata/modules/copper6sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.copper6.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:39.070Z", + "timestamp": "2026-01-28T16:30:12.542Z", "disclosures": [] } }, diff --git a/metadata/modules/cpmstarBidAdapter.json b/metadata/modules/cpmstarBidAdapter.json index d689d4037c0..253fd1b3b2d 100644 --- a/metadata/modules/cpmstarBidAdapter.json +++ b/metadata/modules/cpmstarBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2026-01-21T15:16:39.112Z", + "timestamp": "2026-01-28T16:30:12.576Z", "disclosures": [] } }, diff --git a/metadata/modules/criteoBidAdapter.json b/metadata/modules/criteoBidAdapter.json index ed25ca22c17..8d62de75bc0 100644 --- a/metadata/modules/criteoBidAdapter.json +++ b/metadata/modules/criteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2026-01-21T15:16:39.189Z", + "timestamp": "2026-01-28T16:30:12.617Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/criteoIdSystem.json b/metadata/modules/criteoIdSystem.json index fb4af1fede1..6a64ec8205c 100644 --- a/metadata/modules/criteoIdSystem.json +++ b/metadata/modules/criteoIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2026-01-21T15:16:39.203Z", + "timestamp": "2026-01-28T16:30:12.634Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/cwireBidAdapter.json b/metadata/modules/cwireBidAdapter.json index 8c7fd24ddff..c7a9dc12ec0 100644 --- a/metadata/modules/cwireBidAdapter.json +++ b/metadata/modules/cwireBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.cwi.re/artifacts/iab/iab.json": { - "timestamp": "2026-01-21T15:16:39.204Z", + "timestamp": "2026-01-28T16:30:12.634Z", "disclosures": [] } }, diff --git a/metadata/modules/czechAdIdSystem.json b/metadata/modules/czechAdIdSystem.json index ee9919cf839..b6bd886fdd5 100644 --- a/metadata/modules/czechAdIdSystem.json +++ b/metadata/modules/czechAdIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cpex.cz/storagedisclosure.json": { - "timestamp": "2026-01-21T15:16:39.586Z", + "timestamp": "2026-01-28T16:30:12.660Z", "disclosures": [] } }, diff --git a/metadata/modules/dailymotionBidAdapter.json b/metadata/modules/dailymotionBidAdapter.json index 800dd57eb28..bccf9e38e58 100644 --- a/metadata/modules/dailymotionBidAdapter.json +++ b/metadata/modules/dailymotionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://statics.dmcdn.net/a/vds.json": { - "timestamp": "2026-01-21T15:16:39.992Z", + "timestamp": "2026-01-28T16:30:13.069Z", "disclosures": [ { "identifier": "uid_dm", diff --git a/metadata/modules/debugging.json b/metadata/modules/debugging.json index b4c2ae2c42e..63533ff21b1 100644 --- a/metadata/modules/debugging.json +++ b/metadata/modules/debugging.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2026-01-21T15:16:22.811Z", + "timestamp": "2026-01-28T16:29:58.214Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/deepintentBidAdapter.json b/metadata/modules/deepintentBidAdapter.json index 73c3d103901..0328b249ca0 100644 --- a/metadata/modules/deepintentBidAdapter.json +++ b/metadata/modules/deepintentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.deepintent.com/iabeurope_vendor_disclosures.json": { - "timestamp": "2026-01-21T15:16:40.098Z", + "timestamp": "2026-01-28T16:30:13.171Z", "disclosures": [] } }, diff --git a/metadata/modules/defineMediaBidAdapter.json b/metadata/modules/defineMediaBidAdapter.json index fa316818b9e..4bdab1c5991 100644 --- a/metadata/modules/defineMediaBidAdapter.json +++ b/metadata/modules/defineMediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://definemedia.de/tcf/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-21T15:16:40.219Z", + "timestamp": "2026-01-28T16:30:13.310Z", "disclosures": [ { "identifier": "conative$dataGathering$Adex", diff --git a/metadata/modules/deltaprojectsBidAdapter.json b/metadata/modules/deltaprojectsBidAdapter.json index d997f834961..421bf1dc518 100644 --- a/metadata/modules/deltaprojectsBidAdapter.json +++ b/metadata/modules/deltaprojectsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.de17a.com/policy/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:40.641Z", + "timestamp": "2026-01-28T16:30:13.748Z", "disclosures": [] } }, diff --git a/metadata/modules/dianomiBidAdapter.json b/metadata/modules/dianomiBidAdapter.json index a90fafec29e..8a1c226d253 100644 --- a/metadata/modules/dianomiBidAdapter.json +++ b/metadata/modules/dianomiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.dianomi.com/device_storage.json": { - "timestamp": "2026-01-21T15:16:40.716Z", + "timestamp": "2026-01-28T16:30:14.164Z", "disclosures": [] } }, diff --git a/metadata/modules/digitalMatterBidAdapter.json b/metadata/modules/digitalMatterBidAdapter.json index 359c944b2e1..3f71ed4c5e4 100644 --- a/metadata/modules/digitalMatterBidAdapter.json +++ b/metadata/modules/digitalMatterBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://digitalmatter.ai/disclosures.json": { - "timestamp": "2026-01-21T15:16:40.716Z", + "timestamp": "2026-01-28T16:30:14.165Z", "disclosures": [] } }, diff --git a/metadata/modules/distroscaleBidAdapter.json b/metadata/modules/distroscaleBidAdapter.json index 249539c9258..7bc7a6fbaa2 100644 --- a/metadata/modules/distroscaleBidAdapter.json +++ b/metadata/modules/distroscaleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.jsrdn.com/tcf/tcf-vendor-disclosure.json": { - "timestamp": "2026-01-21T15:16:41.071Z", + "timestamp": "2026-01-28T16:30:14.541Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeAdManagerBidAdapter.json b/metadata/modules/docereeAdManagerBidAdapter.json index f5454f2309a..2ef6917eac2 100644 --- a/metadata/modules/docereeAdManagerBidAdapter.json +++ b/metadata/modules/docereeAdManagerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:41.165Z", + "timestamp": "2026-01-28T16:30:14.843Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeBidAdapter.json b/metadata/modules/docereeBidAdapter.json index 0815e04e6d2..f24747edfe1 100644 --- a/metadata/modules/docereeBidAdapter.json +++ b/metadata/modules/docereeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:41.920Z", + "timestamp": "2026-01-28T16:30:15.632Z", "disclosures": [] } }, diff --git a/metadata/modules/dspxBidAdapter.json b/metadata/modules/dspxBidAdapter.json index 025ad773f48..18aa462c75c 100644 --- a/metadata/modules/dspxBidAdapter.json +++ b/metadata/modules/dspxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/os.json": { - "timestamp": "2026-01-21T15:16:41.920Z", + "timestamp": "2026-01-28T16:30:15.633Z", "disclosures": [] } }, diff --git a/metadata/modules/e_volutionBidAdapter.json b/metadata/modules/e_volutionBidAdapter.json index fb7d0dab4f3..9b0da76504c 100644 --- a/metadata/modules/e_volutionBidAdapter.json +++ b/metadata/modules/e_volutionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://e-volution.ai/file.json": { - "timestamp": "2026-01-21T15:16:42.646Z", + "timestamp": "2026-01-28T16:30:16.296Z", "disclosures": [] } }, diff --git a/metadata/modules/edge226BidAdapter.json b/metadata/modules/edge226BidAdapter.json index 2d80d88cb30..e222f7a1ae2 100644 --- a/metadata/modules/edge226BidAdapter.json +++ b/metadata/modules/edge226BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.serveteck.com/cdn_storage/tcf/tcf.json?a=1.io": { - "timestamp": "2026-01-21T15:16:43.012Z", + "timestamp": "2026-01-28T16:30:16.642Z", "disclosures": [] } }, diff --git a/metadata/modules/empowerBidAdapter.json b/metadata/modules/empowerBidAdapter.json index 7896d5f362a..b437207d105 100644 --- a/metadata/modules/empowerBidAdapter.json +++ b/metadata/modules/empowerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.empower.net/vendor/vendor.json": { - "timestamp": "2026-01-21T15:16:43.070Z", + "timestamp": "2026-01-28T16:30:16.693Z", "disclosures": [] } }, diff --git a/metadata/modules/equativBidAdapter.json b/metadata/modules/equativBidAdapter.json index 9a871ee8f33..66796571f18 100644 --- a/metadata/modules/equativBidAdapter.json +++ b/metadata/modules/equativBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2026-01-21T15:16:43.095Z", + "timestamp": "2026-01-28T16:30:16.716Z", "disclosures": [] } }, diff --git a/metadata/modules/eskimiBidAdapter.json b/metadata/modules/eskimiBidAdapter.json index d72275c721a..22dc25ff479 100644 --- a/metadata/modules/eskimiBidAdapter.json +++ b/metadata/modules/eskimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://dsp-media.eskimi.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:43.802Z", + "timestamp": "2026-01-28T16:30:16.770Z", "disclosures": [] } }, diff --git a/metadata/modules/etargetBidAdapter.json b/metadata/modules/etargetBidAdapter.json index f6db2e107f5..5efd286beb6 100644 --- a/metadata/modules/etargetBidAdapter.json +++ b/metadata/modules/etargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.etarget.sk/cookies3.json": { - "timestamp": "2026-01-21T15:16:43.820Z", + "timestamp": "2026-01-28T16:30:16.842Z", "disclosures": [] } }, diff --git a/metadata/modules/euidIdSystem.json b/metadata/modules/euidIdSystem.json index f77752e6aca..4117148b7b5 100644 --- a/metadata/modules/euidIdSystem.json +++ b/metadata/modules/euidIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-21T15:16:44.520Z", + "timestamp": "2026-01-28T16:30:17.398Z", "disclosures": [] } }, diff --git a/metadata/modules/exadsBidAdapter.json b/metadata/modules/exadsBidAdapter.json index 4330e255da3..1bf45f51e78 100644 --- a/metadata/modules/exadsBidAdapter.json +++ b/metadata/modules/exadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.native7.com/tcf/deviceStorage.php": { - "timestamp": "2026-01-21T15:16:44.725Z", + "timestamp": "2026-01-28T16:30:17.607Z", "disclosures": [ { "identifier": "pn-zone-*", diff --git a/metadata/modules/feedadBidAdapter.json b/metadata/modules/feedadBidAdapter.json index 611343dbeb1..b4bc9e17f6d 100644 --- a/metadata/modules/feedadBidAdapter.json +++ b/metadata/modules/feedadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.feedad.com/tcf-device-disclosures.json": { - "timestamp": "2026-01-21T15:16:44.906Z", + "timestamp": "2026-01-28T16:30:17.803Z", "disclosures": [ { "identifier": "__fad_data", diff --git a/metadata/modules/fwsspBidAdapter.json b/metadata/modules/fwsspBidAdapter.json index 35b267448e0..d0e9d6e3281 100644 --- a/metadata/modules/fwsspBidAdapter.json +++ b/metadata/modules/fwsspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.fwmrm.net/g/devicedisclosure.json": { - "timestamp": "2026-01-21T15:16:45.058Z", + "timestamp": "2026-01-28T16:30:17.913Z", "disclosures": [] } }, diff --git a/metadata/modules/gamoshiBidAdapter.json b/metadata/modules/gamoshiBidAdapter.json index f7d9244f89e..4fdd963b192 100644 --- a/metadata/modules/gamoshiBidAdapter.json +++ b/metadata/modules/gamoshiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gamoshi.com/disclosures-client-storage.json": { - "timestamp": "2026-01-21T15:16:45.714Z", + "timestamp": "2026-01-28T16:30:18.136Z", "disclosures": [] } }, diff --git a/metadata/modules/gemiusIdSystem.json b/metadata/modules/gemiusIdSystem.json index b8267d82a05..6effe5fa731 100644 --- a/metadata/modules/gemiusIdSystem.json +++ b/metadata/modules/gemiusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2026-01-21T15:16:45.823Z", + "timestamp": "2026-01-28T16:30:18.258Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/glomexBidAdapter.json b/metadata/modules/glomexBidAdapter.json index 12a4723bea3..997f9f7bc1a 100644 --- a/metadata/modules/glomexBidAdapter.json +++ b/metadata/modules/glomexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:46.373Z", + "timestamp": "2026-01-28T16:30:18.259Z", "disclosures": [ { "identifier": "glomexUser", diff --git a/metadata/modules/goldbachBidAdapter.json b/metadata/modules/goldbachBidAdapter.json index 170fcc59d4a..6b6d92bcf93 100644 --- a/metadata/modules/goldbachBidAdapter.json +++ b/metadata/modules/goldbachBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gb-next.ch/TcfGoldbachDeviceStorage.json": { - "timestamp": "2026-01-21T15:16:46.393Z", + "timestamp": "2026-01-28T16:30:18.282Z", "disclosures": [ { "identifier": "dakt_2_session_id", diff --git a/metadata/modules/gridBidAdapter.json b/metadata/modules/gridBidAdapter.json index 5ada86e2d1a..ae4df482acf 100644 --- a/metadata/modules/gridBidAdapter.json +++ b/metadata/modules/gridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.themediagrid.com/devicestorage.json": { - "timestamp": "2026-01-21T15:16:46.414Z", + "timestamp": "2026-01-28T16:30:18.305Z", "disclosures": [] } }, diff --git a/metadata/modules/gumgumBidAdapter.json b/metadata/modules/gumgumBidAdapter.json index 7d4c95280f3..f5735825ecb 100644 --- a/metadata/modules/gumgumBidAdapter.json +++ b/metadata/modules/gumgumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://marketing.gumgum.com/devicestoragedisclosures.json": { - "timestamp": "2026-01-21T15:16:46.595Z", + "timestamp": "2026-01-28T16:30:18.450Z", "disclosures": [] } }, diff --git a/metadata/modules/hadronIdSystem.json b/metadata/modules/hadronIdSystem.json index 382e7a5b692..c0fb0c8617e 100644 --- a/metadata/modules/hadronIdSystem.json +++ b/metadata/modules/hadronIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2026-01-21T15:16:46.652Z", + "timestamp": "2026-01-28T16:30:18.502Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/hadronRtdProvider.json b/metadata/modules/hadronRtdProvider.json index 4092a2025aa..b24598c78f8 100644 --- a/metadata/modules/hadronRtdProvider.json +++ b/metadata/modules/hadronRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2026-01-21T15:16:46.764Z", + "timestamp": "2026-01-28T16:30:18.608Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/holidBidAdapter.json b/metadata/modules/holidBidAdapter.json index 32c0d348000..4342f2840f2 100644 --- a/metadata/modules/holidBidAdapter.json +++ b/metadata/modules/holidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ads.holid.io/devicestorage.json": { - "timestamp": "2026-01-21T15:16:46.764Z", + "timestamp": "2026-01-28T16:30:18.608Z", "disclosures": [ { "identifier": "uids", diff --git a/metadata/modules/hybridBidAdapter.json b/metadata/modules/hybridBidAdapter.json index 71e979382ca..b812dcc3411 100644 --- a/metadata/modules/hybridBidAdapter.json +++ b/metadata/modules/hybridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:47.041Z", + "timestamp": "2026-01-28T16:30:18.857Z", "disclosures": [] } }, diff --git a/metadata/modules/id5IdSystem.json b/metadata/modules/id5IdSystem.json index d672e3d95e8..822336b6feb 100644 --- a/metadata/modules/id5IdSystem.json +++ b/metadata/modules/id5IdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://id5-sync.com/tcf/disclosures.json": { - "timestamp": "2026-01-21T15:16:47.254Z", + "timestamp": "2026-01-28T16:30:19.113Z", "disclosures": [] } }, diff --git a/metadata/modules/identityLinkIdSystem.json b/metadata/modules/identityLinkIdSystem.json index d745841ac6e..e0da9afd224 100644 --- a/metadata/modules/identityLinkIdSystem.json +++ b/metadata/modules/identityLinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.ats.rlcdn.com/device-storage-disclosure.json": { - "timestamp": "2026-01-21T15:16:47.533Z", + "timestamp": "2026-01-28T16:30:19.391Z", "disclosures": [ { "identifier": "_lr_retry_request", diff --git a/metadata/modules/illuminBidAdapter.json b/metadata/modules/illuminBidAdapter.json index c219534cb5d..9872fe179fe 100644 --- a/metadata/modules/illuminBidAdapter.json +++ b/metadata/modules/illuminBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admanmedia.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:47.554Z", + "timestamp": "2026-01-28T16:30:19.410Z", "disclosures": [] } }, diff --git a/metadata/modules/impactifyBidAdapter.json b/metadata/modules/impactifyBidAdapter.json index f56e8b665b9..ff872bf7c59 100644 --- a/metadata/modules/impactifyBidAdapter.json +++ b/metadata/modules/impactifyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.impactify.io/tcfvendors.json": { - "timestamp": "2026-01-21T15:16:47.845Z", + "timestamp": "2026-01-28T16:30:19.701Z", "disclosures": [ { "identifier": "_im*", diff --git a/metadata/modules/improvedigitalBidAdapter.json b/metadata/modules/improvedigitalBidAdapter.json index 2f35776ec38..93613334ee6 100644 --- a/metadata/modules/improvedigitalBidAdapter.json +++ b/metadata/modules/improvedigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2026-01-21T15:16:48.129Z", + "timestamp": "2026-01-28T16:30:20.078Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/inmobiBidAdapter.json b/metadata/modules/inmobiBidAdapter.json index e3a538055dc..12ac730cfab 100644 --- a/metadata/modules/inmobiBidAdapter.json +++ b/metadata/modules/inmobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publisher.inmobi.com/public/disclosure": { - "timestamp": "2026-01-21T15:16:48.130Z", + "timestamp": "2026-01-28T16:30:20.079Z", "disclosures": [] } }, diff --git a/metadata/modules/insticatorBidAdapter.json b/metadata/modules/insticatorBidAdapter.json index a0c29a3b05e..08318bac5bf 100644 --- a/metadata/modules/insticatorBidAdapter.json +++ b/metadata/modules/insticatorBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.insticator.com/iab/device-storage-disclosure.json": { - "timestamp": "2026-01-21T15:16:48.208Z", + "timestamp": "2026-01-28T16:30:20.115Z", "disclosures": [ { "identifier": "visitorGeo", diff --git a/metadata/modules/intentIqIdSystem.json b/metadata/modules/intentIqIdSystem.json index 76d0db7687c..3e419eef19a 100644 --- a/metadata/modules/intentIqIdSystem.json +++ b/metadata/modules/intentIqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://agent.intentiq.com/GDPR/gdpr.json": { - "timestamp": "2026-01-21T15:16:48.367Z", + "timestamp": "2026-01-28T16:30:20.139Z", "disclosures": [] } }, diff --git a/metadata/modules/invibesBidAdapter.json b/metadata/modules/invibesBidAdapter.json index 802498d5930..63fcebf8060 100644 --- a/metadata/modules/invibesBidAdapter.json +++ b/metadata/modules/invibesBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.invibes.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:48.425Z", + "timestamp": "2026-01-28T16:30:20.189Z", "disclosures": [ { "identifier": "ivvcap", diff --git a/metadata/modules/ipromBidAdapter.json b/metadata/modules/ipromBidAdapter.json index a9767514ee7..4f8ff0b1227 100644 --- a/metadata/modules/ipromBidAdapter.json +++ b/metadata/modules/ipromBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://core.iprom.net/info/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:48.800Z", + "timestamp": "2026-01-28T16:30:20.533Z", "disclosures": [] } }, diff --git a/metadata/modules/ixBidAdapter.json b/metadata/modules/ixBidAdapter.json index 52b765cb72c..35f6279a5b8 100644 --- a/metadata/modules/ixBidAdapter.json +++ b/metadata/modules/ixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.indexexchange.com/device_storage_disclosure.json": { - "timestamp": "2026-01-21T15:16:49.270Z", + "timestamp": "2026-01-28T16:30:21.016Z", "disclosures": [ { "identifier": "ix_features", diff --git a/metadata/modules/justIdSystem.json b/metadata/modules/justIdSystem.json index 89d68f3ea81..b83e3eb1d63 100644 --- a/metadata/modules/justIdSystem.json +++ b/metadata/modules/justIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audience-solutions.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:49.303Z", + "timestamp": "2026-01-28T16:30:21.288Z", "disclosures": [ { "identifier": "__jtuid", diff --git a/metadata/modules/justpremiumBidAdapter.json b/metadata/modules/justpremiumBidAdapter.json index 6115b2cf5b8..42a09fe26b8 100644 --- a/metadata/modules/justpremiumBidAdapter.json +++ b/metadata/modules/justpremiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.justpremium.com/devicestoragedisclosures.json": { - "timestamp": "2026-01-21T15:16:49.828Z", + "timestamp": "2026-01-28T16:30:21.799Z", "disclosures": [] } }, diff --git a/metadata/modules/jwplayerBidAdapter.json b/metadata/modules/jwplayerBidAdapter.json index bea808a6708..c5f0094a6b1 100644 --- a/metadata/modules/jwplayerBidAdapter.json +++ b/metadata/modules/jwplayerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.jwplayer.com/devicestorage.json": { - "timestamp": "2026-01-21T15:16:49.848Z", + "timestamp": "2026-01-28T16:30:21.822Z", "disclosures": [] } }, diff --git a/metadata/modules/kargoBidAdapter.json b/metadata/modules/kargoBidAdapter.json index 3251e4603d6..96032f6827e 100644 --- a/metadata/modules/kargoBidAdapter.json +++ b/metadata/modules/kargoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://storage.cloud.kargo.com/device_storage_disclosure.json": { - "timestamp": "2026-01-21T15:16:50.140Z", + "timestamp": "2026-01-28T16:30:21.990Z", "disclosures": [ { "identifier": "krg_crb", diff --git a/metadata/modules/kueezRtbBidAdapter.json b/metadata/modules/kueezRtbBidAdapter.json index 64f287d76f5..65251cb83cd 100644 --- a/metadata/modules/kueezRtbBidAdapter.json +++ b/metadata/modules/kueezRtbBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.kueez.com/tcf.json": { - "timestamp": "2026-01-21T15:16:50.192Z", + "timestamp": "2026-01-28T16:30:22.016Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/limelightDigitalBidAdapter.json b/metadata/modules/limelightDigitalBidAdapter.json index f75b4f7757b..32782e737c0 100644 --- a/metadata/modules/limelightDigitalBidAdapter.json +++ b/metadata/modules/limelightDigitalBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://policy.iion.io/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:50.236Z", + "timestamp": "2026-01-28T16:30:22.072Z", "disclosures": [] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2026-01-21T15:16:50.390Z", + "timestamp": "2026-01-28T16:30:22.103Z", "disclosures": [] } }, diff --git a/metadata/modules/liveIntentIdSystem.json b/metadata/modules/liveIntentIdSystem.json index 8b54b888d02..1cb74699212 100644 --- a/metadata/modules/liveIntentIdSystem.json +++ b/metadata/modules/liveIntentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:50.390Z", + "timestamp": "2026-01-28T16:30:22.104Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/liveIntentRtdProvider.json b/metadata/modules/liveIntentRtdProvider.json index 1e5085a81df..c7ec883ac04 100644 --- a/metadata/modules/liveIntentRtdProvider.json +++ b/metadata/modules/liveIntentRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:50.532Z", + "timestamp": "2026-01-28T16:30:22.118Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/livewrappedBidAdapter.json b/metadata/modules/livewrappedBidAdapter.json index 6b5a309d7da..03011a99e3a 100644 --- a/metadata/modules/livewrappedBidAdapter.json +++ b/metadata/modules/livewrappedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://content.lwadm.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:50.533Z", + "timestamp": "2026-01-28T16:30:22.119Z", "disclosures": [ { "identifier": "uid", diff --git a/metadata/modules/loopmeBidAdapter.json b/metadata/modules/loopmeBidAdapter.json index 61d4939283f..57dbea94060 100644 --- a/metadata/modules/loopmeBidAdapter.json +++ b/metadata/modules/loopmeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://co.loopme.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:50.558Z", + "timestamp": "2026-01-28T16:30:22.147Z", "disclosures": [] } }, diff --git a/metadata/modules/lotamePanoramaIdSystem.json b/metadata/modules/lotamePanoramaIdSystem.json index 7ddaac4b4e8..7bf465e8b28 100644 --- a/metadata/modules/lotamePanoramaIdSystem.json +++ b/metadata/modules/lotamePanoramaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tags.crwdcntrl.net/privacy/tcf-purposes.json": { - "timestamp": "2026-01-21T15:16:50.626Z", + "timestamp": "2026-01-28T16:30:22.264Z", "disclosures": [ { "identifier": "lotame_domain_check", diff --git a/metadata/modules/luponmediaBidAdapter.json b/metadata/modules/luponmediaBidAdapter.json index 692bc08f9ed..55ff987e50a 100644 --- a/metadata/modules/luponmediaBidAdapter.json +++ b/metadata/modules/luponmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://luponmedia.com/vendor_device_storage.json": { - "timestamp": "2026-01-21T15:16:50.642Z", + "timestamp": "2026-01-28T16:30:22.285Z", "disclosures": [] } }, diff --git a/metadata/modules/madvertiseBidAdapter.json b/metadata/modules/madvertiseBidAdapter.json index 93d00207b7f..0e9003e97bb 100644 --- a/metadata/modules/madvertiseBidAdapter.json +++ b/metadata/modules/madvertiseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.bluestack.app/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:51.084Z", + "timestamp": "2026-01-28T16:30:22.706Z", "disclosures": [] } }, diff --git a/metadata/modules/marsmediaBidAdapter.json b/metadata/modules/marsmediaBidAdapter.json index 0fada8419a6..dcaaeb86fce 100644 --- a/metadata/modules/marsmediaBidAdapter.json +++ b/metadata/modules/marsmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mars.media/apis/tcf-v2.json": { - "timestamp": "2026-01-21T15:16:51.439Z", + "timestamp": "2026-01-28T16:30:23.103Z", "disclosures": [] } }, diff --git a/metadata/modules/mediaConsortiumBidAdapter.json b/metadata/modules/mediaConsortiumBidAdapter.json index c7e5eaf0103..066fa719827 100644 --- a/metadata/modules/mediaConsortiumBidAdapter.json +++ b/metadata/modules/mediaConsortiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.hubvisor.io/assets/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:51.547Z", + "timestamp": "2026-01-28T16:30:23.277Z", "disclosures": [ { "identifier": "hbv:turbo-cmp", diff --git a/metadata/modules/mediaforceBidAdapter.json b/metadata/modules/mediaforceBidAdapter.json index 3246a3f6fc2..8d3aa85d0cb 100644 --- a/metadata/modules/mediaforceBidAdapter.json +++ b/metadata/modules/mediaforceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://comparisons.org/privacy.json": { - "timestamp": "2026-01-21T15:16:51.676Z", + "timestamp": "2026-01-28T16:30:23.420Z", "disclosures": [] } }, diff --git a/metadata/modules/mediafuseBidAdapter.json b/metadata/modules/mediafuseBidAdapter.json index de1ccf74863..26645889fa4 100644 --- a/metadata/modules/mediafuseBidAdapter.json +++ b/metadata/modules/mediafuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-01-21T15:16:51.693Z", + "timestamp": "2026-01-28T16:30:23.465Z", "disclosures": [] } }, diff --git a/metadata/modules/mediagoBidAdapter.json b/metadata/modules/mediagoBidAdapter.json index 63a87575cfb..a270ee3d116 100644 --- a/metadata/modules/mediagoBidAdapter.json +++ b/metadata/modules/mediagoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.mediago.io/js/tcf.json": { - "timestamp": "2026-01-21T15:16:51.693Z", + "timestamp": "2026-01-28T16:30:23.466Z", "disclosures": [] } }, diff --git a/metadata/modules/mediakeysBidAdapter.json b/metadata/modules/mediakeysBidAdapter.json index 232b085d059..f240f43bcc6 100644 --- a/metadata/modules/mediakeysBidAdapter.json +++ b/metadata/modules/mediakeysBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.eu-west-3.amazonaws.com/adserving.resourcekeys.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:51.810Z", + "timestamp": "2026-01-28T16:30:23.528Z", "disclosures": [] } }, diff --git a/metadata/modules/medianetBidAdapter.json b/metadata/modules/medianetBidAdapter.json index e6ad2a0a506..60aeed6e7e0 100644 --- a/metadata/modules/medianetBidAdapter.json +++ b/metadata/modules/medianetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.media.net/tcfv2/gvl/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:52.094Z", + "timestamp": "2026-01-28T16:30:23.849Z", "disclosures": [ { "identifier": "_mNExInsl", @@ -246,7 +246,7 @@ ] }, "https://trustedstack.com/tcf/gvl/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:52.205Z", + "timestamp": "2026-01-28T16:30:23.898Z", "disclosures": [ { "identifier": "usp_status", diff --git a/metadata/modules/mediasquareBidAdapter.json b/metadata/modules/mediasquareBidAdapter.json index af36fd36c88..d3f0d0f1e80 100644 --- a/metadata/modules/mediasquareBidAdapter.json +++ b/metadata/modules/mediasquareBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediasquare.fr/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:52.270Z", + "timestamp": "2026-01-28T16:30:23.940Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidBidAdapter.json b/metadata/modules/mgidBidAdapter.json index d7336894b00..6de647d3359 100644 --- a/metadata/modules/mgidBidAdapter.json +++ b/metadata/modules/mgidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-01-21T15:16:52.804Z", + "timestamp": "2026-01-28T16:30:24.472Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidRtdProvider.json b/metadata/modules/mgidRtdProvider.json index 783780e0c0f..c59d0acffd1 100644 --- a/metadata/modules/mgidRtdProvider.json +++ b/metadata/modules/mgidRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-01-21T15:16:52.890Z", + "timestamp": "2026-01-28T16:30:24.565Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidXBidAdapter.json b/metadata/modules/mgidXBidAdapter.json index 28b909ab5ed..3f4ae1d1507 100644 --- a/metadata/modules/mgidXBidAdapter.json +++ b/metadata/modules/mgidXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-01-21T15:16:52.890Z", + "timestamp": "2026-01-28T16:30:24.565Z", "disclosures": [] } }, diff --git a/metadata/modules/minutemediaBidAdapter.json b/metadata/modules/minutemediaBidAdapter.json index 52975bf0e9b..33d4ba2e97e 100644 --- a/metadata/modules/minutemediaBidAdapter.json +++ b/metadata/modules/minutemediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://disclosures.mmctsvc.com/device-storage.json": { - "timestamp": "2026-01-21T15:16:52.891Z", + "timestamp": "2026-01-28T16:30:24.567Z", "disclosures": [] } }, diff --git a/metadata/modules/missenaBidAdapter.json b/metadata/modules/missenaBidAdapter.json index 50dbae57589..721444fc081 100644 --- a/metadata/modules/missenaBidAdapter.json +++ b/metadata/modules/missenaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.missena.io/iab.json": { - "timestamp": "2026-01-21T15:16:52.910Z", + "timestamp": "2026-01-28T16:30:24.587Z", "disclosures": [] } }, diff --git a/metadata/modules/mobianRtdProvider.json b/metadata/modules/mobianRtdProvider.json index 559a86ed33e..4c8248d6f80 100644 --- a/metadata/modules/mobianRtdProvider.json +++ b/metadata/modules/mobianRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.outcomes.net/tcf.json": { - "timestamp": "2026-01-21T15:16:52.961Z", + "timestamp": "2026-01-28T16:30:24.642Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiBidAdapter.json b/metadata/modules/mobkoiBidAdapter.json index b7c46364245..2aaa9ba6fbe 100644 --- a/metadata/modules/mobkoiBidAdapter.json +++ b/metadata/modules/mobkoiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:52.980Z", + "timestamp": "2026-01-28T16:30:24.662Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiIdSystem.json b/metadata/modules/mobkoiIdSystem.json index 50b2b2c15d4..a64f5821912 100644 --- a/metadata/modules/mobkoiIdSystem.json +++ b/metadata/modules/mobkoiIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:53.000Z", + "timestamp": "2026-01-28T16:30:24.690Z", "disclosures": [] } }, diff --git a/metadata/modules/msftBidAdapter.json b/metadata/modules/msftBidAdapter.json index cebddea5825..397bbfb971d 100644 --- a/metadata/modules/msftBidAdapter.json +++ b/metadata/modules/msftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-01-21T15:16:53.001Z", + "timestamp": "2026-01-28T16:30:24.691Z", "disclosures": [] } }, diff --git a/metadata/modules/nativeryBidAdapter.json b/metadata/modules/nativeryBidAdapter.json index f77162977c5..b2716873663 100644 --- a/metadata/modules/nativeryBidAdapter.json +++ b/metadata/modules/nativeryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnimg.nativery.com/widget/js/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:53.001Z", + "timestamp": "2026-01-28T16:30:24.694Z", "disclosures": [] } }, diff --git a/metadata/modules/nativoBidAdapter.json b/metadata/modules/nativoBidAdapter.json index 9f6f3ecc4ad..2edcc2b20c9 100644 --- a/metadata/modules/nativoBidAdapter.json +++ b/metadata/modules/nativoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.nativo.com/tcf-disclosures.json": { - "timestamp": "2026-01-21T15:16:53.312Z", + "timestamp": "2026-01-28T16:30:25.034Z", "disclosures": [] } }, diff --git a/metadata/modules/newspassidBidAdapter.json b/metadata/modules/newspassidBidAdapter.json index c4d372be80c..2bdde04b806 100644 --- a/metadata/modules/newspassidBidAdapter.json +++ b/metadata/modules/newspassidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2026-01-21T15:16:53.353Z", + "timestamp": "2026-01-28T16:30:25.072Z", "disclosures": [] } }, diff --git a/metadata/modules/nextMillenniumBidAdapter.json b/metadata/modules/nextMillenniumBidAdapter.json index 67ed02b3065..4a1acbcebee 100644 --- a/metadata/modules/nextMillenniumBidAdapter.json +++ b/metadata/modules/nextMillenniumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://nextmillennium.io/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:53.353Z", + "timestamp": "2026-01-28T16:30:25.073Z", "disclosures": [] } }, diff --git a/metadata/modules/nextrollBidAdapter.json b/metadata/modules/nextrollBidAdapter.json index 34f85259bd2..3235d22633f 100644 --- a/metadata/modules/nextrollBidAdapter.json +++ b/metadata/modules/nextrollBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.adroll.com/shares/device_storage.json": { - "timestamp": "2026-01-21T15:16:53.462Z", + "timestamp": "2026-01-28T16:30:25.140Z", "disclosures": [ { "identifier": "__adroll_fpc", diff --git a/metadata/modules/nexx360BidAdapter.json b/metadata/modules/nexx360BidAdapter.json index 96a33e5532f..8c05a5de13c 100644 --- a/metadata/modules/nexx360BidAdapter.json +++ b/metadata/modules/nexx360BidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:54.527Z", + "timestamp": "2026-01-28T16:30:26.058Z", "disclosures": [] }, "https://static.first-id.fr/tcf/cookie.json": { - "timestamp": "2026-01-21T15:16:53.741Z", + "timestamp": "2026-01-28T16:30:25.421Z", "disclosures": [] }, "https://i.plug.it/banners/js/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:53.768Z", + "timestamp": "2026-01-28T16:30:25.445Z", "disclosures": [] }, "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:54.132Z", + "timestamp": "2026-01-28T16:30:25.665Z", "disclosures": [ { "identifier": "glomexUser", @@ -46,7 +46,7 @@ ] }, "https://gdpr.pubx.ai/devicestoragedisclosure.json": { - "timestamp": "2026-01-21T15:16:54.132Z", + "timestamp": "2026-01-28T16:30:25.665Z", "disclosures": [ { "identifier": "pubx:defaults", @@ -61,7 +61,7 @@ ] }, "https://yieldbird.com/devicestorage.json": { - "timestamp": "2026-01-21T15:16:54.171Z", + "timestamp": "2026-01-28T16:30:25.684Z", "disclosures": [] } }, diff --git a/metadata/modules/nobidBidAdapter.json b/metadata/modules/nobidBidAdapter.json index e59b6a10941..e87c1602d61 100644 --- a/metadata/modules/nobidBidAdapter.json +++ b/metadata/modules/nobidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://public.servenobid.com/gdpr_tcf/vendor_device_storage_operational_disclosures.json": { - "timestamp": "2026-01-21T15:16:54.528Z", + "timestamp": "2026-01-28T16:30:26.059Z", "disclosures": [] } }, diff --git a/metadata/modules/nodalsAiRtdProvider.json b/metadata/modules/nodalsAiRtdProvider.json index b62b673da96..63188ce57d5 100644 --- a/metadata/modules/nodalsAiRtdProvider.json +++ b/metadata/modules/nodalsAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.nodals.ai/vendor.json": { - "timestamp": "2026-01-21T15:16:54.543Z", + "timestamp": "2026-01-28T16:30:26.074Z", "disclosures": [ { "identifier": "localStorage", diff --git a/metadata/modules/novatiqIdSystem.json b/metadata/modules/novatiqIdSystem.json index 7f89bd60fcd..1191fd80de1 100644 --- a/metadata/modules/novatiqIdSystem.json +++ b/metadata/modules/novatiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://novatiq.com/privacy/iab/novatiq.json": { - "timestamp": "2026-01-21T15:16:56.488Z", + "timestamp": "2026-01-28T16:30:27.691Z", "disclosures": [ { "identifier": "novatiq", diff --git a/metadata/modules/oguryBidAdapter.json b/metadata/modules/oguryBidAdapter.json index e42e2f0be32..3b044f32034 100644 --- a/metadata/modules/oguryBidAdapter.json +++ b/metadata/modules/oguryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.ogury.co/disclosure.json": { - "timestamp": "2026-01-21T15:16:56.828Z", + "timestamp": "2026-01-28T16:30:28.031Z", "disclosures": [] } }, diff --git a/metadata/modules/omnidexBidAdapter.json b/metadata/modules/omnidexBidAdapter.json index df49e06a8f8..cb9afb31fb1 100644 --- a/metadata/modules/omnidexBidAdapter.json +++ b/metadata/modules/omnidexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.omni-dex.io/devicestorage.json": { - "timestamp": "2026-01-21T15:16:56.874Z", + "timestamp": "2026-01-28T16:30:28.095Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/omsBidAdapter.json b/metadata/modules/omsBidAdapter.json index ad4398c4181..e0f6d4fa074 100644 --- a/metadata/modules/omsBidAdapter.json +++ b/metadata/modules/omsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-01-21T15:16:56.932Z", + "timestamp": "2026-01-28T16:30:28.157Z", "disclosures": [] } }, diff --git a/metadata/modules/onetagBidAdapter.json b/metadata/modules/onetagBidAdapter.json index 9bde7edca00..3d0c4ca8dee 100644 --- a/metadata/modules/onetagBidAdapter.json +++ b/metadata/modules/onetagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://onetag-cdn.com/privacy/tcf_storage.json": { - "timestamp": "2026-01-21T15:16:56.933Z", + "timestamp": "2026-01-28T16:30:28.158Z", "disclosures": [ { "identifier": "onetag_sid", diff --git a/metadata/modules/openwebBidAdapter.json b/metadata/modules/openwebBidAdapter.json index abb241f2a18..e84a0376dac 100644 --- a/metadata/modules/openwebBidAdapter.json +++ b/metadata/modules/openwebBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2026-01-21T15:16:57.299Z", + "timestamp": "2026-01-28T16:30:28.487Z", "disclosures": [] } }, diff --git a/metadata/modules/openxBidAdapter.json b/metadata/modules/openxBidAdapter.json index b36bfd7310a..6d6fa2c2c23 100644 --- a/metadata/modules/openxBidAdapter.json +++ b/metadata/modules/openxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.openx.com/device-storage.json": { - "timestamp": "2026-01-21T15:16:57.350Z", + "timestamp": "2026-01-28T16:30:28.525Z", "disclosures": [] } }, diff --git a/metadata/modules/operaadsBidAdapter.json b/metadata/modules/operaadsBidAdapter.json index 8c918c7098e..76226db2c54 100644 --- a/metadata/modules/operaadsBidAdapter.json +++ b/metadata/modules/operaadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://res.adx.opera.com/dsd.json": { - "timestamp": "2026-01-21T15:16:57.428Z", + "timestamp": "2026-01-28T16:30:28.576Z", "disclosures": [] } }, diff --git a/metadata/modules/optidigitalBidAdapter.json b/metadata/modules/optidigitalBidAdapter.json index 0375f29d97d..1e17c7686fd 100644 --- a/metadata/modules/optidigitalBidAdapter.json +++ b/metadata/modules/optidigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://scripts.opti-digital.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:57.592Z", + "timestamp": "2026-01-28T16:30:28.625Z", "disclosures": [] } }, diff --git a/metadata/modules/optoutBidAdapter.json b/metadata/modules/optoutBidAdapter.json index b54cf7e781f..a894055a0b3 100644 --- a/metadata/modules/optoutBidAdapter.json +++ b/metadata/modules/optoutBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserving.optoutadvertising.com/dsd": { - "timestamp": "2026-01-21T15:16:57.630Z", + "timestamp": "2026-01-28T16:30:28.705Z", "disclosures": [] } }, diff --git a/metadata/modules/orbidderBidAdapter.json b/metadata/modules/orbidderBidAdapter.json index 44010d8a596..0ae9bf725ab 100644 --- a/metadata/modules/orbidderBidAdapter.json +++ b/metadata/modules/orbidderBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://orbidder.otto.de/disclosure/dsd.json": { - "timestamp": "2026-01-21T15:16:57.892Z", + "timestamp": "2026-01-28T16:30:28.971Z", "disclosures": [] } }, diff --git a/metadata/modules/outbrainBidAdapter.json b/metadata/modules/outbrainBidAdapter.json index a9af8e17e3d..5e5a4cd4aeb 100644 --- a/metadata/modules/outbrainBidAdapter.json +++ b/metadata/modules/outbrainBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.outbrain.com/privacy/wp-json/privacy/v2/devicestorage.json": { - "timestamp": "2026-01-21T15:16:58.199Z", + "timestamp": "2026-01-28T16:30:29.295Z", "disclosures": [ { "identifier": "dicbo_id", diff --git a/metadata/modules/ozoneBidAdapter.json b/metadata/modules/ozoneBidAdapter.json index bf1fc0e1552..ea70878496b 100644 --- a/metadata/modules/ozoneBidAdapter.json +++ b/metadata/modules/ozoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://prebid.the-ozone-project.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:58.400Z", + "timestamp": "2026-01-28T16:30:29.606Z", "disclosures": [] } }, diff --git a/metadata/modules/pairIdSystem.json b/metadata/modules/pairIdSystem.json index 31cbc6f678a..d83173c0933 100644 --- a/metadata/modules/pairIdSystem.json +++ b/metadata/modules/pairIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gstatic.com/iabtcf/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:16:58.545Z", + "timestamp": "2026-01-28T16:30:29.871Z", "disclosures": [ { "identifier": "__gads", diff --git a/metadata/modules/panxoBidAdapter.json b/metadata/modules/panxoBidAdapter.json new file mode 100644 index 00000000000..271639b6bcc --- /dev/null +++ b/metadata/modules/panxoBidAdapter.json @@ -0,0 +1,46 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": { + "https://cdn.panxo.ai/tcf/device-storage.json": { + "timestamp": "2026-01-28T16:30:29.889Z", + "disclosures": [ + { + "identifier": "panxo_uid", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1 + ] + }, + { + "identifier": "panxo_aso_sync", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1 + ] + }, + { + "identifier": "panxo_debug", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1 + ] + } + ] + } + }, + "components": [ + { + "componentType": "bidder", + "componentName": "panxo", + "aliasOf": null, + "gvlid": 1527, + "disclosureURL": "https://cdn.panxo.ai/tcf/device-storage.json" + } + ] +} \ No newline at end of file diff --git a/metadata/modules/performaxBidAdapter.json b/metadata/modules/performaxBidAdapter.json index f157ca8cce0..f845d868039 100644 --- a/metadata/modules/performaxBidAdapter.json +++ b/metadata/modules/performaxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.performax.cz/device_storage.json": { - "timestamp": "2026-01-21T15:16:58.578Z", + "timestamp": "2026-01-28T16:30:30.114Z", "disclosures": [ { "identifier": "px2uid", diff --git a/metadata/modules/permutiveIdentityManagerIdSystem.json b/metadata/modules/permutiveIdentityManagerIdSystem.json index b86661062c3..8d762cfa8ac 100644 --- a/metadata/modules/permutiveIdentityManagerIdSystem.json +++ b/metadata/modules/permutiveIdentityManagerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2026-01-21T15:16:58.990Z", + "timestamp": "2026-01-28T16:30:30.530Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/permutiveRtdProvider.json b/metadata/modules/permutiveRtdProvider.json index 2333450a805..b3183046ced 100644 --- a/metadata/modules/permutiveRtdProvider.json +++ b/metadata/modules/permutiveRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2026-01-21T15:16:59.185Z", + "timestamp": "2026-01-28T16:30:30.723Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/pixfutureBidAdapter.json b/metadata/modules/pixfutureBidAdapter.json index c88eda96775..404e5160044 100644 --- a/metadata/modules/pixfutureBidAdapter.json +++ b/metadata/modules/pixfutureBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.pixfuture.com/vendor-disclosures.json": { - "timestamp": "2026-01-21T15:16:59.186Z", + "timestamp": "2026-01-28T16:30:30.724Z", "disclosures": [] } }, diff --git a/metadata/modules/playdigoBidAdapter.json b/metadata/modules/playdigoBidAdapter.json index ae46cc67ea4..e1cfc53a2be 100644 --- a/metadata/modules/playdigoBidAdapter.json +++ b/metadata/modules/playdigoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://playdigo.com/file.json": { - "timestamp": "2026-01-21T15:16:59.235Z", + "timestamp": "2026-01-28T16:30:30.771Z", "disclosures": [] } }, diff --git a/metadata/modules/prebid-core.json b/metadata/modules/prebid-core.json index 458f4ba682c..27215922c30 100644 --- a/metadata/modules/prebid-core.json +++ b/metadata/modules/prebid-core.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json": { - "timestamp": "2026-01-21T15:16:22.809Z", + "timestamp": "2026-01-28T16:29:58.199Z", "disclosures": [ { "identifier": "_rdc*", @@ -23,7 +23,7 @@ ] }, "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2026-01-21T15:16:22.811Z", + "timestamp": "2026-01-28T16:29:58.213Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/precisoBidAdapter.json b/metadata/modules/precisoBidAdapter.json index 7b260064f90..051accb3c62 100644 --- a/metadata/modules/precisoBidAdapter.json +++ b/metadata/modules/precisoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://preciso.net/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:59.410Z", + "timestamp": "2026-01-28T16:30:30.948Z", "disclosures": [ { "identifier": "XXXXX_viewnew", diff --git a/metadata/modules/prismaBidAdapter.json b/metadata/modules/prismaBidAdapter.json index d7c0d89c2c1..0d1691488d9 100644 --- a/metadata/modules/prismaBidAdapter.json +++ b/metadata/modules/prismaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2026-01-21T15:16:59.471Z", + "timestamp": "2026-01-28T16:30:30.998Z", "disclosures": [] } }, diff --git a/metadata/modules/programmaticXBidAdapter.json b/metadata/modules/programmaticXBidAdapter.json index a95bd4f0716..1221f3c8eb4 100644 --- a/metadata/modules/programmaticXBidAdapter.json +++ b/metadata/modules/programmaticXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://progrtb.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-01-21T15:16:59.472Z", + "timestamp": "2026-01-28T16:30:30.998Z", "disclosures": [] } }, diff --git a/metadata/modules/proxistoreBidAdapter.json b/metadata/modules/proxistoreBidAdapter.json index ae2a16d3c3d..f6bd76fdd1b 100644 --- a/metadata/modules/proxistoreBidAdapter.json +++ b/metadata/modules/proxistoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://abs.proxistore.com/assets/json/proxistore_device_storage_disclosure.json": { - "timestamp": "2026-01-21T15:16:59.524Z", + "timestamp": "2026-01-28T16:30:31.059Z", "disclosures": [] } }, diff --git a/metadata/modules/publinkIdSystem.json b/metadata/modules/publinkIdSystem.json index 8fb9399e55c..fb02ded585d 100644 --- a/metadata/modules/publinkIdSystem.json +++ b/metadata/modules/publinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.9/device_storage_disclosure.json": { - "timestamp": "2026-01-21T15:16:59.902Z", + "timestamp": "2026-01-28T16:30:31.543Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/pubmaticBidAdapter.json b/metadata/modules/pubmaticBidAdapter.json index f3aa36d69e5..607009f53ac 100644 --- a/metadata/modules/pubmaticBidAdapter.json +++ b/metadata/modules/pubmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2026-01-21T15:16:59.903Z", + "timestamp": "2026-01-28T16:30:31.544Z", "disclosures": [] } }, diff --git a/metadata/modules/pubmaticIdSystem.json b/metadata/modules/pubmaticIdSystem.json index ff3fbd66324..c57d7c0d7c4 100644 --- a/metadata/modules/pubmaticIdSystem.json +++ b/metadata/modules/pubmaticIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2026-01-21T15:16:59.918Z", + "timestamp": "2026-01-28T16:30:31.576Z", "disclosures": [] } }, diff --git a/metadata/modules/pulsepointBidAdapter.json b/metadata/modules/pulsepointBidAdapter.json index 7bccc16f3ce..4bacd53227a 100644 --- a/metadata/modules/pulsepointBidAdapter.json +++ b/metadata/modules/pulsepointBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bh.contextweb.com/tcf/vendorInfo.json": { - "timestamp": "2026-01-21T15:16:59.919Z", + "timestamp": "2026-01-28T16:30:31.577Z", "disclosures": [] } }, diff --git a/metadata/modules/quantcastBidAdapter.json b/metadata/modules/quantcastBidAdapter.json index 605822743f3..426abc3ac5c 100644 --- a/metadata/modules/quantcastBidAdapter.json +++ b/metadata/modules/quantcastBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2026-01-21T15:16:59.937Z", + "timestamp": "2026-01-28T16:30:31.593Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/quantcastIdSystem.json b/metadata/modules/quantcastIdSystem.json index 888e03b2fcb..6c28e90ab63 100644 --- a/metadata/modules/quantcastIdSystem.json +++ b/metadata/modules/quantcastIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2026-01-21T15:17:00.116Z", + "timestamp": "2026-01-28T16:30:31.773Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/r2b2BidAdapter.json b/metadata/modules/r2b2BidAdapter.json index 62b7af885f4..6b3f923e892 100644 --- a/metadata/modules/r2b2BidAdapter.json +++ b/metadata/modules/r2b2BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.r2b2.io/cookie_disclosure": { - "timestamp": "2026-01-21T15:17:00.117Z", + "timestamp": "2026-01-28T16:30:31.773Z", "disclosures": [ { "identifier": "AdTrack-hide-*", diff --git a/metadata/modules/readpeakBidAdapter.json b/metadata/modules/readpeakBidAdapter.json index 405dfdb16fb..6b75cbc9276 100644 --- a/metadata/modules/readpeakBidAdapter.json +++ b/metadata/modules/readpeakBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.readpeak.com/tcf/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:00.570Z", + "timestamp": "2026-01-28T16:30:32.145Z", "disclosures": [ { "identifier": "rp_uidfp", diff --git a/metadata/modules/relayBidAdapter.json b/metadata/modules/relayBidAdapter.json index 4bd86b056b8..fe416c67d88 100644 --- a/metadata/modules/relayBidAdapter.json +++ b/metadata/modules/relayBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://relay42.com/hubfs/raw_assets/public/IAB.json": { - "timestamp": "2026-01-21T15:17:00.595Z", + "timestamp": "2026-01-28T16:30:32.167Z", "disclosures": [] } }, diff --git a/metadata/modules/relevantdigitalBidAdapter.json b/metadata/modules/relevantdigitalBidAdapter.json index ba667884940..08eedf926e5 100644 --- a/metadata/modules/relevantdigitalBidAdapter.json +++ b/metadata/modules/relevantdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.relevant-digital.com/resources/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:00.656Z", + "timestamp": "2026-01-28T16:30:32.375Z", "disclosures": [] } }, diff --git a/metadata/modules/resetdigitalBidAdapter.json b/metadata/modules/resetdigitalBidAdapter.json index 1cb0456e43c..703482de16d 100644 --- a/metadata/modules/resetdigitalBidAdapter.json +++ b/metadata/modules/resetdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resetdigital.co/GDPR-TCF.json": { - "timestamp": "2026-01-21T15:17:00.945Z", + "timestamp": "2026-01-28T16:30:32.683Z", "disclosures": [] } }, diff --git a/metadata/modules/responsiveAdsBidAdapter.json b/metadata/modules/responsiveAdsBidAdapter.json index 14820adf1f9..89d23bb6652 100644 --- a/metadata/modules/responsiveAdsBidAdapter.json +++ b/metadata/modules/responsiveAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publish.responsiveads.com/tcf/tcf-v2.json": { - "timestamp": "2026-01-21T15:17:00.984Z", + "timestamp": "2026-01-28T16:30:32.722Z", "disclosures": [] } }, diff --git a/metadata/modules/revcontentBidAdapter.json b/metadata/modules/revcontentBidAdapter.json index 6c84249b171..3f45c788da2 100644 --- a/metadata/modules/revcontentBidAdapter.json +++ b/metadata/modules/revcontentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sothebys.revcontent.com/static/device_storage.json": { - "timestamp": "2026-01-21T15:17:01.026Z", + "timestamp": "2026-01-28T16:30:32.781Z", "disclosures": [ { "identifier": "__ID", diff --git a/metadata/modules/revnewBidAdapter.json b/metadata/modules/revnewBidAdapter.json index 695223069a3..29fdb8b0198 100644 --- a/metadata/modules/revnewBidAdapter.json +++ b/metadata/modules/revnewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediafuse.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:01.059Z", + "timestamp": "2026-01-28T16:30:32.795Z", "disclosures": [] } }, diff --git a/metadata/modules/rhythmoneBidAdapter.json b/metadata/modules/rhythmoneBidAdapter.json index 9728a7aa7e8..31d017d8c39 100644 --- a/metadata/modules/rhythmoneBidAdapter.json +++ b/metadata/modules/rhythmoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:01.128Z", + "timestamp": "2026-01-28T16:30:32.929Z", "disclosures": [] } }, diff --git a/metadata/modules/richaudienceBidAdapter.json b/metadata/modules/richaudienceBidAdapter.json index 208ef2a7425..db4f6fbb7d4 100644 --- a/metadata/modules/richaudienceBidAdapter.json +++ b/metadata/modules/richaudienceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnj.richaudience.com/52a26ab9400b2a9f5aabfa20acf3196g.json": { - "timestamp": "2026-01-21T15:17:01.496Z", + "timestamp": "2026-01-28T16:30:33.193Z", "disclosures": [] } }, diff --git a/metadata/modules/riseBidAdapter.json b/metadata/modules/riseBidAdapter.json index 0c746db669d..15a580963ff 100644 --- a/metadata/modules/riseBidAdapter.json +++ b/metadata/modules/riseBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d2pm7iglz0b6eq.cloudfront.net/RiseDeviceStorage.json": { - "timestamp": "2026-01-21T15:17:01.568Z", + "timestamp": "2026-01-28T16:30:33.264Z", "disclosures": [] }, "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2026-01-21T15:17:01.568Z", + "timestamp": "2026-01-28T16:30:33.264Z", "disclosures": [] } }, diff --git a/metadata/modules/rixengineBidAdapter.json b/metadata/modules/rixengineBidAdapter.json index 0aacc76bf1b..437a19779b1 100644 --- a/metadata/modules/rixengineBidAdapter.json +++ b/metadata/modules/rixengineBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.algorix.co/gdpr-disclosure.json": { - "timestamp": "2026-01-21T15:17:01.569Z", + "timestamp": "2026-01-28T16:30:33.264Z", "disclosures": [] } }, diff --git a/metadata/modules/rtbhouseBidAdapter.json b/metadata/modules/rtbhouseBidAdapter.json index 7fa16e457e7..20c7edbd123 100644 --- a/metadata/modules/rtbhouseBidAdapter.json +++ b/metadata/modules/rtbhouseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://rtbhouse.com/DeviceStorage.json": { - "timestamp": "2026-01-21T15:17:01.676Z", + "timestamp": "2026-01-28T16:30:33.289Z", "disclosures": [ { "identifier": "_rtbh.*", diff --git a/metadata/modules/rubiconBidAdapter.json b/metadata/modules/rubiconBidAdapter.json index ae7a9c840ff..e8f991d7e6d 100644 --- a/metadata/modules/rubiconBidAdapter.json +++ b/metadata/modules/rubiconBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.rubiconproject.com/dvplus/devicestoragedisclosure.json": { - "timestamp": "2026-01-21T15:17:01.886Z", + "timestamp": "2026-01-28T16:30:33.692Z", "disclosures": [] } }, diff --git a/metadata/modules/scaliburBidAdapter.json b/metadata/modules/scaliburBidAdapter.json index 95985ef007d..95100416ca0 100644 --- a/metadata/modules/scaliburBidAdapter.json +++ b/metadata/modules/scaliburBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://legal.overwolf.com/docs/overwolf/website/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:02.149Z", + "timestamp": "2026-01-28T16:30:33.929Z", "disclosures": [ { "identifier": "scluid", diff --git a/metadata/modules/screencoreBidAdapter.json b/metadata/modules/screencoreBidAdapter.json index 9e06b18660e..19bce2ec18b 100644 --- a/metadata/modules/screencoreBidAdapter.json +++ b/metadata/modules/screencoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://screencore.io/tcf.json": { - "timestamp": "2026-01-21T15:17:02.166Z", + "timestamp": "2026-01-28T16:30:33.953Z", "disclosures": null } }, diff --git a/metadata/modules/seedingAllianceBidAdapter.json b/metadata/modules/seedingAllianceBidAdapter.json index 3174123fbb7..fe8d650a43f 100644 --- a/metadata/modules/seedingAllianceBidAdapter.json +++ b/metadata/modules/seedingAllianceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.nativendo.de/cdn/asset/tcf/purpose-specific-storage-and-access-information.json": { - "timestamp": "2026-01-21T15:17:04.761Z", + "timestamp": "2026-01-28T16:30:36.548Z", "disclosures": [] } }, diff --git a/metadata/modules/seedtagBidAdapter.json b/metadata/modules/seedtagBidAdapter.json index 79371740968..dc5a53845ed 100644 --- a/metadata/modules/seedtagBidAdapter.json +++ b/metadata/modules/seedtagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2026-01-21T15:17:04.790Z", + "timestamp": "2026-01-28T16:30:36.576Z", "disclosures": [] } }, diff --git a/metadata/modules/semantiqRtdProvider.json b/metadata/modules/semantiqRtdProvider.json index d3145dff825..e03a5cffba7 100644 --- a/metadata/modules/semantiqRtdProvider.json +++ b/metadata/modules/semantiqRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audienzz.com/device_storage_disclosure_vendor_783.json": { - "timestamp": "2026-01-21T15:17:04.790Z", + "timestamp": "2026-01-28T16:30:36.576Z", "disclosures": [] } }, diff --git a/metadata/modules/setupadBidAdapter.json b/metadata/modules/setupadBidAdapter.json index 5266468465d..9114eb7ffec 100644 --- a/metadata/modules/setupadBidAdapter.json +++ b/metadata/modules/setupadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cookies.stpd.cloud/disclosures.json": { - "timestamp": "2026-01-21T15:17:04.866Z", + "timestamp": "2026-01-28T16:30:36.628Z", "disclosures": [] } }, diff --git a/metadata/modules/sevioBidAdapter.json b/metadata/modules/sevioBidAdapter.json index b0e7c8d5353..9c5e2a82b2a 100644 --- a/metadata/modules/sevioBidAdapter.json +++ b/metadata/modules/sevioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sevio.com/tcf.json": { - "timestamp": "2026-01-21T15:17:04.978Z", + "timestamp": "2026-01-28T16:30:36.792Z", "disclosures": [] } }, diff --git a/metadata/modules/sharedIdSystem.json b/metadata/modules/sharedIdSystem.json index f9cbc4b88a2..deda98910f7 100644 --- a/metadata/modules/sharedIdSystem.json +++ b/metadata/modules/sharedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2026-01-21T15:17:05.148Z", + "timestamp": "2026-01-28T16:30:36.949Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/sharethroughBidAdapter.json b/metadata/modules/sharethroughBidAdapter.json index d7f8f4d4242..5d835a1ba39 100644 --- a/metadata/modules/sharethroughBidAdapter.json +++ b/metadata/modules/sharethroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.sharethrough.com/gvl.json": { - "timestamp": "2026-01-21T15:17:05.148Z", + "timestamp": "2026-01-28T16:30:36.949Z", "disclosures": [] } }, diff --git a/metadata/modules/showheroes-bsBidAdapter.json b/metadata/modules/showheroes-bsBidAdapter.json index 0fe06a9f92c..7dcee4cef53 100644 --- a/metadata/modules/showheroes-bsBidAdapter.json +++ b/metadata/modules/showheroes-bsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static-origin.showheroes.com/gvl_storage_disclosure.json": { - "timestamp": "2026-01-21T15:17:05.170Z", + "timestamp": "2026-01-28T16:30:36.971Z", "disclosures": [] } }, diff --git a/metadata/modules/silvermobBidAdapter.json b/metadata/modules/silvermobBidAdapter.json index 9a78a647f02..21743e158e4 100644 --- a/metadata/modules/silvermobBidAdapter.json +++ b/metadata/modules/silvermobBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://silvermob.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:05.593Z", + "timestamp": "2026-01-28T16:30:37.398Z", "disclosures": [] } }, diff --git a/metadata/modules/sirdataRtdProvider.json b/metadata/modules/sirdataRtdProvider.json index 60ffec07374..292ad9c1408 100644 --- a/metadata/modules/sirdataRtdProvider.json +++ b/metadata/modules/sirdataRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sirdata.eu/sirdata_device_storage_disclosure.json": { - "timestamp": "2026-01-21T15:17:05.611Z", + "timestamp": "2026-01-28T16:30:37.414Z", "disclosures": [] } }, diff --git a/metadata/modules/smaatoBidAdapter.json b/metadata/modules/smaatoBidAdapter.json index 6e21316b38a..35d7af131ec 100644 --- a/metadata/modules/smaatoBidAdapter.json +++ b/metadata/modules/smaatoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resources.smaato.com/hubfs/Smaato/IAB/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:05.910Z", + "timestamp": "2026-01-28T16:30:37.710Z", "disclosures": [] } }, diff --git a/metadata/modules/smartadserverBidAdapter.json b/metadata/modules/smartadserverBidAdapter.json index e7edb4d7137..a1ed3e1f8bd 100644 --- a/metadata/modules/smartadserverBidAdapter.json +++ b/metadata/modules/smartadserverBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2026-01-21T15:17:05.987Z", + "timestamp": "2026-01-28T16:30:37.818Z", "disclosures": [] } }, diff --git a/metadata/modules/smartxBidAdapter.json b/metadata/modules/smartxBidAdapter.json index 8803c85fa7d..2bbf3c45927 100644 --- a/metadata/modules/smartxBidAdapter.json +++ b/metadata/modules/smartxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.smartclip.net/iab/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:05.987Z", + "timestamp": "2026-01-28T16:30:37.819Z", "disclosures": [] } }, diff --git a/metadata/modules/smartyadsBidAdapter.json b/metadata/modules/smartyadsBidAdapter.json index ee908d6e2fe..c56d5f330e6 100644 --- a/metadata/modules/smartyadsBidAdapter.json +++ b/metadata/modules/smartyadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smartyads.com/tcf.json": { - "timestamp": "2026-01-21T15:17:06.011Z", + "timestamp": "2026-01-28T16:30:37.844Z", "disclosures": [] } }, diff --git a/metadata/modules/smilewantedBidAdapter.json b/metadata/modules/smilewantedBidAdapter.json index b658597c747..5c3b44c8296 100644 --- a/metadata/modules/smilewantedBidAdapter.json +++ b/metadata/modules/smilewantedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smilewanted.com/vendor-device-storage-disclosures.json": { - "timestamp": "2026-01-21T15:17:06.048Z", + "timestamp": "2026-01-28T16:30:37.886Z", "disclosures": [] } }, diff --git a/metadata/modules/snigelBidAdapter.json b/metadata/modules/snigelBidAdapter.json index d17219aeddc..68d1c0c2815 100644 --- a/metadata/modules/snigelBidAdapter.json +++ b/metadata/modules/snigelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.snigelweb.com/gvl/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:06.506Z", + "timestamp": "2026-01-28T16:30:38.328Z", "disclosures": [] } }, diff --git a/metadata/modules/sonaradsBidAdapter.json b/metadata/modules/sonaradsBidAdapter.json index 5417992dc11..b41bae638fe 100644 --- a/metadata/modules/sonaradsBidAdapter.json +++ b/metadata/modules/sonaradsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bridgeupp.com/device-storage-disclosure.json": { - "timestamp": "2026-01-21T15:17:06.558Z", + "timestamp": "2026-01-28T16:30:38.465Z", "disclosures": [] } }, diff --git a/metadata/modules/sonobiBidAdapter.json b/metadata/modules/sonobiBidAdapter.json index a3434d63755..bef53619e19 100644 --- a/metadata/modules/sonobiBidAdapter.json +++ b/metadata/modules/sonobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sonobi.com/tcf2-device-storage-disclosure.json": { - "timestamp": "2026-01-21T15:17:06.775Z", + "timestamp": "2026-01-28T16:30:38.695Z", "disclosures": [] } }, diff --git a/metadata/modules/sovrnBidAdapter.json b/metadata/modules/sovrnBidAdapter.json index 1d13462ea77..ae4dc05951d 100644 --- a/metadata/modules/sovrnBidAdapter.json +++ b/metadata/modules/sovrnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sovrn.com/tcf-cookie-disclosure/disclosure.json": { - "timestamp": "2026-01-21T15:17:07.010Z", + "timestamp": "2026-01-28T16:30:38.930Z", "disclosures": [] } }, diff --git a/metadata/modules/sparteoBidAdapter.json b/metadata/modules/sparteoBidAdapter.json index 6dcb320ef39..4f549fdb2e4 100644 --- a/metadata/modules/sparteoBidAdapter.json +++ b/metadata/modules/sparteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:07.032Z", + "timestamp": "2026-01-28T16:30:38.952Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/ssmasBidAdapter.json b/metadata/modules/ssmasBidAdapter.json index 8d1fc62e602..ccc832d962a 100644 --- a/metadata/modules/ssmasBidAdapter.json +++ b/metadata/modules/ssmasBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://semseoymas.com/iab.json": { - "timestamp": "2026-01-21T15:17:07.312Z", + "timestamp": "2026-01-28T16:30:39.228Z", "disclosures": null } }, diff --git a/metadata/modules/sspBCBidAdapter.json b/metadata/modules/sspBCBidAdapter.json index 73dc546a4f4..db6d59ff097 100644 --- a/metadata/modules/sspBCBidAdapter.json +++ b/metadata/modules/sspBCBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:07.901Z", + "timestamp": "2026-01-28T16:30:39.834Z", "disclosures": null } }, diff --git a/metadata/modules/stackadaptBidAdapter.json b/metadata/modules/stackadaptBidAdapter.json index d4ae9c3fbb2..f0049ce614b 100644 --- a/metadata/modules/stackadaptBidAdapter.json +++ b/metadata/modules/stackadaptBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.amazonaws.com/stackadapt_public/disclosures.json": { - "timestamp": "2026-01-21T15:17:07.902Z", + "timestamp": "2026-01-28T16:30:39.835Z", "disclosures": [ { "identifier": "sa-camp-*", diff --git a/metadata/modules/startioBidAdapter.json b/metadata/modules/startioBidAdapter.json index f9e849f8d44..b2288e475a3 100644 --- a/metadata/modules/startioBidAdapter.json +++ b/metadata/modules/startioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://info.startappservice.com/tcf/start.io_domains.json": { - "timestamp": "2026-01-21T15:17:07.940Z", + "timestamp": "2026-01-28T16:30:39.868Z", "disclosures": [] } }, diff --git a/metadata/modules/stroeerCoreBidAdapter.json b/metadata/modules/stroeerCoreBidAdapter.json index 38a3b050b5f..d665b481f92 100644 --- a/metadata/modules/stroeerCoreBidAdapter.json +++ b/metadata/modules/stroeerCoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.stroeer.de/StroeerSSP_deviceStorage.json": { - "timestamp": "2026-01-21T15:17:07.958Z", + "timestamp": "2026-01-28T16:30:39.889Z", "disclosures": [] } }, diff --git a/metadata/modules/stvBidAdapter.json b/metadata/modules/stvBidAdapter.json index cc987faae96..d1ce12c1ae4 100644 --- a/metadata/modules/stvBidAdapter.json +++ b/metadata/modules/stvBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/stv.json": { - "timestamp": "2026-01-21T15:17:08.380Z", + "timestamp": "2026-01-28T16:30:40.266Z", "disclosures": [] } }, diff --git a/metadata/modules/sublimeBidAdapter.json b/metadata/modules/sublimeBidAdapter.json index 8f84b5b6227..77f960e3892 100644 --- a/metadata/modules/sublimeBidAdapter.json +++ b/metadata/modules/sublimeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.ayads.co/cookiepolicy.json": { - "timestamp": "2026-01-21T15:17:09.023Z", + "timestamp": "2026-01-28T16:30:40.913Z", "disclosures": [ { "identifier": "dnt", diff --git a/metadata/modules/taboolaBidAdapter.json b/metadata/modules/taboolaBidAdapter.json index f8d9b90381e..07e38d4e2f3 100644 --- a/metadata/modules/taboolaBidAdapter.json +++ b/metadata/modules/taboolaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2026-01-21T15:17:09.296Z", + "timestamp": "2026-01-28T16:30:41.174Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/taboolaIdSystem.json b/metadata/modules/taboolaIdSystem.json index 360ed099e0f..5192f0b5a53 100644 --- a/metadata/modules/taboolaIdSystem.json +++ b/metadata/modules/taboolaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2026-01-21T15:17:09.905Z", + "timestamp": "2026-01-28T16:30:41.833Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/tadvertisingBidAdapter.json b/metadata/modules/tadvertisingBidAdapter.json index a22f75b54ad..a3cb6303200 100644 --- a/metadata/modules/tadvertisingBidAdapter.json +++ b/metadata/modules/tadvertisingBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:09.906Z", + "timestamp": "2026-01-28T16:30:41.834Z", "disclosures": [] } }, diff --git a/metadata/modules/tappxBidAdapter.json b/metadata/modules/tappxBidAdapter.json index 013a74f81be..a487b12cb7d 100644 --- a/metadata/modules/tappxBidAdapter.json +++ b/metadata/modules/tappxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tappx.com/devicestorage.json": { - "timestamp": "2026-01-21T15:17:09.907Z", + "timestamp": "2026-01-28T16:30:41.858Z", "disclosures": [] } }, diff --git a/metadata/modules/targetVideoBidAdapter.json b/metadata/modules/targetVideoBidAdapter.json index 7216e023297..ec93fdb78b9 100644 --- a/metadata/modules/targetVideoBidAdapter.json +++ b/metadata/modules/targetVideoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2026-01-21T15:17:09.935Z", + "timestamp": "2026-01-28T16:30:41.884Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/teadsBidAdapter.json b/metadata/modules/teadsBidAdapter.json index d1e45cb2c97..daed112213d 100644 --- a/metadata/modules/teadsBidAdapter.json +++ b/metadata/modules/teadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:09.935Z", + "timestamp": "2026-01-28T16:30:41.885Z", "disclosures": [] } }, diff --git a/metadata/modules/teadsIdSystem.json b/metadata/modules/teadsIdSystem.json index 42f4ebb812f..8e927eaff33 100644 --- a/metadata/modules/teadsIdSystem.json +++ b/metadata/modules/teadsIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:09.960Z", + "timestamp": "2026-01-28T16:30:41.907Z", "disclosures": [] } }, diff --git a/metadata/modules/tealBidAdapter.json b/metadata/modules/tealBidAdapter.json index 5ac1fe8c1d9..704d75aadae 100644 --- a/metadata/modules/tealBidAdapter.json +++ b/metadata/modules/tealBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://c.bids.ws/iab/disclosures.json": { - "timestamp": "2026-01-21T15:17:09.960Z", + "timestamp": "2026-01-28T16:30:41.907Z", "disclosures": [] } }, diff --git a/metadata/modules/tncIdSystem.json b/metadata/modules/tncIdSystem.json index 41c9b2b619f..647cab4a5cc 100644 --- a/metadata/modules/tncIdSystem.json +++ b/metadata/modules/tncIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.tncid.app/iab-tcf-device-storage-disclosure.json": { - "timestamp": "2026-01-21T15:17:10.014Z", + "timestamp": "2026-01-28T16:30:41.941Z", "disclosures": [] } }, diff --git a/metadata/modules/topicsFpdModule.json b/metadata/modules/topicsFpdModule.json index ddb49386c15..95987763bde 100644 --- a/metadata/modules/topicsFpdModule.json +++ b/metadata/modules/topicsFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/topicsFpdModule.json": { - "timestamp": "2026-01-21T15:16:22.811Z", + "timestamp": "2026-01-28T16:29:58.214Z", "disclosures": [ { "identifier": "prebid:topics", diff --git a/metadata/modules/toponBidAdapter.json b/metadata/modules/toponBidAdapter.json index 74feb9d7cd3..d008f59f2dd 100644 --- a/metadata/modules/toponBidAdapter.json +++ b/metadata/modules/toponBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mores.toponad.net/tmp/tpn/toponads_tcf_disclosure.json": { - "timestamp": "2026-01-21T15:17:10.034Z", + "timestamp": "2026-01-28T16:30:41.959Z", "disclosures": [] } }, diff --git a/metadata/modules/tripleliftBidAdapter.json b/metadata/modules/tripleliftBidAdapter.json index 038268be8a9..94cc97bcf8a 100644 --- a/metadata/modules/tripleliftBidAdapter.json +++ b/metadata/modules/tripleliftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://triplelift.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:10.059Z", + "timestamp": "2026-01-28T16:30:41.986Z", "disclosures": [] } }, diff --git a/metadata/modules/ttdBidAdapter.json b/metadata/modules/ttdBidAdapter.json index 23816f1bdad..d6d3b8cebec 100644 --- a/metadata/modules/ttdBidAdapter.json +++ b/metadata/modules/ttdBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-21T15:17:10.088Z", + "timestamp": "2026-01-28T16:30:42.047Z", "disclosures": [] } }, diff --git a/metadata/modules/twistDigitalBidAdapter.json b/metadata/modules/twistDigitalBidAdapter.json index 45ae377ade9..9d23eddf753 100644 --- a/metadata/modules/twistDigitalBidAdapter.json +++ b/metadata/modules/twistDigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://twistdigital.net/iab.json": { - "timestamp": "2026-01-21T15:17:10.089Z", + "timestamp": "2026-01-28T16:30:42.047Z", "disclosures": [ { "identifier": "vdzj1_{id}", diff --git a/metadata/modules/underdogmediaBidAdapter.json b/metadata/modules/underdogmediaBidAdapter.json index a70b4a279d9..fefaee8ca12 100644 --- a/metadata/modules/underdogmediaBidAdapter.json +++ b/metadata/modules/underdogmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.underdog.media/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:10.161Z", + "timestamp": "2026-01-28T16:30:42.135Z", "disclosures": [] } }, diff --git a/metadata/modules/undertoneBidAdapter.json b/metadata/modules/undertoneBidAdapter.json index c652f3ca0b7..eab5cb0d139 100644 --- a/metadata/modules/undertoneBidAdapter.json +++ b/metadata/modules/undertoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.undertone.com/js/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:10.182Z", + "timestamp": "2026-01-28T16:30:42.159Z", "disclosures": [] } }, diff --git a/metadata/modules/unifiedIdSystem.json b/metadata/modules/unifiedIdSystem.json index 45971596b47..c036a28e618 100644 --- a/metadata/modules/unifiedIdSystem.json +++ b/metadata/modules/unifiedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-21T15:17:10.198Z", + "timestamp": "2026-01-28T16:30:42.227Z", "disclosures": [] } }, diff --git a/metadata/modules/unrulyBidAdapter.json b/metadata/modules/unrulyBidAdapter.json index 30fd1495008..e2175b3f549 100644 --- a/metadata/modules/unrulyBidAdapter.json +++ b/metadata/modules/unrulyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:10.198Z", + "timestamp": "2026-01-28T16:30:42.227Z", "disclosures": [] } }, diff --git a/metadata/modules/userId.json b/metadata/modules/userId.json index e5269440454..4cb33e6f4a1 100644 --- a/metadata/modules/userId.json +++ b/metadata/modules/userId.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/userId-optout.json": { - "timestamp": "2026-01-21T15:16:22.813Z", + "timestamp": "2026-01-28T16:29:58.216Z", "disclosures": [ { "identifier": "_pbjs_id_optout", diff --git a/metadata/modules/utiqIdSystem.json b/metadata/modules/utiqIdSystem.json index 1d23694cf77..071faa17400 100644 --- a/metadata/modules/utiqIdSystem.json +++ b/metadata/modules/utiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:10.198Z", + "timestamp": "2026-01-28T16:30:42.227Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/utiqMtpIdSystem.json b/metadata/modules/utiqMtpIdSystem.json index eb49f9d9027..2df7ca96f1b 100644 --- a/metadata/modules/utiqMtpIdSystem.json +++ b/metadata/modules/utiqMtpIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:10.199Z", + "timestamp": "2026-01-28T16:30:42.229Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/validationFpdModule.json b/metadata/modules/validationFpdModule.json index 375ed570cb5..ca2ae6a8883 100644 --- a/metadata/modules/validationFpdModule.json +++ b/metadata/modules/validationFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2026-01-21T15:16:22.812Z", + "timestamp": "2026-01-28T16:29:58.215Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/valuadBidAdapter.json b/metadata/modules/valuadBidAdapter.json index e7aef4febc8..9141c9dceda 100644 --- a/metadata/modules/valuadBidAdapter.json +++ b/metadata/modules/valuadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.valuad.cloud/tcfdevice.json": { - "timestamp": "2026-01-21T15:17:10.199Z", + "timestamp": "2026-01-28T16:30:42.229Z", "disclosures": [] } }, diff --git a/metadata/modules/vidazooBidAdapter.json b/metadata/modules/vidazooBidAdapter.json index b45149019ba..8cfb42a6329 100644 --- a/metadata/modules/vidazooBidAdapter.json +++ b/metadata/modules/vidazooBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidazoo.com/gdpr-tcf/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:10.377Z", + "timestamp": "2026-01-28T16:30:42.541Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/vidoomyBidAdapter.json b/metadata/modules/vidoomyBidAdapter.json index a4fbba104e1..a15352d7209 100644 --- a/metadata/modules/vidoomyBidAdapter.json +++ b/metadata/modules/vidoomyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidoomy.com/storageurl/devicestoragediscurl.json": { - "timestamp": "2026-01-21T15:17:10.438Z", + "timestamp": "2026-01-28T16:30:42.610Z", "disclosures": [] } }, diff --git a/metadata/modules/viouslyBidAdapter.json b/metadata/modules/viouslyBidAdapter.json index 8e77e1a135e..a9ba5b1ea69 100644 --- a/metadata/modules/viouslyBidAdapter.json +++ b/metadata/modules/viouslyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:10.552Z", + "timestamp": "2026-01-28T16:30:42.721Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/visxBidAdapter.json b/metadata/modules/visxBidAdapter.json index 53c66a42db3..82a358c4252 100644 --- a/metadata/modules/visxBidAdapter.json +++ b/metadata/modules/visxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.yoc.com/visx/sellers/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:10.553Z", + "timestamp": "2026-01-28T16:30:42.722Z", "disclosures": [ { "identifier": "__vads", diff --git a/metadata/modules/vlybyBidAdapter.json b/metadata/modules/vlybyBidAdapter.json index a25400030ad..f981ce6b7d8 100644 --- a/metadata/modules/vlybyBidAdapter.json +++ b/metadata/modules/vlybyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vlyby.com/conf/iab/gvl.json": { - "timestamp": "2026-01-21T15:17:10.747Z", + "timestamp": "2026-01-28T16:30:42.933Z", "disclosures": [] } }, diff --git a/metadata/modules/voxBidAdapter.json b/metadata/modules/voxBidAdapter.json index d8a01c72033..534d5aa909f 100644 --- a/metadata/modules/voxBidAdapter.json +++ b/metadata/modules/voxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:11.165Z", + "timestamp": "2026-01-28T16:30:43.350Z", "disclosures": [] } }, diff --git a/metadata/modules/vrtcalBidAdapter.json b/metadata/modules/vrtcalBidAdapter.json index 718bf2e62e9..98b4bf97df2 100644 --- a/metadata/modules/vrtcalBidAdapter.json +++ b/metadata/modules/vrtcalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vrtcal.com/docs/gdpr-tcf-disclosures.json": { - "timestamp": "2026-01-21T15:17:11.166Z", + "timestamp": "2026-01-28T16:30:43.350Z", "disclosures": [] } }, diff --git a/metadata/modules/vuukleBidAdapter.json b/metadata/modules/vuukleBidAdapter.json index e1ec79ea855..82f8197b440 100644 --- a/metadata/modules/vuukleBidAdapter.json +++ b/metadata/modules/vuukleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vuukle.com/data-privacy/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:11.180Z", + "timestamp": "2026-01-28T16:30:43.368Z", "disclosures": [ { "identifier": "vuukle_token", diff --git a/metadata/modules/weboramaRtdProvider.json b/metadata/modules/weboramaRtdProvider.json index 8708b232e86..942e28d93a9 100644 --- a/metadata/modules/weboramaRtdProvider.json +++ b/metadata/modules/weboramaRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://weborama.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:11.454Z", + "timestamp": "2026-01-28T16:30:43.680Z", "disclosures": [] } }, diff --git a/metadata/modules/welectBidAdapter.json b/metadata/modules/welectBidAdapter.json index 508cece746c..bf17a459ac4 100644 --- a/metadata/modules/welectBidAdapter.json +++ b/metadata/modules/welectBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.welect.de/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:11.708Z", + "timestamp": "2026-01-28T16:30:43.935Z", "disclosures": [] } }, diff --git a/metadata/modules/yahooAdsBidAdapter.json b/metadata/modules/yahooAdsBidAdapter.json index 32a6ab9844c..70f246f825d 100644 --- a/metadata/modules/yahooAdsBidAdapter.json +++ b/metadata/modules/yahooAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2026-01-21T15:17:12.126Z", + "timestamp": "2026-01-28T16:30:44.341Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/yieldlabBidAdapter.json b/metadata/modules/yieldlabBidAdapter.json index 6a868978be0..546bfd19305 100644 --- a/metadata/modules/yieldlabBidAdapter.json +++ b/metadata/modules/yieldlabBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.yieldlab.net/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:12.127Z", + "timestamp": "2026-01-28T16:30:44.342Z", "disclosures": [] } }, diff --git a/metadata/modules/yieldloveBidAdapter.json b/metadata/modules/yieldloveBidAdapter.json index f9f446b01c7..d311669356b 100644 --- a/metadata/modules/yieldloveBidAdapter.json +++ b/metadata/modules/yieldloveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn-a.yieldlove.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:12.242Z", + "timestamp": "2026-01-28T16:30:44.472Z", "disclosures": [ { "identifier": "session_id", diff --git a/metadata/modules/yieldmoBidAdapter.json b/metadata/modules/yieldmoBidAdapter.json index 0eef8ded2e6..0f2052e3cf4 100644 --- a/metadata/modules/yieldmoBidAdapter.json +++ b/metadata/modules/yieldmoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://devicestoragedisclosureurl.yieldmo.com/deviceStorage.json": { - "timestamp": "2026-01-21T15:17:12.263Z", + "timestamp": "2026-01-28T16:30:44.497Z", "disclosures": [] } }, diff --git a/metadata/modules/zeotapIdPlusIdSystem.json b/metadata/modules/zeotapIdPlusIdSystem.json index 60a5aa93435..6105ace2968 100644 --- a/metadata/modules/zeotapIdPlusIdSystem.json +++ b/metadata/modules/zeotapIdPlusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spl.zeotap.com/assets/iab-disclosure.json": { - "timestamp": "2026-01-21T15:17:12.335Z", + "timestamp": "2026-01-28T16:30:44.585Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_globalBidAdapter.json b/metadata/modules/zeta_globalBidAdapter.json index 52293da3a42..274bd4c75f0 100644 --- a/metadata/modules/zeta_globalBidAdapter.json +++ b/metadata/modules/zeta_globalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:12.498Z", + "timestamp": "2026-01-28T16:30:44.708Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_global_sspBidAdapter.json b/metadata/modules/zeta_global_sspBidAdapter.json index 305a257359d..e51e6fd80ec 100644 --- a/metadata/modules/zeta_global_sspBidAdapter.json +++ b/metadata/modules/zeta_global_sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2026-01-21T15:17:12.572Z", + "timestamp": "2026-01-28T16:30:44.784Z", "disclosures": [] } }, diff --git a/package-lock.json b/package-lock.json index 57c7d89e06b..a1fadb07cd0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.23.0-pre", + "version": "10.23.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.23.0-pre", + "version": "10.23.0", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", @@ -7443,9 +7443,9 @@ } }, "node_modules/baseline-browser-mapping": { - "version": "2.9.17", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.17.tgz", - "integrity": "sha512-agD0MgJFUP/4nvjqzIB29zRPUuCF7Ge6mEv9s8dHrtYD7QWXRcx75rOADE/d5ah1NI+0vkDl0yorDd5U852IQQ==", + "version": "2.9.19", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.19.tgz", + "integrity": "sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==", "bin": { "baseline-browser-mapping": "dist/cli.js" } @@ -7879,9 +7879,9 @@ "license": "MIT" }, "node_modules/caniuse-lite": { - "version": "1.0.30001765", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001765.tgz", - "integrity": "sha512-LWcNtSyZrakjECqmpP4qdg0MMGdN368D7X8XvvAqOcqMv0RxnlqVKZl2V6/mBR68oYMxOZPLw/gO7DuisMHUvQ==", + "version": "1.0.30001766", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001766.tgz", + "integrity": "sha512-4C0lfJ0/YPjJQHagaE9x2Elb69CIqEPZeG0anQt9SIvIoOH4a4uaRl73IavyO+0qZh6MDLH//DrXThEYKHkmYA==", "funding": [ { "type": "opencollective", @@ -27044,9 +27044,9 @@ "dev": true }, "baseline-browser-mapping": { - "version": "2.9.17", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.17.tgz", - "integrity": "sha512-agD0MgJFUP/4nvjqzIB29zRPUuCF7Ge6mEv9s8dHrtYD7QWXRcx75rOADE/d5ah1NI+0vkDl0yorDd5U852IQQ==" + "version": "2.9.19", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.19.tgz", + "integrity": "sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==" }, "basic-auth": { "version": "2.0.1", @@ -27339,9 +27339,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001765", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001765.tgz", - "integrity": "sha512-LWcNtSyZrakjECqmpP4qdg0MMGdN368D7X8XvvAqOcqMv0RxnlqVKZl2V6/mBR68oYMxOZPLw/gO7DuisMHUvQ==" + "version": "1.0.30001766", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001766.tgz", + "integrity": "sha512-4C0lfJ0/YPjJQHagaE9x2Elb69CIqEPZeG0anQt9SIvIoOH4a4uaRl73IavyO+0qZh6MDLH//DrXThEYKHkmYA==" }, "chai": { "version": "4.4.1", diff --git a/package.json b/package.json index 6f2cdf0ae0d..e8f52129933 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.23.0-pre", + "version": "10.23.0", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From 437ed3df021fdf2ded52551bcda67c27845b660d Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Wed, 28 Jan 2026 16:31:45 +0000 Subject: [PATCH 147/248] Increment version to 10.24.0-pre --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a1fadb07cd0..390b38b8656 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.23.0", + "version": "10.24.0-pre", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.23.0", + "version": "10.24.0-pre", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", diff --git a/package.json b/package.json index e8f52129933..c7ca0275009 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.23.0", + "version": "10.24.0-pre", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From c174470205bd854cd7ac64382be7fac39186698e Mon Sep 17 00:00:00 2001 From: ym-aaron <89419575+ym-aaron@users.noreply.github.com> Date: Thu, 29 Jan 2026 04:19:02 -0800 Subject: [PATCH 148/248] udpate variable (#14380) --- modules/yieldmoBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/yieldmoBidAdapter.js b/modules/yieldmoBidAdapter.js index d249a5e3bd3..18926496258 100644 --- a/modules/yieldmoBidAdapter.js +++ b/modules/yieldmoBidAdapter.js @@ -735,7 +735,7 @@ function canAccessTopWindow() { } function isStage(bidderRequest) { - return !!bidderRequest.refererInfo?.referer?.includes('pb_force_a'); + return !!bidderRequest.refererInfo?.page?.includes('pb_force_a'); } function getAdserverUrl(path, stage) { From b747335d38afacc460324ddcc7db7ba4e2af4ac6 Mon Sep 17 00:00:00 2001 From: Tomas Roos Date: Fri, 30 Jan 2026 11:11:21 +0100 Subject: [PATCH 149/248] Replace global.navigator with window.navigator (#14389) This throws in production since upgrade to 10+ No other module is using global.navigator all references goes to window.navigator --- modules/readpeakBidAdapter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/readpeakBidAdapter.js b/modules/readpeakBidAdapter.js index 7cb97579394..d8028b6c1c9 100644 --- a/modules/readpeakBidAdapter.js +++ b/modules/readpeakBidAdapter.js @@ -294,12 +294,12 @@ function app(bidderRequest) { } function isMobile() { - return /(ios|ipod|ipad|iphone|android)/i.test(global.navigator.userAgent); + return /(ios|ipod|ipad|iphone|android)/i.test(window.navigator.userAgent); } function isConnectedTV() { return /(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i.test( - global.navigator.userAgent + window.navigator.userAgent ); } From 020d175333212f9bb7916b2b25f256776a1fab65 Mon Sep 17 00:00:00 2001 From: Gabriel Gravel Date: Fri, 30 Jan 2026 10:39:29 -0500 Subject: [PATCH 150/248] s3rtd: update default params and docs (#14378) --- modules/scope3RtdProvider.md | 118 ++++++++++++++++++++++------------- modules/scope3RtdProvider.ts | 6 +- 2 files changed, 79 insertions(+), 45 deletions(-) diff --git a/modules/scope3RtdProvider.md b/modules/scope3RtdProvider.md index 20dff06c967..f6f63942be3 100644 --- a/modules/scope3RtdProvider.md +++ b/modules/scope3RtdProvider.md @@ -7,6 +7,7 @@ The Scope3 RTD module enables real-time agentic execution for programmatic adver ### What It Does This module: + 1. Captures the **complete OpenRTB request** including all user IDs, geo data, device info, and site context 2. Sends it to Scope3's AEE for real-time analysis 3. Receives back targeting instructions: which line items to include/exclude this impression from @@ -30,34 +31,39 @@ The AEE returns opaque codes (e.g., "x82s") that instruct GAM which line items s pbjs.setConfig({ realTimeData: { auctionDelay: 1000, - dataProviders: [{ - name: 'scope3', - params: { - orgId: 'YOUR_ORG_ID', // Required - your Scope3 organization identifier - - // Optional - customize targeting keys (defaults shown) - includeKey: 's3i', // Key for include segments - excludeKey: 's3x', // Key for exclude segments - macroKey: 's3m', // Key for macro blob - - // Optional - other settings - endpoint: 'https://prebid.scope3.com/prebid', // API endpoint (default) - timeout: 1000, // Milliseconds (default: 1000) - publisherTargeting: true, // Set GAM targeting keys (default: true) - advertiserTargeting: true, // Enrich bid requests (default: true) - bidders: [], // Specific bidders to get data for (empty = all bidders in auction) - cacheEnabled: true, // Enable response caching (default: true) - debugMode: false // Enable debug logging (default: false) - } - }] - } + dataProviders: [ + { + name: "scope3", + waitForIt: true, + params: { + orgId: "YOUR_ORG_ID", // Required - your Scope3 organization identifier + + // Optional - customize targeting keys (defaults shown) + includeKey: "axei", // Key for include segments + excludeKey: "axex", // Key for exclude segments + macroKey: "axem", // Key for macro blob + + // Optional - other settings + endpoint: "https://prebid.scope3.com/prebid", // API endpoint (default) + timeout: 1000, // Milliseconds (default: 1000) + publisherTargeting: true, // Set GAM targeting keys (default: true) + advertiserTargeting: true, // Enrich bid requests (default: true) + bidders: [], // Specific bidders to get data for (empty = all bidders in auction) + cacheEnabled: true, // Enable response caching (default: true) + debugMode: false, // Enable debug logging (default: false) + }, + }, + ], + }, }); ``` ### Advanced Configuration Examples #### Custom Targeting Keys + Use your own naming convention for targeting keys: + ```javascript params: { orgId: 'YOUR_ORG_ID', @@ -68,7 +74,9 @@ params: { ``` #### Specific Bidders Only + Apply AEE signals only to certain bidders: + ```javascript params: { orgId: 'YOUR_ORG_ID', @@ -79,6 +87,7 @@ params: { ``` #### Development/Testing + ```javascript params: { orgId: 'YOUR_ORG_ID', @@ -91,7 +100,9 @@ params: { ## Data Flow ### 1. Complete OpenRTB Capture + The module captures ALL available OpenRTB data: + - **Site**: page URL, domain, referrer, keywords, content, categories - **Device**: user agent, geo location, IP, device type, screen size - **User**: ID, buyer UIDs, year of birth, gender, keywords, data segments, **all extended IDs (eids)** @@ -100,18 +111,20 @@ The module captures ALL available OpenRTB data: - **App**: if in-app, all app details ### 2. Request to AEE + Sends the complete OpenRTB request with list of bidders: + ```json { "orgId": "YOUR_ORG_ID", "ortb2": { - "site": { + "site": { "page": "https://example.com/page", "domain": "example.com", "cat": ["IAB1-1"], "keywords": "news,sports" }, - "device": { + "device": { "ua": "Mozilla/5.0...", "geo": { "country": "USA", @@ -128,7 +141,7 @@ Sends the complete OpenRTB request with list of bidders: "uids": [{"id": "XY123456"}] }, { - "source": "id5-sync.com", + "source": "id5-sync.com", "uids": [{"id": "ID5*abc"}] } ], @@ -144,7 +157,9 @@ Sends the complete OpenRTB request with list of bidders: ``` ### 3. AEE Response + Receives targeting instructions with opaque codes (e.g., 'x82s', 'a91k') that tell GAM which line items to include/exclude. These are NOT audience segments or IAB taxonomy: + ```json { "aee_signals": { @@ -172,13 +187,17 @@ Receives targeting instructions with opaque codes (e.g., 'x82s', 'a91k') that te ### 4. Signal Application #### Publisher Targeting (GAM) + Sets the configured targeting keys (GAM automatically converts to lowercase): -- `s3i` (or your includeKey): ["x82s", "a91k", "p2m7"] - line items to include -- `s3x` (or your excludeKey): ["c4x9", "f7r2"] - line items to exclude -- `s3m` (or your macroKey): "ctx9h3v8s5" - opaque context data + +- `axei` (or your includeKey): ["x82s", "a91k", "p2m7"] - line items to include +- `axex` (or your excludeKey): ["c4x9", "f7r2"] - line items to exclude +- `axem` (or your macroKey): "ctx9h3v8s5" - opaque context data #### Advertiser Data (OpenRTB) + Enriches bid requests with AEE signals: + ```javascript ortb2: { site: { @@ -203,20 +222,22 @@ Create line items that respond to agent targeting instructions. The codes (e.g., ``` Include impression in this line item: -s3i contains "x82s" +axei contains "x82s" Exclude impression from this line item: -s3x does not contain "f7r2" +axex does not contain "f7r2" Multiple targeting conditions: -s3i contains "a91k" AND s3x does not contain "c4x9" +axei contains "a91k" AND axex does not contain "c4x9" Macro data for creative: -s3m is present +axem is present ``` ### Custom Key Configuration + If you use custom keys: + ```javascript // Configuration params: { @@ -239,14 +260,14 @@ Bidders can access AEE signals in their adapters: ```javascript buildRequests: function(validBidRequests, bidderRequest) { const aeeSignals = bidderRequest.ortb2?.site?.ext?.data?.scope3_aee; - + if (aeeSignals) { // Use include segments for targeting payload.targeting_segments = aeeSignals.include; - + // Respect exclude segments payload.exclude_segments = aeeSignals.exclude; - + // Include macro data as opaque string if (aeeSignals.macro) { payload.context_code = aeeSignals.macro; @@ -258,12 +279,15 @@ buildRequests: function(validBidRequests, bidderRequest) { ## Performance Considerations ### Caching + - Responses are cached for 30 seconds by default - Cache key includes: page, user agent, geo, user IDs, and ad units - Reduces redundant API calls for similar contexts ### Data Completeness + The module sends ALL available OpenRTB data to maximize AEE intelligence: + - Extended user IDs (LiveRamp, ID5, UID2, etc.) - Geo location data - Device characteristics @@ -272,6 +296,7 @@ The module sends ALL available OpenRTB data to maximize AEE intelligence: - Regulatory consent status ### Timeout Handling + - Default timeout: 1000ms - Auction continues if AEE doesn't respond in time - No blocking - graceful degradation @@ -287,6 +312,7 @@ The module sends ALL available OpenRTB data to maximize AEE intelligence: ## Troubleshooting ### Enable Debug Mode + ```javascript params: { orgId: 'YOUR_ORG_ID', @@ -297,12 +323,14 @@ params: { ### Common Issues 1. **No signals appearing** + - Verify orgId is correct - Check endpoint is accessible - Ensure timeout is sufficient - Look for console errors in debug mode 2. **Targeting keys not in GAM** + - Verify `publisherTargeting: true` - Check key names match GAM setup - Ensure AEE is returning signals @@ -319,17 +347,21 @@ Minimal setup with defaults: ```javascript pbjs.setConfig({ realTimeData: { - dataProviders: [{ - name: 'scope3', - params: { - orgId: 'YOUR_ORG_ID' // Only required parameter - } - }] - } + dataProviders: [ + { + name: "scope3", + waitForIt: true, + params: { + orgId: "YOUR_ORG_ID", // Only required parameter + }, + }, + ], + }, }); ``` This will: + - Send complete OpenRTB data to Scope3's AEE - Set targeting keys: `s3i` (include), `s3x` (exclude), `s3m` (macro) - Enrich all bidders with AEE signals @@ -338,6 +370,7 @@ This will: ## About the Agentic Execution Engine Scope3's AEE implements the [Ad Context Protocol](https://adcontextprotocol.org) to analyze the complete context of each bid opportunity. By processing the full OpenRTB request including all user IDs, geo data, and site context, the AEE can: + - Identify optimal audience segments in real-time - Detect and prevent unwanted targeting scenarios - Apply complex business rules at scale @@ -346,6 +379,7 @@ Scope3's AEE implements the [Ad Context Protocol](https://adcontextprotocol.org) ## Support For technical support and AEE configuration: + - Documentation: https://docs.scope3.com - Ad Context Protocol: https://adcontextprotocol.org -- Support: support@scope3.com \ No newline at end of file +- Support: support@scope3.com diff --git a/modules/scope3RtdProvider.ts b/modules/scope3RtdProvider.ts index 620ae36108c..798a638559b 100644 --- a/modules/scope3RtdProvider.ts +++ b/modules/scope3RtdProvider.ts @@ -112,9 +112,9 @@ function initModule(config: any): boolean { // Set defaults moduleConfig.endpoint = moduleConfig.endpoint || DEFAULT_ENDPOINT; moduleConfig.timeout = moduleConfig.timeout || DEFAULT_TIMEOUT; - moduleConfig.includeKey = moduleConfig.includeKey || 'scope3_include'; - moduleConfig.excludeKey = moduleConfig.excludeKey || 'scope3_exclude'; - moduleConfig.macroKey = moduleConfig.macroKey || 'scope3_macro'; + moduleConfig.includeKey = moduleConfig.includeKey || 'axei'; + moduleConfig.excludeKey = moduleConfig.excludeKey || 'axex'; + moduleConfig.macroKey = moduleConfig.macroKey || 'axem'; moduleConfig.publisherTargeting = moduleConfig.publisherTargeting !== false; moduleConfig.advertiserTargeting = moduleConfig.advertiserTargeting !== false; moduleConfig.cacheEnabled = moduleConfig.cacheEnabled !== false; From fa92d374a7d2a099cba63691179978fbb0ea5e67 Mon Sep 17 00:00:00 2001 From: Denis Logachov Date: Fri, 30 Jan 2026 17:42:23 +0200 Subject: [PATCH 151/248] Adkernel Bid Adapter: add Intellectscoop alias (#14395) Co-authored-by: Patrick McCann --- modules/adkernelBidAdapter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/adkernelBidAdapter.js b/modules/adkernelBidAdapter.js index d43002fd35e..81fa3501ea0 100644 --- a/modules/adkernelBidAdapter.js +++ b/modules/adkernelBidAdapter.js @@ -108,7 +108,8 @@ export const spec = { {code: 'infinety'}, {code: 'qohere'}, {code: 'blutonic'}, - {code: 'appmonsta', gvlid: 1283} + {code: 'appmonsta', gvlid: 1283}, + {code: 'intlscoop'} ], supportedMediaTypes: [BANNER, VIDEO, NATIVE], From 34d18ab2ebab4f4c098d89d38fa48ef11a45e448 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 31 Jan 2026 06:22:56 -0500 Subject: [PATCH 152/248] Bump fast-xml-parser from 5.2.5 to 5.3.4 (#14401) Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.2.5 to 5.3.4. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.2.5...v5.3.4) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-version: 5.3.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 390b38b8656..c7605928c52 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11448,9 +11448,9 @@ ] }, "node_modules/fast-xml-parser": { - "version": "5.2.5", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz", - "integrity": "sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.3.4.tgz", + "integrity": "sha512-EFd6afGmXlCx8H8WTZHhAoDaWaGyuIBoZJ2mknrNxug+aZKjkp0a0dlars9Izl+jF+7Gu1/5f/2h68cQpe0IiA==", "dev": true, "funding": [ { @@ -11458,7 +11458,6 @@ "url": "https://github.com/sponsors/NaturalIntelligence" } ], - "license": "MIT", "dependencies": { "strnum": "^2.1.0" }, @@ -29666,9 +29665,9 @@ "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==" }, "fast-xml-parser": { - "version": "5.2.5", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.2.5.tgz", - "integrity": "sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ==", + "version": "5.3.4", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.3.4.tgz", + "integrity": "sha512-EFd6afGmXlCx8H8WTZHhAoDaWaGyuIBoZJ2mknrNxug+aZKjkp0a0dlars9Izl+jF+7Gu1/5f/2h68cQpe0IiA==", "dev": true, "requires": { "strnum": "^2.1.0" From 3081572cd108ff2fe5189205932a3fc89017b912 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Feb 2026 10:31:44 -0500 Subject: [PATCH 153/248] Bump actions/upload-artifact from 4 to 6 (#14402) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 6. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/PR-assignment-deps.yml | 4 ++-- .github/workflows/jscpd.yml | 2 +- .github/workflows/linter.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/PR-assignment-deps.yml b/.github/workflows/PR-assignment-deps.yml index 587555b705c..731cafa691c 100644 --- a/.github/workflows/PR-assignment-deps.yml +++ b/.github/workflows/PR-assignment-deps.yml @@ -20,7 +20,7 @@ jobs: run: | npx gulp build - name: Upload dependencies.json - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: dependencies.json path: ./build/dist/dependencies.json @@ -28,7 +28,7 @@ jobs: run: | echo '{ "prNo": ${{ github.event.pull_request.number }} }' >> ${{ runner.temp}}/prInfo.json - name: Upload PR info - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: prInfo path: ${{ runner.temp}}/prInfo.json diff --git a/.github/workflows/jscpd.yml b/.github/workflows/jscpd.yml index c3021b2ced7..91b89b018a9 100644 --- a/.github/workflows/jscpd.yml +++ b/.github/workflows/jscpd.yml @@ -119,7 +119,7 @@ jobs: - name: Upload comment data if: env.filtered_report_exists == 'true' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: comment path: ${{ runner.temp }}/comment.json diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 39fdcc4067b..52825abb00a 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -117,7 +117,7 @@ jobs: - name: Upload comment data if: ${{ steps.comment.outputs.result == 'true' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: comment path: ${{ runner.temp }}/comment.json From 9987e58bfbd3f01776f2fa11b474ed8511e75c57 Mon Sep 17 00:00:00 2001 From: Tomas Roos Date: Mon, 2 Feb 2026 21:41:10 +0100 Subject: [PATCH 154/248] Updated size id from rubicon production, api endpoint (#14377) Co-authored-by: Patrick McCann --- modules/rubiconBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rubiconBidAdapter.js b/modules/rubiconBidAdapter.js index a3c05dabe5d..e8166c16f59 100644 --- a/modules/rubiconBidAdapter.js +++ b/modules/rubiconBidAdapter.js @@ -116,6 +116,7 @@ var sizeMap = { 210: '1080x1920', 213: '1030x590', 214: '980x360', + 219: '1920x1080', 221: '1x1', 229: '320x180', 230: '2000x1400', @@ -128,7 +129,6 @@ var sizeMap = { 259: '998x200', 261: '480x480', 264: '970x1000', - 265: '1920x1080', 274: '1800x200', 278: '320x500', 282: '320x400', From cd236ae6aee5dc168132e0e757fb07c90b97e690 Mon Sep 17 00:00:00 2001 From: SebRobert Date: Wed, 4 Feb 2026 09:56:07 +0100 Subject: [PATCH 155/248] BeOp Bid Adapter: Fix slot name detection to use best practices (#14399) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix slot name detection to use best practices * Post review commit * Linter fix * Last post review commit List of concerned names managed | adUnitCode | Résultat | | ---------------------------------- | ---------------- | | `div-gpt-ad-article_top_123456` | `article_top` | | `div-gpt-ad-sidebar-1678459238475` | `sidebar` | | `div-gpt-ad-topbanner-1` | `topbanner-1` ✅ | | `div-gpt-ad-topbanner-2` | `topbanner-2` ✅ | | `sidebar-123456` | `sidebar-123456` | | `article_bottom` | `article_bottom` | * Only normalize GPT codes, leave others unchanged * Add tests on FIX and missing code coverage --- modules/beopBidAdapter.js | 40 ++++++++- test/spec/modules/beopBidAdapter_spec.js | 101 +++++++++++++++++++++++ 2 files changed, 140 insertions(+), 1 deletion(-) diff --git a/modules/beopBidAdapter.js b/modules/beopBidAdapter.js index 16a67a42432..13089b5be72 100644 --- a/modules/beopBidAdapter.js +++ b/modules/beopBidAdapter.js @@ -192,6 +192,40 @@ function buildTrackingParams(data, info, value) { }; } +function normalizeAdUnitCode(adUnitCode) { + if (!adUnitCode || typeof adUnitCode !== 'string') return undefined; + + // Only normalize GPT auto-generated adUnitCodes (div-gpt-ad-*) + // For non-GPT codes, return original string unchanged to preserve case + if (!/^div-gpt-ad[-_]/i.test(adUnitCode)) { + return adUnitCode; + } + + // GPT handling: strip prefix and random suffix + let slot = adUnitCode; + slot = slot.replace(/^div-gpt-ad[-_]?/i, ''); + + /** + * Remove only long numeric suffixes (likely auto-generated IDs). + * Preserve short numeric suffixes as they may be meaningful slot indices. + * + * Examples removed: + * div-gpt-ad-article_top_123456 → article_top + * div-gpt-ad-sidebar-1678459238475 → sidebar + * + * Examples preserved: + * div-gpt-ad-topbanner-1 → topbanner-1 + * div-gpt-ad-topbanner-2 → topbanner-2 + */ + slot = slot.replace(/([_-])\d{6,}$/, ''); + + slot = slot.toLowerCase().trim(); + + if (slot.length < 3) return undefined; + + return slot; +} + function beOpRequestSlotsMaker(bid, bidderRequest) { const bannerSizes = deepAccess(bid, 'mediaTypes.banner.sizes'); const publisherCurrency = getCurrencyFromBidderRequest(bidderRequest) || getValue(bid.params, 'currency') || 'EUR'; @@ -211,7 +245,11 @@ function beOpRequestSlotsMaker(bid, bidderRequest) { nptnid: getValue(bid.params, 'networkPartnerId'), bid: getBidIdParameter('bidId', bid), brid: getBidIdParameter('bidderRequestId', bid), - name: getBidIdParameter('adUnitCode', bid), + name: deepAccess(bid, 'ortb2Imp.ext.gpid') || + deepAccess(bid, 'ortb2Imp.ext.data.adslot') || + deepAccess(bid, 'ortb2Imp.ext.data.adserver.adslot') || + bid.ortb2Imp?.tagid || + normalizeAdUnitCode(bid.adUnitCode), tid: bid.ortb2Imp?.ext?.tid || '', brc: getBidIdParameter('bidRequestsCount', bid), bdrc: getBidIdParameter('bidderRequestCount', bid), diff --git a/test/spec/modules/beopBidAdapter_spec.js b/test/spec/modules/beopBidAdapter_spec.js index 08e14b76182..3e4a439286d 100644 --- a/test/spec/modules/beopBidAdapter_spec.js +++ b/test/spec/modules/beopBidAdapter_spec.js @@ -389,6 +389,107 @@ describe('BeOp Bid Adapter tests', () => { expect(payload.fg).to.exist; }) }) + describe('slot name normalization', function () { + it('should preserve non-GPT adUnitCode unchanged (case-sensitive)', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = '/Network/TopBanner'; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('/Network/TopBanner'); + }); + + it('should preserve mixed-case custom adUnitCode unchanged', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'InArticleSlot'; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('InArticleSlot'); + }); + + it('should normalize GPT auto-generated adUnitCode by removing prefix', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'div-gpt-ad-article_top'; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('article_top'); + }); + + it('should remove long numeric suffix from GPT adUnitCode', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'div-gpt-ad-sidebar_123456'; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('sidebar'); + }); + + it('should remove timestamp-like suffix from GPT adUnitCode', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'div-gpt-ad-header-1678459238475'; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('header'); + }); + + it('should preserve short numeric suffix in GPT adUnitCode', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'div-gpt-ad-topbanner-1'; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('topbanner-1'); + }); + + it('should preserve short numeric suffix like -2 in GPT adUnitCode', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'div-gpt-ad-article_slot-2'; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('article_slot-2'); + }); + + it('should handle GPT adUnitCode with underscore separator', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'div-gpt-ad_content_main'; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('content_main'); + }); + + it('should return undefined for too short GPT slot names', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'div-gpt-ad-ab'; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.be.undefined; + }); + + it('should prefer gpid over adUnitCode', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'div-gpt-ad-fallback'; + bid.ortb2Imp = { ext: { gpid: '/123/preferred-slot' } }; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('/123/preferred-slot'); + }); + + it('should prefer adslot over adUnitCode', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'div-gpt-ad-fallback'; + bid.ortb2Imp = { ext: { data: { adslot: '/456/adslot-name' } } }; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('/456/adslot-name'); + }); + + it('should prefer tagid over normalized adUnitCode', function () { + const bid = Object.assign({}, validBid); + bid.adUnitCode = 'div-gpt-ad-fallback'; + bid.ortb2Imp = { tagid: 'custom-tagid' }; + const request = spec.buildRequests([bid], {}); + const payload = JSON.parse(request.data); + expect(payload.slts[0].name).to.equal('custom-tagid'); + }); + }); + describe('getUserSyncs', function () { it('should return iframe sync when iframeEnabled and syncFrame provided', function () { const syncOptions = { iframeEnabled: true, pixelEnabled: false }; From 54368476237f18e48ee1ea52828a1b105ad5d03b Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Wed, 4 Feb 2026 12:49:18 -0800 Subject: [PATCH 156/248] realTimeData: fix bug where setting circular references in FPD causes activity checks to get stuck in an infinite loop (#14366) * realTimeData: fix bug where setting circular references in FPD causes activity checks to get stuck in an infinite loop * handle circular references in unguarded properties * prefer allowing more data over avoiding leaks * more edge cases --- libraries/objectGuard/objectGuard.js | 27 ++++++ test/spec/activities/objectGuard_spec.js | 109 +++++++++++++++++------ 2 files changed, 107 insertions(+), 29 deletions(-) diff --git a/libraries/objectGuard/objectGuard.js b/libraries/objectGuard/objectGuard.js index 973e56aad5f..ff3f4b78c34 100644 --- a/libraries/objectGuard/objectGuard.js +++ b/libraries/objectGuard/objectGuard.js @@ -139,14 +139,40 @@ export function objectGuard(rules) { return true; } + const TARGET = Symbol('TARGET'); + function mkGuard(obj, tree, final, applies, cache = new WeakMap()) { // If this object is already proxied, return the cached proxy if (cache.has(obj)) { return cache.get(obj); } + /** + * Dereference (possibly nested) proxies to their underlying objects. + * + * This is to accommodate usage patterns like: + * + * guardedObject.property = [...guardedObject.property, additionalData]; + * + * where the `set` proxy trap would get an already proxied object as argument. + */ + function deref(obj, visited = new Set()) { + if (cache.has(obj?.[TARGET])) return obj[TARGET]; + if (obj == null || typeof obj !== 'object') return obj; + if (visited.has(obj)) return obj; + visited.add(obj); + Object.keys(obj).forEach(k => { + const sub = deref(obj[k], visited); + if (sub !== obj[k]) { + obj[k] = sub; + } + }) + return obj; + } + const proxy = new Proxy(obj, { get(target, prop, receiver) { + if (prop === TARGET) return target; const val = Reflect.get(target, prop, receiver); if (final && val != null && typeof val === 'object') { // a parent property has write protect rules, keep guarding @@ -175,6 +201,7 @@ export function objectGuard(rules) { return true; } } + newValue = deref(newValue); if (tree.children?.hasOwnProperty(prop)) { // apply all (possibly nested) write protect rules const curValue = Reflect.get(target, prop, receiver); diff --git a/test/spec/activities/objectGuard_spec.js b/test/spec/activities/objectGuard_spec.js index 3f1474b0c46..78f911aba2a 100644 --- a/test/spec/activities/objectGuard_spec.js +++ b/test/spec/activities/objectGuard_spec.js @@ -11,9 +11,11 @@ describe('objectGuard', () => { paths: ['foo', 'outer.inner.foo'], name: 'testRule', applies: sinon.stub().callsFake(() => applies), - get(val) { return `repl${val}` }, - } - }) + get(val) { + return `repl${val}`; + }, + }; + }); it('should reject conflicting rules', () => { const crule = {...rule, paths: ['outer']}; @@ -25,7 +27,7 @@ describe('objectGuard', () => { const guard = objectGuard([rule])({outer: {inner: {foo: 'bar'}}}); expect(guard.outer).to.equal(guard.outer); expect(guard.outer.inner).to.equal(guard.outer.inner); - }) + }); it('can prevent top level read access', () => { const obj = objectGuard([rule])({'foo': 1, 'other': 2}); expect(obj).to.eql({ @@ -44,7 +46,7 @@ describe('objectGuard', () => { const guarded = objectGuard([rule])(obj); obj.foo = 'baz'; expect(guarded.foo).to.eql('replbaz'); - }) + }); it('does not prevent access if applies returns false', () => { applies = false; @@ -52,7 +54,7 @@ describe('objectGuard', () => { expect(obj).to.eql({ foo: 1 }); - }) + }); it('can prevent nested property access', () => { const obj = objectGuard([rule])({ @@ -78,13 +80,13 @@ describe('objectGuard', () => { foo: 3 } } - }) + }); }); it('prevents nested property access when a parent property is protected', () => { const guard = objectGuard([rule])({foo: {inner: 'value'}}); expect(guard.inner?.value).to.not.exist; - }) + }); it('does not call applies more than once', () => { JSON.stringify(objectGuard([rule])({ @@ -96,7 +98,7 @@ describe('objectGuard', () => { } })); expect(rule.applies.callCount).to.equal(1); - }) + }); }); describe('write protection', () => { @@ -118,6 +120,55 @@ describe('objectGuard', () => { expect(obj.foo).to.eql({nested: 'item'}); }); + it('should handle circular references in guarded properties', () => { + applies = false; + const obj = { + foo: {} + }; + const guard = objectGuard([rule])(obj); + guard.foo.inner = guard.foo; + expect(guard).to.eql({ + foo: { + inner: guard.foo + } + }); + }); + + it('should handle circular references in unguarded properties', () => { + const obj = {}; + const guard = objectGuard([rule])(obj); + const val = {}; + val.circular = val; + guard.prop = val; + expect(guard).to.eql({ + prop: val + }) + }); + + it('should allow for deferred modification', () => { + const obj = {}; + const guard = objectGuard([rule])(obj); + const prop = {}; + guard.prop = prop; + prop.val = 'foo'; + expect(obj).to.eql({ + prop: { + val: 'foo' + } + }); + }); + + it('should not choke on immutable objects', () => { + const obj = {}; + const guard = objectGuard([rule])(obj); + guard.prop = Object.freeze({val: 'foo'}); + expect(obj).to.eql({ + prop: { + val: 'foo' + } + }) + }) + it('should reject conflicting rules', () => { const crule = {...rule, paths: ['outer']}; expect(() => objectGuard([rule, crule])).to.throw(); @@ -128,12 +179,12 @@ describe('objectGuard', () => { const guard = objectGuard([rule])({outer: {inner: {foo: 'bar'}}}); expect(guard.outer).to.equal(guard.outer); expect(guard.outer.inner).to.equal(guard.outer.inner); - }) + }); it('does not mess up array reads', () => { const guard = objectGuard([rule])({foo: [{bar: 'baz'}]}); expect(guard.foo).to.eql([{bar: 'baz'}]); - }) + }); it('prevents array modification', () => { const obj = {foo: ['value']}; @@ -141,7 +192,7 @@ describe('objectGuard', () => { guard.foo.pop(); guard.foo.push('test'); expect(obj.foo).to.eql(['value']); - }) + }); it('allows array modification when not applicable', () => { applies = false; @@ -150,7 +201,7 @@ describe('objectGuard', () => { guard.foo.pop(); guard.foo.push('test'); expect(obj.foo).to.eql(['test']); - }) + }); it('should prevent top-level writes', () => { const obj = {bar: {nested: 'val'}, other: 'val'}; @@ -166,7 +217,7 @@ describe('objectGuard', () => { const guard = objectGuard([rule])({foo: {some: 'value'}}); guard.foo = {some: 'value'}; sinon.assert.notCalled(rule.applies); - }) + }); it('should prevent top-level deletes', () => { const obj = {foo: {nested: 'val'}, bar: 'val'}; @@ -174,7 +225,7 @@ describe('objectGuard', () => { delete guard.foo.nested; delete guard.bar; expect(guard).to.eql({foo: {nested: 'val'}, bar: 'val'}); - }) + }); it('should prevent nested writes', () => { const obj = {outer: {inner: {bar: {nested: 'val'}, other: 'val'}}}; @@ -192,7 +243,7 @@ describe('objectGuard', () => { other: 'allowed' } } - }) + }); }); it('should prevent writes if upper levels are protected', () => { @@ -200,29 +251,29 @@ describe('objectGuard', () => { const guard = objectGuard([rule])(obj); guard.foo.inner.prop = 'value'; expect(obj).to.eql({foo: {inner: {}}}); - }) + }); it('should prevent deletes if a higher level property is protected', () => { const obj = {foo: {inner: {prop: 'value'}}}; const guard = objectGuard([rule])(obj); delete guard.foo.inner.prop; expect(obj).to.eql({foo: {inner: {prop: 'value'}}}); - }) + }); it('should clean up top-level writes that would result in inner properties changing', () => { const guard = objectGuard([rule])({outer: {inner: {bar: 'baz'}}}); guard.outer = {inner: {bar: 'baz', foo: 'baz', prop: 'allowed'}}; expect(guard).to.eql({outer: {inner: {bar: 'baz', prop: 'allowed'}}}); - }) + }); it('should not prevent writes that are not protected', () => { const obj = {}; const guard = objectGuard([rule])(obj); guard.outer = { test: 'value' - } + }; expect(obj.outer.test).to.eql('value'); - }) + }); it('should not choke on type mismatch: overwrite object with scalar', () => { const obj = {outer: {inner: {}}}; @@ -236,21 +287,21 @@ describe('objectGuard', () => { const guard = objectGuard([rule])(obj); guard.outer = {inner: {bar: 'denied', other: 'allowed'}}; expect(obj).to.eql({outer: {inner: {other: 'allowed'}}}); - }) + }); it('should prevent nested deletes', () => { const obj = {outer: {inner: {foo: {nested: 'val'}, bar: 'val'}}}; const guard = objectGuard([rule])(obj); delete guard.outer.inner.foo.nested; delete guard.outer.inner.bar; - expect(guard).to.eql({outer: {inner: {foo: {nested: 'val'}, bar: 'val'}}}) + expect(guard).to.eql({outer: {inner: {foo: {nested: 'val'}, bar: 'val'}}}); }); it('should prevent higher level deletes that would result in inner properties changing', () => { const guard = objectGuard([rule])({outer: {inner: {bar: 'baz'}}}); delete guard.outer.inner; expect(guard).to.eql({outer: {inner: {bar: 'baz'}}}); - }) + }); it('should work on null properties', () => { const obj = {foo: null}; @@ -293,7 +344,7 @@ describe('objectGuard', () => { applies: () => true, }) ]; - }) + }); Object.entries({ 'simple value': 'val', 'object value': {inner: 'val'} @@ -303,8 +354,8 @@ describe('objectGuard', () => { expect(obj.foo).to.not.exist; obj.foo = {other: 'val'}; expect(obj.foo).to.not.exist; - }) - }) - }) - }) + }); + }); + }); + }); }); From ae94b3b854afd5c1959a849db8106c619b52a892 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Feb 2026 15:49:52 -0500 Subject: [PATCH 157/248] Bump @isaacs/brace-expansion from 5.0.0 to 5.0.1 (#14410) Bumps @isaacs/brace-expansion from 5.0.0 to 5.0.1. --- updated-dependencies: - dependency-name: "@isaacs/brace-expansion" dependency-version: 5.0.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index c7605928c52..007a8ba611d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2978,11 +2978,10 @@ } }, "node_modules/@isaacs/brace-expansion": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", - "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz", + "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==", "dev": true, - "license": "MIT", "dependencies": { "@isaacs/balanced-match": "^4.0.1" }, @@ -24091,9 +24090,9 @@ "dev": true }, "@isaacs/brace-expansion": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", - "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz", + "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==", "dev": true, "requires": { "@isaacs/balanced-match": "^4.0.1" From 969ac6aa2566aae1d5a002edd16c11c6eadf3e0b Mon Sep 17 00:00:00 2001 From: pgomulka-id5 Date: Thu, 5 Feb 2026 03:08:15 +0100 Subject: [PATCH 158/248] ID5 ID module: add option to use custom external targeting (#14324) * Add custom tag reporting mechanism for Id5IdSystem module * Add documentation * empty line rm, lint failure * empty line rm, lint failure * cannot use withResolvers in tests * type change in doc * fix example --- modules/id5IdSystem.js | 23 +- modules/id5IdSystem.md | 40 ++-- test/spec/modules/id5IdSystem_spec.js | 315 +++++++++++++++++++++++++- 3 files changed, 346 insertions(+), 32 deletions(-) diff --git a/modules/id5IdSystem.js b/modules/id5IdSystem.js index d8f553c6ae0..c3e2e6c31ed 100644 --- a/modules/id5IdSystem.js +++ b/modules/id5IdSystem.js @@ -8,6 +8,7 @@ import { deepAccess, deepClone, + deepEqual, deepSetValue, isEmpty, isEmptyStr, @@ -118,6 +119,7 @@ export const storage = getStorageManager({moduleType: MODULE_TYPE_UID, moduleNam * @property {Array} [segments] - A list of segments to push to partners. Supported only in multiplexing. * @property {boolean} [disableUaHints] - When true, look up of high entropy values through user agent hints is disabled. * @property {string} [gamTargetingPrefix] - When set, the GAM targeting tags will be set and use the specified prefix, for example 'id5'. + * @property {boolean} [exposeTargeting] - When set, the ID5 targeting consumer mechanism will be enabled. */ /** @@ -569,17 +571,30 @@ function incrementNb(cachedObj) { } function updateTargeting(fetchResponse, config) { - if (config.params.gamTargetingPrefix) { - const tags = fetchResponse.tags; - if (tags) { + const tags = fetchResponse.tags; + if (tags) { + if (config.params.gamTargetingPrefix) { window.googletag = window.googletag || {cmd: []}; window.googletag.cmd = window.googletag.cmd || []; window.googletag.cmd.push(() => { for (const tag in tags) { - window.googletag.pubads().setTargeting(config.params.gamTargetingPrefix + '_' + tag, tags[tag]); + window.googletag.setConfig({targeting: {[config.params.gamTargetingPrefix + '_' + tag]: tags[tag]}}); } }); } + + if (config.params.exposeTargeting && !deepEqual(window.id5tags?.tags, tags)) { + window.id5tags = window.id5tags || {cmd: []}; + window.id5tags.cmd = window.id5tags.cmd || []; + window.id5tags.cmd.forEach(tagsCallback => { + setTimeout(() => tagsCallback(tags), 0); + }); + window.id5tags.cmd.push = function (tagsCallback) { + tagsCallback(tags) + Array.prototype.push.call(window.id5tags.cmd, tagsCallback); + }; + window.id5tags.tags = tags + } } } diff --git a/modules/id5IdSystem.md b/modules/id5IdSystem.md index 363dd02e831..aaf34fa4054 100644 --- a/modules/id5IdSystem.md +++ b/modules/id5IdSystem.md @@ -33,7 +33,8 @@ pbjs.setConfig({ }, disableExtensions: false,// optional canCookieSync: true, // optional, has effect only when externalModuleUrl is used - gamTargetingPrefix: "id5" // optional, when set the ID5 module will set gam targeting paramaters with this prefix + gamTargetingPrefix: "id5", // optional, when set the ID5 module will set gam targeting paramaters with this prefix + exposeTargeting: false // optional, when set the ID5 module will execute `window.id5tags.cmd` callbacks for custom targeting tags }, storage: { type: 'html5', // "html5" is the required storage type @@ -47,25 +48,26 @@ pbjs.setConfig({ }); ``` -| Param under userSync.userIds[] | Scope | Type | Description | Example | -| --- | --- | --- |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| --- | -| name | Required | String | The name of this module: `"id5Id"` | `"id5Id"` | -| params | Required | Object | Details for the ID5 ID. | | -| params.partner | Required | Number | This is the ID5 Partner Number obtained from registering with ID5. | `173` | -| params.externalModuleUrl | Optional | String | The URL for the id5-prebid external module. It is recommended to use the latest version at the URL in the example. Source code available [here](https://github.com/id5io/id5-api.js/blob/master/src/id5PrebidModule.js). | https://cdn.id5-sync.com/api/1.0/id5PrebidModule.js -| params.pd | Optional | String | Partner-supplied data used for linking ID5 IDs across domains. See [our documentation](https://wiki.id5.io/en/identitycloud/retrieve-id5-ids/passing-partner-data-to-id5) for details on generating the string. Omit the parameter or leave as an empty string if no data to supply | `"MT1iNTBjY..."` | -| params.provider | Optional | String | An identifier provided by ID5 to technology partners who manage Prebid setups on behalf of publishers. Reach out to [ID5](mailto:prebid@id5.io) if you have questions about this parameter | `pubmatic-identity-hub` | -| params.abTesting | Optional | Object | Allows publishers to easily run an A/B Test. If enabled and the user is in the Control Group, the ID5 ID will NOT be exposed to bid adapters for that request | Disabled by default | -| params.abTesting.enabled | Optional | Boolean | Set this to `true` to turn on this feature | `true` or `false` | -| params.abTesting.controlGroupPct | Optional | Number | Must be a number between `0.0` and `1.0` (inclusive) and is used to determine the percentage of requests that fall into the control group (and thus not exposing the ID5 ID). For example, a value of `0.20` will result in 20% of requests without an ID5 ID and 80% with an ID. | `0.1` | -| params.disableExtensions | Optional | Boolean | Set this to `true` to force turn off extensions call. Default `false` | `true` or `false` | -| params.canCookieSync | Optional | Boolean | Set this to `true` to enable cookie syncing with other ID5 partners. See [our documentation](https://wiki.id5.io/docs/initiate-cookie-sync-to-id5) for details. Default `false` | `true` or `false` | +| Param under userSync.userIds[] | Scope | Type | Description | Example | +| --- | --- | --- |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------| +| name | Required | String | The name of this module: `"id5Id"` | `"id5Id"` | +| params | Required | Object | Details for the ID5 ID. | | +| params.partner | Required | Number | This is the ID5 Partner Number obtained from registering with ID5. | `173` | +| params.externalModuleUrl | Optional | String | The URL for the id5-prebid external module. It is recommended to use the latest version at the URL in the example. Source code available [here](https://github.com/id5io/id5-api.js/blob/master/src/id5PrebidModule.js). | https://cdn.id5-sync.com/api/1.0/id5PrebidModule.js +| params.pd | Optional | String | Partner-supplied data used for linking ID5 IDs across domains. See [our documentation](https://wiki.id5.io/en/identitycloud/retrieve-id5-ids/passing-partner-data-to-id5) for details on generating the string. Omit the parameter or leave as an empty string if no data to supply | `"MT1iNTBjY..."` | +| params.provider | Optional | String | An identifier provided by ID5 to technology partners who manage Prebid setups on behalf of publishers. Reach out to [ID5](mailto:prebid@id5.io) if you have questions about this parameter | `pubmatic-identity-hub` | +| params.abTesting | Optional | Object | Allows publishers to easily run an A/B Test. If enabled and the user is in the Control Group, the ID5 ID will NOT be exposed to bid adapters for that request | Disabled by default | +| params.abTesting.enabled | Optional | Boolean | Set this to `true` to turn on this feature | `true` or `false` | +| params.abTesting.controlGroupPct | Optional | Number | Must be a number between `0.0` and `1.0` (inclusive) and is used to determine the percentage of requests that fall into the control group (and thus not exposing the ID5 ID). For example, a value of `0.20` will result in 20% of requests without an ID5 ID and 80% with an ID. | `0.1` | +| params.disableExtensions | Optional | Boolean | Set this to `true` to force turn off extensions call. Default `false` | `true` or `false` | +| params.canCookieSync | Optional | Boolean | Set this to `true` to enable cookie syncing with other ID5 partners. See [our documentation](https://wiki.id5.io/docs/initiate-cookie-sync-to-id5) for details. Default `false` | `true` or `false` | | params.gamTargetingPrefix | Optional | String | When this parameter is set the ID5 module will set appropriate GAM pubads targeting tags | `id5` | -| storage | Required | Object | Storage settings for how the User ID module will cache the ID5 ID locally | | -| storage.type | Required | String | This is where the results of the user ID will be stored. ID5 **requires** `"html5"`. | `"html5"` | -| storage.name | Required | String | The name of the local storage where the user ID will be stored. ID5 **requires** `"id5id"`. | `"id5id"` | -| storage.expires | Optional | Integer | How long (in days) the user ID information will be stored. ID5 recommends `90`. | `90` | -| storage.refreshInSeconds | Optional | Integer | How many seconds until the ID5 ID will be refreshed. ID5 strongly recommends 2 hours between refreshes | `7200` | +| params.exposeTargeting | Optional | Boolean | When this parameter is set the ID5 module will execute `window.id5tags.cmd` callbacks for custom targeting tags | `false` | +| storage | Required | Object | Storage settings for how the User ID module will cache the ID5 ID locally | | +| storage.type | Required | String | This is where the results of the user ID will be stored. ID5 **requires** `"html5"`. | `"html5"` | +| storage.name | Required | String | The name of the local storage where the user ID will be stored. ID5 **requires** `"id5id"`. | `"id5id"` | +| storage.expires | Optional | Integer | How long (in days) the user ID information will be stored. ID5 recommends `90`. | `90` | +| storage.refreshInSeconds | Optional | Integer | How many seconds until the ID5 ID will be refreshed. ID5 strongly recommends 2 hours between refreshes | `7200` | **ATTENTION:** As of Prebid.js v4.14.0, ID5 requires `storage.type` to be `"html5"` and `storage.name` to be `"id5id"`. Using other values will display a warning today, but in an upcoming release, it will prevent the ID5 module from loading. This change is to ensure the ID5 module in Prebid.js interoperates properly with the [ID5 API](https://github.com/id5io/id5-api.js) and to reduce the size of publishers' first-party cookies that are sent to their web servers. If you have any questions, please reach out to us at [prebid@id5.io](mailto:prebid@id5.io). diff --git a/test/spec/modules/id5IdSystem_spec.js b/test/spec/modules/id5IdSystem_spec.js index 7249560c8c9..5964b683372 100644 --- a/test/spec/modules/id5IdSystem_spec.js +++ b/test/spec/modules/id5IdSystem_spec.js @@ -1361,13 +1361,8 @@ describe('ID5 ID System', function () { setTargetingStub = sinon.stub(); window.googletag = { cmd: [], - pubads: function () { - return { - setTargeting: setTargetingStub - }; - } + setConfig: setTargetingStub }; - sinon.spy(window.googletag, 'pubads'); storedObject = utils.deepClone(ID5_STORED_OBJ); }); @@ -1391,14 +1386,16 @@ describe('ID5 ID System', function () { for (const [tagName, tagValue] of Object.entries(tagsObj)) { const fullTagName = `${targetingEnabledConfig.params.gamTargetingPrefix}_${tagName}`; - const matchingCall = setTargetingStub.getCalls().find(call => call.args[0] === fullTagName); + const matchingCall = setTargetingStub.getCalls().find(call => { + const config = call.args[0]; + return config.targeting && config.targeting[fullTagName] !== undefined; + }); expect(matchingCall, `Tag ${fullTagName} was not set`).to.exist; - expect(matchingCall.args[1]).to.equal(tagValue); + expect(matchingCall.args[0].targeting[fullTagName]).to.equal(tagValue); } window.googletag.cmd = []; setTargetingStub.reset(); - window.googletag.pubads.resetHistory(); } it('should not set GAM targeting if it is not enabled', function () { @@ -1435,6 +1432,306 @@ describe('ID5 ID System', function () { }) }) + describe('Decode should also expose targeting via id5tags if configured', function () { + let origId5tags, storedObject; + const exposeTargetingConfig = getId5FetchConfig(); + exposeTargetingConfig.params.gamTargetingPrefix = 'id5'; + exposeTargetingConfig.params.exposeTargeting = true; + + beforeEach(function () { + delete window.id5tags; + storedObject = utils.deepClone(ID5_STORED_OBJ); + }); + + afterEach(function () { + delete window.id5tags; + id5System.id5IdSubmodule._reset(); + }); + + it('should not expose targeting if exposeTargeting is not enabled', function () { + const config = getId5FetchConfig(); + config.params.gamTargetingPrefix = 'id5'; + // exposeTargeting is not set + const testObj = { + ...storedObject, + 'tags': { + 'id': 'y', + 'ab': 'n' + } + }; + id5System.id5IdSubmodule.decode(testObj, config); + expect(window.id5tags).to.be.undefined; + }); + + it('should not expose targeting if tags not returned from server', function () { + // tags is not in the response + id5System.id5IdSubmodule.decode(storedObject, exposeTargetingConfig); + expect(window.id5tags).to.be.undefined; + }); + + it('should create id5tags.cmd when it does not exist pre-decode', function () { + const testObj = { + ...storedObject, + 'tags': { + 'id': 'y', + 'ab': 'n' + } + }; + id5System.id5IdSubmodule.decode(testObj, exposeTargetingConfig); + + expect(window.id5tags).to.exist; + expect(window.id5tags.cmd).to.be.an('array'); + expect(window.id5tags.tags).to.deep.equal({ + 'id': 'y', + 'ab': 'n' + }); + }); + + it('should execute queued functions when cmd was created earlier', async function () { + const testTags = { + 'id': 'y', + 'ab': 'n', + 'enrich': 'y' + }; + const testObj = { + ...storedObject, + 'tags': testTags + }; + + const callTracker = []; + let resolvePromise; + const callbackPromise = new Promise((resolve) => { + resolvePromise = resolve; + }); + + // Pre-create id5tags with queued functions + window.id5tags = { + cmd: [ + (tags) => callTracker.push({call: 1, tags: tags}), + (tags) => callTracker.push({call: 2, tags: tags}), + (tags) => { + callTracker.push({call: 3, tags: tags}); + resolvePromise(); + } + ] + }; + + id5System.id5IdSubmodule.decode(testObj, exposeTargetingConfig); + + await callbackPromise; + + // Verify all queued functions were called with the tags + expect(callTracker).to.have.lengthOf(3); + expect(callTracker[0]).to.deep.equal({call: 1, tags: testTags}); + expect(callTracker[1]).to.deep.equal({call: 2, tags: testTags}); + expect(callTracker[2]).to.deep.equal({call: 3, tags: testTags}); + + // Verify tags were stored + expect(window.id5tags.tags).to.deep.equal(testTags); + }); + + it('should override push method to execute functions immediately', function () { + const testTags = { + 'id': 'y', + 'ab': 'n' + }; + const testObj = { + ...storedObject, + 'tags': testTags + }; + + id5System.id5IdSubmodule.decode(testObj, exposeTargetingConfig); + + // Now push a new function and verify it executes immediately + let callResult = null; + window.id5tags.cmd.push((tags) => { + callResult = {executed: true, tags: tags}; + }); + + expect(callResult).to.not.be.null; + expect(callResult.executed).to.be.true; + expect(callResult.tags).to.deep.equal(testTags); + }); + + it('should retrigger functions when tags are different but not when tags are the same', async function () { + const firstTags = { + 'id': 'y', + 'ab': 'n' + }; + const secondTags = { + 'id': 'y', + 'ab': 'y', + 'enrich': 'y' + }; + + const firstObj = { + ...storedObject, + 'tags': firstTags + }; + + const callTracker = []; + + // First decode + let resolveFirstPromise; + const firstCallbackPromise = new Promise((resolve) => { + resolveFirstPromise = resolve; + }); + + window.id5tags = { + cmd: [ + (tags) => { + callTracker.push({call: 'decode', tags: utils.deepClone(tags)}); + resolveFirstPromise(); + } + ] + }; + + id5System.id5IdSubmodule.decode(firstObj, exposeTargetingConfig); + + await firstCallbackPromise; + + expect(callTracker).to.have.lengthOf(1); + expect(callTracker[0].tags).to.deep.equal(firstTags); + + // Second decode with different tags - should retrigger + const secondObj = { + ...storedObject, + 'tags': secondTags + }; + + let resolveSecondPromise; + const secondCallbackPromise = new Promise((resolve) => { + resolveSecondPromise = resolve; + }); + + // Update the callback to resolve when called again + window.id5tags.cmd[0] = (tags) => { + callTracker.push({call: 'decode', tags: utils.deepClone(tags)}); + resolveSecondPromise(); + }; + + id5System.id5IdSubmodule.decode(secondObj, exposeTargetingConfig); + + await secondCallbackPromise; + + // The queued function should be called again with new tags + expect(callTracker).to.have.lengthOf(2); + expect(callTracker[1].tags).to.deep.equal(secondTags); + expect(window.id5tags.tags).to.deep.equal(secondTags); + + // Third decode with identical tags content (but different object reference) - should NOT retrigger + const thirdObj = { + ...storedObject, + 'tags': { + 'id': 'y', + 'ab': 'y', + 'enrich': 'y' + } + }; + + id5System.id5IdSubmodule.decode(thirdObj, exposeTargetingConfig); + + // Give it a small delay to ensure it doesn't retrigger + await new Promise(resolve => setTimeout(resolve, 50)); + + // With deepEqual, this should NOT retrigger since content is the same as secondTags + expect(callTracker).to.have.lengthOf(2); + expect(window.id5tags.tags).to.deep.equal(secondTags); + }); + + it('should handle when someone else has set id5tags.cmd earlier', async function () { + const testTags = { + 'id': 'y', + 'ab': 'n' + }; + const testObj = { + ...storedObject, + 'tags': testTags + }; + + const externalCallTracker = []; + let resolvePromise; + const callbackPromise = new Promise((resolve) => { + resolvePromise = resolve; + }); + + // External script creates id5tags + window.id5tags = { + cmd: [], + externalData: 'some-external-value' + }; + + // Add external function + window.id5tags.cmd.push((tags) => { + externalCallTracker.push({external: true, tags: tags}); + resolvePromise(); + }); + + id5System.id5IdSubmodule.decode(testObj, exposeTargetingConfig); + + await callbackPromise; + + // External function should be called + expect(externalCallTracker).to.have.lengthOf(1); + expect(externalCallTracker[0].external).to.be.true; + expect(externalCallTracker[0].tags).to.deep.equal(testTags); + + // External data should be preserved + expect(window.id5tags.externalData).to.equal('some-external-value'); + + // Tags should be set + expect(window.id5tags.tags).to.deep.equal(testTags); + }); + + it('should work with both gamTargetingPrefix and exposeTargeting enabled', async function () { + // Setup googletag + const origGoogletag = window.googletag; + window.googletag = { + cmd: [], + setConfig: sinon.stub() + }; + + const testTags = { + 'id': 'y', + 'ab': 'n' + }; + const testObj = { + ...storedObject, + 'tags': testTags + }; + + const callTracker = []; + let resolvePromise; + const callbackPromise = new Promise((resolve) => { + resolvePromise = resolve; + }); + + window.id5tags = { + cmd: [(tags) => { + callTracker.push(tags); + resolvePromise(); + }] + }; + + id5System.id5IdSubmodule.decode(testObj, exposeTargetingConfig); + + await callbackPromise; + + // Both mechanisms should work + expect(window.googletag.cmd.length).to.be.at.least(1); + expect(callTracker).to.have.lengthOf(1); + expect(callTracker[0]).to.deep.equal(testTags); + expect(window.id5tags.tags).to.deep.equal(testTags); + + // Restore + if (origGoogletag) { + window.googletag = origGoogletag; + } else { + delete window.googletag; + } + }); + }); + describe('A/B Testing', function () { const expectedDecodedObjectWithIdAbOff = {id5id: {uid: ID5_STORED_ID, ext: {linkType: ID5_STORED_LINK_TYPE}}}; const expectedDecodedObjectWithIdAbOn = { From 155226fb48d1c5fcce4585c74805e6a59fdfd507 Mon Sep 17 00:00:00 2001 From: mkomorski Date: Thu, 5 Feb 2026 03:09:29 +0100 Subject: [PATCH 159/248] Core: loading external scripts linting rule (#14354) * Core: loading external scripts linting rule * using default rule instead of custom * fixing overwritten event/adLoader rule * change to no-restricted-syntax * no-restricted-imports --------- Co-authored-by: Demetrio Girardi --- eslint.config.js | 28 ++++++++++- .../eslint/approvedLoadExternalScriptPaths.js | 47 +++++++++++++++++++ src/adloader.js | 44 +---------------- 3 files changed, 75 insertions(+), 44 deletions(-) create mode 100644 plugins/eslint/approvedLoadExternalScriptPaths.js diff --git a/eslint.config.js b/eslint.config.js index a9b7fe04153..46d0eb86da4 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -9,6 +9,7 @@ const path = require('path'); const _ = require('lodash'); const tseslint = require('typescript-eslint'); const {getSourceFolders} = require('./gulpHelpers.js'); +const APPROVED_LOAD_EXTERNAL_SCRIPT_PATHS = require('./plugins/eslint/approvedLoadExternalScriptPaths.js'); function jsPattern(name) { return [`${name}/**/*.js`, `${name}/**/*.mjs`] @@ -122,6 +123,13 @@ module.exports = [ message: "Assigning a function to 'logResult, 'logMessage', 'logInfo', 'logWarn', or 'logError' is not allowed." }, ], + 'no-restricted-imports': [ + 'error', { + patterns: [ + '**/src/adloader.js' + ] + } + ], // Exceptions below this line are temporary (TM), so that eslint can be added into the CI process. // Violations of these styles should be fixed, and the exceptions removed over time. @@ -273,4 +281,22 @@ module.exports = [ '@typescript-eslint/no-require-imports': 'off' } }, -] + // Override: allow loadExternalScript import in approved files (excluding BidAdapters) + { + files: APPROVED_LOAD_EXTERNAL_SCRIPT_PATHS.filter(p => !p.includes('BidAdapter')).map(p => { + // If path doesn't end with .js/.ts/.mjs, treat as folder pattern + if (!p.match(/\.(js|ts|mjs)$/)) { + return `${p}/**/*.{js,ts,mjs}`; + } + return p; + }), + rules: { + 'no-restricted-imports': [ + 'error', + { + patterns: [] + } + ], + } + }, + ] diff --git a/plugins/eslint/approvedLoadExternalScriptPaths.js b/plugins/eslint/approvedLoadExternalScriptPaths.js new file mode 100644 index 00000000000..8a2d2d2a4d5 --- /dev/null +++ b/plugins/eslint/approvedLoadExternalScriptPaths.js @@ -0,0 +1,47 @@ +// List of exact file paths or folder paths where loadExternalScript is allowed to be used. +// Folder paths (without file extension) allow all files in that folder. +const APPROVED_LOAD_EXTERNAL_SCRIPT_PATHS = [ + // Prebid maintained modules: + 'src/debugging.js', + 'src/Renderer.js', + // RTD modules: + 'modules/aaxBlockmeterRtdProvider.js', + 'modules/adagioRtdProvider.js', + 'modules/adlooxAnalyticsAdapter.js', + 'modules/arcspanRtdProvider.js', + 'modules/airgridRtdProvider.js', + 'modules/browsiRtdProvider.js', + 'modules/brandmetricsRtdProvider.js', + 'modules/cleanioRtdProvider.js', + 'modules/humansecurityMalvDefenseRtdProvider.js', + 'modules/humansecurityRtdProvider.js', + 'modules/confiantRtdProvider.js', + 'modules/contxtfulRtdProvider.js', + 'modules/hadronRtdProvider.js', + 'modules/mediafilterRtdProvider.js', + 'modules/medianetRtdProvider.js', + 'modules/azerionedgeRtdProvider.js', + 'modules/a1MediaRtdProvider.js', + 'modules/geoedgeRtdProvider.js', + 'modules/qortexRtdProvider.js', + 'modules/dynamicAdBoostRtdProvider.js', + 'modules/51DegreesRtdProvider.js', + 'modules/symitriDapRtdProvider.js', + 'modules/wurflRtdProvider.js', + 'modules/nodalsAiRtdProvider.js', + 'modules/anonymisedRtdProvider.js', + 'modules/optableRtdProvider.js', + 'modules/oftmediaRtdProvider.js', + // UserId Submodules + 'modules/justIdSystem.js', + 'modules/tncIdSystem.js', + 'modules/ftrackIdSystem.js', + 'modules/id5IdSystem.js', + // Test files + '**/*spec.js', + '**/*spec.ts', + '**/test/**/*', +]; + +module.exports = APPROVED_LOAD_EXTERNAL_SCRIPT_PATHS; + diff --git a/src/adloader.js b/src/adloader.js index 098b78c211b..71f6698141e 100644 --- a/src/adloader.js +++ b/src/adloader.js @@ -5,45 +5,6 @@ import { isActivityAllowed } from './activities/rules.js'; import { insertElement, logError, logWarn, setScriptAttributes } from './utils.js'; const _requestCache = new WeakMap(); -// The below list contains modules or vendors whom Prebid allows to load external JS. -const _approvedLoadExternalJSList = [ - // Prebid maintained modules: - 'debugging', - 'outstream', - // RTD modules: - 'aaxBlockmeter', - 'adagio', - 'adloox', - 'arcspan', - 'airgrid', - 'browsi', - 'brandmetrics', - 'clean.io', - 'humansecurityMalvDefense', - 'humansecurity', - 'confiant', - 'contxtful', - 'hadron', - 'mediafilter', - 'medianet', - 'azerionedge', - 'a1Media', - 'geoedge', - 'qortex', - 'dynamicAdBoost', - '51Degrees', - 'symitridap', - 'wurfl', - 'nodalsAi', - 'anonymised', - 'optable', - 'oftmedia', - // UserId Submodules - 'justtag', - 'tncId', - 'ftrackId', - 'id5', -]; /** * Loads external javascript. Can only be used if external JS is approved by Prebid. See https://github.com/prebid/prebid-js-external-js-template#policy @@ -64,10 +25,7 @@ export function loadExternalScript(url, moduleType, moduleCode, callback, doc, a logError('cannot load external script without url and moduleCode'); return; } - if (!_approvedLoadExternalJSList.includes(moduleCode)) { - logError(`${moduleCode} not whitelisted for loading external JavaScript`); - return; - } + if (!doc) { doc = document; // provide a "valid" key for the WeakMap } From c3cea1def90b7d6074dc512be6a275ec736c9146 Mon Sep 17 00:00:00 2001 From: mpimentel-nexxen Date: Wed, 4 Feb 2026 18:11:48 -0800 Subject: [PATCH 160/248] Remove PAAPI-related functionality from Unruly adapter (#14358) * SBE-2291 Remove protected audience related test code * SBE-2291 Remove protected audience related code --- modules/unrulyBidAdapter.js | 38 +- test/spec/modules/unrulyBidAdapter_spec.js | 413 +-------------------- 2 files changed, 6 insertions(+), 445 deletions(-) diff --git a/modules/unrulyBidAdapter.js b/modules/unrulyBidAdapter.js index 3f9c4dd1253..bf6b70e26db 100644 --- a/modules/unrulyBidAdapter.js +++ b/modules/unrulyBidAdapter.js @@ -56,12 +56,6 @@ const RemoveDuplicateSizes = (validBid) => { } }; -const ConfigureProtectedAudience = (validBid, protectedAudienceEnabled) => { - if (!protectedAudienceEnabled && validBid.ortb2Imp && validBid.ortb2Imp.ext) { - delete validBid.ortb2Imp.ext.ae; - } -} - const getRequests = (conf, validBidRequests, bidderRequest) => { const {bids, bidderRequestId, bidderCode, ...bidderRequestData} = bidderRequest; const invalidBidsCount = bidderRequest.bids.length - validBidRequests.length; @@ -71,7 +65,6 @@ const getRequests = (conf, validBidRequests, bidderRequest) => { const currSiteId = validBid.params.siteId; addBidFloorInfo(validBid); RemoveDuplicateSizes(validBid); - ConfigureProtectedAudience(validBid, conf.protectedAudienceEnabled); requestBySiteId[currSiteId] = requestBySiteId[currSiteId] || []; requestBySiteId[currSiteId].push(validBid); }); @@ -226,43 +219,18 @@ export const adapter = { 'options': { 'contentType': 'application/json' }, - 'protectedAudienceEnabled': bidderRequest.paapi?.enabled }, validBidRequests, bidderRequest); }, interpretResponse: function (serverResponse) { - if (!(serverResponse && serverResponse.body && (serverResponse.body.auctionConfigs || serverResponse.body.bids))) { + if (!(serverResponse && serverResponse.body && serverResponse.body.bids)) { return []; } const serverResponseBody = serverResponse.body; - let bids = []; - let fledgeAuctionConfigs = null; - if (serverResponseBody.bids.length) { - bids = handleBidResponseByMediaType(serverResponseBody.bids); - } - - if (serverResponseBody.auctionConfigs) { - const auctionConfigs = serverResponseBody.auctionConfigs; - const bidIdList = Object.keys(auctionConfigs); - if (bidIdList.length) { - bidIdList.forEach((bidId) => { - fledgeAuctionConfigs = [{ - 'bidId': bidId, - 'config': auctionConfigs[bidId] - }]; - }) - } - } + const bids = handleBidResponseByMediaType(serverResponseBody.bids); - if (!fledgeAuctionConfigs) { - return bids; - } - - return { - bids, - paapi: fledgeAuctionConfigs - }; + return bids; } }; diff --git a/test/spec/modules/unrulyBidAdapter_spec.js b/test/spec/modules/unrulyBidAdapter_spec.js index d73b9b6e8c7..38ec126bb73 100644 --- a/test/spec/modules/unrulyBidAdapter_spec.js +++ b/test/spec/modules/unrulyBidAdapter_spec.js @@ -42,20 +42,7 @@ describe('UnrulyAdapter', function () { } } - function createOutStreamExchangeAuctionConfig() { - return { - 'seller': 'https://nexxen.tech', - 'decisionLogicURL': 'https://nexxen.tech/padecisionlogic', - 'interestGroupBuyers': 'https://mydsp.com', - 'perBuyerSignals': { - 'https://mydsp.com': { - 'floor': 'bouttreefiddy' - } - } - } - }; - - function createExchangeResponse (bidList, auctionConfigs = null) { + function createExchangeResponse (bidList) { let bids = []; if (Array.isArray(bidList)) { bids = bidList; @@ -63,18 +50,9 @@ describe('UnrulyAdapter', function () { bids.push(bidList); } - if (!auctionConfigs) { - return { - 'body': {bids} - }; - } - return { - 'body': { - bids, - auctionConfigs - } - } + 'body': {bids} + }; }; const inStreamServerResponse = { @@ -692,231 +670,6 @@ describe('UnrulyAdapter', function () { const result = adapter.buildRequests(mockBidRequests.bids, mockBidRequests); expect(result[0].data).to.deep.equal(expectedResult); }); - describe('Protected Audience Support', function() { - it('should return an array with 2 items and enabled protected audience', function () { - mockBidRequests = { - 'bidderCode': 'unruly', - 'paapi': { - enabled: true - }, - 'bids': [ - { - 'bidder': 'unruly', - 'params': { - 'siteId': 233261, - }, - 'mediaTypes': { - 'video': { - 'context': 'outstream', - 'mimes': [ - 'video/mp4' - ], - 'playerSize': [ - [ - 640, - 480 - ] - ] - } - }, - 'adUnitCode': 'video2', - 'transactionId': 'a89619e3-137d-4cc5-9ed4-58a0b2a0bbc2', - 'sizes': [ - [ - 640, - 480 - ] - ], - 'bidId': '27a3ee1626a5c7', - 'bidderRequestId': '12e00d17dff07b', - 'ortb2Imp': { - 'ext': { - 'ae': 1 - } - } - }, - { - 'bidder': 'unruly', - 'params': { - 'siteId': 2234554, - }, - 'mediaTypes': { - 'video': { - 'context': 'outstream', - 'mimes': [ - 'video/mp4' - ], - 'playerSize': [ - [ - 640, - 480 - ] - ] - } - }, - 'adUnitCode': 'video2', - 'transactionId': 'a89619e3-137d-4cc5-9ed4-58a0b2a0bbc2', - 'sizes': [ - [ - 640, - 480 - ] - ], - 'bidId': '27a3ee1626a5c7', - 'bidderRequestId': '12e00d17dff07b', - 'ortb2Imp': { - 'ext': { - 'ae': 1 - } - } - } - ] - }; - - const result = adapter.buildRequests(mockBidRequests.bids, mockBidRequests); - expect(typeof result).to.equal('object'); - expect(result.length).to.equal(2); - expect(result[0].data.bidderRequest.bids.length).to.equal(1); - expect(result[1].data.bidderRequest.bids.length).to.equal(1); - expect(result[0].data.bidderRequest.bids[0].ortb2Imp.ext.ae).to.equal(1); - expect(result[1].data.bidderRequest.bids[0].ortb2Imp.ext.ae).to.equal(1); - }); - it('should return an array with 2 items and enabled protected audience on only one unit', function () { - mockBidRequests = { - 'bidderCode': 'unruly', - 'paapi': { - enabled: true - }, - 'bids': [ - { - 'bidder': 'unruly', - 'params': { - 'siteId': 233261, - }, - 'mediaTypes': { - 'video': { - 'context': 'outstream', - 'mimes': [ - 'video/mp4' - ], - 'playerSize': [ - [ - 640, - 480 - ] - ] - } - }, - 'adUnitCode': 'video2', - 'transactionId': 'a89619e3-137d-4cc5-9ed4-58a0b2a0bbc2', - 'sizes': [ - [ - 640, - 480 - ] - ], - 'bidId': '27a3ee1626a5c7', - 'bidderRequestId': '12e00d17dff07b', - 'ortb2Imp': { - 'ext': { - 'ae': 1 - } - } - }, - { - 'bidder': 'unruly', - 'params': { - 'siteId': 2234554, - }, - 'mediaTypes': { - 'video': { - 'context': 'outstream', - 'mimes': [ - 'video/mp4' - ], - 'playerSize': [ - [ - 640, - 480 - ] - ] - } - }, - 'adUnitCode': 'video2', - 'transactionId': 'a89619e3-137d-4cc5-9ed4-58a0b2a0bbc2', - 'sizes': [ - [ - 640, - 480 - ] - ], - 'bidId': '27a3ee1626a5c7', - 'bidderRequestId': '12e00d17dff07b', - 'ortb2Imp': { - 'ext': {} - } - } - ] - }; - - const result = adapter.buildRequests(mockBidRequests.bids, mockBidRequests); - expect(typeof result).to.equal('object'); - expect(result.length).to.equal(2); - expect(result[0].data.bidderRequest.bids.length).to.equal(1); - expect(result[1].data.bidderRequest.bids.length).to.equal(1); - expect(result[0].data.bidderRequest.bids[0].ortb2Imp.ext.ae).to.equal(1); - expect(result[1].data.bidderRequest.bids[0].ortb2Imp.ext.ae).to.be.undefined; - }); - it('disables configured protected audience when fledge is not availble', function () { - mockBidRequests = { - 'bidderCode': 'unruly', - 'fledgeEnabled': false, - 'bids': [ - { - 'bidder': 'unruly', - 'params': { - 'siteId': 233261, - }, - 'mediaTypes': { - 'video': { - 'context': 'outstream', - 'mimes': [ - 'video/mp4' - ], - 'playerSize': [ - [ - 640, - 480 - ] - ] - } - }, - 'adUnitCode': 'video2', - 'transactionId': 'a89619e3-137d-4cc5-9ed4-58a0b2a0bbc2', - 'sizes': [ - [ - 640, - 480 - ] - ], - 'bidId': '27a3ee1626a5c7', - 'bidderRequestId': '12e00d17dff07b', - 'ortb2Imp': { - 'ext': { - 'ae': 1 - } - } - } - ] - }; - - const result = adapter.buildRequests(mockBidRequests.bids, mockBidRequests); - expect(typeof result).to.equal('object'); - expect(result.length).to.equal(1); - expect(result[0].data.bidderRequest.bids.length).to.equal(1); - expect(result[0].data.bidderRequest.bids[0].ortb2Imp.ext.ae).to.be.undefined; - }); - }); }); describe('interpretResponse', function () { @@ -967,166 +720,6 @@ describe('UnrulyAdapter', function () { ]); }); - it('should return object with an array of bids and an array of auction configs when it receives a successful response from server', function () { - const bidId = '27a3ee1626a5c7' - const mockExchangeBid = createOutStreamExchangeBid({adUnitCode: 'video1', requestId: 'mockBidId'}); - const mockExchangeAuctionConfig = {}; - mockExchangeAuctionConfig[bidId] = createOutStreamExchangeAuctionConfig(); - const mockServerResponse = createExchangeResponse(mockExchangeBid, mockExchangeAuctionConfig); - const originalRequest = { - 'data': { - 'bidderRequest': { - 'bids': [ - { - 'bidder': 'unruly', - 'params': { - 'siteId': 233261, - }, - 'mediaTypes': { - 'banner': { - 'sizes': [ - [ - 640, - 480 - ], - [ - 640, - 480 - ], - [ - 300, - 250 - ], - [ - 300, - 250 - ] - ] - } - }, - 'adUnitCode': 'video2', - 'transactionId': 'a89619e3-137d-4cc5-9ed4-58a0b2a0bbc2', - 'bidId': bidId, - 'bidderRequestId': '12e00d17dff07b', - } - ] - } - } - }; - - expect(adapter.interpretResponse(mockServerResponse, originalRequest)).to.deep.equal({ - 'bids': [ - { - 'ext': { - 'statusCode': 1, - 'renderer': { - 'id': 'unruly_inarticle', - 'config': { - 'siteId': 123456, - 'targetingUUID': 'xxx-yyy-zzz' - }, - 'url': 'https://video.unrulymedia.com/native/prebid-loader.js' - }, - 'adUnitCode': 'video1' - }, - requestId: 'mockBidId', - bidderCode: 'unruly', - cpm: 20, - width: 323, - height: 323, - vastUrl: 'https://targeting.unrulymedia.com/in_article?uuid=74544e00-d43b-4f3a-a799-69d22ce979ce&supported_mime_type=application/javascript&supported_mime_type=video/mp4&tj=%7B%22site%22%3A%7B%22lang%22%3A%22en-GB%22%2C%22ref%22%3A%22%22%2C%22page%22%3A%22https%3A%2F%2Fdemo.unrulymedia.com%2FinArticle%2Finarticle_nypost_upbeat%2Ftravel_magazines.html%22%2C%22domain%22%3A%22demo.unrulymedia.com%22%7D%2C%22user%22%3A%7B%22profile%22%3A%7B%22quantcast%22%3A%7B%22segments%22%3A%5B%7B%22id%22%3A%22D%22%7D%2C%7B%22id%22%3A%22T%22%7D%5D%7D%7D%7D%7D&video_width=618&video_height=347', - netRevenue: true, - creativeId: 'mockBidId', - ttl: 360, - 'meta': { - 'mediaType': 'video', - 'videoContext': 'outstream' - }, - currency: 'USD', - renderer: fakeRenderer, - mediaType: 'video' - } - ], - 'paapi': [{ - 'bidId': bidId, - 'config': { - 'seller': 'https://nexxen.tech', - 'decisionLogicURL': 'https://nexxen.tech/padecisionlogic', - 'interestGroupBuyers': 'https://mydsp.com', - 'perBuyerSignals': { - 'https://mydsp.com': { - 'floor': 'bouttreefiddy' - } - } - } - }] - }); - }); - - it('should return object with an array of auction configs when it receives a successful response from server without bids', function () { - const bidId = '27a3ee1626a5c7'; - const mockExchangeAuctionConfig = {}; - mockExchangeAuctionConfig[bidId] = createOutStreamExchangeAuctionConfig(); - const mockServerResponse = createExchangeResponse(null, mockExchangeAuctionConfig); - const originalRequest = { - 'data': { - 'bidderRequest': { - 'bids': [ - { - 'bidder': 'unruly', - 'params': { - 'siteId': 233261, - }, - 'mediaTypes': { - 'banner': { - 'sizes': [ - [ - 640, - 480 - ], - [ - 640, - 480 - ], - [ - 300, - 250 - ], - [ - 300, - 250 - ] - ] - } - }, - 'adUnitCode': 'video2', - 'transactionId': 'a89619e3-137d-4cc5-9ed4-58a0b2a0bbc2', - 'bidId': bidId, - 'bidderRequestId': '12e00d17dff07b' - } - ] - } - } - }; - - expect(adapter.interpretResponse(mockServerResponse, originalRequest)).to.deep.equal({ - 'bids': [], - 'paapi': [{ - 'bidId': bidId, - 'config': { - 'seller': 'https://nexxen.tech', - 'decisionLogicURL': 'https://nexxen.tech/padecisionlogic', - 'interestGroupBuyers': 'https://mydsp.com', - 'perBuyerSignals': { - 'https://mydsp.com': { - 'floor': 'bouttreefiddy' - } - } - } - }] - }); - }); - it('should initialize and set the renderer', function () { expect(Renderer.install.called).to.be.false; expect(fakeRenderer.setRender.called).to.be.false; From 8c2ad77d0ab76b74b9c8bbed6f253e080f98fe8e Mon Sep 17 00:00:00 2001 From: Vadym Shatov <135347097+Gunnar97@users.noreply.github.com> Date: Thu, 5 Feb 2026 04:12:52 +0200 Subject: [PATCH 161/248] New library: placement position &bbidmaticBidAdapter: update viewability tracking logic (#14372) * bidmaticBidAdapter: update viewability tracking logic * bidmaticBidAdapter: update viewability tracking logic * bidmaticBidAdapter: update viewability tracking logic * bidmaticBidAdapter: update viewability tracking logic --- .../placementPositionInfo.js | 141 ++++ modules/bidmaticBidAdapter.js | 53 +- .../libraries/placementPositionInfo_spec.js | 741 ++++++++++++++++++ 3 files changed, 887 insertions(+), 48 deletions(-) create mode 100644 libraries/placementPositionInfo/placementPositionInfo.js create mode 100644 test/spec/libraries/placementPositionInfo_spec.js diff --git a/libraries/placementPositionInfo/placementPositionInfo.js b/libraries/placementPositionInfo/placementPositionInfo.js new file mode 100644 index 00000000000..b5bdf47fb2d --- /dev/null +++ b/libraries/placementPositionInfo/placementPositionInfo.js @@ -0,0 +1,141 @@ +import {getBoundingClientRect} from '../boundingClientRect/boundingClientRect.js'; +import {canAccessWindowTop, cleanObj, getWindowSelf, getWindowTop} from '../../src/utils.js'; +import {getViewability} from '../percentInView/percentInView.js'; + +export function getPlacementPositionUtils() { + const topWin = canAccessWindowTop() ? getWindowTop() : getWindowSelf(); + const selfWin = getWindowSelf(); + + const findElementWithContext = (adUnitCode) => { + let element = selfWin.document.getElementById(adUnitCode); + if (element) { + return {element, frameOffset: getFrameOffsetForCurrentWindow()}; + } + + const searchInIframes = (doc, accumulatedOffset = {top: 0}, iframeWindow = null) => { + try { + const element = doc.getElementById(adUnitCode); + if (element) { + return {element, frameOffset: accumulatedOffset, iframeWindow}; + } + + const frames = doc.getElementsByTagName('iframe'); + for (const frame of frames) { + try { + const iframeDoc = frame.contentDocument || frame.contentWindow?.document; + if (iframeDoc) { + const frameRect = getBoundingClientRect(frame); + const newOffset = { + top: accumulatedOffset.top + frameRect.top + }; + const result = searchInIframes(iframeDoc, newOffset, frame.contentWindow); + if (result) { + return result; + } + } + } catch (_e) { + } + } + } catch (_e) { + } + return null; + }; + + const result = searchInIframes(selfWin.document); + return result || {element: null, frameOffset: {top: 0}}; + }; + + const getFrameOffsetForCurrentWindow = () => { + if (topWin === selfWin) { + return {top: 0}; + } + try { + const frames = topWin.document.getElementsByTagName('iframe'); + for (const frame of frames) { + if (frame.contentWindow === selfWin) { + return {top: getBoundingClientRect(frame).top}; + } + } + } catch (_e) { + return {top: 0}; + } + return {top: 0}; + }; + + const getViewportHeight = () => { + return topWin.innerHeight || topWin.document.documentElement.clientHeight || topWin.document.body.clientHeight || 0; + }; + + const getPageHeight = () => { + const body = topWin.document.body; + const html = topWin.document.documentElement; + if (!body || !html) return 0; + + return Math.max( + body.scrollHeight, + body.offsetHeight, + html.clientHeight, + html.scrollHeight, + html.offsetHeight + ); + }; + + const getViewableDistance = (element, frameOffset) => { + if (!element) return {distanceToView: 0, elementHeight: 0}; + + const elementRect = getBoundingClientRect(element); + if (!elementRect) return {distanceToView: 0, elementHeight: 0}; + + const elementTop = elementRect.top + frameOffset.top; + const elementBottom = elementRect.bottom + frameOffset.top; + const viewportHeight = getViewportHeight(); + + let distanceToView; + if (elementTop - viewportHeight <= 0 && elementBottom >= 0) { + distanceToView = 0; + } else if (elementTop - viewportHeight > 0) { + distanceToView = Math.round(elementTop - viewportHeight); + } else { + distanceToView = Math.round(elementBottom); + } + + return {distanceToView, elementHeight: elementRect.height}; + }; + + function getPlacementInfo(bidReq) { + const {element, frameOffset, iframeWindow} = findElementWithContext(bidReq.adUnitCode); + const {distanceToView, elementHeight} = getViewableDistance(element, frameOffset); + + const sizes = (bidReq.sizes || []).map(size => ({ + w: Number.parseInt(size[0], 10), + h: Number.parseInt(size[1], 10) + })); + const size = sizes.length > 0 + ? sizes.reduce((min, size) => size.h * size.w < min.h * min.w ? size : min, sizes[0]) + : {}; + + const winForViewability = iframeWindow || topWin; + const placementPercentView = element ? getViewability(element, winForViewability, size) : 0; + + return cleanObj({ + AuctionsCount: bidReq.auctionsCount, + DistanceToView: distanceToView, + PlacementPercentView: Math.round(placementPercentView), + ElementHeight: Math.round(elementHeight) || 1 + }); + } + + function getPlacementEnv() { + return cleanObj({ + TimeFromNavigation: Math.floor(performance.now()), + TabActive: topWin.document.visibilityState === 'visible', + PageHeight: getPageHeight(), + ViewportHeight: getViewportHeight() + }); + } + + return { + getPlacementInfo, + getPlacementEnv + }; +} diff --git a/modules/bidmaticBidAdapter.js b/modules/bidmaticBidAdapter.js index 4265b48428f..daa379421b6 100644 --- a/modules/bidmaticBidAdapter.js +++ b/modules/bidmaticBidAdapter.js @@ -4,7 +4,6 @@ import { cleanObj, deepAccess, flatten, - getWinDimensions, isArray, isNumber, logWarn, @@ -13,7 +12,7 @@ import { import { config } from '../src/config.js'; import { BANNER, VIDEO } from '../src/mediaTypes.js'; import { chunk } from '../libraries/chunk/chunk.js'; -import { getBoundingClientRect } from '../libraries/boundingClientRect/boundingClientRect.js'; +import {getPlacementPositionUtils} from "../libraries/placementPositionInfo/placementPositionInfo.js"; /** * @typedef {import('../src/adapters/bidderFactory.js').Bid} Bid @@ -21,10 +20,13 @@ import { getBoundingClientRect } from '../libraries/boundingClientRect/boundingC * @typedef {import('../src/adapters/bidderFactory.js').BidderSpec} BidderSpec */ +const ADAPTER_VERSION = 'v1.0.0'; const URL = 'https://adapter.bidmatic.io/bdm/auction'; const BIDDER_CODE = 'bidmatic'; const SYNCS_DONE = new Set(); +const { getPlacementEnv, getPlacementInfo } = getPlacementPositionUtils() + /** @type {BidderSpec} */ export const spec = { code: BIDDER_CODE, @@ -144,6 +146,7 @@ export function parseResponseBody(serverResponse, adapterRequest) { export function remapBidRequest(bidRequests, adapterRequest) { const bidRequestBody = { + AdapterVersion: ADAPTER_VERSION, Domain: deepAccess(adapterRequest, 'refererInfo.page'), ...getPlacementEnv() }; @@ -237,50 +240,4 @@ export function createBid(bidResponse) { }; } -function getPlacementInfo(bidReq) { - const placementElementNode = document.getElementById(bidReq.adUnitCode); - try { - return cleanObj({ - AuctionsCount: bidReq.auctionsCount, - DistanceToView: getViewableDistance(placementElementNode) - }); - } catch (e) { - logWarn('Error while getting placement info', e); - return {}; - } -} - -/** - * @param element - */ -function getViewableDistance(element) { - if (!element) return 0; - const elementRect = getBoundingClientRect(element); - - if (!elementRect) { - return 0; - } - - const elementMiddle = elementRect.top + (elementRect.height / 2); - const viewportHeight = getWinDimensions().innerHeight - if (elementMiddle > window.scrollY + viewportHeight) { - // element is below the viewport - return Math.round(elementMiddle - (window.scrollY + viewportHeight)); - } - // element is above the viewport -> negative value - return Math.round(elementMiddle); -} - -function getPageHeight() { - return document.documentElement.scrollHeight || document.body.scrollHeight; -} - -function getPlacementEnv() { - return cleanObj({ - TimeFromNavigation: Math.floor(performance.now()), - TabActive: document.visibilityState === 'visible', - PageHeight: getPageHeight() - }) -} - registerBidder(spec); diff --git a/test/spec/libraries/placementPositionInfo_spec.js b/test/spec/libraries/placementPositionInfo_spec.js new file mode 100644 index 00000000000..11a3aa1aa0f --- /dev/null +++ b/test/spec/libraries/placementPositionInfo_spec.js @@ -0,0 +1,741 @@ +import { getPlacementPositionUtils } from '../../../libraries/placementPositionInfo/placementPositionInfo.js'; +import * as utils from '../../../src/utils.js'; +import * as boundingClientRectLib from '../../../libraries/boundingClientRect/boundingClientRect.js'; +import * as percentInViewLib from '../../../libraries/percentInView/percentInView.js'; +import assert from 'assert'; +import sinon from 'sinon'; + +describe('placementPositionInfo', function () { + let sandbox; + let canAccessWindowTopStub; + let getWindowTopStub; + let getWindowSelfStub; + let getBoundingClientRectStub; + let percentInViewStub; + let cleanObjStub; + + let mockDocument; + let mockWindow; + + beforeEach(function () { + sandbox = sinon.createSandbox(); + + mockDocument = { + getElementById: sandbox.stub().returns(null), + getElementsByTagName: sandbox.stub().returns([]), + body: { scrollHeight: 2000, offsetHeight: 1800 }, + documentElement: { clientHeight: 1900, scrollHeight: 2100, offsetHeight: 1950 }, + visibilityState: 'visible' + }; + + mockWindow = { + innerHeight: 800, + document: mockDocument + }; + + canAccessWindowTopStub = sandbox.stub(utils, 'canAccessWindowTop').returns(true); + getWindowTopStub = sandbox.stub(utils, 'getWindowTop').returns(mockWindow); + getWindowSelfStub = sandbox.stub(utils, 'getWindowSelf').returns(mockWindow); + getBoundingClientRectStub = sandbox.stub(boundingClientRectLib, 'getBoundingClientRect'); + percentInViewStub = sandbox.stub(percentInViewLib, 'getViewability'); + cleanObjStub = sandbox.stub(utils, 'cleanObj').callsFake(obj => obj); + }); + + afterEach(function () { + sandbox.restore(); + }); + + describe('getPlacementPositionUtils', function () { + it('should return an object with getPlacementInfo and getPlacementEnv functions', function () { + const result = getPlacementPositionUtils(); + + assert.strictEqual(typeof result.getPlacementInfo, 'function'); + assert.strictEqual(typeof result.getPlacementEnv, 'function'); + }); + + it('should use window top when accessible', function () { + canAccessWindowTopStub.returns(true); + getPlacementPositionUtils(); + + assert.ok(getWindowTopStub.called); + }); + + it('should use window self when top is not accessible', function () { + canAccessWindowTopStub.returns(false); + getPlacementPositionUtils(); + + assert.ok(getWindowSelfStub.called); + }); + }); + + describe('getPlacementInfo', function () { + let getPlacementInfo; + let mockElement; + + beforeEach(function () { + mockElement = { id: 'test-ad-unit' }; + mockDocument.getElementById.returns(mockElement); + + getBoundingClientRectStub.returns({ + top: 100, + bottom: 200, + height: 100, + width: 300 + }); + + percentInViewStub.returns(50); + + const placementUtils = getPlacementPositionUtils(); + getPlacementInfo = placementUtils.getPlacementInfo; + }); + + it('should return placement info with all required fields', function () { + const bidReq = { + adUnitCode: 'test-ad-unit', + auctionsCount: 5, + sizes: [[300, 250]] + }; + + const result = getPlacementInfo(bidReq); + + assert.strictEqual(result.AuctionsCount, 5); + assert.strictEqual(typeof result.DistanceToView, 'number'); + assert.strictEqual(typeof result.PlacementPercentView, 'number'); + assert.strictEqual(typeof result.ElementHeight, 'number'); + }); + + it('should calculate distanceToView as 0 when element is in viewport', function () { + getBoundingClientRectStub.returns({ + top: 100, + bottom: 200, + height: 100 + }); + + const bidReq = { + adUnitCode: 'test-ad-unit', + sizes: [[300, 250]] + }; + + const result = getPlacementInfo(bidReq); + + assert.strictEqual(result.DistanceToView, 0); + }); + + it('should calculate positive distanceToView when element is below viewport', function () { + getBoundingClientRectStub.returns({ + top: 1000, + bottom: 1100, + height: 100 + }); + + const bidReq = { + adUnitCode: 'test-ad-unit', + sizes: [[300, 250]] + }; + + const result = getPlacementInfo(bidReq); + + assert.strictEqual(result.DistanceToView, 200); + }); + + it('should calculate negative distanceToView when element is above viewport', function () { + getBoundingClientRectStub.returns({ + top: -200, + bottom: -100, + height: 100 + }); + + const bidReq = { + adUnitCode: 'test-ad-unit', + sizes: [[300, 250]] + }; + + const result = getPlacementInfo(bidReq); + + assert.strictEqual(result.DistanceToView, -100); + }); + + it('should handle null element gracefully', function () { + mockDocument.getElementById.returns(null); + + const bidReq = { + adUnitCode: 'non-existent-unit', + sizes: [[300, 250]] + }; + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo(bidReq); + + assert.strictEqual(result.DistanceToView, 0); + assert.strictEqual(result.ElementHeight, 1); + }); + + it('should not call getViewability when element is null', function () { + mockDocument.getElementById.returns(null); + + const bidReq = { + adUnitCode: 'non-existent-unit', + sizes: [[300, 250]] + }; + + const placementUtils = getPlacementPositionUtils(); + placementUtils.getPlacementInfo(bidReq); + + assert.ok(!percentInViewStub.called, 'getViewability should not be called with null element'); + }); + + it('should handle empty sizes array', function () { + const bidReq = { + adUnitCode: 'test-ad-unit', + sizes: [] + }; + + const result = getPlacementInfo(bidReq); + + assert.ok(!isNaN(result.PlacementPercentView), 'PlacementPercentView should not be NaN'); + }); + + it('should handle undefined sizes', function () { + const bidReq = { + adUnitCode: 'test-ad-unit' + }; + + const result = getPlacementInfo(bidReq); + + assert.ok(!isNaN(result.PlacementPercentView), 'PlacementPercentView should not be NaN'); + }); + + it('should select the smallest size by area', function () { + const bidReq = { + adUnitCode: 'test-ad-unit', + sizes: [[728, 90], [300, 250], [160, 600]] + }; + + getPlacementInfo(bidReq); + + const percentInViewCall = percentInViewStub.getCall(0); + const sizeArg = percentInViewCall.args[2]; + + assert.strictEqual(sizeArg.w, 728); + assert.strictEqual(sizeArg.h, 90); + }); + + it('should use ElementHeight from bounding rect', function () { + getBoundingClientRectStub.returns({ + top: 100, + bottom: 350, + height: 250 + }); + + const bidReq = { + adUnitCode: 'test-ad-unit', + sizes: [[300, 250]] + }; + + const result = getPlacementInfo(bidReq); + + assert.strictEqual(result.ElementHeight, 250); + }); + + it('should default ElementHeight to 1 when height is 0', function () { + getBoundingClientRectStub.returns({ + top: 100, + bottom: 100, + height: 0 + }); + + const bidReq = { + adUnitCode: 'test-ad-unit', + sizes: [[300, 250]] + }; + + const result = getPlacementInfo(bidReq); + + assert.strictEqual(result.ElementHeight, 1); + }); + }); + + describe('getPlacementEnv', function () { + let getPlacementEnv; + let performanceNowStub; + + beforeEach(function () { + performanceNowStub = sandbox.stub(performance, 'now').returns(1234.567); + + const placementUtils = getPlacementPositionUtils(); + getPlacementEnv = placementUtils.getPlacementEnv; + }); + + it('should return environment info with all required fields', function () { + const result = getPlacementEnv(); + + assert.strictEqual(typeof result.TimeFromNavigation, 'number'); + assert.strictEqual(typeof result.TabActive, 'boolean'); + assert.strictEqual(typeof result.PageHeight, 'number'); + assert.strictEqual(typeof result.ViewportHeight, 'number'); + }); + + it('should return TimeFromNavigation as floored performance.now()', function () { + performanceNowStub.returns(5678.999); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementEnv(); + + assert.strictEqual(result.TimeFromNavigation, 5678); + }); + + it('should return TabActive as true when document is visible', function () { + const result = getPlacementEnv(); + + assert.strictEqual(result.TabActive, true); + }); + + it('should return TabActive as false when document is hidden', function () { + sandbox.restore(); + sandbox = sinon.createSandbox(); + + const hiddenMockDocument = { + getElementById: sandbox.stub().returns(null), + getElementsByTagName: sandbox.stub().returns([]), + body: { scrollHeight: 1000, offsetHeight: 1000 }, + documentElement: { clientHeight: 1000, scrollHeight: 1000, offsetHeight: 1000 }, + visibilityState: 'hidden' + }; + + const hiddenMockWindow = { + innerHeight: 800, + document: hiddenMockDocument + }; + + sandbox.stub(utils, 'canAccessWindowTop').returns(true); + sandbox.stub(utils, 'getWindowTop').returns(hiddenMockWindow); + sandbox.stub(utils, 'getWindowSelf').returns(hiddenMockWindow); + sandbox.stub(utils, 'cleanObj').callsFake(obj => obj); + sandbox.stub(performance, 'now').returns(1000); + + const freshUtils = getPlacementPositionUtils(); + const result = freshUtils.getPlacementEnv(); + + assert.strictEqual(result.TabActive, false); + }); + + it('should return ViewportHeight from window.innerHeight', function () { + const result = getPlacementEnv(); + + assert.strictEqual(result.ViewportHeight, 800); + }); + + it('should return max PageHeight from all document height properties', function () { + const result = getPlacementEnv(); + + assert.strictEqual(result.PageHeight, 2100); + }); + }); + + describe('getViewableDistance edge cases', function () { + let getPlacementInfo; + + beforeEach(function () { + mockDocument.getElementById.returns({ id: 'test' }); + percentInViewStub.returns(0); + + const placementUtils = getPlacementPositionUtils(); + getPlacementInfo = placementUtils.getPlacementInfo; + }); + + it('should handle getBoundingClientRect returning null', function () { + getBoundingClientRectStub.returns(null); + + const bidReq = { + adUnitCode: 'test', + sizes: [[300, 250]] + }; + + const result = getPlacementInfo(bidReq); + + assert.strictEqual(result.DistanceToView, 0); + assert.strictEqual(result.ElementHeight, 1); + }); + + it('should handle element exactly at viewport bottom edge', function () { + getBoundingClientRectStub.returns({ + top: 800, + bottom: 900, + height: 100 + }); + + const bidReq = { + adUnitCode: 'test', + sizes: [[300, 250]] + }; + + const result = getPlacementInfo(bidReq); + + assert.strictEqual(result.DistanceToView, 0); + }); + + it('should handle element exactly at viewport top edge', function () { + getBoundingClientRectStub.returns({ + top: 0, + bottom: 100, + height: 100 + }); + + const bidReq = { + adUnitCode: 'test', + sizes: [[300, 250]] + }; + + const result = getPlacementInfo(bidReq); + + assert.strictEqual(result.DistanceToView, 0); + }); + }); + + describe('iframe coordinate translation', function () { + let mockSelfDoc; + let mockSelfWindow; + let mockTopWindow; + let mockIframe; + let iframeTop; + + beforeEach(function () { + iframeTop = 0; + mockSelfDoc = { + getElementById: sandbox.stub().returns({ id: 'test' }), + getElementsByTagName: sandbox.stub().returns([]) + }; + mockSelfWindow = { + innerHeight: 500, + document: mockSelfDoc + }; + mockTopWindow = { + innerHeight: 1000, + document: { + getElementsByTagName: sinon.stub(), + body: { scrollHeight: 2000, offsetHeight: 1800 }, + documentElement: { clientHeight: 1900, scrollHeight: 2100, offsetHeight: 1950 } + } + }; + mockIframe = { + contentWindow: mockSelfWindow + }; + + sandbox.restore(); + sandbox = sinon.createSandbox(); + + mockSelfDoc.getElementById = sandbox.stub().returns({ id: 'test' }); + mockSelfDoc.getElementsByTagName = sandbox.stub().returns([]); + mockTopWindow.document.getElementsByTagName = sandbox.stub(); + + sandbox.stub(utils, 'canAccessWindowTop').returns(true); + sandbox.stub(utils, 'getWindowTop').returns(mockTopWindow); + sandbox.stub(utils, 'getWindowSelf').returns(mockSelfWindow); + sandbox.stub(utils, 'cleanObj').callsFake(obj => obj); + getBoundingClientRectStub = sandbox.stub(boundingClientRectLib, 'getBoundingClientRect'); + percentInViewStub = sandbox.stub(percentInViewLib, 'getViewability').returns(0); + }); + + it('should return frame offset of 0 when not in iframe (topWin === selfWin)', function () { + sandbox.restore(); + sandbox = sinon.createSandbox(); + + const sameDoc = { + getElementById: sandbox.stub().returns({ id: 'test' }), + getElementsByTagName: sandbox.stub().returns([]), + body: { scrollHeight: 2000, offsetHeight: 1800 }, + documentElement: { clientHeight: 1900, scrollHeight: 2100, offsetHeight: 1950 } + }; + const sameWindow = { + innerHeight: 800, + document: sameDoc + }; + sandbox.stub(utils, 'canAccessWindowTop').returns(true); + sandbox.stub(utils, 'getWindowTop').returns(sameWindow); + sandbox.stub(utils, 'getWindowSelf').returns(sameWindow); + sandbox.stub(utils, 'cleanObj').callsFake(obj => obj); + sandbox.stub(boundingClientRectLib, 'getBoundingClientRect').returns({ + top: 100, bottom: 200, height: 100 + }); + sandbox.stub(percentInViewLib, 'getViewability').returns(0); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'test', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, 0); + }); + + it('should apply iframe offset when running inside a friendly iframe', function () { + iframeTop = 200; + mockTopWindow.document.getElementsByTagName.returns([mockIframe]); + + getBoundingClientRectStub.callsFake((el) => { + if (el === mockIframe) return { top: iframeTop }; + return { top: 100, bottom: 200, height: 100 }; + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'test', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, 0); + }); + + it('should calculate correct distance when element is below viewport with iframe offset', function () { + iframeTop = 500; + mockTopWindow.document.getElementsByTagName.returns([mockIframe]); + + getBoundingClientRectStub.callsFake((el) => { + if (el === mockIframe) return { top: iframeTop }; + return { top: 600, bottom: 700, height: 100 }; + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'test', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, 100); + }); + + it('should calculate negative distance when element is above viewport with iframe offset', function () { + iframeTop = -600; + mockTopWindow.document.getElementsByTagName.returns([mockIframe]); + + getBoundingClientRectStub.callsFake((el) => { + if (el === mockIframe) return { top: iframeTop }; + return { top: 100, bottom: 200, height: 100 }; + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'test', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, -400); + }); + + it('should return frame offset of 0 when iframe is not found', function () { + mockTopWindow.document.getElementsByTagName.returns([]); + + getBoundingClientRectStub.returns({ + top: 100, bottom: 200, height: 100 + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'test', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, 0); + }); + + it('should return frame offset of 0 when getElementsByTagName throws', function () { + mockTopWindow.document.getElementsByTagName.throws(new Error('Access denied')); + + getBoundingClientRectStub.returns({ + top: 100, bottom: 200, height: 100 + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'test', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, 0); + }); + + it('should use top window viewport height for distance calculation', function () { + iframeTop = 0; + mockTopWindow.document.getElementsByTagName.returns([mockIframe]); + + getBoundingClientRectStub.callsFake((el) => { + if (el === mockIframe) return { top: iframeTop }; + return { top: 1200, bottom: 1300, height: 100 }; + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'test', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, 200); + }); + }); + + describe('FIF scenario: Prebid in parent, element in iframe', function () { + let mockElement; + let mockIframeDoc; + let mockIframeWindow; + let mockIframe; + let mockParentDoc; + let mockParentWindow; + let iframeTop; + + beforeEach(function () { + iframeTop = 200; + mockElement = { id: 'iframe-ad-unit' }; + mockIframeWindow = { innerHeight: 400 }; + mockIframeDoc = { + getElementById: sinon.stub().returns(mockElement), + getElementsByTagName: sinon.stub().returns([]) + }; + mockIframe = { + contentDocument: mockIframeDoc, + contentWindow: mockIframeWindow + }; + + sandbox.restore(); + sandbox = sinon.createSandbox(); + + mockIframeDoc.getElementById = sandbox.stub().returns(mockElement); + mockIframeDoc.getElementsByTagName = sandbox.stub().returns([]); + + mockParentDoc = { + getElementById: sandbox.stub().returns(null), + getElementsByTagName: sandbox.stub().returns([mockIframe]), + body: { scrollHeight: 2000, offsetHeight: 1800 }, + documentElement: { clientHeight: 1900, scrollHeight: 2100, offsetHeight: 1950 } + }; + + mockParentWindow = { + innerHeight: 800, + document: mockParentDoc + }; + + sandbox.stub(utils, 'canAccessWindowTop').returns(true); + sandbox.stub(utils, 'getWindowTop').returns(mockParentWindow); + sandbox.stub(utils, 'getWindowSelf').returns(mockParentWindow); + sandbox.stub(utils, 'cleanObj').callsFake(obj => obj); + + getBoundingClientRectStub = sandbox.stub(boundingClientRectLib, 'getBoundingClientRect'); + percentInViewStub = sandbox.stub(percentInViewLib, 'getViewability').returns(50); + }); + + it('should find element in iframe document when not in current document', function () { + getBoundingClientRectStub.callsFake((el) => { + if (el === mockIframe) return { top: iframeTop }; + return { top: 100, bottom: 200, height: 100 }; + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'iframe-ad-unit', + sizes: [[300, 250]] + }); + + assert.ok(mockIframeDoc.getElementById.calledWith('iframe-ad-unit')); + assert.strictEqual(result.ElementHeight, 100); + }); + + it('should apply iframe offset when element is in iframe', function () { + iframeTop = 300; + getBoundingClientRectStub.callsFake((el) => { + if (el === mockIframe) return { top: iframeTop }; + return { top: 100, bottom: 200, height: 100 }; + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'iframe-ad-unit', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, 0); + }); + + it('should calculate positive distance when element in iframe is below viewport', function () { + iframeTop = 500; + getBoundingClientRectStub.callsFake((el) => { + if (el === mockIframe) return { top: iframeTop }; + return { top: 400, bottom: 500, height: 100 }; + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'iframe-ad-unit', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, 100); + }); + + it('should calculate negative distance when element in iframe is above viewport', function () { + iframeTop = -500; + getBoundingClientRectStub.callsFake((el) => { + if (el === mockIframe) return { top: iframeTop }; + return { top: 100, bottom: 200, height: 100 }; + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'iframe-ad-unit', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, -300); + }); + + it('should use iframe window for viewability calculation', function () { + getBoundingClientRectStub.callsFake((el) => { + if (el === mockIframe) return { top: iframeTop }; + return { top: 100, bottom: 200, height: 100 }; + }); + + const placementUtils = getPlacementPositionUtils(); + placementUtils.getPlacementInfo({ + adUnitCode: 'iframe-ad-unit', + sizes: [[300, 250]] + }); + + const viewabilityCall = percentInViewStub.getCall(0); + assert.strictEqual(viewabilityCall.args[1], mockIframeWindow); + }); + + it('should skip cross-origin iframes that throw errors', function () { + const crossOriginIframe = { + get contentDocument() { throw new Error('Blocked by CORS'); }, + get contentWindow() { return null; } + }; + mockParentDoc.getElementsByTagName.returns([crossOriginIframe, mockIframe]); + + getBoundingClientRectStub.callsFake((el) => { + if (el === mockIframe) return { top: iframeTop }; + return { top: 100, bottom: 200, height: 100 }; + }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'iframe-ad-unit', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.ElementHeight, 100); + }); + + it('should return default values when element not found anywhere', function () { + mockIframeDoc.getElementById.returns(null); + + getBoundingClientRectStub.returns({ top: 100, bottom: 200, height: 100 }); + + const placementUtils = getPlacementPositionUtils(); + const result = placementUtils.getPlacementInfo({ + adUnitCode: 'non-existent', + sizes: [[300, 250]] + }); + + assert.strictEqual(result.DistanceToView, 0); + assert.strictEqual(result.ElementHeight, 1); + }); + }); +}); From 957ebcfc76e7129b1d4f777108fafd1cf00d21ee Mon Sep 17 00:00:00 2001 From: Florian Erl <46747754+florianerl@users.noreply.github.com> Date: Thu, 5 Feb 2026 02:14:31 +0000 Subject: [PATCH 162/248] Humansecurity RTD Provider: migrate to TypeScript and optimize token handling (#14362) * - Migrated to TypeScript - Removed hardcoded token injection into ortb2Fragments and delegate to the HUMAN implementation, enabling management of which bidders receive tokens and enhancing monitoring and control of latency and performance - Introduce a cached implementation reference via getImpl() - Add module version query parameter when loading the implementation script - Wire onAuctionInitEvent so the implementation can collect QoS, telemetry and statistics per auction * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * - validate module version parameter in script URL - add HumanSecurityImpl interface --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- modules/humansecurityRtdProvider.js | 180 ---------------- modules/humansecurityRtdProvider.md | 28 +-- modules/humansecurityRtdProvider.ts | 204 ++++++++++++++++++ .../modules/humansecurityRtdProvider_spec.js | 117 +++------- 4 files changed, 245 insertions(+), 284 deletions(-) delete mode 100644 modules/humansecurityRtdProvider.js create mode 100644 modules/humansecurityRtdProvider.ts diff --git a/modules/humansecurityRtdProvider.js b/modules/humansecurityRtdProvider.js deleted file mode 100644 index aeb872beb8d..00000000000 --- a/modules/humansecurityRtdProvider.js +++ /dev/null @@ -1,180 +0,0 @@ -/** - * This module adds humansecurity provider to the real time data module - * - * The {@link module:modules/realTimeData} module is required - * The module will inject the HUMAN Security script into the context where Prebid.js is initialized, enriching bid requests with specific data to provide advanced protection against ad fraud and spoofing. - * @module modules/humansecurityRtdProvider - * @requires module:modules/realTimeData - */ - -import { submodule } from '../src/hook.js'; -import { - prefixLog, - mergeDeep, - generateUUID, - getWindowSelf, -} from '../src/utils.js'; -import { getRefererInfo } from '../src/refererDetection.js'; -import { getGlobal } from '../src/prebidGlobal.js'; -import { loadExternalScript } from '../src/adloader.js'; -import { MODULE_TYPE_RTD } from '../src/activities/modules.js'; - -/** - * @typedef {import('../modules/rtdModule/index.js').RtdSubmodule} RtdSubmodule - * @typedef {import('../modules/rtdModule/index.js').SubmoduleConfig} SubmoduleConfig - * @typedef {import('../modules/rtdModule/index.js').UserConsentData} UserConsentData - */ - -const SUBMODULE_NAME = 'humansecurity'; -const SCRIPT_URL = 'https://sonar.script.ac/prebid/rtd.js'; - -const { logInfo, logWarn, logError } = prefixLog(`[${SUBMODULE_NAME}]:`); - -/** @type {string} */ -let clientId = ''; - -/** @type {boolean} */ -let verbose = false; - -/** @type {string} */ -let sessionId = ''; - -/** @type {Object} */ -let hmnsData = { }; - -/** - * Submodule registration - */ -function main() { - submodule('realTimeData', /** @type {RtdSubmodule} */ ({ - name: SUBMODULE_NAME, - - // - init: (config, userConsent) => { - try { - load(config); - return true; - } catch (err) { - logError('init', err.message); - return false; - } - }, - - getBidRequestData: onGetBidRequestData - })); -} - -/** - * Injects HUMAN Security script on the page to facilitate pre-bid signal collection. - * @param {SubmoduleConfig} config - */ -function load(config) { - // By default, this submodule loads the generic implementation script - // only identified by the referrer information. In the future, if publishers - // want to have analytics where their websites are grouped, they can request - // Client ID from HUMAN, pass it here, and it will enable advanced reporting - clientId = config?.params?.clientId || ''; - if (clientId && (typeof clientId !== 'string' || !/^\w{3,16}$/.test(clientId))) { - throw new Error(`The 'clientId' parameter must be a short alphanumeric string`); - } - - // Load/reset the state - verbose = !!config?.params?.verbose; - sessionId = generateUUID(); - hmnsData = {}; - - // We rely on prebid implementation to get the best domain possible here - // In some cases, it still might be null, though - const refDomain = getRefererInfo().domain || ''; - - // Once loaded, the implementation script will publish an API using - // the session ID value it was given in data attributes - const scriptAttrs = { 'data-sid': sessionId }; - const scriptUrl = `${SCRIPT_URL}?r=${refDomain}${clientId ? `&c=${clientId}` : ''}`; - - loadExternalScript(scriptUrl, MODULE_TYPE_RTD, SUBMODULE_NAME, onImplLoaded, null, scriptAttrs); -} - -/** - * The callback to loadExternalScript - * Establishes the bridge between this RTD submodule and the loaded implementation - */ -function onImplLoaded() { - // We then get a hold on this script using the knowledge of this session ID - const wnd = getWindowSelf(); - const impl = wnd[`sonar_${sessionId}`]; - if (typeof impl !== 'object' || typeof impl.connect !== 'function') { - verbose && logWarn('onload', 'Unable to access the implementation script'); - return; - } - - // And set up a bridge between the RTD submodule and the implementation. - // The first argument is used to identify the caller. - // The callback might be called multiple times to update the signals - // once more precise information is available. - impl.connect(getGlobal(), onImplMessage); -} - -/** - * The bridge function will be called by the implementation script - * to update the token information or report errors - * @param {Object} msg - */ -function onImplMessage(msg) { - if (typeof msg !== 'object') { - return; - } - - switch (msg.type) { - case 'hmns': { - hmnsData = mergeDeep({}, msg.data || {}); - break; - } - case 'error': { - logError('impl', msg.data || ''); - break; - } - case 'warn': { - verbose && logWarn('impl', msg.data || ''); - break; - } - case 'info': { - verbose && logInfo('impl', msg.data || ''); - break; - } - } -} - -/** - * onGetBidRequestData is called once per auction. - * Update the `ortb2Fragments` object with the data from the injected script. - * - * @param {Object} reqBidsConfigObj - * @param {function} callback - * @param {SubmoduleConfig} config - * @param {UserConsentData} userConsent - */ -function onGetBidRequestData(reqBidsConfigObj, callback, config, userConsent) { - // Add device.ext.hmns to the global ORTB data for all vendors to use - // At the time of writing this submodule, "hmns" is an object defined - // internally by humansecurity, and it currently contains "v1" field - // with a token that contains collected signals about this session. - mergeDeep(reqBidsConfigObj.ortb2Fragments.global, { device: { ext: { hmns: hmnsData } } }); - callback(); -} - -/** - * Exporting local (and otherwise encapsulated to this module) functions - * for testing purposes - */ -export const __TEST__ = { - SUBMODULE_NAME, - SCRIPT_URL, - main, - load, - onImplLoaded, - onImplMessage, - onGetBidRequestData -}; - -main(); diff --git a/modules/humansecurityRtdProvider.md b/modules/humansecurityRtdProvider.md index 6722319cbb5..fceb012e27c 100644 --- a/modules/humansecurityRtdProvider.md +++ b/modules/humansecurityRtdProvider.md @@ -23,7 +23,7 @@ sent within bid requests, and used for bot detection on the backend. * No incremental signals collected beyond existing HUMAN post-bid solution * Offsets negative impact from loss of granularity in IP and User Agent at bid time * Does not expose collected IVT signal to any party who doesn’t otherwise already have access to the same signal collected post-bid -* Does not introduce meaningful latency, as demonstrated in the Latency section +* Does not introduce meaningful latency * Comes at no additional cost to collect IVT signal and make it available at bid time * Leveraged to differentiate the invalid bid requests at device level, and cannot be used to identify a user or a device, thus preserving privacy. @@ -56,8 +56,8 @@ pbjs.setConfig({ }); ``` -It can be optionally parameterized, for example, to include client ID obtained from HUMAN, -should any advanced reporting be needed, or to have verbose output for troubleshooting: +Other parameters can also be provided. For example, a client ID obtained from HUMAN can +optionally be provided, or verbose output can be enabled for troubleshooting purposes: ```javascript pbjs.setConfig({ @@ -79,6 +79,7 @@ pbjs.setConfig({ | :--------------- | :------------ | :------------------------------------------------------------------ |:---------| | `clientId` | String | Should you need advanced reporting, contact [prebid@humansecurity.com](prebid@humansecurity.com) to receive client ID. | No | | `verbose` | Boolean | Only set to `true` if troubleshooting issues. | No | +| `perBidderOptOut` | string[] | Pass any bidder alias to opt-out from per-bidder signal generation. | No | ## Logging, latency and troubleshooting @@ -89,9 +90,6 @@ of type `ERROR`. With `verbose` parameter set to `true`, it may additionally: * Call `logWarning`, resulting in `auctionDebug` events of type `WARNING`, * Call `logInfo` with latency information. - * To observe these messages in console, Prebid.js must be run in - [debug mode](https://docs.prebid.org/dev-docs/publisher-api-reference/setConfig.html#debugging) - - either by adding `?pbjs_debug=true` to your page's URL, or by configuring with `pbjs.setConfig({ debug: true });` Example output of the latency information: @@ -139,6 +137,7 @@ There are a few points that are worth being mentioned separately, to avoid confu the ever-evolving nature of the threat landscape without the publishers having to rebuild their Prebid.js frequently. * The signal collection script is also obfuscated, as a defense-in-depth measure in order to complicate tampering by bad actors, as are all similar scripts in the industry, which is something that cannot be accommodated by Prebid.js itself. +* The collected signals are encrypted before they are passed to bid adapters and can only be interpreted by HUMAN backend systems. ## Why is this approach an innovation? @@ -199,10 +198,14 @@ ensuring the value of the inventory. ## FAQ +### Is partnership with HUMAN required to use the submodule? + +No. Using this submodule does not require any prior communication with HUMAN or being a client of HUMAN. +It is free and usage of the submodule doesn’t automatically make a Publisher HUMAN client. + ### Is latency an issue? The HUMAN Security RTD submodule is designed to minimize any latency in the auction within normal SLAs. - ### Do publishers get any insight into how the measurement is judged? Having the The HUMAN Security RTD submodule be part of the prebid process will allow the publisher to have insight @@ -211,13 +214,10 @@ inventory to the buyer. ### How are privacy concerns addressed? -The HUMAN Security RTD submodule seeks to reduce the impacts from signal deprecation that are inevitable without -compromising privacy by avoiding re-identification. Each bid request is enriched with just enough signal -to identify if the traffic is invalid or not. - -By having the The HUMAN Security RTD submodule operate at the Prebid level, data can be controlled -and not as freely passed through the bidstream where it may be accessible to various unknown parties. +The HUMAN Security RTD submodule seeks to reduce the impacts of signal deprecation without compromising privacy. +Each bid request is enriched with just enough signal to identify if the traffic is invalid or not, and these +signals are encrypted before being included in bid requests to prevent misuse. Note: anti-fraud use cases typically have carve outs in laws and regulations to permit data collection essential for effective fraud mitigation, but this does not constitute legal advice and you should -consult your attorney when making data access decisions. +consult your attorney when making data access decisions. \ No newline at end of file diff --git a/modules/humansecurityRtdProvider.ts b/modules/humansecurityRtdProvider.ts new file mode 100644 index 00000000000..96b99eadfb7 --- /dev/null +++ b/modules/humansecurityRtdProvider.ts @@ -0,0 +1,204 @@ +/** + * This module adds humansecurity provider to the real time data module + * + * The {@link module:modules/realTimeData} module is required + * The module will inject the HUMAN Security script into the context where Prebid.js is initialized, enriching bid requests with specific + * data to provide advanced protection against ad fraud and spoofing. + * @module modules/humansecurityRtdProvider + * @requires module:modules/realTimeData + */ +import { submodule } from '../src/hook.js'; +import { prefixLog, generateUUID, getWindowSelf } from '../src/utils.js'; +import { getRefererInfo } from '../src/refererDetection.js'; +import { getGlobal, PrebidJS } from '../src/prebidGlobal.js'; +import { loadExternalScript } from '../src/adloader.js'; +import { MODULE_TYPE_RTD } from '../src/activities/modules.js'; +import { AllConsentData } from '../src/consentHandler.ts'; +import type { RTDProvider, RTDProviderConfig, RtdProviderSpec } from './rtdModule/spec.ts'; +import type { StartAuctionOptions } from '../src/prebid.ts'; +import type { AuctionProperties } from '../src/auction.ts'; + +declare module './rtdModule/spec.ts' { + interface ProviderConfig { + humansecurity: { + params?: { + clientId?: string; + verbose?: boolean; + perBidderOptOut?: string[]; + }; + }; + } +} + +interface HumanSecurityImpl { + connect( + pbjs: PrebidJS, + callback: (m: string) => void | null, + config: RTDProviderConfig<'humansecurity'> + ): void; + + getBidRequestData( + reqBidsConfigObj: StartAuctionOptions, + callback: () => void, + config: RTDProviderConfig<'humansecurity'>, + userConsent: AllConsentData + ): void; + + onAuctionInitEvent( + pbjs: PrebidJS, + auctionDetails: AuctionProperties, + config: RTDProviderConfig<'humansecurity'>, + userConsent: AllConsentData + ): void; +} + +const SUBMODULE_NAME = 'humansecurity' as const; +const SCRIPT_URL = 'https://sonar.script.ac/prebid/rtd.js'; +const MODULE_VERSION = 1; + +const { logWarn, logError } = prefixLog(`[${SUBMODULE_NAME}]:`); + +let implRef: HumanSecurityImpl | null = null; +let clientId: string = ''; +let verbose: boolean = false; +let sessionId: string = ''; + +/** + * Injects HUMAN Security script on the page to facilitate pre-bid signal collection. + */ + +const load = (config: RTDProviderConfig<'humansecurity'>) => { + // Load implementation script and pass configuration parameters via data attributes + clientId = config?.params?.clientId || ''; + if (clientId && (typeof clientId !== 'string' || !/^\w{3,16}$/.test(clientId))) { + throw new Error(`The 'clientId' parameter must be a short alphanumeric string`); + } + + // Load/reset the state + verbose = !!config?.params?.verbose; + implRef = null; + sessionId = generateUUID(); + + // Get the best domain possible here, it still might be null + const refDomain = getRefererInfo().domain || ''; + + // Once loaded, the implementation script will publish an API using + // the session ID value it was given in data attributes + const scriptAttrs = { 'data-sid': sessionId }; + const scriptUrl = `${SCRIPT_URL}?r=${refDomain}${clientId ? `&c=${clientId}` : ''}&mv=${MODULE_VERSION}`; + + loadExternalScript(scriptUrl, MODULE_TYPE_RTD, SUBMODULE_NAME, () => onImplLoaded(config), null, scriptAttrs); +} + +/** + * Retrieves the implementation object created by the loaded script + * using the session ID as a key + */ + +const getImpl = () => { + // Use cached reference if already resolved + if (implRef && typeof implRef === 'object' && typeof implRef.connect === 'function') return implRef; + + // Attempt to resolve from window by session ID + const wnd = getWindowSelf(); + const impl: HumanSecurityImpl = wnd[`sonar_${sessionId}`]; + + if (typeof impl !== 'object' || typeof impl.connect !== 'function') { + verbose && logWarn('onload', 'Unable to access the implementation script'); + return; + } + implRef = impl; + return impl; +} + +/** + * The callback to loadExternalScript + * Establishes the bridge between this RTD submodule and the loaded implementation + */ + +const onImplLoaded = (config: RTDProviderConfig<'humansecurity'>) => { + const impl = getImpl(); + if (!impl) return; + + // And set up a bridge between the RTD submodule and the implementation. + impl.connect(getGlobal(), null, config); +} + +/** + * The bridge function will be called by the implementation script + * to update the token information or report errors + */ + +/** + * https://docs.prebid.org/dev-docs/add-rtd-submodule.html#getbidrequestdata + */ + +const getBidRequestData = ( + reqBidsConfigObj: StartAuctionOptions, + callback: () => void, + config: RtdProviderSpec<'humansecurity'>, + userConsent: AllConsentData +) => { + const impl = getImpl(); + if (!impl || typeof impl.getBidRequestData !== 'function') { + // Implementation not available; continue auction by invoking the callback. + callback(); + return; + } + + impl.getBidRequestData(reqBidsConfigObj, callback, config, userConsent); +} + +/** + * Event hooks + * https://docs.prebid.org/dev-docs/add-rtd-submodule.html#using-event-listeners + */ + +const onAuctionInitEvent = (auctionDetails: AuctionProperties, config: RTDProviderConfig<'humansecurity'>, userConsent: AllConsentData) => { + const impl = getImpl(); + if (!impl || typeof impl.onAuctionInitEvent !== 'function') return; + impl.onAuctionInitEvent(getGlobal(), auctionDetails, config, userConsent); +} + +/** + * Submodule registration + */ + +type RtdProviderSpecWithHooks

= RtdProviderSpec

& { + onAuctionInitEvent?: (auctionDetails: AuctionProperties, config: RTDProviderConfig

, userConsent: AllConsentData) => void; +}; + +const subModule: RtdProviderSpecWithHooks<'humansecurity'> = ({ + name: SUBMODULE_NAME, + init: (config, _userConsent) => { + try { + load(config); + return true; + } catch (err) { + const message = (err && typeof err === 'object' && 'message' in err) + ? (err as any).message + : String(err); + logError('init', message); + return false; + } + }, + getBidRequestData, + onAuctionInitEvent, +}); + +const registerSubModule = () => { submodule('realTimeData', subModule); } +registerSubModule(); + +/** + * Exporting local (and otherwise encapsulated to this module) functions + * for testing purposes + */ + +export const __TEST__ = { + SUBMODULE_NAME, + SCRIPT_URL, + main: registerSubModule, + load, + onImplLoaded, + getBidRequestData +}; diff --git a/test/spec/modules/humansecurityRtdProvider_spec.js b/test/spec/modules/humansecurityRtdProvider_spec.js index c6ad163c544..2104ffc6edd 100644 --- a/test/spec/modules/humansecurityRtdProvider_spec.js +++ b/test/spec/modules/humansecurityRtdProvider_spec.js @@ -10,10 +10,7 @@ const { SUBMODULE_NAME, SCRIPT_URL, main, - load, - onImplLoaded, - onImplMessage, - onGetBidRequestData + load } = __TEST__; describe('humansecurity RTD module', function () { @@ -23,20 +20,20 @@ describe('humansecurity RTD module', function () { const sonarStubId = `sonar_${stubUuid}`; const stubWindow = { [sonarStubId]: undefined }; - beforeEach(function() { + beforeEach(function () { sandbox = sinon.createSandbox(); sandbox.stub(utils, 'getWindowSelf').returns(stubWindow); sandbox.stub(utils, 'generateUUID').returns(stubUuid); sandbox.stub(refererDetection, 'getRefererInfo').returns({ domain: 'example.com' }); }); - afterEach(function() { + afterEach(function () { sandbox.restore(); }); describe('Initialization step', function () { let sandbox2; let connectSpy; - beforeEach(function() { + beforeEach(function () { sandbox2 = sinon.createSandbox(); connectSpy = sandbox.spy(); // Once the impl script is loaded, it registers the API using session ID @@ -46,6 +43,17 @@ describe('humansecurity RTD module', function () { sandbox2.restore(); }); + it('should connect to the implementation script once it loads', function () { + load({}); + + expect(loadExternalScriptStub.calledOnce).to.be.true; + const callback = loadExternalScriptStub.getCall(0).args[3]; + expect(callback).to.be.a('function'); + const args = connectSpy.getCall(0).args; + expect(args[0]).to.haveOwnProperty('cmd'); // pbjs global + expect(args[0]).to.haveOwnProperty('que'); + }); + it('should accept valid configurations', function () { // Default configuration - empty expect(() => load({})).to.not.throw(); @@ -62,14 +70,19 @@ describe('humansecurity RTD module', function () { }); it('should insert implementation script', () => { - load({ }); + load({}); expect(loadExternalScriptStub.calledOnce).to.be.true; const args = loadExternalScriptStub.getCall(0).args; - expect(args[0]).to.be.equal(`${SCRIPT_URL}?r=example.com`); + expect(args[0]).to.include(`${SCRIPT_URL}?r=example.com`); + const mvMatch = args[0].match(/[?&]mv=([^&]+)/); + expect(mvMatch).to.not.equal(null); + const mvValue = Number(mvMatch[1]); + expect(Number.isFinite(mvValue)).to.equal(true); + expect(mvValue).to.be.greaterThan(0); expect(args[2]).to.be.equal(SUBMODULE_NAME); - expect(args[3]).to.be.equal(onImplLoaded); + expect(args[3]).to.be.a('function'); expect(args[4]).to.be.equal(null); expect(args[5]).to.be.deep.equal({ 'data-sid': 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' }); }); @@ -80,90 +93,14 @@ describe('humansecurity RTD module', function () { expect(loadExternalScriptStub.calledOnce).to.be.true; const args = loadExternalScriptStub.getCall(0).args; - expect(args[0]).to.be.equal(`${SCRIPT_URL}?r=example.com&c=customer123`); - }); - - it('should connect to the implementation script once it loads', function () { - load({ }); - - expect(loadExternalScriptStub.calledOnce).to.be.true; - expect(connectSpy.calledOnce).to.be.true; - - const args = connectSpy.getCall(0).args; - expect(args[0]).to.haveOwnProperty('cmd'); // pbjs global - expect(args[0]).to.haveOwnProperty('que'); - expect(args[1]).to.be.equal(onImplMessage); - }); - }); - - describe('Bid enrichment step', function () { - const hmnsData = { 'v1': 'sometoken' }; - - let sandbox2; - let callbackSpy; - let reqBidsConfig; - beforeEach(function() { - sandbox2 = sinon.createSandbox(); - callbackSpy = sandbox2.spy(); - reqBidsConfig = { ortb2Fragments: { bidder: {}, global: {} } }; - }); - afterEach(function () { - sandbox2.restore(); - }); - - it('should add empty device.ext.hmns to global ortb2 when data is yet to be received from the impl script', () => { - load({ }); - - onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); - - expect(callbackSpy.calledOnce).to.be.true; - expect(reqBidsConfig.ortb2Fragments.global).to.have.own.property('device'); - expect(reqBidsConfig.ortb2Fragments.global.device).to.have.own.property('ext'); - expect(reqBidsConfig.ortb2Fragments.global.device.ext).to.have.own.property('hmns').which.is.an('object').that.deep.equals({}); - }); - - it('should add the default device.ext.hmns to global ortb2 when no "hmns" data was yet received', () => { - load({ }); - - onImplMessage({ type: 'info', data: 'not a hmns message' }); - onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); - - expect(callbackSpy.calledOnce).to.be.true; - expect(reqBidsConfig.ortb2Fragments.global).to.have.own.property('device'); - expect(reqBidsConfig.ortb2Fragments.global.device).to.have.own.property('ext'); - expect(reqBidsConfig.ortb2Fragments.global.device.ext).to.have.own.property('hmns').which.is.an('object').that.deep.equals({}); - }); - - it('should add device.ext.hmns with received tokens to global ortb2 when the data was received', () => { - load({ }); - - onImplMessage({ type: 'hmns', data: hmnsData }); - onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); - - expect(callbackSpy.calledOnce).to.be.true; - expect(reqBidsConfig.ortb2Fragments.global).to.have.own.property('device'); - expect(reqBidsConfig.ortb2Fragments.global.device).to.have.own.property('ext'); - expect(reqBidsConfig.ortb2Fragments.global.device.ext).to.have.own.property('hmns').which.is.an('object').that.deep.equals(hmnsData); - }); - - it('should update device.ext.hmns with new data', () => { - load({ }); - - onImplMessage({ type: 'hmns', data: { 'v1': 'should be overwritten' } }); - onImplMessage({ type: 'hmns', data: hmnsData }); - onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); - - expect(callbackSpy.calledOnce).to.be.true; - expect(reqBidsConfig.ortb2Fragments.global).to.have.own.property('device'); - expect(reqBidsConfig.ortb2Fragments.global.device).to.have.own.property('ext'); - expect(reqBidsConfig.ortb2Fragments.global.device.ext).to.have.own.property('hmns').which.is.an('object').that.deep.equals(hmnsData); + expect(args[0]).to.include(`${SCRIPT_URL}?r=example.com&c=customer123`); }); }); - describe('Sumbodule execution', function() { + describe('Submodule execution', function () { let sandbox2; let submoduleStub; - beforeEach(function() { + beforeEach(function () { sandbox2 = sinon.createSandbox(); submoduleStub = sandbox2.stub(hook, 'submodule'); }); @@ -203,7 +140,7 @@ describe('humansecurity RTD module', function () { it('should commence initialization on default initialization', function () { const { init } = getModule(); - expect(init({ })).to.equal(true); + expect(init({})).to.equal(true); expect(loadExternalScriptStub.calledOnce).to.be.true; }); }); From 439b0aaa1a7fa2c8024916208c61b849663392f1 Mon Sep 17 00:00:00 2001 From: Luca Corbo Date: Thu, 5 Feb 2026 03:14:59 +0100 Subject: [PATCH 163/248] WURFL RTD: update module documentation (#14364) * WURFL RTD: update module documentation * WURFL RTD: update module documentation --- modules/wurflRtdProvider.md | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/modules/wurflRtdProvider.md b/modules/wurflRtdProvider.md index 30651a6ddea..4bc088303e0 100644 --- a/modules/wurflRtdProvider.md +++ b/modules/wurflRtdProvider.md @@ -8,10 +8,11 @@ ## Description -The WURFL RTD module enriches the OpenRTB 2.0 device data with [WURFL data](https://www.scientiamobile.com/wurfl-js-business-edition-at-the-intersection-of-javascript-and-enterprise/). -The module sets the WURFL data in `device.ext.wurfl` and all the bidder adapters will always receive the low entry capabilities like `is_mobile`, `complete_device_name` and `form_factor`, and the `wurfl_id`. +The WURFL RTD module enriches Prebid.js bid requests with comprehensive device detection data. -For a more detailed analysis bidders can subscribe to detect iPhone and iPad models and receive additional [WURFL device capabilities](https://www.scientiamobile.com/capabilities/?products%5B%5D=wurfl-js). +The WURFL RTD module relies on localStorage caching and local client-side detection, providing instant device enrichment on every page load. + +The module enriches `ortb2.device` with complete device information and adds extended WURFL capabilities to `device.ext.wurfl`, ensuring all bidder adapters have immediate access to enriched device data. **Note:** This module loads a dynamically generated JavaScript from prebid.wurflcloud.com @@ -34,10 +35,8 @@ Use `setConfig` to instruct Prebid.js to initilize the WURFL RTD module, as spec This module is configured as part of the `realTimeData.dataProviders` ```javascript -var TIMEOUT = 1000; pbjs.setConfig({ realTimeData: { - auctionDelay: TIMEOUT, dataProviders: [ { name: "wurfl", @@ -49,16 +48,14 @@ pbjs.setConfig({ ### Parameters -| Name | Type | Description | Default | -| :------------------ | :------ | :--------------------------------------------------------------- | :------------- | -| name | String | Real time data module name | Always 'wurfl' | -| waitForIt | Boolean | Should be `true` if there's an `auctionDelay` defined (optional) | `false` | -| params | Object | | | -| params.altHost | String | Alternate host to connect to WURFL.js | | -| params.abTest | Boolean | Enable A/B testing mode | `false` | -| params.abName | String | A/B test name identifier | `'unknown'` | -| params.abSplit | Number | Fraction of users in treatment group (0-1) | `0.5` | -| params.abExcludeLCE | Boolean | Don't apply A/B testing to LCE bids | `true` | +| Name | Type | Description | Default | +| :------------- | :------ | :----------------------------------------- | :------------- | +| name | String | Real time data module name | Always 'wurfl' | +| params | Object | | | +| params.altHost | String | Alternate host to connect to WURFL.js | | +| params.abTest | Boolean | Enable A/B testing mode | `false` | +| params.abName | String | A/B test name identifier | `'unknown'` | +| params.abSplit | Number | Fraction of users in treatment group (0-1) | `0.5` | ### A/B Testing @@ -67,15 +64,13 @@ The WURFL RTD module supports A/B testing to measure the impact of WURFL enrichm ```javascript pbjs.setConfig({ realTimeData: { - auctionDelay: 1000, dataProviders: [ { name: "wurfl", - waitForIt: true, params: { abTest: true, - abName: "pub_test_sept23", - abSplit: 0.5, // 50% treatment, 50% control + abName: "pub_test", + abSplit: 0.75, // 75% treatment, 25% control }, }, ], From 16c5f973bb9b01f0b97f9130d257b400c7c910c7 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Wed, 4 Feb 2026 21:25:54 -0500 Subject: [PATCH 164/248] Change humansecurityRtdProvider.js to .ts extension --- plugins/eslint/approvedLoadExternalScriptPaths.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/eslint/approvedLoadExternalScriptPaths.js b/plugins/eslint/approvedLoadExternalScriptPaths.js index 8a2d2d2a4d5..95552535439 100644 --- a/plugins/eslint/approvedLoadExternalScriptPaths.js +++ b/plugins/eslint/approvedLoadExternalScriptPaths.js @@ -14,7 +14,7 @@ const APPROVED_LOAD_EXTERNAL_SCRIPT_PATHS = [ 'modules/brandmetricsRtdProvider.js', 'modules/cleanioRtdProvider.js', 'modules/humansecurityMalvDefenseRtdProvider.js', - 'modules/humansecurityRtdProvider.js', + 'modules/humansecurityRtdProvider.ts', 'modules/confiantRtdProvider.js', 'modules/contxtfulRtdProvider.js', 'modules/hadronRtdProvider.js', From 8a5fb8bcccb089011281f8f3e5b747c6d5b2422c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bendeg=C3=BAz=20=C3=81cs?= <30595431+acsbendi@users.noreply.github.com> Date: Thu, 5 Feb 2026 03:29:02 +0100 Subject: [PATCH 165/248] Kobler bid adapter: pass adunitcode in bid request. (#14392) * Page view ID. * Page view ID. * Removed console.log. * Removed unused import. * Improved example. * Fixed some tests. * Kobler bid adapter: pass adunitcode in bid request. --- modules/koblerBidAdapter.js | 7 ++++- test/spec/modules/koblerBidAdapter_spec.js | 30 +++++++++++++++++----- 2 files changed, 30 insertions(+), 7 deletions(-) diff --git a/modules/koblerBidAdapter.js b/modules/koblerBidAdapter.js index 2b0c55b2fb9..0eb6a74abfe 100644 --- a/modules/koblerBidAdapter.js +++ b/modules/koblerBidAdapter.js @@ -204,7 +204,12 @@ function buildOpenRtbImpObject(validBidRequest) { }, bidfloor: floorInfo.floor, bidfloorcur: floorInfo.currency, - pmp: buildPmpObject(validBidRequest) + pmp: buildPmpObject(validBidRequest), + ext: { + prebid: { + adunitcode: validBidRequest.adUnitCode + } + } }; } diff --git a/test/spec/modules/koblerBidAdapter_spec.js b/test/spec/modules/koblerBidAdapter_spec.js index 4e70ac6f9f3..8b771e3eef7 100644 --- a/test/spec/modules/koblerBidAdapter_spec.js +++ b/test/spec/modules/koblerBidAdapter_spec.js @@ -26,9 +26,9 @@ function createBidderRequest(auctionId, timeout, pageUrl, gdprVendorData = {}, p }; } -function createValidBidRequest(params, bidId, sizes) { +function createValidBidRequest(params, bidId, sizes, adUnitCode) { const validBidRequest = { - adUnitCode: 'adunit-code', + adUnitCode: adUnitCode || 'adunit-code', bidId: bidId || '22c4871113f461', bidder: 'kobler', bidderRequestId: '15246a574e859f', @@ -451,7 +451,8 @@ describe('KoblerAdapter', function () { dealIds: ['623472534328234'] }, '953ee65d-d18a-484f-a840-d3056185a060', - [[400, 600]] + [[400, 600]], + 'ad-unit-1' ), createValidBidRequest( { @@ -459,12 +460,14 @@ describe('KoblerAdapter', function () { dealIds: ['92368234753283', '263845832942'] }, '8320bf79-9d90-4a17-87c6-5d505706a921', - [[400, 500], [200, 250], [300, 350]] + [[400, 500], [200, 250], [300, 350]], + 'ad-unit-2' ), createValidBidRequest( undefined, 'd0de713b-32e3-4191-a2df-a007f08ffe72', - [[800, 900]] + [[800, 900]], + 'ad-unit-3' ) ]; const bidderRequest = createBidderRequest( @@ -520,6 +523,11 @@ describe('KoblerAdapter', function () { id: '623472534328234' } ] + }, + ext: { + prebid: { + adunitcode: 'ad-unit-1' + } } }, { @@ -553,6 +561,11 @@ describe('KoblerAdapter', function () { id: '263845832942' } ] + }, + ext: { + prebid: { + adunitcode: 'ad-unit-2' + } } }, { @@ -569,7 +582,12 @@ describe('KoblerAdapter', function () { }, bidfloor: 0, bidfloorcur: 'USD', - pmp: {} + pmp: {}, + ext: { + prebid: { + adunitcode: 'ad-unit-3' + } + } } ], device: { From 3d91b02505a4372a156bbd03d4061558a2a0047c Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Wed, 4 Feb 2026 18:33:37 -0800 Subject: [PATCH 166/248] percentInView: fix bug where viewability calculation is inaccurate inside friendly iframes (#14414) * percentInView: fix bug where viewability calculation is inaccurate inside friendly iframes * use boundingClientRect --- libraries/percentInView/percentInView.js | 39 +++++++++++++++-- test/spec/libraries/percentInView_spec.js | 40 +++++++++++++++++ test/spec/modules/connatixBidAdapter_spec.js | 43 ++++++++++++------- test/spec/modules/marsmediaBidAdapter_spec.js | 11 +++-- test/spec/modules/omsBidAdapter_spec.js | 11 ++--- test/spec/modules/onomagicBidAdapter_spec.js | 12 +++--- test/test_deps.js | 8 ++++ 7 files changed, 131 insertions(+), 33 deletions(-) create mode 100644 test/spec/libraries/percentInView_spec.js diff --git a/libraries/percentInView/percentInView.js b/libraries/percentInView/percentInView.js index 27148e40941..5b9dfa10503 100644 --- a/libraries/percentInView/percentInView.js +++ b/libraries/percentInView/percentInView.js @@ -1,6 +1,29 @@ import { getWinDimensions, inIframe } from '../../src/utils.js'; import { getBoundingClientRect } from '../boundingClientRect/boundingClientRect.js'; +/** + * return the offset between the given window's viewport and the top window's. + */ +export function getViewportOffset(win = window) { + let x = 0; + let y = 0; + try { + while (win?.frameElement != null) { + const rect = getBoundingClientRect(win.frameElement); + x += rect.left; + y += rect.top; + win = win.parent; + } + } catch (e) { + // offset cannot be calculated as some parents are cross-frame + // fallback to 0,0 + x = 0; + y = 0; + } + + return {x, y}; +} + export function getBoundingBox(element, {w, h} = {}) { let {width, height, left, top, right, bottom, x, y} = getBoundingClientRect(element); @@ -44,14 +67,24 @@ function getIntersectionOfRects(rects) { export const percentInView = (element, {w, h} = {}) => { const elementBoundingBox = getBoundingBox(element, {w, h}); - const { innerHeight, innerWidth } = getWinDimensions(); + // when in an iframe, the bounding box is relative to the iframe's viewport + // since we are intersecting it with the top window's viewport, attempt to + // compensate for the offset between them + + const offset = getViewportOffset(element?.ownerDocument?.defaultView); + elementBoundingBox.left += offset.x; + elementBoundingBox.right += offset.x; + elementBoundingBox.top += offset.y; + elementBoundingBox.bottom += offset.y; + + const dims = getWinDimensions(); // Obtain the intersection of the element and the viewport const elementInViewBoundingBox = getIntersectionOfRects([{ left: 0, top: 0, - right: innerWidth, - bottom: innerHeight + right: dims.document.documentElement.clientWidth, + bottom: dims.document.documentElement.clientHeight }, elementBoundingBox]); let elementInViewArea, elementTotalArea; diff --git a/test/spec/libraries/percentInView_spec.js b/test/spec/libraries/percentInView_spec.js new file mode 100644 index 00000000000..92c44edace8 --- /dev/null +++ b/test/spec/libraries/percentInView_spec.js @@ -0,0 +1,40 @@ +import {getViewportOffset} from '../../../libraries/percentInView/percentInView.js'; + +describe('percentInView', () => { + describe('getViewportOffset', () => { + function mockWindow(offsets = []) { + let win, leaf, child; + win = leaf = {}; + for (const [x, y] of offsets) { + win.frameElement = { + getBoundingClientRect() { + return {left: x, top: y}; + } + }; + child = win; + win = {}; + child.parent = win; + } + return leaf; + } + it('returns 0, 0 for the top window', () => { + expect(getViewportOffset(mockWindow())).to.eql({x: 0, y: 0}); + }); + + it('returns frame offset for a direct child', () => { + expect(getViewportOffset(mockWindow([[10, 20]]))).to.eql({x: 10, y: 20}); + }); + it('returns cumulative offests for descendants', () => { + expect(getViewportOffset(mockWindow([[10, 20], [20, 30]]))).to.eql({x: 30, y: 50}); + }); + it('does not choke when parent is not accessible', () => { + const win = mockWindow([[10, 20]]); + Object.defineProperty(win, 'frameElement', { + get() { + throw new Error(); + } + }); + expect(getViewportOffset(win)).to.eql({x: 0, y: 0}); + }); + }); +}); diff --git a/test/spec/modules/connatixBidAdapter_spec.js b/test/spec/modules/connatixBidAdapter_spec.js index 35e60c403af..aa9bdac75bd 100644 --- a/test/spec/modules/connatixBidAdapter_spec.js +++ b/test/spec/modules/connatixBidAdapter_spec.js @@ -142,10 +142,12 @@ describe('connatixBidAdapter', function () { let element; let getBoundingClientRectStub; let topWinMock; + let sandbox; beforeEach(() => { + sandbox = sinon.createSandbox(); element = document.createElement('div'); - getBoundingClientRectStub = sinon.stub(element, 'getBoundingClientRect'); + getBoundingClientRectStub = sandbox.stub(element, 'getBoundingClientRect'); topWinMock = { document: { @@ -154,10 +156,18 @@ describe('connatixBidAdapter', function () { innerWidth: 800, innerHeight: 600 }; + sandbox.stub(winDimensions, 'getWinDimensions').callsFake(() => ({ + document: { + documentElement: { + clientWidth: topWinMock.innerWidth, + clientHeight: topWinMock.innerHeight + } + } + })); }); afterEach(() => { - getBoundingClientRectStub.restore(); + sandbox.restore(); }); it('should return 0 if the document is not visible', () => { @@ -180,25 +190,18 @@ describe('connatixBidAdapter', function () { it('should return the correct percentage if the element is partially in view', () => { const boundingBox = { left: 700, top: 500, right: 900, bottom: 700, width: 200, height: 200 }; getBoundingClientRectStub.returns(boundingBox); - const getWinDimensionsStub = sinon.stub(winDimensions, 'getWinDimensions'); - getWinDimensionsStub.returns({ innerWidth: topWinMock.innerWidth, innerHeight: topWinMock.innerHeight}); - const viewability = connatixGetViewability(element, topWinMock); expect(viewability).to.equal(25); // 100x100 / 200x200 = 0.25 -> 25% - getWinDimensionsStub.restore(); }); it('should return 0% if the element is not in view', () => { - const getWinDimensionsStub = sinon.stub(winDimensions, 'getWinDimensions'); - getWinDimensionsStub.returns({ innerWidth: topWinMock.innerWidth, innerHeight: topWinMock.innerHeight}); const boundingBox = { left: 900, top: 700, right: 1100, bottom: 900, width: 200, height: 200 }; getBoundingClientRectStub.returns(boundingBox); const viewability = connatixGetViewability(element, topWinMock); expect(viewability).to.equal(0); - getWinDimensionsStub.restore(); }); it('should use provided width and height if element dimensions are zero', () => { @@ -218,10 +221,12 @@ describe('connatixBidAdapter', function () { let topWinMock; let querySelectorStub; let getElementByIdStub; + let sandbox; beforeEach(() => { + sandbox = sinon.createSandbox(); element = document.createElement('div'); - getBoundingClientRectStub = sinon.stub(element, 'getBoundingClientRect'); + getBoundingClientRectStub = sandbox.stub(element, 'getBoundingClientRect'); topWinMock = { document: { @@ -231,14 +236,22 @@ describe('connatixBidAdapter', function () { innerHeight: 600 }; - querySelectorStub = sinon.stub(window.top.document, 'querySelector'); - getElementByIdStub = sinon.stub(document, 'getElementById'); + querySelectorStub = sandbox.stub(window.top.document, 'querySelector'); + getElementByIdStub = sandbox.stub(document, 'getElementById'); + sandbox.stub(winDimensions, 'getWinDimensions').callsFake(() => ( + { + document: { + documentElement: { + clientWidth: topWinMock.innerWidth, + clientHeight: topWinMock.innerHeight + } + } + } + )); }); afterEach(() => { - getBoundingClientRectStub.restore(); - querySelectorStub.restore(); - getElementByIdStub.restore(); + sandbox.restore(); }); it('should return 100% viewability when the element is fully within view and has a valid viewabilityContainerIdentifier', () => { diff --git a/test/spec/modules/marsmediaBidAdapter_spec.js b/test/spec/modules/marsmediaBidAdapter_spec.js index 30c68601767..c8a0109a94b 100644 --- a/test/spec/modules/marsmediaBidAdapter_spec.js +++ b/test/spec/modules/marsmediaBidAdapter_spec.js @@ -32,13 +32,15 @@ describe('marsmedia adapter tests', function () { }; win = { document: { - visibilityState: 'visible' + visibilityState: 'visible', + documentElement: { + clientWidth: 800, + clientHeight: 600 + } }, location: { href: 'http://location' }, - innerWidth: 800, - innerHeight: 600 }; this.defaultBidderRequest = { 'refererInfo': { @@ -506,6 +508,8 @@ describe('marsmedia adapter tests', function () { context('when element is fully in view', function() { it('returns 100', function() { + sandbox.stub(internal, 'getWindowTop').returns(win); + resetWinDimensions(); Object.assign(element, { width: 600, height: 400 }); const request = marsAdapter.buildRequests(this.defaultBidRequestList, this.defaultBidderRequest); const openrtbRequest = JSON.parse(request.data); @@ -530,7 +534,6 @@ describe('marsmedia adapter tests', function () { const request = marsAdapter.buildRequests(this.defaultBidRequestList, this.defaultBidderRequest); const openrtbRequest = JSON.parse(request.data); expect(openrtbRequest.imp[0].ext.viewability).to.equal(75); - internal.getWindowTop.restore(); }); }); diff --git a/test/spec/modules/omsBidAdapter_spec.js b/test/spec/modules/omsBidAdapter_spec.js index f1f7df46843..3b9c0779fb0 100644 --- a/test/spec/modules/omsBidAdapter_spec.js +++ b/test/spec/modules/omsBidAdapter_spec.js @@ -34,7 +34,11 @@ describe('omsBidAdapter', function () { }; win = { document: { - visibilityState: 'visible' + visibilityState: 'visible', + documentElement: { + clientWidth: 800, + clientHeight: 600, + } }, location: { href: "http:/location" @@ -80,6 +84,7 @@ describe('omsBidAdapter', function () { sandbox = sinon.createSandbox(); sandbox.stub(document, 'getElementById').withArgs('adunit-code').returns(element); + sandbox.stub(winDimensions, 'getWinDimensions').returns(win); sandbox.stub(utils, 'getWindowTop').returns(win); sandbox.stub(utils, 'getWindowSelf').returns(win); }); @@ -347,8 +352,6 @@ describe('omsBidAdapter', function () { context('when element is partially in view', function () { it('returns percentage', function () { - const getWinDimensionsStub = sandbox.stub(winDimensions, 'getWinDimensions') - getWinDimensionsStub.returns({ innerHeight: win.innerHeight, innerWidth: win.innerWidth }); Object.assign(element, {width: 800, height: 800}); const request = spec.buildRequests(bidRequests); const payload = JSON.parse(request.data); @@ -358,8 +361,6 @@ describe('omsBidAdapter', function () { context('when width or height of the element is zero', function () { it('try to use alternative values', function () { - const getWinDimensionsStub = sandbox.stub(winDimensions, 'getWinDimensions') - getWinDimensionsStub.returns({ innerHeight: win.innerHeight, innerWidth: win.innerWidth }); Object.assign(element, {width: 0, height: 0}); bidRequests[0].mediaTypes.banner.sizes = [[800, 2400]]; const request = spec.buildRequests(bidRequests); diff --git a/test/spec/modules/onomagicBidAdapter_spec.js b/test/spec/modules/onomagicBidAdapter_spec.js index 6b4d44f49ed..d043363b34d 100644 --- a/test/spec/modules/onomagicBidAdapter_spec.js +++ b/test/spec/modules/onomagicBidAdapter_spec.js @@ -34,9 +34,12 @@ describe('onomagicBidAdapter', function() { }; win = { document: { - visibilityState: 'visible' + visibilityState: 'visible', + documentElement: { + clientWidth: 800, + clientHeight: 600 + } }, - innerWidth: 800, innerHeight: 600 }; @@ -57,6 +60,7 @@ describe('onomagicBidAdapter', function() { }]; sandbox = sinon.createSandbox(); + sandbox.stub(winDimensions, 'getWinDimensions').returns(win); sandbox.stub(document, 'getElementById').withArgs('adunit-code').returns(element); sandbox.stub(utils, 'getWindowTop').returns(win); sandbox.stub(utils, 'getWindowSelf').returns(win); @@ -162,8 +166,6 @@ describe('onomagicBidAdapter', function() { context('when element is partially in view', function() { it('returns percentage', function() { - const getWinDimensionsStub = sandbox.stub(winDimensions, 'getWinDimensions') - getWinDimensionsStub.returns({ innerHeight: win.innerHeight, innerWidth: win.innerWidth }); Object.assign(element, { width: 800, height: 800 }); const request = spec.buildRequests(bidRequests); const payload = JSON.parse(request.data); @@ -173,8 +175,6 @@ describe('onomagicBidAdapter', function() { context('when width or height of the element is zero', function() { it('try to use alternative values', function() { - const getWinDimensionsStub = sandbox.stub(winDimensions, 'getWinDimensions') - getWinDimensionsStub.returns({ innerHeight: win.innerHeight, innerWidth: win.innerWidth }); Object.assign(element, { width: 0, height: 0 }); bidRequests[0].mediaTypes.banner.sizes = [[800, 2400]]; const request = spec.buildRequests(bidRequests); diff --git a/test/test_deps.js b/test/test_deps.js index 7047e775d9c..5f0ab890035 100644 --- a/test/test_deps.js +++ b/test/test_deps.js @@ -41,6 +41,14 @@ sinon.createFakeServerWithClock = fakeServerWithClock.create.bind(fakeServerWith localStorage.clear(); +if (window.frameElement != null) { + // sometimes (e.g. chrome headless) the tests run in an iframe that is offset from the top window + // other times (e.g. browser debug page) they run in the top window + // this can cause inconsistencies with the percentInView libraries; if we are in a frame, + // fake the same dimensions as the top window + window.frameElement.getBoundingClientRect = () => window.top.getBoundingClientRect(); +} + require('test/helpers/global_hooks.js'); require('test/helpers/consentData.js'); require('test/helpers/prebidGlobal.js'); From 39455b53fdb322a43c8efa69311e9e247d4aa88c Mon Sep 17 00:00:00 2001 From: mkomorski Date: Thu, 5 Feb 2026 20:47:36 +0100 Subject: [PATCH 167/248] New module: Shaping rules (#14079) * initial commit * storeSplits method * unit tests * remove test * removing storing & extract merging ortb2 * lint * adding default handling * lint * merge fpd cache * review fixes * refactoring, bug fixing, tests * lint * extending bidPrice schema function * removing invalid example * session random * rename * module name * random per auction * modifies some schema function to return value instead of condition result * extra schema evaluators * json fix * evaluating rules per auction * evaluating rules per auction * static config * auctionId * safe guards * registering activities only once * expose configuration type; update integ example rules json URL * evaluating rules fix * fixing model group selection --------- Co-authored-by: Demetrio Girardi Co-authored-by: Patrick McCann --- integrationExamples/shapingRules/rules.json | 151 +++ .../shapingRules/shapingRulesModule.html | 168 ++++ modules/rules/index.ts | 506 +++++++++++ src/activities/activities.js | 5 + src/adapterManager.ts | 82 +- src/auction.ts | 17 +- src/auctionIndex.js | 1 + test/spec/modules/rules_spec.js | 856 ++++++++++++++++++ 8 files changed, 1756 insertions(+), 30 deletions(-) create mode 100644 integrationExamples/shapingRules/rules.json create mode 100644 integrationExamples/shapingRules/shapingRulesModule.html create mode 100644 modules/rules/index.ts create mode 100644 test/spec/modules/rules_spec.js diff --git a/integrationExamples/shapingRules/rules.json b/integrationExamples/shapingRules/rules.json new file mode 100644 index 00000000000..3be6ecfb574 --- /dev/null +++ b/integrationExamples/shapingRules/rules.json @@ -0,0 +1,151 @@ +{ + "enabled": true, + "generateRulesFromBidderConfig": true, + "timestamp": "20250131 00:00:00", + "ruleSets": [ + { + "stage": "processed-auction-request", + "name": "exclude-in-jpn", + "version": "1234", + "modelGroups": [ + { + "weight": 98, + "analyticsKey": "experiment-name", + "version": "4567", + "schema": [ + { "function": "deviceCountryIn", "args": [["JPN"]] } + ], + "default": [], + "rules": [ + { + "conditions": ["true"], + "results": [ + { + "function": "excludeBidders", + "args": [ + { "bidders": ["testBidder"], "seatnonbid": 203, "analyticsValue": "rmjpn" }, + { "bidders": ["bidderD"], "seatnonbid": 203, "ifSyncedId": false, "analyticsValue": "rmjpn" } + ] + } + ] + }, + { + "conditions": [], + "results": [] + } + ] + }, + { + "weight": 2, + "analyticsKey": "experiment-name-2", + "version": "4567", + "schema": [ + { "function": "adUnitCode" } + ], + "default": [], + "rules": [ + { + "conditions": ["adUnit-0000"], + "results": [ + { + "function": "excludeBidders", + "args": [ + { "bidders": ["testBidder"], "seatnonbid": 203, "analyticsValue": "rmjpn" }, + { "bidders": ["bidderD"], "seatnonbid": 203, "ifSyncedId": false, "analyticsValue": "rmjpn" } + ] + } + ] + } + ] + } + ] + }, + { + "stage": "processed-auction", + "modelGroups": [ + { + "schema": [{ "function": "percent", "args": [5] }], + "analyticsKey": "bidderC-testing", + "default": [ + { + "function": "logAtag", + "args": { "analyticsValue": "default-allow" } + } + ], + "rules": [ + { + "conditions": ["false"], + "results": [ + { + "function": "excludeBidders", + "args": [ + { + "bidders": ["bidderC"], + "seatnonbid": 203, + "analyticsValue": "excluded" + } + ] + } + ] + } + ] + } + ] + }, + { + "stage": "processed-auction", + "modelGroups": [ + { + "schema": [ + { + "function": "deviceCountry", "args": ["USA"] + } + ], + "rules": [ + { + "conditions": ["true"], + "results": [ + { + "function": "excludeBidders", + "args": [ + { + "bidders": ["bidderM", "bidderN", "bidderO", "bidderP"], + "seatNonBid": 203 + } + ] + } + ] + } + ] + } + ] + }, + { + "stage": "processed-auction", + "modelGroups": [ + { + "schema": [ + { "function": "deviceCountryIn", "args": [["USA", "CAN"]] } + ], + "analyticsKey": "bidder-yaml", + "rules": [ + { + "conditions": ["false"], + "results": [ + { + "function": "excludeBidders", + "args": [ + { + "bidders": ["bidderX"], + "seatNonBid": 203 + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/integrationExamples/shapingRules/shapingRulesModule.html b/integrationExamples/shapingRules/shapingRulesModule.html new file mode 100644 index 00000000000..8843348e731 --- /dev/null +++ b/integrationExamples/shapingRules/shapingRulesModule.html @@ -0,0 +1,168 @@ + + + Prebid Test Bidder Example + + + + +

Prebid Test Bidder Example

+
Banner ad
+ + + diff --git a/modules/rules/index.ts b/modules/rules/index.ts new file mode 100644 index 00000000000..a6667982b5e --- /dev/null +++ b/modules/rules/index.ts @@ -0,0 +1,506 @@ +import { setLabels } from "../../libraries/analyticsAdapter/AnalyticsAdapter.ts"; +import { timeoutQueue } from "../../libraries/timeoutQueue/timeoutQueue.ts"; +import { ACTIVITY_ADD_BID_RESPONSE, ACTIVITY_FETCH_BIDS } from "../../src/activities/activities.js"; +import { MODULE_TYPE_BIDDER } from "../../src/activities/modules.ts"; +import { ACTIVITY_PARAM_COMPONENT_NAME, ACTIVITY_PARAM_COMPONENT_TYPE } from "../../src/activities/params.js"; +import { registerActivityControl } from "../../src/activities/rules.js"; +import { ajax } from "../../src/ajax.ts"; +import { AuctionIndex } from "../../src/auctionIndex.js"; +import { auctionManager } from "../../src/auctionManager.js"; +import { config } from "../../src/config.ts"; +import { getHook } from "../../src/hook.ts"; +import { generateUUID, logInfo, logWarn } from "../../src/utils.ts"; +import { timedAuctionHook } from "../../src/utils/perfMetrics.ts"; + +/** + * Configuration interface for the shaping rules module. + */ +interface ShapingRulesConfig { + /** + * Endpoint configuration for fetching rules from a remote server. + * If not provided, rules must be provided statically via the `rules` property. + */ + endpoint?: { + /** URL endpoint to fetch rules configuration from */ + url: string; + /** HTTP method to use for fetching rules (currently only 'GET' is supported) */ + method: string; + }; + /** + * Static rules configuration object. + * If provided, rules will be used directly without fetching from endpoint. + * Takes precedence over endpoint configuration. + */ + rules?: RulesConfig; + /** + * Delay in milliseconds to wait for rules to be fetched before starting the auction. + * If rules are not loaded within this delay, the auction will proceed anyway. + * Default: 0 (no delay) + */ + auctionDelay?: number; + /** + * Custom schema evaluator functions to extend the default set of evaluators. + * Keys are function names, values are evaluator functions that take args and context, + * and return a function that evaluates to a value when called. + */ + extraSchemaEvaluators?: { + [key: string]: (args: any[], context: any) => () => any; + }; +} + +/** + * Schema function definition used to compute values. + */ +interface ModelGroupSchema { + /** Function name inside the schema */ + function: string; + /** Arguments for the schema function */ + args: any[]; +} + +/** + * Model group configuration for A/B testing with different rule configurations. + * Only one object within the group is chosen based on weight. + */ +interface ModelGroup { + /** Determines selection probability; only one object within the group is chosen */ + weight: number; + /** Indicates whether this model group is selected (set automatically based on weight) */ + selected: boolean; + /** Optional key used to produce aTags, identifying experiments or optimization targets */ + analyticsKey: string; + /** Version identifier for analytics */ + version: string; + /** + * Optional array of functions used to compute values. + * Without it, only the default rule is applied. + */ + schema: ModelGroupSchema[]; + /** + * Optional rule array; if absent, only the default rule is used. + * Each rule has conditions that must be met and results that are triggered. + */ + rules: [{ + /** Conditions that must be met for the rule to apply */ + condition: string[]; + /** Resulting actions triggered when conditions are met */ + results: [ + { + /** Function defining the result action */ + function: string; + /** Arguments for the result function */ + args: any[]; + } + ]; + }]; + /** + * Default results object used if errors occur or when no schema or rules are defined. + * Exists outside the rules array for structural clarity. + */ + default?: Array<{ + /** Function defining the default result action */ + function: string; + /** Arguments for the default result function */ + args: any; + }>; +} + +/** + * Independent set of rules that can be applied to a specific stage of the auction. + */ +interface RuleSet { + /** Human-readable name of the ruleset */ + name: string; + /** + * Indicates which module stage the ruleset applies to. + * Can be either `processed-auction-request` or `processed-auction` + */ + stage: string; + /** Version identifier for the ruleset */ + version: string; + /** + * Optional timestamp of the last update (ISO 8601 format: `YYYY-MM-DDThh:mm:ss[.sss][Z or ±hh:mm]`) + */ + timestamp?: string; + /** + * One or more model groups for A/B testing with different rule configurations. + * Allows A/B testing with different rule configurations. + */ + modelGroups: ModelGroup[]; +} + +/** + * Main configuration object for the shaping rules module. + */ +interface RulesConfig { + /** Version identifier for the rules configuration */ + version: string; + /** One or more independent sets of rules */ + ruleSets: RuleSet[]; + /** Optional timestamp of the last update (ISO 8601 format: `YYYY-MM-DDThh:mm:ss[.sss][Z or ±hh:mm]`) */ + timestamp: string; + /** Enables or disables the module. Default: `true` */ + enabled: boolean; +} + +declare module '../../src/config' { + interface Config { + shapingRules?: ShapingRulesConfig; + } +} + +const MODULE_NAME = 'shapingRules'; + +const globalRandomStore = new WeakMap<{ auctionId: string }, number>(); + +let auctionConfigStore = new Map(); + +export const dep = { + getGlobalRandom: getGlobalRandom +}; + +function getGlobalRandom(auctionId: string, auctionIndex: AuctionIndex = auctionManager.index) { + if (!auctionId) { + return Math.random(); + } + const auction = auctionIndex.getAuction({auctionId}); + if (!globalRandomStore.has(auction)) { + globalRandomStore.set(auction, Math.random()); + } + return globalRandomStore.get(auction); +} + +const unregisterFunctions: Array<() => void> = [] + +let moduleConfig: ShapingRulesConfig = { + endpoint: { + method: 'GET', + url: '' + }, + auctionDelay: 0, + extraSchemaEvaluators: {} +}; + +let fetching = false; + +let rulesLoaded = false; + +const delayedAuctions = timeoutQueue(); + +let rulesConfig: RulesConfig = null; + +export function evaluateConfig(config: RulesConfig, auctionId: string) { + if (!config || !config.ruleSets) { + logWarn(`${MODULE_NAME}: Invalid structure for rules engine`); + return; + } + + if (!config.enabled) { + logInfo(`${MODULE_NAME}: Rules engine is disabled in the configuration.`); + return; + } + + const stageRules = config.ruleSets; + + const modelGroupsWithStage = getAssignedModelGroups(stageRules || []); + + for (const { modelGroups, stage } of modelGroupsWithStage) { + const modelGroup = modelGroups.find(group => group.selected); + if (!modelGroup) continue; + evaluateRules(modelGroup.rules || [], modelGroup.schema || [], stage, modelGroup.analyticsKey, auctionId, modelGroup.default); + } +} + +export function getAssignedModelGroups(rulesets: RuleSet[]): Array<{ modelGroups: ModelGroup[], stage: string }> { + return rulesets.flatMap(ruleset => { + const { modelGroups, stage } = ruleset; + if (!modelGroups?.length) { + return []; + } + + // Calculate cumulative weights for proper weighted random selection + let cumulativeWeight = 0; + const groupsWithCumulativeWeights = modelGroups.map(group => { + const groupWeight = group.weight ?? 100; + cumulativeWeight += groupWeight; + return { + group, + cumulativeWeight + }; + }); + + const weightSum = cumulativeWeight; + // Generate random value in range [0, weightSum) + // This ensures each group gets probability proportional to its weight + const randomValue = Math.random() * weightSum; + + // Find first group where cumulative weight >= randomValue + let selectedIndex = groupsWithCumulativeWeights.findIndex(({ cumulativeWeight }) => randomValue < cumulativeWeight); + + // Fallback: if no group was selected (shouldn't happen, but safety check) + if (selectedIndex === -1) { + selectedIndex = modelGroups.length - 1; + } + + // Create new model groups array with selected flag + const newModelGroups = modelGroups.map((group, index) => ({ + ...group, + selected: index === selectedIndex + })); + + return { + modelGroups: newModelGroups, + stage + }; + }); +} + +function evaluateRules(rules, schema, stage, analyticsKey, auctionId: string, defaultResults?) { + const modelGroupConfig = auctionConfigStore.get(auctionId) || []; + modelGroupConfig.push({ + rules, + schema, + stage, + analyticsKey, + defaultResults, + }); + auctionConfigStore.set(auctionId, modelGroupConfig); +} + +const schemaEvaluators = { + percent: (args, context) => () => { + const auctionId = context.auctiondId || context.bid?.auctionId; + return dep.getGlobalRandom(auctionId) * 100 < args[0] + }, + adUnitCode: (args, context) => () => context.adUnit.code, + adUnitCodeIn: (args, context) => () => args[0].includes(context.adUnit.code), + deviceCountry: (args, context) => () => context.ortb2?.device?.geo?.country, + deviceCountryIn: (args, context) => () => args[0].includes(context.ortb2?.device?.geo?.country), + channel: (args, context) => () => 'web', + eidAvailable: (args, context) => () => { + const eids = context.ortb2?.user?.eids || []; + return eids.length > 0; + }, + userFpdAvailable: (args, context) => () => { + const fpd = context.ortb2?.user?.data || {}; + const extFpd = context.ortb2?.user?.ext?.data || {}; + const mergedFpd = { ...fpd, ...extFpd }; + return Object.keys(mergedFpd).length > 0; + }, + fpdAvailable: (args, context) => () => { + const extData = context.ortb2?.user?.ext?.data || {}; + const usrData = context.ortb2?.user?.data || {}; + const siteExtData = context.ortb2?.site?.ext?.data || {}; + const siteContentData = context.ortb2?.site?.content?.data || {}; + const appExtData = context.ortb2?.app?.ext?.data || {}; + const appContentData = context.ortb2?.app?.content?.data || {}; + const mergedFpd = { ...extData, ...usrData, ...siteExtData, ...siteContentData, ...appExtData, ...appContentData }; + return Object.keys(mergedFpd).length > 0; + }, + gppSidIn: (args, context) => () => { + const gppSids = context.ortb2?.regs?.gpp_sid || []; + return args[0].some((sid) => gppSids.includes(sid)); + }, + tcfInScope: (args, context) => () => context.ortb2?.regs?.ext?.gdpr === 1, + domain: (args, context) => () => { + const domain = context.ortb2?.site?.domain || context.ortb2?.app?.domain || ''; + return domain; + }, + domainIn: (args, context) => () => { + const domain = context.ortb2?.site?.domain || context.ortb2?.app?.domain || ''; + return args[0].includes(domain); + }, + bundle: (args, context) => () => { + const bundle = context.ortb2?.app?.bundle || ''; + return bundle; + }, + bundleIn: (args, context) => () => { + const bundle = context.ortb2?.app?.bundle || ''; + return args[0].includes(bundle); + }, + mediaTypeIn: (args, context) => () => { + const mediaTypes = Object.keys(context.adUnit?.mediaTypes) || []; + return args[0].some((type) => mediaTypes.includes(type)); + }, + deviceTypeIn: (args, context) => () => { + const deviceType = context.ortb2?.device?.devicetype; + return args[0].includes(deviceType); + }, + bidPrice: (args, context) => () => { + const [operator, currency, value] = args || []; + const {cpm: bidPrice, currency: bidCurrency} = context.bid || {}; + if (bidCurrency !== currency) { + return false; + } + if (operator === 'gt') { + return bidPrice > value; + } else if (operator === 'gte') { + return bidPrice >= value; + } else if (operator === 'lt') { + return bidPrice < value; + } else if (operator === 'lte') { + return bidPrice <= value; + } + return false; + } +}; + +export function evaluateSchema(func, args, context) { + const extraEvaluators = moduleConfig.extraSchemaEvaluators || {}; + const evaluators = { ...schemaEvaluators, ...extraEvaluators }; + const evaluator = evaluators[func]; + if (evaluator) { + return evaluator(args, context); + } + return () => null; +} + +function evaluateCondition(condition, func) { + switch (condition) { + case '*': + return true + case 'true': + return func() === true; + case 'false': + return func() === false; + default: + return func() === condition; + } +} + +export function fetchRules(endpoint = moduleConfig.endpoint) { + if (fetching) { + logWarn(`${MODULE_NAME}: A fetch is already occurring. Skipping.`); + return; + } + + if (!endpoint?.url || endpoint?.method !== 'GET') return; + + fetching = true; + ajax(endpoint.url, { + success: (response: any) => { + fetching = false; + rulesLoaded = true; + rulesConfig = JSON.parse(response); + delayedAuctions.resume(); + logInfo(`${MODULE_NAME}: Rules configuration fetched successfully.`); + }, + error: () => { + fetching = false; + } + }, null, { method: 'GET' }); +} + +export function registerActivities() { + const stages = { + [ACTIVITY_FETCH_BIDS]: 'processed-auction-request', + [ACTIVITY_ADD_BID_RESPONSE]: 'processed-auction', + }; + + [ACTIVITY_FETCH_BIDS, ACTIVITY_ADD_BID_RESPONSE].forEach(activity => { + unregisterFunctions.push( + registerActivityControl(activity, MODULE_NAME, (params) => { + const auctionId = params.auctionId || params.bid?.auctionId; + if (params[ACTIVITY_PARAM_COMPONENT_TYPE] !== MODULE_TYPE_BIDDER) return; + if (!auctionId) return; + + const checkConditions = ({schema, conditions, stage}) => { + for (const [index, schemaEntry] of schema.entries()) { + const schemaFunction = evaluateSchema(schemaEntry.function, schemaEntry.args || [], params); + if (evaluateCondition(conditions[index], schemaFunction)) { + return true; + } + } + return false; + } + + const results = []; + let modelGroups = auctionConfigStore.get(auctionId) || []; + modelGroups = modelGroups.filter(modelGroup => modelGroup.stage === stages[activity]); + + // evaluate applicable results for each model group + for (const modelGroup of modelGroups) { + // find first rule that matches conditions + const selectedRule = modelGroup.rules.find(rule => checkConditions({...rule, schema: modelGroup.schema})); + if (selectedRule) { + results.push(...selectedRule.results); + } else if (Array.isArray(modelGroup.defaultResults)) { + const defaults = modelGroup.defaultResults.map(result => ({...result, analyticsKey: modelGroup.analyticsKey})); + results.push(...defaults); + } + } + + // set analytics labels for logAtag results + results + .filter(result => result.function === 'logAtag') + .forEach((result) => { + setLabels({ [auctionId + '-' + result.analyticsKey]: result.args.analyticsValue }); + }); + + // verify current bidder against applicable rules + const allow = results + .filter(result => ['excludeBidders', 'includeBidders'].includes(result.function)) + .every((result) => { + return result.args.every(({bidders}) => { + const bidderIncluded = bidders.includes(params[ACTIVITY_PARAM_COMPONENT_NAME]); + return result.function === 'excludeBidders' ? !bidderIncluded : bidderIncluded; + }); + }); + + if (!allow) { + return { allow, reason: `Bidder ${params.bid?.bidder} excluded by rules module` }; + } + }) + ); + }); +} + +export const startAuctionHook = timedAuctionHook('rules', function startAuctionHook(fn, req) { + req.auctionId = req.auctionId || generateUUID(); + evaluateConfig(rulesConfig, req.auctionId); + fn.call(this, req); +}); + +export const requestBidsHook = timedAuctionHook('rules', function requestBidsHook(fn, reqBidsConfigObj) { + const { auctionDelay = 0 } = moduleConfig; + const continueAuction = ((that) => () => fn.call(that, reqBidsConfigObj))(this); + + if (!rulesLoaded && auctionDelay > 0) { + delayedAuctions.submit(auctionDelay, continueAuction, () => { + logWarn(`${MODULE_NAME}: Fetch attempt did not return in time for auction ${reqBidsConfigObj.auctionId}`) + continueAuction(); + }); + } else { + continueAuction(); + } +}); + +function init(config: ShapingRulesConfig) { + moduleConfig = config; + registerActivities(); + auctionManager.onExpiry(auction => { + auctionConfigStore.delete(auction.getAuctionId()); + }); + // use static config if provided + if (config.rules) { + rulesConfig = config.rules; + } else { + fetchRules(); + } + getHook('requestBids').before(requestBidsHook, 50); + getHook('startAuction').before(startAuctionHook, 50); +} + +export function reset() { + try { + getHook('requestBids').getHooks({hook: requestBidsHook}).remove(); + getHook('startAuction').getHooks({hook: startAuctionHook}).remove(); + unregisterFunctions.forEach(unregister => unregister()); + unregisterFunctions.length = 0; + auctionConfigStore.clear(); + } catch (e) { + } + setLabels({}); +} + +config.getConfig(MODULE_NAME, config => init(config[MODULE_NAME])); diff --git a/src/activities/activities.js b/src/activities/activities.js index 53d73e26c3b..f436222603b 100644 --- a/src/activities/activities.js +++ b/src/activities/activities.js @@ -60,3 +60,8 @@ export const LOAD_EXTERNAL_SCRIPT = 'loadExternalScript'; * accessRequestCredentials: setting withCredentials flag in ajax request config */ export const ACTIVITY_ACCESS_REQUEST_CREDENTIALS = 'accessRequestCredentials'; + +/** + * acceptBid: a bid is about to be accepted. + */ +export const ACTIVITY_ADD_BID_RESPONSE = 'acceptBid'; diff --git a/src/adapterManager.ts b/src/adapterManager.ts index 1483899029f..7c0faf40d1d 100644 --- a/src/adapterManager.ts +++ b/src/adapterManager.ts @@ -93,7 +93,7 @@ config.getConfig('s2sConfig', config => { } }); -const activityParams = activityParamsBuilder((alias) => adapterManager.resolveAlias(alias)); +export const activityParams = activityParamsBuilder((alias) => adapterManager.resolveAlias(alias)); function getConfigName(s2sConfig) { // According to our docs, "module" bid (stored impressions) @@ -506,6 +506,45 @@ const adapterManager = { .filter(uniques) .forEach(incrementAuctionsCounter); + const ortb2 = ortb2Fragments.global || {}; + const bidderOrtb2 = ortb2Fragments.bidder || {}; + + const getTid = tidFactory(); + + const getCacheKey = (bidderCode: BidderCode, s2sActivityParams?): string => { + const s2sName = s2sActivityParams != null ? s2sActivityParams[ACTIVITY_PARAM_S2S_NAME] : ''; + return s2sName ? `${bidderCode}:${s2sName}` : `${bidderCode}:`; + }; + + const mergeBidderFpd = (() => { + const fpdCache: any = {}; + return function(auctionId: string, bidderCode: BidderCode, s2sActivityParams?) { + const cacheKey = getCacheKey(bidderCode, s2sActivityParams); + const redact = dep.redact( + s2sActivityParams != null + ? s2sActivityParams + : activityParams(MODULE_TYPE_BIDDER, bidderCode) + ); + if (fpdCache[cacheKey] !== undefined) { + return [fpdCache[cacheKey], redact]; + } + const [tid, tidSource] = getTid(bidderCode, auctionId, bidderOrtb2[bidderCode]?.source?.tid ?? ortb2.source?.tid); + const fpd = Object.freeze(redact.ortb2(mergeDeep( + {}, + ortb2, + bidderOrtb2[bidderCode], + { + source: { + tid, + ext: {tidSource} + } + } + ))); + fpdCache[cacheKey] = fpd; + return [fpd, redact]; + } + })(); + let {[PARTITIONS.CLIENT]: clientBidders, [PARTITIONS.SERVER]: serverBidders} = partitionBidders(adUnits, _s2sConfigs); const allowedBidders = new Set(); @@ -513,10 +552,22 @@ const adapterManager = { if (!isPlainObject(au.mediaTypes)) { au.mediaTypes = {}; } + // filter out bidders that cannot participate in the auction - au.bids = au.bids.filter((bid) => !bid.bidder || dep.isAllowed(ACTIVITY_FETCH_BIDS, activityParams(MODULE_TYPE_BIDDER, bid.bidder, { - isS2S: serverBidders.includes(bid.bidder) && !clientBidders.includes(bid.bidder) - }))) + au.bids = au.bids.filter((bid) => { + if (!bid.bidder) { + return true; + } + const [ortb2] = mergeBidderFpd(auctionId, bid.bidder); + const isS2S = serverBidders.includes(bid.bidder) && !clientBidders.includes(bid.bidder); + return dep.isAllowed(ACTIVITY_FETCH_BIDS, activityParams(MODULE_TYPE_BIDDER, bid.bidder, { + bid, + ortb2, + adUnit: au, + auctionId, + isS2S + })); + }); au.bids.forEach(bid => { allowedBidders.add(bid.bidder); }); @@ -535,29 +586,8 @@ const adapterManager = { const bidRequests: BidderRequest[] = []; - const ortb2 = ortb2Fragments.global || {}; - const bidderOrtb2 = ortb2Fragments.bidder || {}; - - const getTid = tidFactory(); - function addOrtb2>(bidderRequest: Partial, s2sActivityParams?): T { - const redact = dep.redact( - s2sActivityParams != null - ? s2sActivityParams - : activityParams(MODULE_TYPE_BIDDER, bidderRequest.bidderCode) - ); - const [tid, tidSource] = getTid(bidderRequest.bidderCode, bidderRequest.auctionId, bidderOrtb2[bidderRequest.bidderCode]?.source?.tid ?? ortb2.source?.tid); - const fpd = Object.freeze(redact.ortb2(mergeDeep( - {}, - ortb2, - bidderOrtb2[bidderRequest.bidderCode], - { - source: { - tid, - ext: {tidSource} - } - } - ))); + const [fpd, redact] = mergeBidderFpd(bidderRequest.auctionId, bidderRequest.bidderCode, s2sActivityParams); bidderRequest.ortb2 = fpd; bidderRequest.bids = bidderRequest.bids.map((bid) => { bid.ortb2 = fpd; diff --git a/src/auction.ts b/src/auction.ts index 97984dae443..a6912be69be 100644 --- a/src/auction.ts +++ b/src/auction.ts @@ -22,7 +22,7 @@ import {AUDIO, VIDEO} from './mediaTypes.js'; import {auctionManager} from './auctionManager.js'; import {bidderSettings} from './bidderSettings.js'; import * as events from './events.js'; -import adapterManager, {type BidderRequest, type BidRequest} from './adapterManager.js'; +import adapterManager, {activityParams, type BidderRequest, type BidRequest} from './adapterManager.js'; import {EVENTS, GRANULARITY_OPTIONS, JSON_MAPPING, REJECTION_REASON, S2S, TARGETING_KEYS} from './constants.js'; import {defer, PbPromise} from './utils/promise.js'; import {type Metrics, useMetrics} from './utils/perfMetrics.js'; @@ -36,6 +36,9 @@ import type {TargetingMap} from "./targeting.ts"; import type {AdUnit} from "./adUnits.ts"; import type {MediaType} from "./mediaTypes.ts"; import type {VideoContext} from "./video.ts"; +import { isActivityAllowed } from './activities/rules.js'; +import { ACTIVITY_ADD_BID_RESPONSE } from './activities/activities.js'; +import { MODULE_TYPE_BIDDER } from './activities/modules.ts'; const { syncUsers } = userSync; @@ -252,7 +255,7 @@ export function newAuction({adUnits, adUnitCodes, callback, cbTimeout, labels, a done.resolve(); events.emit(EVENTS.AUCTION_END, getProperties()); - bidsBackCallback(_adUnits, function () { + bidsBackCallback(_adUnits, auctionId, function () { try { if (_callback != null) { const bids = _bidsReceived.toArray() @@ -469,7 +472,13 @@ declare module './hook' { */ export const addBidResponse = ignoreCallbackArg(hook('async', function(adUnitCode: string, bid: Partial, reject: (reason: (typeof REJECTION_REASON)[keyof typeof REJECTION_REASON]) => void): void { if (!isValidPrice(bid)) { - reject(REJECTION_REASON.PRICE_TOO_HIGH) + reject(REJECTION_REASON.PRICE_TOO_HIGH); + } else if (!isActivityAllowed(ACTIVITY_ADD_BID_RESPONSE, activityParams(MODULE_TYPE_BIDDER, bid.bidder || bid.bidderCode, { + bid, + ortb2: auctionManager.index.getOrtb2(bid), + adUnit: auctionManager.index.getAdUnit(bid), + }))) { + reject(REJECTION_REASON.BIDDER_DISALLOWED); } else { this.dispatch.call(null, adUnitCode, bid); } @@ -487,7 +496,7 @@ export const addBidderRequests = hook('sync', function(bidderRequests) { this.dispatch.call(this.context, bidderRequests); }, 'addBidderRequests'); -export const bidsBackCallback = hook('async', function (adUnits, callback) { +export const bidsBackCallback = hook('async', function (adUnits, auctionId, callback) { if (callback) { callback(); } diff --git a/src/auctionIndex.js b/src/auctionIndex.js index 0bf0fb88943..320e247de87 100644 --- a/src/auctionIndex.js +++ b/src/auctionIndex.js @@ -11,6 +11,7 @@ * Bid responses are not guaranteed to have a corresponding request. * @property {function({ requestId?: string }): *} getBidRequest Returns bidRequest object for requestId. * Bid responses are not guaranteed to have a corresponding request. + * @property {function} getOrtb2 Returns ortb2 object for bid */ /** diff --git a/test/spec/modules/rules_spec.js b/test/spec/modules/rules_spec.js new file mode 100644 index 00000000000..12353de1a2e --- /dev/null +++ b/test/spec/modules/rules_spec.js @@ -0,0 +1,856 @@ +import { expect } from 'chai'; +import * as rulesModule from 'modules/rules/index.ts'; +import * as utils from 'src/utils.js'; +import * as storageManager from 'src/storageManager.js'; +import * as analyticsAdapter from 'libraries/analyticsAdapter/AnalyticsAdapter.ts'; +import { isActivityAllowed } from 'src/activities/rules.js'; +import { activityParams } from 'src/activities/activityParams.js'; +import { ACTIVITY_FETCH_BIDS, ACTIVITY_ADD_BID_RESPONSE } from 'src/activities/activities.js'; +import { MODULE_TYPE_BIDDER } from 'src/activities/modules.ts'; +import { config } from 'src/config.js'; + +describe('Rules Module', function() { + let sandbox; + let logWarnStub; + let logInfoStub; + let newStorageManagerStub; + + beforeEach(function() { + sandbox = sinon.createSandbox(); + + logWarnStub = sandbox.stub(utils, 'logWarn'); + logInfoStub = sandbox.stub(utils, 'logInfo'); + + const mockStorageManager = { + localStorageIsEnabled: sandbox.stub().returns(true), + getDataFromLocalStorage: sandbox.stub().returns(null), + setDataInLocalStorage: sandbox.stub() + }; + newStorageManagerStub = sandbox.stub(storageManager, 'newStorageManager').returns(mockStorageManager); + }); + + afterEach(function() { + sandbox.restore(); + config.resetConfig(); + rulesModule.reset(); + }); + + describe('getAssignedModelGroups', function() { + it('should select model group based on weights', function() { + const rulesets = [{ + name: 'testRuleSet', + stage: 'processed-auction-request', + modelGroups: [{ + weight: 50, + selected: false, + analyticsKey: 'testKey1', + schema: [], + rules: [] + }, { + weight: 50, + selected: false, + analyticsKey: 'testKey2', + schema: [], + rules: [] + }] + }]; + + // Mock Math.random to return 0.15 (15 < 50, so first group should be selected) + // randomValue = 0.15 * 100 = 15, 15 < 50 so first group selected + sandbox.stub(Math, 'random').returns(0.15); + + const result = rulesModule.getAssignedModelGroups(rulesets); + + // Verify that first model group was selected in the returned result + expect(result[0].modelGroups[0].selected).to.be.true; + expect(result[0].modelGroups[1].selected).to.be.false; + // Verify original was not mutated + expect(rulesets[0].modelGroups[0].selected).to.be.false; + expect(rulesets[0].modelGroups[1].selected).to.be.false; + }); + + it('should use default weight of 100 when weight is not specified', function() { + const rulesets = [{ + name: 'testRuleSet', + stage: 'processed-auction-request', + modelGroups: [{ + // weight not specified, should default to 100 + selected: false, + analyticsKey: 'testKey1', + schema: [], + rules: [] + }, { + // weight not specified, should default to 100 + selected: false, + analyticsKey: 'testKey2', + schema: [], + rules: [] + }, { + // weight not specified, should default to 100 + selected: false, + analyticsKey: 'testKey3', + schema: [], + rules: [] + }] + }]; + + // Mock Math.random to return value that selects last group + // randomValue = 0.85 * 300 = 255 + // Cumulative weights: [100, 200, 300] + // First group: 255 < 100? No + // Second group: 255 < 200? No + // Third group: 255 < 300? Yes, selected! + sandbox.stub(Math, 'random').returns(0.85); + + const result = rulesModule.getAssignedModelGroups(rulesets); + + expect(result[0].modelGroups[0].selected).to.be.false; + expect(result[0].modelGroups[1].selected).to.be.false; + expect(result[0].modelGroups[2].selected).to.be.true; + // Verify original was not mutated + expect(rulesets[0].modelGroups[0].selected).to.be.false; + expect(rulesets[0].modelGroups[1].selected).to.be.false; + expect(rulesets[0].modelGroups[2].selected).to.be.false; + }); + + it('should select correctly regardless of weight order (descending)', function() { + const rulesets = [{ + name: 'testRuleSet', + stage: 'processed-auction-request', + modelGroups: [{ + weight: 100, // largest first + selected: false, + analyticsKey: 'testKey1', + schema: [], + rules: [] + }, { + weight: 50, // medium + selected: false, + analyticsKey: 'testKey2', + schema: [], + rules: [] + }, { + weight: 25, // smallest last + selected: false, + analyticsKey: 'testKey3', + schema: [], + rules: [] + }] + }]; + + // randomValue = 0.3 * 175 = 52.5 + // Cumulative weights: [100, 150, 175] + // First group: 52.5 < 100? Yes, selected! + sandbox.stub(Math, 'random').returns(0.3); + + const result = rulesModule.getAssignedModelGroups(rulesets); + + expect(result[0].modelGroups[0].selected).to.be.true; + expect(result[0].modelGroups[1].selected).to.be.false; + expect(result[0].modelGroups[2].selected).to.be.false; + }); + + it('should select correctly regardless of weight order (mixed)', function() { + const rulesets = [{ + name: 'testRuleSet', + stage: 'processed-auction-request', + modelGroups: [{ + weight: 30, // medium + selected: false, + analyticsKey: 'testKey1', + schema: [], + rules: [] + }, { + weight: 100, // largest in middle + selected: false, + analyticsKey: 'testKey2', + schema: [], + rules: [] + }, { + weight: 20, // smallest last + selected: false, + analyticsKey: 'testKey3', + schema: [], + rules: [] + }] + }]; + + // randomValue = 0.6 * 150 = 90 + // Cumulative weights: [30, 130, 150] + // First group: 90 < 30? No + // Second group: 90 < 130? Yes, selected! + sandbox.stub(Math, 'random').returns(0.6); + + const result = rulesModule.getAssignedModelGroups(rulesets); + + expect(result[0].modelGroups[0].selected).to.be.false; + expect(result[0].modelGroups[1].selected).to.be.true; + expect(result[0].modelGroups[2].selected).to.be.false; + }); + + it('should select last group when randomValue is in last range', function() { + const rulesets = [{ + name: 'testRuleSet', + stage: 'processed-auction-request', + modelGroups: [{ + weight: 10, + selected: false, + analyticsKey: 'testKey1', + schema: [], + rules: [] + }, { + weight: 20, + selected: false, + analyticsKey: 'testKey2', + schema: [], + rules: [] + }, { + weight: 70, // largest weight + selected: false, + analyticsKey: 'testKey3', + schema: [], + rules: [] + }] + }]; + + // randomValue = 0.8 * 100 = 80 + // Cumulative weights: [10, 30, 100] + // First group: 80 < 10? No + // Second group: 80 < 30? No + // Third group: 80 < 100? Yes, selected! + sandbox.stub(Math, 'random').returns(0.8); + + const result = rulesModule.getAssignedModelGroups(rulesets); + + expect(result[0].modelGroups[0].selected).to.be.false; + expect(result[0].modelGroups[1].selected).to.be.false; + expect(result[0].modelGroups[2].selected).to.be.true; + }); + + it('should select first group when randomValue is very small', function() { + const rulesets = [{ + name: 'testRuleSet', + stage: 'processed-auction-request', + modelGroups: [{ + weight: 10, // smallest + selected: false, + analyticsKey: 'testKey1', + schema: [], + rules: [] + }, { + weight: 50, + selected: false, + analyticsKey: 'testKey2', + schema: [], + rules: [] + }, { + weight: 40, + selected: false, + analyticsKey: 'testKey3', + schema: [], + rules: [] + }] + }]; + + // randomValue = 0.01 * 100 = 1 + // Cumulative weights: [10, 60, 100] + // First group: 1 < 10? Yes, selected! + sandbox.stub(Math, 'random').returns(0.01); + + const result = rulesModule.getAssignedModelGroups(rulesets); + + expect(result[0].modelGroups[0].selected).to.be.true; + expect(result[0].modelGroups[1].selected).to.be.false; + expect(result[0].modelGroups[2].selected).to.be.false; + }); + }); + + describe('evaluateConfig', function() { + beforeEach(function() { + rulesModule.registerActivities(); + }); + + [ + ['processed-auction-request', ACTIVITY_FETCH_BIDS], + ['processed-auction', ACTIVITY_ADD_BID_RESPONSE] + ].forEach(([stage, activity]) => { + it(`should exclude bidder when it matches bidders list for ${stage} stage`, function() { + const rulesJson = { + enabled: true, + timestamp: '1234567890', + ruleSets: [{ + name: 'testRuleSet', + stage: stage, + version: '1.0', + modelGroups: [{ + weight: 100, + selected: true, + analyticsKey: 'testAnalyticsKey', + schema: [{ function: 'adUnitCode', args: [] }], + rules: [{ + conditions: ['adUnit-0000'], + results: [{ + function: 'excludeBidders', + args: [{ + bidders: ['bidder1'], + analyticsValue: 'excluded' + }] + }] + }] + }] + }] + }; + + sandbox.stub(Math, 'random').returns(0.5); + + const bidder1Params = activityParams(MODULE_TYPE_BIDDER, 'bidder1', { + adUnit: { code: 'adUnit-0000' }, + auctionId: 'test-auction-id' + }); + + const bidder2Params = activityParams(MODULE_TYPE_BIDDER, 'bidder2', { + adUnit: { code: 'adUnit-0000' }, + auctionId: 'test-auction-id' + }); + + expect(isActivityAllowed(activity, bidder1Params)).to.be.true; + expect(isActivityAllowed(activity, bidder2Params)).to.be.true; + + rulesModule.evaluateConfig(rulesJson, 'test-auction-id'); + + expect(isActivityAllowed(activity, bidder1Params)).to.be.false; + expect(isActivityAllowed(activity, bidder2Params)).to.be.true; + }); + + it(`should include only bidder when it matches bidders list for ${stage} stage`, function() { + const rulesJson = { + enabled: true, + timestamp: '1234567890', + ruleSets: [{ + name: 'testRuleSet', + stage: stage, + version: '1.0', + modelGroups: [{ + weight: 100, + selected: true, + analyticsKey: 'testAnalyticsKey', + schema: [{ function: 'adUnitCode', args: [] }], + rules: [{ + conditions: ['adUnit-0000'], + results: [{ + function: 'includeBidders', + args: [{ + bidders: ['bidder1'], + analyticsValue: 'included' + }] + }] + }] + }] + }] + }; + + sandbox.stub(Math, 'random').returns(0.5); + + const bidder1Params = activityParams(MODULE_TYPE_BIDDER, 'bidder1', { + adUnit: { code: 'adUnit-0000' }, + auctionId: 'test-auction-id' + }); + + const bidder2Params = activityParams(MODULE_TYPE_BIDDER, 'bidder2', { + adUnit: { code: 'adUnit-0000' }, + auctionId: 'test-auction-id' + }); + + expect(isActivityAllowed(activity, bidder1Params)).to.be.true; + expect(isActivityAllowed(activity, bidder2Params)).to.be.true; + + rulesModule.evaluateConfig(rulesJson, 'test-auction-id'); + + expect(isActivityAllowed(activity, bidder1Params)).to.be.true; + expect(isActivityAllowed(activity, bidder2Params)).to.be.false; + }); + }); + + it('should execute default rules when provided and no rules match', function() { + const setLabelsStub = sandbox.stub(analyticsAdapter, 'setLabels'); + const rulesJson = { + enabled: true, + timestamp: '1234567890', + ruleSets: [{ + name: 'testRuleSet', + stage: 'processed-auction-request', + version: '1.0', + modelGroups: [{ + weight: 100, + selected: true, + analyticsKey: 'testAnalyticsKey', + schema: [{ + function: 'percent', + args: [5] + }], + default: [{ + function: 'logAtag', + args: { analyticsValue: 'default-allow' } + }], + rules: [{ + conditions: ['true'], + results: [{ + function: 'excludeBidders', + args: [{ + bidders: ['bidder1'], + analyticsValue: 'excluded' + }] + }] + }] + }] + }] + }; + + sandbox.stub(Math, 'random').returns(0.5); + const auctionId = 'test-auction-id'; + rulesModule.evaluateConfig(rulesJson, auctionId); + + const bidder1Params = activityParams(MODULE_TYPE_BIDDER, 'bidder1', { + auctionId + }); + + expect(isActivityAllowed(ACTIVITY_FETCH_BIDS, bidder1Params)).to.be.true; + + expect(setLabelsStub.calledWith({ [auctionId + '-testAnalyticsKey']: 'default-allow' })).to.be.true; + + setLabelsStub.resetHistory(); + }); + }); + + describe('getGlobalRandom', function() { + it('should return the same value for the same auctionId and call Math.random only once', function() { + const auctionId = 'test-auction-id'; + const otherAuctionId = 'other-auction-id'; + const mathRandomStub = sandbox.stub(Math, 'random').returns(0.42); + const auction1 = {auctionId: auctionId}; + const auction2 = {auctionId: otherAuctionId}; + const auctions = { + [auctionId]: auction1, + [otherAuctionId]: auction2 + } + + const index = { + getAuction: ({auctionId}) => auctions[auctionId] + } + + const result1 = rulesModule.dep.getGlobalRandom(auctionId, index); + const result2 = rulesModule.dep.getGlobalRandom(auctionId, index); + const result3 = rulesModule.dep.getGlobalRandom(auctionId, index); + + expect(result1).to.equal(0.42); + expect(result2).to.equal(0.42); + expect(result3).to.equal(0.42); + expect(mathRandomStub.calledOnce).to.equal(true); + + mathRandomStub.returns(0.99); + const result4 = rulesModule.dep.getGlobalRandom(otherAuctionId, index); + + expect(result4).to.equal(0.99); + expect(mathRandomStub.calledTwice).to.equal(true); + }); + }); + + describe('evaluateSchema', function() { + it('should evaluate percent condition', function() { + sandbox.stub(rulesModule.dep, 'getGlobalRandom').returns(0.3); + const func = rulesModule.evaluateSchema('percent', [50], {}); + const result = func(); + // 30 < 50, so should return true + expect(result).to.be.true; + }); + + it('should evaluate adUnitCode condition', function() { + const context = { + adUnit: { + code: 'div-1' + } + }; + const func = rulesModule.evaluateSchema('adUnitCode', [], context); + expect(func()).to.equal('div-1'); + + const func2 = rulesModule.evaluateSchema('adUnitCode', [], context); + expect(func2()).to.equal('div-1'); + }); + + it('should evaluate adUnitCodeIn condition', function() { + const context = { + adUnit: { + code: 'div-1' + } + }; + const func = rulesModule.evaluateSchema('adUnitCodeIn', [['div-1', 'div-2']], context); + expect(func()).to.be.true; + + const func2 = rulesModule.evaluateSchema('adUnitCodeIn', [['div-3', 'div-4']], context); + expect(func2()).to.be.false; + }); + + it('should evaluate deviceCountry condition', function() { + const context = { + ortb2: { + device: { + geo: { + country: 'US' + } + } + } + }; + const func = rulesModule.evaluateSchema('deviceCountry', [], context); + expect(func()).to.equal('US'); + + const func2 = rulesModule.evaluateSchema('deviceCountry', [], context); + expect(func2()).to.equal('US'); + }); + + it('should evaluate deviceCountryIn condition', function() { + const context = { + ortb2: { + device: { + geo: { + country: 'US' + } + } + } + }; + const func = rulesModule.evaluateSchema('deviceCountryIn', [['US', 'UK']], context); + expect(func()).to.be.true; + + const func2 = rulesModule.evaluateSchema('deviceCountryIn', [['DE', 'FR']], context); + expect(func2()).to.be.false; + }); + + it('should evaluate channel condition', function() { + const context1 = { + ortb2: { + ext: { + prebid: { + channel: 'pbjs' + } + } + } + }; + const func1 = rulesModule.evaluateSchema('channel', [], context1); + expect(func1()).to.equal('web'); + }); + + it('should evaluate eidAvailable condition', function() { + const context1 = { + ortb2: { + user: { + eids: [{ source: 'test', id: '123' }] + } + } + }; + const func1 = rulesModule.evaluateSchema('eidAvailable', [], context1); + expect(func1()).to.be.true; + + const context2 = { + ortb2: { + user: { + eids: [] + } + } + }; + const func2 = rulesModule.evaluateSchema('eidAvailable', [], context2); + expect(func2()).to.be.false; + }); + + it('should evaluate userFpdAvailable condition', function() { + const context1 = { + ortb2: { + user: { + data: [{ name: 'test', segment: [] }] + } + } + }; + const func1 = rulesModule.evaluateSchema('userFpdAvailable', [], context1); + expect(func1()).to.be.true; + + const context2 = { + ortb2: { + user: { + ext: { + data: [{ name: 'test', segment: [] }] + } + } + } + }; + const func2 = rulesModule.evaluateSchema('userFpdAvailable', [], context2); + expect(func2()).to.be.true; + + const context3 = { + ortb2: { + user: {} + } + }; + const func3 = rulesModule.evaluateSchema('userFpdAvailable', [], context3); + expect(func3()).to.be.false; + }); + + it('should evaluate fpdAvailable condition', function() { + const context1 = { + ortb2: { + user: { + data: [{ name: 'test' }] + } + } + }; + const func1 = rulesModule.evaluateSchema('fpdAvailable', [], context1); + expect(func1()).to.be.true; + + const context2 = { + ortb2: { + site: { + content: { + data: [{ name: 'test' }] + } + } + } + }; + const func2 = rulesModule.evaluateSchema('fpdAvailable', [], context2); + expect(func2()).to.be.true; + + const context3 = { + ortb2: {} + }; + const func3 = rulesModule.evaluateSchema('fpdAvailable', [], context3); + expect(func3()).to.be.false; + }); + + it('should evaluate gppSidIn condition', function() { + const context1 = { + ortb2: { + regs: { + gpp_sid: [1, 2, 3] + } + } + }; + const func1 = rulesModule.evaluateSchema('gppSidIn', [[2]], context1); + expect(func1()).to.be.true; + + const func2 = rulesModule.evaluateSchema('gppSidIn', [[4]], context1); + expect(func2()).to.be.false; + }); + + it('should evaluate tcfInScope condition', function() { + const context1 = { + ortb2: { + regs: { + ext: { + gdpr: 1 + } + } + } + }; + const func1 = rulesModule.evaluateSchema('tcfInScope', [], context1); + expect(func1()).to.be.true; + + const context2 = { + regs: { + ext: { + gdpr: 0 + } + } + }; + const func2 = rulesModule.evaluateSchema('tcfInScope', [], context2); + expect(func2()).to.be.false; + }); + + it('should evaluate domain condition', function() { + const context1 = { + ortb2: { + site: { + domain: 'example.com' + } + } + }; + const func1 = rulesModule.evaluateSchema('domain', [], context1); + expect(func1()).to.equal('example.com'); + + const context2 = { + ortb2: { + app: { + domain: 'app.example.com' + } + } + }; + const func2 = rulesModule.evaluateSchema('domain', [], context2); + expect(func2()).to.equal('app.example.com'); + + const context3 = { + ortb2: {} + }; + const func3 = rulesModule.evaluateSchema('domain', [], context3); + expect(func3()).to.equal(''); + }); + + it('should evaluate domainIn condition', function() { + const context1 = { + ortb2: { + site: { + domain: 'example.com' + } + } + }; + const func1 = rulesModule.evaluateSchema('domainIn', [['example.com', 'test.com']], context1); + expect(func1()).to.be.true; + + const context2 = { + ortb2: { + app: { + domain: 'app.example.com' + } + } + }; + const func2 = rulesModule.evaluateSchema('domainIn', [['app.example.com']], context2); + expect(func2()).to.be.true; + + const func3 = rulesModule.evaluateSchema('domainIn', [['other.com']], context1); + expect(func3()).to.be.false; + }); + + it('should evaluate bundle condition', function() { + const context1 = { + ortb2: { + app: { + bundle: 'com.example.app' + } + } + }; + const func1 = rulesModule.evaluateSchema('bundle', [], context1); + expect(func1()).to.equal('com.example.app'); + + const context2 = { + ortb2: {} + }; + const func2 = rulesModule.evaluateSchema('bundle', [], context2); + expect(func2()).to.equal(''); + }); + + it('should evaluate bundleIn condition', function() { + const context1 = { + ortb2: { + app: { + bundle: 'com.example.app' + } + } + }; + const func1 = rulesModule.evaluateSchema('bundleIn', ['com.example.app'], context1); + expect(func1()).to.be.true; + + const func2 = rulesModule.evaluateSchema('bundleIn', [['com.other.app']], context1); + expect(func2()).to.be.false; + }); + + it('should evaluate mediaTypeIn condition', function() { + const context1 = { + adUnit: { + mediaTypes: { + banner: {}, + video: {} + } + } + }; + const func1 = rulesModule.evaluateSchema('mediaTypeIn', [['banner']], context1); + expect(func1()).to.be.true; + + const func2 = rulesModule.evaluateSchema('mediaTypeIn', [['native']], context1); + expect(func2()).to.be.false; + }); + + it('should evaluate deviceTypeIn condition', function() { + const context1 = { + ortb2: { + device: { + devicetype: 2 + } + } + }; + const func1 = rulesModule.evaluateSchema('deviceTypeIn', [[2, 3]], context1); + expect(func1()).to.be.true; + + const func2 = rulesModule.evaluateSchema('deviceTypeIn', [[4, 5]], context1); + expect(func2()).to.be.false; + }); + + it('should evaluate bidPrice condition', function() { + const context1 = { + bid: { + cpm: 5.50, + currency: 'USD' + } + }; + const func1 = rulesModule.evaluateSchema('bidPrice', ['gt', 'USD', 5.0], context1); + expect(func1()).to.be.true; + + const func2 = rulesModule.evaluateSchema('bidPrice', ['gt', 'USD', 6.0], context1); + expect(func2()).to.be.false; + + const func3 = rulesModule.evaluateSchema('bidPrice', ['lte', 'USD', 6.0], context1); + expect(func3()).to.be.true; + + const context3 = { + bid: { + cpm: 0, + currency: 'USD' + } + }; + const func4 = rulesModule.evaluateSchema('bidPrice', ['gt', 'USD', 1.0], context3); + expect(func4()).to.be.false; + }); + + it('should return null function for unknown schema function', function() { + const func = rulesModule.evaluateSchema('unknownFunction', [], {}); + expect(func()).to.be.null; + }); + + describe('extraSchemaEvaluators', function() { + it('should use custom browser evaluator from extraSchemaEvaluators', function() { + const browserEvaluator = (args, context) => { + return () => { + const userAgent = context.ortb2?.device?.ua || navigator.userAgent; + if (userAgent.includes('Chrome')) return 'Chrome'; + if (userAgent.includes('Firefox')) return 'Firefox'; + if (userAgent.includes('Safari')) return 'Safari'; + if (userAgent.includes('Edge')) return 'Edge'; + return 'Unknown'; + }; + }; + + config.setConfig({ + shapingRules: { + extraSchemaEvaluators: { + browser: browserEvaluator + } + } + }); + + const context1 = { + ortb2: { + device: { + ua: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/120.0.0.0' + } + } + }; + + const func1 = rulesModule.evaluateSchema('browser', [], context1); + expect(func1()).to.equal('Chrome'); + + const context2 = { + ortb2: { + device: { + ua: 'Mozilla/5.0 Firefox/121.0.0' + } + } + }; + const func2 = rulesModule.evaluateSchema('browser', [], context2); + expect(func2()).to.equal('Firefox'); + }); + }); + }); +}); From 11c4757979a57172c7c1e61e487338ff46309d09 Mon Sep 17 00:00:00 2001 From: yndxcdn Date: Thu, 5 Feb 2026 22:53:52 +0300 Subject: [PATCH 168/248] Update yandexBidAdapter.md (#14416) - Added email address to the main description - Added 'cur' parameter to the parameters list - Minor changes in the Adunit config examples --- modules/yandexBidAdapter.md | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/modules/yandexBidAdapter.md b/modules/yandexBidAdapter.md index ac454285806..9a7684d2644 100644 --- a/modules/yandexBidAdapter.md +++ b/modules/yandexBidAdapter.md @@ -8,40 +8,42 @@ Maintainer: prebid@yandex-team.com # Description -The Yandex Prebid Adapter is designed for seamless integration with Yandex's advertising services. It facilitates effective bidding by leveraging Yandex's robust ad-serving technology, ensuring publishers can maximize their ad revenue through efficient and targeted ad placements. +The Yandex Prebid Adapter is designed for seamless integration with Yandex's advertising services. It facilitates effective bidding by leveraging Yandex's robust ad-serving technology, ensuring publishers can maximize their ad revenue through efficient and targeted ad placements. Please reach out to for the integration guide and more details. For comprehensive auction analytics, consider using the [Yandex Analytics Adapter](https://docs.prebid.org/dev-docs/analytics/yandex.html). This tool provides essential insights into auction dynamics and user interactions, empowering publishers to fine-tune their strategies for optimal ad performance. # Parameters -| Name | Required? | Description | Example | Type | -|---------------|--------------------------------------------|-------------|---------|-----------| -| `placementId` | Yes | Block ID | `123-1` | `String` | -| `pageId` | No
Deprecated. Please use `placementId` | Page ID | `123` | `Integer` | -| `impId` | No
Deprecated. Please use `placementId` | Imp ID | `1` | `Integer` | +| Name | Scope | Description | Example | Type | +|---------------|----------------------------------------|--------------|------------------|-----------| +| `placementId` | Required | Placement ID | `'R-X-123456-1'` | `String` | +| `cur` | Optional. Default value is `'EUR'` | Bid Currency | `'USD'` | `String` | +| `pageId` | `Deprecated`. Please use `placementId` | Page ID | `123` | `Integer` | +| `impId` | `Deprecated`. Please use `placementId` | Imp ID | `1` | `Integer` | # Test Parameters ```javascript var adUnits = [ - { // banner + { // banner example. please check if the 'placementId' is active in Yandex UI code: 'banner-1', mediaTypes: { banner: { - sizes: [[240, 400], [300, 600]], + sizes: [[300, 250], [300, 600]], } }, bids: [ { bidder: 'yandex', params: { - placementId: '346580-1' + placementId: 'R-A-346580-1', + cur: 'USD' }, } ], }, - { // video - code: 'banner-2', + { // video example. please check if the 'placementId' is active in Yandex UI + code: 'video-1', mediaTypes: { video: { sizes: [[640, 480]], @@ -57,13 +59,14 @@ var adUnits = [ { bidder: 'yandex', params: { - placementId: '346580-1' + placementId: 'R-V-346580-1', + cur: 'USD' }, } ], }, - { // native - code: 'banner-3',, + { // native example. please check if the 'placementId' is active in Yandex UI + code: 'native-1', mediaTypes: { native: { title: { @@ -84,7 +87,7 @@ var adUnits = [ len: 90 }, sponsoredBy: { - len: 25, + len: 25 } }, }, @@ -92,7 +95,8 @@ var adUnits = [ { bidder: 'yandex', params: { - placementId: '346580-1' + placementId: 'R-A-346580-2', + cur: 'USD' }, } ], From d467970835b163f02a7f0085bca0cdfd1bb7e249 Mon Sep 17 00:00:00 2001 From: Robert Ray Martinez III Date: Thu, 5 Feb 2026 11:56:29 -0800 Subject: [PATCH 169/248] new rubicon apex url (#14417) --- modules/rubiconBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rubiconBidAdapter.js b/modules/rubiconBidAdapter.js index e8166c16f59..477da80d420 100644 --- a/modules/rubiconBidAdapter.js +++ b/modules/rubiconBidAdapter.js @@ -30,7 +30,7 @@ import {getUserSyncParams} from '../libraries/userSyncUtils/userSyncUtils.js'; const DEFAULT_INTEGRATION = 'pbjs_lite'; const DEFAULT_PBS_INTEGRATION = 'pbjs'; -const DEFAULT_RENDERER_URL = 'https://video-outstream.rubiconproject.com/apex-2.2.1.js'; +const DEFAULT_RENDERER_URL = 'https://video-outstream.rubiconproject.com/apex-2.3.7.js'; // renderer code at https://github.com/rubicon-project/apex2 let rubiConf = config.getConfig('rubicon') || {}; From cceccba68c923272e4ff3ef4de418a1a91bf836c Mon Sep 17 00:00:00 2001 From: MaksymTeqBlaze Date: Thu, 5 Feb 2026 21:57:44 +0200 Subject: [PATCH 170/248] TeqBlaze Sales Agent Bid Adapter: initial release (#14413) * TeqBlazeSalesAgent Bid Adapter: initial release * update doc --------- Co-authored-by: Patrick McCann --- modules/teqBlazeSalesAgentBidAdapter.js | 41 ++ modules/teqBlazeSalesAgentBidAdapter.md | 79 ++++ .../teqBlazeSalesAgentBidAdapter_spec.js | 440 ++++++++++++++++++ 3 files changed, 560 insertions(+) create mode 100644 modules/teqBlazeSalesAgentBidAdapter.js create mode 100644 modules/teqBlazeSalesAgentBidAdapter.md create mode 100644 test/spec/modules/teqBlazeSalesAgentBidAdapter_spec.js diff --git a/modules/teqBlazeSalesAgentBidAdapter.js b/modules/teqBlazeSalesAgentBidAdapter.js new file mode 100644 index 00000000000..f2cbf2d57db --- /dev/null +++ b/modules/teqBlazeSalesAgentBidAdapter.js @@ -0,0 +1,41 @@ +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; +import { + buildPlacementProcessingFunction, + buildRequestsBase, + interpretResponse, + isBidRequestValid +} from '../libraries/teqblazeUtils/bidderUtils.js'; + +const BIDDER_CODE = 'teqBlazeSalesAgent'; +const AD_URL = 'https://be-agent.teqblaze.io/pbjs'; + +const addCustomFieldsToPlacement = (bid, bidderRequest, placement) => { + const aeeSignals = bidderRequest.ortb2?.site?.ext?.data?.scope3_aee; + + if (aeeSignals) { + placement.axei = aeeSignals.include; + placement.axex = aeeSignals.exclude; + + if (aeeSignals.macro) { + placement.axem = aeeSignals.macro; + } + } +}; + +const placementProcessingFunction = buildPlacementProcessingFunction({ addCustomFieldsToPlacement }); + +const buildRequests = (validBidRequests = [], bidderRequest = {}) => { + return buildRequestsBase({ adUrl: AD_URL, validBidRequests, bidderRequest, placementProcessingFunction }); +}; + +export const spec = { + code: BIDDER_CODE, + supportedMediaTypes: [BANNER, VIDEO, NATIVE], + + isBidRequestValid: isBidRequestValid(['placementId']), + buildRequests, + interpretResponse +}; + +registerBidder(spec); diff --git a/modules/teqBlazeSalesAgentBidAdapter.md b/modules/teqBlazeSalesAgentBidAdapter.md new file mode 100644 index 00000000000..d0c1475643d --- /dev/null +++ b/modules/teqBlazeSalesAgentBidAdapter.md @@ -0,0 +1,79 @@ +# Overview + +``` +Module Name: TeqBlaze Sales Agent Bidder Adapter +Module Type: TeqBlaze Sales Agent Bidder Adapter +Maintainer: support@teqblaze.com +``` + +# Description + +Connects to TeqBlaze Sales Agent for bids. +TeqBlaze Sales Agent bid adapter supports Banner, Video (instream and outstream) and Native. + +# Test Parameters +``` + var adUnits = [ + // Will return static test banner + { + code: 'adunit1', + mediaTypes: { + banner: { + sizes: [ [300, 250], [320, 50] ], + } + }, + bids: [ + { + bidder: 'teqBlazeSalesAgent', + params: { + placementId: 'testBanner', + } + } + ] + }, + { + code: 'addunit2', + mediaTypes: { + video: { + playerSize: [ [640, 480] ], + context: 'instream', + minduration: 5, + maxduration: 60, + } + }, + bids: [ + { + bidder: 'teqBlazeSalesAgent', + params: { + placementId: 'testVideo', + } + } + ] + }, + { + code: 'addunit3', + mediaTypes: { + native: { + title: { + required: true + }, + body: { + required: true + }, + icon: { + required: true, + size: [64, 64] + } + } + }, + bids: [ + { + bidder: 'teqBlazeSalesAgent', + params: { + placementId: 'testNative', + } + } + ] + } + ]; +``` diff --git a/test/spec/modules/teqBlazeSalesAgentBidAdapter_spec.js b/test/spec/modules/teqBlazeSalesAgentBidAdapter_spec.js new file mode 100644 index 00000000000..f2dbe70f30d --- /dev/null +++ b/test/spec/modules/teqBlazeSalesAgentBidAdapter_spec.js @@ -0,0 +1,440 @@ +import { expect } from 'chai'; +import { spec } from '../../../modules/teqBlazeSalesAgentBidAdapter.js'; +import { BANNER, VIDEO, NATIVE } from '../../../src/mediaTypes.js'; +import { getUniqueIdentifierStr } from '../../../src/utils.js'; + +const bidder = 'teqBlazeSalesAgent'; + +describe('TeqBlazeSalesAgentBidAdapter', function () { + const userIdAsEids = [{ + source: 'test.org', + uids: [{ + id: '01**********', + atype: 1, + ext: { + third: '01***********' + } + }] + }]; + const bids = [ + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + placementId: 'testBanner', + }, + userIdAsEids + }, + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [VIDEO]: { + playerSize: [[300, 300]], + minduration: 5, + maxduration: 60 + } + }, + params: { + placementId: 'testVideo', + }, + userIdAsEids + }, + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [NATIVE]: { + native: { + title: { + required: true + }, + body: { + required: true + }, + icon: { + required: true, + size: [64, 64] + } + } + } + }, + params: { + placementId: 'testNative' + }, + userIdAsEids + } + ]; + + const invalidBid = { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + + } + } + + const bidderRequest = { + uspConsent: '1---', + gdprConsent: { + consentString: 'COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA.IFoEUQQgAIQwgIwQABAEAAAAOIAACAIAAAAQAIAgEAACEAAAAAgAQBAAAAAAAGBAAgAAAAAAAFAAECAAAgAAQARAEQAAAAAJAAIAAgAAAYQEAAAQmAgBC3ZAYzUw', + vendorData: {} + }, + refererInfo: { + referer: 'https://test.com', + page: 'https://test.com' + }, + ortb2: { + device: { + w: 1512, + h: 982, + language: 'en-UK', + }, + site: { + ext: { + data: { + scope3_aee: { + include: 'include', + exclude: 'exclude', + macro: 'macro' + } + } + } + } + }, + timeout: 500 + }; + + describe('isBidRequestValid', function () { + it('Should return true if there are bidId, params and key parameters present', function () { + expect(spec.isBidRequestValid(bids[0])).to.be.true; + }); + it('Should return false if at least one of parameters is not present', function () { + expect(spec.isBidRequestValid(invalidBid)).to.be.false; + }); + }); + + describe('buildRequests', function () { + let serverRequest = spec.buildRequests(bids, bidderRequest); + + it('Creates a ServerRequest object with method, URL and data', function () { + expect(serverRequest).to.exist; + expect(serverRequest.method).to.exist; + expect(serverRequest.url).to.exist; + expect(serverRequest.data).to.exist; + }); + + it('Returns POST method', function () { + expect(serverRequest.method).to.equal('POST'); + }); + + it('Returns general data valid', function () { + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.all.keys( + 'deviceWidth', + 'deviceHeight', + 'device', + 'language', + 'secure', + 'host', + 'page', + 'placements', + 'coppa', + 'ccpa', + 'gdpr', + 'tmax', + 'bcat', + 'badv', + 'bapp', + 'battr' + ); + expect(data.deviceWidth).to.be.a('number'); + expect(data.deviceHeight).to.be.a('number'); + expect(data.language).to.be.a('string'); + expect(data.secure).to.be.within(0, 1); + expect(data.host).to.be.a('string'); + expect(data.page).to.be.a('string'); + expect(data.coppa).to.be.a('number'); + expect(data.gdpr).to.be.a('object'); + expect(data.ccpa).to.be.a('string'); + expect(data.tmax).to.be.a('number'); + expect(data.placements).to.have.lengthOf(3); + }); + + it('Returns valid placements', function () { + const { placements } = serverRequest.data; + for (let i = 0, len = placements.length; i < len; i++) { + const placement = placements[i]; + expect(placement.placementId).to.be.oneOf(['testBanner', 'testVideo', 'testNative']); + expect(placement.adFormat).to.be.oneOf([BANNER, VIDEO, NATIVE]); + expect(placement.bidId).to.be.a('string'); + expect(placement.schain).to.be.an('object'); + expect(placement.bidfloor).to.exist.and.to.equal(0); + expect(placement.type).to.exist.and.to.equal('publisher'); + expect(placement.eids).to.exist.and.to.be.deep.equal(userIdAsEids); + expect(placement.axei).to.exist.and.to.be.equal('include'); + expect(placement.axex).to.exist.and.to.be.equal('exclude'); + expect(placement.axem).to.exist.and.to.be.equal('macro'); + + if (placement.adFormat === BANNER) { + expect(placement.sizes).to.be.an('array'); + } + switch (placement.adFormat) { + case BANNER: + expect(placement.sizes).to.be.an('array'); + break; + case VIDEO: + expect(placement.playerSize).to.be.an('array'); + expect(placement.minduration).to.be.an('number'); + expect(placement.maxduration).to.be.an('number'); + break; + case NATIVE: + expect(placement.native).to.be.an('object'); + break; + } + } + }); + + it('Returns data with gdprConsent and without uspConsent', function () { + delete bidderRequest.uspConsent; + serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data.gdpr).to.exist; + expect(data.gdpr).to.be.a('object'); + expect(data.gdpr).to.have.property('consentString'); + expect(data.gdpr).to.not.have.property('vendorData'); + expect(data.gdpr.consentString).to.equal(bidderRequest.gdprConsent.consentString); + expect(data.ccpa).to.not.exist; + delete bidderRequest.gdprConsent; + }); + + it('Returns data with uspConsent and without gdprConsent', function () { + bidderRequest.uspConsent = '1---'; + delete bidderRequest.gdprConsent; + serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data.ccpa).to.exist; + expect(data.ccpa).to.be.a('string'); + expect(data.ccpa).to.equal(bidderRequest.uspConsent); + expect(data.gdpr).to.not.exist; + }); + }); + + describe('gpp consent', function () { + it('bidderRequest.gppConsent', () => { + bidderRequest.gppConsent = { + gppString: 'abc123', + applicableSections: [8] + }; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.property('gpp'); + expect(data).to.have.property('gpp_sid'); + + delete bidderRequest.gppConsent; + }) + + it('bidderRequest.ortb2.regs.gpp', () => { + bidderRequest.ortb2 = bidderRequest.ortb2 || {}; + bidderRequest.ortb2.regs = bidderRequest.ortb2.regs || {}; + bidderRequest.ortb2.regs.gpp = 'abc123'; + bidderRequest.ortb2.regs.gpp_sid = [8]; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.property('gpp'); + expect(data).to.have.property('gpp_sid'); + }) + }); + + describe('interpretResponse', function () { + it('Should interpret banner response', function () { + const banner = { + body: [{ + mediaType: 'banner', + width: 300, + height: 250, + cpm: 0.4, + ad: 'Test', + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const bannerResponses = spec.interpretResponse(banner); + expect(bannerResponses).to.be.an('array').that.is.not.empty; + const dataItem = bannerResponses[0]; + expect(dataItem).to.have.all.keys('requestId', 'cpm', 'width', 'height', 'ad', 'ttl', 'creativeId', + 'netRevenue', 'currency', 'dealId', 'mediaType', 'meta'); + expect(dataItem.requestId).to.equal(banner.body[0].requestId); + expect(dataItem.cpm).to.equal(banner.body[0].cpm); + expect(dataItem.width).to.equal(banner.body[0].width); + expect(dataItem.height).to.equal(banner.body[0].height); + expect(dataItem.ad).to.equal(banner.body[0].ad); + expect(dataItem.ttl).to.equal(banner.body[0].ttl); + expect(dataItem.creativeId).to.equal(banner.body[0].creativeId); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal(banner.body[0].currency); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should interpret video response', function () { + const video = { + body: [{ + vastUrl: 'test.com', + mediaType: 'video', + cpm: 0.5, + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const videoResponses = spec.interpretResponse(video); + expect(videoResponses).to.be.an('array').that.is.not.empty; + + const dataItem = videoResponses[0]; + expect(dataItem).to.have.all.keys('requestId', 'cpm', 'vastUrl', 'ttl', 'creativeId', + 'netRevenue', 'currency', 'dealId', 'mediaType', 'meta'); + expect(dataItem.requestId).to.equal('23fhj33i987f'); + expect(dataItem.cpm).to.equal(0.5); + expect(dataItem.vastUrl).to.equal('test.com'); + expect(dataItem.ttl).to.equal(120); + expect(dataItem.creativeId).to.equal('2'); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal('USD'); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should interpret native response', function () { + const native = { + body: [{ + mediaType: 'native', + native: { + clickUrl: 'test.com', + title: 'Test', + image: 'test.com', + impressionTrackers: ['test.com'], + }, + ttl: 120, + cpm: 0.4, + requestId: '23fhj33i987f', + creativeId: '2', + netRevenue: true, + currency: 'USD', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const nativeResponses = spec.interpretResponse(native); + expect(nativeResponses).to.be.an('array').that.is.not.empty; + + const dataItem = nativeResponses[0]; + expect(dataItem).to.have.keys('requestId', 'cpm', 'ttl', 'creativeId', 'netRevenue', 'currency', 'mediaType', 'native', 'meta'); + expect(dataItem.native).to.have.keys('clickUrl', 'impressionTrackers', 'title', 'image') + expect(dataItem.requestId).to.equal('23fhj33i987f'); + expect(dataItem.cpm).to.equal(0.4); + expect(dataItem.native.clickUrl).to.equal('test.com'); + expect(dataItem.native.title).to.equal('Test'); + expect(dataItem.native.image).to.equal('test.com'); + expect(dataItem.native.impressionTrackers).to.be.an('array').that.is.not.empty; + expect(dataItem.native.impressionTrackers[0]).to.equal('test.com'); + expect(dataItem.ttl).to.equal(120); + expect(dataItem.creativeId).to.equal('2'); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal('USD'); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should return an empty array if invalid banner response is passed', function () { + const invBanner = { + body: [{ + width: 300, + cpm: 0.4, + ad: 'Test', + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + + const serverResponses = spec.interpretResponse(invBanner); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid video response is passed', function () { + const invVideo = { + body: [{ + mediaType: 'video', + cpm: 0.5, + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + const serverResponses = spec.interpretResponse(invVideo); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid native response is passed', function () { + const invNative = { + body: [{ + mediaType: 'native', + clickUrl: 'test.com', + title: 'Test', + impressionTrackers: ['test.com'], + ttl: 120, + requestId: '23fhj33i987f', + creativeId: '2', + netRevenue: true, + currency: 'USD', + }] + }; + const serverResponses = spec.interpretResponse(invNative); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid response is passed', function () { + const invalid = { + body: [{ + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + const serverResponses = spec.interpretResponse(invalid); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + }); +}); From ddf5a0f37b3e5889ad967faac9e461f38698ada0 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Fri, 6 Feb 2026 14:32:13 +0000 Subject: [PATCH 171/248] Prebid 10.24.0 release --- metadata/modules.json | 14 + metadata/modules/33acrossBidAdapter.json | 2 +- metadata/modules/33acrossIdSystem.json | 2 +- metadata/modules/acuityadsBidAdapter.json | 2 +- metadata/modules/adagioBidAdapter.json | 2 +- metadata/modules/adagioRtdProvider.json | 2 +- metadata/modules/adbroBidAdapter.json | 2 +- metadata/modules/addefendBidAdapter.json | 2 +- metadata/modules/adfBidAdapter.json | 2 +- metadata/modules/adfusionBidAdapter.json | 2 +- metadata/modules/adheseBidAdapter.json | 2 +- metadata/modules/adipoloBidAdapter.json | 2 +- metadata/modules/adkernelAdnBidAdapter.json | 2 +- metadata/modules/adkernelBidAdapter.json | 17 +- metadata/modules/admaticBidAdapter.json | 4 +- metadata/modules/admixerBidAdapter.json | 2 +- metadata/modules/admixerIdSystem.json | 2 +- metadata/modules/adnowBidAdapter.json | 2 +- metadata/modules/adnuntiusBidAdapter.json | 2 +- metadata/modules/adnuntiusRtdProvider.json | 2 +- metadata/modules/adoceanBidAdapter.json | 2 +- metadata/modules/adotBidAdapter.json | 2 +- metadata/modules/adponeBidAdapter.json | 2 +- metadata/modules/adqueryBidAdapter.json | 2 +- metadata/modules/adqueryIdSystem.json | 2 +- metadata/modules/adrinoBidAdapter.json | 2 +- .../modules/ads_interactiveBidAdapter.json | 2 +- metadata/modules/adtargetBidAdapter.json | 2 +- metadata/modules/adtelligentBidAdapter.json | 6 +- metadata/modules/adtelligentIdSystem.json | 2 +- metadata/modules/aduptechBidAdapter.json | 2 +- metadata/modules/adyoulikeBidAdapter.json | 2 +- metadata/modules/airgridRtdProvider.json | 2 +- metadata/modules/alkimiBidAdapter.json | 2 +- metadata/modules/allegroBidAdapter.json | 2 +- metadata/modules/amxBidAdapter.json | 2 +- metadata/modules/amxIdSystem.json | 2 +- metadata/modules/aniviewBidAdapter.json | 2 +- metadata/modules/anonymisedRtdProvider.json | 2 +- metadata/modules/appStockSSPBidAdapter.json | 2 +- metadata/modules/appierBidAdapter.json | 2 +- metadata/modules/appnexusBidAdapter.json | 8 +- metadata/modules/appushBidAdapter.json | 2 +- metadata/modules/apsBidAdapter.json | 2 +- metadata/modules/apstreamBidAdapter.json | 2 +- metadata/modules/audiencerunBidAdapter.json | 2 +- metadata/modules/axisBidAdapter.json | 2 +- metadata/modules/azerionedgeRtdProvider.json | 2 +- metadata/modules/beachfrontBidAdapter.json | 2 +- metadata/modules/beopBidAdapter.json | 2 +- metadata/modules/betweenBidAdapter.json | 2 +- metadata/modules/bidfuseBidAdapter.json | 2 +- metadata/modules/bidmaticBidAdapter.json | 2 +- metadata/modules/bidtheatreBidAdapter.json | 2 +- metadata/modules/bliinkBidAdapter.json | 2 +- metadata/modules/blockthroughBidAdapter.json | 2 +- metadata/modules/blueBidAdapter.json | 2 +- metadata/modules/bmsBidAdapter.json | 2 +- metadata/modules/boldwinBidAdapter.json | 2 +- metadata/modules/bridBidAdapter.json | 2 +- metadata/modules/browsiBidAdapter.json | 2 +- metadata/modules/bucksenseBidAdapter.json | 2 +- metadata/modules/carodaBidAdapter.json | 2 +- metadata/modules/categoryTranslation.json | 2 +- metadata/modules/ceeIdSystem.json | 2 +- metadata/modules/chromeAiRtdProvider.json | 2 +- metadata/modules/clickioBidAdapter.json | 2 +- metadata/modules/compassBidAdapter.json | 2 +- metadata/modules/conceptxBidAdapter.json | 2 +- metadata/modules/connatixBidAdapter.json | 2 +- metadata/modules/connectIdSystem.json | 2 +- metadata/modules/connectadBidAdapter.json | 2 +- .../modules/contentexchangeBidAdapter.json | 2 +- metadata/modules/conversantBidAdapter.json | 2 +- metadata/modules/copper6sspBidAdapter.json | 2 +- metadata/modules/cpmstarBidAdapter.json | 2 +- metadata/modules/criteoBidAdapter.json | 6 +- metadata/modules/criteoIdSystem.json | 6 +- metadata/modules/cwireBidAdapter.json | 2 +- metadata/modules/czechAdIdSystem.json | 2 +- metadata/modules/dailymotionBidAdapter.json | 2 +- metadata/modules/debugging.json | 2 +- metadata/modules/deepintentBidAdapter.json | 2 +- metadata/modules/defineMediaBidAdapter.json | 2 +- metadata/modules/deltaprojectsBidAdapter.json | 2 +- metadata/modules/dianomiBidAdapter.json | 2 +- metadata/modules/digitalMatterBidAdapter.json | 2 +- metadata/modules/distroscaleBidAdapter.json | 2 +- .../modules/docereeAdManagerBidAdapter.json | 2 +- metadata/modules/docereeBidAdapter.json | 2 +- metadata/modules/dspxBidAdapter.json | 2 +- metadata/modules/e_volutionBidAdapter.json | 2 +- metadata/modules/edge226BidAdapter.json | 2 +- metadata/modules/empowerBidAdapter.json | 2 +- metadata/modules/equativBidAdapter.json | 2 +- metadata/modules/eskimiBidAdapter.json | 2 +- metadata/modules/etargetBidAdapter.json | 2 +- metadata/modules/euidIdSystem.json | 2 +- metadata/modules/exadsBidAdapter.json | 2 +- metadata/modules/feedadBidAdapter.json | 2 +- metadata/modules/fwsspBidAdapter.json | 2 +- metadata/modules/gamoshiBidAdapter.json | 2 +- metadata/modules/gemiusIdSystem.json | 2 +- metadata/modules/glomexBidAdapter.json | 2 +- metadata/modules/goldbachBidAdapter.json | 2 +- metadata/modules/gridBidAdapter.json | 2 +- metadata/modules/gumgumBidAdapter.json | 2 +- metadata/modules/hadronIdSystem.json | 2 +- metadata/modules/hadronRtdProvider.json | 2 +- metadata/modules/holidBidAdapter.json | 2 +- metadata/modules/hybridBidAdapter.json | 2 +- metadata/modules/id5IdSystem.json | 246 +++++++++++++++++- metadata/modules/identityLinkIdSystem.json | 2 +- metadata/modules/illuminBidAdapter.json | 2 +- metadata/modules/impactifyBidAdapter.json | 2 +- .../modules/improvedigitalBidAdapter.json | 2 +- metadata/modules/inmobiBidAdapter.json | 2 +- metadata/modules/insticatorBidAdapter.json | 2 +- metadata/modules/intentIqIdSystem.json | 2 +- metadata/modules/invibesBidAdapter.json | 2 +- metadata/modules/ipromBidAdapter.json | 2 +- metadata/modules/ixBidAdapter.json | 2 +- metadata/modules/justIdSystem.json | 2 +- metadata/modules/justpremiumBidAdapter.json | 2 +- metadata/modules/jwplayerBidAdapter.json | 2 +- metadata/modules/kargoBidAdapter.json | 2 +- metadata/modules/kueezRtbBidAdapter.json | 2 +- .../modules/limelightDigitalBidAdapter.json | 4 +- metadata/modules/liveIntentIdSystem.json | 2 +- metadata/modules/liveIntentRtdProvider.json | 2 +- metadata/modules/livewrappedBidAdapter.json | 2 +- metadata/modules/loopmeBidAdapter.json | 2 +- metadata/modules/lotamePanoramaIdSystem.json | 2 +- metadata/modules/luponmediaBidAdapter.json | 2 +- metadata/modules/madvertiseBidAdapter.json | 2 +- metadata/modules/marsmediaBidAdapter.json | 2 +- .../modules/mediaConsortiumBidAdapter.json | 2 +- metadata/modules/mediaforceBidAdapter.json | 2 +- metadata/modules/mediafuseBidAdapter.json | 2 +- metadata/modules/mediagoBidAdapter.json | 2 +- metadata/modules/mediakeysBidAdapter.json | 2 +- metadata/modules/medianetBidAdapter.json | 4 +- metadata/modules/mediasquareBidAdapter.json | 2 +- metadata/modules/mgidBidAdapter.json | 2 +- metadata/modules/mgidRtdProvider.json | 2 +- metadata/modules/mgidXBidAdapter.json | 2 +- metadata/modules/minutemediaBidAdapter.json | 2 +- metadata/modules/missenaBidAdapter.json | 2 +- metadata/modules/mobianRtdProvider.json | 2 +- metadata/modules/mobkoiBidAdapter.json | 2 +- metadata/modules/mobkoiIdSystem.json | 2 +- metadata/modules/msftBidAdapter.json | 2 +- metadata/modules/nativeryBidAdapter.json | 2 +- metadata/modules/nativoBidAdapter.json | 2 +- metadata/modules/newspassidBidAdapter.json | 2 +- .../modules/nextMillenniumBidAdapter.json | 2 +- metadata/modules/nextrollBidAdapter.json | 2 +- metadata/modules/nexx360BidAdapter.json | 12 +- metadata/modules/nobidBidAdapter.json | 2 +- metadata/modules/nodalsAiRtdProvider.json | 2 +- metadata/modules/novatiqIdSystem.json | 2 +- metadata/modules/oguryBidAdapter.json | 2 +- metadata/modules/omnidexBidAdapter.json | 2 +- metadata/modules/omsBidAdapter.json | 2 +- metadata/modules/onetagBidAdapter.json | 2 +- metadata/modules/openwebBidAdapter.json | 2 +- metadata/modules/openxBidAdapter.json | 2 +- metadata/modules/operaadsBidAdapter.json | 2 +- metadata/modules/optidigitalBidAdapter.json | 2 +- metadata/modules/optoutBidAdapter.json | 2 +- metadata/modules/orbidderBidAdapter.json | 2 +- metadata/modules/outbrainBidAdapter.json | 2 +- metadata/modules/ozoneBidAdapter.json | 2 +- metadata/modules/pairIdSystem.json | 2 +- metadata/modules/panxoBidAdapter.json | 2 +- metadata/modules/performaxBidAdapter.json | 2 +- .../permutiveIdentityManagerIdSystem.json | 2 +- metadata/modules/permutiveRtdProvider.json | 2 +- metadata/modules/pixfutureBidAdapter.json | 2 +- metadata/modules/playdigoBidAdapter.json | 2 +- metadata/modules/prebid-core.json | 4 +- metadata/modules/precisoBidAdapter.json | 2 +- metadata/modules/prismaBidAdapter.json | 2 +- metadata/modules/programmaticXBidAdapter.json | 2 +- metadata/modules/proxistoreBidAdapter.json | 2 +- metadata/modules/publinkIdSystem.json | 2 +- metadata/modules/pubmaticBidAdapter.json | 2 +- metadata/modules/pubmaticIdSystem.json | 2 +- metadata/modules/pulsepointBidAdapter.json | 2 +- metadata/modules/quantcastBidAdapter.json | 2 +- metadata/modules/quantcastIdSystem.json | 2 +- metadata/modules/r2b2BidAdapter.json | 2 +- metadata/modules/readpeakBidAdapter.json | 2 +- .../modules/relevantdigitalBidAdapter.json | 2 +- metadata/modules/resetdigitalBidAdapter.json | 2 +- metadata/modules/responsiveAdsBidAdapter.json | 2 +- metadata/modules/revcontentBidAdapter.json | 2 +- metadata/modules/revnewBidAdapter.json | 2 +- metadata/modules/rhythmoneBidAdapter.json | 2 +- metadata/modules/richaudienceBidAdapter.json | 2 +- metadata/modules/riseBidAdapter.json | 4 +- metadata/modules/rixengineBidAdapter.json | 2 +- metadata/modules/rtbhouseBidAdapter.json | 2 +- metadata/modules/rubiconBidAdapter.json | 2 +- metadata/modules/scaliburBidAdapter.json | 2 +- metadata/modules/screencoreBidAdapter.json | 2 +- .../modules/seedingAllianceBidAdapter.json | 2 +- metadata/modules/seedtagBidAdapter.json | 2 +- metadata/modules/semantiqRtdProvider.json | 2 +- metadata/modules/setupadBidAdapter.json | 2 +- metadata/modules/sevioBidAdapter.json | 2 +- metadata/modules/sharedIdSystem.json | 2 +- metadata/modules/sharethroughBidAdapter.json | 2 +- metadata/modules/showheroes-bsBidAdapter.json | 2 +- metadata/modules/silvermobBidAdapter.json | 2 +- metadata/modules/sirdataRtdProvider.json | 2 +- metadata/modules/smaatoBidAdapter.json | 2 +- metadata/modules/smartadserverBidAdapter.json | 2 +- metadata/modules/smartxBidAdapter.json | 2 +- metadata/modules/smartyadsBidAdapter.json | 2 +- metadata/modules/smilewantedBidAdapter.json | 2 +- metadata/modules/snigelBidAdapter.json | 2 +- metadata/modules/sonaradsBidAdapter.json | 2 +- metadata/modules/sonobiBidAdapter.json | 2 +- metadata/modules/sovrnBidAdapter.json | 2 +- metadata/modules/sparteoBidAdapter.json | 2 +- metadata/modules/ssmasBidAdapter.json | 2 +- metadata/modules/sspBCBidAdapter.json | 2 +- metadata/modules/stackadaptBidAdapter.json | 24 +- metadata/modules/startioBidAdapter.json | 2 +- metadata/modules/stroeerCoreBidAdapter.json | 2 +- metadata/modules/stvBidAdapter.json | 2 +- metadata/modules/sublimeBidAdapter.json | 2 +- metadata/modules/taboolaBidAdapter.json | 2 +- metadata/modules/taboolaIdSystem.json | 2 +- metadata/modules/tadvertisingBidAdapter.json | 2 +- metadata/modules/tappxBidAdapter.json | 2 +- metadata/modules/targetVideoBidAdapter.json | 2 +- metadata/modules/teadsBidAdapter.json | 2 +- metadata/modules/teadsIdSystem.json | 2 +- metadata/modules/tealBidAdapter.json | 2 +- .../modules/teqBlazeSalesAgentBidAdapter.json | 13 + metadata/modules/tncIdSystem.json | 2 +- metadata/modules/topicsFpdModule.json | 2 +- metadata/modules/toponBidAdapter.json | 2 +- metadata/modules/tripleliftBidAdapter.json | 2 +- metadata/modules/ttdBidAdapter.json | 2 +- metadata/modules/twistDigitalBidAdapter.json | 2 +- metadata/modules/underdogmediaBidAdapter.json | 2 +- metadata/modules/undertoneBidAdapter.json | 2 +- metadata/modules/unifiedIdSystem.json | 2 +- metadata/modules/unrulyBidAdapter.json | 2 +- metadata/modules/userId.json | 2 +- metadata/modules/utiqIdSystem.json | 2 +- metadata/modules/utiqMtpIdSystem.json | 2 +- metadata/modules/validationFpdModule.json | 2 +- metadata/modules/valuadBidAdapter.json | 2 +- metadata/modules/vidazooBidAdapter.json | 2 +- metadata/modules/vidoomyBidAdapter.json | 2 +- metadata/modules/viouslyBidAdapter.json | 2 +- metadata/modules/visxBidAdapter.json | 2 +- metadata/modules/vlybyBidAdapter.json | 2 +- metadata/modules/voxBidAdapter.json | 2 +- metadata/modules/vrtcalBidAdapter.json | 2 +- metadata/modules/vuukleBidAdapter.json | 2 +- metadata/modules/weboramaRtdProvider.json | 2 +- metadata/modules/welectBidAdapter.json | 2 +- metadata/modules/yahooAdsBidAdapter.json | 2 +- metadata/modules/yieldlabBidAdapter.json | 2 +- metadata/modules/yieldloveBidAdapter.json | 2 +- metadata/modules/yieldmoBidAdapter.json | 2 +- metadata/modules/zeotapIdPlusIdSystem.json | 2 +- metadata/modules/zeta_globalBidAdapter.json | 2 +- .../modules/zeta_global_sspBidAdapter.json | 2 +- package-lock.json | 16 +- package.json | 2 +- 276 files changed, 603 insertions(+), 305 deletions(-) create mode 100644 metadata/modules/teqBlazeSalesAgentBidAdapter.json diff --git a/metadata/modules.json b/metadata/modules.json index b078a117e6e..ff1fde0e0d3 100644 --- a/metadata/modules.json +++ b/metadata/modules.json @@ -519,6 +519,13 @@ "gvlid": 1283, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "intlscoop", + "aliasOf": "adkernel", + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "admaru", @@ -4579,6 +4586,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "teqBlazeSalesAgent", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "theadx", diff --git a/metadata/modules/33acrossBidAdapter.json b/metadata/modules/33acrossBidAdapter.json index 7c784ce23b2..77389ad4d4b 100644 --- a/metadata/modules/33acrossBidAdapter.json +++ b/metadata/modules/33acrossBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2026-01-28T16:29:58.218Z", + "timestamp": "2026-02-06T14:30:25.255Z", "disclosures": [] } }, diff --git a/metadata/modules/33acrossIdSystem.json b/metadata/modules/33acrossIdSystem.json index 08c9e5fdb3c..fca65dcb24a 100644 --- a/metadata/modules/33acrossIdSystem.json +++ b/metadata/modules/33acrossIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2026-01-28T16:29:58.314Z", + "timestamp": "2026-02-06T14:30:25.357Z", "disclosures": [] } }, diff --git a/metadata/modules/acuityadsBidAdapter.json b/metadata/modules/acuityadsBidAdapter.json index 5c1719c2ce1..f1dfa930efc 100644 --- a/metadata/modules/acuityadsBidAdapter.json +++ b/metadata/modules/acuityadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.acuityads.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:29:58.317Z", + "timestamp": "2026-02-06T14:30:25.360Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioBidAdapter.json b/metadata/modules/adagioBidAdapter.json index b490d929e1a..a26ec7be9e2 100644 --- a/metadata/modules/adagioBidAdapter.json +++ b/metadata/modules/adagioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:29:58.354Z", + "timestamp": "2026-02-06T14:30:25.409Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioRtdProvider.json b/metadata/modules/adagioRtdProvider.json index e604c3b2d9c..828963179b5 100644 --- a/metadata/modules/adagioRtdProvider.json +++ b/metadata/modules/adagioRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:29:58.504Z", + "timestamp": "2026-02-06T14:30:25.495Z", "disclosures": [] } }, diff --git a/metadata/modules/adbroBidAdapter.json b/metadata/modules/adbroBidAdapter.json index 6b21766ca1d..72e73cf37a2 100644 --- a/metadata/modules/adbroBidAdapter.json +++ b/metadata/modules/adbroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tag.adbro.me/privacy/devicestorage.json": { - "timestamp": "2026-01-28T16:29:58.504Z", + "timestamp": "2026-02-06T14:30:25.496Z", "disclosures": [] } }, diff --git a/metadata/modules/addefendBidAdapter.json b/metadata/modules/addefendBidAdapter.json index 0d880b30acc..205cb9acffc 100644 --- a/metadata/modules/addefendBidAdapter.json +++ b/metadata/modules/addefendBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.addefend.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:29:58.826Z", + "timestamp": "2026-02-06T14:30:25.799Z", "disclosures": [] } }, diff --git a/metadata/modules/adfBidAdapter.json b/metadata/modules/adfBidAdapter.json index fb6d19f8ad4..b05d8af9354 100644 --- a/metadata/modules/adfBidAdapter.json +++ b/metadata/modules/adfBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://site.adform.com/assets/devicestorage.json": { - "timestamp": "2026-01-28T16:29:59.445Z", + "timestamp": "2026-02-06T14:30:26.461Z", "disclosures": [] } }, diff --git a/metadata/modules/adfusionBidAdapter.json b/metadata/modules/adfusionBidAdapter.json index 57df8f4f68b..a7f48e14000 100644 --- a/metadata/modules/adfusionBidAdapter.json +++ b/metadata/modules/adfusionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spicyrtb.com/static/iab-disclosure.json": { - "timestamp": "2026-01-28T16:29:59.445Z", + "timestamp": "2026-02-06T14:30:26.461Z", "disclosures": [] } }, diff --git a/metadata/modules/adheseBidAdapter.json b/metadata/modules/adheseBidAdapter.json index 907ed2be2df..0c00d87b9dd 100644 --- a/metadata/modules/adheseBidAdapter.json +++ b/metadata/modules/adheseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adhese.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:29:59.885Z", + "timestamp": "2026-02-06T14:30:26.813Z", "disclosures": [] } }, diff --git a/metadata/modules/adipoloBidAdapter.json b/metadata/modules/adipoloBidAdapter.json index 88388af4def..6c4231222ae 100644 --- a/metadata/modules/adipoloBidAdapter.json +++ b/metadata/modules/adipoloBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adipolo.com/device_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:00.155Z", + "timestamp": "2026-02-06T14:30:27.081Z", "disclosures": [] } }, diff --git a/metadata/modules/adkernelAdnBidAdapter.json b/metadata/modules/adkernelAdnBidAdapter.json index 29fbe50a428..108f1432234 100644 --- a/metadata/modules/adkernelAdnBidAdapter.json +++ b/metadata/modules/adkernelAdnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:00.288Z", + "timestamp": "2026-02-06T14:30:27.216Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", diff --git a/metadata/modules/adkernelBidAdapter.json b/metadata/modules/adkernelBidAdapter.json index 3cefa08504a..e41072b3399 100644 --- a/metadata/modules/adkernelBidAdapter.json +++ b/metadata/modules/adkernelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:00.508Z", + "timestamp": "2026-02-06T14:30:27.264Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", @@ -17,19 +17,19 @@ ] }, "https://data.converge-digital.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:00.508Z", + "timestamp": "2026-02-06T14:30:27.264Z", "disclosures": [] }, "https://spinx.biz/tcf-spinx.json": { - "timestamp": "2026-01-28T16:30:00.562Z", + "timestamp": "2026-02-06T14:30:27.312Z", "disclosures": [] }, "https://gdpr.memob.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:01.305Z", + "timestamp": "2026-02-06T14:30:28.744Z", "disclosures": [] }, "https://appmonsta.ai/DeviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:01.323Z", + "timestamp": "2026-02-06T14:30:28.767Z", "disclosures": [] } }, @@ -348,6 +348,13 @@ "aliasOf": "adkernel", "gvlid": 1283, "disclosureURL": "https://appmonsta.ai/DeviceStorageDisclosure.json" + }, + { + "componentType": "bidder", + "componentName": "intlscoop", + "aliasOf": "adkernel", + "gvlid": null, + "disclosureURL": null } ] } \ No newline at end of file diff --git a/metadata/modules/admaticBidAdapter.json b/metadata/modules/admaticBidAdapter.json index f44a99df523..a5648b2fd80 100644 --- a/metadata/modules/admaticBidAdapter.json +++ b/metadata/modules/admaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.admatic.de/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2026-01-28T16:30:03.161Z", + "timestamp": "2026-02-06T14:30:30.459Z", "disclosures": [ { "identifier": "px_pbjs", @@ -12,7 +12,7 @@ ] }, "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:02.786Z", + "timestamp": "2026-02-06T14:30:30.104Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/admixerBidAdapter.json b/metadata/modules/admixerBidAdapter.json index f4aceb4271e..5b0e9036f72 100644 --- a/metadata/modules/admixerBidAdapter.json +++ b/metadata/modules/admixerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2026-01-28T16:30:03.161Z", + "timestamp": "2026-02-06T14:30:30.460Z", "disclosures": [] } }, diff --git a/metadata/modules/admixerIdSystem.json b/metadata/modules/admixerIdSystem.json index 9e56d98f973..17577746d97 100644 --- a/metadata/modules/admixerIdSystem.json +++ b/metadata/modules/admixerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2026-01-28T16:30:03.552Z", + "timestamp": "2026-02-06T14:30:30.875Z", "disclosures": [] } }, diff --git a/metadata/modules/adnowBidAdapter.json b/metadata/modules/adnowBidAdapter.json index 85b183c233f..bcbf1f51826 100644 --- a/metadata/modules/adnowBidAdapter.json +++ b/metadata/modules/adnowBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adnow.com/vdsod.json": { - "timestamp": "2026-01-28T16:30:03.552Z", + "timestamp": "2026-02-06T14:30:30.875Z", "disclosures": [ { "identifier": "SC_unique_*", diff --git a/metadata/modules/adnuntiusBidAdapter.json b/metadata/modules/adnuntiusBidAdapter.json index faa59453320..8c342378088 100644 --- a/metadata/modules/adnuntiusBidAdapter.json +++ b/metadata/modules/adnuntiusBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:03.784Z", + "timestamp": "2026-02-06T14:30:31.171Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adnuntiusRtdProvider.json b/metadata/modules/adnuntiusRtdProvider.json index 88033c0bd3a..bec37b2eccf 100644 --- a/metadata/modules/adnuntiusRtdProvider.json +++ b/metadata/modules/adnuntiusRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:04.118Z", + "timestamp": "2026-02-06T14:30:31.506Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adoceanBidAdapter.json b/metadata/modules/adoceanBidAdapter.json index 434185cfb11..35491e4fee8 100644 --- a/metadata/modules/adoceanBidAdapter.json +++ b/metadata/modules/adoceanBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2026-01-28T16:30:04.118Z", + "timestamp": "2026-02-06T14:30:31.506Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/adotBidAdapter.json b/metadata/modules/adotBidAdapter.json index 7e1e6a0aff6..19e0d9f1889 100644 --- a/metadata/modules/adotBidAdapter.json +++ b/metadata/modules/adotBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.adotmob.com/tcf/tcf.json": { - "timestamp": "2026-01-28T16:30:04.676Z", + "timestamp": "2026-02-06T14:30:32.064Z", "disclosures": [] } }, diff --git a/metadata/modules/adponeBidAdapter.json b/metadata/modules/adponeBidAdapter.json index ffa30b608f0..40aef697dc1 100644 --- a/metadata/modules/adponeBidAdapter.json +++ b/metadata/modules/adponeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.adpone.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:04.714Z", + "timestamp": "2026-02-06T14:30:32.188Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryBidAdapter.json b/metadata/modules/adqueryBidAdapter.json index 9525503e59b..910fa94d220 100644 --- a/metadata/modules/adqueryBidAdapter.json +++ b/metadata/modules/adqueryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2026-01-28T16:30:04.745Z", + "timestamp": "2026-02-06T14:30:32.219Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryIdSystem.json b/metadata/modules/adqueryIdSystem.json index cc0f9edaf73..b86e9acf95f 100644 --- a/metadata/modules/adqueryIdSystem.json +++ b/metadata/modules/adqueryIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2026-01-28T16:30:05.099Z", + "timestamp": "2026-02-06T14:30:32.589Z", "disclosures": [] } }, diff --git a/metadata/modules/adrinoBidAdapter.json b/metadata/modules/adrinoBidAdapter.json index 1b11ddd4322..3a79c37e751 100644 --- a/metadata/modules/adrinoBidAdapter.json +++ b/metadata/modules/adrinoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.adrino.cloud/iab/device-storage.json": { - "timestamp": "2026-01-28T16:30:05.100Z", + "timestamp": "2026-02-06T14:30:32.589Z", "disclosures": [] } }, diff --git a/metadata/modules/ads_interactiveBidAdapter.json b/metadata/modules/ads_interactiveBidAdapter.json index 186d5188d3b..a084a15f496 100644 --- a/metadata/modules/ads_interactiveBidAdapter.json +++ b/metadata/modules/ads_interactiveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adsinteractive.com/vendor.json": { - "timestamp": "2026-01-28T16:30:05.144Z", + "timestamp": "2026-02-06T14:30:32.668Z", "disclosures": [] } }, diff --git a/metadata/modules/adtargetBidAdapter.json b/metadata/modules/adtargetBidAdapter.json index 5ca832a5cfb..c2b0952970f 100644 --- a/metadata/modules/adtargetBidAdapter.json +++ b/metadata/modules/adtargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:05.446Z", + "timestamp": "2026-02-06T14:30:32.951Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/adtelligentBidAdapter.json b/metadata/modules/adtelligentBidAdapter.json index 5df3a013203..50146935690 100644 --- a/metadata/modules/adtelligentBidAdapter.json +++ b/metadata/modules/adtelligentBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:05.446Z", + "timestamp": "2026-02-06T14:30:32.951Z", "disclosures": [] }, "https://www.selectmedia.asia/gdpr/devicestorage.json": { - "timestamp": "2026-01-28T16:30:05.465Z", + "timestamp": "2026-02-06T14:30:32.971Z", "disclosures": [ { "identifier": "waterFallCacheAnsKey_*", @@ -81,7 +81,7 @@ ] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:05.651Z", + "timestamp": "2026-02-06T14:30:33.182Z", "disclosures": [] } }, diff --git a/metadata/modules/adtelligentIdSystem.json b/metadata/modules/adtelligentIdSystem.json index 4793bd2971a..94b04c7d058 100644 --- a/metadata/modules/adtelligentIdSystem.json +++ b/metadata/modules/adtelligentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:05.794Z", + "timestamp": "2026-02-06T14:30:33.246Z", "disclosures": [] } }, diff --git a/metadata/modules/aduptechBidAdapter.json b/metadata/modules/aduptechBidAdapter.json index 763a2faa1b7..a56583d8c4f 100644 --- a/metadata/modules/aduptechBidAdapter.json +++ b/metadata/modules/aduptechBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.d.adup-tech.com/gdpr/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:05.795Z", + "timestamp": "2026-02-06T14:30:33.248Z", "disclosures": [] } }, diff --git a/metadata/modules/adyoulikeBidAdapter.json b/metadata/modules/adyoulikeBidAdapter.json index ad36769e5f0..b90843b0a7a 100644 --- a/metadata/modules/adyoulikeBidAdapter.json +++ b/metadata/modules/adyoulikeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adyoulike.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-28T16:30:05.815Z", + "timestamp": "2026-02-06T14:30:33.268Z", "disclosures": [] } }, diff --git a/metadata/modules/airgridRtdProvider.json b/metadata/modules/airgridRtdProvider.json index d490880b416..05330eeef58 100644 --- a/metadata/modules/airgridRtdProvider.json +++ b/metadata/modules/airgridRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.wearemiq.com/privacy-and-compliance/devicestoragedisclosures.json": { - "timestamp": "2026-01-28T16:30:06.273Z", + "timestamp": "2026-02-06T14:30:33.690Z", "disclosures": [] } }, diff --git a/metadata/modules/alkimiBidAdapter.json b/metadata/modules/alkimiBidAdapter.json index f80e84a7d63..c7f6757a550 100644 --- a/metadata/modules/alkimiBidAdapter.json +++ b/metadata/modules/alkimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d1xjh92lb8fey3.cloudfront.net/tcf/alkimi_exchange_tcf.json": { - "timestamp": "2026-01-28T16:30:06.319Z", + "timestamp": "2026-02-06T14:30:33.737Z", "disclosures": [] } }, diff --git a/metadata/modules/allegroBidAdapter.json b/metadata/modules/allegroBidAdapter.json index 0bb0131e96f..ff0cbd6ba7f 100644 --- a/metadata/modules/allegroBidAdapter.json +++ b/metadata/modules/allegroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.allegrostatic.com/dsp-tcf-external/device-storage.json": { - "timestamp": "2026-01-28T16:30:06.612Z", + "timestamp": "2026-02-06T14:30:34.018Z", "disclosures": [] } }, diff --git a/metadata/modules/amxBidAdapter.json b/metadata/modules/amxBidAdapter.json index 8de34154ecc..e9df2504210 100644 --- a/metadata/modules/amxBidAdapter.json +++ b/metadata/modules/amxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2026-01-28T16:30:07.054Z", + "timestamp": "2026-02-06T14:30:34.487Z", "disclosures": [] } }, diff --git a/metadata/modules/amxIdSystem.json b/metadata/modules/amxIdSystem.json index 1a8270a07dd..bdd6de82d13 100644 --- a/metadata/modules/amxIdSystem.json +++ b/metadata/modules/amxIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2026-01-28T16:30:07.197Z", + "timestamp": "2026-02-06T14:30:34.549Z", "disclosures": [] } }, diff --git a/metadata/modules/aniviewBidAdapter.json b/metadata/modules/aniviewBidAdapter.json index e2d0cb92554..a11d3a76afc 100644 --- a/metadata/modules/aniviewBidAdapter.json +++ b/metadata/modules/aniviewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.aniview.com/gdpr/gdpr.json": { - "timestamp": "2026-01-28T16:30:07.197Z", + "timestamp": "2026-02-06T14:30:34.549Z", "disclosures": [ { "identifier": "av_*", diff --git a/metadata/modules/anonymisedRtdProvider.json b/metadata/modules/anonymisedRtdProvider.json index 3da9ac7b85c..3aa9241731f 100644 --- a/metadata/modules/anonymisedRtdProvider.json +++ b/metadata/modules/anonymisedRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.anonymised.io/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:07.304Z", + "timestamp": "2026-02-06T14:30:34.706Z", "disclosures": [ { "identifier": "oidc.user*", diff --git a/metadata/modules/appStockSSPBidAdapter.json b/metadata/modules/appStockSSPBidAdapter.json index 8bd90c00e58..a8f2b6c744f 100644 --- a/metadata/modules/appStockSSPBidAdapter.json +++ b/metadata/modules/appStockSSPBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://app-stock.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:07.420Z", + "timestamp": "2026-02-06T14:30:34.820Z", "disclosures": [] } }, diff --git a/metadata/modules/appierBidAdapter.json b/metadata/modules/appierBidAdapter.json index 2f0f4655a71..4c2ab0d1740 100644 --- a/metadata/modules/appierBidAdapter.json +++ b/metadata/modules/appierBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.appier.com/deviceStorage2025.json": { - "timestamp": "2026-01-28T16:30:07.455Z", + "timestamp": "2026-02-06T14:30:34.860Z", "disclosures": [ { "identifier": "_atrk_ssid", diff --git a/metadata/modules/appnexusBidAdapter.json b/metadata/modules/appnexusBidAdapter.json index ca815263571..2c970b21751 100644 --- a/metadata/modules/appnexusBidAdapter.json +++ b/metadata/modules/appnexusBidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-01-28T16:30:08.134Z", + "timestamp": "2026-02-06T14:30:35.499Z", "disclosures": [] }, "https://beintoo-support.b-cdn.net/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:07.591Z", + "timestamp": "2026-02-06T14:30:35.031Z", "disclosures": [] }, "https://projectagora.net/1032_deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:07.694Z", + "timestamp": "2026-02-06T14:30:35.046Z", "disclosures": [] }, "https://adzymic.com/tcf.json": { - "timestamp": "2026-01-28T16:30:08.134Z", + "timestamp": "2026-02-06T14:30:35.499Z", "disclosures": [] } }, diff --git a/metadata/modules/appushBidAdapter.json b/metadata/modules/appushBidAdapter.json index b74c3d9b2e8..8bf8b136a69 100644 --- a/metadata/modules/appushBidAdapter.json +++ b/metadata/modules/appushBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.thebiding.com/disclosures.json": { - "timestamp": "2026-01-28T16:30:08.156Z", + "timestamp": "2026-02-06T14:30:35.522Z", "disclosures": [] } }, diff --git a/metadata/modules/apsBidAdapter.json b/metadata/modules/apsBidAdapter.json index 3ddca493ec1..b9ba745c2f7 100644 --- a/metadata/modules/apsBidAdapter.json +++ b/metadata/modules/apsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://m.media-amazon.com/images/G/01/adprefs/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:08.218Z", + "timestamp": "2026-02-06T14:30:35.588Z", "disclosures": [ { "identifier": "vendor-id", diff --git a/metadata/modules/apstreamBidAdapter.json b/metadata/modules/apstreamBidAdapter.json index b45081cbc64..eeb6a9ec330 100644 --- a/metadata/modules/apstreamBidAdapter.json +++ b/metadata/modules/apstreamBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sak.userreport.com/tcf.json": { - "timestamp": "2026-01-28T16:30:08.230Z", + "timestamp": "2026-02-06T14:30:35.605Z", "disclosures": [ { "identifier": "apr_dsu", diff --git a/metadata/modules/audiencerunBidAdapter.json b/metadata/modules/audiencerunBidAdapter.json index 561717d5ac0..c0a2ffa3a37 100644 --- a/metadata/modules/audiencerunBidAdapter.json +++ b/metadata/modules/audiencerunBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.audiencerun.com/tcf.json": { - "timestamp": "2026-01-28T16:30:08.251Z", + "timestamp": "2026-02-06T14:30:35.629Z", "disclosures": [] } }, diff --git a/metadata/modules/axisBidAdapter.json b/metadata/modules/axisBidAdapter.json index 97d8889684e..66a7077498f 100644 --- a/metadata/modules/axisBidAdapter.json +++ b/metadata/modules/axisBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://axis-marketplace.com/tcf.json": { - "timestamp": "2026-01-28T16:30:08.288Z", + "timestamp": "2026-02-06T14:30:35.669Z", "disclosures": [] } }, diff --git a/metadata/modules/azerionedgeRtdProvider.json b/metadata/modules/azerionedgeRtdProvider.json index 138bb4cf730..90a4646478b 100644 --- a/metadata/modules/azerionedgeRtdProvider.json +++ b/metadata/modules/azerionedgeRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2026-01-28T16:30:08.325Z", + "timestamp": "2026-02-06T14:30:35.711Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/beachfrontBidAdapter.json b/metadata/modules/beachfrontBidAdapter.json index d9ea10bb0eb..ccda8e82a25 100644 --- a/metadata/modules/beachfrontBidAdapter.json +++ b/metadata/modules/beachfrontBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2026-01-28T16:30:08.359Z", + "timestamp": "2026-02-06T14:30:35.734Z", "disclosures": [] } }, diff --git a/metadata/modules/beopBidAdapter.json b/metadata/modules/beopBidAdapter.json index 7de553c3356..3c641594e79 100644 --- a/metadata/modules/beopBidAdapter.json +++ b/metadata/modules/beopBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://beop.io/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:08.381Z", + "timestamp": "2026-02-06T14:30:35.859Z", "disclosures": [] } }, diff --git a/metadata/modules/betweenBidAdapter.json b/metadata/modules/betweenBidAdapter.json index cdeb282e76d..595bf81ed4d 100644 --- a/metadata/modules/betweenBidAdapter.json +++ b/metadata/modules/betweenBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.betweenx.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:08.501Z", + "timestamp": "2026-02-06T14:30:35.979Z", "disclosures": [] } }, diff --git a/metadata/modules/bidfuseBidAdapter.json b/metadata/modules/bidfuseBidAdapter.json index e9f10a2af75..d701ccceafa 100644 --- a/metadata/modules/bidfuseBidAdapter.json +++ b/metadata/modules/bidfuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidfuse.com/disclosure.json": { - "timestamp": "2026-01-28T16:30:08.568Z", + "timestamp": "2026-02-06T14:30:36.046Z", "disclosures": [] } }, diff --git a/metadata/modules/bidmaticBidAdapter.json b/metadata/modules/bidmaticBidAdapter.json index c698dd1c7e1..09ff4540889 100644 --- a/metadata/modules/bidmaticBidAdapter.json +++ b/metadata/modules/bidmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidmatic.io/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:09.193Z", + "timestamp": "2026-02-06T14:30:36.228Z", "disclosures": [] } }, diff --git a/metadata/modules/bidtheatreBidAdapter.json b/metadata/modules/bidtheatreBidAdapter.json index f8747a74d23..b5319641652 100644 --- a/metadata/modules/bidtheatreBidAdapter.json +++ b/metadata/modules/bidtheatreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.bidtheatre.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:09.243Z", + "timestamp": "2026-02-06T14:30:36.303Z", "disclosures": [] } }, diff --git a/metadata/modules/bliinkBidAdapter.json b/metadata/modules/bliinkBidAdapter.json index 2daef968201..25859afef10 100644 --- a/metadata/modules/bliinkBidAdapter.json +++ b/metadata/modules/bliinkBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bliink.io/disclosures.json": { - "timestamp": "2026-01-28T16:30:09.554Z", + "timestamp": "2026-02-06T14:30:36.617Z", "disclosures": [] } }, diff --git a/metadata/modules/blockthroughBidAdapter.json b/metadata/modules/blockthroughBidAdapter.json index b6e60f793e3..374fcc11b25 100644 --- a/metadata/modules/blockthroughBidAdapter.json +++ b/metadata/modules/blockthroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://blockthrough.com/tcf_disclosures.json": { - "timestamp": "2026-01-28T16:30:09.898Z", + "timestamp": "2026-02-06T14:30:36.985Z", "disclosures": [ { "identifier": "BT_AA_DETECTION", diff --git a/metadata/modules/blueBidAdapter.json b/metadata/modules/blueBidAdapter.json index d5459ddd030..2b35370569f 100644 --- a/metadata/modules/blueBidAdapter.json +++ b/metadata/modules/blueBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://getblue.io/iab/iab.json": { - "timestamp": "2026-01-28T16:30:10.177Z", + "timestamp": "2026-02-06T14:30:37.211Z", "disclosures": [] } }, diff --git a/metadata/modules/bmsBidAdapter.json b/metadata/modules/bmsBidAdapter.json index a7f11357ec6..758a3c07571 100644 --- a/metadata/modules/bmsBidAdapter.json +++ b/metadata/modules/bmsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bluems.com/iab.json": { - "timestamp": "2026-01-28T16:30:10.533Z", + "timestamp": "2026-02-06T14:30:37.561Z", "disclosures": [] } }, diff --git a/metadata/modules/boldwinBidAdapter.json b/metadata/modules/boldwinBidAdapter.json index 2e6fbbf4f05..48851fd7626 100644 --- a/metadata/modules/boldwinBidAdapter.json +++ b/metadata/modules/boldwinBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://magav.videowalldirect.com/iab/videowalldirectiab.json": { - "timestamp": "2026-01-28T16:30:10.546Z", + "timestamp": "2026-02-06T14:30:37.589Z", "disclosures": [] } }, diff --git a/metadata/modules/bridBidAdapter.json b/metadata/modules/bridBidAdapter.json index 3141704c3cf..835e279b42b 100644 --- a/metadata/modules/bridBidAdapter.json +++ b/metadata/modules/bridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2026-01-28T16:30:10.571Z", + "timestamp": "2026-02-06T14:30:37.609Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/browsiBidAdapter.json b/metadata/modules/browsiBidAdapter.json index 4983eb994cd..af4800d8534 100644 --- a/metadata/modules/browsiBidAdapter.json +++ b/metadata/modules/browsiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.browsiprod.com/ads/tcf.json": { - "timestamp": "2026-01-28T16:30:10.712Z", + "timestamp": "2026-02-06T14:30:37.760Z", "disclosures": [] } }, diff --git a/metadata/modules/bucksenseBidAdapter.json b/metadata/modules/bucksenseBidAdapter.json index 5756973a60a..a1e0b424f61 100644 --- a/metadata/modules/bucksenseBidAdapter.json +++ b/metadata/modules/bucksenseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://j.bksnimages.com/iab/devsto02.json": { - "timestamp": "2026-01-28T16:30:10.730Z", + "timestamp": "2026-02-06T14:30:37.778Z", "disclosures": [] } }, diff --git a/metadata/modules/carodaBidAdapter.json b/metadata/modules/carodaBidAdapter.json index bf06a9d157f..de57e158f65 100644 --- a/metadata/modules/carodaBidAdapter.json +++ b/metadata/modules/carodaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn2.caroda.io/tcfvds/2022-05-17/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:10.790Z", + "timestamp": "2026-02-06T14:30:37.889Z", "disclosures": [] } }, diff --git a/metadata/modules/categoryTranslation.json b/metadata/modules/categoryTranslation.json index 62d8ea2cf73..d1aa7a19217 100644 --- a/metadata/modules/categoryTranslation.json +++ b/metadata/modules/categoryTranslation.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/categoryTranslation.json": { - "timestamp": "2026-01-28T16:29:58.215Z", + "timestamp": "2026-02-06T14:30:25.253Z", "disclosures": [ { "identifier": "iabToFwMappingkey", diff --git a/metadata/modules/ceeIdSystem.json b/metadata/modules/ceeIdSystem.json index 9d6ee591a78..61552d22ccc 100644 --- a/metadata/modules/ceeIdSystem.json +++ b/metadata/modules/ceeIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:11.083Z", + "timestamp": "2026-02-06T14:30:38.204Z", "disclosures": null } }, diff --git a/metadata/modules/chromeAiRtdProvider.json b/metadata/modules/chromeAiRtdProvider.json index f01c1535e6c..4e49e71299f 100644 --- a/metadata/modules/chromeAiRtdProvider.json +++ b/metadata/modules/chromeAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/chromeAiRtdProvider.json": { - "timestamp": "2026-01-28T16:30:11.410Z", + "timestamp": "2026-02-06T14:30:38.534Z", "disclosures": [ { "identifier": "chromeAi_detected_data", diff --git a/metadata/modules/clickioBidAdapter.json b/metadata/modules/clickioBidAdapter.json index 098d2ef463b..b48b489d86a 100644 --- a/metadata/modules/clickioBidAdapter.json +++ b/metadata/modules/clickioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://o.clickiocdn.com/tcf_storage_info.json": { - "timestamp": "2026-01-28T16:30:11.411Z", + "timestamp": "2026-02-06T14:30:38.535Z", "disclosures": [] } }, diff --git a/metadata/modules/compassBidAdapter.json b/metadata/modules/compassBidAdapter.json index 0e34d3b794e..b40fec31eb5 100644 --- a/metadata/modules/compassBidAdapter.json +++ b/metadata/modules/compassBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-01-28T16:30:11.830Z", + "timestamp": "2026-02-06T14:30:38.977Z", "disclosures": [] } }, diff --git a/metadata/modules/conceptxBidAdapter.json b/metadata/modules/conceptxBidAdapter.json index a8dc49de2f9..e2b3453fc1e 100644 --- a/metadata/modules/conceptxBidAdapter.json +++ b/metadata/modules/conceptxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cncptx.com/device_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:11.853Z", + "timestamp": "2026-02-06T14:30:38.991Z", "disclosures": [] } }, diff --git a/metadata/modules/connatixBidAdapter.json b/metadata/modules/connatixBidAdapter.json index ceff6354d6a..534cbef21d7 100644 --- a/metadata/modules/connatixBidAdapter.json +++ b/metadata/modules/connatixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://connatix.com/iab-tcf-disclosure.json": { - "timestamp": "2026-01-28T16:30:11.876Z", + "timestamp": "2026-02-06T14:30:39.010Z", "disclosures": [ { "identifier": "cnx_userId", diff --git a/metadata/modules/connectIdSystem.json b/metadata/modules/connectIdSystem.json index fc825b87474..9b484e3023e 100644 --- a/metadata/modules/connectIdSystem.json +++ b/metadata/modules/connectIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2026-01-28T16:30:11.964Z", + "timestamp": "2026-02-06T14:30:39.089Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/connectadBidAdapter.json b/metadata/modules/connectadBidAdapter.json index 449b80e8442..5e32a0aa2a3 100644 --- a/metadata/modules/connectadBidAdapter.json +++ b/metadata/modules/connectadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.connectad.io/tcf_storage_info.json": { - "timestamp": "2026-01-28T16:30:11.985Z", + "timestamp": "2026-02-06T14:30:39.112Z", "disclosures": [] } }, diff --git a/metadata/modules/contentexchangeBidAdapter.json b/metadata/modules/contentexchangeBidAdapter.json index 2fe9de26b24..108a10a9cad 100644 --- a/metadata/modules/contentexchangeBidAdapter.json +++ b/metadata/modules/contentexchangeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://hb.contentexchange.me/template/device_storage.json": { - "timestamp": "2026-01-28T16:30:12.429Z", + "timestamp": "2026-02-06T14:30:39.547Z", "disclosures": null } }, diff --git a/metadata/modules/conversantBidAdapter.json b/metadata/modules/conversantBidAdapter.json index 61dd65570fe..d6cc6a12102 100644 --- a/metadata/modules/conversantBidAdapter.json +++ b/metadata/modules/conversantBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.9/device_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:12.505Z", + "timestamp": "2026-02-06T14:30:39.576Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/copper6sspBidAdapter.json b/metadata/modules/copper6sspBidAdapter.json index 962b5946cd8..e67194a602b 100644 --- a/metadata/modules/copper6sspBidAdapter.json +++ b/metadata/modules/copper6sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.copper6.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:12.542Z", + "timestamp": "2026-02-06T14:30:39.589Z", "disclosures": [] } }, diff --git a/metadata/modules/cpmstarBidAdapter.json b/metadata/modules/cpmstarBidAdapter.json index 253fd1b3b2d..db5868ef61c 100644 --- a/metadata/modules/cpmstarBidAdapter.json +++ b/metadata/modules/cpmstarBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2026-01-28T16:30:12.576Z", + "timestamp": "2026-02-06T14:30:39.640Z", "disclosures": [] } }, diff --git a/metadata/modules/criteoBidAdapter.json b/metadata/modules/criteoBidAdapter.json index 8d62de75bc0..bfafd8a0d65 100644 --- a/metadata/modules/criteoBidAdapter.json +++ b/metadata/modules/criteoBidAdapter.json @@ -1,8 +1,8 @@ { "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { - "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2026-01-28T16:30:12.617Z", + "https://privacy.criteo.com/iab-europe/tcfv2/disclosure.json": { + "timestamp": "2026-02-06T14:30:39.749Z", "disclosures": [ { "identifier": "criteo_fast_bid", @@ -69,7 +69,7 @@ "componentName": "criteo", "aliasOf": null, "gvlid": 91, - "disclosureURL": "https://privacy.criteo.com/iab-europe/tcfv2/disclosure" + "disclosureURL": "https://privacy.criteo.com/iab-europe/tcfv2/disclosure.json" } ] } \ No newline at end of file diff --git a/metadata/modules/criteoIdSystem.json b/metadata/modules/criteoIdSystem.json index 6a64ec8205c..9d66fcadc10 100644 --- a/metadata/modules/criteoIdSystem.json +++ b/metadata/modules/criteoIdSystem.json @@ -1,8 +1,8 @@ { "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { - "https://privacy.criteo.com/iab-europe/tcfv2/disclosure": { - "timestamp": "2026-01-28T16:30:12.634Z", + "https://privacy.criteo.com/iab-europe/tcfv2/disclosure.json": { + "timestamp": "2026-02-06T14:30:39.764Z", "disclosures": [ { "identifier": "criteo_fast_bid", @@ -68,7 +68,7 @@ "componentType": "userId", "componentName": "criteo", "gvlid": 91, - "disclosureURL": "https://privacy.criteo.com/iab-europe/tcfv2/disclosure", + "disclosureURL": "https://privacy.criteo.com/iab-europe/tcfv2/disclosure.json", "aliasOf": null } ] diff --git a/metadata/modules/cwireBidAdapter.json b/metadata/modules/cwireBidAdapter.json index c7a9dc12ec0..45692087635 100644 --- a/metadata/modules/cwireBidAdapter.json +++ b/metadata/modules/cwireBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.cwi.re/artifacts/iab/iab.json": { - "timestamp": "2026-01-28T16:30:12.634Z", + "timestamp": "2026-02-06T14:30:39.764Z", "disclosures": [] } }, diff --git a/metadata/modules/czechAdIdSystem.json b/metadata/modules/czechAdIdSystem.json index b6bd886fdd5..8269140ee19 100644 --- a/metadata/modules/czechAdIdSystem.json +++ b/metadata/modules/czechAdIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cpex.cz/storagedisclosure.json": { - "timestamp": "2026-01-28T16:30:12.660Z", + "timestamp": "2026-02-06T14:30:39.788Z", "disclosures": [] } }, diff --git a/metadata/modules/dailymotionBidAdapter.json b/metadata/modules/dailymotionBidAdapter.json index bccf9e38e58..73d7ca02758 100644 --- a/metadata/modules/dailymotionBidAdapter.json +++ b/metadata/modules/dailymotionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://statics.dmcdn.net/a/vds.json": { - "timestamp": "2026-01-28T16:30:13.069Z", + "timestamp": "2026-02-06T14:30:40.388Z", "disclosures": [ { "identifier": "uid_dm", diff --git a/metadata/modules/debugging.json b/metadata/modules/debugging.json index 63533ff21b1..ca52e87af81 100644 --- a/metadata/modules/debugging.json +++ b/metadata/modules/debugging.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2026-01-28T16:29:58.214Z", + "timestamp": "2026-02-06T14:30:25.252Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/deepintentBidAdapter.json b/metadata/modules/deepintentBidAdapter.json index 0328b249ca0..4e2f9815163 100644 --- a/metadata/modules/deepintentBidAdapter.json +++ b/metadata/modules/deepintentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.deepintent.com/iabeurope_vendor_disclosures.json": { - "timestamp": "2026-01-28T16:30:13.171Z", + "timestamp": "2026-02-06T14:30:40.493Z", "disclosures": [] } }, diff --git a/metadata/modules/defineMediaBidAdapter.json b/metadata/modules/defineMediaBidAdapter.json index 4bdab1c5991..ea24b5e1c75 100644 --- a/metadata/modules/defineMediaBidAdapter.json +++ b/metadata/modules/defineMediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://definemedia.de/tcf/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-28T16:30:13.310Z", + "timestamp": "2026-02-06T14:30:40.626Z", "disclosures": [ { "identifier": "conative$dataGathering$Adex", diff --git a/metadata/modules/deltaprojectsBidAdapter.json b/metadata/modules/deltaprojectsBidAdapter.json index 421bf1dc518..c4b33474e5f 100644 --- a/metadata/modules/deltaprojectsBidAdapter.json +++ b/metadata/modules/deltaprojectsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.de17a.com/policy/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:13.748Z", + "timestamp": "2026-02-06T14:30:41.054Z", "disclosures": [] } }, diff --git a/metadata/modules/dianomiBidAdapter.json b/metadata/modules/dianomiBidAdapter.json index 8a1c226d253..b9cb8b8e666 100644 --- a/metadata/modules/dianomiBidAdapter.json +++ b/metadata/modules/dianomiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.dianomi.com/device_storage.json": { - "timestamp": "2026-01-28T16:30:14.164Z", + "timestamp": "2026-02-06T14:30:41.134Z", "disclosures": [] } }, diff --git a/metadata/modules/digitalMatterBidAdapter.json b/metadata/modules/digitalMatterBidAdapter.json index 3f71ed4c5e4..88c2a5a969e 100644 --- a/metadata/modules/digitalMatterBidAdapter.json +++ b/metadata/modules/digitalMatterBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://digitalmatter.ai/disclosures.json": { - "timestamp": "2026-01-28T16:30:14.165Z", + "timestamp": "2026-02-06T14:30:41.134Z", "disclosures": [] } }, diff --git a/metadata/modules/distroscaleBidAdapter.json b/metadata/modules/distroscaleBidAdapter.json index 7bc7a6fbaa2..df1f7b129c1 100644 --- a/metadata/modules/distroscaleBidAdapter.json +++ b/metadata/modules/distroscaleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.jsrdn.com/tcf/tcf-vendor-disclosure.json": { - "timestamp": "2026-01-28T16:30:14.541Z", + "timestamp": "2026-02-06T14:30:41.485Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeAdManagerBidAdapter.json b/metadata/modules/docereeAdManagerBidAdapter.json index 2ef6917eac2..e4ad3341877 100644 --- a/metadata/modules/docereeAdManagerBidAdapter.json +++ b/metadata/modules/docereeAdManagerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:14.843Z", + "timestamp": "2026-02-06T14:30:41.515Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeBidAdapter.json b/metadata/modules/docereeBidAdapter.json index f24747edfe1..8d91890834c 100644 --- a/metadata/modules/docereeBidAdapter.json +++ b/metadata/modules/docereeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:15.632Z", + "timestamp": "2026-02-06T14:30:42.269Z", "disclosures": [] } }, diff --git a/metadata/modules/dspxBidAdapter.json b/metadata/modules/dspxBidAdapter.json index 18aa462c75c..77436bc8a70 100644 --- a/metadata/modules/dspxBidAdapter.json +++ b/metadata/modules/dspxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/os.json": { - "timestamp": "2026-01-28T16:30:15.633Z", + "timestamp": "2026-02-06T14:30:42.270Z", "disclosures": [] } }, diff --git a/metadata/modules/e_volutionBidAdapter.json b/metadata/modules/e_volutionBidAdapter.json index 9b0da76504c..18b2fe9488d 100644 --- a/metadata/modules/e_volutionBidAdapter.json +++ b/metadata/modules/e_volutionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://e-volution.ai/file.json": { - "timestamp": "2026-01-28T16:30:16.296Z", + "timestamp": "2026-02-06T14:30:42.923Z", "disclosures": [] } }, diff --git a/metadata/modules/edge226BidAdapter.json b/metadata/modules/edge226BidAdapter.json index e222f7a1ae2..50ba1ffe211 100644 --- a/metadata/modules/edge226BidAdapter.json +++ b/metadata/modules/edge226BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.serveteck.com/cdn_storage/tcf/tcf.json?a=1.io": { - "timestamp": "2026-01-28T16:30:16.642Z", + "timestamp": "2026-02-06T14:30:43.245Z", "disclosures": [] } }, diff --git a/metadata/modules/empowerBidAdapter.json b/metadata/modules/empowerBidAdapter.json index b437207d105..a74871556f4 100644 --- a/metadata/modules/empowerBidAdapter.json +++ b/metadata/modules/empowerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.empower.net/vendor/vendor.json": { - "timestamp": "2026-01-28T16:30:16.693Z", + "timestamp": "2026-02-06T14:30:43.318Z", "disclosures": [] } }, diff --git a/metadata/modules/equativBidAdapter.json b/metadata/modules/equativBidAdapter.json index 66796571f18..4c6bd4668e4 100644 --- a/metadata/modules/equativBidAdapter.json +++ b/metadata/modules/equativBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2026-01-28T16:30:16.716Z", + "timestamp": "2026-02-06T14:30:43.342Z", "disclosures": [] } }, diff --git a/metadata/modules/eskimiBidAdapter.json b/metadata/modules/eskimiBidAdapter.json index 22dc25ff479..60e7f9d11b7 100644 --- a/metadata/modules/eskimiBidAdapter.json +++ b/metadata/modules/eskimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://dsp-media.eskimi.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:16.770Z", + "timestamp": "2026-02-06T14:30:43.375Z", "disclosures": [] } }, diff --git a/metadata/modules/etargetBidAdapter.json b/metadata/modules/etargetBidAdapter.json index 5efd286beb6..1bf4595c57a 100644 --- a/metadata/modules/etargetBidAdapter.json +++ b/metadata/modules/etargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.etarget.sk/cookies3.json": { - "timestamp": "2026-01-28T16:30:16.842Z", + "timestamp": "2026-02-06T14:30:43.394Z", "disclosures": [] } }, diff --git a/metadata/modules/euidIdSystem.json b/metadata/modules/euidIdSystem.json index 4117148b7b5..e35881c947d 100644 --- a/metadata/modules/euidIdSystem.json +++ b/metadata/modules/euidIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-28T16:30:17.398Z", + "timestamp": "2026-02-06T14:30:44.045Z", "disclosures": [] } }, diff --git a/metadata/modules/exadsBidAdapter.json b/metadata/modules/exadsBidAdapter.json index 1bf45f51e78..381e5419aeb 100644 --- a/metadata/modules/exadsBidAdapter.json +++ b/metadata/modules/exadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.native7.com/tcf/deviceStorage.php": { - "timestamp": "2026-01-28T16:30:17.607Z", + "timestamp": "2026-02-06T14:30:44.259Z", "disclosures": [ { "identifier": "pn-zone-*", diff --git a/metadata/modules/feedadBidAdapter.json b/metadata/modules/feedadBidAdapter.json index b4bc9e17f6d..ebf244abad1 100644 --- a/metadata/modules/feedadBidAdapter.json +++ b/metadata/modules/feedadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.feedad.com/tcf-device-disclosures.json": { - "timestamp": "2026-01-28T16:30:17.803Z", + "timestamp": "2026-02-06T14:30:44.438Z", "disclosures": [ { "identifier": "__fad_data", diff --git a/metadata/modules/fwsspBidAdapter.json b/metadata/modules/fwsspBidAdapter.json index d0e9d6e3281..6d6dbfa7d57 100644 --- a/metadata/modules/fwsspBidAdapter.json +++ b/metadata/modules/fwsspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.fwmrm.net/g/devicedisclosure.json": { - "timestamp": "2026-01-28T16:30:17.913Z", + "timestamp": "2026-02-06T14:30:44.555Z", "disclosures": [] } }, diff --git a/metadata/modules/gamoshiBidAdapter.json b/metadata/modules/gamoshiBidAdapter.json index 4fdd963b192..801d6f9b6e4 100644 --- a/metadata/modules/gamoshiBidAdapter.json +++ b/metadata/modules/gamoshiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gamoshi.com/disclosures-client-storage.json": { - "timestamp": "2026-01-28T16:30:18.136Z", + "timestamp": "2026-02-06T14:30:45.142Z", "disclosures": [] } }, diff --git a/metadata/modules/gemiusIdSystem.json b/metadata/modules/gemiusIdSystem.json index 6effe5fa731..7990ef14045 100644 --- a/metadata/modules/gemiusIdSystem.json +++ b/metadata/modules/gemiusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2026-01-28T16:30:18.258Z", + "timestamp": "2026-02-06T14:30:45.189Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/glomexBidAdapter.json b/metadata/modules/glomexBidAdapter.json index 997f9f7bc1a..376dd089c16 100644 --- a/metadata/modules/glomexBidAdapter.json +++ b/metadata/modules/glomexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:18.259Z", + "timestamp": "2026-02-06T14:30:45.191Z", "disclosures": [ { "identifier": "glomexUser", diff --git a/metadata/modules/goldbachBidAdapter.json b/metadata/modules/goldbachBidAdapter.json index 6b6d92bcf93..1329a2365eb 100644 --- a/metadata/modules/goldbachBidAdapter.json +++ b/metadata/modules/goldbachBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gb-next.ch/TcfGoldbachDeviceStorage.json": { - "timestamp": "2026-01-28T16:30:18.282Z", + "timestamp": "2026-02-06T14:30:45.215Z", "disclosures": [ { "identifier": "dakt_2_session_id", diff --git a/metadata/modules/gridBidAdapter.json b/metadata/modules/gridBidAdapter.json index ae4df482acf..4c60b8e8674 100644 --- a/metadata/modules/gridBidAdapter.json +++ b/metadata/modules/gridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.themediagrid.com/devicestorage.json": { - "timestamp": "2026-01-28T16:30:18.305Z", + "timestamp": "2026-02-06T14:30:45.235Z", "disclosures": [] } }, diff --git a/metadata/modules/gumgumBidAdapter.json b/metadata/modules/gumgumBidAdapter.json index f5735825ecb..cab476d46ae 100644 --- a/metadata/modules/gumgumBidAdapter.json +++ b/metadata/modules/gumgumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://marketing.gumgum.com/devicestoragedisclosures.json": { - "timestamp": "2026-01-28T16:30:18.450Z", + "timestamp": "2026-02-06T14:30:45.299Z", "disclosures": [] } }, diff --git a/metadata/modules/hadronIdSystem.json b/metadata/modules/hadronIdSystem.json index c0fb0c8617e..0bf26594331 100644 --- a/metadata/modules/hadronIdSystem.json +++ b/metadata/modules/hadronIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2026-01-28T16:30:18.502Z", + "timestamp": "2026-02-06T14:30:45.362Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/hadronRtdProvider.json b/metadata/modules/hadronRtdProvider.json index b24598c78f8..d341008fa29 100644 --- a/metadata/modules/hadronRtdProvider.json +++ b/metadata/modules/hadronRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2026-01-28T16:30:18.608Z", + "timestamp": "2026-02-06T14:30:45.531Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/holidBidAdapter.json b/metadata/modules/holidBidAdapter.json index 4342f2840f2..7cf12b4f36a 100644 --- a/metadata/modules/holidBidAdapter.json +++ b/metadata/modules/holidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ads.holid.io/devicestorage.json": { - "timestamp": "2026-01-28T16:30:18.608Z", + "timestamp": "2026-02-06T14:30:45.532Z", "disclosures": [ { "identifier": "uids", diff --git a/metadata/modules/hybridBidAdapter.json b/metadata/modules/hybridBidAdapter.json index b812dcc3411..3ac996b810e 100644 --- a/metadata/modules/hybridBidAdapter.json +++ b/metadata/modules/hybridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:18.857Z", + "timestamp": "2026-02-06T14:30:45.792Z", "disclosures": [] } }, diff --git a/metadata/modules/id5IdSystem.json b/metadata/modules/id5IdSystem.json index 822336b6feb..60ab3d9a258 100644 --- a/metadata/modules/id5IdSystem.json +++ b/metadata/modules/id5IdSystem.json @@ -2,8 +2,250 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://id5-sync.com/tcf/disclosures.json": { - "timestamp": "2026-01-28T16:30:19.113Z", - "disclosures": [] + "timestamp": "2026-02-06T14:30:46.052Z", + "disclosures": [ + { + "identifier": "id5id", + "type": "web", + "maxAgeSeconds": 7776000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_exp", + "type": "web", + "maxAgeSeconds": 7776000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_last", + "type": "web", + "maxAgeSeconds": 7776000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_last_exp", + "type": "web", + "maxAgeSeconds": 7776000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_cached_consent_data", + "type": "web", + "maxAgeSeconds": 2592000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_cached_consent_data_exp", + "type": "web", + "maxAgeSeconds": 2592000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_cached_pd_{partnerId}", + "type": "web", + "maxAgeSeconds": 2592000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_cached_pd_exp", + "type": "web", + "maxAgeSeconds": 2592000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_cached_pd", + "type": "web", + "maxAgeSeconds": 2592000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_privacy", + "type": "web", + "maxAgeSeconds": 2592000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_privacy_exp", + "type": "web", + "maxAgeSeconds": 2592000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_{partnerId}_nb", + "type": "web", + "maxAgeSeconds": 7776000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_{partnerId}_nb_exp", + "type": "web", + "maxAgeSeconds": 7776000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_v2_{cacheId}", + "type": "web", + "maxAgeSeconds": 1296000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_v2_signature", + "type": "web", + "maxAgeSeconds": 1296000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_extensions", + "type": "web", + "maxAgeSeconds": 28800, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_cached_segments_{partnerId}", + "type": "web", + "maxAgeSeconds": 2592000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5id_cached_segments_{partnerId}_exp", + "type": "web", + "maxAgeSeconds": 2592000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5_trueLink_privacy", + "type": "web", + "maxAgeSeconds": 2592000, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5-tl-ts", + "type": "cookie", + "maxAgeSeconds": 7776000, + "cookieRefresh": true, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5-tl-redirect-timestamp", + "type": "cookie", + "maxAgeSeconds": 7776000, + "cookieRefresh": true, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5-tl-redirect-fail", + "type": "cookie", + "maxAgeSeconds": 604800, + "cookieRefresh": true, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5-tl-optout", + "type": "cookie", + "maxAgeSeconds": 7776000, + "cookieRefresh": true, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5-true-link", + "type": "cookie", + "maxAgeSeconds": 7776000, + "cookieRefresh": true, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5-true-link-refresh", + "type": "cookie", + "maxAgeSeconds": 7776000, + "cookieRefresh": true, + "purposes": [ + 1, + 3 + ] + }, + { + "identifier": "id5-true-link-refresh-exp", + "type": "cookie", + "maxAgeSeconds": 7776000, + "cookieRefresh": true, + "purposes": [ + 1, + 3 + ] + } + ] } }, "components": [ diff --git a/metadata/modules/identityLinkIdSystem.json b/metadata/modules/identityLinkIdSystem.json index e0da9afd224..1fccb000f8d 100644 --- a/metadata/modules/identityLinkIdSystem.json +++ b/metadata/modules/identityLinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.ats.rlcdn.com/device-storage-disclosure.json": { - "timestamp": "2026-01-28T16:30:19.391Z", + "timestamp": "2026-02-06T14:30:46.346Z", "disclosures": [ { "identifier": "_lr_retry_request", diff --git a/metadata/modules/illuminBidAdapter.json b/metadata/modules/illuminBidAdapter.json index 9872fe179fe..6ce5dbf3526 100644 --- a/metadata/modules/illuminBidAdapter.json +++ b/metadata/modules/illuminBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admanmedia.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:19.410Z", + "timestamp": "2026-02-06T14:30:46.365Z", "disclosures": [] } }, diff --git a/metadata/modules/impactifyBidAdapter.json b/metadata/modules/impactifyBidAdapter.json index ff872bf7c59..2c019a4f264 100644 --- a/metadata/modules/impactifyBidAdapter.json +++ b/metadata/modules/impactifyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.impactify.io/tcfvendors.json": { - "timestamp": "2026-01-28T16:30:19.701Z", + "timestamp": "2026-02-06T14:30:46.639Z", "disclosures": [ { "identifier": "_im*", diff --git a/metadata/modules/improvedigitalBidAdapter.json b/metadata/modules/improvedigitalBidAdapter.json index 93613334ee6..63212351bfd 100644 --- a/metadata/modules/improvedigitalBidAdapter.json +++ b/metadata/modules/improvedigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2026-01-28T16:30:20.078Z", + "timestamp": "2026-02-06T14:30:46.962Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/inmobiBidAdapter.json b/metadata/modules/inmobiBidAdapter.json index 12ac730cfab..06e1fc9d7f9 100644 --- a/metadata/modules/inmobiBidAdapter.json +++ b/metadata/modules/inmobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publisher.inmobi.com/public/disclosure": { - "timestamp": "2026-01-28T16:30:20.079Z", + "timestamp": "2026-02-06T14:30:46.963Z", "disclosures": [] } }, diff --git a/metadata/modules/insticatorBidAdapter.json b/metadata/modules/insticatorBidAdapter.json index 08318bac5bf..3854789c3b9 100644 --- a/metadata/modules/insticatorBidAdapter.json +++ b/metadata/modules/insticatorBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.insticator.com/iab/device-storage-disclosure.json": { - "timestamp": "2026-01-28T16:30:20.115Z", + "timestamp": "2026-02-06T14:30:47.037Z", "disclosures": [ { "identifier": "visitorGeo", diff --git a/metadata/modules/intentIqIdSystem.json b/metadata/modules/intentIqIdSystem.json index 3e419eef19a..184c8014738 100644 --- a/metadata/modules/intentIqIdSystem.json +++ b/metadata/modules/intentIqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://agent.intentiq.com/GDPR/gdpr.json": { - "timestamp": "2026-01-28T16:30:20.139Z", + "timestamp": "2026-02-06T14:30:47.065Z", "disclosures": [] } }, diff --git a/metadata/modules/invibesBidAdapter.json b/metadata/modules/invibesBidAdapter.json index 63fcebf8060..7e8e5efc0e9 100644 --- a/metadata/modules/invibesBidAdapter.json +++ b/metadata/modules/invibesBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.invibes.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:20.189Z", + "timestamp": "2026-02-06T14:30:47.125Z", "disclosures": [ { "identifier": "ivvcap", diff --git a/metadata/modules/ipromBidAdapter.json b/metadata/modules/ipromBidAdapter.json index 4f8ff0b1227..c220378894a 100644 --- a/metadata/modules/ipromBidAdapter.json +++ b/metadata/modules/ipromBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://core.iprom.net/info/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:20.533Z", + "timestamp": "2026-02-06T14:30:47.469Z", "disclosures": [] } }, diff --git a/metadata/modules/ixBidAdapter.json b/metadata/modules/ixBidAdapter.json index 35f6279a5b8..62bdfb810e8 100644 --- a/metadata/modules/ixBidAdapter.json +++ b/metadata/modules/ixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.indexexchange.com/device_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:21.016Z", + "timestamp": "2026-02-06T14:30:47.992Z", "disclosures": [ { "identifier": "ix_features", diff --git a/metadata/modules/justIdSystem.json b/metadata/modules/justIdSystem.json index b83e3eb1d63..87ba03f761d 100644 --- a/metadata/modules/justIdSystem.json +++ b/metadata/modules/justIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audience-solutions.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:21.288Z", + "timestamp": "2026-02-06T14:30:48.991Z", "disclosures": [ { "identifier": "__jtuid", diff --git a/metadata/modules/justpremiumBidAdapter.json b/metadata/modules/justpremiumBidAdapter.json index 42a09fe26b8..380af8c19bc 100644 --- a/metadata/modules/justpremiumBidAdapter.json +++ b/metadata/modules/justpremiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.justpremium.com/devicestoragedisclosures.json": { - "timestamp": "2026-01-28T16:30:21.799Z", + "timestamp": "2026-02-06T14:30:49.494Z", "disclosures": [] } }, diff --git a/metadata/modules/jwplayerBidAdapter.json b/metadata/modules/jwplayerBidAdapter.json index c5f0094a6b1..74d1b167ab8 100644 --- a/metadata/modules/jwplayerBidAdapter.json +++ b/metadata/modules/jwplayerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.jwplayer.com/devicestorage.json": { - "timestamp": "2026-01-28T16:30:21.822Z", + "timestamp": "2026-02-06T14:30:49.511Z", "disclosures": [] } }, diff --git a/metadata/modules/kargoBidAdapter.json b/metadata/modules/kargoBidAdapter.json index 96032f6827e..f70ff64a729 100644 --- a/metadata/modules/kargoBidAdapter.json +++ b/metadata/modules/kargoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://storage.cloud.kargo.com/device_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:21.990Z", + "timestamp": "2026-02-06T14:30:49.678Z", "disclosures": [ { "identifier": "krg_crb", diff --git a/metadata/modules/kueezRtbBidAdapter.json b/metadata/modules/kueezRtbBidAdapter.json index 65251cb83cd..7d3010f7495 100644 --- a/metadata/modules/kueezRtbBidAdapter.json +++ b/metadata/modules/kueezRtbBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.kueez.com/tcf.json": { - "timestamp": "2026-01-28T16:30:22.016Z", + "timestamp": "2026-02-06T14:30:49.695Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/limelightDigitalBidAdapter.json b/metadata/modules/limelightDigitalBidAdapter.json index 32782e737c0..29a2c141e58 100644 --- a/metadata/modules/limelightDigitalBidAdapter.json +++ b/metadata/modules/limelightDigitalBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://policy.iion.io/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:22.072Z", + "timestamp": "2026-02-06T14:30:49.759Z", "disclosures": [] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:22.103Z", + "timestamp": "2026-02-06T14:30:49.817Z", "disclosures": [] } }, diff --git a/metadata/modules/liveIntentIdSystem.json b/metadata/modules/liveIntentIdSystem.json index 1cb74699212..ccfd9049d10 100644 --- a/metadata/modules/liveIntentIdSystem.json +++ b/metadata/modules/liveIntentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:22.104Z", + "timestamp": "2026-02-06T14:30:49.817Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/liveIntentRtdProvider.json b/metadata/modules/liveIntentRtdProvider.json index c7ec883ac04..746ed0b1ba8 100644 --- a/metadata/modules/liveIntentRtdProvider.json +++ b/metadata/modules/liveIntentRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:22.118Z", + "timestamp": "2026-02-06T14:30:49.830Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/livewrappedBidAdapter.json b/metadata/modules/livewrappedBidAdapter.json index 03011a99e3a..7c490e6b140 100644 --- a/metadata/modules/livewrappedBidAdapter.json +++ b/metadata/modules/livewrappedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://content.lwadm.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:22.119Z", + "timestamp": "2026-02-06T14:30:49.830Z", "disclosures": [ { "identifier": "uid", diff --git a/metadata/modules/loopmeBidAdapter.json b/metadata/modules/loopmeBidAdapter.json index 57dbea94060..a952168bd7c 100644 --- a/metadata/modules/loopmeBidAdapter.json +++ b/metadata/modules/loopmeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://co.loopme.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:22.147Z", + "timestamp": "2026-02-06T14:30:49.855Z", "disclosures": [] } }, diff --git a/metadata/modules/lotamePanoramaIdSystem.json b/metadata/modules/lotamePanoramaIdSystem.json index 7bf465e8b28..8dc95169721 100644 --- a/metadata/modules/lotamePanoramaIdSystem.json +++ b/metadata/modules/lotamePanoramaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tags.crwdcntrl.net/privacy/tcf-purposes.json": { - "timestamp": "2026-01-28T16:30:22.264Z", + "timestamp": "2026-02-06T14:30:49.987Z", "disclosures": [ { "identifier": "lotame_domain_check", diff --git a/metadata/modules/luponmediaBidAdapter.json b/metadata/modules/luponmediaBidAdapter.json index 55ff987e50a..6aed5ee92ea 100644 --- a/metadata/modules/luponmediaBidAdapter.json +++ b/metadata/modules/luponmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://luponmedia.com/vendor_device_storage.json": { - "timestamp": "2026-01-28T16:30:22.285Z", + "timestamp": "2026-02-06T14:30:50.043Z", "disclosures": [] } }, diff --git a/metadata/modules/madvertiseBidAdapter.json b/metadata/modules/madvertiseBidAdapter.json index 0e9003e97bb..ca20780c5f9 100644 --- a/metadata/modules/madvertiseBidAdapter.json +++ b/metadata/modules/madvertiseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.bluestack.app/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:22.706Z", + "timestamp": "2026-02-06T14:30:50.512Z", "disclosures": [] } }, diff --git a/metadata/modules/marsmediaBidAdapter.json b/metadata/modules/marsmediaBidAdapter.json index dcaaeb86fce..4f98ea92389 100644 --- a/metadata/modules/marsmediaBidAdapter.json +++ b/metadata/modules/marsmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mars.media/apis/tcf-v2.json": { - "timestamp": "2026-01-28T16:30:23.103Z", + "timestamp": "2026-02-06T14:30:50.857Z", "disclosures": [] } }, diff --git a/metadata/modules/mediaConsortiumBidAdapter.json b/metadata/modules/mediaConsortiumBidAdapter.json index 066fa719827..6e1cee13c94 100644 --- a/metadata/modules/mediaConsortiumBidAdapter.json +++ b/metadata/modules/mediaConsortiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.hubvisor.io/assets/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:23.277Z", + "timestamp": "2026-02-06T14:30:50.977Z", "disclosures": [ { "identifier": "hbv:turbo-cmp", diff --git a/metadata/modules/mediaforceBidAdapter.json b/metadata/modules/mediaforceBidAdapter.json index 8d3aa85d0cb..7dcda2a0ea7 100644 --- a/metadata/modules/mediaforceBidAdapter.json +++ b/metadata/modules/mediaforceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://comparisons.org/privacy.json": { - "timestamp": "2026-01-28T16:30:23.420Z", + "timestamp": "2026-02-06T14:30:51.151Z", "disclosures": [] } }, diff --git a/metadata/modules/mediafuseBidAdapter.json b/metadata/modules/mediafuseBidAdapter.json index 26645889fa4..679fbaa85f3 100644 --- a/metadata/modules/mediafuseBidAdapter.json +++ b/metadata/modules/mediafuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-01-28T16:30:23.465Z", + "timestamp": "2026-02-06T14:30:51.166Z", "disclosures": [] } }, diff --git a/metadata/modules/mediagoBidAdapter.json b/metadata/modules/mediagoBidAdapter.json index a270ee3d116..bb067395315 100644 --- a/metadata/modules/mediagoBidAdapter.json +++ b/metadata/modules/mediagoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.mediago.io/js/tcf.json": { - "timestamp": "2026-01-28T16:30:23.466Z", + "timestamp": "2026-02-06T14:30:51.166Z", "disclosures": [] } }, diff --git a/metadata/modules/mediakeysBidAdapter.json b/metadata/modules/mediakeysBidAdapter.json index f240f43bcc6..add1e9abc41 100644 --- a/metadata/modules/mediakeysBidAdapter.json +++ b/metadata/modules/mediakeysBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.eu-west-3.amazonaws.com/adserving.resourcekeys.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:23.528Z", + "timestamp": "2026-02-06T14:30:51.241Z", "disclosures": [] } }, diff --git a/metadata/modules/medianetBidAdapter.json b/metadata/modules/medianetBidAdapter.json index 60aeed6e7e0..f72cce4d6ed 100644 --- a/metadata/modules/medianetBidAdapter.json +++ b/metadata/modules/medianetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.media.net/tcfv2/gvl/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:23.849Z", + "timestamp": "2026-02-06T14:30:51.516Z", "disclosures": [ { "identifier": "_mNExInsl", @@ -246,7 +246,7 @@ ] }, "https://trustedstack.com/tcf/gvl/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:23.898Z", + "timestamp": "2026-02-06T14:30:51.678Z", "disclosures": [ { "identifier": "usp_status", diff --git a/metadata/modules/mediasquareBidAdapter.json b/metadata/modules/mediasquareBidAdapter.json index d3f0d0f1e80..06a76111d44 100644 --- a/metadata/modules/mediasquareBidAdapter.json +++ b/metadata/modules/mediasquareBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediasquare.fr/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:23.940Z", + "timestamp": "2026-02-06T14:30:51.726Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidBidAdapter.json b/metadata/modules/mgidBidAdapter.json index 6de647d3359..9e45a580a37 100644 --- a/metadata/modules/mgidBidAdapter.json +++ b/metadata/modules/mgidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-01-28T16:30:24.472Z", + "timestamp": "2026-02-06T14:30:52.272Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidRtdProvider.json b/metadata/modules/mgidRtdProvider.json index c59d0acffd1..b1ce0f730d5 100644 --- a/metadata/modules/mgidRtdProvider.json +++ b/metadata/modules/mgidRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-01-28T16:30:24.565Z", + "timestamp": "2026-02-06T14:30:52.337Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidXBidAdapter.json b/metadata/modules/mgidXBidAdapter.json index 3f4ae1d1507..82bfa410234 100644 --- a/metadata/modules/mgidXBidAdapter.json +++ b/metadata/modules/mgidXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-01-28T16:30:24.565Z", + "timestamp": "2026-02-06T14:30:52.338Z", "disclosures": [] } }, diff --git a/metadata/modules/minutemediaBidAdapter.json b/metadata/modules/minutemediaBidAdapter.json index 33d4ba2e97e..5e15b8ec376 100644 --- a/metadata/modules/minutemediaBidAdapter.json +++ b/metadata/modules/minutemediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://disclosures.mmctsvc.com/device-storage.json": { - "timestamp": "2026-01-28T16:30:24.567Z", + "timestamp": "2026-02-06T14:30:52.338Z", "disclosures": [] } }, diff --git a/metadata/modules/missenaBidAdapter.json b/metadata/modules/missenaBidAdapter.json index 721444fc081..cd0b9867bdf 100644 --- a/metadata/modules/missenaBidAdapter.json +++ b/metadata/modules/missenaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.missena.io/iab.json": { - "timestamp": "2026-01-28T16:30:24.587Z", + "timestamp": "2026-02-06T14:30:52.361Z", "disclosures": [] } }, diff --git a/metadata/modules/mobianRtdProvider.json b/metadata/modules/mobianRtdProvider.json index 4c8248d6f80..e6669210e52 100644 --- a/metadata/modules/mobianRtdProvider.json +++ b/metadata/modules/mobianRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.outcomes.net/tcf.json": { - "timestamp": "2026-01-28T16:30:24.642Z", + "timestamp": "2026-02-06T14:30:52.417Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiBidAdapter.json b/metadata/modules/mobkoiBidAdapter.json index 2aaa9ba6fbe..77fe7c78637 100644 --- a/metadata/modules/mobkoiBidAdapter.json +++ b/metadata/modules/mobkoiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:24.662Z", + "timestamp": "2026-02-06T14:30:52.437Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiIdSystem.json b/metadata/modules/mobkoiIdSystem.json index a64f5821912..e863c308a77 100644 --- a/metadata/modules/mobkoiIdSystem.json +++ b/metadata/modules/mobkoiIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:24.690Z", + "timestamp": "2026-02-06T14:30:52.457Z", "disclosures": [] } }, diff --git a/metadata/modules/msftBidAdapter.json b/metadata/modules/msftBidAdapter.json index 397bbfb971d..c501744784e 100644 --- a/metadata/modules/msftBidAdapter.json +++ b/metadata/modules/msftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-01-28T16:30:24.691Z", + "timestamp": "2026-02-06T14:30:52.457Z", "disclosures": [] } }, diff --git a/metadata/modules/nativeryBidAdapter.json b/metadata/modules/nativeryBidAdapter.json index b2716873663..2ce0c474d07 100644 --- a/metadata/modules/nativeryBidAdapter.json +++ b/metadata/modules/nativeryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnimg.nativery.com/widget/js/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:24.694Z", + "timestamp": "2026-02-06T14:30:52.458Z", "disclosures": [] } }, diff --git a/metadata/modules/nativoBidAdapter.json b/metadata/modules/nativoBidAdapter.json index 2edcc2b20c9..5601803b583 100644 --- a/metadata/modules/nativoBidAdapter.json +++ b/metadata/modules/nativoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.nativo.com/tcf-disclosures.json": { - "timestamp": "2026-01-28T16:30:25.034Z", + "timestamp": "2026-02-06T14:30:52.769Z", "disclosures": [] } }, diff --git a/metadata/modules/newspassidBidAdapter.json b/metadata/modules/newspassidBidAdapter.json index 2bdde04b806..6d9a056c546 100644 --- a/metadata/modules/newspassidBidAdapter.json +++ b/metadata/modules/newspassidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2026-01-28T16:30:25.072Z", + "timestamp": "2026-02-06T14:30:52.793Z", "disclosures": [] } }, diff --git a/metadata/modules/nextMillenniumBidAdapter.json b/metadata/modules/nextMillenniumBidAdapter.json index 4a1acbcebee..de42314a766 100644 --- a/metadata/modules/nextMillenniumBidAdapter.json +++ b/metadata/modules/nextMillenniumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://nextmillennium.io/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:25.073Z", + "timestamp": "2026-02-06T14:30:52.793Z", "disclosures": [] } }, diff --git a/metadata/modules/nextrollBidAdapter.json b/metadata/modules/nextrollBidAdapter.json index 3235d22633f..c63566db548 100644 --- a/metadata/modules/nextrollBidAdapter.json +++ b/metadata/modules/nextrollBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.adroll.com/shares/device_storage.json": { - "timestamp": "2026-01-28T16:30:25.140Z", + "timestamp": "2026-02-06T14:30:52.880Z", "disclosures": [ { "identifier": "__adroll_fpc", diff --git a/metadata/modules/nexx360BidAdapter.json b/metadata/modules/nexx360BidAdapter.json index 8c05a5de13c..c59498d7286 100644 --- a/metadata/modules/nexx360BidAdapter.json +++ b/metadata/modules/nexx360BidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:26.058Z", + "timestamp": "2026-02-06T14:30:53.696Z", "disclosures": [] }, "https://static.first-id.fr/tcf/cookie.json": { - "timestamp": "2026-01-28T16:30:25.421Z", + "timestamp": "2026-02-06T14:30:52.930Z", "disclosures": [] }, "https://i.plug.it/banners/js/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:25.445Z", + "timestamp": "2026-02-06T14:30:52.956Z", "disclosures": [] }, "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:25.665Z", + "timestamp": "2026-02-06T14:30:53.296Z", "disclosures": [ { "identifier": "glomexUser", @@ -46,7 +46,7 @@ ] }, "https://gdpr.pubx.ai/devicestoragedisclosure.json": { - "timestamp": "2026-01-28T16:30:25.665Z", + "timestamp": "2026-02-06T14:30:53.296Z", "disclosures": [ { "identifier": "pubx:defaults", @@ -61,7 +61,7 @@ ] }, "https://yieldbird.com/devicestorage.json": { - "timestamp": "2026-01-28T16:30:25.684Z", + "timestamp": "2026-02-06T14:30:53.313Z", "disclosures": [] } }, diff --git a/metadata/modules/nobidBidAdapter.json b/metadata/modules/nobidBidAdapter.json index e87c1602d61..398bdfbf089 100644 --- a/metadata/modules/nobidBidAdapter.json +++ b/metadata/modules/nobidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://public.servenobid.com/gdpr_tcf/vendor_device_storage_operational_disclosures.json": { - "timestamp": "2026-01-28T16:30:26.059Z", + "timestamp": "2026-02-06T14:30:53.697Z", "disclosures": [] } }, diff --git a/metadata/modules/nodalsAiRtdProvider.json b/metadata/modules/nodalsAiRtdProvider.json index 63188ce57d5..47c3941614d 100644 --- a/metadata/modules/nodalsAiRtdProvider.json +++ b/metadata/modules/nodalsAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.nodals.ai/vendor.json": { - "timestamp": "2026-01-28T16:30:26.074Z", + "timestamp": "2026-02-06T14:30:53.713Z", "disclosures": [ { "identifier": "localStorage", diff --git a/metadata/modules/novatiqIdSystem.json b/metadata/modules/novatiqIdSystem.json index 1191fd80de1..6aa638e72e8 100644 --- a/metadata/modules/novatiqIdSystem.json +++ b/metadata/modules/novatiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://novatiq.com/privacy/iab/novatiq.json": { - "timestamp": "2026-01-28T16:30:27.691Z", + "timestamp": "2026-02-06T14:30:55.463Z", "disclosures": [ { "identifier": "novatiq", diff --git a/metadata/modules/oguryBidAdapter.json b/metadata/modules/oguryBidAdapter.json index 3b044f32034..64c3fd4b836 100644 --- a/metadata/modules/oguryBidAdapter.json +++ b/metadata/modules/oguryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.ogury.co/disclosure.json": { - "timestamp": "2026-01-28T16:30:28.031Z", + "timestamp": "2026-02-06T14:30:55.793Z", "disclosures": [] } }, diff --git a/metadata/modules/omnidexBidAdapter.json b/metadata/modules/omnidexBidAdapter.json index cb9afb31fb1..162210cd45c 100644 --- a/metadata/modules/omnidexBidAdapter.json +++ b/metadata/modules/omnidexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.omni-dex.io/devicestorage.json": { - "timestamp": "2026-01-28T16:30:28.095Z", + "timestamp": "2026-02-06T14:30:55.845Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/omsBidAdapter.json b/metadata/modules/omsBidAdapter.json index e0f6d4fa074..a4993aa24e9 100644 --- a/metadata/modules/omsBidAdapter.json +++ b/metadata/modules/omsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-01-28T16:30:28.157Z", + "timestamp": "2026-02-06T14:30:55.910Z", "disclosures": [] } }, diff --git a/metadata/modules/onetagBidAdapter.json b/metadata/modules/onetagBidAdapter.json index 3d0c4ca8dee..fc77e7942f5 100644 --- a/metadata/modules/onetagBidAdapter.json +++ b/metadata/modules/onetagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://onetag-cdn.com/privacy/tcf_storage.json": { - "timestamp": "2026-01-28T16:30:28.158Z", + "timestamp": "2026-02-06T14:30:55.911Z", "disclosures": [ { "identifier": "onetag_sid", diff --git a/metadata/modules/openwebBidAdapter.json b/metadata/modules/openwebBidAdapter.json index e84a0376dac..43a909192d3 100644 --- a/metadata/modules/openwebBidAdapter.json +++ b/metadata/modules/openwebBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2026-01-28T16:30:28.487Z", + "timestamp": "2026-02-06T14:30:56.264Z", "disclosures": [] } }, diff --git a/metadata/modules/openxBidAdapter.json b/metadata/modules/openxBidAdapter.json index 6d6fa2c2c23..181fe929290 100644 --- a/metadata/modules/openxBidAdapter.json +++ b/metadata/modules/openxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.openx.com/device-storage.json": { - "timestamp": "2026-01-28T16:30:28.525Z", + "timestamp": "2026-02-06T14:30:56.304Z", "disclosures": [] } }, diff --git a/metadata/modules/operaadsBidAdapter.json b/metadata/modules/operaadsBidAdapter.json index 76226db2c54..0671f2f9d1b 100644 --- a/metadata/modules/operaadsBidAdapter.json +++ b/metadata/modules/operaadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://res.adx.opera.com/dsd.json": { - "timestamp": "2026-01-28T16:30:28.576Z", + "timestamp": "2026-02-06T14:30:56.360Z", "disclosures": [] } }, diff --git a/metadata/modules/optidigitalBidAdapter.json b/metadata/modules/optidigitalBidAdapter.json index 1e17c7686fd..2caeb173977 100644 --- a/metadata/modules/optidigitalBidAdapter.json +++ b/metadata/modules/optidigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://scripts.opti-digital.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:28.625Z", + "timestamp": "2026-02-06T14:30:56.554Z", "disclosures": [] } }, diff --git a/metadata/modules/optoutBidAdapter.json b/metadata/modules/optoutBidAdapter.json index a894055a0b3..3ac44009a9d 100644 --- a/metadata/modules/optoutBidAdapter.json +++ b/metadata/modules/optoutBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserving.optoutadvertising.com/dsd": { - "timestamp": "2026-01-28T16:30:28.705Z", + "timestamp": "2026-02-06T14:30:56.602Z", "disclosures": [] } }, diff --git a/metadata/modules/orbidderBidAdapter.json b/metadata/modules/orbidderBidAdapter.json index 0ae9bf725ab..b2c3a3570a4 100644 --- a/metadata/modules/orbidderBidAdapter.json +++ b/metadata/modules/orbidderBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://orbidder.otto.de/disclosure/dsd.json": { - "timestamp": "2026-01-28T16:30:28.971Z", + "timestamp": "2026-02-06T14:30:56.869Z", "disclosures": [] } }, diff --git a/metadata/modules/outbrainBidAdapter.json b/metadata/modules/outbrainBidAdapter.json index 5e5a4cd4aeb..5de0614a637 100644 --- a/metadata/modules/outbrainBidAdapter.json +++ b/metadata/modules/outbrainBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.outbrain.com/privacy/wp-json/privacy/v2/devicestorage.json": { - "timestamp": "2026-01-28T16:30:29.295Z", + "timestamp": "2026-02-06T14:30:57.162Z", "disclosures": [ { "identifier": "dicbo_id", diff --git a/metadata/modules/ozoneBidAdapter.json b/metadata/modules/ozoneBidAdapter.json index ea70878496b..3314ec181ad 100644 --- a/metadata/modules/ozoneBidAdapter.json +++ b/metadata/modules/ozoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://prebid.the-ozone-project.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:29.606Z", + "timestamp": "2026-02-06T14:30:57.265Z", "disclosures": [] } }, diff --git a/metadata/modules/pairIdSystem.json b/metadata/modules/pairIdSystem.json index d83173c0933..251229e5281 100644 --- a/metadata/modules/pairIdSystem.json +++ b/metadata/modules/pairIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gstatic.com/iabtcf/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:29.871Z", + "timestamp": "2026-02-06T14:30:57.474Z", "disclosures": [ { "identifier": "__gads", diff --git a/metadata/modules/panxoBidAdapter.json b/metadata/modules/panxoBidAdapter.json index 271639b6bcc..b03acbad7b8 100644 --- a/metadata/modules/panxoBidAdapter.json +++ b/metadata/modules/panxoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.panxo.ai/tcf/device-storage.json": { - "timestamp": "2026-01-28T16:30:29.889Z", + "timestamp": "2026-02-06T14:30:57.494Z", "disclosures": [ { "identifier": "panxo_uid", diff --git a/metadata/modules/performaxBidAdapter.json b/metadata/modules/performaxBidAdapter.json index f845d868039..1040cb50c27 100644 --- a/metadata/modules/performaxBidAdapter.json +++ b/metadata/modules/performaxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.performax.cz/device_storage.json": { - "timestamp": "2026-01-28T16:30:30.114Z", + "timestamp": "2026-02-06T14:30:57.921Z", "disclosures": [ { "identifier": "px2uid", diff --git a/metadata/modules/permutiveIdentityManagerIdSystem.json b/metadata/modules/permutiveIdentityManagerIdSystem.json index 8d762cfa8ac..ae012106979 100644 --- a/metadata/modules/permutiveIdentityManagerIdSystem.json +++ b/metadata/modules/permutiveIdentityManagerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2026-01-28T16:30:30.530Z", + "timestamp": "2026-02-06T14:30:58.428Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/permutiveRtdProvider.json b/metadata/modules/permutiveRtdProvider.json index b3183046ced..6f05af9d2b2 100644 --- a/metadata/modules/permutiveRtdProvider.json +++ b/metadata/modules/permutiveRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2026-01-28T16:30:30.723Z", + "timestamp": "2026-02-06T14:30:58.703Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/pixfutureBidAdapter.json b/metadata/modules/pixfutureBidAdapter.json index 404e5160044..d75f0bd999a 100644 --- a/metadata/modules/pixfutureBidAdapter.json +++ b/metadata/modules/pixfutureBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.pixfuture.com/vendor-disclosures.json": { - "timestamp": "2026-01-28T16:30:30.724Z", + "timestamp": "2026-02-06T14:30:58.704Z", "disclosures": [] } }, diff --git a/metadata/modules/playdigoBidAdapter.json b/metadata/modules/playdigoBidAdapter.json index e1cfc53a2be..ea316812f29 100644 --- a/metadata/modules/playdigoBidAdapter.json +++ b/metadata/modules/playdigoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://playdigo.com/file.json": { - "timestamp": "2026-01-28T16:30:30.771Z", + "timestamp": "2026-02-06T14:30:58.773Z", "disclosures": [] } }, diff --git a/metadata/modules/prebid-core.json b/metadata/modules/prebid-core.json index 27215922c30..389211945a8 100644 --- a/metadata/modules/prebid-core.json +++ b/metadata/modules/prebid-core.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json": { - "timestamp": "2026-01-28T16:29:58.199Z", + "timestamp": "2026-02-06T14:30:25.250Z", "disclosures": [ { "identifier": "_rdc*", @@ -23,7 +23,7 @@ ] }, "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2026-01-28T16:29:58.213Z", + "timestamp": "2026-02-06T14:30:25.252Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/precisoBidAdapter.json b/metadata/modules/precisoBidAdapter.json index 051accb3c62..ab023bd4ecc 100644 --- a/metadata/modules/precisoBidAdapter.json +++ b/metadata/modules/precisoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://preciso.net/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:30.948Z", + "timestamp": "2026-02-06T14:30:58.944Z", "disclosures": [ { "identifier": "XXXXX_viewnew", diff --git a/metadata/modules/prismaBidAdapter.json b/metadata/modules/prismaBidAdapter.json index 0d1691488d9..e05a5750f03 100644 --- a/metadata/modules/prismaBidAdapter.json +++ b/metadata/modules/prismaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:30.998Z", + "timestamp": "2026-02-06T14:30:59.181Z", "disclosures": [] } }, diff --git a/metadata/modules/programmaticXBidAdapter.json b/metadata/modules/programmaticXBidAdapter.json index 1221f3c8eb4..4083a0bb464 100644 --- a/metadata/modules/programmaticXBidAdapter.json +++ b/metadata/modules/programmaticXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://progrtb.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-01-28T16:30:30.998Z", + "timestamp": "2026-02-06T14:30:59.181Z", "disclosures": [] } }, diff --git a/metadata/modules/proxistoreBidAdapter.json b/metadata/modules/proxistoreBidAdapter.json index f6bd76fdd1b..82304f61384 100644 --- a/metadata/modules/proxistoreBidAdapter.json +++ b/metadata/modules/proxistoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://abs.proxistore.com/assets/json/proxistore_device_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:31.059Z", + "timestamp": "2026-02-06T14:30:59.240Z", "disclosures": [] } }, diff --git a/metadata/modules/publinkIdSystem.json b/metadata/modules/publinkIdSystem.json index fb02ded585d..10505045ff7 100644 --- a/metadata/modules/publinkIdSystem.json +++ b/metadata/modules/publinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.9/device_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:31.543Z", + "timestamp": "2026-02-06T14:30:59.707Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/pubmaticBidAdapter.json b/metadata/modules/pubmaticBidAdapter.json index 607009f53ac..64bb5ffab84 100644 --- a/metadata/modules/pubmaticBidAdapter.json +++ b/metadata/modules/pubmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2026-01-28T16:30:31.544Z", + "timestamp": "2026-02-06T14:30:59.708Z", "disclosures": [] } }, diff --git a/metadata/modules/pubmaticIdSystem.json b/metadata/modules/pubmaticIdSystem.json index c57d7c0d7c4..463037c5a5f 100644 --- a/metadata/modules/pubmaticIdSystem.json +++ b/metadata/modules/pubmaticIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2026-01-28T16:30:31.576Z", + "timestamp": "2026-02-06T14:30:59.726Z", "disclosures": [] } }, diff --git a/metadata/modules/pulsepointBidAdapter.json b/metadata/modules/pulsepointBidAdapter.json index 4bacd53227a..d3f2cc7ee59 100644 --- a/metadata/modules/pulsepointBidAdapter.json +++ b/metadata/modules/pulsepointBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bh.contextweb.com/tcf/vendorInfo.json": { - "timestamp": "2026-01-28T16:30:31.577Z", + "timestamp": "2026-02-06T14:30:59.729Z", "disclosures": [] } }, diff --git a/metadata/modules/quantcastBidAdapter.json b/metadata/modules/quantcastBidAdapter.json index 426abc3ac5c..69c0e462a27 100644 --- a/metadata/modules/quantcastBidAdapter.json +++ b/metadata/modules/quantcastBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2026-01-28T16:30:31.593Z", + "timestamp": "2026-02-06T14:30:59.748Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/quantcastIdSystem.json b/metadata/modules/quantcastIdSystem.json index 6c28e90ab63..de44c0143bf 100644 --- a/metadata/modules/quantcastIdSystem.json +++ b/metadata/modules/quantcastIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2026-01-28T16:30:31.773Z", + "timestamp": "2026-02-06T14:30:59.931Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/r2b2BidAdapter.json b/metadata/modules/r2b2BidAdapter.json index 6b3f923e892..6dbf10fc8bb 100644 --- a/metadata/modules/r2b2BidAdapter.json +++ b/metadata/modules/r2b2BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.r2b2.io/cookie_disclosure": { - "timestamp": "2026-01-28T16:30:31.773Z", + "timestamp": "2026-02-06T14:30:59.932Z", "disclosures": [ { "identifier": "AdTrack-hide-*", diff --git a/metadata/modules/readpeakBidAdapter.json b/metadata/modules/readpeakBidAdapter.json index 6b75cbc9276..e5df3e4b05e 100644 --- a/metadata/modules/readpeakBidAdapter.json +++ b/metadata/modules/readpeakBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.readpeak.com/tcf/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:32.145Z", + "timestamp": "2026-02-06T14:31:00.371Z", "disclosures": [ { "identifier": "rp_uidfp", diff --git a/metadata/modules/relevantdigitalBidAdapter.json b/metadata/modules/relevantdigitalBidAdapter.json index 08eedf926e5..b0f1623d592 100644 --- a/metadata/modules/relevantdigitalBidAdapter.json +++ b/metadata/modules/relevantdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.relevant-digital.com/resources/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:32.375Z", + "timestamp": "2026-02-06T14:31:01.523Z", "disclosures": [] } }, diff --git a/metadata/modules/resetdigitalBidAdapter.json b/metadata/modules/resetdigitalBidAdapter.json index 703482de16d..9a0222f5934 100644 --- a/metadata/modules/resetdigitalBidAdapter.json +++ b/metadata/modules/resetdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resetdigital.co/GDPR-TCF.json": { - "timestamp": "2026-01-28T16:30:32.683Z", + "timestamp": "2026-02-06T14:31:01.708Z", "disclosures": [] } }, diff --git a/metadata/modules/responsiveAdsBidAdapter.json b/metadata/modules/responsiveAdsBidAdapter.json index 89d23bb6652..6b964535ce7 100644 --- a/metadata/modules/responsiveAdsBidAdapter.json +++ b/metadata/modules/responsiveAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publish.responsiveads.com/tcf/tcf-v2.json": { - "timestamp": "2026-01-28T16:30:32.722Z", + "timestamp": "2026-02-06T14:31:01.749Z", "disclosures": [] } }, diff --git a/metadata/modules/revcontentBidAdapter.json b/metadata/modules/revcontentBidAdapter.json index 3f45c788da2..849e6939e78 100644 --- a/metadata/modules/revcontentBidAdapter.json +++ b/metadata/modules/revcontentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sothebys.revcontent.com/static/device_storage.json": { - "timestamp": "2026-01-28T16:30:32.781Z", + "timestamp": "2026-02-06T14:31:01.772Z", "disclosures": [ { "identifier": "__ID", diff --git a/metadata/modules/revnewBidAdapter.json b/metadata/modules/revnewBidAdapter.json index 29fdb8b0198..5018f0d66f7 100644 --- a/metadata/modules/revnewBidAdapter.json +++ b/metadata/modules/revnewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediafuse.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:32.795Z", + "timestamp": "2026-02-06T14:31:01.792Z", "disclosures": [] } }, diff --git a/metadata/modules/rhythmoneBidAdapter.json b/metadata/modules/rhythmoneBidAdapter.json index 31d017d8c39..4a825c9e721 100644 --- a/metadata/modules/rhythmoneBidAdapter.json +++ b/metadata/modules/rhythmoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:32.929Z", + "timestamp": "2026-02-06T14:31:01.869Z", "disclosures": [] } }, diff --git a/metadata/modules/richaudienceBidAdapter.json b/metadata/modules/richaudienceBidAdapter.json index db4f6fbb7d4..c0828fecfaa 100644 --- a/metadata/modules/richaudienceBidAdapter.json +++ b/metadata/modules/richaudienceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnj.richaudience.com/52a26ab9400b2a9f5aabfa20acf3196g.json": { - "timestamp": "2026-01-28T16:30:33.193Z", + "timestamp": "2026-02-06T14:31:02.113Z", "disclosures": [] } }, diff --git a/metadata/modules/riseBidAdapter.json b/metadata/modules/riseBidAdapter.json index 15a580963ff..9e7db30fb14 100644 --- a/metadata/modules/riseBidAdapter.json +++ b/metadata/modules/riseBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d2pm7iglz0b6eq.cloudfront.net/RiseDeviceStorage.json": { - "timestamp": "2026-01-28T16:30:33.264Z", + "timestamp": "2026-02-06T14:31:02.167Z", "disclosures": [] }, "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2026-01-28T16:30:33.264Z", + "timestamp": "2026-02-06T14:31:02.167Z", "disclosures": [] } }, diff --git a/metadata/modules/rixengineBidAdapter.json b/metadata/modules/rixengineBidAdapter.json index 437a19779b1..7cfb9cf6ab4 100644 --- a/metadata/modules/rixengineBidAdapter.json +++ b/metadata/modules/rixengineBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.algorix.co/gdpr-disclosure.json": { - "timestamp": "2026-01-28T16:30:33.264Z", + "timestamp": "2026-02-06T14:31:02.168Z", "disclosures": [] } }, diff --git a/metadata/modules/rtbhouseBidAdapter.json b/metadata/modules/rtbhouseBidAdapter.json index 20c7edbd123..e45ec11be5c 100644 --- a/metadata/modules/rtbhouseBidAdapter.json +++ b/metadata/modules/rtbhouseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://rtbhouse.com/DeviceStorage.json": { - "timestamp": "2026-01-28T16:30:33.289Z", + "timestamp": "2026-02-06T14:31:02.186Z", "disclosures": [ { "identifier": "_rtbh.*", diff --git a/metadata/modules/rubiconBidAdapter.json b/metadata/modules/rubiconBidAdapter.json index e8f991d7e6d..2d3b69626fa 100644 --- a/metadata/modules/rubiconBidAdapter.json +++ b/metadata/modules/rubiconBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.rubiconproject.com/dvplus/devicestoragedisclosure.json": { - "timestamp": "2026-01-28T16:30:33.692Z", + "timestamp": "2026-02-06T14:31:02.472Z", "disclosures": [] } }, diff --git a/metadata/modules/scaliburBidAdapter.json b/metadata/modules/scaliburBidAdapter.json index 95100416ca0..78659ada722 100644 --- a/metadata/modules/scaliburBidAdapter.json +++ b/metadata/modules/scaliburBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://legal.overwolf.com/docs/overwolf/website/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:33.929Z", + "timestamp": "2026-02-06T14:31:02.728Z", "disclosures": [ { "identifier": "scluid", diff --git a/metadata/modules/screencoreBidAdapter.json b/metadata/modules/screencoreBidAdapter.json index 19bce2ec18b..3dc900a8b4a 100644 --- a/metadata/modules/screencoreBidAdapter.json +++ b/metadata/modules/screencoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://screencore.io/tcf.json": { - "timestamp": "2026-01-28T16:30:33.953Z", + "timestamp": "2026-02-06T14:31:02.744Z", "disclosures": null } }, diff --git a/metadata/modules/seedingAllianceBidAdapter.json b/metadata/modules/seedingAllianceBidAdapter.json index fe8d650a43f..050431508c0 100644 --- a/metadata/modules/seedingAllianceBidAdapter.json +++ b/metadata/modules/seedingAllianceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.nativendo.de/cdn/asset/tcf/purpose-specific-storage-and-access-information.json": { - "timestamp": "2026-01-28T16:30:36.548Z", + "timestamp": "2026-02-06T14:31:05.338Z", "disclosures": [] } }, diff --git a/metadata/modules/seedtagBidAdapter.json b/metadata/modules/seedtagBidAdapter.json index dc5a53845ed..c5c50a70b1c 100644 --- a/metadata/modules/seedtagBidAdapter.json +++ b/metadata/modules/seedtagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2026-01-28T16:30:36.576Z", + "timestamp": "2026-02-06T14:31:05.364Z", "disclosures": [] } }, diff --git a/metadata/modules/semantiqRtdProvider.json b/metadata/modules/semantiqRtdProvider.json index e03a5cffba7..2fca80acc4a 100644 --- a/metadata/modules/semantiqRtdProvider.json +++ b/metadata/modules/semantiqRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audienzz.com/device_storage_disclosure_vendor_783.json": { - "timestamp": "2026-01-28T16:30:36.576Z", + "timestamp": "2026-02-06T14:31:05.364Z", "disclosures": [] } }, diff --git a/metadata/modules/setupadBidAdapter.json b/metadata/modules/setupadBidAdapter.json index 9114eb7ffec..ec357f4ee2e 100644 --- a/metadata/modules/setupadBidAdapter.json +++ b/metadata/modules/setupadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cookies.stpd.cloud/disclosures.json": { - "timestamp": "2026-01-28T16:30:36.628Z", + "timestamp": "2026-02-06T14:31:05.430Z", "disclosures": [] } }, diff --git a/metadata/modules/sevioBidAdapter.json b/metadata/modules/sevioBidAdapter.json index 9c5e2a82b2a..7ca3381d3a9 100644 --- a/metadata/modules/sevioBidAdapter.json +++ b/metadata/modules/sevioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sevio.com/tcf.json": { - "timestamp": "2026-01-28T16:30:36.792Z", + "timestamp": "2026-02-06T14:31:05.617Z", "disclosures": [] } }, diff --git a/metadata/modules/sharedIdSystem.json b/metadata/modules/sharedIdSystem.json index deda98910f7..568e092c809 100644 --- a/metadata/modules/sharedIdSystem.json +++ b/metadata/modules/sharedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2026-01-28T16:30:36.949Z", + "timestamp": "2026-02-06T14:31:05.800Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/sharethroughBidAdapter.json b/metadata/modules/sharethroughBidAdapter.json index 5d835a1ba39..c6ff5df02c8 100644 --- a/metadata/modules/sharethroughBidAdapter.json +++ b/metadata/modules/sharethroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.sharethrough.com/gvl.json": { - "timestamp": "2026-01-28T16:30:36.949Z", + "timestamp": "2026-02-06T14:31:05.801Z", "disclosures": [] } }, diff --git a/metadata/modules/showheroes-bsBidAdapter.json b/metadata/modules/showheroes-bsBidAdapter.json index 7dcee4cef53..993b9968529 100644 --- a/metadata/modules/showheroes-bsBidAdapter.json +++ b/metadata/modules/showheroes-bsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static-origin.showheroes.com/gvl_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:36.971Z", + "timestamp": "2026-02-06T14:31:05.827Z", "disclosures": [] } }, diff --git a/metadata/modules/silvermobBidAdapter.json b/metadata/modules/silvermobBidAdapter.json index 21743e158e4..8cba8c7f296 100644 --- a/metadata/modules/silvermobBidAdapter.json +++ b/metadata/modules/silvermobBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://silvermob.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:37.398Z", + "timestamp": "2026-02-06T14:31:06.289Z", "disclosures": [] } }, diff --git a/metadata/modules/sirdataRtdProvider.json b/metadata/modules/sirdataRtdProvider.json index 292ad9c1408..8fa8db1c234 100644 --- a/metadata/modules/sirdataRtdProvider.json +++ b/metadata/modules/sirdataRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sirdata.eu/sirdata_device_storage_disclosure.json": { - "timestamp": "2026-01-28T16:30:37.414Z", + "timestamp": "2026-02-06T14:31:06.304Z", "disclosures": [] } }, diff --git a/metadata/modules/smaatoBidAdapter.json b/metadata/modules/smaatoBidAdapter.json index 35d7af131ec..40b7972f55e 100644 --- a/metadata/modules/smaatoBidAdapter.json +++ b/metadata/modules/smaatoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resources.smaato.com/hubfs/Smaato/IAB/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:37.710Z", + "timestamp": "2026-02-06T14:31:06.599Z", "disclosures": [] } }, diff --git a/metadata/modules/smartadserverBidAdapter.json b/metadata/modules/smartadserverBidAdapter.json index a1ed3e1f8bd..bd1eee175c1 100644 --- a/metadata/modules/smartadserverBidAdapter.json +++ b/metadata/modules/smartadserverBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2026-01-28T16:30:37.818Z", + "timestamp": "2026-02-06T14:31:06.691Z", "disclosures": [] } }, diff --git a/metadata/modules/smartxBidAdapter.json b/metadata/modules/smartxBidAdapter.json index 2bbf3c45927..c235ca9052d 100644 --- a/metadata/modules/smartxBidAdapter.json +++ b/metadata/modules/smartxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.smartclip.net/iab/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:37.819Z", + "timestamp": "2026-02-06T14:31:06.694Z", "disclosures": [] } }, diff --git a/metadata/modules/smartyadsBidAdapter.json b/metadata/modules/smartyadsBidAdapter.json index c56d5f330e6..98f9a652ab5 100644 --- a/metadata/modules/smartyadsBidAdapter.json +++ b/metadata/modules/smartyadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smartyads.com/tcf.json": { - "timestamp": "2026-01-28T16:30:37.844Z", + "timestamp": "2026-02-06T14:31:06.715Z", "disclosures": [] } }, diff --git a/metadata/modules/smilewantedBidAdapter.json b/metadata/modules/smilewantedBidAdapter.json index 5c3b44c8296..1ceac57db43 100644 --- a/metadata/modules/smilewantedBidAdapter.json +++ b/metadata/modules/smilewantedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smilewanted.com/vendor-device-storage-disclosures.json": { - "timestamp": "2026-01-28T16:30:37.886Z", + "timestamp": "2026-02-06T14:31:06.756Z", "disclosures": [] } }, diff --git a/metadata/modules/snigelBidAdapter.json b/metadata/modules/snigelBidAdapter.json index 68d1c0c2815..d5ca0d05f33 100644 --- a/metadata/modules/snigelBidAdapter.json +++ b/metadata/modules/snigelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.snigelweb.com/gvl/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:38.328Z", + "timestamp": "2026-02-06T14:31:07.372Z", "disclosures": [] } }, diff --git a/metadata/modules/sonaradsBidAdapter.json b/metadata/modules/sonaradsBidAdapter.json index b41bae638fe..3cccdfc58e0 100644 --- a/metadata/modules/sonaradsBidAdapter.json +++ b/metadata/modules/sonaradsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bridgeupp.com/device-storage-disclosure.json": { - "timestamp": "2026-01-28T16:30:38.465Z", + "timestamp": "2026-02-06T14:31:07.449Z", "disclosures": [] } }, diff --git a/metadata/modules/sonobiBidAdapter.json b/metadata/modules/sonobiBidAdapter.json index bef53619e19..b77fbe98b11 100644 --- a/metadata/modules/sonobiBidAdapter.json +++ b/metadata/modules/sonobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sonobi.com/tcf2-device-storage-disclosure.json": { - "timestamp": "2026-01-28T16:30:38.695Z", + "timestamp": "2026-02-06T14:31:07.697Z", "disclosures": [] } }, diff --git a/metadata/modules/sovrnBidAdapter.json b/metadata/modules/sovrnBidAdapter.json index ae4dc05951d..62cf4b62595 100644 --- a/metadata/modules/sovrnBidAdapter.json +++ b/metadata/modules/sovrnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sovrn.com/tcf-cookie-disclosure/disclosure.json": { - "timestamp": "2026-01-28T16:30:38.930Z", + "timestamp": "2026-02-06T14:31:07.928Z", "disclosures": [] } }, diff --git a/metadata/modules/sparteoBidAdapter.json b/metadata/modules/sparteoBidAdapter.json index 4f549fdb2e4..67eaa14f9bb 100644 --- a/metadata/modules/sparteoBidAdapter.json +++ b/metadata/modules/sparteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:38.952Z", + "timestamp": "2026-02-06T14:31:07.947Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/ssmasBidAdapter.json b/metadata/modules/ssmasBidAdapter.json index ccc832d962a..1df0d91d751 100644 --- a/metadata/modules/ssmasBidAdapter.json +++ b/metadata/modules/ssmasBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://semseoymas.com/iab.json": { - "timestamp": "2026-01-28T16:30:39.228Z", + "timestamp": "2026-02-06T14:31:08.233Z", "disclosures": null } }, diff --git a/metadata/modules/sspBCBidAdapter.json b/metadata/modules/sspBCBidAdapter.json index db6d59ff097..37ff0a3962e 100644 --- a/metadata/modules/sspBCBidAdapter.json +++ b/metadata/modules/sspBCBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:39.834Z", + "timestamp": "2026-02-06T14:31:08.788Z", "disclosures": null } }, diff --git a/metadata/modules/stackadaptBidAdapter.json b/metadata/modules/stackadaptBidAdapter.json index f0049ce614b..c0bee206669 100644 --- a/metadata/modules/stackadaptBidAdapter.json +++ b/metadata/modules/stackadaptBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.amazonaws.com/stackadapt_public/disclosures.json": { - "timestamp": "2026-01-28T16:30:39.835Z", + "timestamp": "2026-02-06T14:31:08.789Z", "disclosures": [ { "identifier": "sa-camp-*", @@ -62,6 +62,17 @@ 4 ] }, + { + "identifier": "sa-user-id-v4", + "type": "cookie", + "maxAgeSeconds": 31536000, + "cookieRefresh": false, + "purposes": [ + 1, + 3, + 4 + ] + }, { "identifier": "sa-user-id", "type": "web", @@ -84,6 +95,17 @@ 4 ] }, + { + "identifier": "sa-user-id-v4", + "type": "web", + "maxAgeSeconds": null, + "cookieRefresh": false, + "purposes": [ + 1, + 3, + 4 + ] + }, { "identifier": "sa-camp-*", "type": "web", diff --git a/metadata/modules/startioBidAdapter.json b/metadata/modules/startioBidAdapter.json index b2288e475a3..5f8395c337a 100644 --- a/metadata/modules/startioBidAdapter.json +++ b/metadata/modules/startioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://info.startappservice.com/tcf/start.io_domains.json": { - "timestamp": "2026-01-28T16:30:39.868Z", + "timestamp": "2026-02-06T14:31:08.823Z", "disclosures": [] } }, diff --git a/metadata/modules/stroeerCoreBidAdapter.json b/metadata/modules/stroeerCoreBidAdapter.json index d665b481f92..dfc4fbf2d55 100644 --- a/metadata/modules/stroeerCoreBidAdapter.json +++ b/metadata/modules/stroeerCoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.stroeer.de/StroeerSSP_deviceStorage.json": { - "timestamp": "2026-01-28T16:30:39.889Z", + "timestamp": "2026-02-06T14:31:08.840Z", "disclosures": [] } }, diff --git a/metadata/modules/stvBidAdapter.json b/metadata/modules/stvBidAdapter.json index d1ce12c1ae4..61d27bbf32e 100644 --- a/metadata/modules/stvBidAdapter.json +++ b/metadata/modules/stvBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/stv.json": { - "timestamp": "2026-01-28T16:30:40.266Z", + "timestamp": "2026-02-06T14:31:09.177Z", "disclosures": [] } }, diff --git a/metadata/modules/sublimeBidAdapter.json b/metadata/modules/sublimeBidAdapter.json index 77f960e3892..da5ddf414a2 100644 --- a/metadata/modules/sublimeBidAdapter.json +++ b/metadata/modules/sublimeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.ayads.co/cookiepolicy.json": { - "timestamp": "2026-01-28T16:30:40.913Z", + "timestamp": "2026-02-06T14:31:09.818Z", "disclosures": [ { "identifier": "dnt", diff --git a/metadata/modules/taboolaBidAdapter.json b/metadata/modules/taboolaBidAdapter.json index 07e38d4e2f3..6a42ffd2e45 100644 --- a/metadata/modules/taboolaBidAdapter.json +++ b/metadata/modules/taboolaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2026-01-28T16:30:41.174Z", + "timestamp": "2026-02-06T14:31:09.843Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/taboolaIdSystem.json b/metadata/modules/taboolaIdSystem.json index 5192f0b5a53..d5c707ead2d 100644 --- a/metadata/modules/taboolaIdSystem.json +++ b/metadata/modules/taboolaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2026-01-28T16:30:41.833Z", + "timestamp": "2026-02-06T14:31:10.305Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/tadvertisingBidAdapter.json b/metadata/modules/tadvertisingBidAdapter.json index a3cb6303200..7098f885be9 100644 --- a/metadata/modules/tadvertisingBidAdapter.json +++ b/metadata/modules/tadvertisingBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:41.834Z", + "timestamp": "2026-02-06T14:31:10.305Z", "disclosures": [] } }, diff --git a/metadata/modules/tappxBidAdapter.json b/metadata/modules/tappxBidAdapter.json index a487b12cb7d..a6858ca9676 100644 --- a/metadata/modules/tappxBidAdapter.json +++ b/metadata/modules/tappxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tappx.com/devicestorage.json": { - "timestamp": "2026-01-28T16:30:41.858Z", + "timestamp": "2026-02-06T14:31:10.345Z", "disclosures": [] } }, diff --git a/metadata/modules/targetVideoBidAdapter.json b/metadata/modules/targetVideoBidAdapter.json index ec93fdb78b9..8b8c1388d5e 100644 --- a/metadata/modules/targetVideoBidAdapter.json +++ b/metadata/modules/targetVideoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2026-01-28T16:30:41.884Z", + "timestamp": "2026-02-06T14:31:10.374Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/teadsBidAdapter.json b/metadata/modules/teadsBidAdapter.json index daed112213d..7bbb7655f89 100644 --- a/metadata/modules/teadsBidAdapter.json +++ b/metadata/modules/teadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:41.885Z", + "timestamp": "2026-02-06T14:31:10.374Z", "disclosures": [] } }, diff --git a/metadata/modules/teadsIdSystem.json b/metadata/modules/teadsIdSystem.json index 8e927eaff33..e48aa0da86a 100644 --- a/metadata/modules/teadsIdSystem.json +++ b/metadata/modules/teadsIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:41.907Z", + "timestamp": "2026-02-06T14:31:10.394Z", "disclosures": [] } }, diff --git a/metadata/modules/tealBidAdapter.json b/metadata/modules/tealBidAdapter.json index 704d75aadae..4bebd9ead62 100644 --- a/metadata/modules/tealBidAdapter.json +++ b/metadata/modules/tealBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://c.bids.ws/iab/disclosures.json": { - "timestamp": "2026-01-28T16:30:41.907Z", + "timestamp": "2026-02-06T14:31:10.394Z", "disclosures": [] } }, diff --git a/metadata/modules/teqBlazeSalesAgentBidAdapter.json b/metadata/modules/teqBlazeSalesAgentBidAdapter.json new file mode 100644 index 00000000000..2442df240d1 --- /dev/null +++ b/metadata/modules/teqBlazeSalesAgentBidAdapter.json @@ -0,0 +1,13 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": {}, + "components": [ + { + "componentType": "bidder", + "componentName": "teqBlazeSalesAgent", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + } + ] +} \ No newline at end of file diff --git a/metadata/modules/tncIdSystem.json b/metadata/modules/tncIdSystem.json index 647cab4a5cc..87b702ad1f0 100644 --- a/metadata/modules/tncIdSystem.json +++ b/metadata/modules/tncIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.tncid.app/iab-tcf-device-storage-disclosure.json": { - "timestamp": "2026-01-28T16:30:41.941Z", + "timestamp": "2026-02-06T14:31:10.450Z", "disclosures": [] } }, diff --git a/metadata/modules/topicsFpdModule.json b/metadata/modules/topicsFpdModule.json index 95987763bde..d348a1ebf38 100644 --- a/metadata/modules/topicsFpdModule.json +++ b/metadata/modules/topicsFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/topicsFpdModule.json": { - "timestamp": "2026-01-28T16:29:58.214Z", + "timestamp": "2026-02-06T14:30:25.252Z", "disclosures": [ { "identifier": "prebid:topics", diff --git a/metadata/modules/toponBidAdapter.json b/metadata/modules/toponBidAdapter.json index d008f59f2dd..7bdbc493d58 100644 --- a/metadata/modules/toponBidAdapter.json +++ b/metadata/modules/toponBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mores.toponad.net/tmp/tpn/toponads_tcf_disclosure.json": { - "timestamp": "2026-01-28T16:30:41.959Z", + "timestamp": "2026-02-06T14:31:10.470Z", "disclosures": [] } }, diff --git a/metadata/modules/tripleliftBidAdapter.json b/metadata/modules/tripleliftBidAdapter.json index 94cc97bcf8a..06b55c5102a 100644 --- a/metadata/modules/tripleliftBidAdapter.json +++ b/metadata/modules/tripleliftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://triplelift.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:41.986Z", + "timestamp": "2026-02-06T14:31:10.486Z", "disclosures": [] } }, diff --git a/metadata/modules/ttdBidAdapter.json b/metadata/modules/ttdBidAdapter.json index d6d3b8cebec..79c830c75f5 100644 --- a/metadata/modules/ttdBidAdapter.json +++ b/metadata/modules/ttdBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-28T16:30:42.047Z", + "timestamp": "2026-02-06T14:31:10.517Z", "disclosures": [] } }, diff --git a/metadata/modules/twistDigitalBidAdapter.json b/metadata/modules/twistDigitalBidAdapter.json index 9d23eddf753..fb046a0bbec 100644 --- a/metadata/modules/twistDigitalBidAdapter.json +++ b/metadata/modules/twistDigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://twistdigital.net/iab.json": { - "timestamp": "2026-01-28T16:30:42.047Z", + "timestamp": "2026-02-06T14:31:10.517Z", "disclosures": [ { "identifier": "vdzj1_{id}", diff --git a/metadata/modules/underdogmediaBidAdapter.json b/metadata/modules/underdogmediaBidAdapter.json index fefaee8ca12..20543d0e571 100644 --- a/metadata/modules/underdogmediaBidAdapter.json +++ b/metadata/modules/underdogmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.underdog.media/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:42.135Z", + "timestamp": "2026-02-06T14:31:10.583Z", "disclosures": [] } }, diff --git a/metadata/modules/undertoneBidAdapter.json b/metadata/modules/undertoneBidAdapter.json index eab5cb0d139..66072da4aa9 100644 --- a/metadata/modules/undertoneBidAdapter.json +++ b/metadata/modules/undertoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.undertone.com/js/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:42.159Z", + "timestamp": "2026-02-06T14:31:10.636Z", "disclosures": [] } }, diff --git a/metadata/modules/unifiedIdSystem.json b/metadata/modules/unifiedIdSystem.json index c036a28e618..151095b8c9f 100644 --- a/metadata/modules/unifiedIdSystem.json +++ b/metadata/modules/unifiedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-01-28T16:30:42.227Z", + "timestamp": "2026-02-06T14:31:10.652Z", "disclosures": [] } }, diff --git a/metadata/modules/unrulyBidAdapter.json b/metadata/modules/unrulyBidAdapter.json index e2175b3f549..a8be804fe86 100644 --- a/metadata/modules/unrulyBidAdapter.json +++ b/metadata/modules/unrulyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:42.227Z", + "timestamp": "2026-02-06T14:31:10.653Z", "disclosures": [] } }, diff --git a/metadata/modules/userId.json b/metadata/modules/userId.json index 4cb33e6f4a1..305658c2db7 100644 --- a/metadata/modules/userId.json +++ b/metadata/modules/userId.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/userId-optout.json": { - "timestamp": "2026-01-28T16:29:58.216Z", + "timestamp": "2026-02-06T14:30:25.254Z", "disclosures": [ { "identifier": "_pbjs_id_optout", diff --git a/metadata/modules/utiqIdSystem.json b/metadata/modules/utiqIdSystem.json index 071faa17400..bdb623039d0 100644 --- a/metadata/modules/utiqIdSystem.json +++ b/metadata/modules/utiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:42.227Z", + "timestamp": "2026-02-06T14:31:10.654Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/utiqMtpIdSystem.json b/metadata/modules/utiqMtpIdSystem.json index 2df7ca96f1b..0c6d65dc895 100644 --- a/metadata/modules/utiqMtpIdSystem.json +++ b/metadata/modules/utiqMtpIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:42.229Z", + "timestamp": "2026-02-06T14:31:10.654Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/validationFpdModule.json b/metadata/modules/validationFpdModule.json index ca2ae6a8883..a057fd95c35 100644 --- a/metadata/modules/validationFpdModule.json +++ b/metadata/modules/validationFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2026-01-28T16:29:58.215Z", + "timestamp": "2026-02-06T14:30:25.253Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/valuadBidAdapter.json b/metadata/modules/valuadBidAdapter.json index 9141c9dceda..9a5bb4518c6 100644 --- a/metadata/modules/valuadBidAdapter.json +++ b/metadata/modules/valuadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.valuad.cloud/tcfdevice.json": { - "timestamp": "2026-01-28T16:30:42.229Z", + "timestamp": "2026-02-06T14:31:10.655Z", "disclosures": [] } }, diff --git a/metadata/modules/vidazooBidAdapter.json b/metadata/modules/vidazooBidAdapter.json index 8cfb42a6329..c42ec8127ea 100644 --- a/metadata/modules/vidazooBidAdapter.json +++ b/metadata/modules/vidazooBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidazoo.com/gdpr-tcf/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:42.541Z", + "timestamp": "2026-02-06T14:31:10.856Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/vidoomyBidAdapter.json b/metadata/modules/vidoomyBidAdapter.json index a15352d7209..df0174fca4d 100644 --- a/metadata/modules/vidoomyBidAdapter.json +++ b/metadata/modules/vidoomyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidoomy.com/storageurl/devicestoragediscurl.json": { - "timestamp": "2026-01-28T16:30:42.610Z", + "timestamp": "2026-02-06T14:31:10.919Z", "disclosures": [] } }, diff --git a/metadata/modules/viouslyBidAdapter.json b/metadata/modules/viouslyBidAdapter.json index a9ba5b1ea69..fb97dba417f 100644 --- a/metadata/modules/viouslyBidAdapter.json +++ b/metadata/modules/viouslyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:42.721Z", + "timestamp": "2026-02-06T14:31:11.037Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/visxBidAdapter.json b/metadata/modules/visxBidAdapter.json index 82a358c4252..cef609b5c04 100644 --- a/metadata/modules/visxBidAdapter.json +++ b/metadata/modules/visxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.yoc.com/visx/sellers/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:42.722Z", + "timestamp": "2026-02-06T14:31:11.038Z", "disclosures": [ { "identifier": "__vads", diff --git a/metadata/modules/vlybyBidAdapter.json b/metadata/modules/vlybyBidAdapter.json index f981ce6b7d8..aeb22ba00b5 100644 --- a/metadata/modules/vlybyBidAdapter.json +++ b/metadata/modules/vlybyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vlyby.com/conf/iab/gvl.json": { - "timestamp": "2026-01-28T16:30:42.933Z", + "timestamp": "2026-02-06T14:31:11.202Z", "disclosures": [] } }, diff --git a/metadata/modules/voxBidAdapter.json b/metadata/modules/voxBidAdapter.json index 534d5aa909f..cffb548d671 100644 --- a/metadata/modules/voxBidAdapter.json +++ b/metadata/modules/voxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:43.350Z", + "timestamp": "2026-02-06T14:31:11.227Z", "disclosures": [] } }, diff --git a/metadata/modules/vrtcalBidAdapter.json b/metadata/modules/vrtcalBidAdapter.json index 98b4bf97df2..a7a67693e92 100644 --- a/metadata/modules/vrtcalBidAdapter.json +++ b/metadata/modules/vrtcalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vrtcal.com/docs/gdpr-tcf-disclosures.json": { - "timestamp": "2026-01-28T16:30:43.350Z", + "timestamp": "2026-02-06T14:31:11.227Z", "disclosures": [] } }, diff --git a/metadata/modules/vuukleBidAdapter.json b/metadata/modules/vuukleBidAdapter.json index 82f8197b440..a0242851081 100644 --- a/metadata/modules/vuukleBidAdapter.json +++ b/metadata/modules/vuukleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vuukle.com/data-privacy/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:43.368Z", + "timestamp": "2026-02-06T14:31:11.243Z", "disclosures": [ { "identifier": "vuukle_token", diff --git a/metadata/modules/weboramaRtdProvider.json b/metadata/modules/weboramaRtdProvider.json index 942e28d93a9..93c8007e410 100644 --- a/metadata/modules/weboramaRtdProvider.json +++ b/metadata/modules/weboramaRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://weborama.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:43.680Z", + "timestamp": "2026-02-06T14:31:11.547Z", "disclosures": [] } }, diff --git a/metadata/modules/welectBidAdapter.json b/metadata/modules/welectBidAdapter.json index bf17a459ac4..059bedc785c 100644 --- a/metadata/modules/welectBidAdapter.json +++ b/metadata/modules/welectBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.welect.de/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:43.935Z", + "timestamp": "2026-02-06T14:31:11.801Z", "disclosures": [] } }, diff --git a/metadata/modules/yahooAdsBidAdapter.json b/metadata/modules/yahooAdsBidAdapter.json index 70f246f825d..d14a0812f0d 100644 --- a/metadata/modules/yahooAdsBidAdapter.json +++ b/metadata/modules/yahooAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2026-01-28T16:30:44.341Z", + "timestamp": "2026-02-06T14:31:12.205Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/yieldlabBidAdapter.json b/metadata/modules/yieldlabBidAdapter.json index 546bfd19305..832ffe58cda 100644 --- a/metadata/modules/yieldlabBidAdapter.json +++ b/metadata/modules/yieldlabBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.yieldlab.net/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:44.342Z", + "timestamp": "2026-02-06T14:31:12.206Z", "disclosures": [] } }, diff --git a/metadata/modules/yieldloveBidAdapter.json b/metadata/modules/yieldloveBidAdapter.json index d311669356b..d16d940a366 100644 --- a/metadata/modules/yieldloveBidAdapter.json +++ b/metadata/modules/yieldloveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn-a.yieldlove.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:44.472Z", + "timestamp": "2026-02-06T14:31:12.316Z", "disclosures": [ { "identifier": "session_id", diff --git a/metadata/modules/yieldmoBidAdapter.json b/metadata/modules/yieldmoBidAdapter.json index 0f2052e3cf4..db807c44814 100644 --- a/metadata/modules/yieldmoBidAdapter.json +++ b/metadata/modules/yieldmoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://devicestoragedisclosureurl.yieldmo.com/deviceStorage.json": { - "timestamp": "2026-01-28T16:30:44.497Z", + "timestamp": "2026-02-06T14:31:12.340Z", "disclosures": [] } }, diff --git a/metadata/modules/zeotapIdPlusIdSystem.json b/metadata/modules/zeotapIdPlusIdSystem.json index 6105ace2968..89f08fa701e 100644 --- a/metadata/modules/zeotapIdPlusIdSystem.json +++ b/metadata/modules/zeotapIdPlusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spl.zeotap.com/assets/iab-disclosure.json": { - "timestamp": "2026-01-28T16:30:44.585Z", + "timestamp": "2026-02-06T14:31:12.423Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_globalBidAdapter.json b/metadata/modules/zeta_globalBidAdapter.json index 274bd4c75f0..a8b4b95bb58 100644 --- a/metadata/modules/zeta_globalBidAdapter.json +++ b/metadata/modules/zeta_globalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:44.708Z", + "timestamp": "2026-02-06T14:31:12.568Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_global_sspBidAdapter.json b/metadata/modules/zeta_global_sspBidAdapter.json index e51e6fd80ec..fcd9e16e6c7 100644 --- a/metadata/modules/zeta_global_sspBidAdapter.json +++ b/metadata/modules/zeta_global_sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2026-01-28T16:30:44.784Z", + "timestamp": "2026-02-06T14:31:12.668Z", "disclosures": [] } }, diff --git a/package-lock.json b/package-lock.json index 007a8ba611d..5208c332da2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.24.0-pre", + "version": "10.24.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.24.0-pre", + "version": "10.24.0", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", @@ -7878,9 +7878,9 @@ "license": "MIT" }, "node_modules/caniuse-lite": { - "version": "1.0.30001766", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001766.tgz", - "integrity": "sha512-4C0lfJ0/YPjJQHagaE9x2Elb69CIqEPZeG0anQt9SIvIoOH4a4uaRl73IavyO+0qZh6MDLH//DrXThEYKHkmYA==", + "version": "1.0.30001769", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001769.tgz", + "integrity": "sha512-BCfFL1sHijQlBGWBMuJyhZUhzo7wer5sVj9hqekB/7xn0Ypy+pER/edCYQm4exbXj4WiySGp40P8UuTh6w1srg==", "funding": [ { "type": "opencollective", @@ -27337,9 +27337,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001766", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001766.tgz", - "integrity": "sha512-4C0lfJ0/YPjJQHagaE9x2Elb69CIqEPZeG0anQt9SIvIoOH4a4uaRl73IavyO+0qZh6MDLH//DrXThEYKHkmYA==" + "version": "1.0.30001769", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001769.tgz", + "integrity": "sha512-BCfFL1sHijQlBGWBMuJyhZUhzo7wer5sVj9hqekB/7xn0Ypy+pER/edCYQm4exbXj4WiySGp40P8UuTh6w1srg==" }, "chai": { "version": "4.4.1", diff --git a/package.json b/package.json index c7ca0275009..594d615c1f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.24.0-pre", + "version": "10.24.0", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From 7e17a89f2a93df8fd1909afb46ff26c0c36d0bd3 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Fri, 6 Feb 2026 14:32:13 +0000 Subject: [PATCH 172/248] Increment version to 10.25.0-pre --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5208c332da2..f10860da566 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.24.0", + "version": "10.25.0-pre", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.24.0", + "version": "10.25.0-pre", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", diff --git a/package.json b/package.json index 594d615c1f8..14cf63649cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.24.0", + "version": "10.25.0-pre", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From ba3f9d830e715d59a23c0b221705c15de1f2172e Mon Sep 17 00:00:00 2001 From: Deepthi Neeladri Date: Fri, 6 Feb 2026 22:34:02 +0530 Subject: [PATCH 173/248] Yahoo Ads Bid Adapter: Add Transaction ID (TID) Support (#14403) * tesing * adding tests * md file * Update yahooAdsBidAdapter_spec.js * Fix formatting in yahooAdsBidAdapter_spec.js * Fix casing for enableTIDs in documentation --------- Co-authored-by: dsravana Co-authored-by: Patrick McCann --- modules/yahooAdsBidAdapter.js | 1 + modules/yahooAdsBidAdapter.md | 35 ++++++++++ test/spec/modules/yahooAdsBidAdapter_spec.js | 70 +++++++++++++++++++- 3 files changed, 105 insertions(+), 1 deletion(-) diff --git a/modules/yahooAdsBidAdapter.js b/modules/yahooAdsBidAdapter.js index b2b92c6ba95..16c9365b5d7 100644 --- a/modules/yahooAdsBidAdapter.js +++ b/modules/yahooAdsBidAdapter.js @@ -288,6 +288,7 @@ function generateOpenRtbObject(bidderRequest, bid) { } }, source: { + tid: bidderRequest.ortb2?.source?.tid, ext: { hb: 1, adapterver: ADAPTER_VERSION, diff --git a/modules/yahooAdsBidAdapter.md b/modules/yahooAdsBidAdapter.md index df9b71b2314..a26d24338c5 100644 --- a/modules/yahooAdsBidAdapter.md +++ b/modules/yahooAdsBidAdapter.md @@ -18,6 +18,7 @@ The Yahoo Advertising Bid Adapter is an OpenRTB interface that consolidates all * User ID Modules - ConnectId and others * First Party Data (ortb2 & ortb2Imp) * Custom TTL (time to live) +* Transaction ID (TID) support via ortb2.source.tid # Adapter Aliases Whilst the primary bidder code for this bid adapter is `yahooAds`, the aliases `yahoossp` and `yahooAdvertising` can be used to enable this adapter. If you wish to set Prebid configuration specifically for this bid adapter, then the configuration key _must_ match the used bidder code. All examples in this documentation use the primiry bidder code, but switching `yahooAds` with one of the relevant aliases may be required for your setup. Let's take [setting the request mode](#adapter-request-mode) as an example; if you used the `yahoossp` alias, then the corresponding `setConfig` API call would look like this: @@ -562,6 +563,40 @@ const adUnits = [{ ] ``` +## Transaction ID (TID) Support +The Yahoo Advertising bid adapter supports reading publisher-provided transaction IDs from `ortb2.source.tid` and including them in the OpenRTB request. This enables better bid request tracking and deduplication across the supply chain. + +**Important:** To use transaction IDs, you must enable TIDs in your Prebid configuration by setting `enableTIDs: true`. + +### Global Transaction ID (applies to all bidders) +```javascript +pbjs.setConfig({ + enableTIDs: true, // Required for TID support + ortb2: { + source: { + tid: "transaction-id-12345" + } + } +}); +``` + +### Bidder-Specific Transaction ID (Yahoo Ads only) +```javascript +pbjs.setBidderConfig({ + bidders: ['yahooAds'], + config: { + enableTIDs: true, // Required for TID support + ortb2: { + source: { + tid: "yahoo-specific-tid-67890" + } + } + } +}); +``` + +**Note:** If `enableTIDs` is not set to `true`, the transaction ID will not be available to the adapter, even if `ortb2.source.tid` is configured. When TID is not provided or not enabled, the adapter will not include the `source.tid` field in the OpenRTB request. + # Optional: Bidder bidOverride Parameters The Yahoo Advertising bid adapter allows passing override data to the outbound bid-request that overrides First Party Data. **Important!** We highly recommend using prebid modules to pass data instead of bidder speicifc overrides. diff --git a/test/spec/modules/yahooAdsBidAdapter_spec.js b/test/spec/modules/yahooAdsBidAdapter_spec.js index ad1e428aafd..093df9355f1 100644 --- a/test/spec/modules/yahooAdsBidAdapter_spec.js +++ b/test/spec/modules/yahooAdsBidAdapter_spec.js @@ -992,7 +992,6 @@ describe('Yahoo Advertising Bid Adapter:', () => { {source: 'neustar.biz', uids: [{id: 'fabrickId_FROM_USER_ID_MODULE', atype: 1}]} ]; const data = spec.buildRequests(validBidRequests, bidderRequest)[0].data; - expect(data.user.ext.eids).to.deep.equal(validBidRequests[0].userIdAsEids); }); @@ -1034,6 +1033,7 @@ describe('Yahoo Advertising Bid Adapter:', () => { }); expect(data.source).to.deep.equal({ + tid: undefined, ext: { hb: 1, adapterver: ADAPTER_VERSION, @@ -1056,6 +1056,74 @@ describe('Yahoo Advertising Bid Adapter:', () => { expect(data.cur).to.deep.equal(['USD']); }); + it('should not include source.tid when publisher does not provide it', () => { + const { validBidRequests, bidderRequest } = generateBuildRequestMock({}); + const data = spec.buildRequests(validBidRequests, bidderRequest)[0].data; + expect(data.source.tid).to.be.undefined; + }); + + it('should include source.tid from bidderRequest.ortb2.source.tid when provided', () => { + const ortb2 = { + source: { + tid: 'test-transaction-id-12345' + } + }; + const { validBidRequests, bidderRequest } = generateBuildRequestMock({ortb2}); + bidderRequest.ortb2 = ortb2; + const data = spec.buildRequests(validBidRequests, bidderRequest)[0].data; + expect(data.source.tid).to.equal('test-transaction-id-12345'); + }); + + it('should read source.tid from global ortb2 config when enableTids is true', () => { + const ortb2 = { + source: { + tid: 'global-tid-67890' + } + }; + const { validBidRequests, bidderRequest } = generateBuildRequestMock({ortb2}); + bidderRequest.ortb2 = ortb2; + const data = spec.buildRequests(validBidRequests, bidderRequest)[0].data; + expect(data.source.tid).to.equal('global-tid-67890'); + expect(data.source.ext.hb).to.equal(1); + expect(data.source.fd).to.equal(1); + }); + + it('should include source.tid alongside existing source.ext properties', () => { + const ortb2 = { + source: { + tid: 'test-tid-with-ext' + } + }; + const { validBidRequests, bidderRequest } = generateBuildRequestMock({ortb2}); + bidderRequest.ortb2 = ortb2; + const data = spec.buildRequests(validBidRequests, bidderRequest)[0].data; + + expect(data.source).to.have.property('tid'); + expect(data.source.tid).to.equal('test-tid-with-ext'); + expect(data.source.ext).to.deep.equal({ + hb: 1, + adapterver: ADAPTER_VERSION, + prebidver: PREBID_VERSION, + integration: { + name: INTEGRATION_METHOD, + ver: PREBID_VERSION + } + }); + expect(data.source.fd).to.equal(1); + }); + + it('should handle empty source.tid gracefully', () => { + const ortb2 = { + source: { + tid: '' + } + }; + const { validBidRequests, bidderRequest } = generateBuildRequestMock({ortb2}); + bidderRequest.ortb2 = ortb2; + const data = spec.buildRequests(validBidRequests, bidderRequest)[0].data; + expect(data.source.tid).to.equal(''); + }); + it('should generate a valid openRTB imp.ext object in the bid-request', () => { const { validBidRequests, bidderRequest } = generateBuildRequestMock({}); const bid = validBidRequests[0]; From c091e0ce79babb4624136ffcd9e91ea988fb52a5 Mon Sep 17 00:00:00 2001 From: robin-crazygames Date: Mon, 9 Feb 2026 13:59:49 +0100 Subject: [PATCH 174/248] gam video module: Include us_privacy based on gpp when downloading VAST for the IMA player (#14424) * Include us_privacy based on gpp when downloading VAST for the IMA player IMA player has no support for GPP, but does support uspapi. When on `window`, there is only `__gpp`, we can still pass a US Privacy string by deriving the string from the `__gpp` data, * Added tests for the retrieveUspInfoFromGpp method * Re-write the test to use the public API instead of internal methods * Deal with the option that the parsedSections contains sections which are arrays * Deal with possible null/missing values in the GPP parsedSection --- modules/gamAdServerVideo.js | 44 ++- test/spec/modules/gamAdServerVideo_spec.js | 297 +++++++++++++++++++++ 2 files changed, 340 insertions(+), 1 deletion(-) diff --git a/modules/gamAdServerVideo.js b/modules/gamAdServerVideo.js index 9613af93e4e..b97f4ff598c 100644 --- a/modules/gamAdServerVideo.js +++ b/modules/gamAdServerVideo.js @@ -28,7 +28,7 @@ import { fetch } from '../src/ajax.js'; import XMLUtil from '../libraries/xmlUtils/xmlUtils.js'; import {getGlobalVarName} from '../src/buildOptions.js'; -import { uspDataHandler } from '../src/consentHandler.js'; +import { gppDataHandler, uspDataHandler } from '../src/consentHandler.js'; /** * @typedef {Object} DfpVideoParams * @@ -299,6 +299,7 @@ export async function getVastXml(options, localCacheMap = vastLocalCache) { const video = adUnit?.mediaTypes?.video; const sdkApis = (video?.api || []).join(','); const usPrivacy = uspDataHandler.getConsentData?.(); + const gpp = gppDataHandler.getConsentData?.(); // Adding parameters required by ima if (config.getConfig('cache.useLocal') && window.google?.ima) { vastUrl = new URL(vastUrl); @@ -310,6 +311,12 @@ export async function getVastXml(options, localCacheMap = vastLocalCache) { } if (usPrivacy) { vastUrl.searchParams.set('us_privacy', usPrivacy); + } else if (gpp) { + // Extract an usPrivacy string from the GPP string if possible + const uspFromGpp = retrieveUspInfoFromGpp(gpp); + if (uspFromGpp) { + vastUrl.searchParams.set('us_privacy', uspFromGpp) + } } vastUrl = vastUrl.toString(); @@ -329,6 +336,41 @@ export async function getVastXml(options, localCacheMap = vastLocalCache) { return gamVastWrapper; } +/** + * Extract a US Privacy string from the GPP data + */ +function retrieveUspInfoFromGpp(gpp) { + if (!gpp) { + return undefined; + } + const parsedSections = gpp.gppData?.parsedSections; + if (parsedSections) { + if (parsedSections.uspv1) { + const usp = parsedSections.uspv1; + return `${usp.Version}${usp.Notice}${usp.OptOutSale}${usp.LspaCovered}` + } else { + let saleOptOut; + let saleOptOutNotice; + Object.values(parsedSections).forEach(parsedSection => { + (Array.isArray(parsedSection) ? parsedSection : [parsedSection]).forEach(ps => { + const sectionSaleOptOut = ps.SaleOptOut; + const sectionSaleOptOutNotice = ps.SaleOptOutNotice; + if (saleOptOut === undefined && saleOptOutNotice === undefined && sectionSaleOptOut != null && sectionSaleOptOutNotice != null) { + saleOptOut = sectionSaleOptOut; + saleOptOutNotice = sectionSaleOptOutNotice; + } + }); + }); + if (saleOptOut !== undefined && saleOptOutNotice !== undefined) { + const uspOptOutSale = saleOptOut === 0 ? '-' : saleOptOut === 1 ? 'Y' : 'N'; + const uspOptOutNotice = saleOptOutNotice === 0 ? '-' : saleOptOutNotice === 1 ? 'Y' : 'N'; + const uspLspa = uspOptOutSale === '-' && uspOptOutNotice === '-' ? '-' : 'Y'; + return `1${uspOptOutNotice}${uspOptOutSale}${uspLspa}`; + } + } + } + return undefined +} export async function getBase64BlobContent(blobUrl) { const response = await fetch(blobUrl); diff --git a/test/spec/modules/gamAdServerVideo_spec.js b/test/spec/modules/gamAdServerVideo_spec.js index a8ce01c1457..1004b4b5aae 100644 --- a/test/spec/modules/gamAdServerVideo_spec.js +++ b/test/spec/modules/gamAdServerVideo_spec.js @@ -17,6 +17,7 @@ import {AuctionIndex} from '../../../src/auctionIndex.js'; import { getVastXml } from '../../../modules/gamAdServerVideo.js'; import { server } from '../../mocks/xhr.js'; import { generateUUID } from '../../../src/utils.js'; +import { uspDataHandler, gppDataHandler } from '../../../src/consentHandler.js'; describe('The DFP video support module', function () { before(() => { @@ -870,4 +871,300 @@ describe('The DFP video support module', function () { .finally(config.resetConfig); server.respond(); }); + + describe('Retrieve US Privacy string from GPP when using the IMA player and downloading VAST XMLs', () => { + beforeEach(() => { + config.setConfig({cache: { useLocal: true }}); + // Install a fake IMA object, because the us_privacy is only set when IMA is available + window.google = { + ima: { + VERSION: '2.3.37' + } + } + }) + afterEach(() => { + config.resetConfig(); + }) + + async function obtainUsPrivacyInVastXmlRequest() { + const url = 'https://pubads.g.doubleclick.net/gampad/ads' + const bidCacheUrl = 'https://prebid-test-cache-server.org/cache?uuid=4536229c-eddb-45b3-a919-89d889e925aa'; + const gamWrapper = ( + `` + + `` + + `` + + `prebid.org wrapper` + + `` + + `` + + `` + + `` + ); + server.respondWith(gamWrapper); + + const result = getVastXml({url, adUnit: {}, bid: {}}, []).then(() => { + const request = server.requests[0]; + const url = new URL(request.url); + return url.searchParams.get('us_privacy'); + }); + server.respond(); + + return result; + } + + function mockGpp(gpp) { + sandbox.stub(gppDataHandler, 'getConsentData').returns(gpp) + } + + function wrapParsedSectionsIntoGPPData(parsedSections) { + return { + gppData: { + parsedSections: parsedSections + } + } + } + + it('should use usp when available, even when gpp is available', async () => { + const usPrivacy = '1YYY'; + sandbox.stub(uspDataHandler, 'getConsentData').returns(usPrivacy); + mockGpp(wrapParsedSectionsIntoGPPData({ + "uspv1": { + "Version": 1, + "Notice": "Y", + "OptOutSale": "N", + "LspaCovered": "Y" + } + })); + + const usPrivacyFromRequest = await obtainUsPrivacyInVastXmlRequest(); + expect(usPrivacyFromRequest).to.equal(usPrivacy) + }) + + it('no us_privacy when neither usp nor gpp is present', async () => { + const usPrivacyFromRequqest = await obtainUsPrivacyInVastXmlRequest(); + expect(usPrivacyFromRequqest).to.be.null; + }) + + it('can retrieve from usp section in gpp', async () => { + mockGpp(wrapParsedSectionsIntoGPPData({ + "uspv1": { + "Version": 1, + "Notice": "Y", + "OptOutSale": "N", + "LspaCovered": "Y" + } + })); + + const usPrivacyFromRequest = await obtainUsPrivacyInVastXmlRequest(); + expect(usPrivacyFromRequest).to.equal('1YNY') + }) + it('can retrieve from usnat section in gpp', async () => { + mockGpp(wrapParsedSectionsIntoGPPData({ + "usnat": { + "Version": 1, + "SharingNotice": 2, + "SaleOptOutNotice": 1, + "SharingOptOutNotice": 0, + "TargetedAdvertisingOptOutNotice": 2, + "SensitiveDataProcessingOptOutNotice": 1, + "SensitiveDataLimitUseNotice": 1, + "SaleOptOut": 1, + "SharingOptOut": 2, + "TargetedAdvertisingOptOut": 2, + "SensitiveDataProcessing": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "KnownChildSensitiveDataConsents": [ + 0, + 0, + 0 + ], + "PersonalDataConsents": 0, + "MspaCoveredTransaction": 1, + "MspaOptOutOptionMode": 0, + "MspaServiceProviderMode": 0, + "GpcSegmentType": 1, + "Gpc": false + } + })); + + const usPrivacyFromRequest = await obtainUsPrivacyInVastXmlRequest(); + expect(usPrivacyFromRequest).to.equal('1YYY'); + }) + it('can retrieve from usnat section in gpp when usnat is an array', async() => { + mockGpp(wrapParsedSectionsIntoGPPData({ + "usnat": [ + { + "Version": 1, + "SharingNotice": 2, + "SaleOptOutNotice": 1, + "SharingOptOutNotice": 1, + "TargetedAdvertisingOptOutNotice": 1, + "SensitiveDataProcessingOptOutNotice": 1, + "SensitiveDataLimitUseNotice": 0, + "SaleOptOut": 2, + "SharingOptOut": 2, + "TargetedAdvertisingOptOut": 2, + "PersonalDataConsents": 0, + "MspaCoveredTransaction": 0, + "MspaOptOutOptionMode": 0, + "MspaServiceProviderMode": 0, + }, { + "GpcSegmentType": 1, + "Gpc": false + } + ] + })) + + const usPrivacyFromRequest = await obtainUsPrivacyInVastXmlRequest(); + expect(usPrivacyFromRequest).to.equal('1YNY'); + }) + it('no us_privacy when either SaleOptOutNotice or SaleOptOut is missing', async () => { + // Missing SaleOptOutNotice + mockGpp(wrapParsedSectionsIntoGPPData({ + "usnat": { + "Version": 1, + "SharingNotice": 2, + "SharingOptOutNotice": 0, + "TargetedAdvertisingOptOutNotice": 2, + "SensitiveDataProcessingOptOutNotice": 1, + "SensitiveDataLimitUseNotice": 1, + "SaleOptOut": 1, + "SharingOptOut": 2, + "TargetedAdvertisingOptOut": 2, + "SensitiveDataProcessing": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "KnownChildSensitiveDataConsents": [ + 0, + 0, + 0 + ], + "PersonalDataConsents": 0, + "MspaCoveredTransaction": 1, + "MspaOptOutOptionMode": 0, + "MspaServiceProviderMode": 0, + "GpcSegmentType": 1, + "Gpc": false + } + })); + + const usPrivacyFromRequest = await obtainUsPrivacyInVastXmlRequest(); + expect(usPrivacyFromRequest).to.be.null; + }) + it('no us_privacy when either SaleOptOutNotice or SaleOptOut is null', async () => { + // null SaleOptOut + mockGpp(wrapParsedSectionsIntoGPPData({ + "usnat": { + "Version": 1, + "SharingNotice": 2, + "SaleOptOutNotice": 1, + "SharingOptOutNotice": 0, + "TargetedAdvertisingOptOutNotice": 2, + "SensitiveDataProcessingOptOutNotice": 1, + "SensitiveDataLimitUseNotice": 1, + "SaleOptOut": null, + "SharingOptOut": 2, + "TargetedAdvertisingOptOut": 2, + "SensitiveDataProcessing": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "KnownChildSensitiveDataConsents": [ + 0, + 0, + 0 + ], + "PersonalDataConsents": 0, + "MspaCoveredTransaction": 1, + "MspaOptOutOptionMode": 0, + "MspaServiceProviderMode": 0, + "GpcSegmentType": 1, + "Gpc": false + } + })); + + const usPrivacyFromRequest = await obtainUsPrivacyInVastXmlRequest(); + expect(usPrivacyFromRequest).to.be.null; + }) + + it('can retrieve from usca section in gpp', async () => { + mockGpp(wrapParsedSectionsIntoGPPData({ + "usca": { + "Version": 1, + "SaleOptOutNotice": 1, + "SharingOptOutNotice": 1, + "SensitiveDataLimitUseNotice": 1, + "SaleOptOut": 2, + "SharingOptOut": 2, + "SensitiveDataProcessing": [ + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "KnownChildSensitiveDataConsents": [ + 0, + 0 + ], + "PersonalDataConsents": 0, + "MspaCoveredTransaction": 2, + "MspaOptOutOptionMode": 0, + "MspaServiceProviderMode": 0, + "GpcSegmentType": 1, + "Gpc": false + }})); + + const usPrivacyFromRequest = await obtainUsPrivacyInVastXmlRequest(); + expect(usPrivacyFromRequest).to.equal('1YNY'); + }) + }); }); From ba1334c90242f2d6a69143069b915f6a50dbb7a4 Mon Sep 17 00:00:00 2001 From: optidigital-prebid <124287395+optidigital-prebid@users.noreply.github.com> Date: Tue, 10 Feb 2026 15:53:35 +0100 Subject: [PATCH 175/248] Optidigital Bid Adapter: Adding ortb2 device, keywords, addtlConsent, gpid (#14383) * add gpp suport * update of the optidigital adapter * fix the lint issue * refactor ortb2 keywords trim logic --------- Co-authored-by: Dawid W Co-authored-by: Patrick McCann --- modules/optidigitalBidAdapter.js | 22 +++- .../modules/optidigitalBidAdapter_spec.js | 108 +++++++++++++++++- 2 files changed, 123 insertions(+), 7 deletions(-) diff --git a/modules/optidigitalBidAdapter.js b/modules/optidigitalBidAdapter.js index 1330bf2054f..6529f02b5bc 100755 --- a/modules/optidigitalBidAdapter.js +++ b/modules/optidigitalBidAdapter.js @@ -63,7 +63,8 @@ export const spec = { imp: validBidRequests.map(bidRequest => buildImp(bidRequest, ortb2)), badv: ortb2.badv || deepAccess(validBidRequests[0], 'params.badv') || [], bcat: ortb2.bcat || deepAccess(validBidRequests[0], 'params.bcat') || [], - bapp: deepAccess(validBidRequests[0], 'params.bapp') || [] + bapp: deepAccess(validBidRequests[0], 'params.bapp') || [], + device: ortb2.device || {} } if (validBidRequests[0].auctionId) { @@ -82,10 +83,14 @@ export const spec = { const gdpr = deepAccess(bidderRequest, 'gdprConsent'); if (bidderRequest && gdpr) { const isConsentString = typeof gdpr.consentString === 'string'; + const isGdprApplies = typeof gdpr.gdprApplies === 'boolean'; payload.gdpr = { consent: isConsentString ? gdpr.consentString : '', - required: true + required: isGdprApplies ? gdpr.gdprApplies : false }; + if (gdpr?.addtlConsent) { + payload.gdpr.addtlConsent = gdpr.addtlConsent; + } } if (bidderRequest && !gdpr) { payload.gdpr = { @@ -120,10 +125,16 @@ export const spec = { } } + const ortb2SiteKeywords = (bidderRequest?.ortb2?.site?.keywords || '')?.split(',').map(k => k.trim()).filter(k => k !== '').join(','); + if (ortb2SiteKeywords) { + payload.site = payload.site || {}; + payload.site.keywords = ortb2SiteKeywords; + } + const payloadObject = JSON.stringify(payload); return { method: 'POST', - url: ENDPOINT_URL, + url: `${ENDPOINT_URL}/${payload.publisherId}`, data: payloadObject }; }, @@ -230,6 +241,11 @@ function buildImp(bidRequest, ortb2) { imp.battr = battr; } + const gpid = deepAccess(bidRequest, 'ortb2Imp.ext.gpid'); + if (gpid) { + imp.gpid = gpid; + } + return imp; } diff --git a/test/spec/modules/optidigitalBidAdapter_spec.js b/test/spec/modules/optidigitalBidAdapter_spec.js index 3b4ef61e961..bb0526d9aaa 100755 --- a/test/spec/modules/optidigitalBidAdapter_spec.js +++ b/test/spec/modules/optidigitalBidAdapter_spec.js @@ -63,8 +63,7 @@ describe('optidigitalAdapterTests', function () { 'adserver': { 'name': 'gam', 'adslot': '/19968336/header-bid-tag-0' - }, - 'pbadslot': '/19968336/header-bid-tag-0' + } }, 'gpid': '/19968336/header-bid-tag-0' } @@ -212,7 +211,8 @@ describe('optidigitalAdapterTests', function () { it('should send bid request to given endpoint', function() { const request = spec.buildRequests(validBidRequests, bidderRequest); - expect(request.url).to.equal(ENDPOINT); + const finalEndpoint = `${ENDPOINT}/s123`; + expect(request.url).to.equal(finalEndpoint); }); it('should be bidRequest data', function () { @@ -282,6 +282,49 @@ describe('optidigitalAdapterTests', function () { expect(payload.imp[0].adContainerHeight).to.exist; }); + it('should read container size from DOM when divId exists', function () { + const containerId = 'od-test-container'; + const el = document.createElement('div'); + el.id = containerId; + el.style.width = '321px'; + el.style.height = '111px'; + el.style.position = 'absolute'; + el.style.left = '0'; + el.style.top = '0'; + document.body.appendChild(el); + + const validBidRequestsWithDivId = [ + { + 'bidder': 'optidigital', + 'bidId': '51ef8751f9aead', + 'params': { + 'publisherId': 's123', + 'placementId': 'Billboard_Top', + 'divId': containerId + }, + 'adUnitCode': containerId, + 'transactionId': 'd7b773de-ceaa-484d-89ca-d9f51b8d61ec', + 'mediaTypes': { + 'banner': { + 'sizes': [[300, 50], [300, 250], [300, 600]] + } + }, + 'sizes': [[320, 50], [300, 250], [300, 600]], + 'bidderRequestId': '418b37f85e772c', + 'auctionId': '18fd8b8b0bd757' + } + ]; + + const request = spec.buildRequests(validBidRequestsWithDivId, bidderRequest); + const payload = JSON.parse(request.data); + try { + expect(payload.imp[0].adContainerWidth).to.equal(el.offsetWidth); + expect(payload.imp[0].adContainerHeight).to.equal(el.offsetHeight); + } finally { + document.body.removeChild(el); + } + }); + it('should add pageTemplate to payload if pageTemplate exsists in parameter', function () { const validBidRequestsWithDivId = [ { @@ -325,7 +368,8 @@ describe('optidigitalAdapterTests', function () { 'domain': 'example.com', 'publisher': { 'domain': 'example.com' - } + }, + 'keywords': 'key1,key2' }, 'device': { 'w': 1507, @@ -386,6 +430,12 @@ describe('optidigitalAdapterTests', function () { expect(payload.bapp).to.deep.equal(validBidRequests[0].params.bapp); }); + it('should add keywords to payload when site keywords present', function() { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const payload = JSON.parse(request.data); + expect(payload.site.keywords).to.deep.equal('key1,key2'); + }); + it('should send empty GDPR consent and required set to false', function() { const request = spec.buildRequests(validBidRequests, bidderRequest); const payload = JSON.parse(request.data); @@ -401,6 +451,7 @@ describe('optidigitalAdapterTests', function () { 'vendorData': { 'hasGlobalConsent': false }, + 'addtlConsent': '1~7.12.35.62.66.70.89.93.108', 'apiVersion': 1 } const request = spec.buildRequests(validBidRequests, bidderRequest); @@ -408,6 +459,7 @@ describe('optidigitalAdapterTests', function () { expect(payload.gdpr).to.exist; expect(payload.gdpr.consent).to.equal(consentString); expect(payload.gdpr.required).to.exist.and.to.be.true; + expect(payload.gdpr.addtlConsent).to.exist; }); it('should send empty GDPR consent to endpoint', function() { @@ -425,6 +477,22 @@ describe('optidigitalAdapterTests', function () { expect(payload.gdpr.consent).to.equal(''); }); + it('should send GDPR consent and required set to false when gdprApplies is not boolean', function() { + let consentString = 'DFR8KRePoQNsRREZCADBG+A=='; + bidderRequest.gdprConsent = { + 'consentString': consentString, + 'gdprApplies': "", + 'vendorData': { + 'hasGlobalConsent': false + }, + 'apiVersion': 1 + } + const request = spec.buildRequests(validBidRequests, bidderRequest); + const payload = JSON.parse(request.data); + expect(payload.gdpr.consent).to.equal(consentString); + expect(payload.gdpr.required).to.exist.and.to.be.false; + }); + it('should send uspConsent to given endpoint', function() { bidderRequest.uspConsent = '1YYY'; const request = spec.buildRequests(validBidRequests, bidderRequest); @@ -457,6 +525,21 @@ describe('optidigitalAdapterTests', function () { expect(payload.gpp).to.exist; }); + it('should set testMode when optidigitalTestMode flag present in location', function() { + const originalUrl = window.location.href; + const newUrl = originalUrl.includes('optidigitalTestMode=true') + ? originalUrl + : `${window.location.pathname}${window.location.search}${window.location.search && window.location.search.length ? '&' : '?'}optidigitalTestMode=true${window.location.hash || ''}`; + try { + window.history.pushState({}, '', newUrl); + const request = spec.buildRequests(validBidRequests, bidderRequest); + const payload = JSON.parse(request.data); + expect(payload.testMode).to.equal(true); + } finally { + window.history.replaceState({}, '', originalUrl); + } + }); + it('should use appropriate mediaTypes banner sizes', function() { const mediaTypesBannerSize = { 'mediaTypes': { @@ -532,6 +615,23 @@ describe('optidigitalAdapterTests', function () { expect(payload.user).to.deep.equal(undefined); }); + it('should add gpid to payload when gpid', function() { + validBidRequests[0].ortb2Imp = { + 'ext': { + 'data': { + 'adserver': { + 'name': 'gam', + 'adslot': '/19968336/header-bid-tag-0' + } + }, + 'gpid': '/19968336/header-bid-tag-0' + } + }; + const request = spec.buildRequests(validBidRequests, bidderRequest); + const payload = JSON.parse(request.data); + expect(payload.imp[0].gpid).to.deep.equal('/19968336/header-bid-tag-0'); + }); + function returnBannerSizes(mediaTypes, expectedSizes) { const bidRequest = Object.assign(validBidRequests[0], mediaTypes); const request = spec.buildRequests([bidRequest], bidderRequest); From 1c9900031b42b10f3b6e2fe835efa842edc5daf7 Mon Sep 17 00:00:00 2001 From: Brian Weiss Date: Tue, 10 Feb 2026 09:07:35 -0600 Subject: [PATCH 176/248] LocID User ID Submodule: add locIdSystem (#14367) * chore(prebid): scaffold locid user id module * update LocID module to support first-party endpoint fetching and privacy signal handling * update LocID system tests for gdpr handling and consent string validation * Enhance LocID module documentation and tests for privacy signal handling. Updated comments for clarity, added test cases for maximum ID length and empty endpoint handling, and refined privacy configuration notes in the documentation. * Refactor LocID module to standardize naming conventions and enhance privacy signal handling. Updated module name to 'locId', improved consent data processing functions, and revised documentation and tests accordingly. * Added Apache 2.0 license header. * Add LocID User ID sub-module documentation and refactor ajax usage in locIdSystem module - Introduced locid.md documentation detailing the LocID User ID sub-module, including installation, configuration, parameters, and privacy handling. - Refactored locIdSystem.js to utilize ajaxBuilder for improved request handling. - Updated tests in locIdSystem_spec.js to accommodate changes in ajax usage and ensure proper timeout configurations. * Remove docs folder - to be submitted to prebid.github.io separately * Update LocID atype to 1 for compliance with OpenRTB 2.6 specifications - Changed the default EID atype in locIdSystem.js and related documentation from 3384 to 1, reflecting the correct device identifier as per OpenRTB 2.6 Extended Identifiers spec. - Updated references in locIdSystem.md and userId/eids.md to ensure consistency across documentation. - Adjusted unit tests in locIdSystem_spec.js to validate the new atype value. * Enhance LocID module with connection IP handling and response parsing improvements - Introduced connection IP validation and storage alongside LocID to support IP-aware caching. - Updated response parsing to only extract `tx_cloc` and `connection_ip`, ignoring `stable_cloc`. - Enhanced documentation to reflect changes in stored value format and endpoint response requirements. - Modified unit tests to cover new functionality, including connection IP checks and expiration handling. * fix getValue string handling, GDPR enforcement gating, extendId docs * LocID: enforce IP cache TTL in extendId and update tests/docs * LocID: honor null tx_cloc, reject whitespace-only IDs, add stable_cloc exclusion test * LocID: remove legacy 3384 references and enforce atype 1 * LocID: add vendorless TCF marker and scope 3384 guard * enhance locIdSystem to handle whitespace-only tx_cloc and update documentation. Ensure null IDs are cached correctly when tx_cloc is empty or whitespace, and adjust caching logic to honor null responses from the main endpoint. --------- Co-authored-by: Brian --- modules/.submodules.json | 3 +- modules/locIdSystem.js | 676 ++++++++ modules/locIdSystem.md | 250 +++ modules/userId/eids.md | 8 + modules/userId/userId.md | 10 + test/build-logic/no_3384_spec.mjs | 47 + test/spec/modules/locIdSystem_spec.js | 2090 +++++++++++++++++++++++++ 7 files changed, 3083 insertions(+), 1 deletion(-) create mode 100644 modules/locIdSystem.js create mode 100644 modules/locIdSystem.md create mode 100644 test/build-logic/no_3384_spec.mjs create mode 100644 test/spec/modules/locIdSystem_spec.js diff --git a/modules/.submodules.json b/modules/.submodules.json index c6274fdcbfd..d87b73401cd 100644 --- a/modules/.submodules.json +++ b/modules/.submodules.json @@ -32,6 +32,7 @@ "kinessoIdSystem", "liveIntentIdSystem", "lmpIdSystem", + "locIdSystem", "lockrAIMIdSystem", "lotamePanoramaIdSystem", "merkleIdSystem", @@ -147,4 +148,4 @@ "topLevelPaapi" ] } -} \ No newline at end of file +} diff --git a/modules/locIdSystem.js b/modules/locIdSystem.js new file mode 100644 index 00000000000..5e06e29b302 --- /dev/null +++ b/modules/locIdSystem.js @@ -0,0 +1,676 @@ +/** + * This file is licensed under the Apache 2.0 license. + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +/** + * This module adds LocID to the User ID module + * The {@link module:modules/userId} module is required. + * @module modules/locIdSystem + * @requires module:modules/userId + */ + +import { logWarn, logError } from '../src/utils.js'; +import { submodule } from '../src/hook.js'; +import { gppDataHandler, uspDataHandler } from '../src/adapterManager.js'; +import { ajaxBuilder } from '../src/ajax.js'; +import { getStorageManager } from '../src/storageManager.js'; +import { VENDORLESS_GVLID } from '../src/consentHandler.js'; +import { MODULE_TYPE_UID } from '../src/activities/modules.js'; + +const MODULE_NAME = 'locId'; +const LOG_PREFIX = 'LocID:'; +const DEFAULT_TIMEOUT_MS = 800; +const DEFAULT_EID_SOURCE = 'locid.com'; +// EID atype: 1 = AdCOM AgentTypeWeb (agent type for web environments) +const DEFAULT_EID_ATYPE = 1; +const MAX_ID_LENGTH = 512; +const MAX_CONNECTION_IP_LENGTH = 64; +const DEFAULT_IP_CACHE_TTL_MS = 4 * 60 * 60 * 1000; // 4 hours +const IP_CACHE_SUFFIX = '_ip'; + +export const storage = getStorageManager({ moduleType: MODULE_TYPE_UID, moduleName: MODULE_NAME }); + +/** + * Normalizes privacy mode config to a boolean flag. + * Supports both requirePrivacySignals (boolean) and privacyMode (string enum). + * + * Precedence: requirePrivacySignals (if true) takes priority over privacyMode. + * - privacyMode is the preferred high-level setting for new integrations. + * - requirePrivacySignals exists for backwards compatibility with integrators + * who prefer a simple boolean. + * + * @param {Object} params - config.params + * @returns {boolean} true if privacy signals are required, false otherwise + */ +function shouldRequirePrivacySignals(params) { + // requirePrivacySignals=true takes precedence (backwards compatibility) + if (params?.requirePrivacySignals === true) { + return true; + } + if (params?.privacyMode === 'requireSignals') { + return true; + } + // Default: allowWithoutSignals + return false; +} + +function getUspConsent(consentData) { + if (consentData && consentData.usp != null) { + return consentData.usp; + } + return consentData?.uspConsent; +} + +function getGppConsent(consentData) { + if (consentData && consentData.gpp != null) { + return consentData.gpp; + } + return consentData?.gppConsent; +} + +/** + * Checks if any privacy signals are present in consentData or data handlers. + * + * IMPORTANT: gdprApplies alone does NOT count as a privacy signal. + * A publisher may set gdprApplies=true without having a CMP installed. + * We only consider GDPR signals "present" when actual consent framework + * artifacts exist (consentString, vendorData). This supports LI-based + * operation where no TCF consent string is required. + * + * "Signals present" means ANY of the following are available: + * - consentString or gdpr.consentString (indicates CMP provided framework data) + * - vendorData or gdpr.vendorData (indicates CMP provided vendor data) + * - usp or uspConsent (US Privacy string) + * - gpp or gppConsent (GPP consent data) + * - Data from gppDataHandler or uspDataHandler + * + * @param {Object} consentData - The consent data object passed to getId + * @returns {boolean} true if any privacy signals are present + */ +function hasPrivacySignals(consentData) { + // Check GDPR-related signals (flat and nested) + // NOTE: gdprApplies alone is NOT a signal - it just indicates jurisdiction. + // A signal requires actual CMP artifacts (consentString or vendorData). + if (consentData?.consentString || consentData?.gdpr?.consentString) { + return true; + } + if (consentData?.vendorData || consentData?.gdpr?.vendorData) { + return true; + } + + // Check USP consent + const uspConsent = getUspConsent(consentData); + if (uspConsent) { + return true; + } + + // Check GPP consent + const gppConsent = getGppConsent(consentData); + if (gppConsent) { + return true; + } + + // Check data handlers + const uspFromHandler = uspDataHandler.getConsentData(); + if (uspFromHandler) { + return true; + } + + const gppFromHandler = gppDataHandler.getConsentData(); + if (gppFromHandler) { + return true; + } + + return false; +} + +function isValidId(id) { + return typeof id === 'string' && id.trim().length > 0 && id.length <= MAX_ID_LENGTH; +} + +function isValidConnectionIp(ip) { + return typeof ip === 'string' && ip.length > 0 && ip.length <= MAX_CONNECTION_IP_LENGTH; +} + +function normalizeStoredId(storedId) { + if (!storedId) { + return null; + } + if (typeof storedId === 'string') { + return null; + } + if (typeof storedId === 'object') { + // Preserve explicit null for id (means "empty tx_cloc, valid cached response"). + // 'id' in storedId is needed because ?? treats null as nullish and would + // incorrectly fall through to tx_cloc. + const hasExplicitId = 'id' in storedId; + const id = hasExplicitId ? storedId.id : (storedId.tx_cloc ?? null); + const connectionIp = storedId.connectionIp ?? storedId.connection_ip; + return { ...storedId, id, connectionIp }; + } + return null; +} + +/** + * Checks privacy framework signals. Returns true if ID operations are allowed. + * + * LocID operates under Legitimate Interest and does not require a TCF consent + * string when no privacy framework is present. When privacy signals exist, + * framework processing restrictions are enforced. + * + * @param {Object} consentData - The consent data object from Prebid + * @param {Object} params - config.params for privacy mode settings + * @returns {boolean} true if ID operations are allowed + */ +function hasValidConsent(consentData, params) { + const requireSignals = shouldRequirePrivacySignals(params); + const signalsPresent = hasPrivacySignals(consentData); + + // B) If privacy signals are NOT present + if (!signalsPresent) { + if (requireSignals) { + logWarn(LOG_PREFIX, 'Privacy signals required but none present'); + return false; + } + // Default: allow operation without privacy signals (LI-based operation) + return true; + } + + // A) Privacy signals ARE present - enforce applicable restrictions + // + // Note: privacy signals can come from GDPR, USP, or GPP. GDPR checks only + // apply when GDPR is flagged AND CMP artifacts (consentString/vendorData) + // are present. gdprApplies alone does not trigger GDPR enforcement. + + // Check GDPR - support both flat and nested shapes + const gdprApplies = consentData?.gdprApplies === true || consentData?.gdpr?.gdprApplies === true; + const consentString = consentData?.consentString || consentData?.gdpr?.consentString; + const vendorData = consentData?.vendorData || consentData?.gdpr?.vendorData; + const gdprCmpArtifactsPresent = !!(consentString || vendorData); + + if (gdprApplies && gdprCmpArtifactsPresent) { + // When GDPR applies AND we have CMP signals, require consentString + if (!consentString || consentString.length === 0) { + logWarn(LOG_PREFIX, 'GDPR framework data missing consent string'); + return false; + } + } + + // Check USP for processing restriction + const uspData = getUspConsent(consentData) ?? uspDataHandler.getConsentData(); + if (uspData && uspData.length >= 3 && uspData.charAt(2) === 'Y') { + logWarn(LOG_PREFIX, 'US Privacy framework processing restriction detected'); + return false; + } + + // Check GPP for processing restriction + const gppData = getGppConsent(consentData) ?? gppDataHandler.getConsentData(); + if (gppData?.applicableSections?.includes(7) && + gppData?.parsedSections?.usnat?.KnownChildSensitiveDataConsents?.includes(1)) { + logWarn(LOG_PREFIX, 'GPP usnat KnownChildSensitiveDataConsents processing restriction detected'); + return false; + } + + return true; +} + +function parseEndpointResponse(response) { + if (!response) { + return null; + } + try { + return typeof response === 'string' ? JSON.parse(response) : response; + } catch (e) { + logError(LOG_PREFIX, 'Error parsing endpoint response:', e.message); + return null; + } +} + +/** + * Extracts LocID from endpoint response. + * Only tx_cloc is accepted. + */ +function extractLocIdFromResponse(parsed) { + if (!parsed) return null; + + if (isValidId(parsed.tx_cloc)) { + return parsed.tx_cloc; + } + + logWarn(LOG_PREFIX, 'Could not extract valid tx_cloc from response'); + return null; +} + +function extractConnectionIp(parsed) { + if (!parsed) { + return null; + } + const connectionIp = parsed.connection_ip ?? parsed.connectionIp; + return isValidConnectionIp(connectionIp) ? connectionIp : null; +} + +function getIpCacheKey(config) { + const baseName = config?.storage?.name || '_locid'; + return config?.params?.ipCacheName || (baseName + IP_CACHE_SUFFIX); +} + +function getIpCacheTtlMs(config) { + const ttl = config?.params?.ipCacheTtlMs; + return (typeof ttl === 'number' && ttl > 0) ? ttl : DEFAULT_IP_CACHE_TTL_MS; +} + +function readIpCache(config) { + try { + const key = getIpCacheKey(config); + const raw = storage.getDataFromLocalStorage(key); + if (!raw) return null; + const entry = JSON.parse(raw); + if (!entry || typeof entry !== 'object') return null; + if (!isValidConnectionIp(entry.ip)) return null; + if (typeof entry.expiresAt === 'number' && Date.now() > entry.expiresAt) return null; + return entry; + } catch (e) { + logWarn(LOG_PREFIX, 'Error reading IP cache:', e.message); + return null; + } +} + +function writeIpCache(config, ip) { + if (!isValidConnectionIp(ip)) return; + try { + const key = getIpCacheKey(config); + const nowMs = Date.now(); + const ttlMs = getIpCacheTtlMs(config); + const entry = { + ip: ip, + fetchedAt: nowMs, + expiresAt: nowMs + ttlMs + }; + storage.setDataInLocalStorage(key, JSON.stringify(entry)); + } catch (e) { + logWarn(LOG_PREFIX, 'Error writing IP cache:', e.message); + } +} + +/** + * Parses an IP response from an IP-only endpoint. + * Supports JSON ({ip: "..."}, {connection_ip: "..."}) and plain text IP. + */ +function parseIpResponse(response) { + if (!response) return null; + + if (typeof response === 'string') { + const trimmed = response.trim(); + if (trimmed.charAt(0) === '{') { + try { + const parsed = JSON.parse(trimmed); + const ip = parsed.ip || parsed.connection_ip || parsed.connectionIp; + return isValidConnectionIp(ip) ? ip : null; + } catch (e) { + // Not valid JSON, try as plain text + } + } + return isValidConnectionIp(trimmed) ? trimmed : null; + } + + if (typeof response === 'object') { + const ip = response.ip || response.connection_ip || response.connectionIp; + return isValidConnectionIp(ip) ? ip : null; + } + + return null; +} + +/** + * Checks if a stored tx_cloc entry is valid for reuse. + * Accepts both valid id strings AND null (empty tx_cloc is a valid cached result). + */ +function isStoredEntryReusable(normalizedStored, currentIp) { + if (!normalizedStored || !isValidConnectionIp(normalizedStored.connectionIp)) { + return false; + } + if (isExpired(normalizedStored)) { + return false; + } + if (currentIp && normalizedStored.connectionIp !== currentIp) { + return false; + } + // id must be either a valid string or explicitly null (empty tx_cloc) + return normalizedStored.id === null || isValidId(normalizedStored.id); +} + +function getExpiresAt(config, nowMs) { + const expiresDays = config?.storage?.expires; + if (typeof expiresDays !== 'number' || expiresDays <= 0) { + return undefined; + } + return nowMs + (expiresDays * 24 * 60 * 60 * 1000); +} + +function buildStoredId(id, connectionIp, config) { + const nowMs = Date.now(); + return { + id, + connectionIp, + createdAt: nowMs, + updatedAt: nowMs, + expiresAt: getExpiresAt(config, nowMs) + }; +} + +function isExpired(storedEntry) { + return typeof storedEntry?.expiresAt === 'number' && Date.now() > storedEntry.expiresAt; +} + +/** + * Builds the request URL, appending altId if configured. + * Preserves URL fragments by appending query params before the hash. + */ +function buildRequestUrl(endpoint, altId) { + if (!altId) { + return endpoint; + } + + // Split on hash to preserve fragment + const hashIndex = endpoint.indexOf('#'); + let base = endpoint; + let fragment = ''; + + if (hashIndex !== -1) { + base = endpoint.substring(0, hashIndex); + fragment = endpoint.substring(hashIndex); + } + + const separator = base.includes('?') ? '&' : '?'; + return `${base}${separator}alt_id=${encodeURIComponent(altId)}${fragment}`; +} + +/** + * Fetches LocID from the configured endpoint (GET only). + */ +function fetchLocIdFromEndpoint(config, callback) { + const params = config?.params || {}; + const endpoint = params.endpoint; + const timeoutMs = params.timeoutMs || DEFAULT_TIMEOUT_MS; + + if (!endpoint) { + logError(LOG_PREFIX, 'No endpoint configured'); + callback(undefined); + return; + } + + const requestUrl = buildRequestUrl(endpoint, params.altId); + + const requestOptions = { + method: 'GET', + contentType: 'application/json', + withCredentials: params.withCredentials === true + }; + + // Add x-api-key header if apiKey is configured + if (params.apiKey) { + requestOptions.customHeaders = { + 'x-api-key': params.apiKey + }; + } + + let callbackFired = false; + const safeCallback = (result) => { + if (!callbackFired) { + callbackFired = true; + callback(result); + } + }; + + const onSuccess = (response) => { + const parsed = parseEndpointResponse(response); + if (!parsed) { + safeCallback(undefined); + return; + } + const connectionIp = extractConnectionIp(parsed); + if (!connectionIp) { + logWarn(LOG_PREFIX, 'Missing or invalid connection_ip in response'); + safeCallback(undefined); + return; + } + // tx_cloc may be null (empty/missing for this IP) -- this is a valid cacheable result. + // connection_ip is always required. + const locId = extractLocIdFromResponse(parsed); + writeIpCache(config, connectionIp); + safeCallback(buildStoredId(locId, connectionIp, config)); + }; + + const onError = (error) => { + logWarn(LOG_PREFIX, 'Request failed:', error); + safeCallback(undefined); + }; + + try { + const ajax = ajaxBuilder(timeoutMs); + ajax(requestUrl, { success: onSuccess, error: onError }, null, requestOptions); + } catch (e) { + logError(LOG_PREFIX, 'Error initiating request:', e.message); + safeCallback(undefined); + } +} + +/** + * Fetches the connection IP from a separate lightweight endpoint (GET only). + * Callback receives the IP string on success or null on failure. + */ +function fetchIpFromEndpoint(config, callback) { + const params = config?.params || {}; + const ipEndpoint = params.ipEndpoint; + const timeoutMs = params.timeoutMs || DEFAULT_TIMEOUT_MS; + + if (!ipEndpoint) { + callback(null); + return; + } + + let callbackFired = false; + const safeCallback = (result) => { + if (!callbackFired) { + callbackFired = true; + callback(result); + } + }; + + const onSuccess = (response) => { + const ip = parseIpResponse(response); + safeCallback(ip); + }; + + const onError = (error) => { + logWarn(LOG_PREFIX, 'IP endpoint request failed:', error); + safeCallback(null); + }; + + try { + const ajax = ajaxBuilder(timeoutMs); + const requestOptions = { + method: 'GET', + withCredentials: params.withCredentials === true + }; + if (params.apiKey) { + requestOptions.customHeaders = { + 'x-api-key': params.apiKey + }; + } + ajax(ipEndpoint, { success: onSuccess, error: onError }, null, requestOptions); + } catch (e) { + logError(LOG_PREFIX, 'Error initiating IP request:', e.message); + safeCallback(null); + } +} + +export const locIdSubmodule = { + name: MODULE_NAME, + aliasName: 'locid', + gvlid: VENDORLESS_GVLID, + + /** + * Decode stored value into userId object. + */ + decode(value) { + if (!value || typeof value !== 'object') { + return undefined; + } + const id = value?.id ?? value?.tx_cloc; + const connectionIp = value?.connectionIp ?? value?.connection_ip; + if (isValidId(id) && isValidConnectionIp(connectionIp)) { + return { locId: id }; + } + return undefined; + }, + + /** + * Get the LocID from endpoint. + * Returns {id} for sync or {callback} for async per Prebid patterns. + * + * Two-tier cache: IP cache (4h default) and tx_cloc cache (7d default). + * IP is refreshed more frequently to detect network changes while keeping + * tx_cloc stable for its full cache period. + */ + getId(config, consentData, storedId) { + const params = config?.params || {}; + + // Check privacy restrictions first + if (!hasValidConsent(consentData, params)) { + return undefined; + } + + const normalizedStored = normalizeStoredId(storedId); + const cachedIp = readIpCache(config); + + // Step 1: IP cache is valid -- check if tx_cloc matches + if (cachedIp) { + if (isStoredEntryReusable(normalizedStored, cachedIp.ip)) { + return { id: normalizedStored }; + } + // IP cached but tx_cloc missing, expired, or IP mismatch -- full fetch + return { + callback: (callback) => { + fetchLocIdFromEndpoint(config, callback); + } + }; + } + + // Step 2: IP cache expired or missing + if (params.ipEndpoint) { + // Two-call optimization: lightweight IP check first + return { + callback: (callback) => { + fetchIpFromEndpoint(config, (freshIp) => { + if (!freshIp) { + // IP fetch failed; fall back to main endpoint + fetchLocIdFromEndpoint(config, callback); + return; + } + writeIpCache(config, freshIp); + // Check if stored tx_cloc matches the fresh IP + if (isStoredEntryReusable(normalizedStored, freshIp)) { + callback(normalizedStored); + return; + } + // IP changed or no valid tx_cloc -- full fetch + fetchLocIdFromEndpoint(config, callback); + }); + } + }; + } + + // Step 3: No ipEndpoint configured -- call main endpoint to refresh IP. + // Only update tx_cloc if IP changed or tx_cloc cache expired. + return { + callback: (callback) => { + fetchLocIdFromEndpoint(config, (freshEntry) => { + if (!freshEntry) { + callback(undefined); + return; + } + // Honor empty tx_cloc: if the server returned null, use the fresh + // entry so stale identifiers are cleared (cached as id: null). + if (freshEntry.id === null) { + callback(freshEntry); + return; + } + // IP is already cached by fetchLocIdFromEndpoint's onSuccess. + // Check if we should preserve the existing tx_cloc (avoid churning it). + if (normalizedStored?.id !== null && isStoredEntryReusable(normalizedStored, freshEntry.connectionIp)) { + callback(normalizedStored); + return; + } + // IP changed or tx_cloc expired/missing -- use fresh entry + callback(freshEntry); + }); + } + }; + }, + + /** + * Extend existing LocID. + * Accepts id: null (empty tx_cloc) as a valid cached result. + * If IP cache is missing/expired/mismatched, return a callback to refresh. + */ + extendId(config, consentData, storedId) { + const normalizedStored = normalizeStoredId(storedId); + if (!normalizedStored || !isValidConnectionIp(normalizedStored.connectionIp)) { + return undefined; + } + // Accept both valid id strings AND null (empty tx_cloc is a valid cached result) + if (normalizedStored.id !== null && !isValidId(normalizedStored.id)) { + return undefined; + } + if (isExpired(normalizedStored)) { + return undefined; + } + if (!hasValidConsent(consentData, config?.params)) { + return undefined; + } + const refreshInSeconds = config?.storage?.refreshInSeconds; + if (typeof refreshInSeconds === 'number' && refreshInSeconds > 0) { + const createdAt = normalizedStored.createdAt; + if (typeof createdAt !== 'number') { + return undefined; + } + const refreshAfterMs = refreshInSeconds * 1000; + if (Date.now() - createdAt >= refreshAfterMs) { + return undefined; + } + } + // Check IP cache -- if expired/missing or IP changed, trigger re-fetch + const cachedIp = readIpCache(config); + if (!cachedIp || cachedIp.ip !== normalizedStored.connectionIp) { + return { + callback: (callback) => { + fetchLocIdFromEndpoint(config, callback); + } + }; + } + return { id: normalizedStored }; + }, + + /** + * EID configuration following standard Prebid shape. + */ + eids: { + locId: { + source: DEFAULT_EID_SOURCE, + atype: DEFAULT_EID_ATYPE, + getValue: function (data) { + if (typeof data === 'string') { + return data; + } + if (!data || typeof data !== 'object') { + return undefined; + } + return data?.id ?? data?.tx_cloc ?? data?.locId ?? data?.locid; + } + } + } +}; + +submodule('userId', locIdSubmodule); diff --git a/modules/locIdSystem.md b/modules/locIdSystem.md new file mode 100644 index 00000000000..6ffe02fe841 --- /dev/null +++ b/modules/locIdSystem.md @@ -0,0 +1,250 @@ +# LocID User ID Submodule + +## Overview + +The LocID User ID submodule retrieves a LocID from a configured first-party endpoint, honors applicable privacy framework processing restrictions when present, persists the identifier using Prebid's storage framework, and exposes the ID to bidders via the standard EIDs interface. + +LocID is a geospatial identifier provided by Digital Envoy. The endpoint is a publisher-controlled, first-party or on-premises service operated by the publisher, GrowthCode, or Digital Envoy. The endpoint derives location information server-side. The browser module does not transmit IP addresses. + +## Configuration + +```javascript +pbjs.setConfig({ + userSync: { + userIds: [{ + name: 'locId', + params: { + endpoint: 'https://id.example.com/locid', + ipEndpoint: 'https://id.example.com/ip' // optional: lightweight IP-only check + }, + storage: { + type: 'html5', + name: '_locid', + expires: 7 + } + }] + } +}); +``` + +## Parameters + +| Parameter | Type | Required | Default | Description | +| ----------------------- | ------- | -------- | ----------------------- | ----------------------------------------------------------------------------- | +| `endpoint` | String | Yes | – | First-party LocID endpoint (see Endpoint Requirements below) | +| `ipEndpoint` | String | No | – | Separate endpoint returning the connection IP (see IP Change Detection below) | +| `ipCacheTtlMs` | Number | No | `14400000` (4h) | TTL for the IP cache entry in milliseconds | +| `ipCacheName` | String | No | `{storage.name}_ip` | localStorage key for the IP cache (auto-derived if not set) | +| `altId` | String | No | – | Alternative identifier appended as `?alt_id=` query param | +| `timeoutMs` | Number | No | `800` | Request timeout in milliseconds | +| `withCredentials` | Boolean | No | `false` | Whether to include credentials on the request | +| `apiKey` | String | No | – | API key sent as `x-api-key` header on `endpoint` and `ipEndpoint` requests | +| `requirePrivacySignals` | Boolean | No | `false` | If `true`, requires privacy signals to be present | +| `privacyMode` | String | No | `'allowWithoutSignals'` | `'allowWithoutSignals'` or `'requireSignals'` | + +**Note on privacy configuration:** `privacyMode` is the preferred high-level setting for new integrations. `requirePrivacySignals` exists for backwards compatibility with integrators who prefer a simple boolean. If `requirePrivacySignals: true` is set, it takes precedence. + +### Endpoint Requirements + +The `endpoint` parameter must point to a **first-party proxy** or **on-premises service**—not the raw LocID Encrypt API directly. + +The LocID Encrypt API (`GET /encrypt?ip=&alt_id=`) requires the client IP address as a parameter. Since browsers cannot reliably determine their own public IP, a server-side proxy is required to: + +1. Receive the request from the browser +2. Extract the client IP from the incoming connection +3. Forward the request to the LocID Encrypt API with the IP injected +4. Return the response with `tx_cloc` and `connection_ip` to the browser (any `stable_cloc` is ignored client-side) + +This architecture ensures the browser never transmits IP addresses and the LocID service receives accurate location data. + +If you configure `altId`, the module appends it as `?alt_id=` to the endpoint URL. Your proxy can then forward this to the LocID API. + +### CORS Configuration + +If your endpoint is on a different origin or you set `withCredentials: true`, ensure your server returns appropriate CORS headers: + +```http +Access-Control-Allow-Origin: +Access-Control-Allow-Credentials: true +``` + +When using `withCredentials`, the server cannot use `Access-Control-Allow-Origin: *`; it must specify the exact origin. + +### Storage Configuration + +| Parameter | Required | Description | +| --------- | -------- | ---------------- | +| `type` | Yes | `'html5'` | +| `name` | Yes | Storage key name | +| `expires` | No | TTL in days | + +### Stored Value Format + +The module stores a structured object (rather than a raw string) so it can track IP-aware metadata: + +```json +{ + "id": "", + "connectionIp": "203.0.113.42", + "createdAt": 1738147200000, + "updatedAt": 1738147200000, + "expiresAt": 1738752000000 +} +``` + +When the endpoint returns a valid `connection_ip` but no usable `tx_cloc` (`null`, missing, empty, or whitespace-only), `id` is stored as `null`. This caches the "no location for this IP" result for the full cache period without re-fetching. The `decode()` function returns `undefined` for `null` IDs, so no EID is emitted in bid requests. + +**Important:** String-only stored values are treated as invalid and are not emitted. + +### IP Cache Format + +The module maintains a separate IP cache entry in localStorage (default key: `{storage.name}_ip`) with a shorter TTL (default 4 hours): + +```json +{ + "ip": "203.0.113.42", + "fetchedAt": 1738147200000, + "expiresAt": 1738161600000 +} +``` + +This entry is managed by the module directly via Prebid's `storageManager` and is independent of the framework-managed tx_cloc cache. + +## Operation Flow + +The module uses a two-tier cache: an IP cache (default 4-hour TTL) and a tx_cloc cache (TTL defined by `storage.expires`). The IP is refreshed more frequently to detect network changes while keeping tx_cloc stable for its full cache period. + +1. The module checks the IP cache for a current connection IP. +2. If the IP cache is valid, the module compares it against the stored tx_cloc entry's `connectionIp`. +3. If the IPs match and the tx_cloc entry is not expired, the cached tx_cloc is reused (even if `null`). +4. If the IP cache is expired or missing and `ipEndpoint` is configured, the module calls `ipEndpoint` to get the current IP, then compares with the stored tx_cloc. If the IPs match, the tx_cloc is reused without calling the main endpoint. +5. If the IPs differ, or the tx_cloc is expired/missing, or `ipEndpoint` is not configured, the module calls the main endpoint to get a fresh tx_cloc and connection IP. +6. The endpoint response may include a `null`, empty, whitespace-only, or missing `tx_cloc` (indicating no location for this IP). This is cached as `id: null` for the full cache period, and overrides any previously stored non-null ID for that same IP. +7. Both the IP cache and tx_cloc cache are updated after each endpoint call. +8. The ID is included in bid requests via the EIDs array. Entries with `null` tx_cloc are omitted from bid requests. + +## Endpoint Response Requirements + +The proxy must return: + +```json +{ + "tx_cloc": "", + "connection_ip": "203.0.113.42" +} +``` + +Notes: + +- `connection_ip` is always required. If missing, the entire response is treated as a failure. +- `tx_cloc` may be `null`, missing, empty, or whitespace-only when no location is available for the IP. This is a valid response and will be cached as `id: null` for the configured cache period. +- `tx_cloc` is the only value the browser module will store/transmit. +- `stable_cloc` may exist in proxy responses for server-side caching, but the client ignores it. + +## IP Change Detection + +The module uses a two-tier cache to detect IP changes without churning the tx_cloc identifier: + +- **IP cache** (default 4-hour TTL): Tracks the current connection IP. Stored in a separate localStorage key (`{storage.name}_ip`). +- **tx_cloc cache** (`storage.expires`): Stores the LocID. Managed by Prebid's userId framework. + +When the IP cache expires, the module refreshes the IP. If the IP is unchanged and the tx_cloc cache is still valid, the existing tx_cloc is reused without calling the main endpoint. + +### ipEndpoint (optional) + +When `ipEndpoint` is configured, the module calls it for lightweight IP-only checks. This avoids a full tx_cloc API call when only the IP needs refreshing. The endpoint should return the connection IP in one of these formats: + +- JSON: `{"ip": "203.0.113.42"}` or `{"connection_ip": "203.0.113.42"}` +- Plain text: `203.0.113.42` + +If `apiKey` is configured, the `x-api-key` header is included on `ipEndpoint` requests using the same `customHeaders` mechanism as the main endpoint. + +When `ipEndpoint` is not configured, the module falls back to calling the main endpoint to refresh the IP, but only updates the stored tx_cloc when the IP has changed or the tx_cloc cache has expired. In this mode, IP changes are only detected when the IP cache is refreshed (for example when it expires and `extendId()` returns a refresh callback); there is no separate lightweight proactive IP probe. + +### Prebid Refresh Triggers + +When `storage.refreshInSeconds` is set, the module will reuse the cached ID until `createdAt + refreshInSeconds`; once due (or if `createdAt` is missing), `extendId()` returns `undefined` to indicate the cached ID should not be reused. The `extendId()` method also checks the IP cache: if the IP cache is expired or missing, or if the cached IP differs from the stored tx_cloc's IP, it returns a callback that refreshes via the main endpoint. This enforces the IP cache TTL (`ipCacheTtlMs`) even when the tx_cloc cache has not expired. + +## Consent Handling + +LocID operates under Legitimate Interest (LI). By default, the module proceeds when no privacy framework signals are present. When privacy signals exist, they are enforced. Privacy frameworks can only stop LocID via global processing restrictions; they do not enable it. +For TCF integration, the module declares Prebid's vendorless GVL marker so purpose-level enforcement applies without vendor-ID checks. + +### Legal Basis and IP-Based Identifiers + +LocID is derived from IP-based geolocation. Because IP addresses are transient and shared, there is no meaningful IP-level choice to express. Privacy frameworks are only consulted to honor rare, publisher- or regulator-level instructions to stop all processing. When such a global processing restriction is signaled, LocID respects it by returning `undefined`. + +### Default Behavior (allowWithoutSignals) + +- **No privacy signals present**: Module proceeds and fetches the ID +- **Privacy signals present**: Enforcement rules apply (see below) + +### Strict Mode (requireSignals) + +Set `requirePrivacySignals: true` or `privacyMode: 'requireSignals'` to require privacy signals: + +```javascript +params: { + endpoint: 'https://id.example.com/locid', + requirePrivacySignals: true +} +``` + +In strict mode, the module returns `undefined` if no privacy signals are present. + +### Privacy Signal Enforcement + +When privacy signals **are** present, the module does not fetch or return an ID if any of the following apply: + +- GDPR applies and vendorData is present, but consentString is missing or empty +- The US Privacy string indicates a global processing restriction (third character is 'Y') +- GPP signals indicate an applicable processing restriction + +When GDPR applies and `consentString` is present, the module proceeds unless a framework processing restriction is signaled. + +### Privacy Signals Detection + +The module considers privacy signals "present" if any of the following exist: + +- `consentString` (TCF consent string from CMP) +- `vendorData` (TCF vendor data from CMP) +- `usp` or `uspConsent` (US Privacy string) +- `gpp` or `gppConsent` (GPP consent data) +- Data from `uspDataHandler` or `gppDataHandler` + +**Important:** `gdprApplies` alone does NOT constitute a privacy signal. A publisher may indicate GDPR jurisdiction without having a CMP installed. TCF framework data is only required when actual CMP artifacts (`consentString` or `vendorData`) are present. This supports Legitimate Interest-based operation in deployments without a full TCF implementation. + +## EID Output + +When available, the LocID is exposed as: + +```javascript +{ + source: "locid.com", + uids: [{ + id: "", + atype: 1 // AdCOM AgentTypeWeb + }] +} +``` + +## Identifier Type + +- **`atype: 1`** — The AdCOM agent type for web (`AgentTypeWeb`). This is used in EID emission. + +`atype` is an OpenRTB agent type (environment), not an IAB GVL vendor ID. + +## Debugging + +```javascript +pbjs.getUserIds().locId +pbjs.refreshUserIds() +localStorage.getItem('_locid') +localStorage.getItem('_locid_ip') // IP cache entry +``` + +## Validation Checklist + +- [ ] EID is present in bid requests when no processing restriction is signaled +- [ ] No network request occurs when a global processing restriction is signaled +- [ ] Stored IDs are reused across page loads diff --git a/modules/userId/eids.md b/modules/userId/eids.md index f6f62229f53..bdd8a0bb3e8 100644 --- a/modules/userId/eids.md +++ b/modules/userId/eids.md @@ -25,6 +25,14 @@ userIdAsEids = [ }] }, + { + source: 'locid.com', + uids: [{ + id: 'some-random-id-value', + atype: 1 + }] + }, + { source: 'adserver.org', uids: [{ diff --git a/modules/userId/userId.md b/modules/userId/userId.md index 8ffd8f83043..f7bea8fd9f8 100644 --- a/modules/userId/userId.md +++ b/modules/userId/userId.md @@ -91,6 +91,16 @@ pbjs.setConfig({ name: '_li_pbid', expires: 60 } + }, { + name: 'locId', + params: { + endpoint: 'https://id.example.com/locid' + }, + storage: { + type: 'html5', + name: '_locid', + expires: 7 + } }, { name: 'criteo', storage: { // It is best not to specify this parameter since the module needs to be called as many times as possible diff --git a/test/build-logic/no_3384_spec.mjs b/test/build-logic/no_3384_spec.mjs new file mode 100644 index 00000000000..94cc47227ef --- /dev/null +++ b/test/build-logic/no_3384_spec.mjs @@ -0,0 +1,47 @@ +import {describe, it} from 'mocha'; +import {expect} from 'chai'; +import {execFileSync} from 'node:child_process'; +import {fileURLToPath} from 'node:url'; +import path from 'node:path'; + +const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../..'); + +describe('build hygiene checks', () => { + it('should not contain the forbidden legacy token in LocID files', () => { + const forbiddenToken = ['33', '84'].join(''); + const scopeArgs = [ + 'ls-files', + '--', + ':(glob)modules/**/locId*', + ':(glob)test/spec/**/locId*', + 'docs/modules/locid.md', + 'modules/locIdSystem.md' + ]; + const scopedPaths = execFileSync('git', scopeArgs, { cwd: repoRoot, encoding: 'utf8' }) + .split('\n') + .map(filePath => filePath.trim()) + .filter(Boolean); + + expect(scopedPaths.length, 'No LocID files were selected for the 3384 guard').to.be.greaterThan(0); + + const args = [ + 'grep', + '-n', + '-I', + '-E', + `\\b${forbiddenToken}\\b`, + '--', + ...scopedPaths + ]; + + try { + const output = execFileSync('git', args, { cwd: repoRoot, encoding: 'utf8' }); + expect(output.trim(), `Unexpected ${forbiddenToken} matches:\n${output}`).to.equal(''); + } catch (e) { + if (e?.status === 1) { + return; + } + throw e; + } + }); +}); diff --git a/test/spec/modules/locIdSystem_spec.js b/test/spec/modules/locIdSystem_spec.js new file mode 100644 index 00000000000..1b2fc02ddc8 --- /dev/null +++ b/test/spec/modules/locIdSystem_spec.js @@ -0,0 +1,2090 @@ +/** + * This file is licensed under the Apache 2.0 license. + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +import { locIdSubmodule, storage } from 'modules/locIdSystem.js'; +import { createEidsArray } from 'modules/userId/eids.js'; +import { attachIdSystem } from 'modules/userId/index.js'; +import * as ajax from 'src/ajax.js'; +import { VENDORLESS_GVLID } from 'src/consentHandler.js'; +import { uspDataHandler, gppDataHandler } from 'src/adapterManager.js'; +import { expect } from 'chai/index.mjs'; +import sinon from 'sinon'; + +const TEST_ID = 'SYybozbTuRaZkgGqCD7L7EE0FncoNUcx-om4xTfhJt36TFIAES2tF1qPH'; +const TEST_ENDPOINT = 'https://id.example.com/locid'; +const TEST_CONNECTION_IP = '203.0.113.42'; + +describe('LocID System', () => { + let sandbox; + let ajaxStub; + let ajaxBuilderStub; + + beforeEach(() => { + sandbox = sinon.createSandbox(); + sandbox.stub(uspDataHandler, 'getConsentData').returns(null); + sandbox.stub(gppDataHandler, 'getConsentData').returns(null); + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + sandbox.stub(storage, 'setDataInLocalStorage'); + ajaxStub = sandbox.stub(); + ajaxBuilderStub = sandbox.stub(ajax, 'ajaxBuilder').returns(ajaxStub); + }); + + afterEach(() => { + sandbox.restore(); + }); + + describe('module properties', () => { + it('should expose correct module name', () => { + expect(locIdSubmodule.name).to.equal('locId'); + }); + + it('should have eids configuration with correct defaults', () => { + expect(locIdSubmodule.eids).to.be.an('object'); + expect(locIdSubmodule.eids.locId).to.be.an('object'); + expect(locIdSubmodule.eids.locId.source).to.equal('locid.com'); + // atype 1 = AdCOM AgentTypeWeb + expect(locIdSubmodule.eids.locId.atype).to.equal(1); + }); + + it('should register as a vendorless TCF module', () => { + expect(locIdSubmodule.gvlid).to.equal(VENDORLESS_GVLID); + }); + + it('should have getValue function that extracts ID', () => { + const getValue = locIdSubmodule.eids.locId.getValue; + expect(getValue('test-id')).to.equal('test-id'); + expect(getValue({ id: 'id-shape' })).to.equal('id-shape'); + expect(getValue({ locId: 'test-id' })).to.equal('test-id'); + expect(getValue({ locid: 'legacy-id' })).to.equal('legacy-id'); + }); + }); + + describe('decode', () => { + it('should decode valid ID correctly', () => { + const result = locIdSubmodule.decode({ id: TEST_ID, connectionIp: TEST_CONNECTION_IP }); + expect(result).to.deep.equal({ locId: TEST_ID }); + }); + + it('should decode ID passed as object', () => { + const result = locIdSubmodule.decode({ id: TEST_ID, connectionIp: TEST_CONNECTION_IP }); + expect(result).to.deep.equal({ locId: TEST_ID }); + }); + + it('should return undefined for invalid values', () => { + [null, undefined, '', {}, [], 123, TEST_ID].forEach(value => { + expect(locIdSubmodule.decode(value)).to.be.undefined; + }); + }); + + it('should return undefined when connection_ip is missing', () => { + expect(locIdSubmodule.decode({ id: TEST_ID })).to.be.undefined; + }); + + it('should return undefined for IDs exceeding max length', () => { + const longId = 'a'.repeat(513); + expect(locIdSubmodule.decode({ id: longId, connectionIp: TEST_CONNECTION_IP })).to.be.undefined; + }); + + it('should accept ID at exactly MAX_ID_LENGTH (512 characters)', () => { + const maxLengthId = 'a'.repeat(512); + const result = locIdSubmodule.decode({ id: maxLengthId, connectionIp: TEST_CONNECTION_IP }); + expect(result).to.deep.equal({ locId: maxLengthId }); + }); + }); + + describe('getId', () => { + it('should return callback for async endpoint fetch', () => { + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + const result = locIdSubmodule.getId(config, {}); + expect(result).to.have.property('callback'); + expect(result.callback).to.be.a('function'); + }); + + it('should call endpoint and return tx_cloc on success', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.an('object'); + expect(id.id).to.equal(TEST_ID); + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + expect(ajaxStub.calledOnce).to.be.true; + done(); + }); + }); + + it('should cache entry with null id when tx_cloc is missing but connection_ip is present', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success(JSON.stringify({ stable_cloc: 'stable-cloc-id-12345', connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.an('object'); + expect(id.id).to.be.null; + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + + it('should prefer tx_cloc over stable_cloc when both present', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success(JSON.stringify({ + tx_cloc: TEST_ID, + stable_cloc: 'stable-fallback', + connection_ip: TEST_CONNECTION_IP + })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.an('object'); + expect(id.id).to.equal(TEST_ID); + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + + it('should return undefined on endpoint error', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.error('Network error'); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.undefined; + done(); + }); + }); + + it('should reuse storedId when valid and IP cache matches', () => { + // Set up IP cache matching stored entry's IP + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now(), + expiresAt: Date.now() + 1000 + })); + + const config = { + params: { + endpoint: TEST_ENDPOINT + }, + storage: { + name: '_locid' + } + }; + const storedId = { + id: 'existing-id', + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + updatedAt: Date.now(), + expiresAt: Date.now() + 1000 + }; + const result = locIdSubmodule.getId(config, {}, storedId); + expect(result).to.deep.equal({ id: storedId }); + expect(ajaxStub.called).to.be.false; + }); + + it('should not reuse storedId when expired', () => { + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + const storedId = { + id: 'expired-id', + connectionIp: TEST_CONNECTION_IP, + createdAt: 1000, + updatedAt: 1000, + expiresAt: Date.now() - 1000 + }; + const result = locIdSubmodule.getId(config, {}, storedId); + expect(result).to.have.property('callback'); + }); + + it('should not reuse storedId when connectionIp is missing', () => { + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + const storedId = { + id: 'existing-id', + createdAt: 1000, + updatedAt: 1000, + expiresAt: 2000 + }; + const result = locIdSubmodule.getId(config, {}, storedId); + expect(result).to.have.property('callback'); + }); + + it('should pass x-api-key header when apiKey is configured', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(options.customHeaders).to.deep.equal({ 'x-api-key': 'test-api-key' }); + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + apiKey: 'test-api-key' + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should not include customHeaders when apiKey is not configured', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(options.customHeaders).to.not.exist; + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should pass withCredentials when configured', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(options.withCredentials).to.be.true; + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + withCredentials: true + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should default withCredentials to false', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(options.withCredentials).to.be.false; + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should use default timeout of 800ms when timeoutMs is not configured', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => { + expect(ajaxBuilderStub.calledWith(800)).to.be.true; + done(); + }); + }); + + it('should use custom timeout when timeoutMs is configured', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + timeoutMs: 1500 + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => { + expect(ajaxBuilderStub.calledWith(1500)).to.be.true; + done(); + }); + }); + + it('should always use GET method', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(options.method).to.equal('GET'); + expect(body).to.be.null; + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should append alt_id query parameter when altId is configured', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(url).to.equal(TEST_ENDPOINT + '?alt_id=user123'); + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + altId: 'user123' + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should use & separator when endpoint already has query params', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(url).to.equal(TEST_ENDPOINT + '?existing=param&alt_id=user456'); + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + '?existing=param', + altId: 'user456' + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should URL-encode altId value', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(url).to.equal(TEST_ENDPOINT + '?alt_id=user%40example.com'); + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + altId: 'user@example.com' + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should not append alt_id when altId is not configured', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(url).to.equal(TEST_ENDPOINT); + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should preserve URL fragment when appending alt_id', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(url).to.equal('https://id.example.com/locid?alt_id=user123#frag'); + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: 'https://id.example.com/locid#frag', + altId: 'user123' + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should preserve URL fragment when endpoint has existing query params', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + expect(url).to.equal('https://id.example.com/locid?x=1&alt_id=user456#frag'); + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: 'https://id.example.com/locid?x=1#frag', + altId: 'user456' + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => done()); + }); + + it('should return undefined via callback when endpoint is empty string', (done) => { + const config = { + params: { + endpoint: '' + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.undefined; + expect(ajaxStub.called).to.be.false; + done(); + }); + }); + }); + + describe('extendId', () => { + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + it('should return stored id when valid and IP cache is current', () => { + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now(), + expiresAt: Date.now() + 14400000 + })); + const storedId = { id: 'existing-id', connectionIp: TEST_CONNECTION_IP }; + const result = locIdSubmodule.extendId(config, {}, storedId); + expect(result).to.deep.equal({ id: storedId }); + }); + + it('should reuse storedId when refreshInSeconds is configured but not due', () => { + const now = Date.now(); + const refreshInSeconds = 60; + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: now, + expiresAt: now + 14400000 + })); + const storedId = { + id: 'existing-id', + connectionIp: TEST_CONNECTION_IP, + createdAt: now - ((refreshInSeconds - 10) * 1000), + expiresAt: now + 10000 + }; + const refreshConfig = { + params: { + endpoint: TEST_ENDPOINT + }, + storage: { + refreshInSeconds + } + }; + const result = locIdSubmodule.extendId(refreshConfig, {}, storedId); + expect(result).to.deep.equal({ id: storedId }); + }); + + it('should return undefined when refreshInSeconds is due', () => { + const now = Date.now(); + const refreshInSeconds = 60; + const storedId = { + id: 'existing-id', + connectionIp: TEST_CONNECTION_IP, + createdAt: now - ((refreshInSeconds + 10) * 1000), + expiresAt: now + 10000 + }; + const refreshConfig = { + params: { + endpoint: TEST_ENDPOINT + }, + storage: { + refreshInSeconds + } + }; + const result = locIdSubmodule.extendId(refreshConfig, {}, storedId); + expect(result).to.be.undefined; + }); + + it('should return undefined when refreshInSeconds is configured and createdAt is missing', () => { + const now = Date.now(); + const refreshInSeconds = 60; + const storedId = { + id: 'existing-id', + connectionIp: TEST_CONNECTION_IP, + expiresAt: now + 10000 + }; + const refreshConfig = { + params: { + endpoint: TEST_ENDPOINT + }, + storage: { + refreshInSeconds + } + }; + const result = locIdSubmodule.extendId(refreshConfig, {}, storedId); + expect(result).to.be.undefined; + }); + + it('should return undefined when storedId is a string', () => { + const result = locIdSubmodule.extendId(config, {}, 'existing-id'); + expect(result).to.be.undefined; + }); + + it('should return undefined when connectionIp is missing', () => { + const result = locIdSubmodule.extendId(config, {}, { id: 'existing-id' }); + expect(result).to.be.undefined; + }); + + it('should return undefined when stored entry is expired', () => { + const storedId = { + id: 'existing-id', + connectionIp: TEST_CONNECTION_IP, + expiresAt: Date.now() - 1000 + }; + const result = locIdSubmodule.extendId(config, {}, storedId); + expect(result).to.be.undefined; + }); + }); + + describe('privacy framework handling', () => { + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + // --- Tests for no privacy signals (LI-based operation) --- + // LocID operates under Legitimate Interest and should proceed when no + // privacy framework is present, unless requirePrivacySignals is enabled. + + it('should proceed when no consentData provided at all (default LI-based operation)', () => { + // When no privacy signals are present, module should proceed by default + const result = locIdSubmodule.getId(config, undefined); + expect(result).to.have.property('callback'); + }); + + it('should proceed when consentData is null (default LI-based operation)', () => { + const result = locIdSubmodule.getId(config, null); + expect(result).to.have.property('callback'); + }); + + it('should proceed when consentData is empty object (default LI-based operation)', () => { + // Empty object has no privacy signals, so should proceed + const result = locIdSubmodule.getId(config, {}); + expect(result).to.have.property('callback'); + }); + + it('should return undefined when no consentData and requirePrivacySignals=true', () => { + const strictConfig = { + params: { + endpoint: TEST_ENDPOINT, + requirePrivacySignals: true + } + }; + const result = locIdSubmodule.getId(strictConfig, undefined); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should return undefined when empty consentData and requirePrivacySignals=true', () => { + const strictConfig = { + params: { + endpoint: TEST_ENDPOINT, + requirePrivacySignals: true + } + }; + const result = locIdSubmodule.getId(strictConfig, {}); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should return undefined when no consentData and privacyMode=requireSignals', () => { + const strictConfig = { + params: { + endpoint: TEST_ENDPOINT, + privacyMode: 'requireSignals' + } + }; + const result = locIdSubmodule.getId(strictConfig, undefined); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should proceed when no consentData and privacyMode=allowWithoutSignals', () => { + const permissiveConfig = { + params: { + endpoint: TEST_ENDPOINT, + privacyMode: 'allowWithoutSignals' + } + }; + const result = locIdSubmodule.getId(permissiveConfig, undefined); + expect(result).to.have.property('callback'); + }); + + it('should proceed with privacy signals present and requirePrivacySignals=true', () => { + const strictConfig = { + params: { + endpoint: TEST_ENDPOINT, + requirePrivacySignals: true + } + }; + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: {} + } + }; + const result = locIdSubmodule.getId(strictConfig, consentData); + expect(result).to.have.property('callback'); + }); + + it('should detect privacy signals from uspDataHandler and block on processing restriction', () => { + // Restore and re-stub to return USP processing restriction signal + uspDataHandler.getConsentData.restore(); + sandbox.stub(uspDataHandler, 'getConsentData').returns('1YY-'); + + // Even with empty consentData, handler provides privacy signal + const result = locIdSubmodule.getId(config, {}); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should detect privacy signals from gppDataHandler and block on processing restriction', () => { + // Restore and re-stub to return GPP processing restriction signal + gppDataHandler.getConsentData.restore(); + sandbox.stub(gppDataHandler, 'getConsentData').returns({ + applicableSections: [7], + parsedSections: { + usnat: { + KnownChildSensitiveDataConsents: [1] + } + } + }); + + // Even with empty consentData, handler provides privacy signal + const result = locIdSubmodule.getId(config, {}); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should proceed when uspDataHandler returns non-restrictive value', () => { + // Restore and re-stub to return non-restrictive USP + uspDataHandler.getConsentData.restore(); + sandbox.stub(uspDataHandler, 'getConsentData').returns('1NN-'); + + const result = locIdSubmodule.getId(config, {}); + expect(result).to.have.property('callback'); + }); + + // --- Tests for gdprApplies edge cases (LI-based operation) --- + // gdprApplies alone does NOT constitute a privacy signal. + // A GDPR signal requires actual CMP artifacts (consentString or vendorData). + + it('should proceed when gdprApplies=true but no consentString/vendorData (default LI mode)', () => { + // gdprApplies alone is not a signal - allows LI-based operation without CMP + const consentData = { + gdprApplies: true + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when gdprApplies=true and usp is present but no GDPR CMP artifacts', () => { + const consentData = { + gdprApplies: true, + usp: '1NN-' + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when gdprApplies=true and consentString is empty (treated as absent CMP artifact)', () => { + // Empty consentString is treated as not present, so LI-mode behavior applies. + const consentData = { + gdprApplies: true, + consentString: '' + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should return undefined when gdprApplies=true, no CMP artifacts, and strict mode', () => { + const strictConfig = { + params: { + endpoint: TEST_ENDPOINT, + requirePrivacySignals: true + } + }; + const consentData = { + gdprApplies: true + }; + const result = locIdSubmodule.getId(strictConfig, consentData); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should return undefined when gdprApplies=true, vendorData present but no consentString', () => { + // vendorData presence = CMP is present, so signals ARE present + // GDPR applies + signals present + no consentString → deny + const consentData = { + gdprApplies: true, + vendorData: { + vendor: {} + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should deny when gdprApplies=false and strict mode is enabled (gdprApplies alone is not a signal)', () => { + // gdprApplies=false alone is not a signal, so strict mode blocks + const strictConfig = { + params: { + endpoint: TEST_ENDPOINT, + requirePrivacySignals: true + } + }; + const consentData = { + gdprApplies: false + }; + const result = locIdSubmodule.getId(strictConfig, consentData); + // gdprApplies=false is not a signal, so strict mode denies + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + // --- Original tests for when privacy signals ARE present --- + + it('should proceed with valid GDPR framework data', () => { + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string' + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when GDPR does not apply (no CMP artifacts)', () => { + // gdprApplies=false alone is not a signal - LI operation allowed + const consentData = { + gdprApplies: false + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when GDPR applies with consentString and vendor flags deny', () => { + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: { + consents: { 999: false }, + legitimateInterests: { 999: false } + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should return undefined on US Privacy processing restriction and not call ajax', () => { + const consentData = { + usp: '1YY-' + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should return undefined on legacy US Privacy processing restriction and not call ajax', () => { + const consentData = { + uspConsent: '1YY-' + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should return undefined on GPP processing restriction and not call ajax', () => { + const consentData = { + gpp: { + applicableSections: [7], + parsedSections: { + usnat: { + KnownChildSensitiveDataConsents: [1] + } + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should return undefined on legacy GPP processing restriction and not call ajax', () => { + const consentData = { + gppConsent: { + applicableSections: [7], + parsedSections: { + usnat: { + KnownChildSensitiveDataConsents: [1] + } + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.be.undefined; + expect(ajaxStub.called).to.be.false; + }); + + it('should proceed when nested GDPR applies but no CMP artifacts (LI operation)', () => { + // Empty consentString in nested gdpr object is not a signal - LI operation allowed + const consentData = { + gdpr: { + gdprApplies: true, + consentString: '' + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed with valid nested GDPR framework data', () => { + const consentData = { + gdpr: { + gdprApplies: true, + consentString: 'valid-consent-string' + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when GDPR applies and vendorData is present', () => { + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: { + consents: { 999: false }, + legitimateInterests: { 999: false } + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when GDPR applies and vendor is missing from consents', () => { + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: { + consents: { 1234: true }, + legitimateInterests: { 1234: true } + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when GDPR applies and vendor consents object is present', () => { + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: { + consents: { 999: true } + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when GDPR applies and vendor legitimate interests object is present', () => { + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: { + consents: { 999: false }, + legitimateInterests: { 999: true } + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when vendorData is not available (cannot determine vendor permission)', () => { + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string' + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should check nested vendorData when using gdpr object shape', () => { + const consentData = { + gdpr: { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: { + consents: { 999: true } + } + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when nested vendorData has explicit deny flags', () => { + const consentData = { + gdpr: { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: { + consents: { 999: false }, + legitimateInterests: {} + } + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when vendor consents is a function returning true', () => { + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: { + consents: (id) => id === 999, + legitimateInterests: {} + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when vendor legitimateInterests is a function returning true', () => { + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: { + consents: (id) => false, + legitimateInterests: (id) => id === 999 + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + + it('should proceed when vendor consent callbacks both return false', () => { + const consentData = { + gdprApplies: true, + consentString: 'valid-consent-string', + vendorData: { + vendor: { + consents: (id) => false, + legitimateInterests: (id) => false + } + } + }; + const result = locIdSubmodule.getId(config, consentData); + expect(result).to.have.property('callback'); + }); + }); + + describe('response parsing', () => { + it('should parse JSON string response', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success('{"tx_cloc":"parsed-id","connection_ip":"203.0.113.42"}'); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.an('object'); + expect(id.id).to.equal('parsed-id'); + expect(id.connectionIp).to.equal('203.0.113.42'); + done(); + }); + }); + + it('should return undefined when connection_ip is missing', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.undefined; + done(); + }); + }); + + it('should return undefined for invalid JSON', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success('not valid json'); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.undefined; + done(); + }); + }); + + it('should cache entry with null id when tx_cloc is empty string', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success(JSON.stringify({ tx_cloc: '', connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.an('object'); + expect(id.id).to.be.null; + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + + it('should cache entry with null id when tx_cloc is whitespace-only', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success(JSON.stringify({ tx_cloc: ' \n\t ', connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.an('object'); + expect(id.id).to.be.null; + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + + it('should return undefined when tx_cloc is missing', (done) => { + ajaxStub.callsFake((url, callbacks, body, options) => { + callbacks.success(JSON.stringify({ other_field: 'value' })); + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT + } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.undefined; + done(); + }); + }); + }); + + describe('empty tx_cloc handling', () => { + it('should decode null id as undefined (no EID emitted)', () => { + const result = locIdSubmodule.decode({ id: null, connectionIp: TEST_CONNECTION_IP }); + expect(result).to.be.undefined; + }); + + it('should cache empty tx_cloc response for the full cache period', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { expires: 7 } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.an('object'); + expect(id.id).to.be.null; + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + expect(id.expiresAt).to.be.a('number'); + expect(id.expiresAt).to.be.greaterThan(Date.now()); + done(); + }); + }); + + it('should reuse cached entry with null id on subsequent getId calls', () => { + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now(), + expiresAt: Date.now() + 1000 + })); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + const storedId = { + id: null, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + updatedAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + + const result = locIdSubmodule.getId(config, {}, storedId); + expect(result).to.deep.equal({ id: storedId }); + expect(ajaxStub.called).to.be.false; + }); + + it('should not produce EID when tx_cloc is null', () => { + const decoded = locIdSubmodule.decode({ id: null, connectionIp: TEST_CONNECTION_IP }); + expect(decoded).to.be.undefined; + }); + + it('should write IP cache when endpoint returns empty tx_cloc', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => { + expect(storage.setDataInLocalStorage.called).to.be.true; + const callArgs = storage.setDataInLocalStorage.getCall(0).args; + expect(callArgs[0]).to.equal('_locid_ip'); + const ipEntry = JSON.parse(callArgs[1]); + expect(ipEntry.ip).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + }); + + describe('IP cache management', () => { + const ipCacheConfig = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + + it('should read valid IP cache entry', () => { + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now(), + expiresAt: Date.now() + 1000 + })); + + // If IP cache is valid and stored entry matches, should reuse + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.getId(ipCacheConfig, {}, storedId); + expect(result).to.deep.equal({ id: storedId }); + expect(ajaxStub.called).to.be.false; + }); + + it('should treat expired IP cache as missing', (done) => { + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now() - 20000, + expiresAt: Date.now() - 1000 + })); + + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.getId(ipCacheConfig, {}, storedId); + // Expired IP cache → calls main endpoint + expect(result).to.have.property('callback'); + result.callback((id) => { + expect(id).to.be.an('object'); + done(); + }); + }); + + it('should handle corrupted IP cache JSON gracefully', (done) => { + storage.getDataFromLocalStorage.returns('not-valid-json'); + + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const result = locIdSubmodule.getId(ipCacheConfig, {}); + expect(result).to.have.property('callback'); + result.callback((id) => { + expect(id).to.be.an('object'); + expect(id.id).to.equal(TEST_ID); + done(); + }); + }); + + it('should derive IP cache key from storage name', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: 'custom_key' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => { + const setCall = storage.setDataInLocalStorage.getCall(0); + expect(setCall.args[0]).to.equal('custom_key_ip'); + done(); + }); + }); + + it('should use custom ipCacheName when configured', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT, ipCacheName: 'my_ip_cache' }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => { + const setCall = storage.setDataInLocalStorage.getCall(0); + expect(setCall.args[0]).to.equal('my_ip_cache'); + done(); + }); + }); + + it('should use custom ipCacheTtlMs when configured', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT, ipCacheTtlMs: 7200000 }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback(() => { + const setCall = storage.setDataInLocalStorage.getCall(0); + const ipEntry = JSON.parse(setCall.args[1]); + // TTL should be ~2 hours + const ttl = ipEntry.expiresAt - ipEntry.fetchedAt; + expect(ttl).to.equal(7200000); + done(); + }); + }); + + it('should write IP cache on every successful main endpoint response', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: '10.0.0.1' })); + }); + + const result = locIdSubmodule.getId(ipCacheConfig, {}); + result.callback(() => { + expect(storage.setDataInLocalStorage.called).to.be.true; + const ipEntry = JSON.parse(storage.setDataInLocalStorage.getCall(0).args[1]); + expect(ipEntry.ip).to.equal('10.0.0.1'); + done(); + }); + }); + }); + + describe('getId with ipEndpoint (two-call optimization)', () => { + it('should call ipEndpoint first when IP cache is expired', (done) => { + let callCount = 0; + ajaxStub.callsFake((url, callbacks) => { + callCount++; + if (url === 'https://ip.example.com/check') { + callbacks.success(JSON.stringify({ ip: '10.0.0.1' })); + } else { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: '10.0.0.1' })); + } + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + ipEndpoint: 'https://ip.example.com/check' + }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + // IP changed (no stored entry) → 2 calls: ipEndpoint + main endpoint + expect(callCount).to.equal(2); + expect(id.id).to.equal(TEST_ID); + done(); + }); + }); + + it('should reuse cached tx_cloc when ipEndpoint returns same IP', (done) => { + let callCount = 0; + ajaxStub.callsFake((url, callbacks) => { + callCount++; + if (url === 'https://ip.example.com/check') { + callbacks.success(JSON.stringify({ ip: TEST_CONNECTION_IP })); + } else { + callbacks.success(JSON.stringify({ tx_cloc: 'new-id', connection_ip: TEST_CONNECTION_IP })); + } + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + ipEndpoint: 'https://ip.example.com/check' + }, + storage: { name: '_locid' } + }; + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + + const result = locIdSubmodule.getId(config, {}, storedId); + result.callback((id) => { + // IP unchanged → only 1 call (ipEndpoint), reuses stored tx_cloc + expect(callCount).to.equal(1); + expect(id.id).to.equal(TEST_ID); + done(); + }); + }); + + it('should call main endpoint when ipEndpoint returns different IP', (done) => { + let callCount = 0; + ajaxStub.callsFake((url, callbacks) => { + callCount++; + if (url === 'https://ip.example.com/check') { + callbacks.success(JSON.stringify({ ip: '10.0.0.99' })); + } else { + callbacks.success(JSON.stringify({ tx_cloc: 'new-id', connection_ip: '10.0.0.99' })); + } + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + ipEndpoint: 'https://ip.example.com/check' + }, + storage: { name: '_locid' } + }; + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + + const result = locIdSubmodule.getId(config, {}, storedId); + result.callback((id) => { + // IP changed → 2 calls: ipEndpoint + main endpoint + expect(callCount).to.equal(2); + expect(id.id).to.equal('new-id'); + done(); + }); + }); + + it('should fall back to main endpoint when ipEndpoint fails', (done) => { + let callCount = 0; + ajaxStub.callsFake((url, callbacks) => { + callCount++; + if (url === 'https://ip.example.com/check') { + callbacks.error('Network error'); + } else { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + } + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + ipEndpoint: 'https://ip.example.com/check' + }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(callCount).to.equal(2); + expect(id.id).to.equal(TEST_ID); + done(); + }); + }); + + it('should fall back to main endpoint when ipEndpoint returns invalid IP', (done) => { + let callCount = 0; + ajaxStub.callsFake((url, callbacks) => { + callCount++; + if (url === 'https://ip.example.com/check') { + callbacks.success('not-an-ip!!!'); + } else { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + } + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + ipEndpoint: 'https://ip.example.com/check' + }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(callCount).to.equal(2); + expect(id.id).to.equal(TEST_ID); + done(); + }); + }); + + it('should pass apiKey header to ipEndpoint when configured', (done) => { + ajaxStub.callsFake((url, callbacks, _body, options) => { + if (url === 'https://ip.example.com/check') { + expect(options.customHeaders).to.deep.equal({ 'x-api-key': 'test-key-123' }); + callbacks.success(JSON.stringify({ ip: TEST_CONNECTION_IP })); + } else { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + } + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + ipEndpoint: 'https://ip.example.com/check', + apiKey: 'test-key-123' + }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.an('object'); + done(); + }); + }); + + it('should parse plain text IP from ipEndpoint', (done) => { + ajaxStub.callsFake((url, callbacks) => { + if (url === 'https://ip.example.com/check') { + callbacks.success(TEST_CONNECTION_IP); + } else { + callbacks.success(JSON.stringify({ tx_cloc: 'new-id', connection_ip: TEST_CONNECTION_IP })); + } + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + ipEndpoint: 'https://ip.example.com/check' + }, + storage: { name: '_locid' } + }; + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + + const result = locIdSubmodule.getId(config, {}, storedId); + result.callback((id) => { + // IP same → reuses stored tx_cloc + expect(id.id).to.equal(TEST_ID); + done(); + }); + }); + }); + + describe('getId tx_cloc preservation (no churn)', () => { + it('should preserve existing tx_cloc when main endpoint returns same IP', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: 'fresh-id', connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + + const result = locIdSubmodule.getId(config, {}, storedId); + result.callback((id) => { + // IP unchanged → preserve existing tx_cloc (don't churn) + expect(id.id).to.equal(TEST_ID); + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + + it('should use fresh non-null tx_cloc when stored entry is null for same IP', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: 'fresh-id', connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + const storedId = { + id: null, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + + const result = locIdSubmodule.getId(config, {}, storedId); + result.callback((id) => { + expect(id.id).to.equal('fresh-id'); + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + + it('should use fresh tx_cloc when main endpoint returns different IP', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: 'fresh-id', connection_ip: '10.0.0.99' })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + + const result = locIdSubmodule.getId(config, {}, storedId); + result.callback((id) => { + // IP changed → use fresh tx_cloc + expect(id.id).to.equal('fresh-id'); + expect(id.connectionIp).to.equal('10.0.0.99'); + done(); + }); + }); + + it('should use fresh tx_cloc when stored entry is expired even if IP matches', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: 'fresh-id', connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now() - 86400000, + expiresAt: Date.now() - 1000 + }; + + const result = locIdSubmodule.getId(config, {}, storedId); + result.callback((id) => { + // tx_cloc expired → use fresh even though IP matches + expect(id.id).to.equal('fresh-id'); + done(); + }); + }); + + it('should honor null tx_cloc from main endpoint even when stored entry is reusable', (done) => { + // Server returns connection_ip but no tx_cloc → freshEntry.id === null. + // The stored entry has a valid tx_cloc for the same IP, but the server + // now indicates no ID for this IP. The null response must be honored. + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + + const result = locIdSubmodule.getId(config, {}, storedId); + result.callback((id) => { + // Server said no tx_cloc → stored entry must NOT be preserved + expect(id.id).to.be.null; + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + + it('should use fresh entry on first load (no stored entry)', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: TEST_CONNECTION_IP })); + }); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id.id).to.equal(TEST_ID); + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + }); + + describe('extendId with null id and IP cache', () => { + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + + it('should accept stored entry with null id (empty tx_cloc)', () => { + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now(), + expiresAt: Date.now() + 14400000 + })); + const storedId = { + id: null, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.extendId(config, {}, storedId); + expect(result).to.deep.equal({ id: storedId }); + }); + + it('should return refresh callback when IP cache shows different IP', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: 'fresh-id', connection_ip: '10.0.0.99' })); + }); + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: '10.0.0.99', + fetchedAt: Date.now(), + expiresAt: Date.now() + 1000 + })); + + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.extendId(config, {}, storedId); + expect(result).to.have.property('callback'); + result.callback((id) => { + expect(id.id).to.equal('fresh-id'); + expect(id.connectionIp).to.equal('10.0.0.99'); + done(); + }); + }); + + it('should extend when IP cache matches stored entry IP', () => { + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now(), + expiresAt: Date.now() + 1000 + })); + + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.extendId(config, {}, storedId); + expect(result).to.deep.equal({ id: storedId }); + }); + + it('should return refresh callback when IP cache is missing', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: 'fresh-id', connection_ip: TEST_CONNECTION_IP })); + }); + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.extendId(config, {}, storedId); + expect(result).to.have.property('callback'); + result.callback((id) => { + expect(id.id).to.equal('fresh-id'); + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + + it('should return refresh callback when IP cache is expired', (done) => { + ajaxStub.callsFake((url, callbacks) => { + callbacks.success(JSON.stringify({ tx_cloc: 'fresh-id', connection_ip: TEST_CONNECTION_IP })); + }); + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now() - 14400000, + expiresAt: Date.now() - 1000 + })); + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.extendId(config, {}, storedId); + expect(result).to.have.property('callback'); + result.callback((id) => { + expect(id.id).to.equal('fresh-id'); + expect(id.connectionIp).to.equal(TEST_CONNECTION_IP); + done(); + }); + }); + + it('should return undefined for undefined id (not null, not valid string)', () => { + const storedId = { + id: undefined, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.extendId(config, {}, storedId); + expect(result).to.be.undefined; + }); + }); + + describe('normalizeStoredId with null id', () => { + it('should preserve explicit null id', () => { + // getId is the public interface; test via decode which uses normalized values + const stored = { id: null, connectionIp: TEST_CONNECTION_IP }; + // decode returns undefined for null id (correct: no EID emitted) + const decoded = locIdSubmodule.decode(stored); + expect(decoded).to.be.undefined; + }); + + it('should preserve valid string id', () => { + const stored = { id: TEST_ID, connectionIp: TEST_CONNECTION_IP }; + const decoded = locIdSubmodule.decode(stored); + expect(decoded).to.deep.equal({ locId: TEST_ID }); + }); + + it('should fall back to tx_cloc when id key is absent', () => { + const stored = { tx_cloc: TEST_ID, connectionIp: TEST_CONNECTION_IP }; + const decoded = locIdSubmodule.decode(stored); + expect(decoded).to.deep.equal({ locId: TEST_ID }); + }); + + it('should handle connection_ip alias', () => { + const stored = { id: TEST_ID, connection_ip: TEST_CONNECTION_IP }; + const decoded = locIdSubmodule.decode(stored); + expect(decoded).to.deep.equal({ locId: TEST_ID }); + }); + }); + + describe('parseIpResponse via ipEndpoint', () => { + it('should parse JSON with ip field', (done) => { + ajaxStub.callsFake((url, callbacks) => { + if (url === 'https://ip.example.com/check') { + callbacks.success('{"ip":"1.2.3.4"}'); + } else { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: '1.2.3.4' })); + } + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + ipEndpoint: 'https://ip.example.com/check' + }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + // IP fetched and used + expect(id).to.be.an('object'); + done(); + }); + }); + + it('should parse JSON with connection_ip field', (done) => { + ajaxStub.callsFake((url, callbacks) => { + if (url === 'https://ip.example.com/check') { + callbacks.success('{"connection_ip":"1.2.3.4"}'); + } else { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: '1.2.3.4' })); + } + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + ipEndpoint: 'https://ip.example.com/check' + }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.an('object'); + done(); + }); + }); + + it('should parse plain text IP address', (done) => { + ajaxStub.callsFake((url, callbacks) => { + if (url === 'https://ip.example.com/check') { + callbacks.success('1.2.3.4\n'); + } else { + callbacks.success(JSON.stringify({ tx_cloc: TEST_ID, connection_ip: '1.2.3.4' })); + } + }); + + const config = { + params: { + endpoint: TEST_ENDPOINT, + ipEndpoint: 'https://ip.example.com/check' + }, + storage: { name: '_locid' } + }; + + const result = locIdSubmodule.getId(config, {}); + result.callback((id) => { + expect(id).to.be.an('object'); + done(); + }); + }); + }); + + describe('backward compatibility', () => { + it('should work with existing stored entries that have string ids', () => { + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now(), + expiresAt: Date.now() + 1000 + })); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + const storedId = { + id: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.getId(config, {}, storedId); + expect(result).to.deep.equal({ id: storedId }); + }); + + it('should work with stored entries using connection_ip alias', () => { + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now(), + expiresAt: Date.now() + 1000 + })); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + const storedId = { + id: TEST_ID, + connection_ip: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.getId(config, {}, storedId); + expect(result.id.connectionIp).to.equal(TEST_CONNECTION_IP); + }); + + it('should work with stored entries using tx_cloc alias', () => { + storage.getDataFromLocalStorage.returns(JSON.stringify({ + ip: TEST_CONNECTION_IP, + fetchedAt: Date.now(), + expiresAt: Date.now() + 1000 + })); + + const config = { + params: { endpoint: TEST_ENDPOINT }, + storage: { name: '_locid' } + }; + const storedId = { + tx_cloc: TEST_ID, + connectionIp: TEST_CONNECTION_IP, + createdAt: Date.now(), + expiresAt: Date.now() + 86400000 + }; + const result = locIdSubmodule.getId(config, {}, storedId); + expect(result.id.id).to.equal(TEST_ID); + }); + }); + + describe('EID round-trip integration', () => { + before(() => { + attachIdSystem(locIdSubmodule); + }); + + it('should produce a valid EID from decode output via createEidsArray', () => { + // Simulate the full Prebid pipeline: + // 1. decode() returns { locId: "string" } + // 2. Prebid extracts idObj["locId"] -> the string + // 3. createEidsArray({ locId: "string" }) should produce a valid EID + const stored = { id: TEST_ID, connectionIp: TEST_CONNECTION_IP }; + const decoded = locIdSubmodule.decode(stored); + expect(decoded).to.deep.equal({ locId: TEST_ID }); + + const eids = createEidsArray(decoded); + expect(eids.length).to.equal(1); + expect(eids[0]).to.deep.equal({ + source: 'locid.com', + uids: [{ id: TEST_ID, atype: 1 }] + }); + expect(eids[0].uids[0].atype).to.not.equal(Number('33' + '84')); + }); + + it('should not produce EID when decode returns undefined', () => { + const decoded = locIdSubmodule.decode(null); + expect(decoded).to.be.undefined; + }); + + it('should not produce EID when only stable_cloc is present', () => { + const decoded = locIdSubmodule.decode({ + stable_cloc: 'stable-only-value', + connectionIp: TEST_CONNECTION_IP + }); + expect(decoded).to.be.undefined; + + const eids = createEidsArray({ locId: decoded?.locId }); + expect(eids).to.deep.equal([]); + }); + + it('should not produce EID when tx_cloc is null', () => { + const decoded = locIdSubmodule.decode({ id: null, connectionIp: TEST_CONNECTION_IP }); + expect(decoded).to.be.undefined; + + const eids = createEidsArray({ locId: decoded?.locId }); + expect(eids).to.deep.equal([]); + }); + + it('should not produce EID when tx_cloc is missing', () => { + const decoded = locIdSubmodule.decode({ connectionIp: TEST_CONNECTION_IP }); + expect(decoded).to.be.undefined; + + const eids = createEidsArray({ locId: decoded?.locId }); + expect(eids).to.deep.equal([]); + }); + }); +}); From 341735e4864a75adad3f4d9a829cd5bd0e37c30f Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Tue, 10 Feb 2026 12:56:12 -0500 Subject: [PATCH 177/248] Github Actions: bump download artifact (#14440) * CI: harden artifact restore for browserstack workflows * Update run-tests.yml * Fix comment formatting in test.yml * Retry on artifact download failure --------- Co-authored-by: Demetrio Girardi --- .github/actions/load/action.yml | 10 +++++++--- .github/actions/unzip-artifact/action.yml | 3 +++ .github/workflows/run-tests.yml | 5 +++++ .github/workflows/test.yml | 4 ++++ 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/actions/load/action.yml b/.github/actions/load/action.yml index 0102608dbd1..e3fc00dc6ae 100644 --- a/.github/actions/load/action.yml +++ b/.github/actions/load/action.yml @@ -24,10 +24,14 @@ runs: rm -r "$(pwd)"/* - name: Download artifact - uses: actions/download-artifact@v5 + uses: Wandalen/wretry.action@v3.8.0 with: - path: '${{ runner.temp }}' - name: '${{ inputs.name }}' + action: actions/download-artifact@v7 + attempt_limit: 2 + attempt_delay: 10000 + with: | + path: '${{ runner.temp }}' + name: '${{ inputs.name }}' - name: 'Untar working directory' shell: bash diff --git a/.github/actions/unzip-artifact/action.yml b/.github/actions/unzip-artifact/action.yml index 672fae7af85..a05c15a00cd 100644 --- a/.github/actions/unzip-artifact/action.yml +++ b/.github/actions/unzip-artifact/action.yml @@ -11,6 +11,9 @@ outputs: runs: using: 'composite' steps: + - name: 'Delay waiting for artifacts to be ready' + shell: bash + run: sleep 10 - name: 'Download artifact' id: download uses: actions/github-script@v8 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1cc6808f29f..c9386396ae5 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -71,6 +71,11 @@ on: BROWSERSTACK_ACCESS_KEY: description: "Browserstack access key" + +permissions: + contents: read + actions: read + jobs: checkout: name: "Define chunks" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1209ca2057d..ed12de000c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,6 +8,10 @@ on: pull_request: types: [opened, synchronize, reopened] +permissions: + contents: read + actions: read + concurrency: group: test-${{ github.head_ref || github.ref }} cancel-in-progress: true From ea803f129eb3bd2a296d1ac2b13954306f169bcd Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Tue, 10 Feb 2026 12:56:33 -0500 Subject: [PATCH 178/248] 33acrossId System: stabilize ID wipe unit tests (#14441) --- test/spec/modules/33acrossIdSystem_spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/spec/modules/33acrossIdSystem_spec.js b/test/spec/modules/33acrossIdSystem_spec.js index 3cf5995bb17..3a1bf6da2b3 100644 --- a/test/spec/modules/33acrossIdSystem_spec.js +++ b/test/spec/modules/33acrossIdSystem_spec.js @@ -260,6 +260,7 @@ describe('33acrossIdSystem', () => { const removeDataFromLocalStorage = sinon.stub(storage, 'removeDataFromLocalStorage'); const setCookie = sinon.stub(storage, 'setCookie'); + const cookiesAreEnabled = sinon.stub(storage, 'cookiesAreEnabled').returns(true); sinon.stub(domainUtils, 'domainOverride').returns('foo.com'); request.respond(200, { @@ -277,6 +278,7 @@ describe('33acrossIdSystem', () => { removeDataFromLocalStorage.restore(); setCookie.restore(); + cookiesAreEnabled.restore(); domainUtils.domainOverride.restore(); }); }); @@ -419,6 +421,7 @@ describe('33acrossIdSystem', () => { const removeDataFromLocalStorage = sinon.stub(storage, 'removeDataFromLocalStorage'); const setCookie = sinon.stub(storage, 'setCookie'); + const cookiesAreEnabled = sinon.stub(storage, 'cookiesAreEnabled').returns(true); sinon.stub(domainUtils, 'domainOverride').returns('foo.com'); request.respond(200, { @@ -436,6 +439,7 @@ describe('33acrossIdSystem', () => { removeDataFromLocalStorage.restore(); setCookie.restore(); + cookiesAreEnabled.restore(); domainUtils.domainOverride.restore(); }); }); From 4ec1f1c7f0d4325619c0036256c2aa6afa3e1b44 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Feb 2026 15:35:54 -0500 Subject: [PATCH 179/248] Bump axios from 1.13.2 to 1.13.5 (#14443) Bumps [axios](https://github.com/axios/axios) from 1.13.2 to 1.13.5. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.13.2...v1.13.5) --- updated-dependencies: - dependency-name: axios dependency-version: 1.13.5 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 60 +++++++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index f10860da566..067718a8f15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7193,8 +7193,9 @@ }, "node_modules/asynckit": { "version": "0.4.0", - "dev": true, - "license": "MIT" + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true }, "node_modules/atob": { "version": "2.1.2", @@ -7222,14 +7223,13 @@ } }, "node_modules/axios": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz", - "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==", + "version": "1.13.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.5.tgz", + "integrity": "sha512-cz4ur7Vb0xS4/KUN0tPWe44eqxrIu31me+fbang3ijiNscE129POzipJJA6zniq2C/Z6sJCjMimjS8Lc/GAs8Q==", "dev": true, - "license": "MIT", "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.4", + "follow-redirects": "^1.15.11", + "form-data": "^4.0.5", "proxy-from-env": "^1.1.0" } }, @@ -8219,8 +8219,9 @@ }, "node_modules/combined-stream": { "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "dev": true, - "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -9279,8 +9280,9 @@ }, "node_modules/delayed-stream": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "dev": true, - "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -11730,7 +11732,9 @@ "license": "ISC" }, "node_modules/follow-redirects": { - "version": "1.15.6", + "version": "1.15.11", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz", + "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==", "dev": true, "funding": [ { @@ -11738,7 +11742,6 @@ "url": "https://github.com/sponsors/RubenVerborgh" } ], - "license": "MIT", "engines": { "node": ">=4.0" }, @@ -11813,11 +11816,10 @@ "license": "BSD" }, "node_modules/form-data": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", - "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", "dev": true, - "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", @@ -26894,6 +26896,8 @@ }, "asynckit": { "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "dev": true }, "atob": { @@ -26908,13 +26912,13 @@ } }, "axios": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz", - "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==", + "version": "1.13.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.5.tgz", + "integrity": "sha512-cz4ur7Vb0xS4/KUN0tPWe44eqxrIu31me+fbang3ijiNscE129POzipJJA6zniq2C/Z6sJCjMimjS8Lc/GAs8Q==", "dev": true, "requires": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.4", + "follow-redirects": "^1.15.11", + "form-data": "^4.0.5", "proxy-from-env": "^1.1.0" } }, @@ -27557,6 +27561,8 @@ }, "combined-stream": { "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "dev": true, "requires": { "delayed-stream": "~1.0.0" @@ -28236,6 +28242,8 @@ }, "delayed-stream": { "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "dev": true }, "depd": { @@ -29852,7 +29860,9 @@ "dev": true }, "follow-redirects": { - "version": "1.15.6", + "version": "1.15.11", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz", + "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==", "dev": true }, "for-each": { @@ -29892,9 +29902,9 @@ "dev": true }, "form-data": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", - "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", + "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", "dev": true, "requires": { "asynckit": "^0.4.0", From 88841dbd66c1483ac4a062c1f1cef169792d3142 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Tue, 10 Feb 2026 14:54:45 -0800 Subject: [PATCH 180/248] Core: update storage disclosure for prebid.storage (#14442) --- metadata/core.json | 6 ++++++ metadata/disclosures/prebid/probes.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/metadata/core.json b/metadata/core.json index 1e43a89e586..faacd3ceed4 100644 --- a/metadata/core.json +++ b/metadata/core.json @@ -11,6 +11,12 @@ "moduleName": "prebid-core", "disclosureURL": "local://prebid/probes.json" }, + { + "componentType": "prebid", + "componentName": "storage", + "moduleName": "prebid-core", + "disclosureURL": "local://prebid/probes.json" + }, { "componentType": "prebid", "componentName": "debugging", diff --git a/metadata/disclosures/prebid/probes.json b/metadata/disclosures/prebid/probes.json index c371cef1d4e..16cc5dec160 100644 --- a/metadata/disclosures/prebid/probes.json +++ b/metadata/disclosures/prebid/probes.json @@ -22,7 +22,7 @@ "domains": [ { "domain": "*", - "use": "Temporary 'probing' cookies are written (and deleted) to determine the top-level domain; likewise, probes are temporarily written to local and sessionStorage to determine their availability" + "use": "Temporary 'probing' cookies are written (and deleted) to determine the top-level domain and availability of cookies; likewise, probes are temporarily written to local and sessionStorage to determine their availability" } ] } From 3e8349315e0d9b91b09a1d1058515a841a4f07be Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Wed, 11 Feb 2026 10:29:54 -0500 Subject: [PATCH 181/248] Build process: Add .cache to gulp clean (#14438) * build: include webpack cache in clean task * Remove comment from clean function Removed comment about webpack filesystem cache in clean function. --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index e5a4db41884..cc543ad73ec 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -53,7 +53,7 @@ function bundleToStdout() { bundleToStdout.displayName = 'bundle-to-stdout'; function clean() { - return gulp.src(['build', 'dist'], { + return gulp.src(['.cache', 'build', 'dist'], { read: false, allowEmpty: true }) From 8a10fc8b686aca74c4a147d778a4170428b97fb1 Mon Sep 17 00:00:00 2001 From: ysfbsf Date: Wed, 11 Feb 2026 16:30:05 +0100 Subject: [PATCH 182/248] Add GPP consent support to user sync URL in Missena adapter (#14436) --- modules/missenaBidAdapter.js | 8 +++ test/spec/modules/missenaBidAdapter_spec.js | 64 +++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/modules/missenaBidAdapter.js b/modules/missenaBidAdapter.js index 573f20fb302..dba7a723693 100644 --- a/modules/missenaBidAdapter.js +++ b/modules/missenaBidAdapter.js @@ -157,6 +157,7 @@ export const spec = { serverResponses, gdprConsent = {}, uspConsent, + gppConsent, ) { if (!syncOptions.iframeEnabled || !this.msnaApiKey) { return []; @@ -172,6 +173,13 @@ export const spec = { if (uspConsent) { url.searchParams.append('us_privacy', uspConsent); } + if (gppConsent?.gppString) { + url.searchParams.append('gpp', gppConsent.gppString); + url.searchParams.append( + 'gpp_sid', + (gppConsent.applicableSections || []).join(','), + ); + } return [{ type: 'iframe', url: url.href }]; }, diff --git a/test/spec/modules/missenaBidAdapter_spec.js b/test/spec/modules/missenaBidAdapter_spec.js index f4e09a981fe..c52f738ca55 100644 --- a/test/spec/modules/missenaBidAdapter_spec.js +++ b/test/spec/modules/missenaBidAdapter_spec.js @@ -367,5 +367,69 @@ describe('Missena Adapter', function () { expect(userSync[0].type).to.be.equal('iframe'); expect(userSync[0].url).to.be.equal(expectedUrl); }); + + it('sync frame url should contain gpp data when present', function () { + const gppConsent = { + gppString: 'DBACNYA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA', + applicableSections: [7, 8], + }; + const userSync = spec.getUserSyncs( + iframeEnabledOptions, + [], + {}, + undefined, + gppConsent, + ); + expect(userSync.length).to.be.equal(1); + expect(userSync[0].type).to.be.equal('iframe'); + const syncUrl = new URL(userSync[0].url); + expect(syncUrl.searchParams.get('gpp')).to.equal(gppConsent.gppString); + expect(syncUrl.searchParams.get('gpp_sid')).to.equal('7,8'); + }); + + it('sync frame url should not contain gpp data when gppConsent is undefined', function () { + const userSync = spec.getUserSyncs( + iframeEnabledOptions, + [], + {}, + undefined, + undefined, + ); + expect(userSync.length).to.be.equal(1); + expect(userSync[0].url).to.not.contain('gpp'); + }); + + it('sync frame url should not contain gpp data when gppString is empty', function () { + const userSync = spec.getUserSyncs( + iframeEnabledOptions, + [], + {}, + undefined, + { gppString: '', applicableSections: [7] }, + ); + expect(userSync.length).to.be.equal(1); + expect(userSync[0].url).to.not.contain('gpp'); + }); + + it('sync frame url should contain all consent params together', function () { + const gppConsent = { + gppString: 'DBACNYA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA', + applicableSections: [7], + }; + const userSync = spec.getUserSyncs( + iframeEnabledOptions, + [], + { gdprApplies: true, consentString }, + '1YNN', + gppConsent, + ); + expect(userSync.length).to.be.equal(1); + const syncUrl = new URL(userSync[0].url); + expect(syncUrl.searchParams.get('gdpr')).to.equal('1'); + expect(syncUrl.searchParams.get('gdpr_consent')).to.equal(consentString); + expect(syncUrl.searchParams.get('us_privacy')).to.equal('1YNN'); + expect(syncUrl.searchParams.get('gpp')).to.equal(gppConsent.gppString); + expect(syncUrl.searchParams.get('gpp_sid')).to.equal('7'); + }); }); }); From 093a4d7ad286713a738ada4d32515acf740c31d8 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Wed, 11 Feb 2026 10:30:25 -0500 Subject: [PATCH 183/248] Agent guidelines: Add context for repo history access (#14430) Added additional context for accessing repo history. --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index ce4e1353a9a..c340fee56ff 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -45,3 +45,6 @@ This file contains instructions for the Codex agent and its friends when working - Avoid running Babel over the entire project for incremental test runs. - Use `gulp serve-and-test --file ` or `gulp test --file` so Babel processes only the specified files. - Do not invoke commands that rebuild all modules when only a subset are changed. + +## Additional context +- for additional context on repo history, consult https://github.com/prebid/github-activity-db/blob/main/CLAUDE.md on how to download and access repo history in a database you can search locally. From a9f328163556011f0d35ec651a0ce8dd654fb19f Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko Date: Wed, 11 Feb 2026 20:46:56 +0500 Subject: [PATCH 184/248] Set alwaysHasCapacity for Sovrn bid adapter (#14454) --- modules/sovrnBidAdapter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/sovrnBidAdapter.js b/modules/sovrnBidAdapter.js index 2e38a88c2f4..1b337fd30cf 100644 --- a/modules/sovrnBidAdapter.js +++ b/modules/sovrnBidAdapter.js @@ -39,6 +39,7 @@ export const spec = { code: 'sovrn', supportedMediaTypes: [BANNER, VIDEO], gvlid: 13, + alwaysHasCapacity: true, /** * Check if the bid is a valid zone ID in either number or string form From f7c34c3ee899f9cc4d36f246e19b3ccb085d29e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petric=C4=83=20Nanc=C4=83?= Date: Wed, 11 Feb 2026 19:14:36 +0200 Subject: [PATCH 185/248] Sevio bid adapter fallback natives (#14390) * [SevioBidAdapter] - fix mapping by id for the native ads * [SevioBidAdapter] - fix mapping by id for the native ads * Add native parsing tests --- modules/sevioBidAdapter.js | 43 ++++++++- test/spec/modules/sevioBidAdapter_spec.js | 104 ++++++++++++++++++++++ 2 files changed, 143 insertions(+), 4 deletions(-) diff --git a/modules/sevioBidAdapter.js b/modules/sevioBidAdapter.js index 66bfca681d9..b5db12b1cf5 100644 --- a/modules/sevioBidAdapter.js +++ b/modules/sevioBidAdapter.js @@ -43,6 +43,39 @@ const normalizeKeywords = (input) => { return []; }; +function resolveDataType(asset) { + if (typeof asset?.data?.type === 'number') { + return asset.data.type; + } + + if (typeof asset?.id === 'number') { + return asset.id; + } + + return null; +} + +// Helper: resolve the "image type" for an asset +// Returns 1 (icon), 3 (image) or null if unknown +function resolveImageType(asset) { + if (!asset) return null; + + // 1) explicit image type in the img block (preferred) + if (typeof asset.img?.type === 'number') return asset.img.type; + + // 2) fallback to data.type (some bidders put the type here) + if (typeof asset.data?.type === 'number') return asset.data.type; + + // 3) last resort: map legacy asset.id values to image types + // (13 -> icon, 14 -> image) — keep this mapping isolated here + if (typeof asset.id === 'number') { + if (asset.id === 13) return 1; // icon + if (asset.id === 14) return 3; // image + } + + return null; +} + const parseNativeAd = function (bid) { try { const nativeAd = JSON.parse(bid.ad); @@ -54,7 +87,8 @@ const parseNativeAd = function (bid) { } if (asset.data) { const value = asset.data.value; - switch (asset.data.type) { + const type = resolveDataType(asset); + switch (type) { case 1: if (value) native.sponsored = value; break; case 2: if (value) native.desc = value; break; case 3: if (value) native.rating = value; break; @@ -71,13 +105,14 @@ const parseNativeAd = function (bid) { } } if (asset.img) { - const { url, w = 0, h = 0, type } = asset.img; + const { url, w = 0, h = 0 } = asset.img; + const imgType = resolveImageType(asset); - if (type === 1 && url) { + if (imgType === 1 && url) { native.icon = url; native.icon_width = w; native.icon_height = h; - } else if (type === 3 && url) { + } else if (imgType === 3 && url) { native.image = url; native.image_width = w; native.image_height = h; diff --git a/test/spec/modules/sevioBidAdapter_spec.js b/test/spec/modules/sevioBidAdapter_spec.js index 63b36465dad..ce03c1baf12 100644 --- a/test/spec/modules/sevioBidAdapter_spec.js +++ b/test/spec/modules/sevioBidAdapter_spec.js @@ -521,4 +521,108 @@ describe('sevioBidAdapter', function () { expect(requests[0].data.keywords.tokens).to.deep.equal(['play', 'games', 'fun']); }); }); + + describe('native parsing', function () { + it('parses native assets: title, data->desc (type 2), image (asset.img), clickUrl and trackers', function () { + const serverResponseNative = { + body: { + bids: [ + { + requestId: 'native-1', + cpm: 1.0, + currency: 'EUR', + width: 1, + height: 1, + creativeId: 'native-creative-1', + ad: JSON.stringify({ + ver: '1.2', + assets: [ + { id: 2, title: { text: 'Native Title' } }, + { id: 4, data: { type: 2, value: 'Native body text' } }, + { id: 5, img: { type: 3, url: 'https://img.example/x.png', w: 120, h: 60 } } + ], + eventtrackers: [ + { event: 1, method: 1, url: 'https://impr.example/1' }, + { event: 2, method: 1, url: 'https://view.example/1' } + ], + link: { url: 'https://click.example', clicktrackers: ['https://clickt.example/1'] } + }), + ttl: 300, + netRevenue: true, + mediaType: 'NATIVE', + meta: { advertiserDomains: ['adv.example'] }, + bidder: 'sevio' + } + ] + } + }; + + const result = spec.interpretResponse(serverResponseNative); + expect(result).to.be.an('array').with.lengthOf(1); + + const out = result[0]; + expect(out).to.have.property('native'); + + const native = out.native; + expect(native.title).to.equal('Native Title'); + expect(native.image).to.equal('https://img.example/x.png'); + expect(native.image_width).to.equal(120); + expect(native.image_height).to.equal(60); + expect(native.clickUrl).to.equal('https://click.example'); + + expect(native.impressionTrackers).to.be.an('array').that.includes('https://impr.example/1'); + expect(native.viewableTrackers).to.be.an('array').that.includes('https://view.example/1'); + expect(native.clickTrackers).to.be.an('array').that.includes('https://clickt.example/1'); + + // meta preserved + expect(out.meta).to.have.property('advertiserDomains').that.deep.equals(['adv.example']); + }); + + it('maps legacy asset.id -> image types (13 -> icon, 14 -> image) and sets icon fields', function () { + const serverResponseIcon = { + body: { + bids: [ + { + requestId: 'native-icon', + cpm: 1.0, + currency: 'EUR', + width: 1, + height: 1, + creativeId: 'native-creative-icon', + ad: JSON.stringify({ + ver: '1.2', + assets: [ + // legacy asset id 13 should map to icon (img type 1) + { id: 13, img: { url: 'https://img.example/icon.png', w: 50, h: 50 } }, + // legacy asset id 14 should map to image (img type 3) + { id: 14, img: { url: 'https://img.example/img.png', w: 200, h: 100 } }, + { id: 2, title: { text: 'Legacy Mapping Test' } } + ], + link: { url: 'https://click.example/leg' } + }), + ttl: 300, + netRevenue: true, + mediaType: 'NATIVE', + meta: { advertiserDomains: ['legacy.example'] }, + bidder: 'sevio' + } + ] + } + }; + + const result = spec.interpretResponse(serverResponseIcon); + expect(result).to.be.an('array').with.lengthOf(1); + const native = result[0].native; + + // icon mapped from id 13 + expect(native.icon).to.equal('https://img.example/icon.png'); + expect(native.icon_width).to.equal(50); + expect(native.icon_height).to.equal(50); + + // image mapped from id 14 + expect(native.image).to.equal('https://img.example/img.png'); + expect(native.image_width).to.equal(200); + expect(native.image_height).to.equal(100); + }); + }); }); From 315e789cf5cac4e5163902df27f3c5e9a8dbf008 Mon Sep 17 00:00:00 2001 From: Alexandr Kim <47887567+alexandr-kim-vl@users.noreply.github.com> Date: Wed, 11 Feb 2026 22:21:05 +0500 Subject: [PATCH 186/248] Yaleo Bid Adapter: initial release (#14452) Co-authored-by: Alexandr Kim --- modules/yaleoBidAdapter.md | 39 ++++ modules/yaleoBidAdapter.ts | 80 ++++++++ test/spec/modules/yaleoBidAdapter_spec.js | 213 ++++++++++++++++++++++ 3 files changed, 332 insertions(+) create mode 100644 modules/yaleoBidAdapter.md create mode 100755 modules/yaleoBidAdapter.ts create mode 100644 test/spec/modules/yaleoBidAdapter_spec.js diff --git a/modules/yaleoBidAdapter.md b/modules/yaleoBidAdapter.md new file mode 100644 index 00000000000..505d3617fd5 --- /dev/null +++ b/modules/yaleoBidAdapter.md @@ -0,0 +1,39 @@ +# Yaleo Bid Adapter + +# Overview + +``` +Module name: Yaleo Bid Adapter +Module Type: Bidder Adapter +Maintainer: alexandr.kim@audienzz.com +``` + +# Description + +Module that connects to Yaleo's demand sources. + +**Note:** the bid adapter requires correct setup and approval. For more information visit [yaleo.com](https://www.yaleo.com) or contact [hola@yaleo.com](mailto:hola@yaleo.com). + +# Test parameters + +**Note:** to receive bids when testing without proper integration with the demand source, enable Prebid.js debug mode. See [how to enable debug mode](https://docs.prebid.org/dev-docs/publisher-api-reference/setConfig.html#debugging) for details. + +```js +const adUnits = [ + { + code: "test-div-1", + mediaTypes: { + banner: { + sizes: [[300, 300], [300, 600]], + } + }, + bids: [{ + bidder: "yaleo", + params: { + placementId: "95a09f24-afb8-441c-977b-08b4039cb88e", + } + }] + } +]; +``` + diff --git a/modules/yaleoBidAdapter.ts b/modules/yaleoBidAdapter.ts new file mode 100755 index 00000000000..980d5634df7 --- /dev/null +++ b/modules/yaleoBidAdapter.ts @@ -0,0 +1,80 @@ +import { ortbConverter } from '../libraries/ortbConverter/converter.js'; +import { pbsExtensions } from '../libraries/pbsExtensions/pbsExtensions.js'; +import { BidderSpec, registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER } from '../src/mediaTypes.js'; + +interface YaleoBidParams { + /** + * Yaleo placement ID. + */ + placementId: string; + /** + * Member ID. + * @default 3927 + */ + memberId?: number; + /** + * Maximum CPM value. Bids with a CPM higher than the specified value will be rejected. + */ + maxCpm?: number; +} + +declare module '../src/adUnits' { + interface BidderParams { + [BIDDER_CODE]: YaleoBidParams; + } +} + +const BIDDER_CODE = 'yaleo'; +const AUDIENZZ_VENDOR_ID = 783; +const PREBID_URL = 'https://bidder.yaleo.com/prebid'; +const DEFAULT_TTL = 300; + +const converter = ortbConverter({ + context: { + netRevenue: true, + ttl: DEFAULT_TTL, + }, + processors: pbsExtensions, +}); + +const isBidRequestValid: BidderSpec['isBidRequestValid'] = (request) => { + if (!request.params || typeof request.params.placementId !== 'string') { + return false; + } + + return !!request.params.placementId; +}; + +const buildRequests: BidderSpec['buildRequests'] = (validBidRequests, bidderRequest) => { + const ortbRequest = converter.toORTB({ + bidRequests: validBidRequests, + bidderRequest, + }); + + return { + url: PREBID_URL, + method: 'POST', + data: ortbRequest, + }; +} + +const interpretResponse: BidderSpec['interpretResponse'] = (serverResponse, bidderRequest) => { + const response = converter.fromORTB({ + response: serverResponse.body, + request: bidderRequest.data, + }); + + return response; +}; + +export const spec: BidderSpec = { + buildRequests, + code: BIDDER_CODE, + gvlid: AUDIENZZ_VENDOR_ID, + interpretResponse, + isBidRequestValid, + supportedMediaTypes: [BANNER], +}; + +registerBidder(spec); diff --git a/test/spec/modules/yaleoBidAdapter_spec.js b/test/spec/modules/yaleoBidAdapter_spec.js new file mode 100644 index 00000000000..5bbba97109c --- /dev/null +++ b/test/spec/modules/yaleoBidAdapter_spec.js @@ -0,0 +1,213 @@ +import { cloneDeep } from "lodash"; +import { spec } from "../../../modules/yaleoBidAdapter.ts"; + +const bannerBidRequestBase = { + adUnitCode: 'banner-ad-unit-code', + auctionId: 'banner-auction-id', + bidId: 'banner-bid-id', + bidder: 'yaleo', + bidderRequestId: 'banner-bidder-request-id', + mediaTypes: { banner: [[300, 250]] }, + params: { placementId: '12345' }, +}; + +const bannerServerResponseBase = { + body: { + id: 'banner-server-response-id', + seatbid: [ + { + bid: [ + { + id: 'banner-seatbid-bid-id', + impid: 'banner-bid-id', + price: 0.05, + adm: '
banner-ad
', + adid: 'banner-ad-id', + adomain: ['audienzz.com', 'yaleo.com'], + iurl: 'iurl', + cid: 'banner-campaign-id', + crid: 'banner-creative-id', + cat: [], + w: 300, + h: 250, + mtype: 1, + }, + ], + seat: 'yaleo', + }, + ], + cur: 'USD', + }, +}; + +describe('Yaleo bid adapter', () => { + let bannerBidRequest; + + beforeEach(() => { + bannerBidRequest = cloneDeep(bannerBidRequestBase); + }); + + describe('spec', () => { + it('checks that spec has required properties', () => { + expect(spec).to.have.property('code', 'yaleo'); + expect(spec).to.have.property('supportedMediaTypes').that.includes('banner'); + expect(spec).to.have.property('isBidRequestValid').that.is.a('function'); + expect(spec).to.have.property('buildRequests').that.is.a('function'); + expect(spec).to.have.property('interpretResponse').that.is.a('function'); + expect(spec).to.have.property('gvlid').that.equals(783); + }); + }); + + describe('isBidRequestValid', () => { + it('returns true when all params are specified', () => { + bannerBidRequest.params = { + placementId: '12345', + maxCpm: 5.00, + memberId: 12345, + }; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.true; + }); + + it('returns true when required params are specified', () => { + bannerBidRequest.params = { placementId: '12345' }; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.true; + }); + + it('returns false when params are empty', () => { + bannerBidRequest.params = {}; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.false; + }); + + it('returns false when params are not specified', () => { + bannerBidRequest.params = undefined; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.false; + }); + + it('returnsfalse when required params are not specified', () => { + bannerBidRequest.params = { wrongParam: '12345' }; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.false; + }); + + it('returns false when placementId is a number', () => { + bannerBidRequest.params = { placementId: 12345 }; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.false; + }); + + it('returns false when placementId is a boolean', () => { + bannerBidRequest.params = { placementId: true }; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.false; + }); + + it('returns false when placementId is an object', () => { + bannerBidRequest.params = { placementId: {} }; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.false; + }); + + it('returns false when placementId is an array', () => { + bannerBidRequest.params = { placementId: [] }; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.false; + }); + + it('returns false when placementId is undefined', () => { + bannerBidRequest.params = { placementId: undefined }; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.false; + }); + + it('returns false when placementId is null', () => { + bannerBidRequest.params = { placementId: null }; + expect(spec.isBidRequestValid(bannerBidRequest)).to.be.false; + }); + }); + + describe('buildRequests', () => { + it('creates a valid banner bid request', () => { + const bidderRequest = { + bids: [bannerBidRequest], + auctionId: bannerBidRequest.auctionId, + bidderRequestId: bannerBidRequest.bidderRequestId, + ortb2: { + site: { + page: 'http://example.com', + } + } + }; + + const request = spec.buildRequests([bannerBidRequest], bidderRequest); + + expect(request.method).to.equal('POST'); + expect(request.url).to.equal('https://bidder.yaleo.com/prebid'); + expect(request.data.imp.length).to.equal(1); + expect(request.data.imp[0]).to.have.property('banner'); + expect(request.data.site.page).to.be.equal('http://example.com'); + }); + + it('checks that all params are passed to the request', () => { + bannerBidRequest.params = { + placementId: '12345', + maxCpm: 5.00, + memberId: 12345, + }; + const bidderRequest = { + bids: [bannerBidRequest], + auctionId: bannerBidRequest.auctionId, + bidderRequestId: bannerBidRequest.bidderRequestId, + }; + + const request = spec.buildRequests([bannerBidRequest], bidderRequest); + const yaleoParams = request.data.imp[0].ext.prebid.bidder.yaleo; + + expect(yaleoParams.placementId).to.equal('12345'); + expect(yaleoParams.maxCpm).to.equal(5.00); + expect(yaleoParams.memberId).to.equal(12345); + }); + }); + + it('checks that only specified params are passed to the request', () => { + bannerBidRequest.params = { + placementId: '12345', + }; + + const bidderRequest = { + bids: [bannerBidRequest], + auctionId: bannerBidRequest.auctionId, + bidderRequestId: bannerBidRequest.bidderRequestId, + }; + + const request = spec.buildRequests([bannerBidRequest], bidderRequest); + const yaleoParams = request.data.imp[0].ext.prebid.bidder.yaleo; + + expect(yaleoParams).to.deep.equal({ placementId: '12345' }); + }); + + describe('interpretResponse', () => { + let bannerServerResponse; + beforeEach(() => { + bannerServerResponse = cloneDeep(bannerServerResponseBase); + }); + + it('parses banner bid response correctly', () => { + const bidderRequest = { + bids: [bannerBidRequest], + auctionId: bannerBidRequest.auctionId, + bidderRequestId: bannerBidRequest.bidderRequestId, + }; + + const request = spec.buildRequests([bannerBidRequest], bidderRequest); + const response = spec.interpretResponse(bannerServerResponse, request); + + expect(response).to.have.property('bids'); + expect(response.bids.length).to.be.equal(1); + expect(response.bids[0].cpm).to.equal(0.05); + expect(response.bids[0].currency).to.equal('USD'); + expect(response.bids[0].mediaType).to.equal('banner'); + expect(response.bids[0].width).to.equal(300); + expect(response.bids[0].height).to.equal(250); + expect(response.bids[0].creativeId).to.equal('banner-creative-id'); + expect(response.bids[0].ad).to.equal('
banner-ad
'); + expect(response.bids[0].bidderCode).to.equal('yaleo'); + expect(response.bids[0].meta.advertiserDomains).to.deep.equal(['audienzz.com', 'yaleo.com']); + expect(response.bids[0].netRevenue).to.be.true; + expect(response.bids[0].ttl).to.equal(300); + }); + }); +}); From 4273a96b6d22842564244bca289199afa15cc457 Mon Sep 17 00:00:00 2001 From: Shashank Pradeep <101392500+shashankatd@users.noreply.github.com> Date: Thu, 12 Feb 2026 00:03:28 +0530 Subject: [PATCH 187/248] feat: Mile Bid Adapter - Initial release (#14388) Co-authored-by: Shashank <=> --- modules/mileBidAdapter.md | 72 +++ modules/mileBidAdapter.ts | 428 ++++++++++++++ test/spec/modules/mileBidAdapter_spec.js | 691 +++++++++++++++++++++++ 3 files changed, 1191 insertions(+) create mode 100644 modules/mileBidAdapter.md create mode 100644 modules/mileBidAdapter.ts create mode 100644 test/spec/modules/mileBidAdapter_spec.js diff --git a/modules/mileBidAdapter.md b/modules/mileBidAdapter.md new file mode 100644 index 00000000000..0124c5f4327 --- /dev/null +++ b/modules/mileBidAdapter.md @@ -0,0 +1,72 @@ +# Overview + +``` +Module Name: Mile Bid Adapter +Module Type: Bidder Adapter +Maintainer: tech@mile.tech +``` + +# Description + +This bidder adapter connects to Mile demand sources. + +# Bid Params + +| Name | Scope | Description | Example | Type | +|---------------|----------|-----------------------------------|------------------|--------| +| `placementId` | required | The placement ID for the ad unit | `'12345'` | string | +| `siteId` | required | The site ID for the publisher | `'site123'` | string | +| `publisherId` | required | The publisher ID | `'pub456'` | string | + +# Example Configuration + +```javascript +var adUnits = [{ + code: 'test-banner', + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + }, + bids: [{ + bidder: 'mile', + params: { + placementId: 'test-placement', + siteId: 'test-site', + publisherId: 'test-pub' + } + }] +}]; +``` + +# User Sync Configuration + +To enable user syncing, configure Prebid.js with: + +```javascript +pbjs.setConfig({ + userSync: { + iframeEnabled: true, // Enable iframe syncs + filterSettings: { + iframe: { + bidders: ['mile'], + filter: 'include' + } + } + } +}); +``` + +# Test Parameters + +```javascript +{ + bidder: 'mile', + params: { + placementId: 'test-placement', + siteId: 'test-site', + publisherId: 'test-publisher-id' + } +} +``` + diff --git a/modules/mileBidAdapter.ts b/modules/mileBidAdapter.ts new file mode 100644 index 00000000000..f24feb8b74b --- /dev/null +++ b/modules/mileBidAdapter.ts @@ -0,0 +1,428 @@ +import { type BidderSpec, registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER } from '../src/mediaTypes.js'; +import { deepAccess, deepSetValue, generateUUID, logInfo, logError } from '../src/utils.js'; +import { getDNT } from '../libraries/dnt/index.js'; +import { ajax } from '../src/ajax.js'; + +/** + * Mile Bid Adapter + * + * This adapter handles: + * 1. User syncs by sending requests to the prebid server cookie sync endpoint + * 2. Bid requests by parsing necessary parameters from the prebid auction + */ + +const BIDDER_CODE = 'mile'; + +const MILE_BIDDER_HOST = 'https://pbs.atmtd.com'; +const ENDPOINT_URL = `${MILE_BIDDER_HOST}/mile/v1/request`; +const USER_SYNC_ENDPOINT = `https://scripts.atmtd.com/user-sync/load-cookie.html`; + +const MILE_ANALYTICS_ENDPOINT = `https://e01.atmtd.com/bidanalytics-event/json`; + +type MileBidParams = { + placementId: string; + siteId: string; + publisherId: string; +}; + +declare module '../src/adUnits' { + interface BidderParams { + [BIDDER_CODE]: MileBidParams; + } +} + +export let siteIdTracker : string | undefined; +export let publisherIdTracker : string | undefined; + +export function getLowestFloorPrice(bid) { + let floorPrice: number; + + if (typeof bid.getFloor === 'function') { + let sizes = [] + // Get floor prices for each banner size in the bid request + if (deepAccess(bid, 'mediaTypes.banner.sizes')) { + sizes = deepAccess(bid, 'mediaTypes.banner.sizes') + } else if (bid.sizes) { + sizes = bid.sizes + } + + sizes.forEach((size: string | number[]) => { + const [w, h] = typeof size === 'string' ? size.split('x') : size as number[]; + const floor = bid.getFloor({ currency: 'USD', mediaType: '*', size: [Number(w), Number(h)] }); + if (floor && floor.floor) { + if (floorPrice === undefined) { + floorPrice = floor.floor; + } else { + floorPrice = Math.min(floorPrice, floor.floor); + } + } + }); + } else { + floorPrice = 0 + } + + return floorPrice +} + +export const spec: BidderSpec = { + code: BIDDER_CODE, + supportedMediaTypes: [BANNER], + isBidRequestValid: function (bid) { + const params = bid.params; + + if (!params?.placementId) { + logError(`${BIDDER_CODE}: Missing required param: placementId`); + return false; + } + + if (!params?.siteId) { + logError(`${BIDDER_CODE}: Missing required param: siteId`); + return false; + } + + if (!params?.publisherId) { + logError(`${BIDDER_CODE}: Missing required param: publisherId`); + return false; + } + + if (siteIdTracker === undefined) { + siteIdTracker = params.siteId; + } else if (siteIdTracker !== params.siteId) { + logError(`${BIDDER_CODE}: Site ID mismatch: ${siteIdTracker} !== ${params.siteId}`); + return false; + } + + if (publisherIdTracker === undefined) { + publisherIdTracker = params.publisherId; + } else if (publisherIdTracker !== params.publisherId) { + logError(`${BIDDER_CODE}: Publisher ID mismatch: ${publisherIdTracker} !== ${params.publisherId}`); + return false; + } + + return true; + }, + + /** + * Make a server request from the list of BidRequests. + * Builds an OpenRTB 2.5 compliant bid request. + * + * @param validBidRequests - An array of valid bids + * @param bidderRequest - The master bidder request object + * @returns ServerRequest info describing the request to the server + */ + buildRequests: function (validBidRequests, bidderRequest) { + logInfo(`${BIDDER_CODE}: Building batched request for ${validBidRequests.length} bids`); + + // Build imp[] array - one impression object per bid request + const imps = validBidRequests.map((bid) => { + const sizes = deepAccess(bid, 'mediaTypes.banner.sizes') || []; + const floorPrice = getLowestFloorPrice(bid); + + const imp: any = { + id: bid.bidId, + tagid: bid.params.placementId, + secure: 1, + banner: { + format: sizes.map((size: number[]) => ({ + w: size[0], + h: size[1], + })) + }, + ext: { + adUnitCode: bid.adUnitCode, + placementId: bid.params.placementId, + gpid: deepAccess(bid, 'ortb2Imp.ext.gpid') || deepAccess(bid, 'ortb2Imp.ext.data.pbadslot'), + }, + }; + + // Add bidfloor if available + if (floorPrice > 0) { + imp.bidfloor = floorPrice; + imp.bidfloorcur = 'USD'; + } + + return imp; + }); + + // Build the OpenRTB 2.5 BidRequest object + const openRtbRequest: any = { + id: bidderRequest.bidderRequestId || generateUUID(), + imp: imps, + tmax: bidderRequest.timeout, + cur: ['USD'], + site: { + id: siteIdTracker, + page: deepAccess(bidderRequest, 'refererInfo.page') || '', + domain: deepAccess(bidderRequest, 'refererInfo.domain') || '', + ref: deepAccess(bidderRequest, 'refererInfo.ref') || '', + publisher: { + id: publisherIdTracker, + }, + }, + user: {}, + // Device object + device: { + ua: navigator.userAgent, + language: navigator.language?.split('-')[0] || 'en', + dnt: getDNT() ? 1 : 0, + w: window.screen?.width, + h: window.screen?.height, + }, + + // Source object with supply chain + source: { + tid: deepAccess(bidderRequest, 'ortb2.source.tid') + }, + }; + + // Add schain if available + const schain = deepAccess(validBidRequests, '0.ortb2.source.ext.schain'); + if (schain) { + deepSetValue(openRtbRequest, 'source.ext.schain', schain); + } + + // User object + const eids = deepAccess(validBidRequests, '0.userIdAsEids'); + if (eids && eids.length) { + deepSetValue(openRtbRequest, 'user.ext.eids', eids); + } + + // Regs object for privacy/consent + const regs: any = { ext: {} }; + + // GDPR + if (bidderRequest.gdprConsent) { + regs.ext.gdpr = bidderRequest.gdprConsent.gdprApplies ? 1 : 0; + deepSetValue(openRtbRequest, 'user.ext.consent', bidderRequest.gdprConsent.consentString || ''); + } + + // US Privacy (CCPA) + if (bidderRequest.uspConsent) { + regs.ext.us_privacy = bidderRequest.uspConsent; + } + + // GPP + if (bidderRequest.gppConsent) { + regs.gpp = bidderRequest.gppConsent.gppString || ''; + regs.gpp_sid = bidderRequest.gppConsent.applicableSections || []; + } + + if (Object.keys(regs.ext).length > 0 || regs.gpp) { + openRtbRequest.regs = regs; + } + + // Merge any first-party data from ortb2 + if (bidderRequest.ortb2) { + if (bidderRequest.ortb2.site) { + openRtbRequest.site = { ...openRtbRequest.site, ...bidderRequest.ortb2.site }; + // Preserve publisher ID + openRtbRequest.site.publisher = { id: publisherIdTracker, ...bidderRequest.ortb2.site.publisher }; + } + if (bidderRequest.ortb2.user) { + openRtbRequest.user = { ...openRtbRequest.user, ...bidderRequest.ortb2.user }; + } + if (bidderRequest.ortb2.device) { + openRtbRequest.device = { ...openRtbRequest.device, ...bidderRequest.ortb2.device }; + } + } + + // Add prebid adapter version info + deepSetValue(openRtbRequest, 'ext.prebid.channel', { + name: 'pbjs', + version: '$prebid.version$', + }); + + return { + method: 'POST', + url: ENDPOINT_URL, + data: openRtbRequest + }; + }, + + /** + * Unpack the OpenRTB 2.5 response from the server into a list of bids. + * + * @param serverResponse - A successful response from the server. + * @param request - The request that was sent to the server. + * @returns An array of bids which were nested inside the server. + */ + interpretResponse: function (serverResponse, request) { + const bidResponses: any[] = []; + + if (!serverResponse?.body) { + logInfo(`${BIDDER_CODE}: Empty server response`); + return bidResponses; + } + + const response = serverResponse.body; + const currency = response.cur || 'USD'; + + // OpenRTB 2.5 response format: seatbid[] contains bid[] + const seatbids = response.bids || []; + + seatbids.forEach((bid: any) => { + if (!bid || !bid.cpm) { + return; + } + + const bidResponse = { + requestId: bid.requestId, + cpm: parseFloat(bid.cpm), + width: parseInt(bid.width || bid.w, 10), + height: parseInt(bid.height || bid.h, 10), + creativeId: bid.creativeId || bid.crid || bid.id, + currency: currency, + netRevenue: true, + bidder: BIDDER_CODE, + ttl: bid.ttl || 300, + ad: bid.ad, + mediaType: BANNER, + meta: { + advertiserDomains: bid.adomain || [], + upstreamBidder: bid.upstreamBidder || '', + siteUID: deepAccess(response, 'site.id') || '', + publisherID: deepAccess(response, 'site.publisher.id') || '', + page: deepAccess(response, 'site.page') || '', + domain: deepAccess(response, 'site.domain') || '', + } + }; + + // Handle nurl (win notice URL) if present + if (bid.nurl) { + (bidResponse as any).nurl = bid.nurl; + } + + // Handle burl (billing URL) if present + if (bid.burl) { + (bidResponse as any).burl = bid.burl; + } + + bidResponses.push(bidResponse); + }); + + return bidResponses; + }, + + /** + * Register user sync pixels or iframes to be dropped after the auction. + * + * @param syncOptions - Which sync types are allowed (iframe, image/pixel) + * @param serverResponses - Array of server responses from the auction + * @param gdprConsent - GDPR consent data + * @param uspConsent - US Privacy consent string + * @param gppConsent - GPP consent data + * @returns Array of user sync objects to be executed + */ + getUserSyncs: function ( + syncOptions, + serverResponses, + gdprConsent, + uspConsent, + gppConsent + ) { + logInfo(`${BIDDER_CODE}: getUserSyncs called`, { + iframeEnabled: syncOptions.iframeEnabled + }); + + const syncs = []; + + // Build query parameters for consent + const queryParams: string[] = []; + + // GDPR consent + if (gdprConsent) { + queryParams.push(`gdpr=${gdprConsent.gdprApplies ? 1 : 0}`); + queryParams.push(`gdpr_consent=${encodeURIComponent(gdprConsent.consentString || '')}`); + } + + // US Privacy / CCPA + if (uspConsent) { + queryParams.push(`us_privacy=${encodeURIComponent(uspConsent)}`); + } + + // GPP consent + if (gppConsent?.gppString) { + queryParams.push(`gpp=${encodeURIComponent(gppConsent.gppString)}`); + if (gppConsent.applicableSections?.length) { + queryParams.push(`gpp_sid=${encodeURIComponent(gppConsent.applicableSections.join(','))}`); + } + } + + const queryString = queryParams.length > 0 ? `?${queryParams.join('&')}` : ''; + + if (syncOptions.iframeEnabled) { + syncs.push({ + type: 'iframe' as const, + url: `${USER_SYNC_ENDPOINT}${queryString}`, + }); + } + + return syncs; + }, + + /** + * Called when a bid from this adapter wins the auction. + * Sends an XHR POST request to the bid's nurl (win notification URL). + * + * @param bid - The winning bid object + */ + onBidWon: function (bid) { + logInfo(`${BIDDER_CODE}: Bid won`, bid); + + const winNotificationData = { + adUnitCode: bid.adUnitCode, + metaData: { + impressionID: [bid.requestId], + }, + ua: navigator.userAgent, + timestamp: Date.now(), + winningSize: `${bid.width}x${bid.height}`, + cpm: bid.cpm, + eventType: 'mile-bidder-win-notify', + winningBidder: deepAccess(bid, 'meta.upstreamBidder') || '', + siteUID: deepAccess(bid, 'meta.siteUID') || '', + yetiPublisherID: deepAccess(bid, 'meta.publisherID') || '', + page: deepAccess(bid, 'meta.page') || '', + site: deepAccess(bid, 'meta.domain') || '', + } + + ajax(MILE_ANALYTICS_ENDPOINT, null, JSON.stringify([winNotificationData]), { method: 'POST'}); + + // @ts-expect-error - bid.nurl is not defined + if (bid.nurl) ajax(bid.nurl, null, null, { method: 'GET' }); + }, + + /** + * Called when bid requests timeout. + * Sends analytics notification for timed out bids. + * + * @param timeoutData - Array of bid requests that timed out + */ + onTimeout: function (timeoutData) { + logInfo(`${BIDDER_CODE}: Timeout for ${timeoutData.length} bid(s)`, timeoutData); + + if (timeoutData.length === 0) return; + + const timedOutBids = []; + + timeoutData.forEach((bid) => { + const timeoutNotificationData = { + adUnitCode: bid.adUnitCode, + metaData: { + impressionID: [bid.bidId], + configuredTimeout: [bid.timeout.toString()], + }, + ua: navigator.userAgent, + timestamp: Date.now(), + eventType: 'mile-bidder-timeout' + }; + + timedOutBids.push(timeoutNotificationData); + }); + + ajax(MILE_ANALYTICS_ENDPOINT, null, JSON.stringify(timedOutBids), { method: 'POST'}); + }, +}; + +registerBidder(spec); diff --git a/test/spec/modules/mileBidAdapter_spec.js b/test/spec/modules/mileBidAdapter_spec.js new file mode 100644 index 00000000000..34171f86114 --- /dev/null +++ b/test/spec/modules/mileBidAdapter_spec.js @@ -0,0 +1,691 @@ +import { expect } from 'chai'; +import { spec, siteIdTracker, publisherIdTracker } from 'modules/mileBidAdapter.js'; +import { BANNER } from 'src/mediaTypes.js'; +import * as ajax from 'src/ajax.js'; +import * as utils from 'src/utils.js'; + +describe('mileBidAdapter', function () { + describe('isBidRequestValid', function () { + let bid; + + beforeEach(function () { + bid = { + bidder: 'mile', + params: { + placementId: '12345', + siteId: 'site123', + publisherId: 'pub456' + }, + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + } + }; + }); + + it('should return true when all required params are present', function () { + expect(spec.isBidRequestValid(bid)).to.be.true; + }); + + it('should return false when placementId is missing', function () { + delete bid.params.placementId; + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + + it('should return false when siteId is missing', function () { + delete bid.params.siteId; + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + + it('should return false when publisherId is missing', function () { + delete bid.params.publisherId; + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + + it('should return false when params is missing', function () { + delete bid.params; + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + + it('should return false when params is null', function () { + bid.params = null; + expect(spec.isBidRequestValid(bid)).to.be.false; + }); + }); + + describe('buildRequests', function () { + let validBidRequests, bidderRequest; + + beforeEach(function () { + validBidRequests = [{ + bidder: 'mile', + params: { + placementId: '12345', + siteId: 'site123', + publisherId: 'pub456' + }, + mediaTypes: { + banner: { + sizes: [[300, 250], [728, 90]] + } + }, + adUnitCode: 'test-ad-unit', + bidId: 'bid123', + ortb2Imp: { + ext: { + gpid: '/test/ad/unit' + } + } + }]; + + bidderRequest = { + bidderCode: 'mile', + bidderRequestId: 'bidderReq123', + auctionId: 'auction123', + timeout: 3000, + refererInfo: { + page: 'https://example.com/page', + domain: 'example.com', + ref: 'https://google.com' + }, + ortb2: { + source: { + tid: 'transaction123' + } + } + }; + }); + + it('should return a valid server request object', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + + expect(request).to.be.an('object'); + expect(request.method).to.equal('POST'); + expect(request.url).to.equal('https://pbs.atmtd.com/mile/v1/request'); + expect(request.data).to.be.an('object'); + }); + + it('should build OpenRTB 2.5 compliant request', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const data = request.data; + + expect(data.id).to.equal('bidderReq123'); + expect(data.imp).to.be.an('array').with.lengthOf(1); + expect(data.tmax).to.equal(3000); + expect(data.cur).to.deep.equal(['USD']); + expect(data.site).to.be.an('object'); + expect(data.device).to.be.an('object'); + expect(data.source).to.be.an('object'); + }); + + it('should include imp object with correct structure', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const imp = request.data.imp[0]; + + expect(imp.id).to.equal('bid123'); + expect(imp.tagid).to.equal('12345'); + expect(imp.secure).to.equal(1); + expect(imp.banner).to.be.an('object'); + expect(imp.banner.format).to.be.an('array').with.lengthOf(2); + expect(imp.banner.format[0]).to.deep.equal({ w: 300, h: 250 }); + expect(imp.banner.format[1]).to.deep.equal({ w: 728, h: 90 }); + }); + + it('should include ext fields in imp object', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const imp = request.data.imp[0]; + + expect(imp.ext.adUnitCode).to.equal('test-ad-unit'); + expect(imp.ext.placementId).to.equal('12345'); + expect(imp.ext.gpid).to.equal('/test/ad/unit'); + }); + + it('should include site object with publisher info', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const site = request.data.site; + + expect(site.id).to.equal('site123'); + expect(site.page).to.equal('https://example.com/page'); + expect(site.domain).to.equal('example.com'); + expect(site.ref).to.equal('https://google.com'); + expect(site.publisher.id).to.equal('pub456'); + }); + + it('should include device object', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const device = request.data.device; + + expect(device.ua).to.be.a('string'); + expect(device.language).to.be.a('string'); + expect(device.dnt).to.be.a('number'); + }); + + it('should include source object with tid', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const source = request.data.source; + + expect(source.tid).to.equal('transaction123'); + }); + + it('should include bidfloor when floor price is available', function () { + validBidRequests[0].getFloor = function() { + return { floor: 0.5, currency: 'USD' }; + }; + + const request = spec.buildRequests(validBidRequests, bidderRequest); + const imp = request.data.imp[0]; + + expect(imp.bidfloor).to.equal(0.5); + expect(imp.bidfloorcur).to.equal('USD'); + }); + + it('should include GDPR consent when present', function () { + bidderRequest.gdprConsent = { + gdprApplies: true, + consentString: 'consent-string-123' + }; + + const request = spec.buildRequests(validBidRequests, bidderRequest); + + expect(request.data.regs.ext.gdpr).to.equal(1); + expect(request.data.user.ext.consent).to.equal('consent-string-123'); + }); + + it('should include US Privacy consent when present', function () { + bidderRequest.uspConsent = '1YNN'; + + const request = spec.buildRequests(validBidRequests, bidderRequest); + + expect(request.data.regs.ext.us_privacy).to.equal('1YNN'); + }); + + it('should include GPP consent when present', function () { + bidderRequest.gppConsent = { + gppString: 'gpp-string-123', + applicableSections: [1, 2, 3] + }; + + const request = spec.buildRequests(validBidRequests, bidderRequest); + + expect(request.data.regs.gpp).to.equal('gpp-string-123'); + expect(request.data.regs.gpp_sid).to.deep.equal([1, 2, 3]); + }); + + it('should include user EIDs when present', function () { + validBidRequests[0].userIdAsEids = [ + { + source: 'pubcid.org', + uids: [{ id: 'user-id-123' }] + } + ]; + + const request = spec.buildRequests(validBidRequests, bidderRequest); + + expect(request.data.user.ext.eids).to.be.an('array').with.lengthOf(1); + expect(request.data.user.ext.eids[0].source).to.equal('pubcid.org'); + }); + + it('should include supply chain when present', function () { + validBidRequests[0].ortb2 = { + source: { + ext: { + schain: { + ver: '1.0', + complete: 1, + nodes: [] + } + } + } + }; + + const request = spec.buildRequests(validBidRequests, bidderRequest); + + expect(request.data.source.ext.schain).to.be.an('object'); + expect(request.data.source.ext.schain.ver).to.equal('1.0'); + }); + + it('should handle multiple bid requests with same siteId and publisherId', function () { + const secondBid = { + ...validBidRequests[0], + bidId: 'bid456', + params: { + placementId: '67890', + siteId: 'site123', + publisherId: 'pub456' + } + }; + + const request = spec.buildRequests([validBidRequests[0], secondBid], bidderRequest); + + expect(request.data.imp).to.be.an('array').with.lengthOf(2); + expect(request.data.imp[0].id).to.equal('bid123'); + expect(request.data.imp[1].id).to.equal('bid456'); + }); + + it('should reject bids with different siteId', function () { + const firstBid = { + bidder: 'mile', + params: { + placementId: '12345', + siteId: 'site123', + publisherId: 'pub456' + }, + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + } + }; + + const secondBid = { + bidder: 'mile', + params: { + placementId: '67890', + siteId: 'differentSite', // Different siteId + publisherId: 'pub456' + }, + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + } + }; + + // First bid should be valid + expect(spec.isBidRequestValid(firstBid)).to.be.true; + + // Second bid should be rejected due to siteId mismatch + expect(spec.isBidRequestValid(secondBid)).to.be.false; + }); + + it('should reject bids with different publisherId', function () { + const firstBid = { + bidder: 'mile', + params: { + placementId: '12345', + siteId: 'site123', + publisherId: 'pub456' + }, + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + } + }; + + const secondBid = { + bidder: 'mile', + params: { + placementId: '67890', + siteId: 'site123', + publisherId: 'differentPub' + }, + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + } + }; + + // First bid should be valid + expect(spec.isBidRequestValid(firstBid)).to.be.true; + + // Second bid should be rejected due to publisherId mismatch + expect(spec.isBidRequestValid(secondBid)).to.be.false; + }); + }); + + describe('interpretResponse', function () { + let serverResponse; + + beforeEach(function () { + serverResponse = { + body: { + site: { + id: 'site123', + domain: 'example.com', + publisher: { + id: 'pub456' + }, + page: 'https://example.com/page', + }, + cur: 'USD', + bids: [ + { + requestId: 'bid123', + cpm: 1.5, + width: 300, + height: 250, + ad: '
test ad
', + creativeId: 'creative123', + ttl: 300, + nurl: 'https://example.com/win?price=${AUCTION_PRICE}', + adomain: ['advertiser.com'], + upstreamBidder: 'upstreamBidder' + } + ] + } + }; + }); + + it('should return an array of bid responses', function () { + const bids = spec.interpretResponse(serverResponse); + + expect(bids).to.be.an('array').with.lengthOf(1); + }); + + it('should parse bid response correctly', function () { + const bids = spec.interpretResponse(serverResponse); + const bid = bids[0]; + + expect(bid.requestId).to.equal('bid123'); + expect(bid.cpm).to.equal(1.5); + expect(bid.width).to.equal(300); + expect(bid.height).to.equal(250); + expect(bid.ad).to.equal('
test ad
'); + expect(bid.creativeId).to.equal('creative123'); + expect(bid.currency).to.equal('USD'); + expect(bid.ttl).to.equal(300); + expect(bid.netRevenue).to.be.true; + expect(bid.mediaType).to.equal(BANNER); + expect(bid.meta.upstreamBidder).to.equal('upstreamBidder'); + expect(bid.meta.siteUID).to.equal('site123'); + expect(bid.meta.publisherID).to.equal('pub456'); + expect(bid.meta.page).to.equal('https://example.com/page'); + expect(bid.meta.domain).to.equal('example.com'); + }); + + it('should include nurl in bid response', function () { + const bids = spec.interpretResponse(serverResponse); + const bid = bids[0]; + + expect(bid.nurl).to.equal('https://example.com/win?price=${AUCTION_PRICE}'); + }); + + it('should include meta.advertiserDomains', function () { + const bids = spec.interpretResponse(serverResponse); + const bid = bids[0]; + + expect(bid.meta.advertiserDomains).to.deep.equal(['advertiser.com']); + }); + + it('should handle empty response', function () { + const bids = spec.interpretResponse({ body: null }); + + expect(bids).to.be.an('array').with.lengthOf(0); + }); + + it('should handle response with no bids', function () { + serverResponse.body.bids = []; + const bids = spec.interpretResponse(serverResponse); + + expect(bids).to.be.an('array').with.lengthOf(0); + }); + + it('should handle alternative field names (w/h instead of width/height)', function () { + serverResponse.body.bids[0] = { + requestId: 'bid123', + cpm: 1.5, + w: 728, + h: 90, + ad: '
test ad
' + }; + + const bids = spec.interpretResponse(serverResponse); + const bid = bids[0]; + + expect(bid.width).to.equal(728); + expect(bid.height).to.equal(90); + }); + + it('should use default currency if not specified', function () { + delete serverResponse.body.cur; + const bids = spec.interpretResponse(serverResponse); + + expect(bids[0].currency).to.equal('USD'); + }); + + it('should handle response with no site or publisher', function () { + delete serverResponse.body.site; + delete serverResponse.body.publisher; + const bids = spec.interpretResponse(serverResponse); + + expect(bids[0].meta.siteUID).to.be.empty; + expect(bids[0].meta.publisherID).to.be.empty; + expect(bids[0].meta.page).to.be.empty; + expect(bids[0].meta.domain).to.be.empty; + }); + }); + + describe('getUserSyncs', function () { + let syncOptions, serverResponses, gdprConsent, uspConsent, gppConsent; + + beforeEach(function () { + syncOptions = { + iframeEnabled: true, + pixelEnabled: true + }; + serverResponses = []; + }); + + it('should return iframe sync when enabled', function () { + const syncs = spec.getUserSyncs(syncOptions, serverResponses); + + expect(syncs).to.be.an('array').with.lengthOf(1); + expect(syncs[0].type).to.equal('iframe'); + expect(syncs[0].url).to.include('https://scripts.atmtd.com/user-sync/load-cookie.html'); + }); + + it('should not return syncs when iframe is disabled', function () { + syncOptions.iframeEnabled = false; + const syncs = spec.getUserSyncs(syncOptions, serverResponses); + + expect(syncs).to.be.an('array').with.lengthOf(0); + }); + + it('should include GDPR consent params', function () { + gdprConsent = { + gdprApplies: true, + consentString: 'consent-string-123' + }; + + const syncs = spec.getUserSyncs(syncOptions, serverResponses, gdprConsent); + + expect(syncs[0].url).to.include('gdpr=1'); + expect(syncs[0].url).to.include('gdpr_consent=consent-string-123'); + }); + + it('should include US Privacy consent param', function () { + uspConsent = '1YNN'; + + const syncs = spec.getUserSyncs(syncOptions, serverResponses, null, uspConsent); + + expect(syncs[0].url).to.include('us_privacy=1YNN'); + }); + + it('should include GPP consent params', function () { + gppConsent = { + gppString: 'gpp-string-123', + applicableSections: [1, 2, 3] + }; + + const syncs = spec.getUserSyncs(syncOptions, serverResponses, null, null, gppConsent); + + expect(syncs[0].url).to.include('gpp=gpp-string-123'); + expect(syncs[0].url).to.include('gpp_sid=1%2C2%2C3'); + }); + + it('should include all consent params when present', function () { + gdprConsent = { gdprApplies: true, consentString: 'gdpr-consent' }; + uspConsent = '1YNN'; + gppConsent = { gppString: 'gpp-string', applicableSections: [1] }; + + const syncs = spec.getUserSyncs(syncOptions, serverResponses, gdprConsent, uspConsent, gppConsent); + + expect(syncs[0].url).to.include('gdpr=1'); + expect(syncs[0].url).to.include('us_privacy=1YNN'); + expect(syncs[0].url).to.include('gpp=gpp-string'); + }); + }); + + describe('onBidWon', function () { + let bid, ajaxStub; + + beforeEach(function () { + bid = { + bidder: 'mile', + adUnitCode: 'test-ad-unit', + requestId: 'bid123', + cpm: 1.5, + width: 300, + height: 250, + nurl: 'https://example.com/win', + meta: { + upstreamBidder: 'upstreamBidder', + siteUID: 'mRUDIL', + publisherID: 'pub456', + page: 'https://example.com/page', + domain: 'example.com' + } + }; + + ajaxStub = sinon.stub(ajax, 'ajax'); + }); + + afterEach(function () { + ajaxStub.restore(); + }); + + it('should call ajax with win notification endpoint', function () { + spec.onBidWon(bid); + + expect(ajaxStub.calledTwice).to.be.true; + + // First call to notification endpoint + const firstCall = ajaxStub.getCall(0); + expect(firstCall.args[0]).to.equal('https://e01.atmtd.com/bidanalytics-event/json'); + + // Second call to nurl + const secondCall = ajaxStub.getCall(1); + expect(secondCall.args[0]).to.equal('https://example.com/win'); + }); + + it('should send correct win notification data', function () { + spec.onBidWon(bid); + + const firstCall = ajaxStub.getCall(0); + const notificationData = JSON.parse(firstCall.args[2])[0]; + + expect(notificationData.adUnitCode).to.equal('test-ad-unit'); + expect(notificationData.metaData.impressionID[0]).to.equal('bid123'); + expect(notificationData.winningBidder).to.equal('upstreamBidder'); + expect(notificationData.cpm).to.equal(1.5); + expect(notificationData.winningSize).to.equal('300x250'); + expect(notificationData.eventType).to.equal('mile-bidder-win-notify'); + expect(notificationData.timestamp).to.be.a('number'); + expect(notificationData.siteUID).to.equal('mRUDIL'); + expect(notificationData.yetiPublisherID).to.equal('pub456'); + expect(notificationData.page).to.equal('https://example.com/page'); + expect(notificationData.site).to.equal('example.com'); + }); + + it('should call nurl with GET request', function () { + spec.onBidWon(bid); + + const secondCall = ajaxStub.getCall(1); + const options = secondCall.args[3]; + + expect(options.method).to.equal('GET'); + }); + }); + + describe('onTimeout', function () { + let timeoutData, ajaxStub; + + beforeEach(function () { + timeoutData = [ + { + bidder: 'mile', + bidId: 'bid123', + adUnitCode: 'test-ad-unit-1', + timeout: 3000, + params: { + placementId: '12345', + siteId: 'site123', + publisherId: 'pub456' + } + }, + { + bidder: 'mile', + bidId: 'bid456', + adUnitCode: 'test-ad-unit-2', + timeout: 3000, + params: { + placementId: '67890', + siteId: 'site123', + publisherId: 'pub456' + } + } + ]; + + ajaxStub = sinon.stub(ajax, 'ajax'); + }); + + afterEach(function () { + ajaxStub.restore(); + }); + + it('should call ajax for each timed out bid', function () { + spec.onTimeout(timeoutData); + + expect(ajaxStub.callCount).to.equal(1); + }); + + it('should send correct timeout notification data', function () { + spec.onTimeout(timeoutData); + + const firstCall = ajaxStub.getCall(0); + expect(firstCall.args[0]).to.equal('https://e01.atmtd.com/bidanalytics-event/json'); + + const notificationData = JSON.parse(firstCall.args[2])[0]; + expect(notificationData.adUnitCode).to.equal('test-ad-unit-1'); + expect(notificationData.metaData.impressionID[0]).to.equal('bid123'); + expect(notificationData.metaData.configuredTimeout[0]).to.equal('3000'); + expect(notificationData.eventType).to.equal('mile-bidder-timeout'); + expect(notificationData.timestamp).to.be.a('number'); + }); + + it('should handle single timeout', function () { + spec.onTimeout([timeoutData[0]]); + + expect(ajaxStub.calledOnce).to.be.true; + }); + + it('should handle empty timeout array', function () { + spec.onTimeout([]); + + expect(ajaxStub.called).to.be.false; + }); + }); + + describe('adapter specification', function () { + it('should have correct bidder code', function () { + expect(spec.code).to.equal('mile'); + }); + + it('should support BANNER media type', function () { + expect(spec.supportedMediaTypes).to.be.an('array'); + expect(spec.supportedMediaTypes).to.include(BANNER); + }); + + it('should have required adapter functions', function () { + expect(spec.isBidRequestValid).to.be.a('function'); + expect(spec.buildRequests).to.be.a('function'); + expect(spec.interpretResponse).to.be.a('function'); + expect(spec.getUserSyncs).to.be.a('function'); + expect(spec.onBidWon).to.be.a('function'); + expect(spec.onTimeout).to.be.a('function'); + }); + }); +}); From 3326f76d321164530cdc1677aa701c96f491a0f8 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Wed, 11 Feb 2026 13:47:18 -0800 Subject: [PATCH 188/248] bidMatic bid adapter: update placement info logic (#14418) --- .../placementPositionInfo.js | 78 +---- .../libraries/placementPositionInfo_spec.js | 315 +----------------- 2 files changed, 28 insertions(+), 365 deletions(-) diff --git a/libraries/placementPositionInfo/placementPositionInfo.js b/libraries/placementPositionInfo/placementPositionInfo.js index b5bdf47fb2d..19014632a23 100644 --- a/libraries/placementPositionInfo/placementPositionInfo.js +++ b/libraries/placementPositionInfo/placementPositionInfo.js @@ -1,74 +1,20 @@ import {getBoundingClientRect} from '../boundingClientRect/boundingClientRect.js'; -import {canAccessWindowTop, cleanObj, getWindowSelf, getWindowTop} from '../../src/utils.js'; -import {getViewability} from '../percentInView/percentInView.js'; +import {canAccessWindowTop, cleanObj, getWinDimensions, getWindowSelf, getWindowTop} from '../../src/utils.js'; +import {getViewability, getViewportOffset} from '../percentInView/percentInView.js'; export function getPlacementPositionUtils() { const topWin = canAccessWindowTop() ? getWindowTop() : getWindowSelf(); const selfWin = getWindowSelf(); - const findElementWithContext = (adUnitCode) => { - let element = selfWin.document.getElementById(adUnitCode); - if (element) { - return {element, frameOffset: getFrameOffsetForCurrentWindow()}; - } - - const searchInIframes = (doc, accumulatedOffset = {top: 0}, iframeWindow = null) => { - try { - const element = doc.getElementById(adUnitCode); - if (element) { - return {element, frameOffset: accumulatedOffset, iframeWindow}; - } - - const frames = doc.getElementsByTagName('iframe'); - for (const frame of frames) { - try { - const iframeDoc = frame.contentDocument || frame.contentWindow?.document; - if (iframeDoc) { - const frameRect = getBoundingClientRect(frame); - const newOffset = { - top: accumulatedOffset.top + frameRect.top - }; - const result = searchInIframes(iframeDoc, newOffset, frame.contentWindow); - if (result) { - return result; - } - } - } catch (_e) { - } - } - } catch (_e) { - } - return null; - }; - - const result = searchInIframes(selfWin.document); - return result || {element: null, frameOffset: {top: 0}}; - }; - - const getFrameOffsetForCurrentWindow = () => { - if (topWin === selfWin) { - return {top: 0}; - } - try { - const frames = topWin.document.getElementsByTagName('iframe'); - for (const frame of frames) { - if (frame.contentWindow === selfWin) { - return {top: getBoundingClientRect(frame).top}; - } - } - } catch (_e) { - return {top: 0}; - } - return {top: 0}; - }; - const getViewportHeight = () => { - return topWin.innerHeight || topWin.document.documentElement.clientHeight || topWin.document.body.clientHeight || 0; + const dim = getWinDimensions(); + return dim.innerHeight || dim.document.documentElement.clientHeight || dim.document.body.clientHeight || 0; }; const getPageHeight = () => { - const body = topWin.document.body; - const html = topWin.document.documentElement; + const dim = getWinDimensions(); + const body = dim.document.body; + const html = dim.document.documentElement; if (!body || !html) return 0; return Math.max( @@ -86,8 +32,8 @@ export function getPlacementPositionUtils() { const elementRect = getBoundingClientRect(element); if (!elementRect) return {distanceToView: 0, elementHeight: 0}; - const elementTop = elementRect.top + frameOffset.top; - const elementBottom = elementRect.bottom + frameOffset.top; + const elementTop = elementRect.top + frameOffset.y; + const elementBottom = elementRect.bottom + frameOffset.y; const viewportHeight = getViewportHeight(); let distanceToView; @@ -103,7 +49,8 @@ export function getPlacementPositionUtils() { }; function getPlacementInfo(bidReq) { - const {element, frameOffset, iframeWindow} = findElementWithContext(bidReq.adUnitCode); + const element = selfWin.document.getElementById(bidReq.adUnitCode); + const frameOffset = getViewportOffset(); const {distanceToView, elementHeight} = getViewableDistance(element, frameOffset); const sizes = (bidReq.sizes || []).map(size => ({ @@ -114,8 +61,7 @@ export function getPlacementPositionUtils() { ? sizes.reduce((min, size) => size.h * size.w < min.h * min.w ? size : min, sizes[0]) : {}; - const winForViewability = iframeWindow || topWin; - const placementPercentView = element ? getViewability(element, winForViewability, size) : 0; + const placementPercentView = element ? getViewability(element, topWin, size) : 0; return cleanObj({ AuctionsCount: bidReq.auctionsCount, diff --git a/test/spec/libraries/placementPositionInfo_spec.js b/test/spec/libraries/placementPositionInfo_spec.js index 11a3aa1aa0f..9d8a57f4db4 100644 --- a/test/spec/libraries/placementPositionInfo_spec.js +++ b/test/spec/libraries/placementPositionInfo_spec.js @@ -2,6 +2,8 @@ import { getPlacementPositionUtils } from '../../../libraries/placementPositionI import * as utils from '../../../src/utils.js'; import * as boundingClientRectLib from '../../../libraries/boundingClientRect/boundingClientRect.js'; import * as percentInViewLib from '../../../libraries/percentInView/percentInView.js'; +import * as winDimensions from 'src/utils/winDimensions.js'; + import assert from 'assert'; import sinon from 'sinon'; @@ -16,6 +18,7 @@ describe('placementPositionInfo', function () { let mockDocument; let mockWindow; + let viewportOffset beforeEach(function () { sandbox = sinon.createSandbox(); @@ -39,6 +42,9 @@ describe('placementPositionInfo', function () { getBoundingClientRectStub = sandbox.stub(boundingClientRectLib, 'getBoundingClientRect'); percentInViewStub = sandbox.stub(percentInViewLib, 'getViewability'); cleanObjStub = sandbox.stub(utils, 'cleanObj').callsFake(obj => obj); + sandbox.stub(winDimensions, 'getWinDimensions').returns(mockWindow); + viewportOffset = {x: 0, y: 0}; + sandbox.stub(percentInViewLib, 'getViewportOffset').callsFake(() => viewportOffset); }); afterEach(function () { @@ -393,87 +399,18 @@ describe('placementPositionInfo', function () { }); describe('iframe coordinate translation', function () { - let mockSelfDoc; - let mockSelfWindow; - let mockTopWindow; - let mockIframe; - let iframeTop; - - beforeEach(function () { - iframeTop = 0; - mockSelfDoc = { - getElementById: sandbox.stub().returns({ id: 'test' }), - getElementsByTagName: sandbox.stub().returns([]) - }; - mockSelfWindow = { - innerHeight: 500, - document: mockSelfDoc - }; - mockTopWindow = { - innerHeight: 1000, - document: { - getElementsByTagName: sinon.stub(), - body: { scrollHeight: 2000, offsetHeight: 1800 }, - documentElement: { clientHeight: 1900, scrollHeight: 2100, offsetHeight: 1950 } - } - }; - mockIframe = { - contentWindow: mockSelfWindow - }; - - sandbox.restore(); - sandbox = sinon.createSandbox(); - - mockSelfDoc.getElementById = sandbox.stub().returns({ id: 'test' }); - mockSelfDoc.getElementsByTagName = sandbox.stub().returns([]); - mockTopWindow.document.getElementsByTagName = sandbox.stub(); - - sandbox.stub(utils, 'canAccessWindowTop').returns(true); - sandbox.stub(utils, 'getWindowTop').returns(mockTopWindow); - sandbox.stub(utils, 'getWindowSelf').returns(mockSelfWindow); - sandbox.stub(utils, 'cleanObj').callsFake(obj => obj); - getBoundingClientRectStub = sandbox.stub(boundingClientRectLib, 'getBoundingClientRect'); - percentInViewStub = sandbox.stub(percentInViewLib, 'getViewability').returns(0); - }); - - it('should return frame offset of 0 when not in iframe (topWin === selfWin)', function () { - sandbox.restore(); - sandbox = sinon.createSandbox(); - - const sameDoc = { - getElementById: sandbox.stub().returns({ id: 'test' }), - getElementsByTagName: sandbox.stub().returns([]), - body: { scrollHeight: 2000, offsetHeight: 1800 }, - documentElement: { clientHeight: 1900, scrollHeight: 2100, offsetHeight: 1950 } - }; - const sameWindow = { - innerHeight: 800, - document: sameDoc - }; - sandbox.stub(utils, 'canAccessWindowTop').returns(true); - sandbox.stub(utils, 'getWindowTop').returns(sameWindow); - sandbox.stub(utils, 'getWindowSelf').returns(sameWindow); - sandbox.stub(utils, 'cleanObj').callsFake(obj => obj); - sandbox.stub(boundingClientRectLib, 'getBoundingClientRect').returns({ - top: 100, bottom: 200, height: 100 - }); - sandbox.stub(percentInViewLib, 'getViewability').returns(0); - - const placementUtils = getPlacementPositionUtils(); - const result = placementUtils.getPlacementInfo({ - adUnitCode: 'test', - sizes: [[300, 250]] - }); - - assert.strictEqual(result.DistanceToView, 0); + beforeEach(() => { + mockDocument.getElementById = sandbox.stub().returns({id: 'test'}); + mockWindow.innerHeight = 1000; + mockDocument.body = { + scrollHeight: 2000, offsetHeight: 1800 + } + mockDocument.documentElement = { clientHeight: 1900, scrollHeight: 2100, offsetHeight: 1950 } }); - it('should apply iframe offset when running inside a friendly iframe', function () { - iframeTop = 200; - mockTopWindow.document.getElementsByTagName.returns([mockIframe]); + viewportOffset = {y: 200}; getBoundingClientRectStub.callsFake((el) => { - if (el === mockIframe) return { top: iframeTop }; return { top: 100, bottom: 200, height: 100 }; }); @@ -487,11 +424,9 @@ describe('placementPositionInfo', function () { }); it('should calculate correct distance when element is below viewport with iframe offset', function () { - iframeTop = 500; - mockTopWindow.document.getElementsByTagName.returns([mockIframe]); + viewportOffset = {y: 500}; getBoundingClientRectStub.callsFake((el) => { - if (el === mockIframe) return { top: iframeTop }; return { top: 600, bottom: 700, height: 100 }; }); @@ -505,11 +440,9 @@ describe('placementPositionInfo', function () { }); it('should calculate negative distance when element is above viewport with iframe offset', function () { - iframeTop = -600; - mockTopWindow.document.getElementsByTagName.returns([mockIframe]); + viewportOffset = {y: -600}; getBoundingClientRectStub.callsFake((el) => { - if (el === mockIframe) return { top: iframeTop }; return { top: 100, bottom: 200, height: 100 }; }); @@ -521,221 +454,5 @@ describe('placementPositionInfo', function () { assert.strictEqual(result.DistanceToView, -400); }); - - it('should return frame offset of 0 when iframe is not found', function () { - mockTopWindow.document.getElementsByTagName.returns([]); - - getBoundingClientRectStub.returns({ - top: 100, bottom: 200, height: 100 - }); - - const placementUtils = getPlacementPositionUtils(); - const result = placementUtils.getPlacementInfo({ - adUnitCode: 'test', - sizes: [[300, 250]] - }); - - assert.strictEqual(result.DistanceToView, 0); - }); - - it('should return frame offset of 0 when getElementsByTagName throws', function () { - mockTopWindow.document.getElementsByTagName.throws(new Error('Access denied')); - - getBoundingClientRectStub.returns({ - top: 100, bottom: 200, height: 100 - }); - - const placementUtils = getPlacementPositionUtils(); - const result = placementUtils.getPlacementInfo({ - adUnitCode: 'test', - sizes: [[300, 250]] - }); - - assert.strictEqual(result.DistanceToView, 0); - }); - - it('should use top window viewport height for distance calculation', function () { - iframeTop = 0; - mockTopWindow.document.getElementsByTagName.returns([mockIframe]); - - getBoundingClientRectStub.callsFake((el) => { - if (el === mockIframe) return { top: iframeTop }; - return { top: 1200, bottom: 1300, height: 100 }; - }); - - const placementUtils = getPlacementPositionUtils(); - const result = placementUtils.getPlacementInfo({ - adUnitCode: 'test', - sizes: [[300, 250]] - }); - - assert.strictEqual(result.DistanceToView, 200); - }); - }); - - describe('FIF scenario: Prebid in parent, element in iframe', function () { - let mockElement; - let mockIframeDoc; - let mockIframeWindow; - let mockIframe; - let mockParentDoc; - let mockParentWindow; - let iframeTop; - - beforeEach(function () { - iframeTop = 200; - mockElement = { id: 'iframe-ad-unit' }; - mockIframeWindow = { innerHeight: 400 }; - mockIframeDoc = { - getElementById: sinon.stub().returns(mockElement), - getElementsByTagName: sinon.stub().returns([]) - }; - mockIframe = { - contentDocument: mockIframeDoc, - contentWindow: mockIframeWindow - }; - - sandbox.restore(); - sandbox = sinon.createSandbox(); - - mockIframeDoc.getElementById = sandbox.stub().returns(mockElement); - mockIframeDoc.getElementsByTagName = sandbox.stub().returns([]); - - mockParentDoc = { - getElementById: sandbox.stub().returns(null), - getElementsByTagName: sandbox.stub().returns([mockIframe]), - body: { scrollHeight: 2000, offsetHeight: 1800 }, - documentElement: { clientHeight: 1900, scrollHeight: 2100, offsetHeight: 1950 } - }; - - mockParentWindow = { - innerHeight: 800, - document: mockParentDoc - }; - - sandbox.stub(utils, 'canAccessWindowTop').returns(true); - sandbox.stub(utils, 'getWindowTop').returns(mockParentWindow); - sandbox.stub(utils, 'getWindowSelf').returns(mockParentWindow); - sandbox.stub(utils, 'cleanObj').callsFake(obj => obj); - - getBoundingClientRectStub = sandbox.stub(boundingClientRectLib, 'getBoundingClientRect'); - percentInViewStub = sandbox.stub(percentInViewLib, 'getViewability').returns(50); - }); - - it('should find element in iframe document when not in current document', function () { - getBoundingClientRectStub.callsFake((el) => { - if (el === mockIframe) return { top: iframeTop }; - return { top: 100, bottom: 200, height: 100 }; - }); - - const placementUtils = getPlacementPositionUtils(); - const result = placementUtils.getPlacementInfo({ - adUnitCode: 'iframe-ad-unit', - sizes: [[300, 250]] - }); - - assert.ok(mockIframeDoc.getElementById.calledWith('iframe-ad-unit')); - assert.strictEqual(result.ElementHeight, 100); - }); - - it('should apply iframe offset when element is in iframe', function () { - iframeTop = 300; - getBoundingClientRectStub.callsFake((el) => { - if (el === mockIframe) return { top: iframeTop }; - return { top: 100, bottom: 200, height: 100 }; - }); - - const placementUtils = getPlacementPositionUtils(); - const result = placementUtils.getPlacementInfo({ - adUnitCode: 'iframe-ad-unit', - sizes: [[300, 250]] - }); - - assert.strictEqual(result.DistanceToView, 0); - }); - - it('should calculate positive distance when element in iframe is below viewport', function () { - iframeTop = 500; - getBoundingClientRectStub.callsFake((el) => { - if (el === mockIframe) return { top: iframeTop }; - return { top: 400, bottom: 500, height: 100 }; - }); - - const placementUtils = getPlacementPositionUtils(); - const result = placementUtils.getPlacementInfo({ - adUnitCode: 'iframe-ad-unit', - sizes: [[300, 250]] - }); - - assert.strictEqual(result.DistanceToView, 100); - }); - - it('should calculate negative distance when element in iframe is above viewport', function () { - iframeTop = -500; - getBoundingClientRectStub.callsFake((el) => { - if (el === mockIframe) return { top: iframeTop }; - return { top: 100, bottom: 200, height: 100 }; - }); - - const placementUtils = getPlacementPositionUtils(); - const result = placementUtils.getPlacementInfo({ - adUnitCode: 'iframe-ad-unit', - sizes: [[300, 250]] - }); - - assert.strictEqual(result.DistanceToView, -300); - }); - - it('should use iframe window for viewability calculation', function () { - getBoundingClientRectStub.callsFake((el) => { - if (el === mockIframe) return { top: iframeTop }; - return { top: 100, bottom: 200, height: 100 }; - }); - - const placementUtils = getPlacementPositionUtils(); - placementUtils.getPlacementInfo({ - adUnitCode: 'iframe-ad-unit', - sizes: [[300, 250]] - }); - - const viewabilityCall = percentInViewStub.getCall(0); - assert.strictEqual(viewabilityCall.args[1], mockIframeWindow); - }); - - it('should skip cross-origin iframes that throw errors', function () { - const crossOriginIframe = { - get contentDocument() { throw new Error('Blocked by CORS'); }, - get contentWindow() { return null; } - }; - mockParentDoc.getElementsByTagName.returns([crossOriginIframe, mockIframe]); - - getBoundingClientRectStub.callsFake((el) => { - if (el === mockIframe) return { top: iframeTop }; - return { top: 100, bottom: 200, height: 100 }; - }); - - const placementUtils = getPlacementPositionUtils(); - const result = placementUtils.getPlacementInfo({ - adUnitCode: 'iframe-ad-unit', - sizes: [[300, 250]] - }); - - assert.strictEqual(result.ElementHeight, 100); - }); - - it('should return default values when element not found anywhere', function () { - mockIframeDoc.getElementById.returns(null); - - getBoundingClientRectStub.returns({ top: 100, bottom: 200, height: 100 }); - - const placementUtils = getPlacementPositionUtils(); - const result = placementUtils.getPlacementInfo({ - adUnitCode: 'non-existent', - sizes: [[300, 250]] - }); - - assert.strictEqual(result.DistanceToView, 0); - assert.strictEqual(result.ElementHeight, 1); - }); }); }); From d31c3447c62f65de9fb5492a8049ec180c7588b3 Mon Sep 17 00:00:00 2001 From: PanxoDev Date: Thu, 12 Feb 2026 11:59:36 +0100 Subject: [PATCH 189/248] Panxo RTD Provider: initial release (#14419) * New module: Panxo RTD Provider Add Panxo RTD submodule that enriches OpenRTB bid requests with real-time AI traffic classification signals through device.ext.panxo and site.ext.data.panxo. * fix: fail open when bridge is unavailable and guard null messages - Flush pending auction callbacks when the implementation bridge cannot be reached, so auctions are never blocked indefinitely. - Guard against null bridge messages to prevent runtime errors. - Add tests for both scenarios. --------- Co-authored-by: Monis Qadri --- modules/.submodules.json | 1 + modules/panxoRtdProvider.js | 227 +++++++++++++ modules/panxoRtdProvider.md | 45 +++ .../eslint/approvedLoadExternalScriptPaths.js | 1 + test/spec/modules/panxoRtdProvider_spec.js | 311 ++++++++++++++++++ 5 files changed, 585 insertions(+) create mode 100644 modules/panxoRtdProvider.js create mode 100644 modules/panxoRtdProvider.md create mode 100644 test/spec/modules/panxoRtdProvider_spec.js diff --git a/modules/.submodules.json b/modules/.submodules.json index d87b73401cd..c6b0db32e78 100644 --- a/modules/.submodules.json +++ b/modules/.submodules.json @@ -118,6 +118,7 @@ "optimeraRtdProvider", "overtoneRtdProvider", "oxxionRtdProvider", + "panxoRtdProvider", "permutiveRtdProvider", "pubmaticRtdProvider", "pubxaiRtdProvider", diff --git a/modules/panxoRtdProvider.js b/modules/panxoRtdProvider.js new file mode 100644 index 00000000000..5865106e564 --- /dev/null +++ b/modules/panxoRtdProvider.js @@ -0,0 +1,227 @@ +/** + * This module adds Panxo AI traffic classification to the real time data module. + * + * The {@link module:modules/realTimeData} module is required. + * The module injects the Panxo signal collection script, enriching bid requests + * with AI traffic classification data and contextual signals for improved targeting. + * @module modules/panxoRtdProvider + * @requires module:modules/realTimeData + */ + +import { submodule } from '../src/hook.js'; +import { + prefixLog, + mergeDeep, + generateUUID, + getWindowSelf, +} from '../src/utils.js'; +import { getRefererInfo } from '../src/refererDetection.js'; +import { getGlobal } from '../src/prebidGlobal.js'; +import { loadExternalScript } from '../src/adloader.js'; +import { MODULE_TYPE_RTD } from '../src/activities/modules.js'; + +/** + * @typedef {import('../modules/rtdModule/index.js').RtdSubmodule} RtdSubmodule + * @typedef {import('../modules/rtdModule/index.js').SubmoduleConfig} SubmoduleConfig + * @typedef {import('../modules/rtdModule/index.js').UserConsentData} UserConsentData + */ + +const SUBMODULE_NAME = 'panxo'; +const SCRIPT_URL = 'https://api.idsequoia.ai/rtd.js'; + +const { logWarn, logError } = prefixLog(`[${SUBMODULE_NAME}]:`); + +/** @type {string} */ +let siteId = ''; + +/** @type {boolean} */ +let verbose = false; + +/** @type {string} */ +let sessionId = ''; + +/** @type {Object} */ +let panxoData = {}; + +/** @type {boolean} */ +let implReady = false; + +/** @type {Array} */ +let pendingCallbacks = []; + +/** + * Submodule registration + */ +function main() { + submodule('realTimeData', /** @type {RtdSubmodule} */ ({ + name: SUBMODULE_NAME, + + init: (config, userConsent) => { + try { + load(config); + return true; + } catch (err) { + logError('init', err.message); + return false; + } + }, + + getBidRequestData: onGetBidRequestData + })); +} + +/** + * Validates configuration and loads the Panxo signal collection script. + * @param {SubmoduleConfig} config + */ +function load(config) { + siteId = config?.params?.siteId || ''; + if (!siteId || typeof siteId !== 'string') { + throw new Error(`The 'siteId' parameter is required and must be a string`); + } + + // siteId is a 16-character hex hash identifying the publisher property + if (!/^[a-f0-9]{16}$/.test(siteId)) { + throw new Error(`The 'siteId' parameter must be a valid 16-character hex identifier`); + } + + // Load/reset the state + verbose = !!config?.params?.verbose; + sessionId = generateUUID(); + panxoData = {}; + implReady = false; + pendingCallbacks = []; + + const refDomain = getRefererInfo().domain || ''; + + // The implementation script uses the session parameter to register + // a bridge API on window['panxo_' + sessionId] + const scriptUrl = `${SCRIPT_URL}?siteId=${siteId}&session=${sessionId}&r=${refDomain}`; + + loadExternalScript(scriptUrl, MODULE_TYPE_RTD, SUBMODULE_NAME, onImplLoaded); +} + +/** + * Callback invoked when the external script finishes loading. + * Establishes the bridge between this RTD submodule and the implementation. + */ +function onImplLoaded() { + const wnd = getWindowSelf(); + const impl = wnd[`panxo_${sessionId}`]; + if (typeof impl !== 'object' || typeof impl.connect !== 'function') { + if (verbose) logWarn('onload', 'Unable to access the implementation script'); + if (!implReady) { + implReady = true; + flushPendingCallbacks(); + } + return; + } + + // Set up the bridge. The callback may be called multiple times as + // more precise signal data becomes available. + impl.connect(getGlobal(), onImplMessage); +} + +/** + * Bridge callback invoked by the implementation script to update signal data. + * When the first signal arrives, flushes any pending auction callbacks so + * the auction can proceed with enriched data. + * @param {Object} msg + */ +function onImplMessage(msg) { + if (!msg || typeof msg !== 'object') { + return; + } + + switch (msg.type) { + case 'signal': { + panxoData = mergeDeep({}, msg.data || {}); + if (!implReady) { + implReady = true; + flushPendingCallbacks(); + } + break; + } + case 'error': { + logError('impl', msg.data || ''); + if (!implReady) { + implReady = true; + flushPendingCallbacks(); + } + break; + } + } +} + +/** + * Flush all pending getBidRequestData callbacks. + * Called when the implementation script sends its first signal. + */ +function flushPendingCallbacks() { + const cbs = pendingCallbacks.splice(0); + cbs.forEach(cb => cb()); +} + +/** + * Called once per auction to enrich bid request ORTB data. + * + * If the implementation script has already sent signal data, enrichment + * happens synchronously and the callback fires immediately. Otherwise the + * callback is deferred until the first signal arrives. The Prebid RTD + * framework enforces `auctionDelay` as the upper bound on this wait, so + * the auction is never blocked indefinitely. + * + * Adds the following fields: + * - device.ext.panxo: session signal token for traffic verification + * - site.ext.data.panxo: contextual AI traffic classification data + * + * @param {Object} reqBidsConfigObj + * @param {function} callback + * @param {SubmoduleConfig} config + * @param {UserConsentData} userConsent + */ +function onGetBidRequestData(reqBidsConfigObj, callback, config, userConsent) { + function enrichAndDone() { + const ortb2 = {}; + + // Add device-level signal (opaque session token) + if (panxoData.device) { + mergeDeep(ortb2, { device: { ext: { panxo: panxoData.device } } }); + } + + // Add site-level contextual data (AI classification) + if (panxoData.site && Object.keys(panxoData.site).length > 0) { + mergeDeep(ortb2, { site: { ext: { data: { panxo: panxoData.site } } } }); + } + + mergeDeep(reqBidsConfigObj.ortb2Fragments.global, ortb2); + callback(); + } + + // If data already arrived, proceed immediately + if (implReady) { + enrichAndDone(); + return; + } + + // Otherwise, wait for the implementation script to send its first signal. + // The auctionDelay configured by the publisher (e.g. 1500ms) acts as the + // maximum wait time -- Prebid will call our callback when it expires. + pendingCallbacks.push(enrichAndDone); +} + +/** + * Exporting local functions for testing purposes. + */ +export const __TEST__ = { + SUBMODULE_NAME, + SCRIPT_URL, + main, + load, + onImplLoaded, + onImplMessage, + onGetBidRequestData, + flushPendingCallbacks +}; + +main(); diff --git a/modules/panxoRtdProvider.md b/modules/panxoRtdProvider.md new file mode 100644 index 00000000000..bc9be90d152 --- /dev/null +++ b/modules/panxoRtdProvider.md @@ -0,0 +1,45 @@ +# Overview + +``` +Module Name: Panxo RTD Provider +Module Type: RTD Provider +Maintainer: prebid@panxo.ai +``` + +# Description + +The Panxo RTD module enriches OpenRTB bid requests with real-time AI traffic classification signals. It detects visits originating from AI assistants and provides contextual data through `device.ext.panxo` and `site.ext.data.panxo`, enabling the Panxo Bid Adapter and other demand partners to apply differentiated bidding on AI-referred inventory. + +To use this module, contact [publishers@panxo.ai](mailto:publishers@panxo.ai) or sign up at [app.panxo.com](https://app.panxo.com) to receive your property identifier. + +# Build + +```bash +gulp build --modules=rtdModule,panxoRtdProvider,... +``` + +> `rtdModule` is required to use the Panxo RTD module. + +# Configuration + +```javascript +pbjs.setConfig({ + realTimeData: { + auctionDelay: 300, + dataProviders: [{ + name: 'panxo', + waitForIt: true, + params: { + siteId: 'a1b2c3d4e5f67890' + } + }] + } +}); +``` + +## Parameters + +| Name | Type | Description | Required | +| :-------- | :------ | :----------------------------------------------------- | :------- | +| `siteId` | String | 16-character hex property identifier provided by Panxo | Yes | +| `verbose` | Boolean | Enable verbose logging for troubleshooting | No | diff --git a/plugins/eslint/approvedLoadExternalScriptPaths.js b/plugins/eslint/approvedLoadExternalScriptPaths.js index 95552535439..0eab8545924 100644 --- a/plugins/eslint/approvedLoadExternalScriptPaths.js +++ b/plugins/eslint/approvedLoadExternalScriptPaths.js @@ -32,6 +32,7 @@ const APPROVED_LOAD_EXTERNAL_SCRIPT_PATHS = [ 'modules/anonymisedRtdProvider.js', 'modules/optableRtdProvider.js', 'modules/oftmediaRtdProvider.js', + 'modules/panxoRtdProvider.js', // UserId Submodules 'modules/justIdSystem.js', 'modules/tncIdSystem.js', diff --git a/test/spec/modules/panxoRtdProvider_spec.js b/test/spec/modules/panxoRtdProvider_spec.js new file mode 100644 index 00000000000..d3e0cbe12bf --- /dev/null +++ b/test/spec/modules/panxoRtdProvider_spec.js @@ -0,0 +1,311 @@ +import { loadExternalScriptStub } from 'test/mocks/adloaderStub.js'; + +import * as utils from '../../../src/utils.js'; +import * as hook from '../../../src/hook.js'; +import * as refererDetection from '../../../src/refererDetection.js'; + +import { __TEST__ } from '../../../modules/panxoRtdProvider.js'; + +const { + SUBMODULE_NAME, + SCRIPT_URL, + main, + load, + onImplLoaded, + onImplMessage, + onGetBidRequestData, + flushPendingCallbacks +} = __TEST__; + +describe('panxo RTD module', function () { + let sandbox; + + const stubUuid = 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee'; + const panxoBridgeId = `panxo_${stubUuid}`; + const stubWindow = { [panxoBridgeId]: undefined }; + + const validSiteId = 'a1b2c3d4e5f67890'; + + beforeEach(function() { + sandbox = sinon.createSandbox(); + sandbox.stub(utils, 'getWindowSelf').returns(stubWindow); + sandbox.stub(utils, 'generateUUID').returns(stubUuid); + sandbox.stub(refererDetection, 'getRefererInfo').returns({ domain: 'example.com' }); + }); + afterEach(function() { + sandbox.restore(); + }); + + describe('Initialization step', function () { + let sandbox2; + let connectSpy; + beforeEach(function() { + sandbox2 = sinon.createSandbox(); + connectSpy = sandbox.spy(); + // Simulate: once the impl script is loaded, it registers the bridge API + sandbox2.stub(stubWindow, panxoBridgeId).value({ connect: connectSpy }); + }); + afterEach(function () { + sandbox2.restore(); + }); + + it('should accept valid configuration with siteId', function () { + expect(() => load({ params: { siteId: validSiteId } })).to.not.throw(); + }); + + it('should throw an Error when siteId is missing', function () { + expect(() => load({})).to.throw(); + expect(() => load({ params: {} })).to.throw(); + expect(() => load({ params: { siteId: '' } })).to.throw(); + }); + + it('should throw an Error when siteId is not a valid hex string', function () { + expect(() => load({ params: { siteId: 'abc' } })).to.throw(); + expect(() => load({ params: { siteId: 123 } })).to.throw(); + expect(() => load({ params: { siteId: 'zzzzzzzzzzzzzzzz' } })).to.throw(); + expect(() => load({ params: { siteId: 'a1b2c3d4e5f6789' } })).to.throw(); // 15 chars + expect(() => load({ params: { siteId: 'a1b2c3d4e5f678901' } })).to.throw(); // 17 chars + }); + + it('should insert implementation script with correct URL', () => { + load({ params: { siteId: validSiteId } }); + + expect(loadExternalScriptStub.calledOnce).to.be.true; + + const args = loadExternalScriptStub.getCall(0).args; + expect(args[0]).to.be.equal( + `${SCRIPT_URL}?siteId=${validSiteId}&session=${stubUuid}&r=example.com` + ); + expect(args[2]).to.be.equal(SUBMODULE_NAME); + expect(args[3]).to.be.equal(onImplLoaded); + }); + + it('should connect to the implementation script once it loads', function () { + load({ params: { siteId: validSiteId } }); + + expect(loadExternalScriptStub.calledOnce).to.be.true; + expect(connectSpy.calledOnce).to.be.true; + + const args = connectSpy.getCall(0).args; + expect(args[0]).to.haveOwnProperty('cmd'); // pbjs global + expect(args[0]).to.haveOwnProperty('que'); + expect(args[1]).to.be.equal(onImplMessage); + }); + + it('should flush pending callbacks when bridge is unavailable', function () { + sandbox2.restore(); + // Bridge is not registered on the window -- onImplLoaded should fail open + sandbox2 = sinon.createSandbox(); + sandbox2.stub(stubWindow, panxoBridgeId).value(undefined); + + load({ params: { siteId: validSiteId } }); + + const callbackSpy = sandbox2.spy(); + const reqBidsConfig = { ortb2Fragments: { bidder: {}, global: {} } }; + + // Queue a callback before bridge fails + onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); + // onImplLoaded already ran (bridge undefined) and flushed + expect(callbackSpy.calledOnce).to.be.true; + }); + + it('should not throw when bridge message is null', function () { + load({ params: { siteId: validSiteId } }); + expect(() => onImplMessage(null)).to.not.throw(); + expect(() => onImplMessage(undefined)).to.not.throw(); + }); + }); + + describe('Bid enrichment step', function () { + const signalData = { + device: { v1: 'session-token-123' }, + site: { ai: true, src: 'chatgpt', conf: 0.95, seg: 'technology', co: 'US' } + }; + + let sandbox2; + let callbackSpy; + let reqBidsConfig; + beforeEach(function() { + sandbox2 = sinon.createSandbox(); + callbackSpy = sandbox2.spy(); + reqBidsConfig = { ortb2Fragments: { bidder: {}, global: {} } }; + // Prevent onImplLoaded from firing automatically so tests can + // control module readiness via onImplMessage directly. + loadExternalScriptStub.callsFake(() => {}); + }); + afterEach(function () { + loadExternalScriptStub.reset(); + sandbox2.restore(); + }); + + it('should defer callback when implementation has not sent a signal yet', () => { + load({ params: { siteId: validSiteId } }); + + onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); + + // Callback is deferred until the implementation script sends its first signal + expect(callbackSpy.notCalled).to.be.true; + }); + + it('should flush deferred callback once a signal arrives', () => { + load({ params: { siteId: validSiteId } }); + + onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); + expect(callbackSpy.notCalled).to.be.true; + + // First signal arrives -- deferred callback should now fire + onImplMessage({ type: 'signal', data: { device: { v1: 'tok' }, site: {} } }); + expect(callbackSpy.calledOnce).to.be.true; + }); + + it('should flush all deferred callbacks when the first signal arrives', () => { + load({ params: { siteId: validSiteId } }); + + const spy1 = sandbox2.spy(); + const spy2 = sandbox2.spy(); + const cfg1 = { ortb2Fragments: { bidder: {}, global: {} } }; + const cfg2 = { ortb2Fragments: { bidder: {}, global: {} } }; + + onGetBidRequestData(cfg1, spy1, { params: {} }, {}); + onGetBidRequestData(cfg2, spy2, { params: {} }, {}); + expect(spy1.notCalled).to.be.true; + expect(spy2.notCalled).to.be.true; + + onImplMessage({ type: 'signal', data: { device: { v1: 'tok' }, site: {} } }); + expect(spy1.calledOnce).to.be.true; + expect(spy2.calledOnce).to.be.true; + }); + + it('should call callback immediately once implementation is ready', () => { + load({ params: { siteId: validSiteId } }); + + // Mark implementation as ready via a signal + onImplMessage({ type: 'signal', data: { device: { v1: 'tok' }, site: {} } }); + + // Subsequent calls should resolve immediately + onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); + expect(callbackSpy.calledOnce).to.be.true; + }); + + it('should call callback when implementation reports an error', () => { + load({ params: { siteId: validSiteId } }); + + onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); + expect(callbackSpy.notCalled).to.be.true; + + // An error still unblocks the auction + onImplMessage({ type: 'error', data: 'some error' }); + expect(callbackSpy.calledOnce).to.be.true; + // No device or site should be added since panxoData is empty + }); + + it('should add device.ext.panxo with session token when signal is received', () => { + load({ params: { siteId: validSiteId } }); + + onImplMessage({ type: 'signal', data: signalData }); + onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); + + expect(callbackSpy.calledOnce).to.be.true; + expect(reqBidsConfig.ortb2Fragments.global).to.have.own.property('device'); + expect(reqBidsConfig.ortb2Fragments.global.device).to.have.own.property('ext'); + expect(reqBidsConfig.ortb2Fragments.global.device.ext).to.have.own.property('panxo') + .which.is.an('object') + .that.deep.equals(signalData.device); + }); + + it('should add site.ext.data.panxo with AI classification data', () => { + load({ params: { siteId: validSiteId } }); + + onImplMessage({ type: 'signal', data: signalData }); + onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); + + expect(callbackSpy.calledOnce).to.be.true; + expect(reqBidsConfig.ortb2Fragments.global).to.have.own.property('site'); + expect(reqBidsConfig.ortb2Fragments.global.site).to.have.own.property('ext'); + expect(reqBidsConfig.ortb2Fragments.global.site.ext).to.have.own.property('data'); + expect(reqBidsConfig.ortb2Fragments.global.site.ext.data).to.have.own.property('panxo') + .which.is.an('object') + .that.deep.equals(signalData.site); + }); + + it('should update panxo data when new signal is received', () => { + load({ params: { siteId: validSiteId } }); + + const updatedData = { + device: { v1: 'updated-token' }, + site: { ai: true, src: 'perplexity', conf: 0.88, seg: 'finance', co: 'UK' } + }; + + onImplMessage({ type: 'signal', data: { device: { v1: 'old-token' }, site: {} } }); + onImplMessage({ type: 'signal', data: updatedData }); + onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); + + expect(callbackSpy.calledOnce).to.be.true; + expect(reqBidsConfig.ortb2Fragments.global.device.ext.panxo) + .to.deep.equal(updatedData.device); + expect(reqBidsConfig.ortb2Fragments.global.site.ext.data.panxo) + .to.deep.equal(updatedData.site); + }); + + it('should not add site data when site object is empty', () => { + load({ params: { siteId: validSiteId } }); + + onImplMessage({ type: 'signal', data: { device: { v1: 'token' }, site: {} } }); + onGetBidRequestData(reqBidsConfig, callbackSpy, { params: {} }, {}); + + expect(callbackSpy.calledOnce).to.be.true; + expect(reqBidsConfig.ortb2Fragments.global.device.ext.panxo) + .to.deep.equal({ v1: 'token' }); + // site should not have panxo data since it was empty + expect(reqBidsConfig.ortb2Fragments.global).to.not.have.own.property('site'); + }); + }); + + describe('Submodule execution', function() { + let sandbox2; + let submoduleStub; + beforeEach(function() { + sandbox2 = sinon.createSandbox(); + submoduleStub = sandbox2.stub(hook, 'submodule'); + }); + afterEach(function () { + sandbox2.restore(); + }); + + function getModule() { + main(); + + expect(submoduleStub.calledOnceWith('realTimeData')).to.equal(true); + + const submoduleDef = submoduleStub.getCall(0).args[1]; + expect(submoduleDef).to.be.an('object'); + expect(submoduleDef).to.have.own.property('name', SUBMODULE_NAME); + expect(submoduleDef).to.have.own.property('init').that.is.a('function'); + expect(submoduleDef).to.have.own.property('getBidRequestData').that.is.a('function'); + + return submoduleDef; + } + + it('should register panxo RTD submodule provider', function () { + getModule(); + }); + + it('should refuse initialization when siteId is missing', function () { + const { init } = getModule(); + expect(init({ params: {} })).to.equal(false); + expect(loadExternalScriptStub.notCalled).to.be.true; + }); + + it('should refuse initialization when siteId is invalid', function () { + const { init } = getModule(); + expect(init({ params: { siteId: 'invalid' } })).to.equal(false); + expect(loadExternalScriptStub.notCalled).to.be.true; + }); + + it('should commence initialization with valid siteId', function () { + const { init } = getModule(); + expect(init({ params: { siteId: validSiteId } })).to.equal(true); + expect(loadExternalScriptStub.calledOnce).to.be.true; + }); + }); +}); From 79d4aa6857e9273e8ccba4fad105e094fbcdd518 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Thu, 12 Feb 2026 04:28:47 -0800 Subject: [PATCH 190/248] Core: remove type declaration for `getStatusCode` (#14431) * Core: reintroduce bidResponse.getStatusCode * Revert "Core: reintroduce bidResponse.getStatusCode" This reverts commit dcf61ba5614144355f0f0b3a9c3764e618802265. * Core: remove getStatusCode typing --- src/bidfactory.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bidfactory.ts b/src/bidfactory.ts index b87d3b14a26..8ce6bda3f23 100644 --- a/src/bidfactory.ts +++ b/src/bidfactory.ts @@ -135,7 +135,6 @@ export interface BaseBid extends ContextIdentifiers, Required Date: Thu, 12 Feb 2026 16:04:25 +0000 Subject: [PATCH 191/248] Prebid 10.25.0 release --- .../gpt/x-domain/creative.html | 2 +- metadata/modules.json | 34 +++++++++++++++++++ metadata/modules/33acrossBidAdapter.json | 2 +- metadata/modules/33acrossIdSystem.json | 2 +- metadata/modules/acuityadsBidAdapter.json | 2 +- metadata/modules/adagioBidAdapter.json | 2 +- metadata/modules/adagioRtdProvider.json | 2 +- metadata/modules/adbroBidAdapter.json | 2 +- metadata/modules/addefendBidAdapter.json | 2 +- metadata/modules/adfBidAdapter.json | 2 +- metadata/modules/adfusionBidAdapter.json | 2 +- metadata/modules/adheseBidAdapter.json | 2 +- metadata/modules/adkernelAdnBidAdapter.json | 2 +- metadata/modules/adkernelBidAdapter.json | 10 +++--- metadata/modules/admaticBidAdapter.json | 4 +-- metadata/modules/admixerBidAdapter.json | 2 +- metadata/modules/admixerIdSystem.json | 2 +- metadata/modules/adnowBidAdapter.json | 2 +- metadata/modules/adnuntiusBidAdapter.json | 2 +- metadata/modules/adnuntiusRtdProvider.json | 2 +- metadata/modules/adoceanBidAdapter.json | 2 +- metadata/modules/adotBidAdapter.json | 2 +- metadata/modules/adponeBidAdapter.json | 2 +- metadata/modules/adqueryBidAdapter.json | 2 +- metadata/modules/adqueryIdSystem.json | 2 +- metadata/modules/adrinoBidAdapter.json | 2 +- .../modules/ads_interactiveBidAdapter.json | 2 +- metadata/modules/adtargetBidAdapter.json | 2 +- metadata/modules/adtelligentBidAdapter.json | 6 ++-- metadata/modules/adtelligentIdSystem.json | 2 +- metadata/modules/aduptechBidAdapter.json | 2 +- metadata/modules/adyoulikeBidAdapter.json | 2 +- metadata/modules/airgridRtdProvider.json | 2 +- metadata/modules/alkimiBidAdapter.json | 2 +- metadata/modules/allegroBidAdapter.json | 2 +- metadata/modules/amxBidAdapter.json | 2 +- metadata/modules/amxIdSystem.json | 2 +- metadata/modules/aniviewBidAdapter.json | 2 +- metadata/modules/anonymisedRtdProvider.json | 6 ++-- metadata/modules/appStockSSPBidAdapter.json | 2 +- metadata/modules/appierBidAdapter.json | 2 +- metadata/modules/appnexusBidAdapter.json | 8 ++--- metadata/modules/apsBidAdapter.json | 2 +- metadata/modules/apstreamBidAdapter.json | 2 +- metadata/modules/audiencerunBidAdapter.json | 2 +- metadata/modules/axisBidAdapter.json | 2 +- metadata/modules/azerionedgeRtdProvider.json | 2 +- metadata/modules/beachfrontBidAdapter.json | 2 +- metadata/modules/beopBidAdapter.json | 2 +- metadata/modules/betweenBidAdapter.json | 2 +- metadata/modules/bidfuseBidAdapter.json | 2 +- metadata/modules/bidmaticBidAdapter.json | 2 +- metadata/modules/bidtheatreBidAdapter.json | 2 +- metadata/modules/bliinkBidAdapter.json | 2 +- metadata/modules/blockthroughBidAdapter.json | 2 +- metadata/modules/blueBidAdapter.json | 2 +- metadata/modules/bmsBidAdapter.json | 2 +- metadata/modules/boldwinBidAdapter.json | 2 +- metadata/modules/bridBidAdapter.json | 2 +- metadata/modules/browsiBidAdapter.json | 2 +- metadata/modules/bucksenseBidAdapter.json | 2 +- metadata/modules/carodaBidAdapter.json | 2 +- metadata/modules/categoryTranslation.json | 2 +- metadata/modules/ceeIdSystem.json | 2 +- metadata/modules/chromeAiRtdProvider.json | 2 +- metadata/modules/clickioBidAdapter.json | 2 +- metadata/modules/compassBidAdapter.json | 2 +- metadata/modules/conceptxBidAdapter.json | 2 +- metadata/modules/connatixBidAdapter.json | 2 +- metadata/modules/connectIdSystem.json | 2 +- metadata/modules/connectadBidAdapter.json | 2 +- .../modules/contentexchangeBidAdapter.json | 2 +- metadata/modules/conversantBidAdapter.json | 2 +- metadata/modules/copper6sspBidAdapter.json | 2 +- metadata/modules/cpmstarBidAdapter.json | 2 +- metadata/modules/criteoBidAdapter.json | 2 +- metadata/modules/criteoIdSystem.json | 2 +- metadata/modules/cwireBidAdapter.json | 2 +- metadata/modules/czechAdIdSystem.json | 2 +- metadata/modules/dailymotionBidAdapter.json | 2 +- metadata/modules/debugging.json | 2 +- metadata/modules/deepintentBidAdapter.json | 2 +- metadata/modules/defineMediaBidAdapter.json | 2 +- metadata/modules/deltaprojectsBidAdapter.json | 2 +- metadata/modules/dianomiBidAdapter.json | 2 +- metadata/modules/digitalMatterBidAdapter.json | 2 +- metadata/modules/distroscaleBidAdapter.json | 2 +- .../modules/docereeAdManagerBidAdapter.json | 2 +- metadata/modules/docereeBidAdapter.json | 2 +- metadata/modules/dspxBidAdapter.json | 2 +- metadata/modules/e_volutionBidAdapter.json | 2 +- metadata/modules/edge226BidAdapter.json | 2 +- metadata/modules/empowerBidAdapter.json | 2 +- metadata/modules/equativBidAdapter.json | 2 +- metadata/modules/eskimiBidAdapter.json | 2 +- metadata/modules/etargetBidAdapter.json | 2 +- metadata/modules/euidIdSystem.json | 2 +- metadata/modules/exadsBidAdapter.json | 2 +- metadata/modules/feedadBidAdapter.json | 2 +- metadata/modules/fwsspBidAdapter.json | 2 +- metadata/modules/gamoshiBidAdapter.json | 2 +- metadata/modules/gemiusIdSystem.json | 2 +- metadata/modules/glomexBidAdapter.json | 2 +- metadata/modules/goldbachBidAdapter.json | 2 +- metadata/modules/gridBidAdapter.json | 2 +- metadata/modules/gumgumBidAdapter.json | 2 +- metadata/modules/hadronIdSystem.json | 2 +- metadata/modules/hadronRtdProvider.json | 2 +- metadata/modules/holidBidAdapter.json | 2 +- metadata/modules/hybridBidAdapter.json | 2 +- metadata/modules/id5IdSystem.json | 2 +- metadata/modules/identityLinkIdSystem.json | 2 +- metadata/modules/illuminBidAdapter.json | 2 +- metadata/modules/impactifyBidAdapter.json | 2 +- .../modules/improvedigitalBidAdapter.json | 2 +- metadata/modules/inmobiBidAdapter.json | 2 +- metadata/modules/insticatorBidAdapter.json | 2 +- metadata/modules/intentIqIdSystem.json | 2 +- metadata/modules/invibesBidAdapter.json | 2 +- metadata/modules/ipromBidAdapter.json | 2 +- metadata/modules/ixBidAdapter.json | 2 +- metadata/modules/justIdSystem.json | 2 +- metadata/modules/justpremiumBidAdapter.json | 2 +- metadata/modules/jwplayerBidAdapter.json | 2 +- metadata/modules/kargoBidAdapter.json | 2 +- metadata/modules/kueezRtbBidAdapter.json | 2 +- .../modules/limelightDigitalBidAdapter.json | 4 +-- metadata/modules/liveIntentIdSystem.json | 2 +- metadata/modules/liveIntentRtdProvider.json | 2 +- metadata/modules/livewrappedBidAdapter.json | 2 +- metadata/modules/locIdSystem.json | 20 +++++++++++ metadata/modules/loopmeBidAdapter.json | 2 +- metadata/modules/lotamePanoramaIdSystem.json | 2 +- metadata/modules/luponmediaBidAdapter.json | 2 +- metadata/modules/madvertiseBidAdapter.json | 2 +- metadata/modules/marsmediaBidAdapter.json | 2 +- .../modules/mediaConsortiumBidAdapter.json | 2 +- metadata/modules/mediaforceBidAdapter.json | 2 +- metadata/modules/mediafuseBidAdapter.json | 2 +- metadata/modules/mediagoBidAdapter.json | 2 +- metadata/modules/mediakeysBidAdapter.json | 2 +- metadata/modules/medianetBidAdapter.json | 4 +-- metadata/modules/mediasquareBidAdapter.json | 2 +- metadata/modules/mgidBidAdapter.json | 2 +- metadata/modules/mgidRtdProvider.json | 2 +- metadata/modules/mgidXBidAdapter.json | 2 +- metadata/modules/mileBidAdapter.json | 13 +++++++ metadata/modules/minutemediaBidAdapter.json | 2 +- metadata/modules/missenaBidAdapter.json | 2 +- metadata/modules/mobianRtdProvider.json | 2 +- metadata/modules/msftBidAdapter.json | 2 +- metadata/modules/nativeryBidAdapter.json | 2 +- metadata/modules/nativoBidAdapter.json | 2 +- metadata/modules/newspassidBidAdapter.json | 2 +- .../modules/nextMillenniumBidAdapter.json | 2 +- metadata/modules/nextrollBidAdapter.json | 2 +- metadata/modules/nexx360BidAdapter.json | 12 +++---- metadata/modules/nobidBidAdapter.json | 2 +- metadata/modules/nodalsAiRtdProvider.json | 2 +- metadata/modules/novatiqIdSystem.json | 2 +- metadata/modules/oguryBidAdapter.json | 2 +- metadata/modules/omnidexBidAdapter.json | 2 +- metadata/modules/omsBidAdapter.json | 2 +- metadata/modules/onetagBidAdapter.json | 2 +- metadata/modules/openwebBidAdapter.json | 2 +- metadata/modules/openxBidAdapter.json | 2 +- metadata/modules/operaadsBidAdapter.json | 2 +- metadata/modules/optidigitalBidAdapter.json | 2 +- metadata/modules/optoutBidAdapter.json | 2 +- metadata/modules/orbidderBidAdapter.json | 2 +- metadata/modules/outbrainBidAdapter.json | 2 +- metadata/modules/ozoneBidAdapter.json | 2 +- metadata/modules/pairIdSystem.json | 2 +- metadata/modules/panxoBidAdapter.json | 2 +- metadata/modules/panxoRtdProvider.json | 12 +++++++ metadata/modules/performaxBidAdapter.json | 2 +- .../permutiveIdentityManagerIdSystem.json | 2 +- metadata/modules/permutiveRtdProvider.json | 2 +- metadata/modules/pixfutureBidAdapter.json | 2 +- metadata/modules/playdigoBidAdapter.json | 2 +- metadata/modules/prebid-core.json | 9 +++-- metadata/modules/precisoBidAdapter.json | 2 +- metadata/modules/prismaBidAdapter.json | 2 +- metadata/modules/programmaticXBidAdapter.json | 2 +- metadata/modules/proxistoreBidAdapter.json | 2 +- metadata/modules/publinkIdSystem.json | 2 +- metadata/modules/pubmaticBidAdapter.json | 2 +- metadata/modules/pubmaticIdSystem.json | 2 +- metadata/modules/pulsepointBidAdapter.json | 2 +- metadata/modules/quantcastBidAdapter.json | 2 +- metadata/modules/quantcastIdSystem.json | 2 +- metadata/modules/r2b2BidAdapter.json | 2 +- metadata/modules/readpeakBidAdapter.json | 2 +- metadata/modules/relayBidAdapter.json | 4 +-- .../modules/relevantdigitalBidAdapter.json | 2 +- metadata/modules/resetdigitalBidAdapter.json | 2 +- metadata/modules/responsiveAdsBidAdapter.json | 2 +- metadata/modules/revnewBidAdapter.json | 2 +- metadata/modules/rhythmoneBidAdapter.json | 2 +- metadata/modules/richaudienceBidAdapter.json | 2 +- metadata/modules/riseBidAdapter.json | 4 +-- metadata/modules/rixengineBidAdapter.json | 2 +- metadata/modules/rtbhouseBidAdapter.json | 2 +- metadata/modules/rubiconBidAdapter.json | 2 +- metadata/modules/scaliburBidAdapter.json | 2 +- metadata/modules/screencoreBidAdapter.json | 2 +- .../modules/seedingAllianceBidAdapter.json | 2 +- metadata/modules/seedtagBidAdapter.json | 2 +- metadata/modules/semantiqRtdProvider.json | 2 +- metadata/modules/setupadBidAdapter.json | 2 +- metadata/modules/sevioBidAdapter.json | 2 +- metadata/modules/sharedIdSystem.json | 2 +- metadata/modules/sharethroughBidAdapter.json | 2 +- metadata/modules/showheroes-bsBidAdapter.json | 2 +- metadata/modules/silvermobBidAdapter.json | 2 +- metadata/modules/sirdataRtdProvider.json | 2 +- metadata/modules/smaatoBidAdapter.json | 2 +- metadata/modules/smartadserverBidAdapter.json | 2 +- metadata/modules/smartxBidAdapter.json | 2 +- metadata/modules/smartyadsBidAdapter.json | 2 +- metadata/modules/smilewantedBidAdapter.json | 2 +- metadata/modules/snigelBidAdapter.json | 2 +- metadata/modules/sonaradsBidAdapter.json | 2 +- metadata/modules/sonobiBidAdapter.json | 2 +- metadata/modules/sovrnBidAdapter.json | 2 +- metadata/modules/sparteoBidAdapter.json | 2 +- metadata/modules/ssmasBidAdapter.json | 2 +- metadata/modules/sspBCBidAdapter.json | 2 +- metadata/modules/stackadaptBidAdapter.json | 2 +- metadata/modules/startioBidAdapter.json | 2 +- metadata/modules/stroeerCoreBidAdapter.json | 2 +- metadata/modules/stvBidAdapter.json | 2 +- metadata/modules/sublimeBidAdapter.json | 2 +- metadata/modules/taboolaBidAdapter.json | 2 +- metadata/modules/taboolaIdSystem.json | 2 +- metadata/modules/tadvertisingBidAdapter.json | 2 +- metadata/modules/tappxBidAdapter.json | 2 +- metadata/modules/targetVideoBidAdapter.json | 2 +- metadata/modules/teadsBidAdapter.json | 2 +- metadata/modules/teadsIdSystem.json | 2 +- metadata/modules/tealBidAdapter.json | 2 +- metadata/modules/tncIdSystem.json | 2 +- metadata/modules/topicsFpdModule.json | 2 +- metadata/modules/toponBidAdapter.json | 2 +- metadata/modules/tripleliftBidAdapter.json | 2 +- metadata/modules/ttdBidAdapter.json | 2 +- metadata/modules/twistDigitalBidAdapter.json | 2 +- metadata/modules/underdogmediaBidAdapter.json | 2 +- metadata/modules/undertoneBidAdapter.json | 2 +- metadata/modules/unifiedIdSystem.json | 2 +- metadata/modules/unrulyBidAdapter.json | 2 +- metadata/modules/userId.json | 2 +- metadata/modules/utiqIdSystem.json | 2 +- metadata/modules/utiqMtpIdSystem.json | 2 +- metadata/modules/validationFpdModule.json | 2 +- metadata/modules/valuadBidAdapter.json | 2 +- metadata/modules/vidazooBidAdapter.json | 2 +- metadata/modules/vidoomyBidAdapter.json | 2 +- metadata/modules/viouslyBidAdapter.json | 2 +- metadata/modules/visxBidAdapter.json | 2 +- metadata/modules/vlybyBidAdapter.json | 2 +- metadata/modules/voxBidAdapter.json | 2 +- metadata/modules/vrtcalBidAdapter.json | 2 +- metadata/modules/vuukleBidAdapter.json | 2 +- metadata/modules/weboramaRtdProvider.json | 2 +- metadata/modules/welectBidAdapter.json | 2 +- metadata/modules/yahooAdsBidAdapter.json | 2 +- metadata/modules/yaleoBidAdapter.json | 18 ++++++++++ metadata/modules/yieldlabBidAdapter.json | 2 +- metadata/modules/yieldloveBidAdapter.json | 2 +- metadata/modules/yieldmoBidAdapter.json | 2 +- metadata/modules/zeotapIdPlusIdSystem.json | 2 +- metadata/modules/zeta_globalBidAdapter.json | 2 +- .../modules/zeta_global_sspBidAdapter.json | 2 +- package-lock.json | 4 +-- package.json | 2 +- 276 files changed, 396 insertions(+), 294 deletions(-) create mode 100644 metadata/modules/locIdSystem.json create mode 100644 metadata/modules/mileBidAdapter.json create mode 100644 metadata/modules/panxoRtdProvider.json create mode 100644 metadata/modules/yaleoBidAdapter.json diff --git a/integrationExamples/gpt/x-domain/creative.html b/integrationExamples/gpt/x-domain/creative.html index 14deeb4f559..ae8456c19e0 100644 --- a/integrationExamples/gpt/x-domain/creative.html +++ b/integrationExamples/gpt/x-domain/creative.html @@ -2,7 +2,7 @@ // creative will be rendered, e.g. GAM delivering a SafeFrame // this code is autogenerated, also available in 'build/creative/creative.js' - + `); + adSlotIframe.contentDocument.close(); + + setTimeout(() => { + expect(trackPostStub.calledOnce).to.be.true; + expect(trackPostStub.getCalls()[0].args[1].adUnitId).to.eql('/reconciliationAdunit'); + expect(trackPostStub.getCalls()[0].args[1].adDeliveryId).to.match(/.+-.+/); + done(); + }, 100); + }); }); }); }); diff --git a/test/spec/unit/core/targetingLock_spec.js b/test/spec/unit/core/targetingLock_spec.js index b8e721259ca..89ab7972845 100644 --- a/test/spec/unit/core/targetingLock_spec.js +++ b/test/spec/unit/core/targetingLock_spec.js @@ -98,7 +98,9 @@ describe('Targeting lock', () => { lock.lock(targeting); eventHandlers.slotRenderEnded({ slot: { - getTargeting: (key) => [targeting[key]] + getConfig: sinon.stub().withArgs('targeting').returns({ + k1: [targeting.k1] + }) } }); expect(lock.isLocked(targeting)).to.be.false; diff --git a/test/spec/unit/pbjs_api_spec.js b/test/spec/unit/pbjs_api_spec.js index 5939298765e..6e9955081b4 100644 --- a/test/spec/unit/pbjs_api_spec.js +++ b/test/spec/unit/pbjs_api_spec.js @@ -82,6 +82,24 @@ var Slot = function Slot(elementId, pathId) { return Object.getOwnPropertyNames(this.targeting); }, + getConfig: function getConfig(key) { + if (key === 'targeting') { + return this.targeting; + } + }, + + setConfig: function setConfig(config) { + if (config?.targeting) { + Object.keys(config.targeting).forEach((key) => { + if (config.targeting[key] == null) { + delete this.targeting[key]; + } else { + this.setTargeting(key, config.targeting[key]); + } + }); + } + }, + clearTargeting: function clearTargeting() { this.targeting = {}; return this; @@ -118,6 +136,24 @@ var createSlotArrayScenario2 = function createSlotArrayScenario2() { window.googletag = { _slots: [], _targeting: {}, + getConfig: function (key) { + if (key === 'targeting') { + return this._targeting; + } + }, + setConfig: function (config) { + if (config?.targeting) { + Object.keys(config.targeting).forEach((key) => { + if (config.targeting[key] == null) { + delete this._targeting[key]; + } else { + this._targeting[key] = Array.isArray(config.targeting[key]) + ? config.targeting[key] + : [config.targeting[key]]; + } + }); + } + }, pubads: function () { var self = this; return { diff --git a/test/spec/unit/secureCreatives_spec.js b/test/spec/unit/secureCreatives_spec.js index 084341358b4..509fb25140e 100644 --- a/test/spec/unit/secureCreatives_spec.js +++ b/test/spec/unit/secureCreatives_spec.js @@ -552,6 +552,7 @@ describe('secureCreatives', () => { value = Array.isArray(value) ? value : [value]; targeting[key] = value; }), + getConfig: sinon.stub().callsFake((key) => key === 'targeting' ? targeting : null), getTargetingKeys: sinon.stub().callsFake(() => Object.keys(targeting)), getTargeting: sinon.stub().callsFake((key) => targeting[key] || []) } From ebb775ce7a6e601acd670a6f50630c2578609092 Mon Sep 17 00:00:00 2001 From: danijel-ristic <168181386+danijel-ristic@users.noreply.github.com> Date: Fri, 20 Feb 2026 19:43:27 +0100 Subject: [PATCH 199/248] TargetVideo bid adapter: send price floor param (#14406) * TargetVideo bid adapter: send price floor param * Add support for the price floors module * Add imports * Fix getBidFloor function floor params --------- Co-authored-by: dnrstc --- modules/targetVideoBidAdapter.js | 28 +++++++++- modules/targetVideoBidAdapter.md | 1 + .../modules/targetVideoBidAdapter_spec.js | 54 ++++++++++++++++--- 3 files changed, 74 insertions(+), 9 deletions(-) diff --git a/modules/targetVideoBidAdapter.js b/modules/targetVideoBidAdapter.js index 84730231543..723c9d77dbd 100644 --- a/modules/targetVideoBidAdapter.js +++ b/modules/targetVideoBidAdapter.js @@ -1,4 +1,4 @@ -import {_each, deepAccess, getDefinedParams, parseGPTSingleSizeArrayToRtbSize} from '../src/utils.js'; +import {_each, deepAccess, getDefinedParams, isFn, isPlainObject, parseGPTSingleSizeArrayToRtbSize} from '../src/utils.js'; import {BANNER, VIDEO} from '../src/mediaTypes.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; import {formatRequest, getRtbBid, getSiteObj, getSyncResponse, videoBid, bannerBid, createVideoTag} from '../libraries/targetVideoUtils/bidderUtils.js'; @@ -9,6 +9,22 @@ import {SOURCE, GVLID, BIDDER_CODE, VIDEO_PARAMS, BANNER_ENDPOINT_URL, VIDEO_END * @typedef {import('../src/adapters/bidderFactory.js').Bid} Bid */ +function getBidFloor(bid) { + if (!isFn(bid.getFloor)) { + return (bid.params.floor) ? bid.params.floor : null; + } + + const floor = bid.getFloor({ + currency: 'EUR', + mediaType: '*', + size: '*' + }); + if (isPlainObject(floor) && !isNaN(floor.floor) && floor.currency === 'EUR') { + return floor.floor; + } + return null; +} + export const spec = { code: BIDDER_CODE, @@ -38,13 +54,15 @@ export const spec = { version: '$prebid.version$' }; - for (let {params, bidId, sizes, mediaTypes, ...bid} of bidRequests) { + for (let {bidId, sizes, mediaTypes, ...bid} of bidRequests) { for (const mediaType in mediaTypes) { switch (mediaType) { case VIDEO: { + const params = bid.params; const video = mediaTypes[VIDEO]; const placementId = params.placementId; const site = getSiteObj(); + const floor = getBidFloor(bid); if (sizes && !Array.isArray(sizes[0])) sizes = [sizes]; @@ -71,6 +89,12 @@ export const spec = { video: getDefinedParams(video, VIDEO_PARAMS) } + const bidFloor = typeof floor === 'string' ? Number(floor.trim()) + : typeof floor === 'number' ? floor + : NaN; + + if (Number.isFinite(bidFloor) && bidFloor > 0) imp.bidfloor = bidFloor; + if (video.playerSize) { imp.video = Object.assign( imp.video, parseGPTSingleSizeArrayToRtbSize(video.playerSize[0]) || {} diff --git a/modules/targetVideoBidAdapter.md b/modules/targetVideoBidAdapter.md index a34ad0aff27..9a204a86991 100644 --- a/modules/targetVideoBidAdapter.md +++ b/modules/targetVideoBidAdapter.md @@ -43,6 +43,7 @@ var adUnits = [ bidder: 'targetVideo', params: { placementId: 12345, + floor: 2, reserve: 0, } }] diff --git a/test/spec/modules/targetVideoBidAdapter_spec.js b/test/spec/modules/targetVideoBidAdapter_spec.js index 838fd50f76d..9b91e71c7d8 100644 --- a/test/spec/modules/targetVideoBidAdapter_spec.js +++ b/test/spec/modules/targetVideoBidAdapter_spec.js @@ -7,6 +7,13 @@ describe('TargetVideo Bid Adapter', function() { const params = { placementId: 12345, }; + const videoMediaTypes = { + video: { + playerSize: [[640, 360]], + context: 'instream', + playbackmethod: [1, 2, 3, 4] + } + } const defaultBidderRequest = { bidderRequestId: 'mock-uuid', @@ -25,13 +32,7 @@ describe('TargetVideo Bid Adapter', function() { const videoRequest = [{ bidder, params, - mediaTypes: { - video: { - playerSize: [[640, 360]], - context: 'instream', - playbackmethod: [1, 2, 3, 4] - } - } + mediaTypes: videoMediaTypes, }]; it('Test the bid validation function', function() { @@ -353,4 +354,43 @@ describe('TargetVideo Bid Adapter', function() { const userSyncs = spec.getUserSyncs({iframeEnabled: false}); expect(userSyncs).to.have.lengthOf(0); }); + + it('Test the VIDEO request floor param', function() { + const requests = [ + { + bidder, + params: { + ...params, + floor: 2.12, + }, + mediaTypes: videoMediaTypes, + }, + { + bidder, + params: { + ...params, + floor: "1.55", + }, + mediaTypes: videoMediaTypes, + }, + { + bidder, + params: { + ...params, + floor: "abc", + }, + mediaTypes: videoMediaTypes, + } + ] + + const bids = spec.buildRequests(requests, defaultBidderRequest) + + const payload1 = JSON.parse(bids[0].data); + const payload2 = JSON.parse(bids[1].data); + const payload3 = JSON.parse(bids[2].data); + + expect(payload1.imp[0].bidfloor).to.exist.and.equal(2.12); + expect(payload2.imp[0].bidfloor).to.exist.and.equal(1.55); + expect(payload3.imp[0].bidfloor).to.not.exist; + }); }); From 50bc0369c6ed6a071139fb19a821ca0bf0853c53 Mon Sep 17 00:00:00 2001 From: verben-gh Date: Fri, 20 Feb 2026 21:10:28 +0200 Subject: [PATCH 200/248] New adapter: Verben (#14494) Co-authored-by: Verben Co-authored-by: Patrick McCann --- modules/verbenBidAdapter.js | 17 + modules/verbenBidAdapter.md | 79 ++++ test/spec/modules/verbenBidAdapter_spec.js | 478 +++++++++++++++++++++ 3 files changed, 574 insertions(+) create mode 100644 modules/verbenBidAdapter.js create mode 100644 modules/verbenBidAdapter.md create mode 100644 test/spec/modules/verbenBidAdapter_spec.js diff --git a/modules/verbenBidAdapter.js b/modules/verbenBidAdapter.js new file mode 100644 index 00000000000..867f669e93e --- /dev/null +++ b/modules/verbenBidAdapter.js @@ -0,0 +1,17 @@ +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; +import { isBidRequestValid, buildRequests, interpretResponse } from '../libraries/teqblazeUtils/bidderUtils.js'; + +const BIDDER_CODE = 'verben'; +const AD_URL = 'https://east-node.verben.com/pbjs'; + +export const spec = { + code: BIDDER_CODE, + supportedMediaTypes: [BANNER, VIDEO, NATIVE], + + isBidRequestValid: isBidRequestValid(), + buildRequests: buildRequests(AD_URL), + interpretResponse +}; + +registerBidder(spec); diff --git a/modules/verbenBidAdapter.md b/modules/verbenBidAdapter.md new file mode 100644 index 00000000000..2d0978bc52f --- /dev/null +++ b/modules/verbenBidAdapter.md @@ -0,0 +1,79 @@ +# Overview + +``` +Module Name: Verben Bidder Adapter +Module Type: Verben Bidder Adapter +Maintainer: support_trading@verben.com +``` + +# Description + +Connects to Verben exchange for bids. +Verben bid adapter supports Banner, Video (instream and outstream) and Native. + +# Test Parameters +``` + var adUnits = [ + // Will return static test banner + { + code: 'adunit1', + mediaTypes: { + banner: { + sizes: [ [300, 250], [320, 50] ], + } + }, + bids: [ + { + bidder: 'verben', + params: { + placementId: 'testBanner', + } + } + ] + }, + { + code: 'addunit2', + mediaTypes: { + video: { + playerSize: [ [640, 480] ], + context: 'instream', + minduration: 5, + maxduration: 60, + } + }, + bids: [ + { + bidder: 'verben', + params: { + placementId: 'testVideo', + } + } + ] + }, + { + code: 'addunit3', + mediaTypes: { + native: { + title: { + required: true + }, + body: { + required: true + }, + icon: { + required: true, + size: [64, 64] + } + } + }, + bids: [ + { + bidder: 'verben', + params: { + placementId: 'testNative', + } + } + ] + } + ]; +``` diff --git a/test/spec/modules/verbenBidAdapter_spec.js b/test/spec/modules/verbenBidAdapter_spec.js new file mode 100644 index 00000000000..9864e9d2b70 --- /dev/null +++ b/test/spec/modules/verbenBidAdapter_spec.js @@ -0,0 +1,478 @@ +import { expect } from 'chai'; +import { spec } from '../../../modules/verbenBidAdapter.js'; +import { BANNER, VIDEO, NATIVE } from '../../../src/mediaTypes.js'; +import { getUniqueIdentifierStr } from '../../../src/utils.js'; + +const bidder = 'verben'; + +describe('VerbenBidAdapter', function () { + const userIdAsEids = [{ + source: 'test.org', + uids: [{ + id: '01**********', + atype: 1, + ext: { + third: '01***********' + } + }] + }]; + const bids = [ + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + placementId: 'testBanner' + }, + userIdAsEids + }, + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [VIDEO]: { + playerSize: [[300, 300]], + minduration: 5, + maxduration: 60 + } + }, + params: { + placementId: 'testVideo' + }, + userIdAsEids + }, + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [NATIVE]: { + native: { + title: { + required: true + }, + body: { + required: true + }, + icon: { + required: true, + size: [64, 64] + } + } + } + }, + params: { + placementId: 'testNative' + }, + userIdAsEids + } + ]; + + const invalidBid = { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + + } + } + + const bidderRequest = { + uspConsent: '1---', + gdprConsent: { + consentString: 'COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA.IFoEUQQgAIQwgIwQABAEAAAAOIAACAIAAAAQAIAgEAACEAAAAAgAQBAAAAAAAGBAAgAAAAAAAFAAECAAAgAAQARAEQAAAAAJAAIAAgAAAYQEAAAQmAgBC3ZAYzUw', + vendorData: {} + }, + refererInfo: { + referer: 'https://test.com', + page: 'https://test.com' + }, + ortb2: { + device: { + w: 1512, + h: 982, + language: 'en-UK' + } + }, + timeout: 500 + }; + + describe('isBidRequestValid', function () { + it('Should return true if there are bidId, params and key parameters present', function () { + expect(spec.isBidRequestValid(bids[0])).to.be.true; + }); + it('Should return false if at least one of parameters is not present', function () { + expect(spec.isBidRequestValid(invalidBid)).to.be.false; + }); + }); + + describe('buildRequests', function () { + let serverRequest = spec.buildRequests(bids, bidderRequest); + + it('Creates a ServerRequest object with method, URL and data', function () { + expect(serverRequest).to.exist; + expect(serverRequest.method).to.exist; + expect(serverRequest.url).to.exist; + expect(serverRequest.data).to.exist; + }); + + it('Returns POST method', function () { + expect(serverRequest.method).to.equal('POST'); + }); + + it('Returns valid URL', function () { + expect(serverRequest.url).to.equal('https://east-node.verben.com/pbjs'); + }); + + it('Returns general data valid', function () { + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.all.keys('deviceWidth', + 'deviceHeight', + 'device', + 'language', + 'secure', + 'host', + 'page', + 'placements', + 'coppa', + 'ccpa', + 'gdpr', + 'tmax', + 'bcat', + 'badv', + 'bapp', + 'battr' + ); + expect(data.deviceWidth).to.be.a('number'); + expect(data.deviceHeight).to.be.a('number'); + expect(data.language).to.be.a('string'); + expect(data.secure).to.be.within(0, 1); + expect(data.host).to.be.a('string'); + expect(data.page).to.be.a('string'); + expect(data.coppa).to.be.a('number'); + expect(data.gdpr).to.be.a('object'); + expect(data.ccpa).to.be.a('string'); + expect(data.tmax).to.be.a('number'); + expect(data.placements).to.have.lengthOf(3); + }); + + it('Returns valid placements', function () { + const { placements } = serverRequest.data; + for (let i = 0, len = placements.length; i < len; i++) { + const placement = placements[i]; + expect(placement.placementId).to.be.oneOf(['testBanner', 'testVideo', 'testNative']); + expect(placement.adFormat).to.be.oneOf([BANNER, VIDEO, NATIVE]); + expect(placement.bidId).to.be.a('string'); + expect(placement.schain).to.be.an('object'); + expect(placement.bidfloor).to.exist.and.to.equal(0); + expect(placement.type).to.exist.and.to.equal('publisher'); + expect(placement.eids).to.exist.and.to.be.deep.equal(userIdAsEids); + + if (placement.adFormat === BANNER) { + expect(placement.sizes).to.be.an('array'); + } + switch (placement.adFormat) { + case BANNER: + expect(placement.sizes).to.be.an('array'); + break; + case VIDEO: + expect(placement.playerSize).to.be.an('array'); + expect(placement.minduration).to.be.an('number'); + expect(placement.maxduration).to.be.an('number'); + break; + case NATIVE: + expect(placement.native).to.be.an('object'); + break; + } + } + }); + + it('Returns valid endpoints', function () { + const bids = [ + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + endpointId: 'testBanner', + }, + userIdAsEids + } + ]; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + + const { placements } = serverRequest.data; + for (let i = 0, len = placements.length; i < len; i++) { + const placement = placements[i]; + expect(placement.endpointId).to.be.oneOf(['testBanner', 'testVideo', 'testNative']); + expect(placement.adFormat).to.be.oneOf([BANNER, VIDEO, NATIVE]); + expect(placement.bidId).to.be.a('string'); + expect(placement.schain).to.be.an('object'); + expect(placement.bidfloor).to.exist.and.to.equal(0); + expect(placement.type).to.exist.and.to.equal('network'); + expect(placement.eids).to.exist.and.to.be.deep.equal(userIdAsEids); + + if (placement.adFormat === BANNER) { + expect(placement.sizes).to.be.an('array'); + } + switch (placement.adFormat) { + case BANNER: + expect(placement.sizes).to.be.an('array'); + break; + case VIDEO: + expect(placement.playerSize).to.be.an('array'); + expect(placement.minduration).to.be.an('number'); + expect(placement.maxduration).to.be.an('number'); + break; + case NATIVE: + expect(placement.native).to.be.an('object'); + break; + } + } + }); + + it('Returns data with gdprConsent and without uspConsent', function () { + delete bidderRequest.uspConsent; + serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data.gdpr).to.exist; + expect(data.gdpr).to.be.a('object'); + expect(data.gdpr).to.have.property('consentString'); + expect(data.gdpr).to.not.have.property('vendorData'); + expect(data.gdpr.consentString).to.equal(bidderRequest.gdprConsent.consentString); + expect(data.ccpa).to.not.exist; + delete bidderRequest.gdprConsent; + }); + + it('Returns data with uspConsent and without gdprConsent', function () { + bidderRequest.uspConsent = '1---'; + delete bidderRequest.gdprConsent; + serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data.ccpa).to.exist; + expect(data.ccpa).to.be.a('string'); + expect(data.ccpa).to.equal(bidderRequest.uspConsent); + expect(data.gdpr).to.not.exist; + }); + }); + + describe('gpp consent', function () { + it('bidderRequest.gppConsent', () => { + bidderRequest.gppConsent = { + gppString: 'abc123', + applicableSections: [8] + }; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.property('gpp'); + expect(data).to.have.property('gpp_sid'); + + delete bidderRequest.gppConsent; + }) + + it('bidderRequest.ortb2.regs.gpp', () => { + bidderRequest.ortb2 = bidderRequest.ortb2 || {}; + bidderRequest.ortb2.regs = bidderRequest.ortb2.regs || {}; + bidderRequest.ortb2.regs.gpp = 'abc123'; + bidderRequest.ortb2.regs.gpp_sid = [8]; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.property('gpp'); + expect(data).to.have.property('gpp_sid'); + }) + }); + + describe('interpretResponse', function () { + it('Should interpret banner response', function () { + const banner = { + body: [{ + mediaType: 'banner', + width: 300, + height: 250, + cpm: 0.4, + ad: 'Test', + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const bannerResponses = spec.interpretResponse(banner); + expect(bannerResponses).to.be.an('array').that.is.not.empty; + const dataItem = bannerResponses[0]; + expect(dataItem).to.have.all.keys('requestId', 'cpm', 'width', 'height', 'ad', 'ttl', 'creativeId', + 'netRevenue', 'currency', 'dealId', 'mediaType', 'meta'); + expect(dataItem.requestId).to.equal(banner.body[0].requestId); + expect(dataItem.cpm).to.equal(banner.body[0].cpm); + expect(dataItem.width).to.equal(banner.body[0].width); + expect(dataItem.height).to.equal(banner.body[0].height); + expect(dataItem.ad).to.equal(banner.body[0].ad); + expect(dataItem.ttl).to.equal(banner.body[0].ttl); + expect(dataItem.creativeId).to.equal(banner.body[0].creativeId); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal(banner.body[0].currency); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should interpret video response', function () { + const video = { + body: [{ + vastUrl: 'test.com', + mediaType: 'video', + cpm: 0.5, + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const videoResponses = spec.interpretResponse(video); + expect(videoResponses).to.be.an('array').that.is.not.empty; + + const dataItem = videoResponses[0]; + expect(dataItem).to.have.all.keys('requestId', 'cpm', 'vastUrl', 'ttl', 'creativeId', + 'netRevenue', 'currency', 'dealId', 'mediaType', 'meta'); + expect(dataItem.requestId).to.equal('23fhj33i987f'); + expect(dataItem.cpm).to.equal(0.5); + expect(dataItem.vastUrl).to.equal('test.com'); + expect(dataItem.ttl).to.equal(120); + expect(dataItem.creativeId).to.equal('2'); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal('USD'); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should interpret native response', function () { + const native = { + body: [{ + mediaType: 'native', + native: { + clickUrl: 'test.com', + title: 'Test', + image: 'test.com', + impressionTrackers: ['test.com'], + }, + ttl: 120, + cpm: 0.4, + requestId: '23fhj33i987f', + creativeId: '2', + netRevenue: true, + currency: 'USD', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const nativeResponses = spec.interpretResponse(native); + expect(nativeResponses).to.be.an('array').that.is.not.empty; + + const dataItem = nativeResponses[0]; + expect(dataItem).to.have.keys('requestId', 'cpm', 'ttl', 'creativeId', 'netRevenue', 'currency', 'mediaType', 'native', 'meta'); + expect(dataItem.native).to.have.keys('clickUrl', 'impressionTrackers', 'title', 'image') + expect(dataItem.requestId).to.equal('23fhj33i987f'); + expect(dataItem.cpm).to.equal(0.4); + expect(dataItem.native.clickUrl).to.equal('test.com'); + expect(dataItem.native.title).to.equal('Test'); + expect(dataItem.native.image).to.equal('test.com'); + expect(dataItem.native.impressionTrackers).to.be.an('array').that.is.not.empty; + expect(dataItem.native.impressionTrackers[0]).to.equal('test.com'); + expect(dataItem.ttl).to.equal(120); + expect(dataItem.creativeId).to.equal('2'); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal('USD'); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should return an empty array if invalid banner response is passed', function () { + const invBanner = { + body: [{ + width: 300, + cpm: 0.4, + ad: 'Test', + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + + const serverResponses = spec.interpretResponse(invBanner); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid video response is passed', function () { + const invVideo = { + body: [{ + mediaType: 'video', + cpm: 0.5, + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + const serverResponses = spec.interpretResponse(invVideo); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid native response is passed', function () { + const invNative = { + body: [{ + mediaType: 'native', + clickUrl: 'test.com', + title: 'Test', + impressionTrackers: ['test.com'], + ttl: 120, + requestId: '23fhj33i987f', + creativeId: '2', + netRevenue: true, + currency: 'USD', + }] + }; + const serverResponses = spec.interpretResponse(invNative); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid response is passed', function () { + const invalid = { + body: [{ + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + const serverResponses = spec.interpretResponse(invalid); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + }); +}); From 9459b523c547014940f9f149f75c79e148e60683 Mon Sep 17 00:00:00 2001 From: johnclc Date: Fri, 20 Feb 2026 19:11:40 +0000 Subject: [PATCH 201/248] Teal bid adapter: include native and video media types (#14493) --- modules/tealBidAdapter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tealBidAdapter.js b/modules/tealBidAdapter.js index 4374646b102..f9175ffb564 100644 --- a/modules/tealBidAdapter.js +++ b/modules/tealBidAdapter.js @@ -1,7 +1,7 @@ import {deepSetValue, deepAccess, triggerPixel, deepClone, isEmpty, logError, shuffle} from '../src/utils.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; import {ortbConverter} from '../libraries/ortbConverter/converter.js' -import {BANNER} from '../src/mediaTypes.js'; +import {BANNER, NATIVE, VIDEO} from '../src/mediaTypes.js'; import {pbsExtensions} from '../libraries/pbsExtensions/pbsExtensions.js' const BIDDER_CODE = 'teal'; const GVLID = 1378; @@ -43,7 +43,7 @@ const converter = ortbConverter({ export const spec = { code: BIDDER_CODE, gvlid: GVLID, - supportedMediaTypes: [BANNER], + supportedMediaTypes: [BANNER, NATIVE, VIDEO], aliases: [], isBidRequestValid: function(bid) { From 956dea0d8e1065ec8f37d88dd010b35161ad68e3 Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 20 Feb 2026 20:13:00 +0100 Subject: [PATCH 202/248] Proxistore Bid Adapter: migration to OpenRTB (#14411) * Update Proxistore endpoint URLs in adapter and tests Updated the Proxistore `COOKIE_BASE_URL` and `COOKIE_LESS_URL` to the new `abs` domain in both the adapter and its corresponding test file. This ensures consistency with the updated API endpoints. * Integrate OpenRTB converter for Proxistore bid adapter, and add OpenRTB request as a separate field. * Refactor Proxistore bid adapter to improve OpenRTB handling, add GDPR-specific URL selection, and enhance test coverage. * Add support for website and language parameters in Proxistore bid adapter requests, with corresponding test coverage. * Handle empty response body in Proxistore bid adapter to avoid runtime errors. --------- Co-authored-by: Anthony Richir --- .../gpt/proxistore_example.html | 2 +- modules/proxistoreBidAdapter.js | 241 ++++--- .../spec/modules/proxistoreBidAdapter_spec.js | 588 ++++++++++++++---- 3 files changed, 566 insertions(+), 265 deletions(-) diff --git a/integrationExamples/gpt/proxistore_example.html b/integrationExamples/gpt/proxistore_example.html index 15b33b345d1..8c72f23fdbb 100644 --- a/integrationExamples/gpt/proxistore_example.html +++ b/integrationExamples/gpt/proxistore_example.html @@ -1,7 +1,7 @@ - + + + + + + + + + + +

Prebid.js Test

+
Div-1
+
+ +
+ + + + diff --git a/modules/insuradsBidAdapter.md b/modules/insuradsBidAdapter.md new file mode 100644 index 00000000000..11c0bc248e7 --- /dev/null +++ b/modules/insuradsBidAdapter.md @@ -0,0 +1,55 @@ +# Overview + +``` +Module Name: InsurAds Bid Adapter +Module Type: Bidder Adapter +Maintainer: jclimaco@insurads.com +``` + +# Description + +Connects to InsurAds network for bids. + +# Test Parameters + +## Web + +### Display +``` +var adUnits = [ + // Banner adUnit + { + code: 'banner-div', + mediaTypes: { + banner: { + sizes: [[300, 250], [300,600]] + } + }, + bids: [{ + bidder: 'insurads', + params: { + tagId: 'ToBeSupplied' + } + }] + }, +]; +``` + +### Video Instream +``` + var videoAdUnit = { + code: 'video1', + mediaTypes: { + video: { + playerSize: [640, 480], + context: 'instream' + } + }, + bids: [{ + bidder: 'insurads', + params: { + tagId: 'ToBeSupplied' + } + }] + }; +``` diff --git a/modules/insuradsBidAdapter.ts b/modules/insuradsBidAdapter.ts new file mode 100644 index 00000000000..30f506118b7 --- /dev/null +++ b/modules/insuradsBidAdapter.ts @@ -0,0 +1,149 @@ +import { deepSetValue, generateUUID, logError } from '../src/utils.js'; +import { getStorageManager } from '../src/storageManager.js'; +import { AdapterRequest, BidderSpec, registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; +import { ortbConverter } from '../libraries/ortbConverter/converter.js' + +import { interpretResponse, enrichImp, enrichRequest, getAmxId, getLocalStorageFunctionGenerator, getUserSyncs } from '../libraries/nexx360Utils/index.js'; +import { getBoundingClientRect } from '../libraries/boundingClientRect/boundingClientRect.js'; +import { BidRequest, ClientBidderRequest } from '../src/adapterManager.js'; +import { ORTBImp, ORTBRequest } from '../src/prebid.public.js'; +import { config } from '../src/config.js'; + +const BIDDER_CODE = 'insurads'; +const REQUEST_URL = 'https://fast.nexx360.io/booster'; +const PAGE_VIEW_ID = generateUUID(); +const BIDDER_VERSION = '7.1'; +const GVLID = 596; +const ALT_KEY = 'nexx360_storage'; + +const DEFAULT_GZIP_ENABLED = false; + +type RequireAtLeastOne = + Omit & { + [K in Keys]-?: Required> & + Partial>> + }[Keys]; + +type InsurAdsBidParams = RequireAtLeastOne<{ + tagId?: string; + placement?: string; + videoTagId?: string; + nativeTagId?: string; + adUnitPath?: string; + adUnitName?: string; + divId?: string; + allBids?: boolean; + customId?: string; + bidders?: Record; +}, "tagId" | "placement">; + +declare module '../src/adUnits' { + interface BidderParams { + ['nexx360']: InsurAdsBidParams; + } +} + +export const STORAGE = getStorageManager({ + bidderCode: BIDDER_CODE, +}); + +export const getInsurAdsLocalStorage = getLocalStorageFunctionGenerator<{ nexx360Id: string }>( + STORAGE, + BIDDER_CODE, + ALT_KEY, + 'nexx360Id' +); + +export const getGzipSetting = (): boolean => { + const bidderConfig = config.getBidderConfig(); + const gzipEnabled = bidderConfig.insurads?.gzipEnabled; + + if (gzipEnabled === true || gzipEnabled === 'true') { + return true; + } + return DEFAULT_GZIP_ENABLED; +} + +const converter = ortbConverter({ + context: { + netRevenue: true, // or false if your adapter should set bidResponse.netRevenue = false + ttl: 90, // default bidResponse.ttl (when not specified in ORTB response.seatbid[].bid[].exp) + }, + imp(buildImp, bidRequest: BidRequest, context) { + let imp: ORTBImp = buildImp(bidRequest, context); + imp = enrichImp(imp, bidRequest); + const divId = bidRequest.params.divId || bidRequest.adUnitCode; + const slotEl: HTMLElement | null = typeof divId === 'string' ? document.getElementById(divId) : null; + if (slotEl) { + const { width, height } = getBoundingClientRect(slotEl); + deepSetValue(imp, 'ext.dimensions.slotW', width); + deepSetValue(imp, 'ext.dimensions.slotH', height); + deepSetValue(imp, 'ext.dimensions.cssMaxW', slotEl.style?.maxWidth); + deepSetValue(imp, 'ext.dimensions.cssMaxH', slotEl.style?.maxHeight); + } + deepSetValue(imp, 'ext.nexx360', bidRequest.params); + deepSetValue(imp, 'ext.nexx360.divId', divId); + if (bidRequest.params.adUnitPath) deepSetValue(imp, 'ext.adUnitPath', bidRequest.params.adUnitPath); + if (bidRequest.params.adUnitName) deepSetValue(imp, 'ext.adUnitName', bidRequest.params.adUnitName); + return imp; + }, + request(buildRequest, imps, bidderRequest, context) { + let request: ORTBRequest = buildRequest(imps, bidderRequest, context); + const amxId = getAmxId(STORAGE, BIDDER_CODE); + request = enrichRequest(request, amxId, PAGE_VIEW_ID, BIDDER_VERSION); + return request; + }, +}); + +const isBidRequestValid = (bid: BidRequest): boolean => { + if (bid.params.adUnitName && (typeof bid.params.adUnitName !== 'string' || bid.params.adUnitName === '')) { + logError('bid.params.adUnitName needs to be a string'); + return false; + } + if (bid.params.adUnitPath && (typeof bid.params.adUnitPath !== 'string' || bid.params.adUnitPath === '')) { + logError('bid.params.adUnitPath needs to be a string'); + return false; + } + if (bid.params.divId && (typeof bid.params.divId !== 'string' || bid.params.divId === '')) { + logError('bid.params.divId needs to be a string'); + return false; + } + if (bid.params.allBids && typeof bid.params.allBids !== 'boolean') { + logError('bid.params.allBids needs to be a boolean'); + return false; + } + if (!bid.params.tagId && !bid.params.videoTagId && !bid.params.nativeTagId && !bid.params.placement) { + logError('bid.params.tagId or bid.params.videoTagId or bid.params.nativeTagId or bid.params.placement must be defined'); + return false; + } + return true; +}; + +const buildRequests = ( + bidRequests: BidRequest[], + bidderRequest: ClientBidderRequest, +): AdapterRequest => { + const data: ORTBRequest = converter.toORTB({ bidRequests, bidderRequest }) + const adapterRequest: AdapterRequest = { + method: 'POST', + url: REQUEST_URL, + data, + options: { + endpointCompression: getGzipSetting() + }, + } + return adapterRequest; +} + +export const spec: BidderSpec = { + code: BIDDER_CODE, + gvlid: GVLID, + supportedMediaTypes: [BANNER, VIDEO, NATIVE], + isBidRequestValid, + buildRequests, + interpretResponse, + getUserSyncs, +}; + +registerBidder(spec); diff --git a/test/spec/modules/insuradsBidAdapter_spec.js b/test/spec/modules/insuradsBidAdapter_spec.js new file mode 100644 index 00000000000..0207477b8e4 --- /dev/null +++ b/test/spec/modules/insuradsBidAdapter_spec.js @@ -0,0 +1,737 @@ +import { expect } from 'chai'; +import { + spec, STORAGE, getInsurAdsLocalStorage, getGzipSetting, +} from 'modules/insuradsBidAdapter.js'; +import sinon from 'sinon'; +import { getAmxId } from '../../../libraries/nexx360Utils/index.js'; +const sandbox = sinon.createSandbox(); + +describe('InsurAds bid adapter tests', () => { + const DEFAULT_OPTIONS = { + gdprConsent: { + gdprApplies: true, + consentString: 'BOzZdA0OzZdA0AGABBENDJ-AAAAvh7_______9______9uz_Ov_v_f__33e8__9v_l_7_-___u_-33d4-_1vf99yfm1-7ftr3tp_87ues2_Xur__79__3z3_9pxP78k89r7337Mw_v-_v-b7JCPN_Y3v-8Kg', + vendorData: {}, + }, + refererInfo: { + referer: 'https://www.prebid.org', + canonicalUrl: 'https://www.prebid.org/the/link/to/the/page', + }, + uspConsent: '1112223334', + userId: { id5id: { uid: '1111' } }, + schain: { + ver: '1.0', + complete: 1, + nodes: [{ + asi: 'exchange1.com', + sid: '1234', + hp: 1, + rid: 'bid-request-1', + name: 'publisher', + domain: 'publisher.com', + }], + }, + }; + + it('We test getGzipSettings', () => { + const output = getGzipSetting(); + expect(output).to.be.a('boolean'); + }); + + describe('isBidRequestValid()', () => { + let bannerBid; + beforeEach(() => { + bannerBid = { + bidder: 'nexx360', + mediaTypes: { banner: { sizes: [[300, 250], [300, 600]] } }, + adUnitCode: 'div-1', + transactionId: '70bdc37e-9475-4b27-8c74-4634bdc2ee66', + sizes: [[300, 250], [300, 600]], + bidId: '4906582fc87d0c', + bidderRequestId: '332fda16002dbe', + auctionId: '98932591-c822-42e3-850e-4b3cf748d063', + } + }); + + it('We verify isBidRequestValid with unvalid adUnitName', () => { + bannerBid.params = { adUnitName: 1 }; + expect(spec.isBidRequestValid(bannerBid)).to.be.equal(false); + }); + + it('We verify isBidRequestValid with empty adUnitName', () => { + bannerBid.params = { adUnitName: '' }; + expect(spec.isBidRequestValid(bannerBid)).to.be.equal(false); + }); + + it('We verify isBidRequestValid with unvalid adUnitPath', () => { + bannerBid.params = { adUnitPath: 1 }; + expect(spec.isBidRequestValid(bannerBid)).to.be.equal(false); + }); + + it('We verify isBidRequestValid with unvalid divId', () => { + bannerBid.params = { divId: 1 }; + expect(spec.isBidRequestValid(bannerBid)).to.be.equal(false); + }); + + it('We verify isBidRequestValid unvalid allBids', () => { + bannerBid.params = { allBids: 1 }; + expect(spec.isBidRequestValid(bannerBid)).to.be.equal(false); + }); + + it('We verify isBidRequestValid with uncorrect tagid', () => { + bannerBid.params = { 'tagid': 'luvxjvgn' }; + expect(spec.isBidRequestValid(bannerBid)).to.be.equal(false); + }); + + it('We verify isBidRequestValid with correct tagId', () => { + bannerBid.params = { 'tagId': 'luvxjvgn' }; + expect(spec.isBidRequestValid(bannerBid)).to.be.equal(true); + }); + + it('We verify isBidRequestValid with correct placement', () => { + bannerBid.params = { 'placement': 'testad' }; + expect(spec.isBidRequestValid(bannerBid)).to.be.equal(true); + }); + }); + + describe('getInsurAdsLocalStorage disabled', () => { + before(() => { + sandbox.stub(STORAGE, 'localStorageIsEnabled').callsFake(() => false); + }); + it('We test if we get the nexx360Id', () => { + const output = getInsurAdsLocalStorage(); + expect(output).to.be.eql(null); + }); + after(() => { + sandbox.restore() + }); + }); + + describe('getInsurAdsLocalStorage enabled but nothing', () => { + before(() => { + sandbox.stub(STORAGE, 'localStorageIsEnabled').callsFake(() => true); + sandbox.stub(STORAGE, 'setDataInLocalStorage'); + sandbox.stub(STORAGE, 'getDataFromLocalStorage').callsFake((key) => null); + }); + it('We test if we get the nexx360Id', () => { + const output = getInsurAdsLocalStorage(); + expect(typeof output.nexx360Id).to.be.eql('string'); + }); + after(() => { + sandbox.restore() + }); + }); + + describe('getInsurAdsLocalStorage enabled but wrong payload', () => { + before(() => { + sandbox.stub(STORAGE, 'localStorageIsEnabled').callsFake(() => true); + sandbox.stub(STORAGE, 'setDataInLocalStorage'); + sandbox.stub(STORAGE, 'getDataFromLocalStorage').callsFake((key) => '{"nexx360Id":"5ad89a6e-7801-48e7-97bb-fe6f251f6cb4",}'); + }); + it('We test if we get the nexx360Id', () => { + const output = getInsurAdsLocalStorage(); + expect(output).to.be.eql(null); + }); + after(() => { + sandbox.restore() + }); + }); + + describe('getInsurAdsLocalStorage enabled', () => { + before(() => { + sandbox.stub(STORAGE, 'localStorageIsEnabled').callsFake(() => true); + sandbox.stub(STORAGE, 'setDataInLocalStorage'); + sandbox.stub(STORAGE, 'getDataFromLocalStorage').callsFake((key) => '{"nexx360Id":"5ad89a6e-7801-48e7-97bb-fe6f251f6cb4"}'); + }); + it('We test if we get the nexx360Id', () => { + const output = getInsurAdsLocalStorage(); + expect(output.nexx360Id).to.be.eql('5ad89a6e-7801-48e7-97bb-fe6f251f6cb4'); + }); + after(() => { + sandbox.restore() + }); + }); + + describe('getAmxId() with localStorage enabled and data not set', () => { + before(() => { + sandbox.stub(STORAGE, 'localStorageIsEnabled').callsFake(() => true); + sandbox.stub(STORAGE, 'setDataInLocalStorage'); + sandbox.stub(STORAGE, 'getDataFromLocalStorage').callsFake((key) => null); + }); + it('We test if we get the amxId', () => { + const output = getAmxId(STORAGE, 'nexx360'); + expect(output).to.be.eql(null); + }); + after(() => { + sandbox.restore() + }); + }); + + describe('getAmxId() with localStorage enabled and data set', () => { + before(() => { + sandbox.stub(STORAGE, 'localStorageIsEnabled').callsFake(() => true); + sandbox.stub(STORAGE, 'setDataInLocalStorage'); + sandbox.stub(STORAGE, 'getDataFromLocalStorage').callsFake((key) => 'abcdef'); + }); + it('We test if we get the amxId', () => { + const output = getAmxId(STORAGE, 'nexx360'); + expect(output).to.be.eql('abcdef'); + }); + after(() => { + sandbox.restore() + }); + }); + + describe('buildRequests()', () => { + before(() => { + const documentStub = sandbox.stub(document, 'getElementById'); + documentStub.withArgs('div-1').returns({ + offsetWidth: 200, + offsetHeight: 250, + style: { + maxWidth: '400px', + maxHeight: '350px', + }, + getBoundingClientRect() { return { width: 200, height: 250 }; } + }); + sandbox.stub(STORAGE, 'localStorageIsEnabled').callsFake(() => true); + sandbox.stub(STORAGE, 'setDataInLocalStorage'); + sandbox.stub(STORAGE, 'getDataFromLocalStorage').callsFake((key) => 'abcdef'); + }); + describe('We test with a multiple display bids', () => { + const sampleBids = [ + { + bidder: 'nexx360', + params: { + tagId: 'luvxjvgn', + divId: 'div-1', + adUnitName: 'header-ad', + adUnitPath: '/12345/nexx360/Homepage/HP/Header-Ad', + }, + ortb2Imp: { + ext: { + gpid: '/12345/nexx360/Homepage/HP/Header-Ad', + } + }, + adUnitCode: 'header-ad-1234', + transactionId: '469a570d-f187-488d-b1cb-48c1a2009be9', + sizes: [[300, 250], [300, 600]], + bidId: '44a2706ac3574', + bidderRequestId: '359bf8a3c06b2e', + auctionId: '2e684815-b44e-4e04-b812-56da54adbe74', + }, + { + bidder: 'nexx360', + params: { + placement: 'testPlacement', + allBids: true, + }, + mediaTypes: { + banner: { + sizes: [[728, 90], [970, 250]] + } + }, + + adUnitCode: 'div-2-abcd', + transactionId: '6196885d-4e76-40dc-a09c-906ed232626b', + sizes: [[728, 90], [970, 250]], + bidId: '5ba94555219a03', + bidderRequestId: '359bf8a3c06b2e', + auctionId: '2e684815-b44e-4e04-b812-56da54adbe74', + } + ]; + const bidderRequest = { + bidderCode: 'nexx360', + auctionId: '2e684815-b44e-4e04-b812-56da54adbe74', + bidderRequestId: '359bf8a3c06b2e', + refererInfo: { + reachedTop: true, + isAmp: false, + numIframes: 0, + stack: [ + 'https://test.nexx360.io/adapter/index.html' + ], + topmostLocation: 'https://test.nexx360.io/adapter/index.html', + location: 'https://test.nexx360.io/adapter/index.html', + canonicalUrl: null, + page: 'https://test.nexx360.io/adapter/index.html', + domain: 'test.nexx360.io', + ref: null, + legacy: { + reachedTop: true, + isAmp: false, + numIframes: 0, + stack: [ + 'https://test.nexx360.io/adapter/index.html' + ], + referer: 'https://test.nexx360.io/adapter/index.html', + canonicalUrl: null + }, + }, + gdprConsent: { + gdprApplies: true, + consentString: 'CPhdLUAPhdLUAAKAsAENCmCsAP_AAE7AAAqIJFNd_H__bW9r-f5_aft0eY1P9_r37uQzDhfNk-8F3L_W_LwX52E7NF36tq4KmR4ku1LBIUNlHMHUDUmwaokVryHsak2cpzNKJ7BEknMZOydYGF9vmxtj-QKY7_5_d3bx2D-t_9v239z3z81Xn3d53-_03LCdV5_9Dfn9fR_bc9KPt_58v8v8_____3_e__3_7997BIiAaADgAJYBnwEeAJXAXmAwQBj4DtgHcgPBAeKBIgAA.YAAAAAAAAAAA', + } + }; + it('We perform a test with 2 display adunits', () => { + const displayBids = structuredClone(sampleBids); + displayBids[0].mediaTypes = { + banner: { + sizes: [[300, 250], [300, 600]] + } + }; + const request = spec.buildRequests(displayBids, bidderRequest); + const requestContent = request.data; + expect(request).to.have.property('method').and.to.equal('POST'); + const expectedRequest = { + imp: [ + { + id: '44a2706ac3574', + banner: { + topframe: 0, + format: [ + { w: 300, h: 250 }, + { w: 300, h: 600 }, + ], + }, + secure: 1, + tagid: 'header-ad-1234', + ext: { + adUnitCode: 'header-ad-1234', + gpid: '/12345/nexx360/Homepage/HP/Header-Ad', + divId: 'div-1', + dimensions: { + slotW: 200, + slotH: 250, + cssMaxW: '400px', + cssMaxH: '350px', + }, + nexx360: { + tagId: 'luvxjvgn', + adUnitName: 'header-ad', + adUnitPath: '/12345/nexx360/Homepage/HP/Header-Ad', + divId: 'div-1', + }, + adUnitName: 'header-ad', + adUnitPath: '/12345/nexx360/Homepage/HP/Header-Ad', + }, + }, + { + id: '5ba94555219a03', + banner: { + topframe: 0, + format: [ + { w: 728, h: 90 }, + { w: 970, h: 250 }, + ], + }, + secure: 1, + tagid: 'div-2-abcd', + ext: { + adUnitCode: 'div-2-abcd', + divId: 'div-2-abcd', + nexx360: { + placement: 'testPlacement', + divId: 'div-2-abcd', + allBids: true, + }, + }, + }, + ], + id: requestContent.id, + test: 0, + ext: { + version: requestContent.ext.version, + source: 'prebid.js', + pageViewId: requestContent.ext.pageViewId, + bidderVersion: '7.1', + localStorage: { amxId: 'abcdef'}, + sessionId: requestContent.ext.sessionId, + requestCounter: 0, + }, + cur: [ + 'USD', + ], + user: { + ext: { + eids: [ + { + source: 'amxdt.net', + uids: [ + { + id: 'abcdef', + atype: 1, + } + ] + } + ] + } + }, + }; + expect(requestContent).to.be.eql(expectedRequest); + }); + + if (FEATURES.VIDEO) { + it('We perform a test with a multiformat adunit', () => { + const multiformatBids = structuredClone(sampleBids); + multiformatBids[0].mediaTypes = { + banner: { + sizes: [[300, 250], [300, 600]] + }, + video: { + context: 'outstream', + playerSize: [640, 480], + mimes: ['video/mp4'], + protocols: [1, 2, 3, 4, 5, 6, 7, 8], + playbackmethod: [2], + skip: 1, + playback_method: ['auto_play_sound_off'] + } + }; + const request = spec.buildRequests(multiformatBids, bidderRequest); + const video = request.data.imp[0].video; + const expectedVideo = { + mimes: ['video/mp4'], + protocols: [1, 2, 3, 4, 5, 6, 7, 8], + playbackmethod: [2], + skip: 1, + w: 640, + h: 480, + ext: { + playerSize: [640, 480], + context: 'outstream', + }, + }; + expect(video).to.eql(expectedVideo); + }); + + it('We perform a test with a instream adunit', () => { + const videoBids = structuredClone(sampleBids); + videoBids[0].mediaTypes = { + video: { + context: 'instream', + playerSize: [640, 480], + mimes: ['video/mp4'], + protocols: [1, 2, 3, 4, 5, 6], + playbackmethod: [2], + skip: 1 + } + }; + const request = spec.buildRequests(videoBids, bidderRequest); + const requestContent = request.data; + expect(request).to.have.property('method').and.to.equal('POST'); + expect(requestContent.imp[0].video.ext.context).to.be.eql('instream'); + expect(requestContent.imp[0].video.playbackmethod[0]).to.be.eql(2); + }); + } + }); + after(() => { + sandbox.restore() + }); + }); + + describe('We test interpretResponse', () => { + it('empty response', () => { + const response = { + body: '' + }; + const output = spec.interpretResponse(response); + expect(output.length).to.be.eql(0); + }); + it('banner responses with adm', () => { + const response = { + body: { + id: 'a8d3a675-a4ba-4d26-807f-c8f2fad821e0', + cur: 'USD', + seatbid: [ + { + bid: [ + { + id: '4427551302944024629', + impid: '226175918ebeda', + price: 1.5, + adomain: [ + 'http://prebid.org', + ], + crid: '98493581', + ssp: 'appnexus', + h: 600, + w: 300, + adm: '
TestAd
', + cat: [ + 'IAB3-1', + ], + ext: { + adUnitCode: 'div-1', + mediaType: 'banner', + adUrl: 'https://fast.nexx360.io/cache?uuid=fdddcebc-1edf-489d-880d-1418d8bdc493', + ssp: 'appnexus', + }, + }, + ], + seat: 'appnexus', + }, + ], + ext: { + id: 'de3de7c7-e1cf-4712-80a9-94eb26bfc718', + cookies: [], + }, + }, + }; + const output = spec.interpretResponse(response); + const expectedOutput = [{ + requestId: '226175918ebeda', + cpm: 1.5, + width: 300, + height: 600, + creativeId: '98493581', + currency: 'USD', + netRevenue: true, + ttl: 120, + mediaType: 'banner', + meta: { + advertiserDomains: [ + 'http://prebid.org', + ], + demandSource: 'appnexus', + }, + ad: '
TestAd
', + }]; + expect(output).to.eql(expectedOutput); + }); + + it('instream responses', () => { + const response = { + body: { + id: '2be64380-ba0c-405a-ab53-51f51c7bde51', + cur: 'USD', + seatbid: [ + { + bid: [ + { + id: '8275140264321181514', + impid: '263cba3b8bfb72', + price: 5, + adomain: [ + 'appnexus.com', + ], + crid: '97517771', + h: 1, + w: 1, + adm: 'vast', + ext: { + mediaType: 'instream', + ssp: 'appnexus', + adUnitCode: 'video1', + }, + }, + ], + seat: 'appnexus', + }, + ], + ext: { + cookies: [], + }, + }, + }; + + const output = spec.interpretResponse(response); + const expectedOutput = [{ + requestId: '263cba3b8bfb72', + cpm: 5, + width: 1, + height: 1, + creativeId: '97517771', + currency: 'USD', + netRevenue: true, + ttl: 120, + mediaType: 'video', + meta: { advertiserDomains: ['appnexus.com'], demandSource: 'appnexus' }, + vastXml: 'vast', + }]; + expect(output).to.eql(expectedOutput); + }); + + it('outstream responses', () => { + const response = { + body: { + id: '40c23932-135e-4602-9701-ca36f8d80c07', + cur: 'USD', + seatbid: [ + { + bid: [ + { + id: '1186971142548769361', + impid: '4ce809b61a3928', + price: 5, + adomain: [ + 'appnexus.com', + ], + crid: '97517771', + h: 1, + w: 1, + adm: 'vast', + ext: { + mediaType: 'outstream', + ssp: 'appnexus', + adUnitCode: 'div-1', + divId: 'div-1', + }, + }, + ], + seat: 'appnexus', + }, + ], + ext: { + cookies: [], + }, + }, + }; + + const output = spec.interpretResponse(response); + const expectedOutut = [{ + requestId: '4ce809b61a3928', + cpm: 5, + width: 1, + height: 1, + creativeId: '97517771', + currency: 'USD', + netRevenue: true, + divId: 'div-1', + ttl: 120, + mediaType: 'video', + meta: { advertiserDomains: ['appnexus.com'], demandSource: 'appnexus' }, + vastXml: 'vast', + renderer: output[0].renderer, + }]; + expect(output).to.eql(expectedOutut); + }); + + it('native responses', () => { + const response = { + body: { + id: '3c0290c1-6e75-4ef7-9e37-17f5ebf3bfa3', + cur: 'USD', + seatbid: [ + { + bid: [ + { + id: '6624930625245272225', + impid: '23e11d845514bb', + price: 10, + adomain: [ + 'prebid.org', + ], + crid: '97494204', + h: 1, + w: 1, + cat: [ + 'IAB3-1', + ], + ext: { + mediaType: 'native', + ssp: 'appnexus', + adUnitCode: '/19968336/prebid_native_example_1', + }, + adm: '{"ver":"1.2","assets":[{"id":1,"img":{"url":"https:\\/\\/vcdn.adnxs.com\\/p\\/creative-image\\/f8\\/7f\\/0f\\/13\\/f87f0f13-230c-4f05-8087-db9216e393de.jpg","w":989,"h":742,"ext":{"appnexus":{"prevent_crop":0}}}},{"id":0,"title":{"text":"This is a Prebid Native Creative"}},{"id":2,"data":{"value":"Prebid.org"}}],"link":{"url":"https:\\/\\/ams3-ib.adnxs.com\\/click?AAAAAAAAJEAAAAAAAAAkQAAAAAAAACRAAAAAAAAAJEAAAAAAAAAkQKZS4ZZl5vVbR6p-A-MwnyTZ7QVkAAAAAOLoyQBtJAAAbSQAAAIAAAC8pM8FnPgWAAAAAABVU0QAVVNEAAEAAQBNXQAAAAABAgMCAAAAALoAURe69gAAAAA.\\/bcr=AAAAAAAA8D8=\\/pp=${AUCTION_PRICE}\\/cnd=%21JBC72Aj8-LwKELzJvi4YnPFbIAQoADEAAAAAAAAkQDoJQU1TMzo2MTM1QNAwSQAAAAAAAPA_UQAAAAAAAAAAWQAAAAAAAAAAYQAAAAAAAAAAaQAAAAAAAAAAcQAAAAAAAAAAeACJAQAAAAAAAAAA\\/cca=OTMyNSNBTVMzOjYxMzU=\\/bn=97062\\/clickenc=http%3A%2F%2Fprebid.org%2Fdev-docs%2Fshow-native-ads.html"},"eventtrackers":[{"event":1,"method":1,"url":"https:\\/\\/ams3-ib.adnxs.com\\/it?an_audit=0&referrer=https%3A%2F%2Ftest.nexx360.io%2Fadapter%2Fnative%2Ftest.html&e=wqT_3QKJCqAJBQAAAwDWAAUBCNnbl6AGEKalhbfZzPn6WxjH1PqbsJzMzyQqNgkAAAECCCRAEQEHEAAAJEAZEQkAIREJACkRCQAxEQmoMOLRpwY47UhA7UhIAlC8yb4uWJzxW2AAaM26dXim9gWAAQGKAQNVU0SSAQEG9F4BmAEBoAEBqAEBsAEAuAECwAEDyAEC0AEJ2AEA4AEA8AEAigIpdWYoJ2EnLCAyNTI5ODg1LCAwKTt1ZigncicsIDk3NDk0MjA0LCAwKTuSAvEDIS0xRDNJQWo4LUx3S0VMekp2aTRZQUNDYzhWc3dBRGdBUUFSSTdVaFE0dEduQmxnQVlQX19fXzhQYUFCd0FYZ0JnQUVCaUFFQmtBRUJtQUVCb0FFQnFBRURzQUVBdVFIenJXcWtBQUFrUU1FQjg2MXFwQUFBSkVESkFYSUtWbWViSmZJXzJRRUFBQUFBQUFEd1AtQUJBUFVCQUFBQUFKZ0NBS0FDQUxVQ0FBQUFBTDBDQUFBQUFNQUNBY2dDQWRBQ0FkZ0NBZUFDQU9nQ0FQZ0NBSUFEQVpnREFib0RDVUZOVXpNNk5qRXpOZUFEMERDSUJBQ1FCQUNZQkFIQkJBQUFBQUFBQUFBQXlRUUFBCQscQUFOZ0VBUEURlSxBQUFDSUJmY3ZxUVUBDQRBQQGoCDdFRgEKCQEMREJCUQkKAQEAeRUoAUwyKAAAWi4oALg0QVhBaEQzd0JhTEQzd0w0QmQyMG1nR0NCZ05WVTBTSUJnQ1FCZ0dZQmdDaEJnQQFONEFBQ1JBcUFZQnNnWWtDHXQARR0MAEcdDABJHQw8dUFZS5oClQEhSkJDNzJBajL1ASRuUEZiSUFRb0FEFfhUa1FEb0pRVTFUTXpvMk1UTTFRTkF3UxFRDFBBX1URDAxBQUFXHQwAWR0MAGEdDABjHQwQZUFDSkEdEMjYAvfpA-ACrZhI6gIwaHR0cHM6Ly90ZXN0Lm5leHgzNjAuaW8vYWRhcHRlci9uYXRpdmUJH_CaaHRtbIADAIgDAZADAJgDFKADAaoDAMAD4KgByAMA2AMA4AMA6AMA-AMDgAQAkgQJL29wZW5ydGIymAQAqAQAsgQMCAAQABgAIAAwADgAuAQAwASA2rgiyAQA0gQOOTMyNSNBTVMzOjYxMzXaBAIIAeAEAPAEvMm-LvoEEgkAAABAPG1IQBEAAACgV8oCQIgFAZgFAKAF______8BBbABqgUkM2MwMjkwYzEtNmU3NS00ZWY3LTllMzctMTdmNWViZjNiZmEzwAUAyQWJFxTwP9IFCQkJDHgAANgFAeAFAfAFmfQh-gUECAAQAJAGAZgGALgGAMEGCSUo8D_QBvUv2gYWChAJERkBAdpg4AYM8gYCCACABwGIBwCgB0HIB6b2BdIHDRVkASYI2gcGAV1oGADgBwDqBwIIAPAHAIoIAhAAlQgAAIA_mAgB&s=ccf63f2e483a37091d2475d895e7cf7c911d1a78&pp=${AUCTION_PRICE}"}]}', + }, + ], + seat: 'appnexus', + }, + ], + ext: { + cookies: [], + }, + }, + }; + + const output = spec.interpretResponse(response); + const expectOutput = [{ + requestId: '23e11d845514bb', + cpm: 10, + width: 1, + height: 1, + creativeId: '97494204', + currency: 'USD', + netRevenue: true, + ttl: 120, + mediaType: 'native', + meta: { + advertiserDomains: [ + 'prebid.org', + ], + demandSource: 'appnexus', + }, + native: { + ortb: { + ver: '1.2', + assets: [ + { + id: 1, + img: { + url: 'https://vcdn.adnxs.com/p/creative-image/f8/7f/0f/13/f87f0f13-230c-4f05-8087-db9216e393de.jpg', + w: 989, + h: 742, + ext: { + appnexus: { + prevent_crop: 0, + }, + }, + }, + }, + { + id: 0, + title: { + text: 'This is a Prebid Native Creative', + }, + }, + { + id: 2, + data: { + value: 'Prebid.org', + }, + }, + ], + link: { + url: 'https://ams3-ib.adnxs.com/click?AAAAAAAAJEAAAAAAAAAkQAAAAAAAACRAAAAAAAAAJEAAAAAAAAAkQKZS4ZZl5vVbR6p-A-MwnyTZ7QVkAAAAAOLoyQBtJAAAbSQAAAIAAAC8pM8FnPgWAAAAAABVU0QAVVNEAAEAAQBNXQAAAAABAgMCAAAAALoAURe69gAAAAA./bcr=AAAAAAAA8D8=/pp=${AUCTION_PRICE}/cnd=%21JBC72Aj8-LwKELzJvi4YnPFbIAQoADEAAAAAAAAkQDoJQU1TMzo2MTM1QNAwSQAAAAAAAPA_UQAAAAAAAAAAWQAAAAAAAAAAYQAAAAAAAAAAaQAAAAAAAAAAcQAAAAAAAAAAeACJAQAAAAAAAAAA/cca=OTMyNSNBTVMzOjYxMzU=/bn=97062/clickenc=http%3A%2F%2Fprebid.org%2Fdev-docs%2Fshow-native-ads.html', + }, + eventtrackers: [ + { + event: 1, + method: 1, + url: 'https://ams3-ib.adnxs.com/it?an_audit=0&referrer=https%3A%2F%2Ftest.nexx360.io%2Fadapter%2Fnative%2Ftest.html&e=wqT_3QKJCqAJBQAAAwDWAAUBCNnbl6AGEKalhbfZzPn6WxjH1PqbsJzMzyQqNgkAAAECCCRAEQEHEAAAJEAZEQkAIREJACkRCQAxEQmoMOLRpwY47UhA7UhIAlC8yb4uWJzxW2AAaM26dXim9gWAAQGKAQNVU0SSAQEG9F4BmAEBoAEBqAEBsAEAuAECwAEDyAEC0AEJ2AEA4AEA8AEAigIpdWYoJ2EnLCAyNTI5ODg1LCAwKTt1ZigncicsIDk3NDk0MjA0LCAwKTuSAvEDIS0xRDNJQWo4LUx3S0VMekp2aTRZQUNDYzhWc3dBRGdBUUFSSTdVaFE0dEduQmxnQVlQX19fXzhQYUFCd0FYZ0JnQUVCaUFFQmtBRUJtQUVCb0FFQnFBRURzQUVBdVFIenJXcWtBQUFrUU1FQjg2MXFwQUFBSkVESkFYSUtWbWViSmZJXzJRRUFBQUFBQUFEd1AtQUJBUFVCQUFBQUFKZ0NBS0FDQUxVQ0FBQUFBTDBDQUFBQUFNQUNBY2dDQWRBQ0FkZ0NBZUFDQU9nQ0FQZ0NBSUFEQVpnREFib0RDVUZOVXpNNk5qRXpOZUFEMERDSUJBQ1FCQUNZQkFIQkJBQUFBQUFBQUFBQXlRUUFBCQscQUFOZ0VBUEURlSxBQUFDSUJmY3ZxUVUBDQRBQQGoCDdFRgEKCQEMREJCUQkKAQEAeRUoAUwyKAAAWi4oALg0QVhBaEQzd0JhTEQzd0w0QmQyMG1nR0NCZ05WVTBTSUJnQ1FCZ0dZQmdDaEJnQQFONEFBQ1JBcUFZQnNnWWtDHXQARR0MAEcdDABJHQw8dUFZS5oClQEhSkJDNzJBajL1ASRuUEZiSUFRb0FEFfhUa1FEb0pRVTFUTXpvMk1UTTFRTkF3UxFRDFBBX1URDAxBQUFXHQwAWR0MAGEdDABjHQwQZUFDSkEdEMjYAvfpA-ACrZhI6gIwaHR0cHM6Ly90ZXN0Lm5leHgzNjAuaW8vYWRhcHRlci9uYXRpdmUJH_CaaHRtbIADAIgDAZADAJgDFKADAaoDAMAD4KgByAMA2AMA4AMA6AMA-AMDgAQAkgQJL29wZW5ydGIymAQAqAQAsgQMCAAQABgAIAAwADgAuAQAwASA2rgiyAQA0gQOOTMyNSNBTVMzOjYxMzXaBAIIAeAEAPAEvMm-LvoEEgkAAABAPG1IQBEAAACgV8oCQIgFAZgFAKAF______8BBbABqgUkM2MwMjkwYzEtNmU3NS00ZWY3LTllMzctMTdmNWViZjNiZmEzwAUAyQWJFxTwP9IFCQkJDHgAANgFAeAFAfAFmfQh-gUECAAQAJAGAZgGALgGAMEGCSUo8D_QBvUv2gYWChAJERkBAdpg4AYM8gYCCACABwGIBwCgB0HIB6b2BdIHDRVkASYI2gcGAV1oGADgBwDqBwIIAPAHAIoIAhAAlQgAAIA_mAgB&s=ccf63f2e483a37091d2475d895e7cf7c911d1a78&pp=${AUCTION_PRICE}', + }, + ], + }, + }, + }]; + expect(output).to.eql(expectOutput); + }); + }); + + describe('getUserSyncs()', () => { + const response = { body: { cookies: [] } }; + it('Verifies user sync without cookie in bid response', () => { + const syncs = spec.getUserSyncs({}, [response], DEFAULT_OPTIONS.gdprConsent, DEFAULT_OPTIONS.uspConsent); + expect(syncs).to.eql([]); + }); + it('Verifies user sync with cookies in bid response', () => { + response.body.ext = { + cookies: [{'type': 'image', 'url': 'http://www.cookie.sync.org/'}] + }; + const syncs = spec.getUserSyncs({}, [response], DEFAULT_OPTIONS.gdprConsent); + const expectedSyncs = [{ type: 'image', url: 'http://www.cookie.sync.org/' }]; + expect(syncs).to.eql(expectedSyncs); + }); + it('Verifies user sync with no bid response', () => { + var syncs = spec.getUserSyncs({}, null, DEFAULT_OPTIONS.gdprConsent, DEFAULT_OPTIONS.uspConsent); + expect(syncs).to.eql([]); + }); + it('Verifies user sync with no bid body response', () => { + let syncs = spec.getUserSyncs({}, [], DEFAULT_OPTIONS.gdprConsent, DEFAULT_OPTIONS.uspConsent); + expect(syncs).to.eql([]); + syncs = spec.getUserSyncs({}, [{}], DEFAULT_OPTIONS.gdprConsent, DEFAULT_OPTIONS.uspConsent); + expect(syncs).to.eql([]); + }); + }); +}); From faf56517efca588689f1be112d36803d0b8eaa77 Mon Sep 17 00:00:00 2001 From: morock <98119227+mo4rock@users.noreply.github.com> Date: Fri, 20 Feb 2026 21:38:38 +0200 Subject: [PATCH 205/248] LeagueM BId Adapter: initial release (#14479) * LeagueM BId Adapter: initial release * Update test/spec/modules/leagueMBidAdapter_spec.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update test/spec/modules/leagueMBidAdapter_spec.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update test/spec/modules/leagueMBidAdapter_spec.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update modules/leagueMBidAdapter.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Patrick McCann --- modules/leagueMBidAdapter.js | 17 + modules/leagueMBidAdapter.md | 54 +++ test/spec/modules/leagueMBidAdapter_spec.js | 441 ++++++++++++++++++++ 3 files changed, 512 insertions(+) create mode 100644 modules/leagueMBidAdapter.js create mode 100644 modules/leagueMBidAdapter.md create mode 100644 test/spec/modules/leagueMBidAdapter_spec.js diff --git a/modules/leagueMBidAdapter.js b/modules/leagueMBidAdapter.js new file mode 100644 index 00000000000..3a0f1cdbebb --- /dev/null +++ b/modules/leagueMBidAdapter.js @@ -0,0 +1,17 @@ +import {BANNER, VIDEO} from '../src/mediaTypes.js'; +import {registerBidder} from '../src/adapters/bidderFactory.js'; +import {buildRequests, getUserSyncs, interpretResponse, isBidRequestValid} from '../libraries/xeUtils/bidderUtils.js'; + +const BIDDER_CODE = 'leagueM'; +const ENDPOINT = 'https://pbjs.league-m.media'; + +export const spec = { + code: BIDDER_CODE, + supportedMediaTypes: [BANNER, VIDEO], + isBidRequestValid: bid => isBidRequestValid(bid, ['pid']), + buildRequests: (validBidRequests, bidderRequest) => buildRequests(validBidRequests, bidderRequest, ENDPOINT), + interpretResponse, + getUserSyncs +} + +registerBidder(spec); diff --git a/modules/leagueMBidAdapter.md b/modules/leagueMBidAdapter.md new file mode 100644 index 00000000000..5ef96b0d66b --- /dev/null +++ b/modules/leagueMBidAdapter.md @@ -0,0 +1,54 @@ +# Overview + +``` +Module Name: LeagueM Bidder Adapter +Module Type: LeagueM Bidder Adapter +Maintainer: prebid@league-m.com +``` + +# Description + +Module that connects to league-m.media demand sources + +# Test Parameters +``` +var adUnits = [ + { + code: 'test-banner', + mediaTypes: { + banner: { + sizes: [[300, 250]], + } + }, + bids: [ + { + bidder: 'leagueM', + params: { + env: 'leagueM', + pid: 'aa8217e20131c095fe9dba67981040b0', + ext: {} + } + } + ] + }, + { + code: 'test-video', + sizes: [ [ 640, 480 ] ], + mediaTypes: { + video: { + playerSize: [640, 480], + context: 'instream', + skippable: true + } + }, + bids: [{ + bidder: 'leagueM', + params: { + env: 'leagueM', + pid: 'aa8217e20131c095fe9dba67981040b0', + ext: {} + } + }] + } +]; +``` diff --git a/test/spec/modules/leagueMBidAdapter_spec.js b/test/spec/modules/leagueMBidAdapter_spec.js new file mode 100644 index 00000000000..4c0f9a53529 --- /dev/null +++ b/test/spec/modules/leagueMBidAdapter_spec.js @@ -0,0 +1,441 @@ +import {expect} from 'chai'; +import {config} from 'src/config.js'; +import {spec} from 'modules/leagueMBidAdapter.js'; +import {deepClone} from 'src/utils'; +import {getBidFloor} from '../../../libraries/xeUtils/bidderUtils.js'; + +const ENDPOINT = 'https://pbjs.league-m.media'; + +const defaultRequest = { + tmax: 0, + adUnitCode: 'test', + bidId: '1', + requestId: 'qwerty', + ortb2: { + source: { + tid: 'auctionId' + } + }, + ortb2Imp: { + ext: { + tid: 'tr1', + } + }, + mediaTypes: { + banner: { + sizes: [ + [300, 250], + [300, 200] + ] + } + }, + bidder: 'leagueM', + params: { + pid: 'aa8217e20131c095fe9dba67981040b0', + ext: {} + }, + bidRequestsCount: 1 +}; + +const defaultRequestVideo = deepClone(defaultRequest); +defaultRequestVideo.mediaTypes = { + video: { + playerSize: [640, 480], + context: 'instream', + skippable: true + } +}; + +const videoBidderRequest = { + bidderCode: 'leagueM', + bids: [{mediaTypes: {video: {}}, bidId: 'qwerty'}] +}; + +const displayBidderRequest = { + bidderCode: 'leagueM', + bids: [{bidId: 'qwerty'}] +}; + +describe('leagueMBidAdapter', () => { + describe('isBidRequestValid', function () { + it('should return false when request params is missing', function () { + const invalidRequest = deepClone(defaultRequest); + delete invalidRequest.params; + expect(spec.isBidRequestValid(invalidRequest)).to.equal(false); + }); + + it('should return false when required pid param is missing', function () { + const invalidRequest = deepClone(defaultRequest); + delete invalidRequest.params.pid; + expect(spec.isBidRequestValid(invalidRequest)).to.equal(false); + }); + + it('should return false when video.playerSize is missing', function () { + const invalidRequest = deepClone(defaultRequestVideo); + delete invalidRequest.mediaTypes.video.playerSize; + expect(spec.isBidRequestValid(invalidRequest)).to.equal(false); + }); + + it('should return true when required params found', function () { + expect(spec.isBidRequestValid(defaultRequest)).to.equal(true); + }); + }); + + describe('buildRequests', function () { + beforeEach(function () { + config.resetConfig(); + }); + + it('should send request with correct structure', function () { + const request = spec.buildRequests([defaultRequest], {}); + expect(request.method).to.equal('POST'); + expect(request.url).to.equal(ENDPOINT + '/bid'); + expect(request.options).to.have.property('contentType').and.to.equal('application/json'); + expect(request).to.have.property('data'); + }); + + it('should build basic request structure', function () { + const request = JSON.parse(spec.buildRequests([defaultRequest], {}).data)[0]; + expect(request).to.have.property('tmax').and.to.equal(defaultRequest.tmax); + expect(request).to.have.property('bidId').and.to.equal(defaultRequest.bidId); + expect(request).to.have.property('auctionId').and.to.equal(defaultRequest.ortb2.source.tid); + expect(request).to.have.property('transactionId').and.to.equal(defaultRequest.ortb2Imp.ext.tid); + expect(request).to.have.property('tz').and.to.equal(new Date().getTimezoneOffset()); + expect(request).to.have.property('bc').and.to.equal(1); + expect(request).to.have.property('floor').and.to.equal(null); + expect(request).to.have.property('banner').and.to.deep.equal({sizes: [[300, 250], [300, 200]]}); + expect(request).to.have.property('gdprConsent').and.to.deep.equal({}); + expect(request).to.have.property('userEids').and.to.deep.equal([]); + expect(request).to.have.property('usPrivacy').and.to.equal(''); + expect(request).to.have.property('sizes').and.to.deep.equal(['300x250', '300x200']); + expect(request).to.have.property('ext').and.to.deep.equal({}); + expect(request).to.have.property('env').and.to.deep.equal({ + pid: 'aa8217e20131c095fe9dba67981040b0' + }); + expect(request).to.have.property('device').and.to.deep.equal({ + ua: navigator.userAgent, + lang: navigator.language + }); + }); + + it('should build request with schain', function () { + const schainRequest = deepClone(defaultRequest); + const bidderRequest = { + ortb2: { + source: { + ext: { + schain: { + ver: '1.0' + } + } + } + } + }; + const request = JSON.parse(spec.buildRequests([schainRequest], bidderRequest).data)[0]; + expect(request).to.have.property('schain').and.to.deep.equal({ + ver: '1.0' + }); + }); + + it('should build request with location', function () { + const bidderRequest = { + refererInfo: { + page: 'page', + location: 'location', + domain: 'domain', + ref: 'ref', + isAmp: false + } + }; + const request = JSON.parse(spec.buildRequests([defaultRequest], bidderRequest).data)[0]; + expect(request).to.have.property('location'); + const location = request.location; + expect(location).to.have.property('page').and.to.equal('page'); + expect(location).to.have.property('location').and.to.equal('location'); + expect(location).to.have.property('domain').and.to.equal('domain'); + expect(location).to.have.property('ref').and.to.equal('ref'); + expect(location).to.have.property('isAmp').and.to.equal(false); + }); + + it('should build request with ortb2 info', function () { + const ortb2Request = deepClone(defaultRequest); + ortb2Request.ortb2 = { + site: { + name: 'name' + } + }; + const request = JSON.parse(spec.buildRequests([ortb2Request], {}).data)[0]; + expect(request).to.have.property('ortb2').and.to.deep.equal({ + site: { + name: 'name' + } + }); + }); + + it('should build request with ortb2Imp info', function () { + const ortb2ImpRequest = deepClone(defaultRequest); + ortb2ImpRequest.ortb2Imp = { + ext: { + data: { + pbadslot: 'home1', + adUnitSpecificAttribute: '1' + } + } + }; + const request = JSON.parse(spec.buildRequests([ortb2ImpRequest], {}).data)[0]; + expect(request).to.have.property('ortb2Imp').and.to.deep.equal({ + ext: { + data: { + pbadslot: 'home1', + adUnitSpecificAttribute: '1' + } + } + }); + }); + + it('should build request with valid bidfloor', function () { + const bfRequest = deepClone(defaultRequest); + bfRequest.getFloor = () => ({floor: 5, currency: 'USD'}); + const request = JSON.parse(spec.buildRequests([bfRequest], {}).data)[0]; + expect(request).to.have.property('floor').and.to.equal(5); + }); + + it('should build request with usp consent data if applies', function () { + const bidderRequest = { + uspConsent: '1YA-' + }; + const request = JSON.parse(spec.buildRequests([defaultRequest], bidderRequest).data)[0]; + expect(request).to.have.property('usPrivacy').and.equals('1YA-'); + }); + + it('should build request with extended ids', function () { + const idRequest = deepClone(defaultRequest); + idRequest.userIdAsEids = [ + {source: 'adserver.org', uids: [{id: 'TTD_ID_FROM_USER_ID_MODULE', atype: 1, ext: {rtiPartner: 'TDID'}}]}, + {source: 'pubcid.org', uids: [{id: 'pubCommonId_FROM_USER_ID_MODULE', atype: 1}]} + ]; + const request = JSON.parse(spec.buildRequests([idRequest], {}).data)[0]; + expect(request).to.have.property('userEids').and.deep.equal(idRequest.userIdAsEids); + }); + + it('should build request with video', function () { + const request = JSON.parse(spec.buildRequests([defaultRequestVideo], {}).data)[0]; + expect(request).to.have.property('video').and.to.deep.equal({ + playerSize: [640, 480], + context: 'instream', + skippable: true + }); + expect(request).to.have.property('sizes').and.to.deep.equal(['640x480']); + }); + }); + + describe('interpretResponse', function () { + it('should return empty bids', function () { + const serverResponse = { + body: { + data: null + } + }; + + const invalidResponse = spec.interpretResponse(serverResponse, {}); + expect(invalidResponse).to.be.an('array').that.is.empty; + }); + + it('should interpret valid response', function () { + const serverResponse = { + body: { + data: [{ + requestId: 'qwerty', + cpm: 1, + currency: 'USD', + width: 300, + height: 250, + ttl: 600, + meta: { + advertiserDomains: ['leagueM'] + }, + ext: { + pixels: [ + ['iframe', 'surl1'], + ['image', 'surl2'], + ] + } + }] + } + }; + + const validResponse = spec.interpretResponse(serverResponse, {bidderRequest: displayBidderRequest}); + const bid = validResponse[0]; + expect(validResponse).to.be.an('array').that.is.not.empty; + expect(bid.requestId).to.equal('qwerty'); + expect(bid.cpm).to.equal(1); + expect(bid.currency).to.equal('USD'); + expect(bid.width).to.equal(300); + expect(bid.height).to.equal(250); + expect(bid.ttl).to.equal(600); + expect(bid.meta).to.deep.equal({advertiserDomains: ['leagueM']}); + }); + + it('should interpret valid banner response', function () { + const serverResponse = { + body: { + data: [{ + requestId: 'qwerty', + cpm: 1, + currency: 'USD', + width: 300, + height: 250, + ttl: 600, + mediaType: 'banner', + creativeId: 'demo-banner', + ad: 'ad', + meta: {} + }] + } + }; + + const validResponseBanner = spec.interpretResponse(serverResponse, {bidderRequest: displayBidderRequest}); + const bid = validResponseBanner[0]; + expect(validResponseBanner).to.be.an('array').that.is.not.empty; + expect(bid.mediaType).to.equal('banner'); + expect(bid.creativeId).to.equal('demo-banner'); + expect(bid.ad).to.equal('ad'); + }); + + it('should interpret valid video response', function () { + const serverResponse = { + body: { + data: [{ + requestId: 'qwerty', + cpm: 1, + currency: 'USD', + width: 600, + height: 480, + ttl: 600, + mediaType: 'video', + creativeId: 'demo-video', + ad: 'vast-xml', + meta: {} + }] + } + }; + + const validResponseBanner = spec.interpretResponse(serverResponse, {bidderRequest: videoBidderRequest}); + const bid = validResponseBanner[0]; + expect(validResponseBanner).to.be.an('array').that.is.not.empty; + expect(bid.mediaType).to.equal('video'); + expect(bid.creativeId).to.equal('demo-video'); + expect(bid.ad).to.equal('vast-xml'); + }); + }); + + describe('getUserSyncs', function () { + it('should handle no params', function () { + const opts = spec.getUserSyncs({}, []); + expect(opts).to.be.an('array').that.is.empty; + }); + + it('should return empty if sync is not allowed', function () { + const opts = spec.getUserSyncs({iframeEnabled: false, pixelEnabled: false}); + expect(opts).to.be.an('array').that.is.empty; + }); + + it('should allow iframe sync', function () { + const opts = spec.getUserSyncs({iframeEnabled: true, pixelEnabled: false}, [{ + body: { + data: [{ + requestId: 'qwerty', + ext: { + pixels: [ + ['iframe', 'surl1?a=b'], + ['image', 'surl2?a=b'], + ] + } + }] + } + }]); + expect(opts.length).to.equal(1); + expect(opts[0].type).to.equal('iframe'); + expect(opts[0].url).to.equal('surl1?a=b&us_privacy=&gdpr=0&gdpr_consent='); + }); + + it('should allow pixel sync', function () { + const opts = spec.getUserSyncs({iframeEnabled: false, pixelEnabled: true}, [{ + body: { + data: [{ + requestId: 'qwerty', + ext: { + pixels: [ + ['iframe', 'surl1?a=b'], + ['image', 'surl2?a=b'], + ] + } + }] + } + }]); + expect(opts.length).to.equal(1); + expect(opts[0].type).to.equal('image'); + expect(opts[0].url).to.equal('surl2?a=b&us_privacy=&gdpr=0&gdpr_consent='); + }); + + it('should allow pixel sync and parse consent params', function () { + const opts = spec.getUserSyncs({iframeEnabled: false, pixelEnabled: true}, [{ + body: { + data: [{ + requestId: 'qwerty', + ext: { + pixels: [ + ['iframe', 'surl1?a=b'], + ['image', 'surl2?a=b'], + ] + } + }] + } + }], { + gdprApplies: 1, + consentString: '1YA-' + }); + expect(opts.length).to.equal(1); + expect(opts[0].type).to.equal('image'); + expect(opts[0].url).to.equal('surl2?a=b&us_privacy=&gdpr=1&gdpr_consent=1YA-'); + }); + }); + + describe('getBidFloor', function () { + it('should return null when getFloor is not a function', () => { + const bid = {getFloor: 2}; + const result = getBidFloor(bid); + expect(result).to.be.null; + }); + + it('should return null when getFloor doesnt return an object', () => { + const bid = {getFloor: () => 2}; + const result = getBidFloor(bid); + expect(result).to.be.null; + }); + + it('should return null when floor is not a number', () => { + const bid = { + getFloor: () => ({floor: 'string', currency: 'USD'}) + }; + const result = getBidFloor(bid); + expect(result).to.be.null; + }); + + it('should return null when currency is not USD', () => { + const bid = { + getFloor: () => ({floor: 5, currency: 'EUR'}) + }; + const result = getBidFloor(bid); + expect(result).to.be.null; + }); + + it('should return floor value when everything is correct', () => { + const bid = { + getFloor: () => ({floor: 5, currency: 'USD'}) + }; + const result = getBidFloor(bid); + expect(result).to.equal(5); + }); + }); +}); From bcd5f8b3f023a61b9c2a489c96541315e9918582 Mon Sep 17 00:00:00 2001 From: markappmedia Date: Fri, 20 Feb 2026 21:39:20 +0200 Subject: [PATCH 206/248] New Adapter: Harion (#14398) * new adapter harion * refactor(adapter): guard added to interpretResponse --- modules/harionBidAdapter.js | 25 ++ modules/harionBidAdapter.md | 79 ++++ test/spec/modules/harionBidAdapter_spec.js | 475 +++++++++++++++++++++ 3 files changed, 579 insertions(+) create mode 100644 modules/harionBidAdapter.js create mode 100644 modules/harionBidAdapter.md create mode 100644 test/spec/modules/harionBidAdapter_spec.js diff --git a/modules/harionBidAdapter.js b/modules/harionBidAdapter.js new file mode 100644 index 00000000000..40b1b8282b3 --- /dev/null +++ b/modules/harionBidAdapter.js @@ -0,0 +1,25 @@ +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; +import { isBidRequestValid, buildRequests, interpretResponse } from '../libraries/teqblazeUtils/bidderUtils.js'; + +const BIDDER_CODE = 'harion'; +const GVLID = 1406; +const AD_URL = 'https://east-api.harion-ma.com/pbjs'; + +export const spec = { + code: BIDDER_CODE, + gvlid: GVLID, + supportedMediaTypes: [BANNER, VIDEO, NATIVE], + + isBidRequestValid: isBidRequestValid(), + buildRequests: buildRequests(AD_URL), + interpretResponse: (serverResponse) => { + if (!serverResponse || !Array.isArray(serverResponse.body)) { + return []; + } + + return interpretResponse(serverResponse); + } +}; + +registerBidder(spec); diff --git a/modules/harionBidAdapter.md b/modules/harionBidAdapter.md new file mode 100644 index 00000000000..a2ec196eeab --- /dev/null +++ b/modules/harionBidAdapter.md @@ -0,0 +1,79 @@ +# Overview + +``` +Module Name: Harion Bidder Adapter +Module Type: Harion Bidder Adapter +Maintainer: adtech@markappmedia.site +``` + +# Description + +Connects to Harion exchange for bids. +Harion bid adapter supports Banner, Video (instream and outstream) and Native. + +# Test Parameters +``` + var adUnits = [ + // Will return static test banner + { + code: 'adunit1', + mediaTypes: { + banner: { + sizes: [ [300, 250], [320, 50] ], + } + }, + bids: [ + { + bidder: 'harion', + params: { + placementId: 'testBanner', + } + } + ] + }, + { + code: 'addunit2', + mediaTypes: { + video: { + playerSize: [ [640, 480] ], + context: 'instream', + minduration: 5, + maxduration: 60, + } + }, + bids: [ + { + bidder: 'harion', + params: { + placementId: 'testVideo', + } + } + ] + }, + { + code: 'addunit3', + mediaTypes: { + native: { + title: { + required: true + }, + body: { + required: true + }, + icon: { + required: true, + size: [64, 64] + } + } + }, + bids: [ + { + bidder: 'harion', + params: { + placementId: 'testNative', + } + } + ] + } + ]; +``` diff --git a/test/spec/modules/harionBidAdapter_spec.js b/test/spec/modules/harionBidAdapter_spec.js new file mode 100644 index 00000000000..d5a1dd509a6 --- /dev/null +++ b/test/spec/modules/harionBidAdapter_spec.js @@ -0,0 +1,475 @@ +import { expect } from 'chai'; +import { spec } from '../../../modules/harionBidAdapter.js'; +import { BANNER, VIDEO, NATIVE } from '../../../src/mediaTypes.js'; +import { getUniqueIdentifierStr } from '../../../src/utils.js'; + +const bidder = 'Harion'; + +describe('HarionBidAdapter', function () { + const userIdAsEids = [{ + source: 'test.org', + uids: [{ + id: '01**********', + atype: 1, + ext: { + third: '01***********' + } + }] + }]; + const bids = [ + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + placementId: 'testBanner', + }, + userIdAsEids + }, + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [VIDEO]: { + playerSize: [[300, 300]], + minduration: 5, + maxduration: 60 + } + }, + params: { + placementId: 'testVideo', + }, + userIdAsEids + }, + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [NATIVE]: { + native: { + title: { + required: true + }, + body: { + required: true + }, + icon: { + required: true, + size: [64, 64] + } + } + } + }, + params: { + placementId: 'testNative' + }, + userIdAsEids + } + ]; + + const invalidBid = { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + + } + } + + const bidderRequest = { + uspConsent: '1---', + gdprConsent: { + consentString: 'COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA.IFoEUQQgAIQwgIwQABAEAAAAOIAACAIAAAAQAIAgEAACEAAAAAgAQBAAAAAAAGBAAgAAAAAAAFAAECAAAgAAQARAEQAAAAAJAAIAAgAAAYQEAAAQmAgBC3ZAYzUw', + vendorData: {} + }, + refererInfo: { + referer: 'https://test.com', + page: 'https://test.com' + }, + ortb2: { + device: { + w: 1512, + h: 982, + language: 'en-UK', + } + }, + timeout: 500 + }; + + describe('isBidRequestValid', function () { + it('Should return true if there are bidId, params and key parameters present', function () { + expect(spec.isBidRequestValid(bids[0])).to.be.true; + }); + it('Should return false if at least one of parameters is not present', function () { + expect(spec.isBidRequestValid(invalidBid)).to.be.false; + }); + }); + + describe('buildRequests', function () { + let serverRequest = spec.buildRequests(bids, bidderRequest); + + it('Creates a ServerRequest object with method, URL and data', function () { + expect(serverRequest).to.exist; + expect(serverRequest.method).to.exist; + expect(serverRequest.url).to.exist; + expect(serverRequest.data).to.exist; + }); + + it('Returns POST method', function () { + expect(serverRequest.method).to.equal('POST'); + }); + + it('Returns general data valid', function () { + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.all.keys( + 'deviceWidth', + 'deviceHeight', + 'device', + 'language', + 'secure', + 'host', + 'page', + 'placements', + 'coppa', + 'ccpa', + 'gdpr', + 'tmax', + 'bcat', + 'badv', + 'bapp', + 'battr' + ); + expect(data.deviceWidth).to.be.a('number'); + expect(data.deviceHeight).to.be.a('number'); + expect(data.language).to.be.a('string'); + expect(data.secure).to.be.within(0, 1); + expect(data.host).to.be.a('string'); + expect(data.page).to.be.a('string'); + expect(data.coppa).to.be.a('number'); + expect(data.gdpr).to.be.a('object'); + expect(data.ccpa).to.be.a('string'); + expect(data.tmax).to.be.a('number'); + expect(data.placements).to.have.lengthOf(3); + }); + + it('Returns valid placements', function () { + const { placements } = serverRequest.data; + for (let i = 0, len = placements.length; i < len; i++) { + const placement = placements[i]; + expect(placement.placementId).to.be.oneOf(['testBanner', 'testVideo', 'testNative']); + expect(placement.adFormat).to.be.oneOf([BANNER, VIDEO, NATIVE]); + expect(placement.bidId).to.be.a('string'); + expect(placement.schain).to.be.an('object'); + expect(placement.bidfloor).to.exist.and.to.equal(0); + expect(placement.type).to.exist.and.to.equal('publisher'); + expect(placement.eids).to.exist.and.to.be.deep.equal(userIdAsEids); + + if (placement.adFormat === BANNER) { + expect(placement.sizes).to.be.an('array'); + } + switch (placement.adFormat) { + case BANNER: + expect(placement.sizes).to.be.an('array'); + break; + case VIDEO: + expect(placement.playerSize).to.be.an('array'); + expect(placement.minduration).to.be.an('number'); + expect(placement.maxduration).to.be.an('number'); + break; + case NATIVE: + expect(placement.native).to.be.an('object'); + break; + } + } + }); + + it('Returns valid endpoints', function () { + const bids = [ + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + endpointId: 'testBanner', + }, + userIdAsEids + } + ]; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + + const { placements } = serverRequest.data; + for (let i = 0, len = placements.length; i < len; i++) { + const placement = placements[i]; + expect(placement.endpointId).to.be.oneOf(['testBanner', 'testVideo', 'testNative']); + expect(placement.adFormat).to.be.oneOf([BANNER, VIDEO, NATIVE]); + expect(placement.bidId).to.be.a('string'); + expect(placement.schain).to.be.an('object'); + expect(placement.bidfloor).to.exist.and.to.equal(0); + expect(placement.type).to.exist.and.to.equal('network'); + expect(placement.eids).to.exist.and.to.be.deep.equal(userIdAsEids); + + if (placement.adFormat === BANNER) { + expect(placement.sizes).to.be.an('array'); + } + switch (placement.adFormat) { + case BANNER: + expect(placement.sizes).to.be.an('array'); + break; + case VIDEO: + expect(placement.playerSize).to.be.an('array'); + expect(placement.minduration).to.be.an('number'); + expect(placement.maxduration).to.be.an('number'); + break; + case NATIVE: + expect(placement.native).to.be.an('object'); + break; + } + } + }); + + it('Returns data with gdprConsent and without uspConsent', function () { + delete bidderRequest.uspConsent; + serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data.gdpr).to.exist; + expect(data.gdpr).to.be.a('object'); + expect(data.gdpr).to.have.property('consentString'); + expect(data.gdpr).to.not.have.property('vendorData'); + expect(data.gdpr.consentString).to.equal(bidderRequest.gdprConsent.consentString); + expect(data.ccpa).to.not.exist; + delete bidderRequest.gdprConsent; + }); + + it('Returns data with uspConsent and without gdprConsent', function () { + bidderRequest.uspConsent = '1---'; + delete bidderRequest.gdprConsent; + serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data.ccpa).to.exist; + expect(data.ccpa).to.be.a('string'); + expect(data.ccpa).to.equal(bidderRequest.uspConsent); + expect(data.gdpr).to.not.exist; + }); + }); + + describe('gpp consent', function () { + it('bidderRequest.gppConsent', () => { + bidderRequest.gppConsent = { + gppString: 'abc123', + applicableSections: [8] + }; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.property('gpp'); + expect(data).to.have.property('gpp_sid'); + + delete bidderRequest.gppConsent; + }) + + it('bidderRequest.ortb2.regs.gpp', () => { + bidderRequest.ortb2 = bidderRequest.ortb2 || {}; + bidderRequest.ortb2.regs = bidderRequest.ortb2.regs || {}; + bidderRequest.ortb2.regs.gpp = 'abc123'; + bidderRequest.ortb2.regs.gpp_sid = [8]; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.property('gpp'); + expect(data).to.have.property('gpp_sid'); + }) + }); + + describe('interpretResponse', function () { + it('Should interpret banner response', function () { + const banner = { + body: [{ + mediaType: 'banner', + width: 300, + height: 250, + cpm: 0.4, + ad: 'Test', + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const bannerResponses = spec.interpretResponse(banner); + expect(bannerResponses).to.be.an('array').that.is.not.empty; + const dataItem = bannerResponses[0]; + expect(dataItem).to.have.all.keys('requestId', 'cpm', 'width', 'height', 'ad', 'ttl', 'creativeId', + 'netRevenue', 'currency', 'dealId', 'mediaType', 'meta'); + expect(dataItem.requestId).to.equal(banner.body[0].requestId); + expect(dataItem.cpm).to.equal(banner.body[0].cpm); + expect(dataItem.width).to.equal(banner.body[0].width); + expect(dataItem.height).to.equal(banner.body[0].height); + expect(dataItem.ad).to.equal(banner.body[0].ad); + expect(dataItem.ttl).to.equal(banner.body[0].ttl); + expect(dataItem.creativeId).to.equal(banner.body[0].creativeId); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal(banner.body[0].currency); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should interpret video response', function () { + const video = { + body: [{ + vastUrl: 'test.com', + mediaType: 'video', + cpm: 0.5, + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const videoResponses = spec.interpretResponse(video); + expect(videoResponses).to.be.an('array').that.is.not.empty; + + const dataItem = videoResponses[0]; + expect(dataItem).to.have.all.keys('requestId', 'cpm', 'vastUrl', 'ttl', 'creativeId', + 'netRevenue', 'currency', 'dealId', 'mediaType', 'meta'); + expect(dataItem.requestId).to.equal('23fhj33i987f'); + expect(dataItem.cpm).to.equal(0.5); + expect(dataItem.vastUrl).to.equal('test.com'); + expect(dataItem.ttl).to.equal(120); + expect(dataItem.creativeId).to.equal('2'); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal('USD'); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should interpret native response', function () { + const native = { + body: [{ + mediaType: 'native', + native: { + clickUrl: 'test.com', + title: 'Test', + image: 'test.com', + impressionTrackers: ['test.com'], + }, + ttl: 120, + cpm: 0.4, + requestId: '23fhj33i987f', + creativeId: '2', + netRevenue: true, + currency: 'USD', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const nativeResponses = spec.interpretResponse(native); + expect(nativeResponses).to.be.an('array').that.is.not.empty; + + const dataItem = nativeResponses[0]; + expect(dataItem).to.have.keys('requestId', 'cpm', 'ttl', 'creativeId', 'netRevenue', 'currency', 'mediaType', 'native', 'meta'); + expect(dataItem.native).to.have.keys('clickUrl', 'impressionTrackers', 'title', 'image') + expect(dataItem.requestId).to.equal('23fhj33i987f'); + expect(dataItem.cpm).to.equal(0.4); + expect(dataItem.native.clickUrl).to.equal('test.com'); + expect(dataItem.native.title).to.equal('Test'); + expect(dataItem.native.image).to.equal('test.com'); + expect(dataItem.native.impressionTrackers).to.be.an('array').that.is.not.empty; + expect(dataItem.native.impressionTrackers[0]).to.equal('test.com'); + expect(dataItem.ttl).to.equal(120); + expect(dataItem.creativeId).to.equal('2'); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal('USD'); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should return an empty array if invalid banner response is passed', function () { + const invBanner = { + body: [{ + width: 300, + cpm: 0.4, + ad: 'Test', + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + + const serverResponses = spec.interpretResponse(invBanner); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid video response is passed', function () { + const invVideo = { + body: [{ + mediaType: 'video', + cpm: 0.5, + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + const serverResponses = spec.interpretResponse(invVideo); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid native response is passed', function () { + const invNative = { + body: [{ + mediaType: 'native', + clickUrl: 'test.com', + title: 'Test', + impressionTrackers: ['test.com'], + ttl: 120, + requestId: '23fhj33i987f', + creativeId: '2', + netRevenue: true, + currency: 'USD', + }] + }; + const serverResponses = spec.interpretResponse(invNative); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid response is passed', function () { + const invalid = { + body: [{ + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + const serverResponses = spec.interpretResponse(invalid); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + }); +}); From 31d34c2663afe42b932683dc4362fe79b73a580d Mon Sep 17 00:00:00 2001 From: mkomorski Date: Fri, 20 Feb 2026 20:55:45 +0100 Subject: [PATCH 207/248] Core: disabling fingerprinting apis (#14404) * Core: disabling fingerprinting apis * getFallbackWindow -> utils --- .../devicePixelRatio/devicePixelRatio.js | 14 ++--- libraries/fingerprinting/fingerprinting.js | 12 ++++ libraries/timezone/timezone.js | 5 ++ libraries/webdriver/webdriver.js | 48 +++++++++++++-- modules/51DegreesRtdProvider.js | 3 +- modules/datablocksBidAdapter.js | 34 +---------- src/config.ts | 5 ++ src/utils.js | 12 ++++ test/spec/fingerprinting_spec.js | 60 +++++++++++++++++++ 9 files changed, 147 insertions(+), 46 deletions(-) create mode 100644 libraries/fingerprinting/fingerprinting.js create mode 100644 test/spec/fingerprinting_spec.js diff --git a/libraries/devicePixelRatio/devicePixelRatio.js b/libraries/devicePixelRatio/devicePixelRatio.js index 8bfe23bcb3d..c206ed053b3 100644 --- a/libraries/devicePixelRatio/devicePixelRatio.js +++ b/libraries/devicePixelRatio/devicePixelRatio.js @@ -1,14 +1,10 @@ -import {canAccessWindowTop, internal as utilsInternals} from '../../src/utils.js'; - -function getFallbackWindow(win) { - if (win) { - return win; - } - - return canAccessWindowTop() ? utilsInternals.getWindowTop() : utilsInternals.getWindowSelf(); -} +import {isFingerprintingApiDisabled} from '../fingerprinting/fingerprinting.js'; +import {getFallbackWindow} from '../../src/utils.js'; export function getDevicePixelRatio(win) { + if (isFingerprintingApiDisabled('devicepixelratio')) { + return 1; + } try { return getFallbackWindow(win).devicePixelRatio; } catch (e) { diff --git a/libraries/fingerprinting/fingerprinting.js b/libraries/fingerprinting/fingerprinting.js new file mode 100644 index 00000000000..aba529d0c8f --- /dev/null +++ b/libraries/fingerprinting/fingerprinting.js @@ -0,0 +1,12 @@ +import {config} from '../../src/config.js'; + +/** + * Returns true if the given fingerprinting API is disabled via setConfig({ disableFingerprintingApis: [...] }). + * Comparison is case-insensitive. Use for 'devicepixelratio', 'webdriver', 'resolvedoptions', 'screen'. + * @param {string} apiName + * @returns {boolean} + */ +export function isFingerprintingApiDisabled(apiName) { + const list = config.getConfig('disableFingerprintingApis'); + return Array.isArray(list) && list.some((item) => String(item).toLowerCase() === apiName.toLowerCase()); +} diff --git a/libraries/timezone/timezone.js b/libraries/timezone/timezone.js index e4ef39f28ef..8c09295d70f 100644 --- a/libraries/timezone/timezone.js +++ b/libraries/timezone/timezone.js @@ -1,3 +1,8 @@ +import {isFingerprintingApiDisabled} from '../fingerprinting/fingerprinting.js'; + export function getTimeZone() { + if (isFingerprintingApiDisabled('resolvedoptions')) { + return ''; + } return Intl.DateTimeFormat().resolvedOptions().timeZone; } diff --git a/libraries/webdriver/webdriver.js b/libraries/webdriver/webdriver.js index 957fea62ed8..8e10e4d0374 100644 --- a/libraries/webdriver/webdriver.js +++ b/libraries/webdriver/webdriver.js @@ -1,9 +1,49 @@ -import {canAccessWindowTop, internal as utilsInternals} from '../../src/utils.js'; +import {isFingerprintingApiDisabled} from '../fingerprinting/fingerprinting.js'; +import {getFallbackWindow} from '../../src/utils.js'; /** * Warning: accessing navigator.webdriver may impact fingerprinting scores when this API is included in the built script. + * @param {Window} [win] Window to check (defaults to top or self) + * @returns {boolean} */ -export function isWebdriverEnabled() { - const win = canAccessWindowTop() ? utilsInternals.getWindowTop() : utilsInternals.getWindowSelf(); - return win.navigator?.webdriver === true; +export function isWebdriverEnabled(win) { + if (isFingerprintingApiDisabled('webdriver')) { + return false; + } + return getFallbackWindow(win).navigator?.webdriver === true; +} + +/** + * Detects Selenium/WebDriver via document/window properties (e.g. __webdriver_script_fn, attributes). + * @param {Window} [win] Window to check + * @param {Document} [doc] Document to check (defaults to win.document) + * @returns {boolean} + */ +export function isSeleniumDetected(win, doc) { + if (isFingerprintingApiDisabled('webdriver')) { + return false; + } + const _win = win || (typeof window !== 'undefined' ? window : undefined); + const _doc = doc || (_win?.document); + if (!_win || !_doc) return false; + const checks = [ + 'webdriver' in _win, + '_Selenium_IDE_Recorder' in _win, + 'callSelenium' in _win, + '_selenium' in _win, + '__webdriver_script_fn' in _doc, + '__driver_evaluate' in _doc, + '__webdriver_evaluate' in _doc, + '__selenium_evaluate' in _doc, + '__fxdriver_evaluate' in _doc, + '__driver_unwrapped' in _doc, + '__webdriver_unwrapped' in _doc, + '__selenium_unwrapped' in _doc, + '__fxdriver_unwrapped' in _doc, + '__webdriver_script_func' in _doc, + _doc.documentElement?.getAttribute('selenium') !== null, + _doc.documentElement?.getAttribute('webdriver') !== null, + _doc.documentElement?.getAttribute('driver') !== null + ]; + return checks.some(Boolean); } diff --git a/modules/51DegreesRtdProvider.js b/modules/51DegreesRtdProvider.js index f5c76357ffc..5c07511a280 100644 --- a/modules/51DegreesRtdProvider.js +++ b/modules/51DegreesRtdProvider.js @@ -8,6 +8,7 @@ import { mergeDeep, prefixLog, } from '../src/utils.js'; +import {getDevicePixelRatio} from '../libraries/devicePixelRatio/devicePixelRatio.js'; const MODULE_NAME = '51Degrees'; export const LOG_PREFIX = `[${MODULE_NAME} RTD Submodule]:`; @@ -126,7 +127,7 @@ export const get51DegreesJSURL = (pathData, win) => { ); 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)); const _qs = formatQS(qs); const _qsString = _qs ? `${queryPrefix}${_qs}` : ''; diff --git a/modules/datablocksBidAdapter.js b/modules/datablocksBidAdapter.js index 7f5a4bedd62..25ded85bf05 100644 --- a/modules/datablocksBidAdapter.js +++ b/modules/datablocksBidAdapter.js @@ -7,7 +7,7 @@ import {getStorageManager} from '../src/storageManager.js'; import {ajax} from '../src/ajax.js'; import {convertOrtbRequestToProprietaryNative} from '../src/native.js'; import {getAdUnitSizes} from '../libraries/sizeUtils/sizeUtils.js'; -import {isWebdriverEnabled} from '../libraries/webdriver/webdriver.js'; +import {isWebdriverEnabled, isSeleniumDetected} from '../libraries/webdriver/webdriver.js'; import { buildNativeRequest, parseNativeResponse } from '../libraries/nativeAssetsUtils.js'; export const storage = getStorageManager({bidderCode: 'datablocks'}); @@ -432,37 +432,7 @@ export class BotClientTests { }, selenium: function () { - let response = false; - - if (window && document) { - const results = [ - 'webdriver' in window, - '_Selenium_IDE_Recorder' in window, - 'callSelenium' in window, - '_selenium' in window, - '__webdriver_script_fn' in document, - '__driver_evaluate' in document, - '__webdriver_evaluate' in document, - '__selenium_evaluate' in document, - '__fxdriver_evaluate' in document, - '__driver_unwrapped' in document, - '__webdriver_unwrapped' in document, - '__selenium_unwrapped' in document, - '__fxdriver_unwrapped' in document, - '__webdriver_script_func' in document, - document.documentElement.getAttribute('selenium') !== null, - document.documentElement.getAttribute('webdriver') !== null, - document.documentElement.getAttribute('driver') !== null - ]; - - results.forEach(result => { - if (result === true) { - response = true; - } - }) - } - - return response; + return isSeleniumDetected(window, document); }, } } diff --git a/src/config.ts b/src/config.ts index 96f0427ea07..d373876b37b 100644 --- a/src/config.ts +++ b/src/config.ts @@ -254,6 +254,11 @@ export interface Config { * https://docs.prebid.org/features/firstPartyData.html */ ortb2?: DeepPartial; + /** + * List of fingerprinting APIs to disable. When an API is listed, the corresponding library + * returns a safe default instead of reading the real value. Supported: 'devicepixelratio', 'webdriver', 'resolvedoptions'. + */ + disableFingerprintingApis?: Array<'devicepixelratio' | 'webdriver' | 'resolvedoptions'>; } type PartialConfig = Partial & { [setting: string]: unknown }; diff --git a/src/utils.js b/src/utils.js index ec30b934a49..187e46c24c1 100644 --- a/src/utils.js +++ b/src/utils.js @@ -206,6 +206,18 @@ export function canAccessWindowTop() { } } +/** + * Returns the window to use for fingerprinting reads: win if provided, otherwise top or self. + * @param {Window} [win] + * @returns {Window} + */ +export function getFallbackWindow(win) { + if (win) { + return win; + } + return canAccessWindowTop() ? internal.getWindowTop() : internal.getWindowSelf(); +} + /** * Wrappers to console.(log | info | warn | error). Takes N arguments, the same as the native methods */ diff --git a/test/spec/fingerprinting_spec.js b/test/spec/fingerprinting_spec.js new file mode 100644 index 00000000000..f1a810fc751 --- /dev/null +++ b/test/spec/fingerprinting_spec.js @@ -0,0 +1,60 @@ +import { expect } from 'chai'; + +import { config } from 'src/config.js'; +import { getDevicePixelRatio } from 'libraries/devicePixelRatio/devicePixelRatio.js'; +import { isWebdriverEnabled } from 'libraries/webdriver/webdriver.js'; +import { getTimeZone } from 'libraries/timezone/timezone.js'; + +describe('disableFingerprintingApis', function () { + after(function () { + config.resetConfig(); + }); + + it('when devicepixelratio is disabled, getDevicePixelRatio returns 1 without reading window.devicePixelRatio', function () { + const devicePixelRatioSpy = sinon.spy(); + const mockWin = { + get devicePixelRatio() { + devicePixelRatioSpy(); + return 2; + } + }; + config.setConfig({ disableFingerprintingApis: ['devicepixelratio'] }); + const result = getDevicePixelRatio(mockWin); + expect(result).to.equal(1); + sinon.assert.notCalled(devicePixelRatioSpy); + }); + + it('when webdriver is disabled, isWebdriverEnabled returns false without reading navigator.webdriver', function () { + const webdriverSpy = sinon.spy(); + const mockWin = { + navigator: { + get webdriver() { + webdriverSpy(); + return true; + } + } + }; + config.setConfig({ disableFingerprintingApis: ['webdriver'] }); + const result = isWebdriverEnabled(mockWin); + expect(result).to.equal(false); + sinon.assert.notCalled(webdriverSpy); + }); + + it('when resolvedoptions is disabled, getTimeZone returns safe default without calling Intl.DateTimeFormat', function () { + const resolvedOptionsSpy = sinon.spy(); + const dateTimeFormatStub = sinon.stub(Intl, 'DateTimeFormat').returns({ + resolvedOptions: function () { + resolvedOptionsSpy(); + return { timeZone: 'America/New_York' }; + } + }); + try { + config.setConfig({ disableFingerprintingApis: ['resolvedoptions'] }); + const result = getTimeZone(); + expect(result).to.equal(''); + sinon.assert.notCalled(resolvedOptionsSpy); + } finally { + dateTimeFormatStub.restore(); + } + }); +}); From 326de7b2c6127fa5e55b9d45423bd5518884a78d Mon Sep 17 00:00:00 2001 From: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> Date: Sat, 21 Feb 2026 16:29:07 +0530 Subject: [PATCH 208/248] Fix several typos in comments and tests (#14498) --- modules/adtrueBidAdapter.js | 2 +- test/spec/modules/mgidRtdProvider_spec.js | 2 +- test/spec/modules/rakutenBidAdapter_spec.js | 2 +- test/spec/modules/rubiconBidAdapter_spec.js | 2 +- test/spec/modules/theAdxBidAdapter_spec.js | 8 ++++---- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/adtrueBidAdapter.js b/modules/adtrueBidAdapter.js index 2c4278b9fb8..d8759bcbda6 100644 --- a/modules/adtrueBidAdapter.js +++ b/modules/adtrueBidAdapter.js @@ -400,7 +400,7 @@ function _createImpressionObject(bid, conf) { } } else { // mediaTypes is not present, so this is a banner only impression - // this part of code is required for older testcases with no 'mediaTypes' to run succesfully. + // this part of code is required for older testcases with no 'mediaTypes' to run successfully. bannerObj = { pos: 0, w: bid.params.width, diff --git a/test/spec/modules/mgidRtdProvider_spec.js b/test/spec/modules/mgidRtdProvider_spec.js index 7fd41a3c4c5..b3f160b1530 100644 --- a/test/spec/modules/mgidRtdProvider_spec.js +++ b/test/spec/modules/mgidRtdProvider_spec.js @@ -33,7 +33,7 @@ describe('Mgid RTD submodule', () => { expect(mgidSubmodule.init({})).to.be.false; }); - it('getBidRequestData send all params to our endpoint and succesfully modifies ortb2', () => { + it('getBidRequestData send all params to our endpoint and successfully modifies ortb2', () => { const responseObj = { userSegments: ['100', '200'], userSegtax: 5, diff --git a/test/spec/modules/rakutenBidAdapter_spec.js b/test/spec/modules/rakutenBidAdapter_spec.js index e6cdb12e31d..9b3dd70f1a6 100644 --- a/test/spec/modules/rakutenBidAdapter_spec.js +++ b/test/spec/modules/rakutenBidAdapter_spec.js @@ -161,7 +161,7 @@ describe('rakutenBidAdapter', function() { pixelEnabled: true } }); - it('sucess usersync url', function () { + it('success usersync url', function () { const result = []; result.push({type: 'image', url: 'https://rdn1.test/sync?uid=9876543210'}); result.push({type: 'image', url: 'https://rdn2.test/sync?uid=9876543210'}); diff --git a/test/spec/modules/rubiconBidAdapter_spec.js b/test/spec/modules/rubiconBidAdapter_spec.js index bd9990f75de..831f349cef5 100644 --- a/test/spec/modules/rubiconBidAdapter_spec.js +++ b/test/spec/modules/rubiconBidAdapter_spec.js @@ -1815,7 +1815,7 @@ describe('the rubicon adapter', function () { }) }) - it('should send gpid and pbadslot since it is prefered over dfp code', function () { + it('should send gpid and pbadslot since it is preferred over dfp code', function () { bidderRequest.bids[0].ortb2Imp = { ext: { gpid: '/1233/sports&div1', diff --git a/test/spec/modules/theAdxBidAdapter_spec.js b/test/spec/modules/theAdxBidAdapter_spec.js index fd2a306ca05..2b531b6b10b 100644 --- a/test/spec/modules/theAdxBidAdapter_spec.js +++ b/test/spec/modules/theAdxBidAdapter_spec.js @@ -416,7 +416,7 @@ describe('TheAdxAdapter', function () { expect(result).to.eql([]); }); - it('returns a valid bid response on sucessful banner request', function () { + it('returns a valid bid response on successful banner request', function () { const incomingRequestId = 'XXtestingXX'; const responsePrice = 3.14 @@ -484,7 +484,7 @@ describe('TheAdxAdapter', function () { expect(processedBid.currency).to.equal(responseCurrency); }); - it('returns a valid deal bid response on sucessful banner request with deal', function () { + it('returns a valid deal bid response on successful banner request with deal', function () { const incomingRequestId = 'XXtestingXX'; const responsePrice = 3.14 @@ -556,7 +556,7 @@ describe('TheAdxAdapter', function () { expect(processedBid.dealId).to.equal(dealId); }); - it('returns an valid bid response on sucessful video request', function () { + it('returns an valid bid response on successful video request', function () { const incomingRequestId = 'XXtesting-275XX'; const responsePrice = 6 const vast_url = 'https://theadx.com/vast?rid=a8ae0b48-a8db-4220-ba0c-7458f452b1f5&{FOR_COVARAGE}' @@ -622,7 +622,7 @@ describe('TheAdxAdapter', function () { expect(processedBid.vastUrl).to.equal(vast_url); }); - it('returns an valid bid response on sucessful native request', function () { + it('returns an valid bid response on successful native request', function () { const incomingRequestId = 'XXtesting-275XX'; const responsePrice = 6 const nurl = 'https://app.theadx.com/ixc?rid=02aefd80-2df9-11e9-896d-d33384d77f5c&time=v-1549888312715&sp=1WzMjcRpeyk%3D'; From 7abc65efcf7145eb81deb59ca53a901faf5c5a0b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Feb 2026 09:37:14 -0500 Subject: [PATCH 209/248] Bump ajv from 6.12.6 to 6.14.0 (#14499) Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.6 to 6.14.0. - [Release notes](https://github.com/ajv-validator/ajv/releases) - [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.6...v6.14.0) --- updated-dependencies: - dependency-name: ajv dependency-version: 6.14.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index b9f002257af..7ebcabde344 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6533,11 +6533,10 @@ } }, "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", + "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", "dev": true, - "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -6566,9 +6565,9 @@ } }, "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -18765,9 +18764,9 @@ } }, "node_modules/schema-utils/node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -26481,9 +26480,9 @@ } }, "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", + "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -26501,9 +26500,9 @@ }, "dependencies": { "ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "requires": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -34365,9 +34364,9 @@ }, "dependencies": { "ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "requires": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", From cbb723da6464cecb4f26a0d1a37b3461de797f49 Mon Sep 17 00:00:00 2001 From: pm-priyanka-deshmane <107103300+pm-priyanka-deshmane@users.noreply.github.com> Date: Mon, 23 Feb 2026 20:07:37 +0530 Subject: [PATCH 210/248] Setting alwaysHasCapacity flag to true (#14500) --- modules/pubmaticBidAdapter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/pubmaticBidAdapter.js b/modules/pubmaticBidAdapter.js index f23665670e9..5051eb8e6ee 100644 --- a/modules/pubmaticBidAdapter.js +++ b/modules/pubmaticBidAdapter.js @@ -756,6 +756,7 @@ export const spec = { code: BIDDER_CODE, gvlid: 76, supportedMediaTypes: [BANNER, VIDEO, NATIVE], + alwaysHasCapacity: true, /** * Determines whether or not the given bid request is valid. Valid bid request must have placementId and hbid * From 6485feb31b82fae89bab35bdfe6722da985afcfc Mon Sep 17 00:00:00 2001 From: adclusterdev Date: Mon, 23 Feb 2026 17:38:42 +0300 Subject: [PATCH 211/248] Adcluster Bid Adapter: Support Adcluster (#14050) * adcluster - new adapter * fixes * video preview id change * video preview id change * Update adclusterBidAdapter_spec.js * fallback * multiformat fix --------- Co-authored-by: Patrick McCann Co-authored-by: Patrick McCann --- .../gpt/adcluster_banner_example.html | 115 +++++ .../gpt/adcluster_video_example.html | 291 ++++++++++++ modules/adclusterBidAdapter.js | 183 ++++++++ modules/adclusterBidAdapter.md | 46 ++ test/spec/modules/adclusterBidAdapter_spec.js | 415 ++++++++++++++++++ 5 files changed, 1050 insertions(+) create mode 100644 integrationExamples/gpt/adcluster_banner_example.html create mode 100644 integrationExamples/gpt/adcluster_video_example.html create mode 100644 modules/adclusterBidAdapter.js create mode 100644 modules/adclusterBidAdapter.md create mode 100644 test/spec/modules/adclusterBidAdapter_spec.js diff --git a/integrationExamples/gpt/adcluster_banner_example.html b/integrationExamples/gpt/adcluster_banner_example.html new file mode 100644 index 00000000000..4f7bf646bb9 --- /dev/null +++ b/integrationExamples/gpt/adcluster_banner_example.html @@ -0,0 +1,115 @@ + + + + + Adcluster Adapter Test + + + + + + + + + + +

Prebid.js Live Adapter Test

+
+ + + + diff --git a/integrationExamples/gpt/adcluster_video_example.html b/integrationExamples/gpt/adcluster_video_example.html new file mode 100644 index 00000000000..0a309b24749 --- /dev/null +++ b/integrationExamples/gpt/adcluster_video_example.html @@ -0,0 +1,291 @@ + + + + + Adcluster Adapter – Outstream Test with Fallback + + + + + + + + + +

Adcluster Adapter – Outstream Test (AN renderer + IMA fallback)

+
+ +
+ + + + diff --git a/modules/adclusterBidAdapter.js b/modules/adclusterBidAdapter.js new file mode 100644 index 00000000000..b8b1f248582 --- /dev/null +++ b/modules/adclusterBidAdapter.js @@ -0,0 +1,183 @@ +import { registerBidder } from "../src/adapters/bidderFactory.js"; +import { BANNER, VIDEO } from "../src/mediaTypes.js"; + +const BIDDER_CODE = "adcluster"; +const ENDPOINT = "https://core.adcluster.com.tr/bid"; + +export const spec = { + code: BIDDER_CODE, + supportedMediaTypes: [BANNER, VIDEO], + + isBidRequestValid(bid) { + return !!bid?.params?.unitId; + }, + + buildRequests(validBidRequests, bidderRequest) { + const _auctionId = bidderRequest.auctionId || ""; + const payload = { + bidderCode: bidderRequest.bidderCode, + auctionId: _auctionId, + bidderRequestId: bidderRequest.bidderRequestId, + bids: validBidRequests.map((b) => buildImp(b)), + auctionStart: bidderRequest.auctionStart, + timeout: bidderRequest.timeout, + start: bidderRequest.start, + regs: { ext: {} }, + user: { ext: {} }, + source: { ext: {} }, + }; + + // privacy + if (bidderRequest?.gdprConsent) { + payload.regs = payload.regs || { ext: {} }; + payload.regs.ext = payload.regs.ext || {}; + payload.regs.ext.gdpr = bidderRequest.gdprConsent.gdprApplies ? 1 : 0; + payload.user.ext.consent = bidderRequest.gdprConsent.consentString || ""; + } + if (bidderRequest?.uspConsent) { + payload.regs = payload.regs || { ext: {} }; + payload.regs.ext.us_privacy = bidderRequest.uspConsent; + } + if (bidderRequest?.ortb2?.regs?.gpp) { + payload.regs = payload.regs || { ext: {} }; + payload.regs.ext.gpp = bidderRequest.ortb2.regs.gpp; + payload.regs.ext.gppSid = bidderRequest.ortb2.regs.gpp_sid; + } + if (validBidRequests[0]?.userIdAsEids) { + payload.user.ext.eids = validBidRequests[0].userIdAsEids; + } + if (validBidRequests[0]?.ortb2?.source?.ext?.schain) { + payload.source.ext.schain = validBidRequests[0].ortb2.source.ext.schain; + } + + return { + method: "POST", + url: ENDPOINT, + data: payload, + options: { contentType: "text/plain" }, + }; + }, + + interpretResponse(serverResponse) { + const body = serverResponse?.body; + if (!body || !Array.isArray(body)) return []; + const bids = []; + + body.forEach((b) => { + const mediaType = detectMediaType(b); + const bid = { + requestId: b.requestId, + cpm: b.cpm, + currency: b.currency, + width: b.width, + height: b.height, + creativeId: b.creativeId, + ttl: b.ttl, + netRevenue: b.netRevenue, + meta: { + advertiserDomains: b.meta?.advertiserDomains || [], + }, + mediaType, + }; + + if (mediaType === BANNER) { + bid.ad = b.ad; + } + if (mediaType === VIDEO) { + bid.vastUrl = b.ad; + } + bids.push(bid); + }); + + return bids; + }, +}; + +/* ---------- helpers ---------- */ + +function buildImp(bid) { + const _transactionId = bid.transactionId || ""; + const _adUnitId = bid.adUnitId || ""; + const _auctionId = bid.auctionId || ""; + const imp = { + params: { + unitId: bid.params.unitId, + }, + bidId: bid.bidId, + bidderRequestId: bid.bidderRequestId, + transactionId: _transactionId, + adUnitId: _adUnitId, + auctionId: _auctionId, + ext: { + floors: getFloorsAny(bid), + }, + }; + + if (bid.params && bid.params.previewMediaId) { + imp.params.previewMediaId = bid.params.previewMediaId; + } + + const mt = bid.mediaTypes || {}; + + // BANNER + if (mt.banner?.sizes?.length) { + imp.width = mt.banner.sizes[0] && mt.banner.sizes[0][0]; + imp.height = mt.banner.sizes[0] && mt.banner.sizes[0][1]; + } + if (mt.video) { + const v = mt.video; + const playerSize = toSizeArray(v.playerSize); + const [vw, vh] = playerSize?.[0] || []; + imp.width = vw; + imp.height = vh; + imp.video = { + minduration: v.minduration || 1, + maxduration: v.maxduration || 120, + ext: { + context: v.context || "instream", + floor: getFloors(bid, "video", playerSize?.[0]), + }, + }; + } + + return imp; +} + +function toSizeArray(s) { + if (!s) return null; + // playerSize can be [w,h] or [[w,h], [w2,h2]] + return Array.isArray(s[0]) ? s : [s]; +} + +function getFloors(bid, mediaType = "banner", size) { + try { + if (!bid.getFloor) return null; + // size can be [w,h] or '*' + const sz = Array.isArray(size) ? size : "*"; + const res = bid.getFloor({ mediaType, size: sz }); + return res && typeof res.floor === "number" ? res.floor : null; + } catch { + return null; + } +} + +function detectMediaType(bid) { + if (bid.mediaType === "video") return VIDEO; + else return BANNER; +} + +function getFloorsAny(bid) { + // Try to collect floors per type + const out = {}; + const mt = bid.mediaTypes || {}; + if (mt.banner) { + out.banner = getFloors(bid, "banner", "*"); + } + if (mt.video) { + const ps = toSizeArray(mt.video.playerSize); + out.video = getFloors(bid, "video", (ps && ps[0]) || "*"); + } + return out; +} + +registerBidder(spec); diff --git a/modules/adclusterBidAdapter.md b/modules/adclusterBidAdapter.md new file mode 100644 index 00000000000..59300e2c857 --- /dev/null +++ b/modules/adclusterBidAdapter.md @@ -0,0 +1,46 @@ +# Overview + +**Module Name**: Adcluster Bidder Adapter +**Module Type**: Bidder Adapter +**Maintainer**: dev@adcluster.com.tr + +# Description + +Prebid.js bidder adapter module for connecting to Adcluster. + +# Test Parameters + +``` +var adUnits = [ + { + code: 'adcluster-banner', + mediaTypes: { + banner: { + sizes: [[300, 250]], + } + }, + bids: [{ + bidder: 'adcluster', + params: { + unitId: '42d1f525-5792-47a6-846d-1825e53c97d6', + previewMediaId: "b4dbc48c-0b90-4628-bc55-f46322b89b63", + }, + }] + }, + { + code: 'adcluster-video', + mediaTypes: { + video: { + playerSize: [[640, 480]], + } + }, + bids: [{ + bidder: 'adcluster', + params: { + unitId: "37dd91b2-049d-4027-94b9-d63760fc10d3", + previewMediaId: "133b7dc9-bb6e-4ab2-8f95-b796cf19f27e", + }, + }] + } +]; +``` diff --git a/test/spec/modules/adclusterBidAdapter_spec.js b/test/spec/modules/adclusterBidAdapter_spec.js new file mode 100644 index 00000000000..d068a0b5944 --- /dev/null +++ b/test/spec/modules/adclusterBidAdapter_spec.js @@ -0,0 +1,415 @@ +// test/spec/modules/adclusterBidAdapter_spec.js + +import { expect } from "chai"; +import { spec } from "modules/adclusterBidAdapter.js"; // adjust path if needed +import { BANNER, VIDEO } from "src/mediaTypes.js"; + +const BIDDER_CODE = "adcluster"; +const ENDPOINT = "https://core.adcluster.com.tr/bid"; + +describe("adclusterBidAdapter", function () { + // ---------- Test Fixtures (immutable) ---------- + const baseBid = Object.freeze({ + bidder: BIDDER_CODE, + bidId: "2f5d", + bidderRequestId: "breq-1", + auctionId: "auc-1", + transactionId: "txn-1", + adUnitCode: "div-1", + adUnitId: "adunit-1", + params: { unitId: "61884b5c-9420-4f15-871f-2dcc2fa1cff5" }, + }); + + const gdprConsent = Object.freeze({ + gdprApplies: true, + consentString: "BOJ/P2HOJ/P2HABABMAAAAAZ+A==", + }); + + const uspConsent = "1---"; + const gpp = "DBABLA.."; + const gppSid = [7, 8]; + + const bidderRequestBase = Object.freeze({ + auctionId: "auc-1", + bidderCode: BIDDER_CODE, + bidderRequestId: "breq-1", + auctionStart: 1111111111111, + timeout: 2000, + start: 1111111111112, + ortb2: { regs: { gpp, gpp_sid: gppSid } }, + gdprConsent, + uspConsent, + }); + + // helpers return fresh objects to avoid cross-test mutation + function mkBidBanner(extra = {}) { + return { + ...baseBid, + mediaTypes: { + banner: { + sizes: [ + [300, 250], + [300, 600], + ], + }, + }, + getFloor: ({ mediaType }) => { + if (mediaType === "banner") return { currency: "USD", floor: 0.5 }; + return { currency: "USD", floor: 0.0 }; + }, + userIdAsEids: [ + { source: "example.com", uids: [{ id: "abc", atype: 1 }] }, + ], + ortb2: { + source: { ext: { schain: { ver: "1.0", complete: 1, nodes: [] } } }, + }, + ...extra, + }; + } + + function mkBidVideo(extra = {}) { + return { + ...baseBid, + mediaTypes: { + video: { + context: "instream", + playerSize: [640, 360], + minduration: 5, + maxduration: 30, + }, + }, + getFloor: ({ mediaType, size }) => { + if (mediaType === "video" && Array.isArray(size)) { + return { currency: "USD", floor: 1.2 }; + } + return { currency: "USD", floor: 0.0 }; + }, + userIdAsEids: [ + { source: "example.com", uids: [{ id: "xyz", atype: 1 }] }, + ], + ortb2: { + source: { ext: { schain: { ver: "1.0", complete: 1, nodes: [] } } }, + }, + ...extra, + }; + } + + describe("isBidRequestValid", function () { + it("returns true when params.unitId is present", function () { + // Arrange + const bid = { ...baseBid }; + + // Act + const valid = spec.isBidRequestValid(bid); + + // Assert + expect(valid).to.equal(true); + }); + + it("returns false when params.unitId is missing", function () { + // Arrange + const bid = { ...baseBid, params: {} }; + + // Act + const valid = spec.isBidRequestValid(bid); + + // Assert + expect(valid).to.equal(false); + }); + + it("returns false when params is undefined", function () { + // Arrange + const bid = { ...baseBid, params: undefined }; + + // Act + const valid = spec.isBidRequestValid(bid); + + // Assert + expect(valid).to.equal(false); + }); + }); + + describe("buildRequests", function () { + it("builds a POST request with JSON body to the right endpoint", function () { + // Arrange + const br = { ...bidderRequestBase }; + const bids = [mkBidBanner(), mkBidVideo()]; + + // Act + const req = spec.buildRequests(bids, br); + + // Assert + expect(req.method).to.equal("POST"); + expect(req.url).to.equal(ENDPOINT); + expect(req.options).to.deep.equal({ contentType: "text/plain" }); + expect(req.data).to.be.an("object"); + expect(req.data.bidderCode).to.equal(BIDDER_CODE); + expect(req.data.auctionId).to.equal(br.auctionId); + expect(req.data.bids).to.be.an("array").with.length(2); + }); + + it("includes privacy signals (GDPR, USP, GPP) when present", function () { + // Arrange + const br = { ...bidderRequestBase }; + const bids = [mkBidBanner()]; + + // Act + const req = spec.buildRequests(bids, br); + + // Assert + const { regs, user } = req.data; + expect(regs).to.be.an("object"); + expect(regs.ext.gdpr).to.equal(1); + expect(user.ext.consent).to.equal(gdprConsent.consentString); + expect(regs.ext.us_privacy).to.equal(uspConsent); + expect(regs.ext.gpp).to.equal(gpp); + expect(regs.ext.gppSid).to.deep.equal(gppSid); + }); + + it("omits privacy fields when not provided", function () { + // Arrange + const minimalBR = { + auctionId: "auc-2", + bidderCode: BIDDER_CODE, + bidderRequestId: "breq-2", + auctionStart: 1, + timeout: 1000, + start: 2, + }; + const bids = [mkBidBanner()]; + + // Act + const req = spec.buildRequests(bids, minimalBR); + + // Assert + // regs.ext should exist but contain no privacy flags + expect(req.data.regs).to.be.an("object"); + expect(req.data.regs.ext).to.deep.equal({}); + // user.ext.consent must be undefined when no GDPR + expect(req.data.user).to.be.an("object"); + expect(req.data.user.ext).to.be.an("object"); + expect(req.data.user.ext.consent).to.be.undefined; + // allow eids to be present (they come from bids) + // don't assert deep-equality on user.ext, just ensure no privacy fields + expect(req.data.user.ext.gdpr).to.be.undefined; + }); + + it("passes userIdAsEids and schain when provided", function () { + // Arrange + const br = { ...bidderRequestBase }; + const bids = [mkBidBanner()]; + + // Act + const req = spec.buildRequests(bids, br); + + // Assert + expect(req.data.user.ext.eids).to.be.an("array").with.length(1); + expect(req.data.source.ext.schain).to.be.an("object"); + }); + + it("sets banner dimensions from first size and includes floors ext", function () { + // Arrange + const br = { ...bidderRequestBase }; + const bids = [mkBidBanner()]; + + // Act + const req = spec.buildRequests(bids, br); + + // Assert + const imp = req.data.bids[0]; + expect(imp.width).to.equal(300); + expect(imp.height).to.equal(250); + expect(imp.ext).to.have.property("floors"); + expect(imp.ext.floors.banner).to.equal(0.5); + }); + + it("sets video sizes from playerSize and includes video floors", function () { + // Arrange + const br = { ...bidderRequestBase }; + const bids = [mkBidVideo()]; + + // Act + const req = spec.buildRequests(bids, br); + + // Assert + const imp = req.data.bids[0]; + expect(imp.width).to.equal(640); + expect(imp.height).to.equal(360); + expect(imp.video).to.be.an("object"); + expect(imp.video.minduration).to.equal(5); + expect(imp.video.maxduration).to.equal(30); + expect(imp.video.ext.context).to.equal("instream"); + expect(imp.video.ext.floor).to.equal(1.2); + expect(imp.ext.floors.video).to.equal(1.2); + }); + + it("gracefully handles missing getFloor", function () { + // Arrange + const br = { ...bidderRequestBase }; + const bids = [mkBidBanner({ getFloor: undefined })]; + + // Act + const req = spec.buildRequests(bids, br); + + // Assert + expect(req.data.bids[0].ext.floors.banner).to.equal(null); + }); + + it("passes previewMediaId when provided", function () { + // Arrange + const br = { ...bidderRequestBase }; + const bids = [ + mkBidVideo({ params: { unitId: "x", previewMediaId: "media-123" } }), + ]; + + // Act + const req = spec.buildRequests(bids, br); + + // Assert + expect(req.data.bids[0].params.previewMediaId).to.equal("media-123"); + }); + }); + + describe("interpretResponse", function () { + it("returns empty array when body is missing or not an array", function () { + // Arrange + const missing = { body: null }; + const notArray = { body: {} }; + + // Act + const out1 = spec.interpretResponse(missing); + const out2 = spec.interpretResponse(notArray); + + // Assert + expect(out1).to.deep.equal([]); + expect(out2).to.deep.equal([]); + }); + + it("maps banner responses to Prebid bids", function () { + // Arrange + const serverBody = [ + { + requestId: "2f5d", + cpm: 1.23, + currency: "USD", + width: 300, + height: 250, + creativeId: "cr-1", + ttl: 300, + netRevenue: true, + mediaType: "banner", + ad: "
creative
", + meta: { advertiserDomains: ["advertiser.com"] }, + }, + ]; + + // Act + const out = spec.interpretResponse({ body: serverBody }); + + // Assert + expect(out).to.have.length(1); + const b = out[0]; + expect(b.requestId).to.equal("2f5d"); + expect(b.cpm).to.equal(1.23); + expect(b.mediaType).to.equal(BANNER); + expect(b.ad).to.be.a("string"); + expect(b.meta.advertiserDomains).to.deep.equal(["advertiser.com"]); + }); + + it("maps video responses to Prebid bids (vastUrl)", function () { + // Arrange + const serverBody = [ + { + requestId: "vid-1", + cpm: 2.5, + currency: "USD", + width: 640, + height: 360, + creativeId: "cr-v", + ttl: 300, + netRevenue: true, + mediaType: "video", + ad: "https://vast.tag/url.xml", + meta: { advertiserDomains: ["brand.com"] }, // mediaType hint optional + }, + ]; + + // Act + const out = spec.interpretResponse({ body: serverBody }); + + // Assert + expect(out).to.have.length(1); + const b = out[0]; + expect(b.requestId).to.equal("vid-1"); + expect(b.mediaType).to.equal(VIDEO); + expect(b.vastUrl).to.equal("https://vast.tag/url.xml"); + expect(b.ad).to.be.undefined; + }); + + it("handles missing meta.advertiserDomains safely", function () { + // Arrange + const serverBody = [ + { + requestId: "2f5d", + cpm: 0.2, + currency: "USD", + width: 300, + height: 250, + creativeId: "cr-2", + ttl: 120, + netRevenue: true, + ad: "
", + meta: {}, + }, + ]; + + // Act + const out = spec.interpretResponse({ body: serverBody }); + + // Assert + expect(out[0].meta.advertiserDomains).to.deep.equal([]); + }); + + it("supports multiple mixed responses", function () { + // Arrange + const serverBody = [ + { + requestId: "b-1", + cpm: 0.8, + currency: "USD", + width: 300, + height: 250, + creativeId: "cr-b", + ttl: 300, + netRevenue: true, + ad: "
banner
", + mediaType: "banner", + meta: { advertiserDomains: [] }, + }, + { + requestId: "v-1", + cpm: 3.1, + currency: "USD", + width: 640, + height: 360, + creativeId: "cr-v", + ttl: 300, + netRevenue: true, + mediaType: "video", + ad: "https://vast.example/vast.xml", + meta: { advertiserDomains: ["x.com"] }, + }, + ]; + + // Act + const out = spec.interpretResponse({ body: serverBody }); + + // Assert + expect(out).to.have.length(2); + const [b, v] = out; + expect(b.mediaType).to.equal(BANNER); + expect(v.mediaType).to.equal(VIDEO); + expect(v.vastUrl).to.match(/^https:\/\/vast\.example/); + }); + }); +}); From abc8b82e2119dfba9af4fe5a6beca5eee3a7b2f0 Mon Sep 17 00:00:00 2001 From: v0idxyz <58184010+v0idxyz@users.noreply.github.com> Date: Mon, 23 Feb 2026 15:59:10 +0100 Subject: [PATCH 212/248] ReVantage Bid Adapter: initial release (#14180) * Create revantageBidAdapter.js * Create revantageBidAdapter.md * Update revantageBidAdapter.js * Update revantageBidAdapter.js * Update revantageBidAdapter.js * Update revantageBidAdapter.js Fixed trailing slash Error on Line 123 * Create revantageBidAdapter_spec.js * Update revantageBidAdapter_spec.js Fixed Trailing slashes (again) * Update revantageBidAdapter_spec.js * Update revantageBidAdapter_spec.js same thing again * Refactor Revantage Bid Adapter for media types and bids Refactor Revantage Bid Adapter to use media type constants and improve bid response handling. * Refactor RevantageBidAdapter tests for GPP consent * Update modules/revantageBidAdapter.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update modules/revantageBidAdapter.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Validate feedId consistency in batch bid requests Added validation to ensure all bid requests in a batch have the same feedId, logging a warning if they do not. * Add test for rejecting batch with different feedIds * Update syncOptions for image sync URL parameters * Update sync URL to use 'tag=img' instead of 'type=img' * Update print statement from 'Hello' to 'Goodbye' * fixed * Enhance video bid handling and add utility functions Added functions to handle video size extraction and VAST detection. --------- Co-authored-by: Patrick McCann Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- modules/revantageBidAdapter.js | 407 +++++++ modules/revantageBidAdapter.md | 34 + test/spec/modules/revantageBidAdapter_spec.js | 994 ++++++++++++++++++ 3 files changed, 1435 insertions(+) create mode 100644 modules/revantageBidAdapter.js create mode 100644 modules/revantageBidAdapter.md create mode 100644 test/spec/modules/revantageBidAdapter_spec.js diff --git a/modules/revantageBidAdapter.js b/modules/revantageBidAdapter.js new file mode 100644 index 00000000000..0a0186d5b59 --- /dev/null +++ b/modules/revantageBidAdapter.js @@ -0,0 +1,407 @@ +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { deepClone, deepAccess, logWarn, logError, triggerPixel } from '../src/utils.js'; +import { BANNER, VIDEO } from '../src/mediaTypes.js'; + +const BIDDER_CODE = 'revantage'; +const ENDPOINT_URL = 'https://bid.revantage.io/bid'; +const SYNC_URL = 'https://sync.revantage.io/sync'; + +export const spec = { + code: BIDDER_CODE, + supportedMediaTypes: [BANNER, VIDEO], + + isBidRequestValid: function(bid) { + return !!(bid && bid.params && bid.params.feedId); + }, + + buildRequests: function(validBidRequests, bidderRequest) { + // Handle null/empty bid requests + if (!validBidRequests || validBidRequests.length === 0) { + return []; + } + + // All bid requests in a batch must have the same feedId + // If not, we log a warning and return an empty array + const feedId = validBidRequests[0]?.params?.feedId; + const allSameFeedId = validBidRequests.every(bid => bid.params.feedId === feedId); + if (!allSameFeedId) { + logWarn('Revantage: All bid requests in a batch must have the same feedId'); + return []; + } + + try { + const openRtbBidRequest = makeOpenRtbRequest(validBidRequests, bidderRequest); + return { + method: 'POST', + url: ENDPOINT_URL + '?feed=' + encodeURIComponent(feedId), + data: JSON.stringify(openRtbBidRequest), + options: { + contentType: 'text/plain', + withCredentials: false + }, + bidRequests: validBidRequests + }; + } catch (e) { + logError('Revantage: buildRequests failed', e); + return []; + } + }, + + interpretResponse: function(serverResponse, request) { + const bids = []; + const resp = serverResponse.body; + const originalBids = request.bidRequests || []; + const bidIdMap = {}; + originalBids.forEach(b => { bidIdMap[b.bidId] = b; }); + + if (!resp || !Array.isArray(resp.seatbid)) return bids; + + resp.seatbid.forEach(seatbid => { + if (Array.isArray(seatbid.bid)) { + seatbid.bid.forEach(rtbBid => { + const originalBid = bidIdMap[rtbBid.impid]; + if (!originalBid || !rtbBid.price || rtbBid.price <= 0) return; + + // Check for ad markup + const hasAdMarkup = !!(rtbBid.adm || rtbBid.vastXml || rtbBid.vastUrl); + if (!hasAdMarkup) { + logWarn('Revantage: No ad markup in bid'); + return; + } + + const bidResponse = { + requestId: originalBid.bidId, + cpm: rtbBid.price, + width: rtbBid.w || getFirstSize(originalBid, 0, 300), + height: rtbBid.h || getFirstSize(originalBid, 1, 250), + creativeId: rtbBid.crid || rtbBid.id || rtbBid.adid || 'revantage-' + Date.now(), + dealId: rtbBid.dealid, + currency: resp.cur || 'USD', + netRevenue: true, + ttl: 300, + meta: { + advertiserDomains: rtbBid.adomain || [], + dsp: seatbid.seat || 'unknown', + networkName: 'Revantage' + } + }; + + // Add burl for server-side win notification + if (rtbBid.burl) { + bidResponse.burl = rtbBid.burl; + } + + // Determine if this is a video bid + // FIX: Check for VAST content in adm even for multi-format ad units + const isVideo = (rtbBid.ext && rtbBid.ext.mediaType === 'video') || + rtbBid.vastXml || rtbBid.vastUrl || + isVastAdm(rtbBid.adm) || + (originalBid.mediaTypes && originalBid.mediaTypes.video && + !originalBid.mediaTypes.banner); + + if (isVideo) { + bidResponse.mediaType = VIDEO; + bidResponse.vastXml = rtbBid.vastXml || rtbBid.adm; + bidResponse.vastUrl = rtbBid.vastUrl; + + if (!bidResponse.vastUrl && !bidResponse.vastXml) { + logWarn('Revantage: Video bid missing VAST content'); + return; + } + } else { + bidResponse.mediaType = BANNER; + bidResponse.ad = rtbBid.adm; + + if (!bidResponse.ad) { + logWarn('Revantage: Banner bid missing ad markup'); + return; + } + } + + // Add DSP price if available + if (rtbBid.ext && rtbBid.ext.dspPrice) { + bidResponse.meta.dspPrice = rtbBid.ext.dspPrice; + } + + bids.push(bidResponse); + }); + } + }); + + return bids; + }, + + getUserSyncs: function(syncOptions, serverResponses, gdprConsent, uspConsent, gppConsent) { + const syncs = []; + let params = '?cb=' + new Date().getTime(); + + if (gdprConsent) { + if (typeof gdprConsent.gdprApplies === 'boolean') { + params += '&gdpr=' + (gdprConsent.gdprApplies ? 1 : 0); + } + if (typeof gdprConsent.consentString === 'string') { + params += '&gdpr_consent=' + encodeURIComponent(gdprConsent.consentString); + } + } + + if (uspConsent && typeof uspConsent === 'string') { + params += '&us_privacy=' + encodeURIComponent(uspConsent); + } + + if (gppConsent) { + if (gppConsent.gppString) { + params += '&gpp=' + encodeURIComponent(gppConsent.gppString); + } + if (gppConsent.applicableSections) { + params += '&gpp_sid=' + encodeURIComponent(gppConsent.applicableSections.join(',')); + } + } + + if (syncOptions.iframeEnabled) { + syncs.push({ type: 'iframe', url: SYNC_URL + params }); + } + if (syncOptions.pixelEnabled) { + syncs.push({ type: 'image', url: SYNC_URL + params + '&tag=img' }); + } + + return syncs; + }, + + onBidWon: function(bid) { + if (bid.burl) { + triggerPixel(bid.burl); + } + } +}; + +// === MAIN RTB BUILDER === +function makeOpenRtbRequest(validBidRequests, bidderRequest) { + const imp = validBidRequests.map(bid => { + const sizes = getSizes(bid); + const floor = getBidFloorEnhanced(bid); + + const impression = { + id: bid.bidId, + tagid: bid.adUnitCode, + bidfloor: floor, + ext: { + feedId: deepAccess(bid, 'params.feedId'), + bidder: { + placementId: deepAccess(bid, 'params.placementId'), + publisherId: deepAccess(bid, 'params.publisherId') + } + } + }; + + // Add banner specs + if (bid.mediaTypes && bid.mediaTypes.banner) { + impression.banner = { + w: sizes[0][0], + h: sizes[0][1], + format: sizes.map(size => ({ w: size[0], h: size[1] })) + }; + } + + // Add video specs + if (bid.mediaTypes && bid.mediaTypes.video) { + const video = bid.mediaTypes.video; + impression.video = { + mimes: video.mimes || ['video/mp4', 'video/webm'], + minduration: video.minduration || 0, + maxduration: video.maxduration || 60, + protocols: video.protocols || [2, 3, 5, 6], + w: getVideoSize(video.playerSize, 0, 640), + h: getVideoSize(video.playerSize, 1, 360), + placement: video.placement || 1, + playbackmethod: video.playbackmethod || [1, 2], + api: video.api || [1, 2], + skip: video.skip || 0, + skipmin: video.skipmin || 0, + skipafter: video.skipafter || 0, + pos: video.pos || 0, + startdelay: video.startdelay || 0, + linearity: video.linearity || 1 + }; + } + + return impression; + }); + + let user = {}; + if (validBidRequests[0] && validBidRequests[0].userIdAsEids) { + user.eids = deepClone(validBidRequests[0].userIdAsEids); + } + + const ortb2 = bidderRequest.ortb2 || {}; + const site = { + domain: typeof window !== 'undefined' ? window.location.hostname : '', + page: typeof window !== 'undefined' ? window.location.href : '', + ref: typeof document !== 'undefined' ? document.referrer : '' + }; + + // Merge ortb2 site data + if (ortb2.site) { + Object.assign(site, deepClone(ortb2.site)); + } + + const device = deepClone(ortb2.device) || {}; + // Add basic device info if not present + if (!device.ua) { + device.ua = typeof navigator !== 'undefined' ? navigator.userAgent : ''; + } + if (!device.language) { + device.language = typeof navigator !== 'undefined' ? navigator.language : ''; + } + if (!device.w) { + device.w = typeof screen !== 'undefined' ? screen.width : 0; + } + if (!device.h) { + device.h = typeof screen !== 'undefined' ? screen.height : 0; + } + if (!device.devicetype) { + device.devicetype = getDeviceType(); + } + + const regs = { ext: {} }; + if (bidderRequest.gdprConsent) { + regs.ext.gdpr = bidderRequest.gdprConsent.gdprApplies ? 1 : 0; + user.ext = { consent: bidderRequest.gdprConsent.consentString }; + } + if (bidderRequest.uspConsent) { + regs.ext.us_privacy = bidderRequest.uspConsent; + } + + // Add GPP consent + if (bidderRequest.gppConsent) { + if (bidderRequest.gppConsent.gppString) { + regs.ext.gpp = bidderRequest.gppConsent.gppString; + } + if (bidderRequest.gppConsent.applicableSections) { + // Send as array, not comma-separated string + regs.ext.gpp_sid = bidderRequest.gppConsent.applicableSections; + } + } + + // Get supply chain + const schain = bidderRequest.schain || (validBidRequests[0] && validBidRequests[0].schain); + + return { + id: bidderRequest.auctionId, + imp: imp, + site: site, + device: device, + user: user, + regs: regs, + schain: schain, + tmax: bidderRequest.timeout || 1000, + cur: ['USD'], + ext: { + prebid: { + version: '$prebid.version$' + } + } + }; +} + +// === UTILS === +function getSizes(bid) { + if (bid.mediaTypes && bid.mediaTypes.banner && Array.isArray(bid.mediaTypes.banner.sizes) && bid.mediaTypes.banner.sizes.length > 0) { + return bid.mediaTypes.banner.sizes; + } + if (bid.mediaTypes && bid.mediaTypes.video && bid.mediaTypes.video.playerSize && bid.mediaTypes.video.playerSize.length > 0) { + return bid.mediaTypes.video.playerSize; + } + if (bid.sizes && bid.sizes.length > 0) { + return bid.sizes; + } + return [[300, 250]]; +} + +function getFirstSize(bid, index, defaultVal) { + const sizes = getSizes(bid); + return (sizes && sizes[0] && sizes[0][index]) || defaultVal; +} + +/** + * Safely extract video dimensions from playerSize. + * Handles both nested [[640, 480]] and flat [640, 480] formats. + * @param {Array} playerSize - video.playerSize from mediaTypes config + * @param {number} index - 0 for width, 1 for height + * @param {number} defaultVal - fallback value + * @returns {number} + */ +function getVideoSize(playerSize, index, defaultVal) { + if (!playerSize || !Array.isArray(playerSize) || playerSize.length === 0) { + return defaultVal; + } + // Nested: [[640, 480]] or [[640, 480], [320, 240]] + if (Array.isArray(playerSize[0])) { + return playerSize[0][index] || defaultVal; + } + // Flat: [640, 480] + if (typeof playerSize[0] === 'number') { + return playerSize[index] || defaultVal; + } + return defaultVal; +} + +/** + * Detect if adm content is VAST XML (for multi-format video detection). + * @param {string} adm - ad markup string + * @returns {boolean} + */ +function isVastAdm(adm) { + if (typeof adm !== 'string') return false; + const trimmed = adm.trim(); + return trimmed.startsWith(' floor && floorInfo.currency === 'USD' && !isNaN(floorInfo.floor)) { + floor = floorInfo.floor; + } + } catch (e) { + // Continue to next size + } + } + + // Fallback to general floor + if (floor === 0) { + try { + const floorInfo = bid.getFloor({ currency: 'USD', mediaType: mediaType, size: '*' }); + if (typeof floorInfo === 'object' && floorInfo.currency === 'USD' && !isNaN(floorInfo.floor)) { + floor = floorInfo.floor; + } + } catch (e) { + logWarn('Revantage: getFloor threw error', e); + } + } + } + return floor; +} + +function getDeviceType() { + if (typeof screen === 'undefined') return 1; + const width = screen.width; + const ua = typeof navigator !== 'undefined' ? navigator.userAgent : ''; + + if (/iPhone|iPod/i.test(ua) || (width < 768 && /Mobile/i.test(ua))) return 2; // Mobile + if (/iPad/i.test(ua) || (width >= 768 && width < 1024)) return 5; // Tablet + return 1; // Desktop/PC +} + +// === REGISTER === +registerBidder(spec); diff --git a/modules/revantageBidAdapter.md b/modules/revantageBidAdapter.md new file mode 100644 index 00000000000..42a4ef4198d --- /dev/null +++ b/modules/revantageBidAdapter.md @@ -0,0 +1,34 @@ +# Overview + +``` +Module Name: ReVantage Bidder Adapter +Module Type: ReVantage Bidder Adapter +Maintainer: bern@revantage.io +``` + +# Description + +Connects to ReVantage exchange for bids. +ReVantage bid adapter supports Banner and Video. + +# Test Parameters +``` + var adUnits = [ + // Will return static test banner + { + code: 'adunit', + mediaTypes: { + banner: { + sizes: [ [300, 250], [320, 50] ], + } + }, + bids: [ + { + bidder: 'revantage', + params: { + feedId: 'testfeed', + } + } + ] + } +``` diff --git a/test/spec/modules/revantageBidAdapter_spec.js b/test/spec/modules/revantageBidAdapter_spec.js new file mode 100644 index 00000000000..b560c218bfd --- /dev/null +++ b/test/spec/modules/revantageBidAdapter_spec.js @@ -0,0 +1,994 @@ +import { expect } from 'chai'; +import sinon from 'sinon'; +import { spec } from '../../../modules/revantageBidAdapter.js'; +import { newBidder } from '../../../src/adapters/bidderFactory.js'; +import { deepClone } from '../../../src/utils.js'; +import { BANNER, VIDEO } from '../../../src/mediaTypes.js'; +import * as utils from '../../../src/utils.js'; + +const ENDPOINT_URL = 'https://bid.revantage.io/bid'; +const SYNC_URL = 'https://sync.revantage.io/sync'; + +describe('RevantageBidAdapter', function () { + const adapter = newBidder(spec); + + describe('inherited functions', function () { + it('exists and is a function', function () { + expect(adapter.callBids).to.exist.and.to.be.a('function'); + }); + }); + + describe('isBidRequestValid', function () { + const validBid = { + bidder: 'revantage', + params: { + feedId: 'test-feed-123' + }, + adUnitCode: 'adunit-code', + sizes: [[300, 250], [300, 600]], + bidId: '30b31c1838de1e', + bidderRequestId: '22edbae2733bf6', + auctionId: '1d1a030790a475' + }; + + it('should return true when required params found', function () { + expect(spec.isBidRequestValid(validBid)).to.equal(true); + }); + + it('should return false when bid is undefined', function () { + expect(spec.isBidRequestValid(undefined)).to.equal(false); + }); + + it('should return false when bid is null', function () { + expect(spec.isBidRequestValid(null)).to.equal(false); + }); + + it('should return false when params is missing', function () { + const invalidBid = deepClone(validBid); + delete invalidBid.params; + expect(spec.isBidRequestValid(invalidBid)).to.equal(false); + }); + + it('should return false when feedId is missing', function () { + const invalidBid = deepClone(validBid); + invalidBid.params = {}; + expect(spec.isBidRequestValid(invalidBid)).to.equal(false); + }); + + it('should return false when feedId is empty string', function () { + const invalidBid = deepClone(validBid); + invalidBid.params = { feedId: '' }; + expect(spec.isBidRequestValid(invalidBid)).to.equal(false); + }); + + it('should return true with optional params', function () { + const bidWithOptional = deepClone(validBid); + bidWithOptional.params.placementId = 'test-placement'; + bidWithOptional.params.publisherId = 'test-publisher'; + expect(spec.isBidRequestValid(bidWithOptional)).to.equal(true); + }); + }); + + describe('buildRequests', function () { + const validBidRequests = [{ + bidder: 'revantage', + params: { + feedId: 'test-feed-123', + placementId: 'test-placement', + publisherId: 'test-publisher' + }, + adUnitCode: 'adunit-code', + sizes: [[300, 250], [300, 600]], + bidId: '30b31c1838de1e', + bidderRequestId: '22edbae2733bf6', + auctionId: '1d1a030790a475', + mediaTypes: { + banner: { + sizes: [[300, 250], [300, 600]] + } + }, + getFloor: function(params) { + return { + currency: 'USD', + floor: 0.5 + }; + } + }]; + + const bidderRequest = { + auctionId: '1d1a030790a475', + bidderRequestId: '22edbae2733bf6', + timeout: 3000, + gdprConsent: { + consentString: 'BOJ/P2HOJ/P2HABABMAAAAAZ+A==', + gdprApplies: true + }, + uspConsent: '1---', + gppConsent: { + gppString: 'DBACNYA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA', + applicableSections: [7, 8] + }, + ortb2: { + site: { + domain: 'example.com', + page: 'https://example.com/test' + }, + device: { + ua: 'Mozilla/5.0...', + language: 'en' + } + } + }; + + it('should return valid request object', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + + expect(request).to.be.an('object'); + expect(request.method).to.equal('POST'); + expect(request.url).to.include(ENDPOINT_URL); + expect(request.url).to.include('feed=test-feed-123'); + expect(request.options.contentType).to.equal('text/plain'); + expect(request.options.withCredentials).to.equal(false); + expect(request.bidRequests).to.equal(validBidRequests); + }); + + it('should include all required OpenRTB fields', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const data = JSON.parse(request.data); + + expect(data.id).to.equal('1d1a030790a475'); + expect(data.imp).to.be.an('array').with.lengthOf(1); + expect(data.site).to.be.an('object'); + expect(data.device).to.be.an('object'); + expect(data.user).to.be.an('object'); + expect(data.regs).to.be.an('object'); + expect(data.cur).to.deep.equal(['USD']); + expect(data.tmax).to.equal(3000); + }); + + it('should build correct impression object', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const data = JSON.parse(request.data); + const imp = data.imp[0]; + + expect(imp.id).to.equal('30b31c1838de1e'); + expect(imp.tagid).to.equal('adunit-code'); + expect(imp.bidfloor).to.equal(0.5); + expect(imp.banner).to.be.an('object'); + expect(imp.banner.w).to.equal(300); + expect(imp.banner.h).to.equal(250); + expect(imp.banner.format).to.deep.equal([ + { w: 300, h: 250 }, + { w: 300, h: 600 } + ]); + }); + + it('should include bidder-specific ext parameters', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const data = JSON.parse(request.data); + const imp = data.imp[0]; + + expect(imp.ext.feedId).to.equal('test-feed-123'); + expect(imp.ext.bidder.placementId).to.equal('test-placement'); + expect(imp.ext.bidder.publisherId).to.equal('test-publisher'); + }); + + it('should include GDPR consent data', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const data = JSON.parse(request.data); + + expect(data.regs.ext.gdpr).to.equal(1); + expect(data.user.ext.consent).to.equal('BOJ/P2HOJ/P2HABABMAAAAAZ+A=='); + }); + + it('should include CCPA/USP consent', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const data = JSON.parse(request.data); + + expect(data.regs.ext.us_privacy).to.equal('1---'); + }); + + it('should include GPP consent with sections as array', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const data = JSON.parse(request.data); + + expect(data.regs.ext.gpp).to.equal('DBACNYA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA'); + expect(data.regs.ext.gpp_sid).to.deep.equal([7, 8]); + }); + + it('should handle GDPR not applies', function () { + const bidderRequestNoGdpr = deepClone(bidderRequest); + bidderRequestNoGdpr.gdprConsent.gdprApplies = false; + + const request = spec.buildRequests(validBidRequests, bidderRequestNoGdpr); + const data = JSON.parse(request.data); + + expect(data.regs.ext.gdpr).to.equal(0); + }); + + it('should handle missing getFloor function', function () { + const bidRequestsWithoutFloor = deepClone(validBidRequests); + delete bidRequestsWithoutFloor[0].getFloor; + + const request = spec.buildRequests(bidRequestsWithoutFloor, bidderRequest); + const data = JSON.parse(request.data); + + expect(data.imp[0].bidfloor).to.equal(0); + }); + + it('should handle getFloor returning non-USD currency', function () { + const bidRequestsEurFloor = deepClone(validBidRequests); + bidRequestsEurFloor[0].getFloor = function() { + return { currency: 'EUR', floor: 0.5 }; + }; + + const request = spec.buildRequests(bidRequestsEurFloor, bidderRequest); + const data = JSON.parse(request.data); + + expect(data.imp[0].bidfloor).to.equal(0); + }); + + it('should handle missing ortb2 data', function () { + const bidderRequestNoOrtb2 = deepClone(bidderRequest); + delete bidderRequestNoOrtb2.ortb2; + + const request = spec.buildRequests(validBidRequests, bidderRequestNoOrtb2); + const data = JSON.parse(request.data); + + expect(data.site).to.be.an('object'); + expect(data.site.domain).to.exist; + expect(data.device).to.be.an('object'); + }); + + it('should include supply chain when present in bidderRequest', function () { + const bidderRequestWithSchain = deepClone(bidderRequest); + bidderRequestWithSchain.schain = { + ver: '1.0', + complete: 1, + nodes: [{ + asi: 'example.com', + sid: '12345', + hp: 1 + }] + }; + + const request = spec.buildRequests(validBidRequests, bidderRequestWithSchain); + const data = JSON.parse(request.data); + + expect(data.schain).to.exist; + expect(data.schain.ver).to.equal('1.0'); + expect(data.schain.complete).to.equal(1); + expect(data.schain.nodes).to.have.lengthOf(1); + }); + + it('should include supply chain from first bid request', function () { + const bidRequestsWithSchain = deepClone(validBidRequests); + bidRequestsWithSchain[0].schain = { + ver: '1.0', + complete: 1, + nodes: [{ asi: 'bidder.com', sid: '999', hp: 1 }] + }; + + const bidderRequestNoSchain = deepClone(bidderRequest); + delete bidderRequestNoSchain.schain; + + const request = spec.buildRequests(bidRequestsWithSchain, bidderRequestNoSchain); + const data = JSON.parse(request.data); + + expect(data.schain).to.exist; + expect(data.schain.nodes[0].asi).to.equal('bidder.com'); + }); + + it('should include user EIDs when present', function () { + const bidRequestsWithEids = deepClone(validBidRequests); + bidRequestsWithEids[0].userIdAsEids = [ + { + source: 'id5-sync.com', + uids: [{ id: 'test-id5-id', atype: 1 }] + } + ]; + + const request = spec.buildRequests(bidRequestsWithEids, bidderRequest); + const data = JSON.parse(request.data); + + expect(data.user.eids).to.be.an('array'); + expect(data.user.eids[0].source).to.equal('id5-sync.com'); + }); + + it('should return empty array when feedIds differ across bids', function () { + const mixedFeedBidRequests = [ + { + bidder: 'revantage', + params: { feedId: 'feed-1' }, + adUnitCode: 'adunit-1', + mediaTypes: { banner: { sizes: [[300, 250]] } }, + sizes: [[300, 250]], + bidId: 'bid1', + bidderRequestId: '22edbae2733bf6', + auctionId: '1d1a030790a475' + }, + { + bidder: 'revantage', + params: { feedId: 'feed-2' }, + adUnitCode: 'adunit-2', + mediaTypes: { banner: { sizes: [[728, 90]] } }, + sizes: [[728, 90]], + bidId: 'bid2', + bidderRequestId: '22edbae2733bf6', + auctionId: '1d1a030790a475' + } + ]; + + const request = spec.buildRequests(mixedFeedBidRequests, bidderRequest); + expect(request).to.deep.equal([]); + }); + + it('should return empty array on exception', function () { + const request = spec.buildRequests(null, bidderRequest); + expect(request).to.deep.equal([]); + }); + + it('should handle video media type', function () { + const videoBidRequests = [{ + bidder: 'revantage', + params: { feedId: 'test-feed-123' }, + adUnitCode: 'video-adunit', + bidId: 'video-bid-1', + bidderRequestId: '22edbae2733bf6', + auctionId: '1d1a030790a475', + mediaTypes: { + video: { + playerSize: [[640, 480]], + mimes: ['video/mp4', 'video/webm'], + protocols: [2, 3, 5, 6], + api: [1, 2], + placement: 1, + minduration: 5, + maxduration: 30, + skip: 1, + skipmin: 5, + skipafter: 5 + } + } + }]; + + const request = spec.buildRequests(videoBidRequests, bidderRequest); + const data = JSON.parse(request.data); + const imp = data.imp[0]; + + expect(imp.video).to.exist; + expect(imp.video.w).to.equal(640); + expect(imp.video.h).to.equal(480); + expect(imp.video.mimes).to.deep.equal(['video/mp4', 'video/webm']); + expect(imp.video.protocols).to.deep.equal([2, 3, 5, 6]); + expect(imp.video.minduration).to.equal(5); + expect(imp.video.maxduration).to.equal(30); + expect(imp.video.skip).to.equal(1); + expect(imp.banner).to.be.undefined; + }); + + it('should handle multi-format (banner + video) bid', function () { + const multiFormatBidRequests = [{ + bidder: 'revantage', + params: { feedId: 'test-feed-123' }, + adUnitCode: 'multi-format-adunit', + bidId: 'multi-bid-1', + bidderRequestId: '22edbae2733bf6', + auctionId: '1d1a030790a475', + mediaTypes: { + banner: { + sizes: [[300, 250]] + }, + video: { + playerSize: [[640, 480]], + mimes: ['video/mp4'] + } + } + }]; + + const request = spec.buildRequests(multiFormatBidRequests, bidderRequest); + const data = JSON.parse(request.data); + const imp = data.imp[0]; + + expect(imp.banner).to.exist; + expect(imp.video).to.exist; + }); + + it('should handle multiple impressions with same feedId', function () { + const multipleBidRequests = [ + { + bidder: 'revantage', + params: { feedId: 'test-feed-123' }, + adUnitCode: 'adunit-1', + mediaTypes: { banner: { sizes: [[300, 250]] } }, + sizes: [[300, 250]], + bidId: 'bid1', + bidderRequestId: '22edbae2733bf6', + auctionId: '1d1a030790a475' + }, + { + bidder: 'revantage', + params: { feedId: 'test-feed-123' }, + adUnitCode: 'adunit-2', + mediaTypes: { banner: { sizes: [[728, 90]] } }, + sizes: [[728, 90]], + bidId: 'bid2', + bidderRequestId: '22edbae2733bf6', + auctionId: '1d1a030790a475' + } + ]; + + const request = spec.buildRequests(multipleBidRequests, bidderRequest); + const data = JSON.parse(request.data); + + expect(data.imp).to.have.lengthOf(2); + expect(data.imp[0].id).to.equal('bid1'); + expect(data.imp[1].id).to.equal('bid2'); + }); + + it('should use default sizes when sizes array is empty', function () { + const bidWithEmptySizes = [{ + bidder: 'revantage', + params: { feedId: 'test-feed' }, + adUnitCode: 'adunit-code', + mediaTypes: { banner: { sizes: [] } }, + sizes: [], + bidId: '30b31c1838de1e', + bidderRequestId: '22edbae2733bf6', + auctionId: '1d1a030790a475' + }]; + + const request = spec.buildRequests(bidWithEmptySizes, bidderRequest); + const data = JSON.parse(request.data); + + expect(data.imp[0].banner.w).to.equal(300); + expect(data.imp[0].banner.h).to.equal(250); + }); + + it('should include prebid version in ext', function () { + const request = spec.buildRequests(validBidRequests, bidderRequest); + const data = JSON.parse(request.data); + + expect(data.ext).to.exist; + expect(data.ext.prebid).to.exist; + expect(data.ext.prebid.version).to.exist; + }); + }); + + describe('interpretResponse', function () { + const serverResponse = { + body: { + id: '1d1a030790a475', + seatbid: [{ + seat: 'test-dsp', + bid: [{ + id: 'test-bid-id', + impid: '30b31c1838de1e', + price: 1.25, + crid: 'test-creative-123', + adm: '
Test Ad Markup
', + w: 300, + h: 250, + adomain: ['advertiser.com'], + dealid: 'deal-123' + }] + }], + cur: 'USD' + } + }; + + const bidRequest = { + bidRequests: [{ + bidId: '30b31c1838de1e', + adUnitCode: 'adunit-code', + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + } + }] + }; + + it('should return valid banner bid response', function () { + const result = spec.interpretResponse(serverResponse, bidRequest); + + expect(result).to.be.an('array').with.lengthOf(1); + + const bid = result[0]; + expect(bid.requestId).to.equal('30b31c1838de1e'); + expect(bid.cpm).to.equal(1.25); + expect(bid.width).to.equal(300); + expect(bid.height).to.equal(250); + expect(bid.creativeId).to.equal('test-creative-123'); + expect(bid.currency).to.equal('USD'); + expect(bid.netRevenue).to.equal(true); + expect(bid.ttl).to.equal(300); + expect(bid.ad).to.equal('
Test Ad Markup
'); + expect(bid.mediaType).to.equal(BANNER); + expect(bid.dealId).to.equal('deal-123'); + }); + + it('should include meta data in bid response', function () { + const result = spec.interpretResponse(serverResponse, bidRequest); + const bid = result[0]; + + expect(bid.meta).to.be.an('object'); + expect(bid.meta.advertiserDomains).to.deep.equal(['advertiser.com']); + expect(bid.meta.dsp).to.equal('test-dsp'); + expect(bid.meta.networkName).to.equal('Revantage'); + }); + + it('should include burl when provided', function () { + const responseWithBurl = deepClone(serverResponse); + responseWithBurl.body.seatbid[0].bid[0].burl = 'https://bid.revantage.io/win?auction=1d1a030790a475&dsp=test-dsp&price=0.625000&impid=30b31c1838de1e&bidid=test-bid-id&adid=test-creative-123&page=&domain=&country=&feedid=test-feed&ref='; + + const result = spec.interpretResponse(responseWithBurl, bidRequest); + const bid = result[0]; + + expect(bid.burl).to.include('https://bid.revantage.io/win'); + expect(bid.burl).to.include('dsp=test-dsp'); + expect(bid.burl).to.include('impid=30b31c1838de1e'); + }); + + it('should handle video response with vastXml', function () { + const videoResponse = deepClone(serverResponse); + videoResponse.body.seatbid[0].bid[0].vastXml = '...'; + delete videoResponse.body.seatbid[0].bid[0].adm; + + const videoBidRequest = { + bidRequests: [{ + bidId: '30b31c1838de1e', + adUnitCode: 'video-adunit', + mediaTypes: { + video: { + playerSize: [[640, 480]] + } + } + }] + }; + + const result = spec.interpretResponse(videoResponse, videoBidRequest); + const bid = result[0]; + + expect(bid.mediaType).to.equal(VIDEO); + expect(bid.vastXml).to.equal('...'); + }); + + it('should handle video response with vastUrl', function () { + const videoResponse = deepClone(serverResponse); + videoResponse.body.seatbid[0].bid[0].vastUrl = 'https://vast.example.com/vast.xml'; + delete videoResponse.body.seatbid[0].bid[0].adm; + + const videoBidRequest = { + bidRequests: [{ + bidId: '30b31c1838de1e', + adUnitCode: 'video-adunit', + mediaTypes: { + video: { + playerSize: [[640, 480]] + } + } + }] + }; + + const result = spec.interpretResponse(videoResponse, videoBidRequest); + const bid = result[0]; + + expect(bid.mediaType).to.equal(VIDEO); + expect(bid.vastUrl).to.equal('https://vast.example.com/vast.xml'); + }); + + it('should detect video from ext.mediaType', function () { + const videoResponse = deepClone(serverResponse); + videoResponse.body.seatbid[0].bid[0].adm = '...'; + videoResponse.body.seatbid[0].bid[0].ext = { mediaType: 'video' }; + + const result = spec.interpretResponse(videoResponse, bidRequest); + const bid = result[0]; + + expect(bid.mediaType).to.equal(VIDEO); + expect(bid.vastXml).to.equal('...'); + }); + + it('should use default dimensions from bid request when missing in response', function () { + const responseNoDimensions = deepClone(serverResponse); + delete responseNoDimensions.body.seatbid[0].bid[0].w; + delete responseNoDimensions.body.seatbid[0].bid[0].h; + + const result = spec.interpretResponse(responseNoDimensions, bidRequest); + const bid = result[0]; + + expect(bid.width).to.equal(300); + expect(bid.height).to.equal(250); + }); + + it('should include dspPrice from ext when available', function () { + const responseWithDspPrice = deepClone(serverResponse); + responseWithDspPrice.body.seatbid[0].bid[0].ext = { dspPrice: 1.50 }; + + const result = spec.interpretResponse(responseWithDspPrice, bidRequest); + const bid = result[0]; + + expect(bid.meta.dspPrice).to.equal(1.50); + }); + + it('should return empty array for null response body', function () { + const result = spec.interpretResponse({ body: null }, bidRequest); + expect(result).to.deep.equal([]); + }); + + it('should return empty array for undefined response body', function () { + const result = spec.interpretResponse({}, bidRequest); + expect(result).to.deep.equal([]); + }); + + it('should return empty array when seatbid is not an array', function () { + const invalidResponse = { + body: { + id: '1d1a030790a475', + seatbid: 'not-an-array', + cur: 'USD' + } + }; + + const result = spec.interpretResponse(invalidResponse, bidRequest); + expect(result).to.deep.equal([]); + }); + + it('should return empty array for empty seatbid', function () { + const emptyResponse = { + body: { + id: '1d1a030790a475', + seatbid: [], + cur: 'USD' + } + }; + + const result = spec.interpretResponse(emptyResponse, bidRequest); + expect(result).to.deep.equal([]); + }); + + it('should filter out bids with zero price', function () { + const zeroPriceResponse = deepClone(serverResponse); + zeroPriceResponse.body.seatbid[0].bid[0].price = 0; + + const result = spec.interpretResponse(zeroPriceResponse, bidRequest); + expect(result).to.deep.equal([]); + }); + + it('should filter out bids with negative price', function () { + const negativePriceResponse = deepClone(serverResponse); + negativePriceResponse.body.seatbid[0].bid[0].price = -1; + + const result = spec.interpretResponse(negativePriceResponse, bidRequest); + expect(result).to.deep.equal([]); + }); + + it('should filter out bids without ad markup', function () { + const noAdmResponse = deepClone(serverResponse); + delete noAdmResponse.body.seatbid[0].bid[0].adm; + + const result = spec.interpretResponse(noAdmResponse, bidRequest); + expect(result).to.deep.equal([]); + }); + + it('should filter out bids with unknown impid', function () { + const unknownImpidResponse = deepClone(serverResponse); + unknownImpidResponse.body.seatbid[0].bid[0].impid = 'unknown-imp-id'; + + const result = spec.interpretResponse(unknownImpidResponse, bidRequest); + expect(result).to.deep.equal([]); + }); + + it('should handle missing bidRequests in request object', function () { + const result = spec.interpretResponse(serverResponse, {}); + expect(result).to.deep.equal([]); + }); + + it('should handle multiple seatbids', function () { + const multiSeatResponse = deepClone(serverResponse); + multiSeatResponse.body.seatbid.push({ + seat: 'another-dsp', + bid: [{ + id: 'another-bid-id', + impid: 'another-imp-id', + price: 2.00, + crid: 'another-creative', + adm: '
Another Ad
', + w: 728, + h: 90, + adomain: ['another-advertiser.com'] + }] + }); + + const multiBidRequest = { + bidRequests: [ + { + bidId: '30b31c1838de1e', + adUnitCode: 'adunit-code', + mediaTypes: { banner: { sizes: [[300, 250]] } } + }, + { + bidId: 'another-imp-id', + adUnitCode: 'adunit-code-2', + mediaTypes: { banner: { sizes: [[728, 90]] } } + } + ] + }; + + const result = spec.interpretResponse(multiSeatResponse, multiBidRequest); + + expect(result).to.have.lengthOf(2); + expect(result[0].meta.dsp).to.equal('test-dsp'); + expect(result[1].meta.dsp).to.equal('another-dsp'); + }); + + it('should use default currency USD when not specified', function () { + const noCurrencyResponse = deepClone(serverResponse); + delete noCurrencyResponse.body.cur; + + const result = spec.interpretResponse(noCurrencyResponse, bidRequest); + const bid = result[0]; + + expect(bid.currency).to.equal('USD'); + }); + + it('should generate creativeId when crid is missing', function () { + const noCridResponse = deepClone(serverResponse); + delete noCridResponse.body.seatbid[0].bid[0].crid; + + const result = spec.interpretResponse(noCridResponse, bidRequest); + const bid = result[0]; + + expect(bid.creativeId).to.exist; + expect(bid.creativeId).to.satisfy(crid => + crid === 'test-bid-id' || crid.startsWith('revantage-') + ); + }); + + it('should handle empty adomain array', function () { + const noAdomainResponse = deepClone(serverResponse); + delete noAdomainResponse.body.seatbid[0].bid[0].adomain; + + const result = spec.interpretResponse(noAdomainResponse, bidRequest); + const bid = result[0]; + + expect(bid.meta.advertiserDomains).to.deep.equal([]); + }); + + it('should use "unknown" for missing seat', function () { + const noSeatResponse = deepClone(serverResponse); + delete noSeatResponse.body.seatbid[0].seat; + + const result = spec.interpretResponse(noSeatResponse, bidRequest); + const bid = result[0]; + + expect(bid.meta.dsp).to.equal('unknown'); + }); + }); + + describe('getUserSyncs', function () { + const syncOptions = { + iframeEnabled: true, + pixelEnabled: true + }; + + const gdprConsent = { + gdprApplies: true, + consentString: 'BOJ/P2HOJ/P2HABABMAAAAAZ+A==' + }; + + const uspConsent = '1---'; + + const gppConsent = { + gppString: 'DBACNYA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA', + applicableSections: [7, 8] + }; + + it('should return iframe sync when iframe enabled', function () { + const syncs = spec.getUserSyncs( + { iframeEnabled: true, pixelEnabled: false }, + [], + gdprConsent, + uspConsent, + gppConsent + ); + + expect(syncs).to.be.an('array').with.lengthOf(1); + expect(syncs[0].type).to.equal('iframe'); + expect(syncs[0].url).to.include(SYNC_URL); + }); + + it('should return pixel sync when pixel enabled', function () { + const syncs = spec.getUserSyncs( + { iframeEnabled: false, pixelEnabled: true }, + [], + gdprConsent, + uspConsent, + gppConsent + ); + + expect(syncs).to.be.an('array').with.lengthOf(1); + expect(syncs[0].type).to.equal('image'); + expect(syncs[0].url).to.include(SYNC_URL); + expect(syncs[0].url).to.include('tag=img'); + }); + + it('should return both syncs when both enabled', function () { + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent, uspConsent, gppConsent); + + expect(syncs).to.have.lengthOf(2); + expect(syncs.map(s => s.type)).to.include('iframe'); + expect(syncs.map(s => s.type)).to.include('image'); + }); + + it('should include cache buster parameter', function () { + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent, uspConsent, gppConsent); + + expect(syncs[0].url).to.include('cb='); + }); + + it('should include GDPR parameters when consent applies', function () { + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent, uspConsent, gppConsent); + + expect(syncs[0].url).to.include('gdpr=1'); + expect(syncs[0].url).to.include('gdpr_consent=BOJ%2FP2HOJ%2FP2HABABMAAAAAZ%2BA%3D%3D'); + }); + + it('should set gdpr=0 when GDPR does not apply', function () { + const gdprNotApplies = { + gdprApplies: false, + consentString: 'BOJ/P2HOJ/P2HABABMAAAAAZ+A==' + }; + + const syncs = spec.getUserSyncs(syncOptions, [], gdprNotApplies, uspConsent, gppConsent); + + expect(syncs[0].url).to.include('gdpr=0'); + }); + + it('should include USP consent parameter', function () { + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent, uspConsent, gppConsent); + + expect(syncs[0].url).to.include('us_privacy=1---'); + }); + + it('should include GPP parameters', function () { + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent, uspConsent, gppConsent); + + expect(syncs[0].url).to.include('gpp='); + expect(syncs[0].url).to.include('gpp_sid=7%2C8'); + }); + + it('should handle missing GDPR consent', function () { + const syncs = spec.getUserSyncs(syncOptions, [], null, uspConsent, gppConsent); + + expect(syncs[0].url).to.not.include('gdpr='); + expect(syncs[0].url).to.not.include('gdpr_consent='); + }); + + it('should handle missing USP consent', function () { + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent, null, gppConsent); + + expect(syncs[0].url).to.not.include('us_privacy='); + }); + + it('should handle missing GPP consent', function () { + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent, uspConsent, null); + + expect(syncs[0].url).to.not.include('gpp='); + expect(syncs[0].url).to.not.include('gpp_sid='); + }); + + it('should handle undefined GPP string', function () { + const partialGppConsent = { + applicableSections: [7, 8] + }; + + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent, uspConsent, partialGppConsent); + + expect(syncs[0].url).to.not.include('gpp='); + expect(syncs[0].url).to.include('gpp_sid=7%2C8'); + }); + + it('should return empty array when no sync options enabled', function () { + const syncs = spec.getUserSyncs( + { iframeEnabled: false, pixelEnabled: false }, + [], + gdprConsent, + uspConsent, + gppConsent + ); + + expect(syncs).to.be.an('array').that.is.empty; + }); + + it('should return empty array when syncOptions is empty object', function () { + const syncs = spec.getUserSyncs({}, [], gdprConsent, uspConsent, gppConsent); + + expect(syncs).to.be.an('array').that.is.empty; + }); + }); + + describe('onBidWon', function () { + let triggerPixelStub; + + beforeEach(function () { + triggerPixelStub = sinon.stub(utils, 'triggerPixel'); + }); + + afterEach(function () { + triggerPixelStub.restore(); + }); + + it('should call triggerPixel with correct burl', function () { + const bid = { + bidId: '30b31c1838de1e', + cpm: 1.25, + adUnitCode: 'adunit-code', + burl: 'https://bid.revantage.io/win?auction=1d1a030790a475&dsp=test-dsp&price=0.625000&impid=30b31c1838de1e&bidid=test-bid-id&adid=test-ad-123&page=https%3A%2F%2Fexample.com&domain=example.com&country=US&feedid=test-feed&ref=' + }; + + spec.onBidWon(bid); + + expect(triggerPixelStub.calledOnce).to.be.true; + expect(triggerPixelStub.firstCall.args[0]).to.include('https://bid.revantage.io/win'); + expect(triggerPixelStub.firstCall.args[0]).to.include('dsp=test-dsp'); + expect(triggerPixelStub.firstCall.args[0]).to.include('impid=30b31c1838de1e'); + expect(triggerPixelStub.firstCall.args[0]).to.include('feedid=test-feed'); + }); + + it('should not throw error when burl is missing', function () { + const bid = { + bidId: '30b31c1838de1e', + cpm: 1.25, + adUnitCode: 'adunit-code' + }; + + expect(() => spec.onBidWon(bid)).to.not.throw(); + expect(triggerPixelStub.called).to.be.false; + }); + + it('should handle burl with all query parameters', function () { + // This is the actual format generated by your RTB server + const burl = 'https://bid.revantage.io/win?' + + 'auction=auction_123456789' + + '&dsp=Improve_Digital' + + '&price=0.750000' + + '&impid=imp_001%7Cfeed123' + // URL encoded pipe for feedId in impid + '&bidid=bid_abc' + + '&adid=creative_xyz' + + '&page=https%3A%2F%2Fexample.com%2Fpage' + + '&domain=example.com' + + '&country=US' + + '&feedid=feed123' + + '&ref=https%3A%2F%2Fgoogle.com'; + + const bid = { + bidId: 'imp_001', + cpm: 1.50, + burl: burl + }; + + spec.onBidWon(bid); + + expect(triggerPixelStub.calledOnce).to.be.true; + const calledUrl = triggerPixelStub.firstCall.args[0]; + expect(calledUrl).to.include('auction=auction_123456789'); + expect(calledUrl).to.include('dsp=Improve_Digital'); + expect(calledUrl).to.include('price=0.750000'); + expect(calledUrl).to.include('domain=example.com'); + expect(calledUrl).to.include('country=US'); + expect(calledUrl).to.include('feedid=feed123'); + }); + }); + + describe('spec properties', function () { + it('should have correct bidder code', function () { + expect(spec.code).to.equal('revantage'); + }); + + it('should support banner and video media types', function () { + expect(spec.supportedMediaTypes).to.deep.equal([BANNER, VIDEO]); + }); + }); +}); From 4fb207b34e3cc8b6b0f8ccc0f9c2a156e0623158 Mon Sep 17 00:00:00 2001 From: Fatih Kaya Date: Mon, 23 Feb 2026 18:13:23 +0300 Subject: [PATCH 213/248] AdMatic Bid Adapter : add adrubi alias (#14504) * Admatic Bidder Adaptor * Update admaticBidAdapter.md * Update admaticBidAdapter.md * remove floor parameter * Update admaticBidAdapter.js * Admatic Bid Adapter: alias and bid floor features activated * Admatic adapter: host param control changed * Alias name changed. * Revert "Admatic adapter: host param control changed" This reverts commit de7ac85981b1ba3ad8c5d1dc95c5dadbdf5b9895. * added alias feature and host param * Revert "added alias feature and host param" This reverts commit 6ec8f4539ea6be403a0d7e08dad5c7a5228f28a1. * Revert "Alias name changed." This reverts commit 661c54f9b2397e8f25c257144d73161e13466281. * Revert "Admatic Bid Adapter: alias and bid floor features activated" This reverts commit 7a2e0e29c49e2f876b68aafe886b336fe2fe6fcb. * Revert "Update admaticBidAdapter.js" This reverts commit 7a845b7151bbb08addfb58ea9bd5b44167cc8a4e. * Revert "remove floor parameter" This reverts commit 7a23b055ccd4ea23d23e73248e82b21bc6f69d90. * Admatic adapter: host param control && Add new Bidder * Revert "Admatic adapter: host param control && Add new Bidder" This reverts commit 3c797b120c8e0fe2b851381300ac5c4b1f92c6e2. * commit new features * Update admaticBidAdapter.js * updated for coverage * sync updated * Update adloader.js * AdMatic Bidder: development of user sync url * Update admaticBidAdapter.js * Set currency for AdserverCurrency: bug fix * Update admaticBidAdapter.js * update * admatic adapter video params update * Update admaticBidAdapter.js * update * Update admaticBidAdapter.js * update * update * Update admaticBidAdapter_spec.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Revert "Update admaticBidAdapter.js" This reverts commit 1216892fe55e5ab24dda8e045ea007ee6bb40ff8. * Revert "Update admaticBidAdapter.js" This reverts commit b1929ece33bb4040a3bcd6b9332b50335356829c. * Revert "Update admaticBidAdapter_spec.js" This reverts commit 1ca659798b0c9b912634b1673e15e54e547b81e7. * Revert "update" This reverts commit 689ce9d21e08c27be49adb35c5fd5205aef5c35c. * Revert "update" This reverts commit f381a453f9389bebd58dcfa719e9ec17f939f338. * Revert "Update admaticBidAdapter.js" This reverts commit 38fd7abec701d8a4750f9e95eaeb40fb67e9f0e6. * Revert "update" This reverts commit a5316e74b612a5b2cd16cf42586334321fc87770. * Revert "Update admaticBidAdapter.js" This reverts commit 60a28cae302b711366dab0bff9f49b11862fb8ee. * Revert "admatic adapter video params update" This reverts commit 31e69e88fd9355e143f736754ac2e47fe49b65b6. * update * Update admaticBidAdapter.js * Update admaticBidAdapter_spec.js * mime_type add * add native adapter * AdMatic Adapter: Consent Management * added gvlid * Update admaticBidAdapter.js * admatic cur update * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * admatic sync update * Update admaticBidAdapter.js * Revert "Update admaticBidAdapter.js" This reverts commit 11e053f0743f2df0b88bb2010f8c26b08653516a. * Revert "Update admaticBidAdapter.js" This reverts commit 11e053f0743f2df0b88bb2010f8c26b08653516a. * Update admaticBidAdapter.js --- modules/admaticBidAdapter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/admaticBidAdapter.js b/modules/admaticBidAdapter.js index 4e75f7e583f..d83e7ed5ae9 100644 --- a/modules/admaticBidAdapter.js +++ b/modules/admaticBidAdapter.js @@ -28,6 +28,7 @@ export const spec = { { code: 'monetixads', gvlid: 1281 }, { code: 'netaddiction', gvlid: 1281 }, { code: 'adt', gvlid: 779 }, + { code: 'adrubi', gvlid: 779 }, { code: 'yobee', gvlid: 1281 } ], supportedMediaTypes: [BANNER, VIDEO, NATIVE], From 371a9de1c56974e433b417221603e7d812b38ba4 Mon Sep 17 00:00:00 2001 From: Siminko Vlad <85431371+siminkovladyslav@users.noreply.github.com> Date: Mon, 23 Feb 2026 16:32:34 +0100 Subject: [PATCH 214/248] OMS Bid Adapter: add instl flag to imp in request (#14501) --- modules/omsBidAdapter.js | 5 +++++ test/spec/modules/omsBidAdapter_spec.js | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/modules/omsBidAdapter.js b/modules/omsBidAdapter.js index 95498260680..18f7c7aa12a 100644 --- a/modules/omsBidAdapter.js +++ b/modules/omsBidAdapter.js @@ -8,6 +8,7 @@ import { getBidIdParameter, getUniqueIdentifierStr, formatQS, + deepAccess, } from '../src/utils.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; import { BANNER, VIDEO } from '../src/mediaTypes.js'; @@ -73,6 +74,10 @@ function buildRequests(bidReqs, bidderRequest) { } } + if (deepAccess(bid, 'ortb2Imp.instl') === 1) { + imp.instl = 1; + } + const bidFloor = getBidFloor(bid); if (bidFloor) { diff --git a/test/spec/modules/omsBidAdapter_spec.js b/test/spec/modules/omsBidAdapter_spec.js index 3b9c0779fb0..da9c21e7ae3 100644 --- a/test/spec/modules/omsBidAdapter_spec.js +++ b/test/spec/modules/omsBidAdapter_spec.js @@ -267,6 +267,16 @@ describe('omsBidAdapter', function () { expect(data.regs.coppa).to.equal(1); }); + it('sends instl property when ortb2Imp.instl = 1', function () { + const data = JSON.parse(spec.buildRequests([{ ...bidRequests[0], ortb2Imp: { instl: 1 }}]).data); + expect(data.imp[0].instl).to.equal(1); + }); + + it('ignores instl property when ortb2Imp.instl is falsy', function () { + const data = JSON.parse(spec.buildRequests(bidRequests).data); + expect(data.imp[0].instl).to.be.undefined; + }); + it('sends schain', function () { const data = JSON.parse(spec.buildRequests(bidRequests).data); expect(data).to.not.be.undefined; From a7b5796a1fba59552ba130c3fe2b7c18d42ce28d Mon Sep 17 00:00:00 2001 From: abermanov-zeta <95416296+abermanov-zeta@users.noreply.github.com> Date: Mon, 23 Feb 2026 16:34:27 +0100 Subject: [PATCH 215/248] Zeta SSP Analytics Adapter: pass floors. (#14350) * Zeta SSP Analytics Adapter: pass floors. * Zeta SSP Analytics Adapter: minor fix. * Zeta SSP Analytics Adapter: fix tests. --- modules/zeta_global_sspAnalyticsAdapter.js | 85 ++++++++++---- .../zeta_global_sspAnalyticsAdapter_spec.js | 104 +++++++++++++----- 2 files changed, 139 insertions(+), 50 deletions(-) diff --git a/modules/zeta_global_sspAnalyticsAdapter.js b/modules/zeta_global_sspAnalyticsAdapter.js index ed4971d39a7..46e7f9d5951 100644 --- a/modules/zeta_global_sspAnalyticsAdapter.js +++ b/modules/zeta_global_sspAnalyticsAdapter.js @@ -6,6 +6,7 @@ import {EVENTS} from '../src/constants.js'; import adapter from '../libraries/analyticsAdapter/AnalyticsAdapter.js'; import {config} from '../src/config.js'; import {parseDomain} from '../src/refererDetection.js'; +import {BANNER, VIDEO} from "../src/mediaTypes.js"; const ZETA_GVL_ID = 833; const ADAPTER_CODE = 'zeta_global_ssp'; @@ -40,12 +41,14 @@ function adRenderSucceededHandler(args) { auctionId: args.bid?.auctionId, creativeId: args.bid?.creativeId, bidder: args.bid?.bidderCode, + dspId: args.bid?.dspId, mediaType: args.bid?.mediaType, size: args.bid?.size, adomain: args.bid?.adserverTargeting?.hb_adomain, timeToRespond: args.bid?.timeToRespond, cpm: args.bid?.cpm, - adUnitCode: args.bid?.adUnitCode + adUnitCode: args.bid?.adUnitCode, + floorData: args.bid?.floorData }, device: { ua: navigator.userAgent @@ -61,15 +64,35 @@ function auctionEndHandler(args) { bidderCode: br?.bidderCode, domain: br?.refererInfo?.domain, page: br?.refererInfo?.page, - bids: br?.bids?.map(b => ({ - bidId: b?.bidId, - auctionId: b?.auctionId, - bidder: b?.bidder, - mediaType: b?.mediaTypes?.video ? 'VIDEO' : (b?.mediaTypes?.banner ? 'BANNER' : undefined), - size: b?.sizes?.filter(s => s && s.length === 2).filter(s => Number.isInteger(s[0]) && Number.isInteger(s[1])).map(s => s[0] + 'x' + s[1]).find(s => s), - device: b?.ortb2?.device, - adUnitCode: b?.adUnitCode - })) + bids: br?.bids?.map(b => { + const mediaType = b?.mediaTypes?.video ? VIDEO : (b?.mediaTypes?.banner ? BANNER : undefined); + let floor; + if (typeof b?.getFloor === 'function') { + try { + const floorInfo = b.getFloor({ + currency: 'USD', + mediaType: mediaType, + size: '*' + }); + if (floorInfo && !isNaN(parseFloat(floorInfo.floor))) { + floor = parseFloat(floorInfo.floor); + } + } catch (e) { + // ignore floor lookup errors + } + } + + return { + bidId: b?.bidId, + auctionId: b?.auctionId, + bidder: b?.bidder, + mediaType: mediaType, + sizes: b?.sizes, + device: b?.ortb2?.device, + adUnitCode: b?.adUnitCode, + floor: floor + }; + }) })), bidsReceived: args.bidsReceived?.map(br => ({ adId: br?.adId, @@ -81,7 +104,8 @@ function auctionEndHandler(args) { adomain: br?.adserverTargeting?.hb_adomain, timeToRespond: br?.timeToRespond, cpm: br?.cpm, - adUnitCode: br?.adUnitCode + adUnitCode: br?.adUnitCode, + dspId: br?.dspId })) } sendEvent(EVENTS.AUCTION_END, event); @@ -92,16 +116,35 @@ function bidTimeoutHandler(args) { zetaParams: zetaParams, domain: args.find(t => t?.ortb2?.site?.domain)?.ortb2?.site?.domain, page: args.find(t => t?.ortb2?.site?.page)?.ortb2?.site?.page, - timeouts: args.map(t => ({ - bidId: t?.bidId, - auctionId: t?.auctionId, - bidder: t?.bidder, - mediaType: t?.mediaTypes?.video ? 'VIDEO' : (t?.mediaTypes?.banner ? 'BANNER' : undefined), - size: t?.sizes?.filter(s => s && s.length === 2).filter(s => Number.isInteger(s[0]) && Number.isInteger(s[1])).map(s => s[0] + 'x' + s[1]).find(s => s), - timeout: t?.timeout, - device: t?.ortb2?.device, - adUnitCode: t?.adUnitCode - })) + timeouts: args.map(t => { + const mediaType = t?.mediaTypes?.video ? VIDEO : (t?.mediaTypes?.banner ? BANNER : undefined); + let floor; + if (typeof t?.getFloor === 'function') { + try { + const floorInfo = t.getFloor({ + currency: 'USD', + mediaType: mediaType, + size: '*' + }); + if (floorInfo && !isNaN(parseFloat(floorInfo.floor))) { + floor = parseFloat(floorInfo.floor); + } + } catch (e) { + // ignore floor lookup errors + } + } + return { + bidId: t?.bidId, + auctionId: t?.auctionId, + bidder: t?.bidder, + mediaType: mediaType, + sizes: t?.sizes, + timeout: t?.timeout, + device: t?.ortb2?.device, + adUnitCode: t?.adUnitCode, + floor: floor + } + }) } sendEvent(EVENTS.BID_TIMEOUT, event); } diff --git a/test/spec/modules/zeta_global_sspAnalyticsAdapter_spec.js b/test/spec/modules/zeta_global_sspAnalyticsAdapter_spec.js index 6e55083338f..d3e6e01c655 100644 --- a/test/spec/modules/zeta_global_sspAnalyticsAdapter_spec.js +++ b/test/spec/modules/zeta_global_sspAnalyticsAdapter_spec.js @@ -1,8 +1,7 @@ import zetaAnalyticsAdapter from 'modules/zeta_global_sspAnalyticsAdapter.js'; -import {config} from 'src/config'; -import {EVENTS} from 'src/constants.js'; -import {server} from '../../mocks/xhr.js'; -import {logError} from '../../../src/utils.js'; +import { config } from 'src/config'; +import { EVENTS } from 'src/constants.js'; +import { server } from '../../mocks/xhr.js'; const utils = require('src/utils'); const events = require('src/events'); @@ -112,6 +111,9 @@ const SAMPLE_EVENTS = { 'device': { 'mobile': 1 } + }, + 'getFloor': function() { + return { floor: 1.5, currency: 'USD' }; } } ], @@ -178,6 +180,9 @@ const SAMPLE_EVENTS = { 'device': { 'mobile': 1 } + }, + 'getFloor': function() { + return { floor: 1.5, currency: 'USD' }; } } ], @@ -275,6 +280,7 @@ const SAMPLE_EVENTS = { 'pbDg': '2.25', 'pbCg': '', 'size': '480x320', + 'dspId': 'test-dsp-id-123', 'adserverTargeting': { 'hb_bidder': 'zeta_global_ssp', 'hb_adid': '5759bb3ef7be1e8', @@ -337,6 +343,7 @@ const SAMPLE_EVENTS = { 'adUnitCode': '/19968336/header-bid-tag-0', 'timeToRespond': 123, 'size': '480x320', + 'dspId': 'test-dsp-id-123', 'adserverTargeting': { 'hb_bidder': 'zeta_global_ssp', 'hb_adid': '5759bb3ef7be1e8', @@ -351,7 +358,12 @@ const SAMPLE_EVENTS = { { 'nonZetaParam': 'nonZetaValue' } - ] + ], + 'floorData': { + 'floorValue': 1.5, + 'floorCurrency': 'USD', + 'floorRule': 'test-rule' + } }, 'adId': '5759bb3ef7be1e8' }, @@ -435,7 +447,10 @@ const SAMPLE_EVENTS = { } } }, - 'timeout': 3 + 'timeout': 3, + 'getFloor': function() { + return { floor: 0.75, currency: 'USD' }; + } }, { 'bidder': 'zeta_global_ssp', @@ -516,7 +531,10 @@ const SAMPLE_EVENTS = { } } }, - 'timeout': 3 + 'timeout': 3, + 'getFloor': function() { + return { floor: 0.75, currency: 'USD' }; + } } ] } @@ -562,14 +580,10 @@ describe('Zeta Global SSP Analytics Adapter', function () { zetaAnalyticsAdapter.disableAnalytics(); }); - it('Handle events', function () { - this.timeout(3000); - + it('should handle AUCTION_END event', function () { events.emit(EVENTS.AUCTION_END, SAMPLE_EVENTS.AUCTION_END); - events.emit(EVENTS.AD_RENDER_SUCCEEDED, SAMPLE_EVENTS.AD_RENDER_SUCCEEDED); - events.emit(EVENTS.BID_TIMEOUT, SAMPLE_EVENTS.BID_TIMEOUT); - expect(requests.length).to.equal(3); + expect(requests.length).to.equal(1); const auctionEnd = JSON.parse(requests[0].requestBody); expect(auctionEnd).to.be.deep.equal({ zetaParams: {sid: 111, tags: {position: 'top', shortname: 'name'}}, @@ -582,11 +596,15 @@ describe('Zeta Global SSP Analytics Adapter', function () { bidId: '206be9a13236af', auctionId: '75e394d9', bidder: 'zeta_global_ssp', - mediaType: 'BANNER', - size: '300x250', + mediaType: 'banner', + sizes: [ + [300, 250], + [300, 600] + ], device: { mobile: 1 - } + }, + floor: 1.5 }] }, { bidderCode: 'appnexus', @@ -597,11 +615,15 @@ describe('Zeta Global SSP Analytics Adapter', function () { bidId: '41badc0e164c758', auctionId: '75e394d9', bidder: 'appnexus', - mediaType: 'BANNER', - size: '300x250', + mediaType: 'banner', + sizes: [ + [300, 250], + [300, 600] + ], device: { mobile: 1 - } + }, + floor: 1.5 }] }], bidsReceived: [{ @@ -614,10 +636,17 @@ describe('Zeta Global SSP Analytics Adapter', function () { size: '480x320', adomain: 'example.adomain', timeToRespond: 123, - cpm: 2.258302852806723 + cpm: 2.258302852806723, + dspId: 'test-dsp-id-123' }] }); - const auctionSucceeded = JSON.parse(requests[1].requestBody); + }); + + it('should handle AD_RENDER_SUCCEEDED event', function () { + events.emit(EVENTS.AD_RENDER_SUCCEEDED, SAMPLE_EVENTS.AD_RENDER_SUCCEEDED); + + expect(requests.length).to.equal(1); + const auctionSucceeded = JSON.parse(requests[0].requestBody); expect(auctionSucceeded.zetaParams).to.be.deep.equal({ sid: 111, tags: { @@ -634,15 +663,26 @@ describe('Zeta Global SSP Analytics Adapter', function () { auctionId: '75e394d9', creativeId: '456456456', bidder: 'zeta_global_ssp', + dspId: 'test-dsp-id-123', mediaType: 'banner', size: '480x320', adomain: 'example.adomain', timeToRespond: 123, - cpm: 2.258302852806723 + cpm: 2.258302852806723, + floorData: { + floorValue: 1.5, + floorCurrency: 'USD', + floorRule: 'test-rule' + } }); expect(auctionSucceeded.device.ua).to.not.be.empty; + }); + + it('should handle BID_TIMEOUT event', function () { + events.emit(EVENTS.BID_TIMEOUT, SAMPLE_EVENTS.BID_TIMEOUT); - const bidTimeout = JSON.parse(requests[2].requestBody); + expect(requests.length).to.equal(1); + const bidTimeout = JSON.parse(requests[0].requestBody); expect(bidTimeout.zetaParams).to.be.deep.equal({ sid: 111, tags: { @@ -656,8 +696,10 @@ describe('Zeta Global SSP Analytics Adapter', function () { 'bidId': '27c8c05823e2f', 'auctionId': 'fa9ef841-bcb9-401f-96ad-03a94ac64e63', 'bidder': 'zeta_global_ssp', - 'mediaType': 'BANNER', - 'size': '300x250', + 'mediaType': 'banner', + 'sizes': [ + [300, 250] + ], 'timeout': 3, 'device': { 'w': 807, @@ -675,13 +717,16 @@ describe('Zeta Global SSP Analytics Adapter', function () { 'mobile': 0 } }, - 'adUnitCode': 'ad-1' + 'adUnitCode': 'ad-1', + 'floor': 0.75 }, { 'bidId': '31a3b551cbf1ed', 'auctionId': 'fa9ef841-bcb9-401f-96ad-03a94ac64e63', 'bidder': 'zeta_global_ssp', - 'mediaType': 'BANNER', - 'size': '300x250', + 'mediaType': 'banner', + 'sizes': [ + [300, 250] + ], 'timeout': 3, 'device': { 'w': 807, @@ -699,7 +744,8 @@ describe('Zeta Global SSP Analytics Adapter', function () { 'mobile': 0 } }, - 'adUnitCode': 'ad-2' + 'adUnitCode': 'ad-2', + 'floor': 0.75 }]); }); }); From b69b8faf1ad2160f79065ba980e43a127084012c Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Mon, 23 Feb 2026 08:08:27 -0800 Subject: [PATCH 216/248] Revert "Various modules: remove legacy GPT targeting fallbacks (#14450)" (#14510) This reverts commit 299f20742da2c832cf3f0eaeceb9ee60a043c5a1. --- modules/imRtdProvider.js | 2 +- modules/intentIqIdSystem.js | 4 +- modules/medianetAnalyticsAdapter.js | 7 +-- modules/pubxaiAnalyticsAdapter.js | 7 ++- modules/reconciliationRtdProvider.js | 7 ++- modules/relaidoBidAdapter.js | 10 ++-- modules/relevadRtdProvider.js | 2 +- modules/sirdataRtdProvider.js | 2 +- src/secureCreatives.js | 8 +-- src/targeting.ts | 3 +- src/targeting/lock.ts | 3 +- test/spec/integration/faker/googletag.js | 23 -------- test/spec/modules/intentIqIdSystem_spec.js | 17 ++++-- .../modules/reconciliationRtdProvider_spec.js | 52 ++++--------------- test/spec/unit/core/targetingLock_spec.js | 4 +- test/spec/unit/pbjs_api_spec.js | 36 ------------- test/spec/unit/secureCreatives_spec.js | 1 - 17 files changed, 46 insertions(+), 142 deletions(-) diff --git a/modules/imRtdProvider.js b/modules/imRtdProvider.js index 6577f6311be..46573a81c15 100644 --- a/modules/imRtdProvider.js +++ b/modules/imRtdProvider.js @@ -115,7 +115,7 @@ export function setRealTimeData(bidConfig, moduleConfig, data) { window.googletag = window.googletag || {cmd: []}; window.googletag.cmd = window.googletag.cmd || []; window.googletag.cmd.push(() => { - window.googletag.setConfig({targeting: {'im_segments': segments}}); + window.googletag.pubads().setTargeting('im_segments', segments); }); } } diff --git a/modules/intentIqIdSystem.js b/modules/intentIqIdSystem.js index f684a46b17e..054afe82371 100644 --- a/modules/intentIqIdSystem.js +++ b/modules/intentIqIdSystem.js @@ -208,7 +208,9 @@ export function setGamReporting(gamObjectReference, gamParameterName, userGroup, if (isBlacklisted) return; if (isPlainObject(gamObjectReference) && gamObjectReference.cmd) { gamObjectReference.cmd.push(() => { - gamObjectReference.setConfig({targeting: {[gamParameterName]: userGroup}}); + gamObjectReference + .pubads() + .setTargeting(gamParameterName, userGroup); }); } } diff --git a/modules/medianetAnalyticsAdapter.js b/modules/medianetAnalyticsAdapter.js index 969a988b053..734e2120b7b 100644 --- a/modules/medianetAnalyticsAdapter.js +++ b/modules/medianetAnalyticsAdapter.js @@ -556,12 +556,9 @@ function setupSlotResponseReceivedListener() { mnetGlobals.infoByAdIdMap[adId].srrEvt = slotInf; }; - const targeting = slot.getConfig('targeting'); - const targetingKeys = Object.keys(targeting); - - targetingKeys + slot.getTargetingKeys() .filter((key) => key.startsWith(TARGETING_KEYS.AD_ID)) - .forEach((key) => setSlotResponseInf(targeting[key][0])); + .forEach((key) => setSlotResponseInf(slot.getTargeting(key)[0])); }); }); } diff --git a/modules/pubxaiAnalyticsAdapter.js b/modules/pubxaiAnalyticsAdapter.js index d4587476d0c..b2f9af247f6 100644 --- a/modules/pubxaiAnalyticsAdapter.js +++ b/modules/pubxaiAnalyticsAdapter.js @@ -98,16 +98,15 @@ export const auctionCache = new Proxy( const getAdServerDataForBid = (bid) => { const gptSlot = getGptSlotForAdUnitCode(bid); if (gptSlot) { - const targeting = gptSlot.getConfig('targeting'); - const targetingKeys = Object.keys(targeting); return Object.fromEntries( - targetingKeys + gptSlot + .getTargetingKeys() .filter( (key) => key.startsWith('pubx-') || (key.startsWith('hb_') && (key.match(/_/g) || []).length === 1) ) - .map((key) => [key, targeting[key]]) + .map((key) => [key, gptSlot.getTargeting(key)]) ); } return {}; // TODO: support more ad servers diff --git a/modules/reconciliationRtdProvider.js b/modules/reconciliationRtdProvider.js index b4c75fece57..46486923c0a 100644 --- a/modules/reconciliationRtdProvider.js +++ b/modules/reconciliationRtdProvider.js @@ -64,10 +64,9 @@ function handleAdMessage(e) { // 3. Get AdUnit IDs for the selected slot if (adSlot) { adUnitId = adSlot.getAdUnitPath(); - const targetingConfig = adSlot.getConfig('targeting') || {}; - const rsdkAdId = targetingConfig.RSDK_ADID; - adDeliveryId = Array.isArray(rsdkAdId) && rsdkAdId.length - ? rsdkAdId[0] + adDeliveryId = adSlot.getTargeting('RSDK_ADID'); + adDeliveryId = adDeliveryId.length + ? adDeliveryId[0] : `${timestamp()}-${generateUUID()}`; } } diff --git a/modules/relaidoBidAdapter.js b/modules/relaidoBidAdapter.js index 1a1105992a4..1ef3be58798 100644 --- a/modules/relaidoBidAdapter.js +++ b/modules/relaidoBidAdapter.js @@ -369,19 +369,17 @@ function getTargeting(bidRequest) { const targetings = {}; const pubads = getPubads(); if (pubads) { - const pubadsTargeting = window.googletag.getConfig('targeting'); - const keys = Object.keys(pubadsTargeting); + const keys = pubads.getTargetingKeys(); for (const key of keys) { - const values = pubadsTargeting[key]; + const values = pubads.getTargeting(key); targetings[key] = values; } } const adUnitSlot = getAdUnit(bidRequest.adUnitCode); if (adUnitSlot) { - const slotTargeting = adUnitSlot.getConfig('targeting'); - const keys = Object.keys(slotTargeting); + const keys = adUnitSlot.getTargetingKeys(); for (const key of keys) { - const values = slotTargeting[key]; + const values = adUnitSlot.getTargeting(key); targetings[key] = values; } } diff --git a/modules/relevadRtdProvider.js b/modules/relevadRtdProvider.js index e10a7afd368..41b2ee797e5 100644 --- a/modules/relevadRtdProvider.js +++ b/modules/relevadRtdProvider.js @@ -231,7 +231,7 @@ export function addRtdData(reqBids, data, moduleConfig) { if (window.googletag && window.googletag.pubads && (typeof window.googletag.pubads === 'function')) { window.googletag.pubads().getSlots().forEach(function (n) { if (typeof n.setTargeting !== 'undefined' && relevadList && relevadList.length > 0) { - n.setConfig({targeting: {'relevad_rtd': relevadList}}); + n.setTargeting('relevad_rtd', relevadList); } }); } diff --git a/modules/sirdataRtdProvider.js b/modules/sirdataRtdProvider.js index 81c75692fde..77c6f939a95 100644 --- a/modules/sirdataRtdProvider.js +++ b/modules/sirdataRtdProvider.js @@ -674,7 +674,7 @@ export function addSegmentData(reqBids, data, adUnits, onDone) { window.googletag.cmd.push(() => { window.googletag.pubads().getSlots().forEach(slot => { if (typeof slot.setTargeting !== 'undefined' && sirdataMergedList.length > 0) { - slot.setConfig({targeting: {'sd_rtd': sirdataMergedList}}); + slot.setTargeting('sd_rtd', sirdataMergedList); } }); }); diff --git a/src/secureCreatives.js b/src/secureCreatives.js index da53770dc2e..8233c373d1a 100644 --- a/src/secureCreatives.js +++ b/src/secureCreatives.js @@ -212,12 +212,8 @@ export function resizeRemoteCreative({instl, adId, adUnitCode, width, height}) { function getDfpElementId(adId) { const slot = window.googletag.pubads().getSlots().find(slot => { - const targetingMap = slot.getConfig('targeting'); - const keys = Object.keys(targetingMap); - - return keys.find(key => { - const values = targetingMap[key]; - return values.includes(adId); + return slot.getTargetingKeys().find(key => { + return slot.getTargeting(key).includes(adId); }); }); return slot ? slot.getSlotElementId() : null; diff --git a/src/targeting.ts b/src/targeting.ts index fa1f2035799..477ddaab7f0 100644 --- a/src/targeting.ts +++ b/src/targeting.ts @@ -324,8 +324,7 @@ export function newTargeting(auctionManager) { targetingSet[targetId][key] = value; }); logMessage(`Attempting to set targeting-map for slot: ${slot.getSlotElementId()} with targeting-map:`, targetingSet[targetId]); - const targetingMap = Object.assign({}, resetMap, targetingSet[targetId]); - slot.setConfig({targeting: targetingMap} as any); + slot.updateTargetingFromMap(Object.assign({}, resetMap, targetingSet[targetId])) lock.lock(targetingSet[targetId]); }) }) diff --git a/src/targeting/lock.ts b/src/targeting/lock.ts index c3c26d12607..f59d7f1d890 100644 --- a/src/targeting/lock.ts +++ b/src/targeting/lock.ts @@ -45,8 +45,7 @@ export function targetingLock() { const [setupGpt, tearDownGpt] = (() => { let enabled = false; function onGptRender({slot}: SlotRenderEndedEvent) { - const targeting = (slot as any).getConfig('targeting'); - keys?.forEach(key => targeting[key]?.forEach(locked.delete)); + keys?.forEach(key => slot.getTargeting(key)?.forEach(locked.delete)); } return [ () => { diff --git a/test/spec/integration/faker/googletag.js b/test/spec/integration/faker/googletag.js index 4060040b902..a8676b500a5 100644 --- a/test/spec/integration/faker/googletag.js +++ b/test/spec/integration/faker/googletag.js @@ -29,18 +29,6 @@ var Slot = function Slot({ code, divId }) { return []; }, - getConfig: function getConfig(key) { - if (key === 'targeting') { - return this.targeting; - } - }, - - setConfig: function setConfig(config) { - if (config?.targeting) { - this.targeting = config.targeting; - } - }, - clearTargeting: function clearTargeting() { return window.googletag.pubads().getSlots(); } @@ -64,18 +52,7 @@ export function enable() { _slots: [], _callbackMap: {}, _ppid: undefined, - _targeting: {}, cmd: [], - getConfig: function (key) { - if (key === 'targeting') { - return this._targeting; - } - }, - setConfig: function (config) { - if (config?.targeting) { - Object.assign(this._targeting, config.targeting); - } - }, pubads: function () { var self = this; return { diff --git a/test/spec/modules/intentIqIdSystem_spec.js b/test/spec/modules/intentIqIdSystem_spec.js index 5a991b80474..18dd0452943 100644 --- a/test/spec/modules/intentIqIdSystem_spec.js +++ b/test/spec/modules/intentIqIdSystem_spec.js @@ -109,9 +109,6 @@ const mockGAM = () => { const targetingObject = {}; return { cmd: [], - setConfig: ({targeting}) => { - Object.assign(targetingObject, targeting); - }, pubads: () => ({ setTargeting: (key, value) => { targetingObject[key] = value; @@ -363,7 +360,17 @@ describe('IntentIQ tests', function () { const expectedGamParameterName = 'intent_iq_group'; defaultConfigParams.params.abPercentage = 0; // "B" provided percentage by user - const setConfigSpy = sinon.spy(mockGamObject, 'setConfig'); + const originalPubads = mockGamObject.pubads; + const setTargetingSpy = sinon.spy(); + mockGamObject.pubads = function () { + const obj = { ...originalPubads.apply(this, arguments) }; + const originalSetTargeting = obj.setTargeting; + obj.setTargeting = function (...args) { + setTargetingSpy(...args); + return originalSetTargeting.apply(this, args); + }; + return obj; + }; defaultConfigParams.params.gamObjectReference = mockGamObject; @@ -387,7 +394,7 @@ describe('IntentIQ tests', function () { expect(request.url).to.contain('https://api.intentiq.com/profiles_engine/ProfilesEngineServlet?at=39'); expect(groupBeforeResponse).to.deep.equal([WITHOUT_IIQ]); expect(groupAfterResponse).to.deep.equal([WITH_IIQ]); - expect(setConfigSpy.calledTwice).to.be.true; + expect(setTargetingSpy.calledTwice).to.be.true; }); it('should set GAM targeting to B when server tc=41', async () => { diff --git a/test/spec/modules/reconciliationRtdProvider_spec.js b/test/spec/modules/reconciliationRtdProvider_spec.js index c36af417564..6efe55ddf46 100644 --- a/test/spec/modules/reconciliationRtdProvider_spec.js +++ b/test/spec/modules/reconciliationRtdProvider_spec.js @@ -163,13 +163,17 @@ describe('Reconciliation Real time data submodule', function () { document.body.appendChild(adSlotElement); const adSlot = makeSlot({code: '/reconciliationAdunit', divId: adSlotElement.id}); - adSlot.setConfig({ - targeting: { - RSDK_AUID: ['/reconciliationAdunit'], - RSDK_ADID: ['12345'] - } - }); + // Fix targeting methods + adSlot.targeting = {}; + adSlot.setTargeting = function(key, value) { + this.targeting[key] = [value]; + }; + adSlot.getTargeting = function(key) { + return this.targeting[key]; + }; + adSlot.setTargeting('RSDK_AUID', '/reconciliationAdunit'); + adSlot.setTargeting('RSDK_ADID', '12345'); adSlotIframe.contentDocument.open(); adSlotIframe.contentDocument.write(``); - adSlotIframe.contentDocument.close(); - - setTimeout(() => { - expect(trackPostStub.calledOnce).to.be.true; - expect(trackPostStub.getCalls()[0].args[1].adUnitId).to.eql('/reconciliationAdunit'); - expect(trackPostStub.getCalls()[0].args[1].adDeliveryId).to.match(/.+-.+/); - done(); - }, 100); - }); }); }); }); diff --git a/test/spec/unit/core/targetingLock_spec.js b/test/spec/unit/core/targetingLock_spec.js index 89ab7972845..b8e721259ca 100644 --- a/test/spec/unit/core/targetingLock_spec.js +++ b/test/spec/unit/core/targetingLock_spec.js @@ -98,9 +98,7 @@ describe('Targeting lock', () => { lock.lock(targeting); eventHandlers.slotRenderEnded({ slot: { - getConfig: sinon.stub().withArgs('targeting').returns({ - k1: [targeting.k1] - }) + getTargeting: (key) => [targeting[key]] } }); expect(lock.isLocked(targeting)).to.be.false; diff --git a/test/spec/unit/pbjs_api_spec.js b/test/spec/unit/pbjs_api_spec.js index 6e9955081b4..5939298765e 100644 --- a/test/spec/unit/pbjs_api_spec.js +++ b/test/spec/unit/pbjs_api_spec.js @@ -82,24 +82,6 @@ var Slot = function Slot(elementId, pathId) { return Object.getOwnPropertyNames(this.targeting); }, - getConfig: function getConfig(key) { - if (key === 'targeting') { - return this.targeting; - } - }, - - setConfig: function setConfig(config) { - if (config?.targeting) { - Object.keys(config.targeting).forEach((key) => { - if (config.targeting[key] == null) { - delete this.targeting[key]; - } else { - this.setTargeting(key, config.targeting[key]); - } - }); - } - }, - clearTargeting: function clearTargeting() { this.targeting = {}; return this; @@ -136,24 +118,6 @@ var createSlotArrayScenario2 = function createSlotArrayScenario2() { window.googletag = { _slots: [], _targeting: {}, - getConfig: function (key) { - if (key === 'targeting') { - return this._targeting; - } - }, - setConfig: function (config) { - if (config?.targeting) { - Object.keys(config.targeting).forEach((key) => { - if (config.targeting[key] == null) { - delete this._targeting[key]; - } else { - this._targeting[key] = Array.isArray(config.targeting[key]) - ? config.targeting[key] - : [config.targeting[key]]; - } - }); - } - }, pubads: function () { var self = this; return { diff --git a/test/spec/unit/secureCreatives_spec.js b/test/spec/unit/secureCreatives_spec.js index 509fb25140e..084341358b4 100644 --- a/test/spec/unit/secureCreatives_spec.js +++ b/test/spec/unit/secureCreatives_spec.js @@ -552,7 +552,6 @@ describe('secureCreatives', () => { value = Array.isArray(value) ? value : [value]; targeting[key] = value; }), - getConfig: sinon.stub().callsFake((key) => key === 'targeting' ? targeting : null), getTargetingKeys: sinon.stub().callsFake(() => Object.keys(targeting)), getTargeting: sinon.stub().callsFake((key) => targeting[key] || []) } From a5197e75d8f40212f3407e57ba81d039d0a687f1 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Mon, 23 Feb 2026 16:54:41 +0000 Subject: [PATCH 217/248] Prebid 10.26.0 release --- .../codeql/queries/autogen_fpDOMMethod.qll | 4 +- .../queries/autogen_fpEventProperty.qll | 16 ++-- .../queries/autogen_fpGlobalConstructor.qll | 10 +- .../autogen_fpGlobalObjectProperty0.qll | 54 +++++------ .../autogen_fpGlobalObjectProperty1.qll | 2 +- .../queries/autogen_fpGlobalTypeProperty0.qll | 6 +- .../queries/autogen_fpGlobalTypeProperty1.qll | 2 +- .../codeql/queries/autogen_fpGlobalVar.qll | 18 ++-- .../autogen_fpRenderingContextProperty.qll | 30 +++--- .../queries/autogen_fpSensorProperty.qll | 2 +- metadata/modules.json | 56 +++++++++++ metadata/modules/33acrossBidAdapter.json | 2 +- metadata/modules/33acrossIdSystem.json | 2 +- metadata/modules/acuityadsBidAdapter.json | 2 +- metadata/modules/adagioBidAdapter.json | 2 +- metadata/modules/adagioRtdProvider.json | 2 +- metadata/modules/adbroBidAdapter.json | 2 +- metadata/modules/adclusterBidAdapter.json | 13 +++ metadata/modules/addefendBidAdapter.json | 2 +- metadata/modules/adfBidAdapter.json | 2 +- metadata/modules/adfusionBidAdapter.json | 2 +- metadata/modules/adheseBidAdapter.json | 2 +- metadata/modules/adipoloBidAdapter.json | 2 +- metadata/modules/adkernelAdnBidAdapter.json | 2 +- metadata/modules/adkernelBidAdapter.json | 10 +- metadata/modules/admaticBidAdapter.json | 11 ++- metadata/modules/admixerBidAdapter.json | 2 +- metadata/modules/admixerIdSystem.json | 2 +- metadata/modules/adnowBidAdapter.json | 2 +- metadata/modules/adnuntiusBidAdapter.json | 2 +- metadata/modules/adnuntiusRtdProvider.json | 2 +- metadata/modules/adoceanBidAdapter.json | 2 +- metadata/modules/adotBidAdapter.json | 2 +- metadata/modules/adponeBidAdapter.json | 2 +- metadata/modules/adqueryBidAdapter.json | 2 +- metadata/modules/adqueryIdSystem.json | 2 +- metadata/modules/adrinoBidAdapter.json | 2 +- .../modules/ads_interactiveBidAdapter.json | 2 +- metadata/modules/adtargetBidAdapter.json | 2 +- metadata/modules/adtelligentBidAdapter.json | 6 +- metadata/modules/adtelligentIdSystem.json | 2 +- metadata/modules/aduptechBidAdapter.json | 2 +- metadata/modules/adyoulikeBidAdapter.json | 2 +- metadata/modules/airgridRtdProvider.json | 2 +- metadata/modules/alkimiBidAdapter.json | 2 +- metadata/modules/allegroBidAdapter.json | 2 +- metadata/modules/amxBidAdapter.json | 2 +- metadata/modules/amxIdSystem.json | 2 +- metadata/modules/aniviewBidAdapter.json | 2 +- metadata/modules/anonymisedRtdProvider.json | 2 +- metadata/modules/appStockSSPBidAdapter.json | 2 +- metadata/modules/appierBidAdapter.json | 2 +- metadata/modules/appnexusBidAdapter.json | 8 +- metadata/modules/appushBidAdapter.json | 2 +- metadata/modules/apsBidAdapter.json | 2 +- metadata/modules/apstreamBidAdapter.json | 2 +- metadata/modules/audiencerunBidAdapter.json | 2 +- metadata/modules/axisBidAdapter.json | 2 +- metadata/modules/azerionedgeRtdProvider.json | 2 +- metadata/modules/beachfrontBidAdapter.json | 2 +- metadata/modules/beopBidAdapter.json | 2 +- metadata/modules/betweenBidAdapter.json | 2 +- metadata/modules/bidfuseBidAdapter.json | 2 +- metadata/modules/bidtheatreBidAdapter.json | 2 +- metadata/modules/bliinkBidAdapter.json | 2 +- metadata/modules/blockthroughBidAdapter.json | 2 +- metadata/modules/blueBidAdapter.json | 2 +- metadata/modules/bmsBidAdapter.json | 2 +- metadata/modules/boldwinBidAdapter.json | 2 +- metadata/modules/bridBidAdapter.json | 2 +- metadata/modules/browsiBidAdapter.json | 2 +- metadata/modules/bucksenseBidAdapter.json | 2 +- metadata/modules/carodaBidAdapter.json | 2 +- metadata/modules/categoryTranslation.json | 2 +- metadata/modules/ceeIdSystem.json | 2 +- metadata/modules/chromeAiRtdProvider.json | 2 +- metadata/modules/clickioBidAdapter.json | 2 +- metadata/modules/compassBidAdapter.json | 2 +- metadata/modules/conceptxBidAdapter.json | 2 +- metadata/modules/connatixBidAdapter.json | 2 +- metadata/modules/connectIdSystem.json | 2 +- metadata/modules/connectadBidAdapter.json | 2 +- .../modules/contentexchangeBidAdapter.json | 2 +- metadata/modules/conversantBidAdapter.json | 2 +- metadata/modules/copper6sspBidAdapter.json | 2 +- metadata/modules/cpmstarBidAdapter.json | 2 +- metadata/modules/criteoBidAdapter.json | 2 +- metadata/modules/criteoIdSystem.json | 2 +- metadata/modules/cwireBidAdapter.json | 2 +- metadata/modules/czechAdIdSystem.json | 2 +- metadata/modules/dailymotionBidAdapter.json | 2 +- metadata/modules/debugging.json | 2 +- metadata/modules/deepintentBidAdapter.json | 2 +- metadata/modules/defineMediaBidAdapter.json | 2 +- metadata/modules/deltaprojectsBidAdapter.json | 2 +- metadata/modules/dianomiBidAdapter.json | 2 +- metadata/modules/digitalMatterBidAdapter.json | 2 +- metadata/modules/distroscaleBidAdapter.json | 2 +- .../modules/docereeAdManagerBidAdapter.json | 2 +- metadata/modules/docereeBidAdapter.json | 2 +- metadata/modules/dspxBidAdapter.json | 2 +- metadata/modules/e_volutionBidAdapter.json | 2 +- metadata/modules/edge226BidAdapter.json | 2 +- metadata/modules/empowerBidAdapter.json | 2 +- metadata/modules/equativBidAdapter.json | 2 +- metadata/modules/eskimiBidAdapter.json | 2 +- metadata/modules/etargetBidAdapter.json | 2 +- metadata/modules/euidIdSystem.json | 2 +- metadata/modules/exadsBidAdapter.json | 2 +- metadata/modules/feedadBidAdapter.json | 2 +- metadata/modules/floxisBidAdapter.json | 13 +++ metadata/modules/fwsspBidAdapter.json | 2 +- metadata/modules/gemiusIdSystem.json | 2 +- metadata/modules/glomexBidAdapter.json | 2 +- metadata/modules/goldbachBidAdapter.json | 2 +- metadata/modules/gridBidAdapter.json | 2 +- metadata/modules/gumgumBidAdapter.json | 2 +- metadata/modules/hadronIdSystem.json | 2 +- metadata/modules/hadronRtdProvider.json | 2 +- metadata/modules/harionBidAdapter.json | 18 ++++ metadata/modules/holidBidAdapter.json | 2 +- metadata/modules/hybridBidAdapter.json | 2 +- metadata/modules/id5IdSystem.json | 2 +- metadata/modules/identityLinkIdSystem.json | 2 +- metadata/modules/illuminBidAdapter.json | 2 +- metadata/modules/impactifyBidAdapter.json | 2 +- .../modules/improvedigitalBidAdapter.json | 2 +- metadata/modules/inmobiBidAdapter.json | 2 +- metadata/modules/insticatorBidAdapter.json | 2 +- metadata/modules/insuradsBidAdapter.json | 45 +++++++++ metadata/modules/intentIqIdSystem.json | 2 +- metadata/modules/invibesBidAdapter.json | 2 +- metadata/modules/ipromBidAdapter.json | 2 +- metadata/modules/ixBidAdapter.json | 2 +- metadata/modules/justIdSystem.json | 2 +- metadata/modules/justpremiumBidAdapter.json | 2 +- metadata/modules/jwplayerBidAdapter.json | 2 +- metadata/modules/kargoBidAdapter.json | 2 +- metadata/modules/kueezRtbBidAdapter.json | 2 +- metadata/modules/leagueMBidAdapter.json | 13 +++ .../modules/limelightDigitalBidAdapter.json | 4 +- metadata/modules/liveIntentIdSystem.json | 2 +- metadata/modules/liveIntentRtdProvider.json | 2 +- metadata/modules/livewrappedBidAdapter.json | 2 +- metadata/modules/loopmeBidAdapter.json | 2 +- metadata/modules/lotamePanoramaIdSystem.json | 95 ++++++++++++++++++- metadata/modules/luponmediaBidAdapter.json | 2 +- metadata/modules/madvertiseBidAdapter.json | 2 +- metadata/modules/marsmediaBidAdapter.json | 2 +- .../modules/mediaConsortiumBidAdapter.json | 2 +- metadata/modules/mediaforceBidAdapter.json | 2 +- metadata/modules/mediafuseBidAdapter.json | 2 +- metadata/modules/mediagoBidAdapter.json | 2 +- metadata/modules/mediakeysBidAdapter.json | 2 +- metadata/modules/medianetBidAdapter.json | 4 +- metadata/modules/mediasquareBidAdapter.json | 2 +- metadata/modules/mgidBidAdapter.json | 2 +- metadata/modules/mgidRtdProvider.json | 2 +- metadata/modules/mgidXBidAdapter.json | 2 +- metadata/modules/minutemediaBidAdapter.json | 2 +- metadata/modules/missenaBidAdapter.json | 2 +- metadata/modules/mobianRtdProvider.json | 2 +- metadata/modules/mobkoiBidAdapter.json | 4 +- metadata/modules/mobkoiIdSystem.json | 4 +- metadata/modules/msftBidAdapter.json | 2 +- metadata/modules/nativeryBidAdapter.json | 2 +- metadata/modules/nativoBidAdapter.json | 2 +- metadata/modules/newspassidBidAdapter.json | 2 +- .../modules/nextMillenniumBidAdapter.json | 2 +- metadata/modules/nextrollBidAdapter.json | 2 +- metadata/modules/nexx360BidAdapter.json | 12 +-- metadata/modules/nobidBidAdapter.json | 2 +- metadata/modules/nodalsAiRtdProvider.json | 2 +- metadata/modules/novatiqIdSystem.json | 2 +- metadata/modules/oguryBidAdapter.json | 2 +- metadata/modules/omnidexBidAdapter.json | 2 +- metadata/modules/omsBidAdapter.json | 2 +- metadata/modules/onetagBidAdapter.json | 2 +- metadata/modules/openwebBidAdapter.json | 2 +- metadata/modules/openxBidAdapter.json | 2 +- metadata/modules/operaadsBidAdapter.json | 2 +- metadata/modules/optidigitalBidAdapter.json | 2 +- metadata/modules/optoutBidAdapter.json | 2 +- metadata/modules/orbidderBidAdapter.json | 2 +- metadata/modules/outbrainBidAdapter.json | 2 +- metadata/modules/ozoneBidAdapter.json | 2 +- metadata/modules/pairIdSystem.json | 2 +- metadata/modules/panxoBidAdapter.json | 2 +- metadata/modules/performaxBidAdapter.json | 2 +- .../permutiveIdentityManagerIdSystem.json | 2 +- metadata/modules/permutiveRtdProvider.json | 2 +- metadata/modules/pixfutureBidAdapter.json | 2 +- metadata/modules/playdigoBidAdapter.json | 2 +- metadata/modules/prebid-core.json | 4 +- metadata/modules/precisoBidAdapter.json | 2 +- metadata/modules/prismaBidAdapter.json | 2 +- metadata/modules/programmaticXBidAdapter.json | 2 +- metadata/modules/proxistoreBidAdapter.json | 2 +- metadata/modules/publinkIdSystem.json | 2 +- metadata/modules/pubmaticBidAdapter.json | 2 +- metadata/modules/pubmaticIdSystem.json | 2 +- metadata/modules/pulsepointBidAdapter.json | 2 +- metadata/modules/quantcastBidAdapter.json | 2 +- metadata/modules/quantcastIdSystem.json | 2 +- metadata/modules/r2b2BidAdapter.json | 2 +- metadata/modules/readpeakBidAdapter.json | 2 +- metadata/modules/relayBidAdapter.json | 2 +- .../modules/relevantdigitalBidAdapter.json | 2 +- metadata/modules/resetdigitalBidAdapter.json | 2 +- metadata/modules/responsiveAdsBidAdapter.json | 2 +- metadata/modules/revantageBidAdapter.json | 13 +++ metadata/modules/revcontentBidAdapter.json | 2 +- metadata/modules/revnewBidAdapter.json | 2 +- metadata/modules/rhythmoneBidAdapter.json | 2 +- metadata/modules/richaudienceBidAdapter.json | 2 +- metadata/modules/riseBidAdapter.json | 4 +- metadata/modules/rixengineBidAdapter.json | 2 +- metadata/modules/rtbhouseBidAdapter.json | 2 +- metadata/modules/rubiconBidAdapter.json | 2 +- metadata/modules/scaliburBidAdapter.json | 2 +- metadata/modules/screencoreBidAdapter.json | 2 +- .../modules/seedingAllianceBidAdapter.json | 2 +- metadata/modules/seedtagBidAdapter.json | 2 +- metadata/modules/semantiqRtdProvider.json | 2 +- metadata/modules/setupadBidAdapter.json | 2 +- metadata/modules/sevioBidAdapter.json | 2 +- metadata/modules/sharedIdSystem.json | 2 +- metadata/modules/sharethroughBidAdapter.json | 2 +- metadata/modules/showheroes-bsBidAdapter.json | 2 +- metadata/modules/silvermobBidAdapter.json | 2 +- metadata/modules/sirdataRtdProvider.json | 2 +- metadata/modules/smaatoBidAdapter.json | 2 +- metadata/modules/smartadserverBidAdapter.json | 2 +- metadata/modules/smartxBidAdapter.json | 2 +- metadata/modules/smartyadsBidAdapter.json | 2 +- metadata/modules/smilewantedBidAdapter.json | 2 +- metadata/modules/snigelBidAdapter.json | 2 +- metadata/modules/sonaradsBidAdapter.json | 2 +- metadata/modules/sonobiBidAdapter.json | 2 +- metadata/modules/sovrnBidAdapter.json | 2 +- metadata/modules/sparteoBidAdapter.json | 2 +- metadata/modules/ssmasBidAdapter.json | 2 +- metadata/modules/sspBCBidAdapter.json | 2 +- metadata/modules/stackadaptBidAdapter.json | 2 +- metadata/modules/startioBidAdapter.json | 2 +- metadata/modules/stroeerCoreBidAdapter.json | 2 +- metadata/modules/stvBidAdapter.json | 2 +- metadata/modules/sublimeBidAdapter.json | 2 +- metadata/modules/taboolaBidAdapter.json | 2 +- metadata/modules/taboolaIdSystem.json | 2 +- metadata/modules/tadvertisingBidAdapter.json | 2 +- metadata/modules/tappxBidAdapter.json | 2 +- metadata/modules/targetVideoBidAdapter.json | 2 +- metadata/modules/teadsBidAdapter.json | 2 +- metadata/modules/teadsIdSystem.json | 2 +- metadata/modules/tealBidAdapter.json | 2 +- metadata/modules/tncIdSystem.json | 2 +- metadata/modules/topicsFpdModule.json | 2 +- metadata/modules/toponBidAdapter.json | 2 +- metadata/modules/tripleliftBidAdapter.json | 2 +- metadata/modules/ttdBidAdapter.json | 2 +- metadata/modules/twistDigitalBidAdapter.json | 2 +- metadata/modules/underdogmediaBidAdapter.json | 2 +- metadata/modules/undertoneBidAdapter.json | 2 +- metadata/modules/unifiedIdSystem.json | 2 +- metadata/modules/unrulyBidAdapter.json | 2 +- metadata/modules/userId.json | 2 +- metadata/modules/utiqIdSystem.json | 2 +- metadata/modules/utiqMtpIdSystem.json | 2 +- metadata/modules/validationFpdModule.json | 2 +- metadata/modules/valuadBidAdapter.json | 2 +- metadata/modules/verbenBidAdapter.json | 13 +++ metadata/modules/vidazooBidAdapter.json | 2 +- metadata/modules/vidoomyBidAdapter.json | 2 +- metadata/modules/viouslyBidAdapter.json | 2 +- metadata/modules/visxBidAdapter.json | 2 +- metadata/modules/vlybyBidAdapter.json | 2 +- metadata/modules/voxBidAdapter.json | 2 +- metadata/modules/vrtcalBidAdapter.json | 2 +- metadata/modules/vuukleBidAdapter.json | 2 +- metadata/modules/weboramaRtdProvider.json | 2 +- metadata/modules/welectBidAdapter.json | 2 +- metadata/modules/yahooAdsBidAdapter.json | 2 +- metadata/modules/yaleoBidAdapter.json | 2 +- metadata/modules/yieldlabBidAdapter.json | 2 +- metadata/modules/yieldloveBidAdapter.json | 2 +- metadata/modules/yieldmoBidAdapter.json | 2 +- metadata/modules/zeotapIdPlusIdSystem.json | 2 +- metadata/modules/zeta_globalBidAdapter.json | 2 +- .../modules/zeta_global_sspBidAdapter.json | 2 +- package-lock.json | 33 ++++--- package.json | 2 +- 292 files changed, 667 insertions(+), 382 deletions(-) create mode 100644 metadata/modules/adclusterBidAdapter.json create mode 100644 metadata/modules/floxisBidAdapter.json create mode 100644 metadata/modules/harionBidAdapter.json create mode 100644 metadata/modules/insuradsBidAdapter.json create mode 100644 metadata/modules/leagueMBidAdapter.json create mode 100644 metadata/modules/revantageBidAdapter.json create mode 100644 metadata/modules/verbenBidAdapter.json diff --git a/.github/codeql/queries/autogen_fpDOMMethod.qll b/.github/codeql/queries/autogen_fpDOMMethod.qll index 61555d5852f..164a699e97b 100644 --- a/.github/codeql/queries/autogen_fpDOMMethod.qll +++ b/.github/codeql/queries/autogen_fpDOMMethod.qll @@ -7,9 +7,9 @@ class DOMMethod extends string { DOMMethod() { - ( this = "toDataURL" and weight = 32.78 and type = "HTMLCanvasElement" ) + ( this = "toDataURL" and weight = 32.64 and type = "HTMLCanvasElement" ) or - ( this = "getChannelData" and weight = 1033.52 and type = "AudioBuffer" ) + ( this = "getChannelData" and weight = 1009.41 and type = "AudioBuffer" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpEventProperty.qll b/.github/codeql/queries/autogen_fpEventProperty.qll index a102dc216aa..25ecd018f0f 100644 --- a/.github/codeql/queries/autogen_fpEventProperty.qll +++ b/.github/codeql/queries/autogen_fpEventProperty.qll @@ -7,21 +7,21 @@ class EventProperty extends string { EventProperty() { - ( this = "accelerationIncludingGravity" and weight = 195.95 and event = "devicemotion" ) + ( this = "candidate" and weight = 54.73 and event = "icecandidate" ) or - ( this = "beta" and weight = 889.02 and event = "deviceorientation" ) + ( this = "rotationRate" and weight = 63.55 and event = "devicemotion" ) or - ( this = "gamma" and weight = 318.9 and event = "deviceorientation" ) + ( this = "accelerationIncludingGravity" and weight = 205.08 and event = "devicemotion" ) or - ( this = "alpha" and weight = 748.66 and event = "deviceorientation" ) + ( this = "acceleration" and weight = 64.53 and event = "devicemotion" ) or - ( this = "candidate" and weight = 48.4 and event = "icecandidate" ) + ( this = "alpha" and weight = 784.67 and event = "deviceorientation" ) or - ( this = "acceleration" and weight = 59.13 and event = "devicemotion" ) + ( this = "beta" and weight = 801.42 and event = "deviceorientation" ) or - ( this = "rotationRate" and weight = 58.73 and event = "devicemotion" ) + ( this = "gamma" and weight = 300.01 and event = "deviceorientation" ) or - ( this = "absolute" and weight = 480.46 and event = "deviceorientation" ) + ( this = "absolute" and weight = 281.45 and event = "deviceorientation" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalConstructor.qll b/.github/codeql/queries/autogen_fpGlobalConstructor.qll index 1bd3776448a..8feceaae940 100644 --- a/.github/codeql/queries/autogen_fpGlobalConstructor.qll +++ b/.github/codeql/queries/autogen_fpGlobalConstructor.qll @@ -6,15 +6,15 @@ class GlobalConstructor extends string { GlobalConstructor() { - ( this = "OfflineAudioContext" and weight = 1249.69 ) + ( this = "SharedWorker" and weight = 74.12 ) or - ( this = "SharedWorker" and weight = 78.96 ) + ( this = "OfflineAudioContext" and weight = 1062.83 ) or - ( this = "RTCPeerConnection" and weight = 36.22 ) + ( this = "RTCPeerConnection" and weight = 36.17 ) or - ( this = "Gyroscope" and weight = 94.31 ) + ( this = "Gyroscope" and weight = 100.27 ) or - ( this = "AudioWorkletNode" and weight = 106.77 ) + ( this = "AudioWorkletNode" and weight = 145.12 ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll b/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll index 622b4097377..19489a50149 100644 --- a/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll +++ b/.github/codeql/queries/autogen_fpGlobalObjectProperty0.qll @@ -7,59 +7,57 @@ class GlobalObjectProperty0 extends string { GlobalObjectProperty0() { - ( this = "availWidth" and weight = 62.91 and global0 = "screen" ) + ( this = "availHeight" and weight = 65.33 and global0 = "screen" ) or - ( this = "availHeight" and weight = 66.51 and global0 = "screen" ) + ( this = "availWidth" and weight = 61.95 and global0 = "screen" ) or - ( this = "colorDepth" and weight = 36.87 and global0 = "screen" ) + ( this = "colorDepth" and weight = 38.5 and global0 = "screen" ) or - ( this = "pixelDepth" and weight = 43.1 and global0 = "screen" ) + ( this = "availTop" and weight = 1305.37 and global0 = "screen" ) or - ( this = "availLeft" and weight = 730.43 and global0 = "screen" ) + ( this = "plugins" and weight = 15.16 and global0 = "navigator" ) or - ( this = "availTop" and weight = 1485.89 and global0 = "screen" ) + ( this = "deviceMemory" and weight = 64.15 and global0 = "navigator" ) or - ( this = "orientation" and weight = 33.81 and global0 = "screen" ) + ( this = "getBattery" and weight = 41.16 and global0 = "navigator" ) or - ( this = "vendorSub" and weight = 1822.98 and global0 = "navigator" ) + ( this = "webdriver" and weight = 27.64 and global0 = "navigator" ) or - ( this = "productSub" and weight = 381.55 and global0 = "navigator" ) + ( this = "permission" and weight = 24.67 and global0 = "Notification" ) or - ( this = "plugins" and weight = 15.37 and global0 = "navigator" ) + ( this = "storage" and weight = 35.77 and global0 = "navigator" ) or - ( this = "mimeTypes" and weight = 15.39 and global0 = "navigator" ) + ( this = "onLine" and weight = 18.84 and global0 = "navigator" ) or - ( this = "webkitTemporaryStorage" and weight = 32.87 and global0 = "navigator" ) + ( this = "pixelDepth" and weight = 45.77 and global0 = "screen" ) or - ( this = "hardwareConcurrency" and weight = 55.54 and global0 = "navigator" ) + ( this = "availLeft" and weight = 624.44 and global0 = "screen" ) or - ( this = "appCodeName" and weight = 167.7 and global0 = "navigator" ) + ( this = "orientation" and weight = 34.16 and global0 = "screen" ) or - ( this = "onLine" and weight = 18.14 and global0 = "navigator" ) + ( this = "vendorSub" and weight = 1873.27 and global0 = "navigator" ) or - ( this = "webdriver" and weight = 28.99 and global0 = "navigator" ) + ( this = "productSub" and weight = 381.87 and global0 = "navigator" ) or - ( this = "keyboard" and weight = 5673.26 and global0 = "navigator" ) + ( this = "webkitTemporaryStorage" and weight = 37.97 and global0 = "navigator" ) or - ( this = "mediaDevices" and weight = 123.32 and global0 = "navigator" ) + ( this = "hardwareConcurrency" and weight = 51.78 and global0 = "navigator" ) or - ( this = "storage" and weight = 30.23 and global0 = "navigator" ) + ( this = "appCodeName" and weight = 173.35 and global0 = "navigator" ) or - ( this = "deviceMemory" and weight = 62.29 and global0 = "navigator" ) + ( this = "keyboard" and weight = 1722.82 and global0 = "navigator" ) or - ( this = "mediaCapabilities" and weight = 148.31 and global0 = "navigator" ) + ( this = "mediaDevices" and weight = 149.07 and global0 = "navigator" ) or - ( this = "permissions" and weight = 92.01 and global0 = "navigator" ) + ( this = "mediaCapabilities" and weight = 142.34 and global0 = "navigator" ) or - ( this = "permission" and weight = 25.87 and global0 = "Notification" ) + ( this = "permissions" and weight = 89.71 and global0 = "navigator" ) or - ( this = "getBattery" and weight = 40.45 and global0 = "navigator" ) + ( this = "webkitPersistentStorage" and weight = 134.12 and global0 = "navigator" ) or - ( this = "webkitPersistentStorage" and weight = 121.43 and global0 = "navigator" ) + ( this = "requestMediaKeySystemAccess" and weight = 18.22 and global0 = "navigator" ) or - ( this = "requestMediaKeySystemAccess" and weight = 22.53 and global0 = "navigator" ) - or - ( this = "getGamepads" and weight = 275.28 and global0 = "navigator" ) + ( this = "getGamepads" and weight = 209.55 and global0 = "navigator" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll b/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll index 3be175f2c11..4ba664c998f 100644 --- a/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll +++ b/.github/codeql/queries/autogen_fpGlobalObjectProperty1.qll @@ -8,7 +8,7 @@ class GlobalObjectProperty1 extends string { GlobalObjectProperty1() { - ( this = "enumerateDevices" and weight = 361.7 and global0 = "navigator" and global1 = "mediaDevices" ) + ( this = "enumerateDevices" and weight = 595.56 and global0 = "navigator" and global1 = "mediaDevices" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll b/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll index 489d3f0f3ae..b26e3689251 100644 --- a/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll +++ b/.github/codeql/queries/autogen_fpGlobalTypeProperty0.qll @@ -7,11 +7,11 @@ class GlobalTypeProperty0 extends string { GlobalTypeProperty0() { - ( this = "x" and weight = 5673.26 and global0 = "Gyroscope" ) + ( this = "x" and weight = 4255.55 and global0 = "Gyroscope" ) or - ( this = "y" and weight = 5673.26 and global0 = "Gyroscope" ) + ( this = "y" and weight = 4255.55 and global0 = "Gyroscope" ) or - ( this = "z" and weight = 5673.26 and global0 = "Gyroscope" ) + ( this = "z" and weight = 4255.55 and global0 = "Gyroscope" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll b/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll index 2f290d30132..084e91305b6 100644 --- a/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll +++ b/.github/codeql/queries/autogen_fpGlobalTypeProperty1.qll @@ -8,7 +8,7 @@ class GlobalTypeProperty1 extends string { GlobalTypeProperty1() { - ( this = "resolvedOptions" and weight = 18.94 and global0 = "Intl" and global1 = "DateTimeFormat" ) + ( this = "resolvedOptions" and weight = 19.01 and global0 = "Intl" and global1 = "DateTimeFormat" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpGlobalVar.qll b/.github/codeql/queries/autogen_fpGlobalVar.qll index debc39522ee..a28f1c7772c 100644 --- a/.github/codeql/queries/autogen_fpGlobalVar.qll +++ b/.github/codeql/queries/autogen_fpGlobalVar.qll @@ -6,23 +6,23 @@ class GlobalVar extends string { GlobalVar() { - ( this = "devicePixelRatio" and weight = 18.84 ) + ( this = "devicePixelRatio" and weight = 18.39 ) or - ( this = "outerWidth" and weight = 104.3 ) + ( this = "screenX" and weight = 366.36 ) or - ( this = "outerHeight" and weight = 177.3 ) + ( this = "screenY" and weight = 320.66 ) or - ( this = "indexedDB" and weight = 21.68 ) + ( this = "outerWidth" and weight = 104.67 ) or - ( this = "screenX" and weight = 411.93 ) + ( this = "outerHeight" and weight = 154.1 ) or - ( this = "screenY" and weight = 369.99 ) + ( this = "screenLeft" and weight = 321.49 ) or - ( this = "screenLeft" and weight = 344.06 ) + ( this = "screenTop" and weight = 322.32 ) or - ( this = "screenTop" and weight = 343.13 ) + ( this = "indexedDB" and weight = 23.36 ) or - ( this = "openDatabase" and weight = 128.91 ) + ( this = "openDatabase" and weight = 146.11 ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpRenderingContextProperty.qll b/.github/codeql/queries/autogen_fpRenderingContextProperty.qll index 1f23b1a5057..e508d42520b 100644 --- a/.github/codeql/queries/autogen_fpRenderingContextProperty.qll +++ b/.github/codeql/queries/autogen_fpRenderingContextProperty.qll @@ -7,35 +7,35 @@ class RenderingContextProperty extends string { RenderingContextProperty() { - ( this = "getImageData" and weight = 55.51 and contextType = "2d" ) + ( this = "getExtension" and weight = 24.59 and contextType = "webgl" ) or - ( this = "getParameter" and weight = 30.58 and contextType = "webgl" ) + ( this = "getParameter" and weight = 28.11 and contextType = "webgl" ) or - ( this = "measureText" and weight = 46.82 and contextType = "2d" ) + ( this = "getImageData" and weight = 62.25 and contextType = "2d" ) or - ( this = "getParameter" and weight = 70.22 and contextType = "webgl2" ) + ( this = "measureText" and weight = 43.06 and contextType = "2d" ) or - ( this = "getShaderPrecisionFormat" and weight = 128.74 and contextType = "webgl2" ) + ( this = "getParameter" and weight = 67.61 and contextType = "webgl2" ) or - ( this = "getExtension" and weight = 71.78 and contextType = "webgl2" ) + ( this = "getShaderPrecisionFormat" and weight = 138.74 and contextType = "webgl2" ) or - ( this = "getContextAttributes" and weight = 190.28 and contextType = "webgl2" ) + ( this = "getExtension" and weight = 69.66 and contextType = "webgl2" ) or - ( this = "getSupportedExtensions" and weight = 560.85 and contextType = "webgl2" ) + ( this = "getContextAttributes" and weight = 201.04 and contextType = "webgl2" ) or - ( this = "getExtension" and weight = 26.27 and contextType = "webgl" ) + ( this = "getSupportedExtensions" and weight = 360.36 and contextType = "webgl2" ) or - ( this = "getShaderPrecisionFormat" and weight = 1175.17 and contextType = "webgl" ) + ( this = "readPixels" and weight = 24.33 and contextType = "webgl" ) or - ( this = "getContextAttributes" and weight = 1998.53 and contextType = "webgl" ) + ( this = "getShaderPrecisionFormat" and weight = 1347.35 and contextType = "webgl" ) or - ( this = "getSupportedExtensions" and weight = 1388.64 and contextType = "webgl" ) + ( this = "getContextAttributes" and weight = 2411.38 and contextType = "webgl" ) or - ( this = "readPixels" and weight = 22.43 and contextType = "webgl" ) + ( this = "getSupportedExtensions" and weight = 1484.82 and contextType = "webgl" ) or - ( this = "isPointInPath" and weight = 5210.68 and contextType = "2d" ) + ( this = "isPointInPath" and weight = 4255.55 and contextType = "2d" ) or - ( this = "readPixels" and weight = 610.19 and contextType = "webgl2" ) + ( this = "readPixels" and weight = 1004.16 and contextType = "webgl2" ) } float getWeight() { diff --git a/.github/codeql/queries/autogen_fpSensorProperty.qll b/.github/codeql/queries/autogen_fpSensorProperty.qll index 74bf3e4f988..bfc5c329068 100644 --- a/.github/codeql/queries/autogen_fpSensorProperty.qll +++ b/.github/codeql/queries/autogen_fpSensorProperty.qll @@ -6,7 +6,7 @@ class SensorProperty extends string { SensorProperty() { - ( this = "start" and weight = 92.53 ) + ( this = "start" and weight = 105.54 ) } float getWeight() { diff --git a/metadata/modules.json b/metadata/modules.json index 6040fedcd66..ed326efe85d 100644 --- a/metadata/modules.json +++ b/metadata/modules.json @@ -106,6 +106,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "adcluster", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "addefend", @@ -575,6 +582,13 @@ "gvlid": 779, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "adrubi", + "aliasOf": "admatic", + "gvlid": 779, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "yobee", @@ -2297,6 +2311,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "floxis", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "fluct", @@ -2486,6 +2507,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "harion", + "aliasOf": null, + "gvlid": 1406, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "holid", @@ -2591,6 +2619,13 @@ "gvlid": 910, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "insurads", + "aliasOf": null, + "gvlid": 596, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "integr8", @@ -2745,6 +2780,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "leagueM", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "lemmadigital", @@ -3984,6 +4026,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "revantage", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "revcontent", @@ -4768,6 +4817,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "verben", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "viant", diff --git a/metadata/modules/33acrossBidAdapter.json b/metadata/modules/33acrossBidAdapter.json index 6b45e117a54..4b610a461c3 100644 --- a/metadata/modules/33acrossBidAdapter.json +++ b/metadata/modules/33acrossBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2026-02-12T16:01:21.045Z", + "timestamp": "2026-02-23T16:45:39.806Z", "disclosures": [] } }, diff --git a/metadata/modules/33acrossIdSystem.json b/metadata/modules/33acrossIdSystem.json index d132e4c8ce6..0ce2459449b 100644 --- a/metadata/modules/33acrossIdSystem.json +++ b/metadata/modules/33acrossIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2026-02-12T16:01:21.129Z", + "timestamp": "2026-02-23T16:45:39.909Z", "disclosures": [] } }, diff --git a/metadata/modules/acuityadsBidAdapter.json b/metadata/modules/acuityadsBidAdapter.json index 7e2ecfaf0aa..7b98e95a50d 100644 --- a/metadata/modules/acuityadsBidAdapter.json +++ b/metadata/modules/acuityadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.acuityads.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:01:21.131Z", + "timestamp": "2026-02-23T16:45:39.911Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioBidAdapter.json b/metadata/modules/adagioBidAdapter.json index 76d4597f2e0..92c90104c38 100644 --- a/metadata/modules/adagioBidAdapter.json +++ b/metadata/modules/adagioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:01:21.165Z", + "timestamp": "2026-02-23T16:45:39.945Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioRtdProvider.json b/metadata/modules/adagioRtdProvider.json index a3d401fe5fe..7c93f685dc4 100644 --- a/metadata/modules/adagioRtdProvider.json +++ b/metadata/modules/adagioRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:01:21.235Z", + "timestamp": "2026-02-23T16:45:40.036Z", "disclosures": [] } }, diff --git a/metadata/modules/adbroBidAdapter.json b/metadata/modules/adbroBidAdapter.json index ede1de11239..a6dcdef0b1c 100644 --- a/metadata/modules/adbroBidAdapter.json +++ b/metadata/modules/adbroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tag.adbro.me/privacy/devicestorage.json": { - "timestamp": "2026-02-12T16:01:21.235Z", + "timestamp": "2026-02-23T16:45:40.036Z", "disclosures": [] } }, diff --git a/metadata/modules/adclusterBidAdapter.json b/metadata/modules/adclusterBidAdapter.json new file mode 100644 index 00000000000..72d44231bb6 --- /dev/null +++ b/metadata/modules/adclusterBidAdapter.json @@ -0,0 +1,13 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": {}, + "components": [ + { + "componentType": "bidder", + "componentName": "adcluster", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + } + ] +} \ No newline at end of file diff --git a/metadata/modules/addefendBidAdapter.json b/metadata/modules/addefendBidAdapter.json index 833ced84879..df69a9d5540 100644 --- a/metadata/modules/addefendBidAdapter.json +++ b/metadata/modules/addefendBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.addefend.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:01:21.528Z", + "timestamp": "2026-02-23T16:45:40.351Z", "disclosures": [] } }, diff --git a/metadata/modules/adfBidAdapter.json b/metadata/modules/adfBidAdapter.json index ee585e4e1d2..ab8a61481e8 100644 --- a/metadata/modules/adfBidAdapter.json +++ b/metadata/modules/adfBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://site.adform.com/assets/devicestorage.json": { - "timestamp": "2026-02-12T16:01:22.179Z", + "timestamp": "2026-02-23T16:45:41.307Z", "disclosures": [] } }, diff --git a/metadata/modules/adfusionBidAdapter.json b/metadata/modules/adfusionBidAdapter.json index 3e61c86c500..668b5b6c97a 100644 --- a/metadata/modules/adfusionBidAdapter.json +++ b/metadata/modules/adfusionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spicyrtb.com/static/iab-disclosure.json": { - "timestamp": "2026-02-12T16:01:22.179Z", + "timestamp": "2026-02-23T16:45:41.308Z", "disclosures": [] } }, diff --git a/metadata/modules/adheseBidAdapter.json b/metadata/modules/adheseBidAdapter.json index f940e855d92..092ee382d70 100644 --- a/metadata/modules/adheseBidAdapter.json +++ b/metadata/modules/adheseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adhese.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:01:22.535Z", + "timestamp": "2026-02-23T16:45:41.663Z", "disclosures": [] } }, diff --git a/metadata/modules/adipoloBidAdapter.json b/metadata/modules/adipoloBidAdapter.json index 6c4231222ae..036a1961d11 100644 --- a/metadata/modules/adipoloBidAdapter.json +++ b/metadata/modules/adipoloBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adipolo.com/device_storage_disclosure.json": { - "timestamp": "2026-02-06T14:30:27.081Z", + "timestamp": "2026-02-23T16:45:41.943Z", "disclosures": [] } }, diff --git a/metadata/modules/adkernelAdnBidAdapter.json b/metadata/modules/adkernelAdnBidAdapter.json index b0735f2d02c..b0b98e5cb55 100644 --- a/metadata/modules/adkernelAdnBidAdapter.json +++ b/metadata/modules/adkernelAdnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:24.306Z", + "timestamp": "2026-02-23T16:45:42.098Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", diff --git a/metadata/modules/adkernelBidAdapter.json b/metadata/modules/adkernelBidAdapter.json index 699b609b82c..959d9b275e9 100644 --- a/metadata/modules/adkernelBidAdapter.json +++ b/metadata/modules/adkernelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:24.365Z", + "timestamp": "2026-02-23T16:45:42.136Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", @@ -17,19 +17,19 @@ ] }, "https://data.converge-digital.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:24.365Z", + "timestamp": "2026-02-23T16:45:42.136Z", "disclosures": [] }, "https://spinx.biz/tcf-spinx.json": { - "timestamp": "2026-02-12T16:02:24.405Z", + "timestamp": "2026-02-23T16:45:42.198Z", "disclosures": [] }, "https://gdpr.memob.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:25.119Z", + "timestamp": "2026-02-23T16:45:42.896Z", "disclosures": [] }, "https://appmonsta.ai/DeviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:02:25.139Z", + "timestamp": "2026-02-23T16:45:42.917Z", "disclosures": [] } }, diff --git a/metadata/modules/admaticBidAdapter.json b/metadata/modules/admaticBidAdapter.json index 65efb208dab..e2473a7371a 100644 --- a/metadata/modules/admaticBidAdapter.json +++ b/metadata/modules/admaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.admatic.de/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2026-02-12T16:02:27.007Z", + "timestamp": "2026-02-23T16:45:43.437Z", "disclosures": [ { "identifier": "px_pbjs", @@ -12,7 +12,7 @@ ] }, "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:26.382Z", + "timestamp": "2026-02-23T16:45:43.437Z", "disclosures": [ { "identifier": "adt_pbjs", @@ -65,6 +65,13 @@ "gvlid": 779, "disclosureURL": "https://adtarget.com.tr/.well-known/deviceStorage.json" }, + { + "componentType": "bidder", + "componentName": "adrubi", + "aliasOf": "admatic", + "gvlid": 779, + "disclosureURL": "https://adtarget.com.tr/.well-known/deviceStorage.json" + }, { "componentType": "bidder", "componentName": "yobee", diff --git a/metadata/modules/admixerBidAdapter.json b/metadata/modules/admixerBidAdapter.json index e4e03a255c2..0f2f9e230e4 100644 --- a/metadata/modules/admixerBidAdapter.json +++ b/metadata/modules/admixerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2026-02-12T16:02:27.008Z", + "timestamp": "2026-02-23T16:45:43.438Z", "disclosures": [] } }, diff --git a/metadata/modules/admixerIdSystem.json b/metadata/modules/admixerIdSystem.json index 7fbc4ee3566..6b14f9eb08b 100644 --- a/metadata/modules/admixerIdSystem.json +++ b/metadata/modules/admixerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2026-02-12T16:02:27.393Z", + "timestamp": "2026-02-23T16:45:43.822Z", "disclosures": [] } }, diff --git a/metadata/modules/adnowBidAdapter.json b/metadata/modules/adnowBidAdapter.json index f8ca11154ef..7dea0044c43 100644 --- a/metadata/modules/adnowBidAdapter.json +++ b/metadata/modules/adnowBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adnow.com/vdsod.json": { - "timestamp": "2026-02-12T16:02:27.393Z", + "timestamp": "2026-02-23T16:45:43.822Z", "disclosures": [ { "identifier": "SC_unique_*", diff --git a/metadata/modules/adnuntiusBidAdapter.json b/metadata/modules/adnuntiusBidAdapter.json index add99b58b5d..1f3b4f7666c 100644 --- a/metadata/modules/adnuntiusBidAdapter.json +++ b/metadata/modules/adnuntiusBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:27.629Z", + "timestamp": "2026-02-23T16:45:44.057Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adnuntiusRtdProvider.json b/metadata/modules/adnuntiusRtdProvider.json index 113c9ae2ff2..39503071928 100644 --- a/metadata/modules/adnuntiusRtdProvider.json +++ b/metadata/modules/adnuntiusRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:27.943Z", + "timestamp": "2026-02-23T16:45:44.386Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adoceanBidAdapter.json b/metadata/modules/adoceanBidAdapter.json index a08f919d96d..1aa5c4d8b9d 100644 --- a/metadata/modules/adoceanBidAdapter.json +++ b/metadata/modules/adoceanBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2026-02-12T16:02:27.943Z", + "timestamp": "2026-02-23T16:45:44.386Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/adotBidAdapter.json b/metadata/modules/adotBidAdapter.json index 485bca89b63..abfdb8fd8a0 100644 --- a/metadata/modules/adotBidAdapter.json +++ b/metadata/modules/adotBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.adotmob.com/tcf/tcf.json": { - "timestamp": "2026-02-12T16:02:28.385Z", + "timestamp": "2026-02-23T16:45:44.944Z", "disclosures": [] } }, diff --git a/metadata/modules/adponeBidAdapter.json b/metadata/modules/adponeBidAdapter.json index f0d44894055..fb09981c236 100644 --- a/metadata/modules/adponeBidAdapter.json +++ b/metadata/modules/adponeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.adpone.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:28.420Z", + "timestamp": "2026-02-23T16:45:44.982Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryBidAdapter.json b/metadata/modules/adqueryBidAdapter.json index f0f50dd336c..481d7d8641f 100644 --- a/metadata/modules/adqueryBidAdapter.json +++ b/metadata/modules/adqueryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2026-02-12T16:02:28.442Z", + "timestamp": "2026-02-23T16:45:45.005Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryIdSystem.json b/metadata/modules/adqueryIdSystem.json index cc3c8ebcdc9..856d53a7cc3 100644 --- a/metadata/modules/adqueryIdSystem.json +++ b/metadata/modules/adqueryIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2026-02-12T16:02:28.771Z", + "timestamp": "2026-02-23T16:45:45.339Z", "disclosures": [] } }, diff --git a/metadata/modules/adrinoBidAdapter.json b/metadata/modules/adrinoBidAdapter.json index 7c4868198ae..53fabc3f2ac 100644 --- a/metadata/modules/adrinoBidAdapter.json +++ b/metadata/modules/adrinoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.adrino.cloud/iab/device-storage.json": { - "timestamp": "2026-02-12T16:02:28.771Z", + "timestamp": "2026-02-23T16:45:45.339Z", "disclosures": [] } }, diff --git a/metadata/modules/ads_interactiveBidAdapter.json b/metadata/modules/ads_interactiveBidAdapter.json index 0dff5161e3d..647a9890f50 100644 --- a/metadata/modules/ads_interactiveBidAdapter.json +++ b/metadata/modules/ads_interactiveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adsinteractive.com/vendor.json": { - "timestamp": "2026-02-12T16:02:28.818Z", + "timestamp": "2026-02-23T16:45:45.472Z", "disclosures": [] } }, diff --git a/metadata/modules/adtargetBidAdapter.json b/metadata/modules/adtargetBidAdapter.json index 001aa2a7f51..2f48665cbf8 100644 --- a/metadata/modules/adtargetBidAdapter.json +++ b/metadata/modules/adtargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:29.106Z", + "timestamp": "2026-02-23T16:45:45.991Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/adtelligentBidAdapter.json b/metadata/modules/adtelligentBidAdapter.json index 6e0fbeb92f5..b35112b9b94 100644 --- a/metadata/modules/adtelligentBidAdapter.json +++ b/metadata/modules/adtelligentBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:29.107Z", + "timestamp": "2026-02-23T16:45:45.991Z", "disclosures": [] }, "https://www.selectmedia.asia/gdpr/devicestorage.json": { - "timestamp": "2026-02-12T16:02:29.126Z", + "timestamp": "2026-02-23T16:45:46.006Z", "disclosures": [ { "identifier": "waterFallCacheAnsKey_*", @@ -81,7 +81,7 @@ ] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2026-02-12T16:02:29.264Z", + "timestamp": "2026-02-23T16:45:46.157Z", "disclosures": [] } }, diff --git a/metadata/modules/adtelligentIdSystem.json b/metadata/modules/adtelligentIdSystem.json index 455ad975236..13229a05a8a 100644 --- a/metadata/modules/adtelligentIdSystem.json +++ b/metadata/modules/adtelligentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:29.327Z", + "timestamp": "2026-02-23T16:45:46.235Z", "disclosures": [] } }, diff --git a/metadata/modules/aduptechBidAdapter.json b/metadata/modules/aduptechBidAdapter.json index 3531e290667..5920e80f15a 100644 --- a/metadata/modules/aduptechBidAdapter.json +++ b/metadata/modules/aduptechBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.d.adup-tech.com/gdpr/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:29.328Z", + "timestamp": "2026-02-23T16:45:46.235Z", "disclosures": [] } }, diff --git a/metadata/modules/adyoulikeBidAdapter.json b/metadata/modules/adyoulikeBidAdapter.json index eb03744a92b..87844aa07e8 100644 --- a/metadata/modules/adyoulikeBidAdapter.json +++ b/metadata/modules/adyoulikeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adyoulike.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-02-12T16:02:29.344Z", + "timestamp": "2026-02-23T16:45:46.253Z", "disclosures": [] } }, diff --git a/metadata/modules/airgridRtdProvider.json b/metadata/modules/airgridRtdProvider.json index da7f96629b9..de1bb8ebb1a 100644 --- a/metadata/modules/airgridRtdProvider.json +++ b/metadata/modules/airgridRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.wearemiq.com/privacy-and-compliance/devicestoragedisclosures.json": { - "timestamp": "2026-02-12T16:02:29.835Z", + "timestamp": "2026-02-23T16:45:46.717Z", "disclosures": [] } }, diff --git a/metadata/modules/alkimiBidAdapter.json b/metadata/modules/alkimiBidAdapter.json index 1095f525817..cd39fe92629 100644 --- a/metadata/modules/alkimiBidAdapter.json +++ b/metadata/modules/alkimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d1xjh92lb8fey3.cloudfront.net/tcf/alkimi_exchange_tcf.json": { - "timestamp": "2026-02-12T16:02:29.872Z", + "timestamp": "2026-02-23T16:45:46.745Z", "disclosures": [] } }, diff --git a/metadata/modules/allegroBidAdapter.json b/metadata/modules/allegroBidAdapter.json index e598d7c4933..09be6ca136f 100644 --- a/metadata/modules/allegroBidAdapter.json +++ b/metadata/modules/allegroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.allegrostatic.com/dsp-tcf-external/device-storage.json": { - "timestamp": "2026-02-12T16:02:30.160Z", + "timestamp": "2026-02-23T16:45:47.028Z", "disclosures": [] } }, diff --git a/metadata/modules/amxBidAdapter.json b/metadata/modules/amxBidAdapter.json index ef1ecf75a2c..2a860a2aaba 100644 --- a/metadata/modules/amxBidAdapter.json +++ b/metadata/modules/amxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2026-02-12T16:02:30.497Z", + "timestamp": "2026-02-23T16:45:47.485Z", "disclosures": [] } }, diff --git a/metadata/modules/amxIdSystem.json b/metadata/modules/amxIdSystem.json index 0dad1a537b8..7b6aafe01dd 100644 --- a/metadata/modules/amxIdSystem.json +++ b/metadata/modules/amxIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2026-02-12T16:02:30.697Z", + "timestamp": "2026-02-23T16:45:47.524Z", "disclosures": [] } }, diff --git a/metadata/modules/aniviewBidAdapter.json b/metadata/modules/aniviewBidAdapter.json index be7ed16896f..b8deecd8258 100644 --- a/metadata/modules/aniviewBidAdapter.json +++ b/metadata/modules/aniviewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.aniview.com/gdpr/gdpr.json": { - "timestamp": "2026-02-12T16:02:30.697Z", + "timestamp": "2026-02-23T16:45:47.524Z", "disclosures": [ { "identifier": "av_*", diff --git a/metadata/modules/anonymisedRtdProvider.json b/metadata/modules/anonymisedRtdProvider.json index 5ac6c462286..8260cbedc78 100644 --- a/metadata/modules/anonymisedRtdProvider.json +++ b/metadata/modules/anonymisedRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn1.anonymised.io/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:30.857Z", + "timestamp": "2026-02-23T16:45:47.614Z", "disclosures": [ { "identifier": "oidc.user*", diff --git a/metadata/modules/appStockSSPBidAdapter.json b/metadata/modules/appStockSSPBidAdapter.json index 5cfb1c756bf..4cca97a2c61 100644 --- a/metadata/modules/appStockSSPBidAdapter.json +++ b/metadata/modules/appStockSSPBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://app-stock.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:31.124Z", + "timestamp": "2026-02-23T16:45:47.819Z", "disclosures": [] } }, diff --git a/metadata/modules/appierBidAdapter.json b/metadata/modules/appierBidAdapter.json index 7bd5d6a37b0..59823893662 100644 --- a/metadata/modules/appierBidAdapter.json +++ b/metadata/modules/appierBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.appier.com/deviceStorage2025.json": { - "timestamp": "2026-02-12T16:02:31.149Z", + "timestamp": "2026-02-23T16:45:47.845Z", "disclosures": [ { "identifier": "_atrk_ssid", diff --git a/metadata/modules/appnexusBidAdapter.json b/metadata/modules/appnexusBidAdapter.json index eb1dc56263c..575475e3f1d 100644 --- a/metadata/modules/appnexusBidAdapter.json +++ b/metadata/modules/appnexusBidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-02-12T16:02:31.741Z", + "timestamp": "2026-02-23T16:45:48.607Z", "disclosures": [] }, "https://beintoo-support.b-cdn.net/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:31.253Z", + "timestamp": "2026-02-23T16:45:48.018Z", "disclosures": [] }, "https://projectagora.net/1032_deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:02:31.267Z", + "timestamp": "2026-02-23T16:45:48.146Z", "disclosures": [] }, "https://adzymic.com/tcf.json": { - "timestamp": "2026-02-12T16:02:31.741Z", + "timestamp": "2026-02-23T16:45:48.607Z", "disclosures": [] } }, diff --git a/metadata/modules/appushBidAdapter.json b/metadata/modules/appushBidAdapter.json index 8bf8b136a69..f08a1d0abc5 100644 --- a/metadata/modules/appushBidAdapter.json +++ b/metadata/modules/appushBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.thebiding.com/disclosures.json": { - "timestamp": "2026-02-06T14:30:35.522Z", + "timestamp": "2026-02-23T16:45:48.625Z", "disclosures": [] } }, diff --git a/metadata/modules/apsBidAdapter.json b/metadata/modules/apsBidAdapter.json index e952350795e..c5f467eb5b9 100644 --- a/metadata/modules/apsBidAdapter.json +++ b/metadata/modules/apsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://m.media-amazon.com/images/G/01/adprefs/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:02:34.413Z", + "timestamp": "2026-02-23T16:45:48.698Z", "disclosures": [ { "identifier": "vendor-id", diff --git a/metadata/modules/apstreamBidAdapter.json b/metadata/modules/apstreamBidAdapter.json index f079f9c51e2..51abe574f23 100644 --- a/metadata/modules/apstreamBidAdapter.json +++ b/metadata/modules/apstreamBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sak.userreport.com/tcf.json": { - "timestamp": "2026-02-12T16:02:34.492Z", + "timestamp": "2026-02-23T16:45:48.905Z", "disclosures": [ { "identifier": "apr_dsu", diff --git a/metadata/modules/audiencerunBidAdapter.json b/metadata/modules/audiencerunBidAdapter.json index d635f3e4a03..425d6c403b5 100644 --- a/metadata/modules/audiencerunBidAdapter.json +++ b/metadata/modules/audiencerunBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.audiencerun.com/tcf.json": { - "timestamp": "2026-02-12T16:02:34.539Z", + "timestamp": "2026-02-23T16:45:48.947Z", "disclosures": [] } }, diff --git a/metadata/modules/axisBidAdapter.json b/metadata/modules/axisBidAdapter.json index 121e4823898..3c7f723af4d 100644 --- a/metadata/modules/axisBidAdapter.json +++ b/metadata/modules/axisBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://axis-marketplace.com/tcf.json": { - "timestamp": "2026-02-12T16:02:34.590Z", + "timestamp": "2026-02-23T16:45:49.244Z", "disclosures": [] } }, diff --git a/metadata/modules/azerionedgeRtdProvider.json b/metadata/modules/azerionedgeRtdProvider.json index 96e58341aeb..7d4a7482075 100644 --- a/metadata/modules/azerionedgeRtdProvider.json +++ b/metadata/modules/azerionedgeRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2026-02-12T16:02:34.629Z", + "timestamp": "2026-02-23T16:45:49.284Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/beachfrontBidAdapter.json b/metadata/modules/beachfrontBidAdapter.json index 347041b1771..bca8af342af 100644 --- a/metadata/modules/beachfrontBidAdapter.json +++ b/metadata/modules/beachfrontBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2026-02-12T16:02:34.649Z", + "timestamp": "2026-02-23T16:45:49.309Z", "disclosures": [] } }, diff --git a/metadata/modules/beopBidAdapter.json b/metadata/modules/beopBidAdapter.json index 1ac67c45bb3..4abf52c58f3 100644 --- a/metadata/modules/beopBidAdapter.json +++ b/metadata/modules/beopBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://beop.io/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:34.770Z", + "timestamp": "2026-02-23T16:45:49.662Z", "disclosures": [] } }, diff --git a/metadata/modules/betweenBidAdapter.json b/metadata/modules/betweenBidAdapter.json index 3131d3f0280..7b7c771fb56 100644 --- a/metadata/modules/betweenBidAdapter.json +++ b/metadata/modules/betweenBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.betweenx.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:34.932Z", + "timestamp": "2026-02-23T16:45:49.787Z", "disclosures": [] } }, diff --git a/metadata/modules/bidfuseBidAdapter.json b/metadata/modules/bidfuseBidAdapter.json index e74a1ffac1d..8ec350d8e5f 100644 --- a/metadata/modules/bidfuseBidAdapter.json +++ b/metadata/modules/bidfuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidfuse.com/disclosure.json": { - "timestamp": "2026-02-12T16:02:35.044Z", + "timestamp": "2026-02-23T16:45:49.844Z", "disclosures": [] } }, diff --git a/metadata/modules/bidtheatreBidAdapter.json b/metadata/modules/bidtheatreBidAdapter.json index 835f6023ba9..28932b2ac27 100644 --- a/metadata/modules/bidtheatreBidAdapter.json +++ b/metadata/modules/bidtheatreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.bidtheatre.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:35.282Z", + "timestamp": "2026-02-23T16:45:50.078Z", "disclosures": [] } }, diff --git a/metadata/modules/bliinkBidAdapter.json b/metadata/modules/bliinkBidAdapter.json index 22dd0477647..a221774de81 100644 --- a/metadata/modules/bliinkBidAdapter.json +++ b/metadata/modules/bliinkBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bliink.io/disclosures.json": { - "timestamp": "2026-02-12T16:02:35.574Z", + "timestamp": "2026-02-23T16:45:50.372Z", "disclosures": [] } }, diff --git a/metadata/modules/blockthroughBidAdapter.json b/metadata/modules/blockthroughBidAdapter.json index c1fc7ab720b..6ca672e3894 100644 --- a/metadata/modules/blockthroughBidAdapter.json +++ b/metadata/modules/blockthroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://blockthrough.com/tcf_disclosures.json": { - "timestamp": "2026-02-12T16:02:35.919Z", + "timestamp": "2026-02-23T16:45:50.669Z", "disclosures": [ { "identifier": "BT_AA_DETECTION", diff --git a/metadata/modules/blueBidAdapter.json b/metadata/modules/blueBidAdapter.json index 6afd8f94190..08accddbd72 100644 --- a/metadata/modules/blueBidAdapter.json +++ b/metadata/modules/blueBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://getblue.io/iab/iab.json": { - "timestamp": "2026-02-12T16:02:36.114Z", + "timestamp": "2026-02-23T16:45:50.841Z", "disclosures": [] } }, diff --git a/metadata/modules/bmsBidAdapter.json b/metadata/modules/bmsBidAdapter.json index 3cd530e9e52..7d4f03a43f3 100644 --- a/metadata/modules/bmsBidAdapter.json +++ b/metadata/modules/bmsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bluems.com/iab.json": { - "timestamp": "2026-02-12T16:02:36.469Z", + "timestamp": "2026-02-23T16:45:51.242Z", "disclosures": [] } }, diff --git a/metadata/modules/boldwinBidAdapter.json b/metadata/modules/boldwinBidAdapter.json index 6eecd3713b1..b99fd90c052 100644 --- a/metadata/modules/boldwinBidAdapter.json +++ b/metadata/modules/boldwinBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://magav.videowalldirect.com/iab/videowalldirectiab.json": { - "timestamp": "2026-02-12T16:02:36.485Z", + "timestamp": "2026-02-23T16:45:51.273Z", "disclosures": [] } }, diff --git a/metadata/modules/bridBidAdapter.json b/metadata/modules/bridBidAdapter.json index 584c32aaed4..5e83165008b 100644 --- a/metadata/modules/bridBidAdapter.json +++ b/metadata/modules/bridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2026-02-12T16:02:36.505Z", + "timestamp": "2026-02-23T16:45:51.292Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/browsiBidAdapter.json b/metadata/modules/browsiBidAdapter.json index 75288b13c07..202ed38c166 100644 --- a/metadata/modules/browsiBidAdapter.json +++ b/metadata/modules/browsiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.browsiprod.com/ads/tcf.json": { - "timestamp": "2026-02-12T16:02:36.642Z", + "timestamp": "2026-02-23T16:45:51.438Z", "disclosures": [] } }, diff --git a/metadata/modules/bucksenseBidAdapter.json b/metadata/modules/bucksenseBidAdapter.json index 5362e0d7616..c63668fe614 100644 --- a/metadata/modules/bucksenseBidAdapter.json +++ b/metadata/modules/bucksenseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://j.bksnimages.com/iab/devsto02.json": { - "timestamp": "2026-02-12T16:02:36.724Z", + "timestamp": "2026-02-23T16:45:51.522Z", "disclosures": [] } }, diff --git a/metadata/modules/carodaBidAdapter.json b/metadata/modules/carodaBidAdapter.json index ba4b665569c..d87a42ad403 100644 --- a/metadata/modules/carodaBidAdapter.json +++ b/metadata/modules/carodaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn2.caroda.io/tcfvds/2022-05-17/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:36.802Z", + "timestamp": "2026-02-23T16:45:51.927Z", "disclosures": [] } }, diff --git a/metadata/modules/categoryTranslation.json b/metadata/modules/categoryTranslation.json index 63b7fa8dd17..3283b263af3 100644 --- a/metadata/modules/categoryTranslation.json +++ b/metadata/modules/categoryTranslation.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/categoryTranslation.json": { - "timestamp": "2026-02-12T16:01:21.043Z", + "timestamp": "2026-02-23T16:45:39.804Z", "disclosures": [ { "identifier": "iabToFwMappingkey", diff --git a/metadata/modules/ceeIdSystem.json b/metadata/modules/ceeIdSystem.json index 21d4f41a957..e64878ea4cb 100644 --- a/metadata/modules/ceeIdSystem.json +++ b/metadata/modules/ceeIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:37.113Z", + "timestamp": "2026-02-23T16:45:52.241Z", "disclosures": null } }, diff --git a/metadata/modules/chromeAiRtdProvider.json b/metadata/modules/chromeAiRtdProvider.json index 8b67521da78..53cb3b5385d 100644 --- a/metadata/modules/chromeAiRtdProvider.json +++ b/metadata/modules/chromeAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/chromeAiRtdProvider.json": { - "timestamp": "2026-02-12T16:02:37.432Z", + "timestamp": "2026-02-23T16:45:52.571Z", "disclosures": [ { "identifier": "chromeAi_detected_data", diff --git a/metadata/modules/clickioBidAdapter.json b/metadata/modules/clickioBidAdapter.json index c55807312c7..6d53c6e853b 100644 --- a/metadata/modules/clickioBidAdapter.json +++ b/metadata/modules/clickioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://o.clickiocdn.com/tcf_storage_info.json": { - "timestamp": "2026-02-12T16:02:37.433Z", + "timestamp": "2026-02-23T16:45:52.572Z", "disclosures": [] } }, diff --git a/metadata/modules/compassBidAdapter.json b/metadata/modules/compassBidAdapter.json index 28f73b8fc54..b244dc6ce23 100644 --- a/metadata/modules/compassBidAdapter.json +++ b/metadata/modules/compassBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-02-12T16:02:37.869Z", + "timestamp": "2026-02-23T16:45:52.988Z", "disclosures": [] } }, diff --git a/metadata/modules/conceptxBidAdapter.json b/metadata/modules/conceptxBidAdapter.json index 4120a3e79e8..18aafeda009 100644 --- a/metadata/modules/conceptxBidAdapter.json +++ b/metadata/modules/conceptxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cncptx.com/device_storage_disclosure.json": { - "timestamp": "2026-02-12T16:02:37.883Z", + "timestamp": "2026-02-23T16:45:53.004Z", "disclosures": [] } }, diff --git a/metadata/modules/connatixBidAdapter.json b/metadata/modules/connatixBidAdapter.json index 38ed5b48065..7683ce8538d 100644 --- a/metadata/modules/connatixBidAdapter.json +++ b/metadata/modules/connatixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://connatix.com/iab-tcf-disclosure.json": { - "timestamp": "2026-02-12T16:02:37.900Z", + "timestamp": "2026-02-23T16:45:53.031Z", "disclosures": [ { "identifier": "cnx_userId", diff --git a/metadata/modules/connectIdSystem.json b/metadata/modules/connectIdSystem.json index ca873f0a826..4a923ffa33f 100644 --- a/metadata/modules/connectIdSystem.json +++ b/metadata/modules/connectIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2026-02-12T16:02:37.979Z", + "timestamp": "2026-02-23T16:45:53.109Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/connectadBidAdapter.json b/metadata/modules/connectadBidAdapter.json index c634ba2b78d..a0d2b9aed0c 100644 --- a/metadata/modules/connectadBidAdapter.json +++ b/metadata/modules/connectadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.connectad.io/tcf_storage_info.json": { - "timestamp": "2026-02-12T16:02:38.131Z", + "timestamp": "2026-02-23T16:45:53.187Z", "disclosures": [] } }, diff --git a/metadata/modules/contentexchangeBidAdapter.json b/metadata/modules/contentexchangeBidAdapter.json index 8d4a2682cf1..242e014398c 100644 --- a/metadata/modules/contentexchangeBidAdapter.json +++ b/metadata/modules/contentexchangeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://hb.contentexchange.me/template/device_storage.json": { - "timestamp": "2026-02-12T16:02:38.566Z", + "timestamp": "2026-02-23T16:45:53.622Z", "disclosures": null } }, diff --git a/metadata/modules/conversantBidAdapter.json b/metadata/modules/conversantBidAdapter.json index ba1ed814056..f6f6faad13d 100644 --- a/metadata/modules/conversantBidAdapter.json +++ b/metadata/modules/conversantBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.9/device_storage_disclosure.json": { - "timestamp": "2026-02-12T16:02:38.617Z", + "timestamp": "2026-02-23T16:45:54.632Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/copper6sspBidAdapter.json b/metadata/modules/copper6sspBidAdapter.json index 5489f28f93c..7448ea8dcd0 100644 --- a/metadata/modules/copper6sspBidAdapter.json +++ b/metadata/modules/copper6sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.copper6.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:38.638Z", + "timestamp": "2026-02-23T16:45:54.677Z", "disclosures": [] } }, diff --git a/metadata/modules/cpmstarBidAdapter.json b/metadata/modules/cpmstarBidAdapter.json index 0d54181878f..affad4ec7c7 100644 --- a/metadata/modules/cpmstarBidAdapter.json +++ b/metadata/modules/cpmstarBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2026-02-12T16:02:38.680Z", + "timestamp": "2026-02-23T16:45:54.802Z", "disclosures": [] } }, diff --git a/metadata/modules/criteoBidAdapter.json b/metadata/modules/criteoBidAdapter.json index 3fcb47d695a..5520f75a569 100644 --- a/metadata/modules/criteoBidAdapter.json +++ b/metadata/modules/criteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2026-02-12T16:02:38.751Z", + "timestamp": "2026-02-23T16:45:54.838Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/criteoIdSystem.json b/metadata/modules/criteoIdSystem.json index 794e32b3530..4faac441ed3 100644 --- a/metadata/modules/criteoIdSystem.json +++ b/metadata/modules/criteoIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2026-02-12T16:02:38.765Z", + "timestamp": "2026-02-23T16:45:54.851Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/cwireBidAdapter.json b/metadata/modules/cwireBidAdapter.json index 58e4ad62902..4b04b4f76e2 100644 --- a/metadata/modules/cwireBidAdapter.json +++ b/metadata/modules/cwireBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.cwi.re/artifacts/iab/iab.json": { - "timestamp": "2026-02-12T16:02:38.765Z", + "timestamp": "2026-02-23T16:45:54.851Z", "disclosures": [] } }, diff --git a/metadata/modules/czechAdIdSystem.json b/metadata/modules/czechAdIdSystem.json index a98ac284c2b..6dfc197ae34 100644 --- a/metadata/modules/czechAdIdSystem.json +++ b/metadata/modules/czechAdIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cpex.cz/storagedisclosure.json": { - "timestamp": "2026-02-12T16:02:39.176Z", + "timestamp": "2026-02-23T16:45:54.952Z", "disclosures": [] } }, diff --git a/metadata/modules/dailymotionBidAdapter.json b/metadata/modules/dailymotionBidAdapter.json index b1c9bbacfcb..9ea7adb6c9e 100644 --- a/metadata/modules/dailymotionBidAdapter.json +++ b/metadata/modules/dailymotionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://statics.dmcdn.net/a/vds.json": { - "timestamp": "2026-02-12T16:02:39.581Z", + "timestamp": "2026-02-23T16:45:55.362Z", "disclosures": [ { "identifier": "uid_dm", diff --git a/metadata/modules/debugging.json b/metadata/modules/debugging.json index 49688eb84bf..239dc523417 100644 --- a/metadata/modules/debugging.json +++ b/metadata/modules/debugging.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2026-02-12T16:01:21.042Z", + "timestamp": "2026-02-23T16:45:39.803Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/deepintentBidAdapter.json b/metadata/modules/deepintentBidAdapter.json index 2221de60f09..f9698c4095a 100644 --- a/metadata/modules/deepintentBidAdapter.json +++ b/metadata/modules/deepintentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.deepintent.com/iabeurope_vendor_disclosures.json": { - "timestamp": "2026-02-12T16:02:39.601Z", + "timestamp": "2026-02-23T16:45:55.384Z", "disclosures": [] } }, diff --git a/metadata/modules/defineMediaBidAdapter.json b/metadata/modules/defineMediaBidAdapter.json index 8de882d42c7..41142e3663e 100644 --- a/metadata/modules/defineMediaBidAdapter.json +++ b/metadata/modules/defineMediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://definemedia.de/tcf/deviceStorageDisclosureURL.json": { - "timestamp": "2026-02-12T16:02:39.715Z", + "timestamp": "2026-02-23T16:45:55.469Z", "disclosures": [ { "identifier": "conative$dataGathering$Adex", diff --git a/metadata/modules/deltaprojectsBidAdapter.json b/metadata/modules/deltaprojectsBidAdapter.json index 9edd9e160a4..f2fb3929675 100644 --- a/metadata/modules/deltaprojectsBidAdapter.json +++ b/metadata/modules/deltaprojectsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.de17a.com/policy/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:40.051Z", + "timestamp": "2026-02-23T16:45:55.817Z", "disclosures": [] } }, diff --git a/metadata/modules/dianomiBidAdapter.json b/metadata/modules/dianomiBidAdapter.json index 79386ea311a..864b1e03246 100644 --- a/metadata/modules/dianomiBidAdapter.json +++ b/metadata/modules/dianomiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.dianomi.com/device_storage.json": { - "timestamp": "2026-02-12T16:02:40.494Z", + "timestamp": "2026-02-23T16:45:56.279Z", "disclosures": [] } }, diff --git a/metadata/modules/digitalMatterBidAdapter.json b/metadata/modules/digitalMatterBidAdapter.json index 34fedbd9f35..5e6606fb5a4 100644 --- a/metadata/modules/digitalMatterBidAdapter.json +++ b/metadata/modules/digitalMatterBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://digitalmatter.ai/disclosures.json": { - "timestamp": "2026-02-12T16:02:40.494Z", + "timestamp": "2026-02-23T16:45:56.279Z", "disclosures": [] } }, diff --git a/metadata/modules/distroscaleBidAdapter.json b/metadata/modules/distroscaleBidAdapter.json index 037fcb0f0b5..455b19c7a00 100644 --- a/metadata/modules/distroscaleBidAdapter.json +++ b/metadata/modules/distroscaleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.jsrdn.com/tcf/tcf-vendor-disclosure.json": { - "timestamp": "2026-02-12T16:02:40.844Z", + "timestamp": "2026-02-23T16:46:10.165Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeAdManagerBidAdapter.json b/metadata/modules/docereeAdManagerBidAdapter.json index bcc0c82f9ec..924aa537c52 100644 --- a/metadata/modules/docereeAdManagerBidAdapter.json +++ b/metadata/modules/docereeAdManagerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:41.046Z", + "timestamp": "2026-02-23T16:46:10.392Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeBidAdapter.json b/metadata/modules/docereeBidAdapter.json index 516d5a7785e..f49cf65cfdb 100644 --- a/metadata/modules/docereeBidAdapter.json +++ b/metadata/modules/docereeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:41.844Z", + "timestamp": "2026-02-23T16:46:11.142Z", "disclosures": [] } }, diff --git a/metadata/modules/dspxBidAdapter.json b/metadata/modules/dspxBidAdapter.json index 190947ae279..9b5a628f3ee 100644 --- a/metadata/modules/dspxBidAdapter.json +++ b/metadata/modules/dspxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/os.json": { - "timestamp": "2026-02-12T16:02:41.845Z", + "timestamp": "2026-02-23T16:46:11.143Z", "disclosures": [] } }, diff --git a/metadata/modules/e_volutionBidAdapter.json b/metadata/modules/e_volutionBidAdapter.json index 6d812474b8c..32dff8c4b9f 100644 --- a/metadata/modules/e_volutionBidAdapter.json +++ b/metadata/modules/e_volutionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://e-volution.ai/file.json": { - "timestamp": "2026-02-12T16:02:42.492Z", + "timestamp": "2026-02-23T16:46:11.788Z", "disclosures": [] } }, diff --git a/metadata/modules/edge226BidAdapter.json b/metadata/modules/edge226BidAdapter.json index d0ef514410f..7675689c619 100644 --- a/metadata/modules/edge226BidAdapter.json +++ b/metadata/modules/edge226BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.serveteck.com/cdn_storage/tcf/tcf.json?a=1.io": { - "timestamp": "2026-02-12T16:02:42.834Z", + "timestamp": "2026-02-23T16:46:12.128Z", "disclosures": [] } }, diff --git a/metadata/modules/empowerBidAdapter.json b/metadata/modules/empowerBidAdapter.json index cb7626d1369..1f472770d2f 100644 --- a/metadata/modules/empowerBidAdapter.json +++ b/metadata/modules/empowerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.empower.net/vendor/vendor.json": { - "timestamp": "2026-02-12T16:02:42.856Z", + "timestamp": "2026-02-23T16:46:12.175Z", "disclosures": [] } }, diff --git a/metadata/modules/equativBidAdapter.json b/metadata/modules/equativBidAdapter.json index fbb5d460a1a..b80b81ce7d1 100644 --- a/metadata/modules/equativBidAdapter.json +++ b/metadata/modules/equativBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2026-02-12T16:02:42.881Z", + "timestamp": "2026-02-23T16:46:12.205Z", "disclosures": [] } }, diff --git a/metadata/modules/eskimiBidAdapter.json b/metadata/modules/eskimiBidAdapter.json index 810edf72a42..05a2cfaf124 100644 --- a/metadata/modules/eskimiBidAdapter.json +++ b/metadata/modules/eskimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://dsp-media.eskimi.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:43.575Z", + "timestamp": "2026-02-23T16:46:12.239Z", "disclosures": [] } }, diff --git a/metadata/modules/etargetBidAdapter.json b/metadata/modules/etargetBidAdapter.json index 6ba6e67e677..7954882ec63 100644 --- a/metadata/modules/etargetBidAdapter.json +++ b/metadata/modules/etargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.etarget.sk/cookies3.json": { - "timestamp": "2026-02-12T16:02:43.599Z", + "timestamp": "2026-02-23T16:46:12.258Z", "disclosures": [] } }, diff --git a/metadata/modules/euidIdSystem.json b/metadata/modules/euidIdSystem.json index 3f69a0588ed..52f7c75e179 100644 --- a/metadata/modules/euidIdSystem.json +++ b/metadata/modules/euidIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-02-12T16:02:44.156Z", + "timestamp": "2026-02-23T16:46:12.836Z", "disclosures": [] } }, diff --git a/metadata/modules/exadsBidAdapter.json b/metadata/modules/exadsBidAdapter.json index 1c9285b1f1b..072c7c51e68 100644 --- a/metadata/modules/exadsBidAdapter.json +++ b/metadata/modules/exadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.native7.com/tcf/deviceStorage.php": { - "timestamp": "2026-02-12T16:02:44.363Z", + "timestamp": "2026-02-23T16:46:13.078Z", "disclosures": [ { "identifier": "pn-zone-*", diff --git a/metadata/modules/feedadBidAdapter.json b/metadata/modules/feedadBidAdapter.json index dfd8673dc84..5b852097ea3 100644 --- a/metadata/modules/feedadBidAdapter.json +++ b/metadata/modules/feedadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.feedad.com/tcf-device-disclosures.json": { - "timestamp": "2026-02-12T16:02:44.545Z", + "timestamp": "2026-02-23T16:46:16.911Z", "disclosures": [ { "identifier": "__fad_data", diff --git a/metadata/modules/floxisBidAdapter.json b/metadata/modules/floxisBidAdapter.json new file mode 100644 index 00000000000..c58d76bc57a --- /dev/null +++ b/metadata/modules/floxisBidAdapter.json @@ -0,0 +1,13 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": {}, + "components": [ + { + "componentType": "bidder", + "componentName": "floxis", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + } + ] +} \ No newline at end of file diff --git a/metadata/modules/fwsspBidAdapter.json b/metadata/modules/fwsspBidAdapter.json index a72ecdf4f2d..fe615c7a678 100644 --- a/metadata/modules/fwsspBidAdapter.json +++ b/metadata/modules/fwsspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.fwmrm.net/g/devicedisclosure.json": { - "timestamp": "2026-02-12T16:02:44.662Z", + "timestamp": "2026-02-23T16:46:17.030Z", "disclosures": [] } }, diff --git a/metadata/modules/gemiusIdSystem.json b/metadata/modules/gemiusIdSystem.json index 704895f09fb..c2cc3a39847 100644 --- a/metadata/modules/gemiusIdSystem.json +++ b/metadata/modules/gemiusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2026-02-12T16:02:45.420Z", + "timestamp": "2026-02-23T16:46:19.113Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/glomexBidAdapter.json b/metadata/modules/glomexBidAdapter.json index 4d26cdccf71..4e1a3568be9 100644 --- a/metadata/modules/glomexBidAdapter.json +++ b/metadata/modules/glomexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:45.421Z", + "timestamp": "2026-02-23T16:46:19.114Z", "disclosures": [ { "identifier": "glomexUser", diff --git a/metadata/modules/goldbachBidAdapter.json b/metadata/modules/goldbachBidAdapter.json index 52f0a606c6a..266a3a47920 100644 --- a/metadata/modules/goldbachBidAdapter.json +++ b/metadata/modules/goldbachBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gb-next.ch/TcfGoldbachDeviceStorage.json": { - "timestamp": "2026-02-12T16:02:45.438Z", + "timestamp": "2026-02-23T16:46:19.139Z", "disclosures": [ { "identifier": "dakt_2_session_id", diff --git a/metadata/modules/gridBidAdapter.json b/metadata/modules/gridBidAdapter.json index 90e3ab8f3e7..fbebc8a5b71 100644 --- a/metadata/modules/gridBidAdapter.json +++ b/metadata/modules/gridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.themediagrid.com/devicestorage.json": { - "timestamp": "2026-02-12T16:02:45.558Z", + "timestamp": "2026-02-23T16:46:19.169Z", "disclosures": [] } }, diff --git a/metadata/modules/gumgumBidAdapter.json b/metadata/modules/gumgumBidAdapter.json index 293b1fa4a36..9a89dd3db7b 100644 --- a/metadata/modules/gumgumBidAdapter.json +++ b/metadata/modules/gumgumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://marketing.gumgum.com/devicestoragedisclosures.json": { - "timestamp": "2026-02-12T16:02:45.608Z", + "timestamp": "2026-02-23T16:46:19.328Z", "disclosures": [] } }, diff --git a/metadata/modules/hadronIdSystem.json b/metadata/modules/hadronIdSystem.json index 34e8e955301..d2faf64c6e6 100644 --- a/metadata/modules/hadronIdSystem.json +++ b/metadata/modules/hadronIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2026-02-12T16:02:45.661Z", + "timestamp": "2026-02-23T16:46:19.392Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/hadronRtdProvider.json b/metadata/modules/hadronRtdProvider.json index 1f2a4dbb797..93ec7d55d3d 100644 --- a/metadata/modules/hadronRtdProvider.json +++ b/metadata/modules/hadronRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2026-02-12T16:02:45.769Z", + "timestamp": "2026-02-23T16:46:19.493Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/harionBidAdapter.json b/metadata/modules/harionBidAdapter.json new file mode 100644 index 00000000000..6a7fe43d137 --- /dev/null +++ b/metadata/modules/harionBidAdapter.json @@ -0,0 +1,18 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": { + "https://markappmedia.site/vendor.json": { + "timestamp": "2026-02-23T16:46:19.494Z", + "disclosures": [] + } + }, + "components": [ + { + "componentType": "bidder", + "componentName": "harion", + "aliasOf": null, + "gvlid": 1406, + "disclosureURL": "https://markappmedia.site/vendor.json" + } + ] +} \ No newline at end of file diff --git a/metadata/modules/holidBidAdapter.json b/metadata/modules/holidBidAdapter.json index 68fd9d2d6b3..9e5f60d4e75 100644 --- a/metadata/modules/holidBidAdapter.json +++ b/metadata/modules/holidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ads.holid.io/devicestorage.json": { - "timestamp": "2026-02-12T16:02:45.769Z", + "timestamp": "2026-02-23T16:46:19.844Z", "disclosures": [ { "identifier": "uids", diff --git a/metadata/modules/hybridBidAdapter.json b/metadata/modules/hybridBidAdapter.json index 01d35b6a911..b65b5d8d4a8 100644 --- a/metadata/modules/hybridBidAdapter.json +++ b/metadata/modules/hybridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:46.021Z", + "timestamp": "2026-02-23T16:46:20.115Z", "disclosures": [] } }, diff --git a/metadata/modules/id5IdSystem.json b/metadata/modules/id5IdSystem.json index b98fb1af422..a67ab589a06 100644 --- a/metadata/modules/id5IdSystem.json +++ b/metadata/modules/id5IdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://id5-sync.com/tcf/disclosures.json": { - "timestamp": "2026-02-12T16:02:46.234Z", + "timestamp": "2026-02-23T16:46:20.421Z", "disclosures": [ { "identifier": "id5id", diff --git a/metadata/modules/identityLinkIdSystem.json b/metadata/modules/identityLinkIdSystem.json index 1538b610067..3a611244109 100644 --- a/metadata/modules/identityLinkIdSystem.json +++ b/metadata/modules/identityLinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.ats.rlcdn.com/device-storage-disclosure.json": { - "timestamp": "2026-02-12T16:02:46.511Z", + "timestamp": "2026-02-23T16:46:20.700Z", "disclosures": [ { "identifier": "_lr_retry_request", diff --git a/metadata/modules/illuminBidAdapter.json b/metadata/modules/illuminBidAdapter.json index ec1a068ee0d..7c87299d926 100644 --- a/metadata/modules/illuminBidAdapter.json +++ b/metadata/modules/illuminBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admanmedia.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:46.527Z", + "timestamp": "2026-02-23T16:46:20.718Z", "disclosures": [] } }, diff --git a/metadata/modules/impactifyBidAdapter.json b/metadata/modules/impactifyBidAdapter.json index e96641ebd0f..a6aaeabad08 100644 --- a/metadata/modules/impactifyBidAdapter.json +++ b/metadata/modules/impactifyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.impactify.io/tcfvendors.json": { - "timestamp": "2026-02-12T16:02:46.819Z", + "timestamp": "2026-02-23T16:46:21.047Z", "disclosures": [ { "identifier": "_im*", diff --git a/metadata/modules/improvedigitalBidAdapter.json b/metadata/modules/improvedigitalBidAdapter.json index 19175d650d1..0c7a398cffb 100644 --- a/metadata/modules/improvedigitalBidAdapter.json +++ b/metadata/modules/improvedigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2026-02-12T16:02:47.118Z", + "timestamp": "2026-02-23T16:46:21.326Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/inmobiBidAdapter.json b/metadata/modules/inmobiBidAdapter.json index cbe9285062b..acd77ff74fc 100644 --- a/metadata/modules/inmobiBidAdapter.json +++ b/metadata/modules/inmobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publisher.inmobi.com/public/disclosure": { - "timestamp": "2026-02-12T16:02:47.119Z", + "timestamp": "2026-02-23T16:46:21.327Z", "disclosures": [] } }, diff --git a/metadata/modules/insticatorBidAdapter.json b/metadata/modules/insticatorBidAdapter.json index 3727ed73c99..f19aa191649 100644 --- a/metadata/modules/insticatorBidAdapter.json +++ b/metadata/modules/insticatorBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.insticator.com/iab/device-storage-disclosure.json": { - "timestamp": "2026-02-12T16:02:47.155Z", + "timestamp": "2026-02-23T16:46:21.362Z", "disclosures": [ { "identifier": "visitorGeo", diff --git a/metadata/modules/insuradsBidAdapter.json b/metadata/modules/insuradsBidAdapter.json new file mode 100644 index 00000000000..cbd5502eed4 --- /dev/null +++ b/metadata/modules/insuradsBidAdapter.json @@ -0,0 +1,45 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": { + "https://www.insurads.com/tcf-vdsod.json": { + "timestamp": "2026-02-23T16:46:21.432Z", + "disclosures": [ + { + "identifier": "___iat_ses", + "type": "cookie", + "maxAgeSeconds": 1800, + "cookieRefresh": true, + "purposes": [ + 1, + 2, + 7, + 9, + 10 + ] + }, + { + "identifier": "___iat_vis", + "type": "cookie", + "maxAgeSeconds": 15552000, + "cookieRefresh": true, + "purposes": [ + 1, + 2, + 7, + 9, + 10 + ] + } + ] + } + }, + "components": [ + { + "componentType": "bidder", + "componentName": "insurads", + "aliasOf": null, + "gvlid": 596, + "disclosureURL": "https://www.insurads.com/tcf-vdsod.json" + } + ] +} \ No newline at end of file diff --git a/metadata/modules/intentIqIdSystem.json b/metadata/modules/intentIqIdSystem.json index 8dd39780a97..09702d55af8 100644 --- a/metadata/modules/intentIqIdSystem.json +++ b/metadata/modules/intentIqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://agent.intentiq.com/GDPR/gdpr.json": { - "timestamp": "2026-02-12T16:02:47.252Z", + "timestamp": "2026-02-23T16:46:21.553Z", "disclosures": [] } }, diff --git a/metadata/modules/invibesBidAdapter.json b/metadata/modules/invibesBidAdapter.json index a8e51b19f3f..cce1631883e 100644 --- a/metadata/modules/invibesBidAdapter.json +++ b/metadata/modules/invibesBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.invibes.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:47.320Z", + "timestamp": "2026-02-23T16:46:21.605Z", "disclosures": [ { "identifier": "ivvcap", diff --git a/metadata/modules/ipromBidAdapter.json b/metadata/modules/ipromBidAdapter.json index 6e052cc095c..95e81ce7106 100644 --- a/metadata/modules/ipromBidAdapter.json +++ b/metadata/modules/ipromBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://core.iprom.net/info/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:47.724Z", + "timestamp": "2026-02-23T16:46:21.954Z", "disclosures": [] } }, diff --git a/metadata/modules/ixBidAdapter.json b/metadata/modules/ixBidAdapter.json index 56c8a86c393..d77169ebf76 100644 --- a/metadata/modules/ixBidAdapter.json +++ b/metadata/modules/ixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.indexexchange.com/device_storage_disclosure.json": { - "timestamp": "2026-02-12T16:02:48.192Z", + "timestamp": "2026-02-23T16:46:22.404Z", "disclosures": [ { "identifier": "ix_features", diff --git a/metadata/modules/justIdSystem.json b/metadata/modules/justIdSystem.json index 4720743b59f..7158bab3abe 100644 --- a/metadata/modules/justIdSystem.json +++ b/metadata/modules/justIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audience-solutions.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:48.474Z", + "timestamp": "2026-02-23T16:46:25.271Z", "disclosures": [ { "identifier": "__jtuid", diff --git a/metadata/modules/justpremiumBidAdapter.json b/metadata/modules/justpremiumBidAdapter.json index 9032eff563e..6fcc8ee22ea 100644 --- a/metadata/modules/justpremiumBidAdapter.json +++ b/metadata/modules/justpremiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.justpremium.com/devicestoragedisclosures.json": { - "timestamp": "2026-02-12T16:02:48.995Z", + "timestamp": "2026-02-23T16:46:25.791Z", "disclosures": [] } }, diff --git a/metadata/modules/jwplayerBidAdapter.json b/metadata/modules/jwplayerBidAdapter.json index 1e1b658c5e9..38ed4cfc3fc 100644 --- a/metadata/modules/jwplayerBidAdapter.json +++ b/metadata/modules/jwplayerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.jwplayer.com/devicestorage.json": { - "timestamp": "2026-02-12T16:02:49.014Z", + "timestamp": "2026-02-23T16:46:25.812Z", "disclosures": [] } }, diff --git a/metadata/modules/kargoBidAdapter.json b/metadata/modules/kargoBidAdapter.json index 59cd15df11a..b520862c201 100644 --- a/metadata/modules/kargoBidAdapter.json +++ b/metadata/modules/kargoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://storage.cloud.kargo.com/device_storage_disclosure.json": { - "timestamp": "2026-02-12T16:02:49.531Z", + "timestamp": "2026-02-23T16:46:26.041Z", "disclosures": [ { "identifier": "krg_crb", diff --git a/metadata/modules/kueezRtbBidAdapter.json b/metadata/modules/kueezRtbBidAdapter.json index 600bbc90614..886600913c3 100644 --- a/metadata/modules/kueezRtbBidAdapter.json +++ b/metadata/modules/kueezRtbBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.kueez.com/tcf.json": { - "timestamp": "2026-02-12T16:02:49.549Z", + "timestamp": "2026-02-23T16:46:26.065Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/leagueMBidAdapter.json b/metadata/modules/leagueMBidAdapter.json new file mode 100644 index 00000000000..f4b02875bbb --- /dev/null +++ b/metadata/modules/leagueMBidAdapter.json @@ -0,0 +1,13 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": {}, + "components": [ + { + "componentType": "bidder", + "componentName": "leagueM", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + } + ] +} \ No newline at end of file diff --git a/metadata/modules/limelightDigitalBidAdapter.json b/metadata/modules/limelightDigitalBidAdapter.json index 8b758c99045..8431c4f79f5 100644 --- a/metadata/modules/limelightDigitalBidAdapter.json +++ b/metadata/modules/limelightDigitalBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://policy.iion.io/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:49.605Z", + "timestamp": "2026-02-23T16:46:26.136Z", "disclosures": [] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2026-02-12T16:02:49.634Z", + "timestamp": "2026-02-23T16:46:26.206Z", "disclosures": [] } }, diff --git a/metadata/modules/liveIntentIdSystem.json b/metadata/modules/liveIntentIdSystem.json index f9a792d368e..f60e74c1825 100644 --- a/metadata/modules/liveIntentIdSystem.json +++ b/metadata/modules/liveIntentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:49.635Z", + "timestamp": "2026-02-23T16:46:26.206Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/liveIntentRtdProvider.json b/metadata/modules/liveIntentRtdProvider.json index e578376282c..d0bc2c5c444 100644 --- a/metadata/modules/liveIntentRtdProvider.json +++ b/metadata/modules/liveIntentRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:49.742Z", + "timestamp": "2026-02-23T16:46:26.218Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/livewrappedBidAdapter.json b/metadata/modules/livewrappedBidAdapter.json index 3465a663f7c..1cd5d2d128c 100644 --- a/metadata/modules/livewrappedBidAdapter.json +++ b/metadata/modules/livewrappedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://content.lwadm.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:02:49.742Z", + "timestamp": "2026-02-23T16:46:26.219Z", "disclosures": [ { "identifier": "uid", diff --git a/metadata/modules/loopmeBidAdapter.json b/metadata/modules/loopmeBidAdapter.json index 64695e94be7..fee1f412589 100644 --- a/metadata/modules/loopmeBidAdapter.json +++ b/metadata/modules/loopmeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://co.loopme.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:02:49.765Z", + "timestamp": "2026-02-23T16:46:26.249Z", "disclosures": [] } }, diff --git a/metadata/modules/lotamePanoramaIdSystem.json b/metadata/modules/lotamePanoramaIdSystem.json index 939e167a88e..1019ad44e25 100644 --- a/metadata/modules/lotamePanoramaIdSystem.json +++ b/metadata/modules/lotamePanoramaIdSystem.json @@ -2,8 +2,65 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tags.crwdcntrl.net/privacy/tcf-purposes.json": { - "timestamp": "2026-02-12T16:02:49.810Z", + "timestamp": "2026-02-23T16:46:26.732Z", "disclosures": [ + { + "identifier": "_cc_id", + "type": "cookie", + "maxAgeSeconds": 23328000, + "cookieRefresh": true, + "purposes": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ] + }, + { + "identifier": "_cc_cc", + "type": "cookie", + "maxAgeSeconds": 23328000, + "cookieRefresh": true, + "purposes": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ] + }, + { + "identifier": "_cc_aud", + "type": "cookie", + "maxAgeSeconds": 23328000, + "cookieRefresh": true, + "purposes": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ] + }, { "identifier": "lotame_domain_check", "type": "cookie", @@ -23,6 +80,25 @@ 11 ] }, + { + "identifier": "_pubcid", + "type": "cookie", + "maxAgeSeconds": 23328000, + "cookieRefresh": true, + "purposes": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ] + }, { "identifier": "panoramaId", "type": "web", @@ -124,6 +200,23 @@ 10, 11 ] + }, + { + "identifier": "_pubcid", + "type": "web", + "purposes": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ] } ] } diff --git a/metadata/modules/luponmediaBidAdapter.json b/metadata/modules/luponmediaBidAdapter.json index 309fbb9c764..61100089726 100644 --- a/metadata/modules/luponmediaBidAdapter.json +++ b/metadata/modules/luponmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://luponmedia.com/vendor_device_storage.json": { - "timestamp": "2026-02-12T16:02:49.821Z", + "timestamp": "2026-02-23T16:46:26.798Z", "disclosures": [] } }, diff --git a/metadata/modules/madvertiseBidAdapter.json b/metadata/modules/madvertiseBidAdapter.json index 54448980b48..990477cdb7b 100644 --- a/metadata/modules/madvertiseBidAdapter.json +++ b/metadata/modules/madvertiseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.bluestack.app/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:50.270Z", + "timestamp": "2026-02-23T16:46:27.273Z", "disclosures": [] } }, diff --git a/metadata/modules/marsmediaBidAdapter.json b/metadata/modules/marsmediaBidAdapter.json index 4f5d92e72c8..ba0e333fa38 100644 --- a/metadata/modules/marsmediaBidAdapter.json +++ b/metadata/modules/marsmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mars.media/apis/tcf-v2.json": { - "timestamp": "2026-02-12T16:02:50.627Z", + "timestamp": "2026-02-23T16:46:27.628Z", "disclosures": [] } }, diff --git a/metadata/modules/mediaConsortiumBidAdapter.json b/metadata/modules/mediaConsortiumBidAdapter.json index 86274d64c09..7c796c8155c 100644 --- a/metadata/modules/mediaConsortiumBidAdapter.json +++ b/metadata/modules/mediaConsortiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.hubvisor.io/assets/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:50.730Z", + "timestamp": "2026-02-23T16:46:27.759Z", "disclosures": [ { "identifier": "hbv:turbo-cmp", diff --git a/metadata/modules/mediaforceBidAdapter.json b/metadata/modules/mediaforceBidAdapter.json index 773a89af4e4..b2cc478cf54 100644 --- a/metadata/modules/mediaforceBidAdapter.json +++ b/metadata/modules/mediaforceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://comparisons.org/privacy.json": { - "timestamp": "2026-02-12T16:02:50.856Z", + "timestamp": "2026-02-23T16:46:28.044Z", "disclosures": [] } }, diff --git a/metadata/modules/mediafuseBidAdapter.json b/metadata/modules/mediafuseBidAdapter.json index e0336bf74b0..74390863c39 100644 --- a/metadata/modules/mediafuseBidAdapter.json +++ b/metadata/modules/mediafuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-02-12T16:02:50.873Z", + "timestamp": "2026-02-23T16:46:28.059Z", "disclosures": [] } }, diff --git a/metadata/modules/mediagoBidAdapter.json b/metadata/modules/mediagoBidAdapter.json index 29bb2e9f87b..9d59e87ea4a 100644 --- a/metadata/modules/mediagoBidAdapter.json +++ b/metadata/modules/mediagoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.mediago.io/js/tcf.json": { - "timestamp": "2026-02-12T16:02:50.873Z", + "timestamp": "2026-02-23T16:46:28.059Z", "disclosures": [] } }, diff --git a/metadata/modules/mediakeysBidAdapter.json b/metadata/modules/mediakeysBidAdapter.json index 3f36882d419..2a5e75627b9 100644 --- a/metadata/modules/mediakeysBidAdapter.json +++ b/metadata/modules/mediakeysBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.eu-west-3.amazonaws.com/adserving.resourcekeys.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:02:51.028Z", + "timestamp": "2026-02-23T16:46:28.120Z", "disclosures": [] } }, diff --git a/metadata/modules/medianetBidAdapter.json b/metadata/modules/medianetBidAdapter.json index 8a970c473b0..5a1c732c5de 100644 --- a/metadata/modules/medianetBidAdapter.json +++ b/metadata/modules/medianetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.media.net/tcfv2/gvl/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:51.317Z", + "timestamp": "2026-02-23T16:46:28.405Z", "disclosures": [ { "identifier": "_mNExInsl", @@ -246,7 +246,7 @@ ] }, "https://trustedstack.com/tcf/gvl/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:51.350Z", + "timestamp": "2026-02-23T16:46:28.464Z", "disclosures": [ { "identifier": "usp_status", diff --git a/metadata/modules/mediasquareBidAdapter.json b/metadata/modules/mediasquareBidAdapter.json index 6287f359f73..aac7269dadc 100644 --- a/metadata/modules/mediasquareBidAdapter.json +++ b/metadata/modules/mediasquareBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediasquare.fr/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:51.416Z", + "timestamp": "2026-02-23T16:46:29.446Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidBidAdapter.json b/metadata/modules/mgidBidAdapter.json index 07cbf00b9cd..667c32cd604 100644 --- a/metadata/modules/mgidBidAdapter.json +++ b/metadata/modules/mgidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-02-12T16:02:51.997Z", + "timestamp": "2026-02-23T16:46:29.993Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidRtdProvider.json b/metadata/modules/mgidRtdProvider.json index 9be8a4bb9c9..550a82a422c 100644 --- a/metadata/modules/mgidRtdProvider.json +++ b/metadata/modules/mgidRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-02-12T16:02:52.143Z", + "timestamp": "2026-02-23T16:46:30.399Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidXBidAdapter.json b/metadata/modules/mgidXBidAdapter.json index da2be5c07f3..554cc915038 100644 --- a/metadata/modules/mgidXBidAdapter.json +++ b/metadata/modules/mgidXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-02-12T16:02:52.144Z", + "timestamp": "2026-02-23T16:46:30.399Z", "disclosures": [] } }, diff --git a/metadata/modules/minutemediaBidAdapter.json b/metadata/modules/minutemediaBidAdapter.json index 66cdc973443..f031c7ba114 100644 --- a/metadata/modules/minutemediaBidAdapter.json +++ b/metadata/modules/minutemediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://disclosures.mmctsvc.com/device-storage.json": { - "timestamp": "2026-02-12T16:02:52.144Z", + "timestamp": "2026-02-23T16:46:30.399Z", "disclosures": [] } }, diff --git a/metadata/modules/missenaBidAdapter.json b/metadata/modules/missenaBidAdapter.json index ecc39bf9622..ebc86cfe7ce 100644 --- a/metadata/modules/missenaBidAdapter.json +++ b/metadata/modules/missenaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.missena.io/iab.json": { - "timestamp": "2026-02-12T16:02:52.163Z", + "timestamp": "2026-02-23T16:46:30.434Z", "disclosures": [] } }, diff --git a/metadata/modules/mobianRtdProvider.json b/metadata/modules/mobianRtdProvider.json index aa8853a6ceb..a942bc0147f 100644 --- a/metadata/modules/mobianRtdProvider.json +++ b/metadata/modules/mobianRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.outcomes.net/tcf.json": { - "timestamp": "2026-02-12T16:02:52.213Z", + "timestamp": "2026-02-23T16:46:30.523Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiBidAdapter.json b/metadata/modules/mobkoiBidAdapter.json index 77fe7c78637..ecada798667 100644 --- a/metadata/modules/mobkoiBidAdapter.json +++ b/metadata/modules/mobkoiBidAdapter.json @@ -2,8 +2,8 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2026-02-06T14:30:52.437Z", - "disclosures": [] + "timestamp": "2026-02-23T16:46:30.655Z", + "disclosures": null } }, "components": [ diff --git a/metadata/modules/mobkoiIdSystem.json b/metadata/modules/mobkoiIdSystem.json index e863c308a77..e9b37f0ed11 100644 --- a/metadata/modules/mobkoiIdSystem.json +++ b/metadata/modules/mobkoiIdSystem.json @@ -2,8 +2,8 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2026-02-06T14:30:52.457Z", - "disclosures": [] + "timestamp": "2026-02-23T16:46:30.691Z", + "disclosures": null } }, "components": [ diff --git a/metadata/modules/msftBidAdapter.json b/metadata/modules/msftBidAdapter.json index ca925bf2471..d862ff06784 100644 --- a/metadata/modules/msftBidAdapter.json +++ b/metadata/modules/msftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-02-12T16:02:52.249Z", + "timestamp": "2026-02-23T16:46:30.691Z", "disclosures": [] } }, diff --git a/metadata/modules/nativeryBidAdapter.json b/metadata/modules/nativeryBidAdapter.json index 851a3b990cd..5cf3f47c826 100644 --- a/metadata/modules/nativeryBidAdapter.json +++ b/metadata/modules/nativeryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnimg.nativery.com/widget/js/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:02:52.250Z", + "timestamp": "2026-02-23T16:46:30.699Z", "disclosures": [] } }, diff --git a/metadata/modules/nativoBidAdapter.json b/metadata/modules/nativoBidAdapter.json index f28730a66da..833339739a4 100644 --- a/metadata/modules/nativoBidAdapter.json +++ b/metadata/modules/nativoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.nativo.com/tcf-disclosures.json": { - "timestamp": "2026-02-12T16:02:52.540Z", + "timestamp": "2026-02-23T16:46:31.031Z", "disclosures": [] } }, diff --git a/metadata/modules/newspassidBidAdapter.json b/metadata/modules/newspassidBidAdapter.json index 0ff9f940a54..ef9353ef688 100644 --- a/metadata/modules/newspassidBidAdapter.json +++ b/metadata/modules/newspassidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2026-02-12T16:02:52.571Z", + "timestamp": "2026-02-23T16:46:31.054Z", "disclosures": [] } }, diff --git a/metadata/modules/nextMillenniumBidAdapter.json b/metadata/modules/nextMillenniumBidAdapter.json index 6543164833b..8ee05edf5e9 100644 --- a/metadata/modules/nextMillenniumBidAdapter.json +++ b/metadata/modules/nextMillenniumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://nextmillennium.io/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:52.571Z", + "timestamp": "2026-02-23T16:46:31.054Z", "disclosures": [] } }, diff --git a/metadata/modules/nextrollBidAdapter.json b/metadata/modules/nextrollBidAdapter.json index f321b7167c3..fd4d8551d20 100644 --- a/metadata/modules/nextrollBidAdapter.json +++ b/metadata/modules/nextrollBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.adroll.com/shares/device_storage.json": { - "timestamp": "2026-02-12T16:02:52.634Z", + "timestamp": "2026-02-23T16:46:31.132Z", "disclosures": [ { "identifier": "__adroll_fpc", diff --git a/metadata/modules/nexx360BidAdapter.json b/metadata/modules/nexx360BidAdapter.json index 57388e46056..32c4f7b07fa 100644 --- a/metadata/modules/nexx360BidAdapter.json +++ b/metadata/modules/nexx360BidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:53.677Z", + "timestamp": "2026-02-23T16:46:32.174Z", "disclosures": [] }, "https://static.first-id.fr/tcf/cookie.json": { - "timestamp": "2026-02-12T16:02:52.936Z", + "timestamp": "2026-02-23T16:46:31.398Z", "disclosures": [] }, "https://i.plug.it/banners/js/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:52.957Z", + "timestamp": "2026-02-23T16:46:31.421Z", "disclosures": [] }, "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:53.279Z", + "timestamp": "2026-02-23T16:46:31.648Z", "disclosures": [ { "identifier": "glomexUser", @@ -46,7 +46,7 @@ ] }, "https://gdpr.pubx.ai/devicestoragedisclosure.json": { - "timestamp": "2026-02-12T16:02:53.279Z", + "timestamp": "2026-02-23T16:46:31.648Z", "disclosures": [ { "identifier": "pubx:defaults", @@ -61,7 +61,7 @@ ] }, "https://yieldbird.com/devicestorage.json": { - "timestamp": "2026-02-12T16:02:53.323Z", + "timestamp": "2026-02-23T16:46:31.797Z", "disclosures": [] } }, diff --git a/metadata/modules/nobidBidAdapter.json b/metadata/modules/nobidBidAdapter.json index e92563c1f50..d697808a02e 100644 --- a/metadata/modules/nobidBidAdapter.json +++ b/metadata/modules/nobidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://public.servenobid.com/gdpr_tcf/vendor_device_storage_operational_disclosures.json": { - "timestamp": "2026-02-12T16:02:53.678Z", + "timestamp": "2026-02-23T16:46:32.174Z", "disclosures": [] } }, diff --git a/metadata/modules/nodalsAiRtdProvider.json b/metadata/modules/nodalsAiRtdProvider.json index 759fe8b18ce..5fac928bc8b 100644 --- a/metadata/modules/nodalsAiRtdProvider.json +++ b/metadata/modules/nodalsAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.nodals.ai/vendor.json": { - "timestamp": "2026-02-12T16:02:53.738Z", + "timestamp": "2026-02-23T16:46:32.338Z", "disclosures": [ { "identifier": "localStorage", diff --git a/metadata/modules/novatiqIdSystem.json b/metadata/modules/novatiqIdSystem.json index 93d3a1fa9b7..a5fa44903e0 100644 --- a/metadata/modules/novatiqIdSystem.json +++ b/metadata/modules/novatiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://novatiq.com/privacy/iab/novatiq.json": { - "timestamp": "2026-02-12T16:02:55.028Z", + "timestamp": "2026-02-23T16:46:34.054Z", "disclosures": [ { "identifier": "novatiq", diff --git a/metadata/modules/oguryBidAdapter.json b/metadata/modules/oguryBidAdapter.json index 981602b4ce4..4fcb8df58e4 100644 --- a/metadata/modules/oguryBidAdapter.json +++ b/metadata/modules/oguryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.ogury.co/disclosure.json": { - "timestamp": "2026-02-12T16:02:55.374Z", + "timestamp": "2026-02-23T16:46:34.443Z", "disclosures": [] } }, diff --git a/metadata/modules/omnidexBidAdapter.json b/metadata/modules/omnidexBidAdapter.json index 60a58583769..8eb0796b3c8 100644 --- a/metadata/modules/omnidexBidAdapter.json +++ b/metadata/modules/omnidexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.omni-dex.io/devicestorage.json": { - "timestamp": "2026-02-12T16:02:55.425Z", + "timestamp": "2026-02-23T16:46:34.510Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/omsBidAdapter.json b/metadata/modules/omsBidAdapter.json index 316573e7fec..101bcbf8ef2 100644 --- a/metadata/modules/omsBidAdapter.json +++ b/metadata/modules/omsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-02-12T16:02:55.477Z", + "timestamp": "2026-02-23T16:46:34.569Z", "disclosures": [] } }, diff --git a/metadata/modules/onetagBidAdapter.json b/metadata/modules/onetagBidAdapter.json index 38ab0910d1a..508199c4060 100644 --- a/metadata/modules/onetagBidAdapter.json +++ b/metadata/modules/onetagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://onetag-cdn.com/privacy/tcf_storage.json": { - "timestamp": "2026-02-12T16:02:55.478Z", + "timestamp": "2026-02-23T16:46:34.570Z", "disclosures": [ { "identifier": "onetag_sid", diff --git a/metadata/modules/openwebBidAdapter.json b/metadata/modules/openwebBidAdapter.json index 9ae87308b00..ffa1a04f0a0 100644 --- a/metadata/modules/openwebBidAdapter.json +++ b/metadata/modules/openwebBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2026-02-12T16:02:55.752Z", + "timestamp": "2026-02-23T16:46:34.912Z", "disclosures": [] } }, diff --git a/metadata/modules/openxBidAdapter.json b/metadata/modules/openxBidAdapter.json index ebffa088907..d7dd135c570 100644 --- a/metadata/modules/openxBidAdapter.json +++ b/metadata/modules/openxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.openx.com/device-storage.json": { - "timestamp": "2026-02-12T16:02:55.798Z", + "timestamp": "2026-02-23T16:46:34.950Z", "disclosures": [] } }, diff --git a/metadata/modules/operaadsBidAdapter.json b/metadata/modules/operaadsBidAdapter.json index 70a56662aa2..cfa23f46ee5 100644 --- a/metadata/modules/operaadsBidAdapter.json +++ b/metadata/modules/operaadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://res.adx.opera.com/dsd.json": { - "timestamp": "2026-02-12T16:02:55.862Z", + "timestamp": "2026-02-23T16:46:34.995Z", "disclosures": [] } }, diff --git a/metadata/modules/optidigitalBidAdapter.json b/metadata/modules/optidigitalBidAdapter.json index dae623cfa1f..40c446b1728 100644 --- a/metadata/modules/optidigitalBidAdapter.json +++ b/metadata/modules/optidigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://scripts.opti-digital.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:02:55.986Z", + "timestamp": "2026-02-23T16:46:35.155Z", "disclosures": [] } }, diff --git a/metadata/modules/optoutBidAdapter.json b/metadata/modules/optoutBidAdapter.json index bc88deae6d2..66165aa5587 100644 --- a/metadata/modules/optoutBidAdapter.json +++ b/metadata/modules/optoutBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserving.optoutadvertising.com/dsd": { - "timestamp": "2026-02-12T16:02:56.036Z", + "timestamp": "2026-02-23T16:46:35.204Z", "disclosures": [] } }, diff --git a/metadata/modules/orbidderBidAdapter.json b/metadata/modules/orbidderBidAdapter.json index 659e17e9530..1d348223a0f 100644 --- a/metadata/modules/orbidderBidAdapter.json +++ b/metadata/modules/orbidderBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://orbidder.otto.de/disclosure/dsd.json": { - "timestamp": "2026-02-12T16:02:56.292Z", + "timestamp": "2026-02-23T16:46:35.462Z", "disclosures": [] } }, diff --git a/metadata/modules/outbrainBidAdapter.json b/metadata/modules/outbrainBidAdapter.json index eeca4f76f9c..32d23be29fa 100644 --- a/metadata/modules/outbrainBidAdapter.json +++ b/metadata/modules/outbrainBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.outbrain.com/privacy/wp-json/privacy/v2/devicestorage.json": { - "timestamp": "2026-02-12T16:02:56.598Z", + "timestamp": "2026-02-23T16:46:35.776Z", "disclosures": [ { "identifier": "dicbo_id", diff --git a/metadata/modules/ozoneBidAdapter.json b/metadata/modules/ozoneBidAdapter.json index a8bcfa12a8d..cc8ac6fa341 100644 --- a/metadata/modules/ozoneBidAdapter.json +++ b/metadata/modules/ozoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://prebid.the-ozone-project.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:57.005Z", + "timestamp": "2026-02-23T16:46:35.993Z", "disclosures": [] } }, diff --git a/metadata/modules/pairIdSystem.json b/metadata/modules/pairIdSystem.json index 9628c7cb901..8e8904cf7ff 100644 --- a/metadata/modules/pairIdSystem.json +++ b/metadata/modules/pairIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gstatic.com/iabtcf/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:02:57.215Z", + "timestamp": "2026-02-23T16:46:36.196Z", "disclosures": [ { "identifier": "__gads", diff --git a/metadata/modules/panxoBidAdapter.json b/metadata/modules/panxoBidAdapter.json index ee5ddbd0194..559f347c9a8 100644 --- a/metadata/modules/panxoBidAdapter.json +++ b/metadata/modules/panxoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.panxo.ai/tcf/device-storage.json": { - "timestamp": "2026-02-12T16:02:57.240Z", + "timestamp": "2026-02-23T16:46:36.216Z", "disclosures": [ { "identifier": "panxo_uid", diff --git a/metadata/modules/performaxBidAdapter.json b/metadata/modules/performaxBidAdapter.json index b938b5ff679..4b4f986fab5 100644 --- a/metadata/modules/performaxBidAdapter.json +++ b/metadata/modules/performaxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.performax.cz/device_storage.json": { - "timestamp": "2026-02-12T16:02:57.442Z", + "timestamp": "2026-02-23T16:46:36.601Z", "disclosures": [ { "identifier": "px2uid", diff --git a/metadata/modules/permutiveIdentityManagerIdSystem.json b/metadata/modules/permutiveIdentityManagerIdSystem.json index b9f72106517..7e186152215 100644 --- a/metadata/modules/permutiveIdentityManagerIdSystem.json +++ b/metadata/modules/permutiveIdentityManagerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2026-02-12T16:02:57.860Z", + "timestamp": "2026-02-23T16:46:37.007Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/permutiveRtdProvider.json b/metadata/modules/permutiveRtdProvider.json index 723d480174e..9f953274741 100644 --- a/metadata/modules/permutiveRtdProvider.json +++ b/metadata/modules/permutiveRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2026-02-12T16:02:58.052Z", + "timestamp": "2026-02-23T16:46:37.198Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/pixfutureBidAdapter.json b/metadata/modules/pixfutureBidAdapter.json index 69fbaa7a887..6b5ede1ed9f 100644 --- a/metadata/modules/pixfutureBidAdapter.json +++ b/metadata/modules/pixfutureBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.pixfuture.com/vendor-disclosures.json": { - "timestamp": "2026-02-12T16:02:58.053Z", + "timestamp": "2026-02-23T16:46:37.199Z", "disclosures": [] } }, diff --git a/metadata/modules/playdigoBidAdapter.json b/metadata/modules/playdigoBidAdapter.json index 9b0628358d5..4fefc69bc62 100644 --- a/metadata/modules/playdigoBidAdapter.json +++ b/metadata/modules/playdigoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://playdigo.com/file.json": { - "timestamp": "2026-02-12T16:02:58.117Z", + "timestamp": "2026-02-23T16:46:37.264Z", "disclosures": [] } }, diff --git a/metadata/modules/prebid-core.json b/metadata/modules/prebid-core.json index 1d41698b72d..80a6aa15d93 100644 --- a/metadata/modules/prebid-core.json +++ b/metadata/modules/prebid-core.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json": { - "timestamp": "2026-02-12T16:01:21.041Z", + "timestamp": "2026-02-23T16:45:39.802Z", "disclosures": [ { "identifier": "_rdc*", @@ -23,7 +23,7 @@ ] }, "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2026-02-12T16:01:21.041Z", + "timestamp": "2026-02-23T16:45:39.802Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/precisoBidAdapter.json b/metadata/modules/precisoBidAdapter.json index f012780e482..d1f28334f85 100644 --- a/metadata/modules/precisoBidAdapter.json +++ b/metadata/modules/precisoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://preciso.net/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:58.386Z", + "timestamp": "2026-02-23T16:46:37.437Z", "disclosures": [ { "identifier": "XXXXX_viewnew", diff --git a/metadata/modules/prismaBidAdapter.json b/metadata/modules/prismaBidAdapter.json index 2a737339ed3..9c67c55703e 100644 --- a/metadata/modules/prismaBidAdapter.json +++ b/metadata/modules/prismaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:58.624Z", + "timestamp": "2026-02-23T16:46:37.668Z", "disclosures": [] } }, diff --git a/metadata/modules/programmaticXBidAdapter.json b/metadata/modules/programmaticXBidAdapter.json index 76e2feedefe..f73f75e6a2e 100644 --- a/metadata/modules/programmaticXBidAdapter.json +++ b/metadata/modules/programmaticXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://progrtb.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-02-12T16:02:58.624Z", + "timestamp": "2026-02-23T16:46:37.670Z", "disclosures": [] } }, diff --git a/metadata/modules/proxistoreBidAdapter.json b/metadata/modules/proxistoreBidAdapter.json index 80fe8881336..788c756279d 100644 --- a/metadata/modules/proxistoreBidAdapter.json +++ b/metadata/modules/proxistoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://abs.proxistore.com/assets/json/proxistore_device_storage_disclosure.json": { - "timestamp": "2026-02-12T16:02:58.677Z", + "timestamp": "2026-02-23T16:46:37.731Z", "disclosures": [] } }, diff --git a/metadata/modules/publinkIdSystem.json b/metadata/modules/publinkIdSystem.json index 5e3655a928a..bb87745635d 100644 --- a/metadata/modules/publinkIdSystem.json +++ b/metadata/modules/publinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.9/device_storage_disclosure.json": { - "timestamp": "2026-02-12T16:02:59.056Z", + "timestamp": "2026-02-23T16:46:38.272Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/pubmaticBidAdapter.json b/metadata/modules/pubmaticBidAdapter.json index cc7ff1faf97..d1ceb3861d2 100644 --- a/metadata/modules/pubmaticBidAdapter.json +++ b/metadata/modules/pubmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2026-02-12T16:02:59.056Z", + "timestamp": "2026-02-23T16:46:38.273Z", "disclosures": [] } }, diff --git a/metadata/modules/pubmaticIdSystem.json b/metadata/modules/pubmaticIdSystem.json index 51219cb48e3..96de8153bd2 100644 --- a/metadata/modules/pubmaticIdSystem.json +++ b/metadata/modules/pubmaticIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2026-02-12T16:02:59.077Z", + "timestamp": "2026-02-23T16:46:38.326Z", "disclosures": [] } }, diff --git a/metadata/modules/pulsepointBidAdapter.json b/metadata/modules/pulsepointBidAdapter.json index a98b8a3ac3e..a99d1500aef 100644 --- a/metadata/modules/pulsepointBidAdapter.json +++ b/metadata/modules/pulsepointBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bh.contextweb.com/tcf/vendorInfo.json": { - "timestamp": "2026-02-12T16:02:59.079Z", + "timestamp": "2026-02-23T16:46:38.328Z", "disclosures": [] } }, diff --git a/metadata/modules/quantcastBidAdapter.json b/metadata/modules/quantcastBidAdapter.json index 48901f9abd5..d5376ad540f 100644 --- a/metadata/modules/quantcastBidAdapter.json +++ b/metadata/modules/quantcastBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2026-02-12T16:02:59.096Z", + "timestamp": "2026-02-23T16:46:38.345Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/quantcastIdSystem.json b/metadata/modules/quantcastIdSystem.json index d5ccbda5d6a..c4824387f0e 100644 --- a/metadata/modules/quantcastIdSystem.json +++ b/metadata/modules/quantcastIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2026-02-12T16:02:59.281Z", + "timestamp": "2026-02-23T16:46:38.525Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/r2b2BidAdapter.json b/metadata/modules/r2b2BidAdapter.json index 65d8b0a5330..c30e8a48fb0 100644 --- a/metadata/modules/r2b2BidAdapter.json +++ b/metadata/modules/r2b2BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.r2b2.io/cookie_disclosure": { - "timestamp": "2026-02-12T16:02:59.282Z", + "timestamp": "2026-02-23T16:46:38.536Z", "disclosures": [ { "identifier": "AdTrack-hide-*", diff --git a/metadata/modules/readpeakBidAdapter.json b/metadata/modules/readpeakBidAdapter.json index d2a1df795fc..52d1e7e94ed 100644 --- a/metadata/modules/readpeakBidAdapter.json +++ b/metadata/modules/readpeakBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.readpeak.com/tcf/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:59.711Z", + "timestamp": "2026-02-23T16:46:38.907Z", "disclosures": [ { "identifier": "rp_uidfp", diff --git a/metadata/modules/relayBidAdapter.json b/metadata/modules/relayBidAdapter.json index 08f83b4d67e..f8b1ebdb359 100644 --- a/metadata/modules/relayBidAdapter.json +++ b/metadata/modules/relayBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://relay42.com/hubfs/raw_assets/public/IAB.json": { - "timestamp": "2026-02-12T16:02:59.733Z", + "timestamp": "2026-02-23T16:46:38.943Z", "disclosures": null } }, diff --git a/metadata/modules/relevantdigitalBidAdapter.json b/metadata/modules/relevantdigitalBidAdapter.json index dadb0d9bb9e..012ce5e965e 100644 --- a/metadata/modules/relevantdigitalBidAdapter.json +++ b/metadata/modules/relevantdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.relevant-digital.com/resources/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:00.349Z", + "timestamp": "2026-02-23T16:46:39.813Z", "disclosures": [] } }, diff --git a/metadata/modules/resetdigitalBidAdapter.json b/metadata/modules/resetdigitalBidAdapter.json index 6a0636bf2db..0f76baa147d 100644 --- a/metadata/modules/resetdigitalBidAdapter.json +++ b/metadata/modules/resetdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resetdigital.co/GDPR-TCF.json": { - "timestamp": "2026-02-12T16:03:00.637Z", + "timestamp": "2026-02-23T16:46:40.101Z", "disclosures": [] } }, diff --git a/metadata/modules/responsiveAdsBidAdapter.json b/metadata/modules/responsiveAdsBidAdapter.json index 35b5b2fa851..bc05a7b7e84 100644 --- a/metadata/modules/responsiveAdsBidAdapter.json +++ b/metadata/modules/responsiveAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publish.responsiveads.com/tcf/tcf-v2.json": { - "timestamp": "2026-02-12T16:03:00.674Z", + "timestamp": "2026-02-23T16:46:40.139Z", "disclosures": [] } }, diff --git a/metadata/modules/revantageBidAdapter.json b/metadata/modules/revantageBidAdapter.json new file mode 100644 index 00000000000..90eda1e36ad --- /dev/null +++ b/metadata/modules/revantageBidAdapter.json @@ -0,0 +1,13 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": {}, + "components": [ + { + "componentType": "bidder", + "componentName": "revantage", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + } + ] +} \ No newline at end of file diff --git a/metadata/modules/revcontentBidAdapter.json b/metadata/modules/revcontentBidAdapter.json index 849e6939e78..f632ce44325 100644 --- a/metadata/modules/revcontentBidAdapter.json +++ b/metadata/modules/revcontentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sothebys.revcontent.com/static/device_storage.json": { - "timestamp": "2026-02-06T14:31:01.772Z", + "timestamp": "2026-02-23T16:46:40.186Z", "disclosures": [ { "identifier": "__ID", diff --git a/metadata/modules/revnewBidAdapter.json b/metadata/modules/revnewBidAdapter.json index 54a016fc087..5ecb6aa4bf9 100644 --- a/metadata/modules/revnewBidAdapter.json +++ b/metadata/modules/revnewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediafuse.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:03.287Z", + "timestamp": "2026-02-23T16:46:40.251Z", "disclosures": [] } }, diff --git a/metadata/modules/rhythmoneBidAdapter.json b/metadata/modules/rhythmoneBidAdapter.json index a4e0dd2a9eb..cc403f3bc41 100644 --- a/metadata/modules/rhythmoneBidAdapter.json +++ b/metadata/modules/rhythmoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:03.363Z", + "timestamp": "2026-02-23T16:46:40.374Z", "disclosures": [] } }, diff --git a/metadata/modules/richaudienceBidAdapter.json b/metadata/modules/richaudienceBidAdapter.json index 3f0e4c6bb92..a4356846e9c 100644 --- a/metadata/modules/richaudienceBidAdapter.json +++ b/metadata/modules/richaudienceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnj.richaudience.com/52a26ab9400b2a9f5aabfa20acf3196g.json": { - "timestamp": "2026-02-12T16:03:03.611Z", + "timestamp": "2026-02-23T16:46:40.704Z", "disclosures": [] } }, diff --git a/metadata/modules/riseBidAdapter.json b/metadata/modules/riseBidAdapter.json index c7c3e3e0890..f91ed10f678 100644 --- a/metadata/modules/riseBidAdapter.json +++ b/metadata/modules/riseBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d2pm7iglz0b6eq.cloudfront.net/RiseDeviceStorage.json": { - "timestamp": "2026-02-12T16:03:03.679Z", + "timestamp": "2026-02-23T16:46:40.772Z", "disclosures": [] }, "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2026-02-12T16:03:03.679Z", + "timestamp": "2026-02-23T16:46:40.772Z", "disclosures": [] } }, diff --git a/metadata/modules/rixengineBidAdapter.json b/metadata/modules/rixengineBidAdapter.json index 348c6dcb13d..7350dc1a269 100644 --- a/metadata/modules/rixengineBidAdapter.json +++ b/metadata/modules/rixengineBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.algorix.co/gdpr-disclosure.json": { - "timestamp": "2026-02-12T16:03:03.680Z", + "timestamp": "2026-02-23T16:46:40.772Z", "disclosures": [] } }, diff --git a/metadata/modules/rtbhouseBidAdapter.json b/metadata/modules/rtbhouseBidAdapter.json index c88664db9cf..2ce97f53637 100644 --- a/metadata/modules/rtbhouseBidAdapter.json +++ b/metadata/modules/rtbhouseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://rtbhouse.com/DeviceStorage.json": { - "timestamp": "2026-02-12T16:03:03.748Z", + "timestamp": "2026-02-23T16:46:40.789Z", "disclosures": [ { "identifier": "_rtbh.*", diff --git a/metadata/modules/rubiconBidAdapter.json b/metadata/modules/rubiconBidAdapter.json index d93e37f56f3..17e1ff321e2 100644 --- a/metadata/modules/rubiconBidAdapter.json +++ b/metadata/modules/rubiconBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.rubiconproject.com/dvplus/devicestoragedisclosure.json": { - "timestamp": "2026-02-12T16:03:03.959Z", + "timestamp": "2026-02-23T16:46:41.009Z", "disclosures": [] } }, diff --git a/metadata/modules/scaliburBidAdapter.json b/metadata/modules/scaliburBidAdapter.json index 0fd5d0b2c04..9ad2e289dc2 100644 --- a/metadata/modules/scaliburBidAdapter.json +++ b/metadata/modules/scaliburBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://legal.overwolf.com/docs/overwolf/website/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:04.286Z", + "timestamp": "2026-02-23T16:46:41.251Z", "disclosures": [ { "identifier": "scluid", diff --git a/metadata/modules/screencoreBidAdapter.json b/metadata/modules/screencoreBidAdapter.json index 2a8bb316e56..612712787f7 100644 --- a/metadata/modules/screencoreBidAdapter.json +++ b/metadata/modules/screencoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://screencore.io/tcf.json": { - "timestamp": "2026-02-12T16:03:04.297Z", + "timestamp": "2026-02-23T16:46:41.270Z", "disclosures": null } }, diff --git a/metadata/modules/seedingAllianceBidAdapter.json b/metadata/modules/seedingAllianceBidAdapter.json index 5c25dc8810c..a5cae979bb5 100644 --- a/metadata/modules/seedingAllianceBidAdapter.json +++ b/metadata/modules/seedingAllianceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.nativendo.de/cdn/asset/tcf/purpose-specific-storage-and-access-information.json": { - "timestamp": "2026-02-12T16:03:06.889Z", + "timestamp": "2026-02-23T16:46:43.868Z", "disclosures": [] } }, diff --git a/metadata/modules/seedtagBidAdapter.json b/metadata/modules/seedtagBidAdapter.json index 2e020d25478..994b6f1a103 100644 --- a/metadata/modules/seedtagBidAdapter.json +++ b/metadata/modules/seedtagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2026-02-12T16:03:06.917Z", + "timestamp": "2026-02-23T16:46:43.971Z", "disclosures": [] } }, diff --git a/metadata/modules/semantiqRtdProvider.json b/metadata/modules/semantiqRtdProvider.json index ce8c7bd0c41..cc7548e32e5 100644 --- a/metadata/modules/semantiqRtdProvider.json +++ b/metadata/modules/semantiqRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audienzz.com/device_storage_disclosure_vendor_783.json": { - "timestamp": "2026-02-12T16:03:06.917Z", + "timestamp": "2026-02-23T16:46:43.971Z", "disclosures": [] } }, diff --git a/metadata/modules/setupadBidAdapter.json b/metadata/modules/setupadBidAdapter.json index 525865a79f5..4411f2126c2 100644 --- a/metadata/modules/setupadBidAdapter.json +++ b/metadata/modules/setupadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cookies.stpd.cloud/disclosures.json": { - "timestamp": "2026-02-12T16:03:06.974Z", + "timestamp": "2026-02-23T16:46:44.040Z", "disclosures": [] } }, diff --git a/metadata/modules/sevioBidAdapter.json b/metadata/modules/sevioBidAdapter.json index bcc4dea773b..8b4155bad91 100644 --- a/metadata/modules/sevioBidAdapter.json +++ b/metadata/modules/sevioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sevio.com/tcf.json": { - "timestamp": "2026-02-12T16:03:07.118Z", + "timestamp": "2026-02-23T16:46:44.168Z", "disclosures": [] } }, diff --git a/metadata/modules/sharedIdSystem.json b/metadata/modules/sharedIdSystem.json index ffe3e1e442c..d387202b43c 100644 --- a/metadata/modules/sharedIdSystem.json +++ b/metadata/modules/sharedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2026-02-12T16:03:07.268Z", + "timestamp": "2026-02-23T16:46:44.313Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/sharethroughBidAdapter.json b/metadata/modules/sharethroughBidAdapter.json index da0c0755306..89c00185e6e 100644 --- a/metadata/modules/sharethroughBidAdapter.json +++ b/metadata/modules/sharethroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.sharethrough.com/gvl.json": { - "timestamp": "2026-02-12T16:03:07.269Z", + "timestamp": "2026-02-23T16:46:44.313Z", "disclosures": [] } }, diff --git a/metadata/modules/showheroes-bsBidAdapter.json b/metadata/modules/showheroes-bsBidAdapter.json index fe4ceeb1210..9c73af19048 100644 --- a/metadata/modules/showheroes-bsBidAdapter.json +++ b/metadata/modules/showheroes-bsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static-origin.showheroes.com/gvl_storage_disclosure.json": { - "timestamp": "2026-02-12T16:03:07.288Z", + "timestamp": "2026-02-23T16:46:44.338Z", "disclosures": [] } }, diff --git a/metadata/modules/silvermobBidAdapter.json b/metadata/modules/silvermobBidAdapter.json index f286d4d51a1..3226ae43a1f 100644 --- a/metadata/modules/silvermobBidAdapter.json +++ b/metadata/modules/silvermobBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://silvermob.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:07.730Z", + "timestamp": "2026-02-23T16:46:44.845Z", "disclosures": [] } }, diff --git a/metadata/modules/sirdataRtdProvider.json b/metadata/modules/sirdataRtdProvider.json index 46e87be7f40..0c54f8de6de 100644 --- a/metadata/modules/sirdataRtdProvider.json +++ b/metadata/modules/sirdataRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sirdata.eu/sirdata_device_storage_disclosure.json": { - "timestamp": "2026-02-12T16:03:07.750Z", + "timestamp": "2026-02-23T16:46:44.860Z", "disclosures": [] } }, diff --git a/metadata/modules/smaatoBidAdapter.json b/metadata/modules/smaatoBidAdapter.json index bf69227423d..3d218dd6936 100644 --- a/metadata/modules/smaatoBidAdapter.json +++ b/metadata/modules/smaatoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resources.smaato.com/hubfs/Smaato/IAB/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:08.062Z", + "timestamp": "2026-02-23T16:46:45.210Z", "disclosures": [] } }, diff --git a/metadata/modules/smartadserverBidAdapter.json b/metadata/modules/smartadserverBidAdapter.json index 759da109d28..b17d0a46919 100644 --- a/metadata/modules/smartadserverBidAdapter.json +++ b/metadata/modules/smartadserverBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2026-02-12T16:03:08.141Z", + "timestamp": "2026-02-23T16:46:45.331Z", "disclosures": [] } }, diff --git a/metadata/modules/smartxBidAdapter.json b/metadata/modules/smartxBidAdapter.json index 7224b550bbe..56af6c1fe90 100644 --- a/metadata/modules/smartxBidAdapter.json +++ b/metadata/modules/smartxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.smartclip.net/iab/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:08.141Z", + "timestamp": "2026-02-23T16:46:45.331Z", "disclosures": [] } }, diff --git a/metadata/modules/smartyadsBidAdapter.json b/metadata/modules/smartyadsBidAdapter.json index af55cd0f240..eba853e8c5f 100644 --- a/metadata/modules/smartyadsBidAdapter.json +++ b/metadata/modules/smartyadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smartyads.com/tcf.json": { - "timestamp": "2026-02-12T16:03:08.171Z", + "timestamp": "2026-02-23T16:46:45.348Z", "disclosures": [] } }, diff --git a/metadata/modules/smilewantedBidAdapter.json b/metadata/modules/smilewantedBidAdapter.json index bc742e4f6b8..ac23b467ca0 100644 --- a/metadata/modules/smilewantedBidAdapter.json +++ b/metadata/modules/smilewantedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smilewanted.com/vendor-device-storage-disclosures.json": { - "timestamp": "2026-02-12T16:03:08.208Z", + "timestamp": "2026-02-23T16:46:45.388Z", "disclosures": [] } }, diff --git a/metadata/modules/snigelBidAdapter.json b/metadata/modules/snigelBidAdapter.json index b4b5c679170..92f87aff58a 100644 --- a/metadata/modules/snigelBidAdapter.json +++ b/metadata/modules/snigelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.snigelweb.com/gvl/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:08.654Z", + "timestamp": "2026-02-23T16:46:45.853Z", "disclosures": [] } }, diff --git a/metadata/modules/sonaradsBidAdapter.json b/metadata/modules/sonaradsBidAdapter.json index c8b89653bdf..6ae3c2d0521 100644 --- a/metadata/modules/sonaradsBidAdapter.json +++ b/metadata/modules/sonaradsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bridgeupp.com/device-storage-disclosure.json": { - "timestamp": "2026-02-12T16:03:08.694Z", + "timestamp": "2026-02-23T16:46:45.887Z", "disclosures": [] } }, diff --git a/metadata/modules/sonobiBidAdapter.json b/metadata/modules/sonobiBidAdapter.json index 722452ff6d5..9af60365ea1 100644 --- a/metadata/modules/sonobiBidAdapter.json +++ b/metadata/modules/sonobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sonobi.com/tcf2-device-storage-disclosure.json": { - "timestamp": "2026-02-12T16:03:08.919Z", + "timestamp": "2026-02-23T16:46:46.110Z", "disclosures": [] } }, diff --git a/metadata/modules/sovrnBidAdapter.json b/metadata/modules/sovrnBidAdapter.json index 2101385b9ea..0cfeb10dd67 100644 --- a/metadata/modules/sovrnBidAdapter.json +++ b/metadata/modules/sovrnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sovrn.com/tcf-cookie-disclosure/disclosure.json": { - "timestamp": "2026-02-12T16:03:09.152Z", + "timestamp": "2026-02-23T16:46:46.339Z", "disclosures": [] } }, diff --git a/metadata/modules/sparteoBidAdapter.json b/metadata/modules/sparteoBidAdapter.json index 1c7f8dac007..fd0a4545adb 100644 --- a/metadata/modules/sparteoBidAdapter.json +++ b/metadata/modules/sparteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:09.171Z", + "timestamp": "2026-02-23T16:46:46.358Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/ssmasBidAdapter.json b/metadata/modules/ssmasBidAdapter.json index 8f31daf486f..74e7b5f7b4e 100644 --- a/metadata/modules/ssmasBidAdapter.json +++ b/metadata/modules/ssmasBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://semseoymas.com/iab.json": { - "timestamp": "2026-02-12T16:03:09.446Z", + "timestamp": "2026-02-23T16:46:46.867Z", "disclosures": null } }, diff --git a/metadata/modules/sspBCBidAdapter.json b/metadata/modules/sspBCBidAdapter.json index 84a556c6201..6751dd820fb 100644 --- a/metadata/modules/sspBCBidAdapter.json +++ b/metadata/modules/sspBCBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:10.095Z", + "timestamp": "2026-02-23T16:46:47.561Z", "disclosures": null } }, diff --git a/metadata/modules/stackadaptBidAdapter.json b/metadata/modules/stackadaptBidAdapter.json index ab45236aeda..805fbbb0997 100644 --- a/metadata/modules/stackadaptBidAdapter.json +++ b/metadata/modules/stackadaptBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.amazonaws.com/stackadapt_public/disclosures.json": { - "timestamp": "2026-02-12T16:03:10.098Z", + "timestamp": "2026-02-23T16:46:47.562Z", "disclosures": [ { "identifier": "sa-camp-*", diff --git a/metadata/modules/startioBidAdapter.json b/metadata/modules/startioBidAdapter.json index dc49c45a89c..bd992ea772c 100644 --- a/metadata/modules/startioBidAdapter.json +++ b/metadata/modules/startioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://info.startappservice.com/tcf/start.io_domains.json": { - "timestamp": "2026-02-12T16:03:10.140Z", + "timestamp": "2026-02-23T16:46:47.608Z", "disclosures": [] } }, diff --git a/metadata/modules/stroeerCoreBidAdapter.json b/metadata/modules/stroeerCoreBidAdapter.json index ab81914ddbc..d198134cd6b 100644 --- a/metadata/modules/stroeerCoreBidAdapter.json +++ b/metadata/modules/stroeerCoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.stroeer.de/StroeerSSP_deviceStorage.json": { - "timestamp": "2026-02-12T16:03:10.159Z", + "timestamp": "2026-02-23T16:46:47.628Z", "disclosures": [] } }, diff --git a/metadata/modules/stvBidAdapter.json b/metadata/modules/stvBidAdapter.json index 603ed9c0ac3..1f780caaf60 100644 --- a/metadata/modules/stvBidAdapter.json +++ b/metadata/modules/stvBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/stv.json": { - "timestamp": "2026-02-12T16:03:10.485Z", + "timestamp": "2026-02-23T16:46:48.003Z", "disclosures": [] } }, diff --git a/metadata/modules/sublimeBidAdapter.json b/metadata/modules/sublimeBidAdapter.json index 95eac12b349..ec6552c31a3 100644 --- a/metadata/modules/sublimeBidAdapter.json +++ b/metadata/modules/sublimeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.ayads.co/cookiepolicy.json": { - "timestamp": "2026-02-12T16:03:11.171Z", + "timestamp": "2026-02-23T16:46:48.633Z", "disclosures": [ { "identifier": "dnt", diff --git a/metadata/modules/taboolaBidAdapter.json b/metadata/modules/taboolaBidAdapter.json index 4c40074b3a5..04e6ee9448c 100644 --- a/metadata/modules/taboolaBidAdapter.json +++ b/metadata/modules/taboolaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2026-02-12T16:03:11.428Z", + "timestamp": "2026-02-23T16:46:48.896Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/taboolaIdSystem.json b/metadata/modules/taboolaIdSystem.json index e1b062e5330..facd96483c0 100644 --- a/metadata/modules/taboolaIdSystem.json +++ b/metadata/modules/taboolaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2026-02-12T16:03:11.606Z", + "timestamp": "2026-02-23T16:46:49.649Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/tadvertisingBidAdapter.json b/metadata/modules/tadvertisingBidAdapter.json index 4dcff6012e3..2883fb9359b 100644 --- a/metadata/modules/tadvertisingBidAdapter.json +++ b/metadata/modules/tadvertisingBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:11.607Z", + "timestamp": "2026-02-23T16:46:49.649Z", "disclosures": [] } }, diff --git a/metadata/modules/tappxBidAdapter.json b/metadata/modules/tappxBidAdapter.json index eff67d69fee..80a5faf1393 100644 --- a/metadata/modules/tappxBidAdapter.json +++ b/metadata/modules/tappxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tappx.com/devicestorage.json": { - "timestamp": "2026-02-12T16:03:11.628Z", + "timestamp": "2026-02-23T16:46:49.676Z", "disclosures": [] } }, diff --git a/metadata/modules/targetVideoBidAdapter.json b/metadata/modules/targetVideoBidAdapter.json index be8fab01e12..9d2f8d9eb10 100644 --- a/metadata/modules/targetVideoBidAdapter.json +++ b/metadata/modules/targetVideoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2026-02-12T16:03:11.652Z", + "timestamp": "2026-02-23T16:46:49.705Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/teadsBidAdapter.json b/metadata/modules/teadsBidAdapter.json index 4ff824ac847..f7bde1849e1 100644 --- a/metadata/modules/teadsBidAdapter.json +++ b/metadata/modules/teadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:11.652Z", + "timestamp": "2026-02-23T16:46:49.705Z", "disclosures": [] } }, diff --git a/metadata/modules/teadsIdSystem.json b/metadata/modules/teadsIdSystem.json index ea550951d4f..e87eaea62c9 100644 --- a/metadata/modules/teadsIdSystem.json +++ b/metadata/modules/teadsIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:11.668Z", + "timestamp": "2026-02-23T16:46:49.723Z", "disclosures": [] } }, diff --git a/metadata/modules/tealBidAdapter.json b/metadata/modules/tealBidAdapter.json index 1546530cad5..9e70bdfb084 100644 --- a/metadata/modules/tealBidAdapter.json +++ b/metadata/modules/tealBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://c.bids.ws/iab/disclosures.json": { - "timestamp": "2026-02-12T16:03:11.668Z", + "timestamp": "2026-02-23T16:46:49.723Z", "disclosures": [] } }, diff --git a/metadata/modules/tncIdSystem.json b/metadata/modules/tncIdSystem.json index b7ad8bb19c2..eda93c2d7e9 100644 --- a/metadata/modules/tncIdSystem.json +++ b/metadata/modules/tncIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.tncid.app/iab-tcf-device-storage-disclosure.json": { - "timestamp": "2026-02-12T16:03:11.707Z", + "timestamp": "2026-02-23T16:46:49.770Z", "disclosures": [] } }, diff --git a/metadata/modules/topicsFpdModule.json b/metadata/modules/topicsFpdModule.json index c6323ff867a..80539abb3c4 100644 --- a/metadata/modules/topicsFpdModule.json +++ b/metadata/modules/topicsFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/topicsFpdModule.json": { - "timestamp": "2026-02-12T16:01:21.042Z", + "timestamp": "2026-02-23T16:45:39.803Z", "disclosures": [ { "identifier": "prebid:topics", diff --git a/metadata/modules/toponBidAdapter.json b/metadata/modules/toponBidAdapter.json index 94e13fc1264..9da24e24f42 100644 --- a/metadata/modules/toponBidAdapter.json +++ b/metadata/modules/toponBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mores.toponad.net/tmp/tpn/toponads_tcf_disclosure.json": { - "timestamp": "2026-02-12T16:03:11.723Z", + "timestamp": "2026-02-23T16:46:49.802Z", "disclosures": [] } }, diff --git a/metadata/modules/tripleliftBidAdapter.json b/metadata/modules/tripleliftBidAdapter.json index ae405a1f660..749692885ff 100644 --- a/metadata/modules/tripleliftBidAdapter.json +++ b/metadata/modules/tripleliftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://triplelift.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:11.778Z", + "timestamp": "2026-02-23T16:46:49.901Z", "disclosures": [] } }, diff --git a/metadata/modules/ttdBidAdapter.json b/metadata/modules/ttdBidAdapter.json index 1a97705723d..a867b85ec31 100644 --- a/metadata/modules/ttdBidAdapter.json +++ b/metadata/modules/ttdBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-02-12T16:03:11.803Z", + "timestamp": "2026-02-23T16:46:49.930Z", "disclosures": [] } }, diff --git a/metadata/modules/twistDigitalBidAdapter.json b/metadata/modules/twistDigitalBidAdapter.json index 0fe3b3c63fc..559fb3fd5c4 100644 --- a/metadata/modules/twistDigitalBidAdapter.json +++ b/metadata/modules/twistDigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://twistdigital.net/iab.json": { - "timestamp": "2026-02-12T16:03:11.804Z", + "timestamp": "2026-02-23T16:46:49.930Z", "disclosures": [ { "identifier": "vdzj1_{id}", diff --git a/metadata/modules/underdogmediaBidAdapter.json b/metadata/modules/underdogmediaBidAdapter.json index 514b2957082..2628349ae18 100644 --- a/metadata/modules/underdogmediaBidAdapter.json +++ b/metadata/modules/underdogmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.underdog.media/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:11.906Z", + "timestamp": "2026-02-23T16:47:13.633Z", "disclosures": [] } }, diff --git a/metadata/modules/undertoneBidAdapter.json b/metadata/modules/undertoneBidAdapter.json index 6734f167b02..a358ef5eba5 100644 --- a/metadata/modules/undertoneBidAdapter.json +++ b/metadata/modules/undertoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.undertone.com/js/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:11.948Z", + "timestamp": "2026-02-23T16:47:13.661Z", "disclosures": [] } }, diff --git a/metadata/modules/unifiedIdSystem.json b/metadata/modules/unifiedIdSystem.json index 26a129bb323..9d874319e3e 100644 --- a/metadata/modules/unifiedIdSystem.json +++ b/metadata/modules/unifiedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-02-12T16:03:12.044Z", + "timestamp": "2026-02-23T16:47:13.761Z", "disclosures": [] } }, diff --git a/metadata/modules/unrulyBidAdapter.json b/metadata/modules/unrulyBidAdapter.json index 368b184d3a9..bb45d2ed3b7 100644 --- a/metadata/modules/unrulyBidAdapter.json +++ b/metadata/modules/unrulyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:12.044Z", + "timestamp": "2026-02-23T16:47:13.762Z", "disclosures": [] } }, diff --git a/metadata/modules/userId.json b/metadata/modules/userId.json index 131897b5f8b..0ba454ed268 100644 --- a/metadata/modules/userId.json +++ b/metadata/modules/userId.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/userId-optout.json": { - "timestamp": "2026-02-12T16:01:21.043Z", + "timestamp": "2026-02-23T16:45:39.804Z", "disclosures": [ { "identifier": "_pbjs_id_optout", diff --git a/metadata/modules/utiqIdSystem.json b/metadata/modules/utiqIdSystem.json index 1a922646a89..07224a7afd7 100644 --- a/metadata/modules/utiqIdSystem.json +++ b/metadata/modules/utiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:12.044Z", + "timestamp": "2026-02-23T16:47:13.762Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/utiqMtpIdSystem.json b/metadata/modules/utiqMtpIdSystem.json index c60259b5cf0..4a4449b21b1 100644 --- a/metadata/modules/utiqMtpIdSystem.json +++ b/metadata/modules/utiqMtpIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:12.045Z", + "timestamp": "2026-02-23T16:47:13.763Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/validationFpdModule.json b/metadata/modules/validationFpdModule.json index 6502dfce25e..eda44e25e76 100644 --- a/metadata/modules/validationFpdModule.json +++ b/metadata/modules/validationFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2026-02-12T16:01:21.042Z", + "timestamp": "2026-02-23T16:45:39.803Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/valuadBidAdapter.json b/metadata/modules/valuadBidAdapter.json index 09da3afbf0f..fe471a8ca81 100644 --- a/metadata/modules/valuadBidAdapter.json +++ b/metadata/modules/valuadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.valuad.cloud/tcfdevice.json": { - "timestamp": "2026-02-12T16:03:12.045Z", + "timestamp": "2026-02-23T16:47:13.763Z", "disclosures": [] } }, diff --git a/metadata/modules/verbenBidAdapter.json b/metadata/modules/verbenBidAdapter.json new file mode 100644 index 00000000000..47a939ac97a --- /dev/null +++ b/metadata/modules/verbenBidAdapter.json @@ -0,0 +1,13 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": {}, + "components": [ + { + "componentType": "bidder", + "componentName": "verben", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + } + ] +} \ No newline at end of file diff --git a/metadata/modules/vidazooBidAdapter.json b/metadata/modules/vidazooBidAdapter.json index 7cc5addfeb0..d893b26cc36 100644 --- a/metadata/modules/vidazooBidAdapter.json +++ b/metadata/modules/vidazooBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidazoo.com/gdpr-tcf/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:12.248Z", + "timestamp": "2026-02-23T16:47:13.996Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/vidoomyBidAdapter.json b/metadata/modules/vidoomyBidAdapter.json index 27d85fecd48..3def3f7d4eb 100644 --- a/metadata/modules/vidoomyBidAdapter.json +++ b/metadata/modules/vidoomyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidoomy.com/storageurl/devicestoragediscurl.json": { - "timestamp": "2026-02-12T16:03:12.307Z", + "timestamp": "2026-02-23T16:47:14.066Z", "disclosures": [] } }, diff --git a/metadata/modules/viouslyBidAdapter.json b/metadata/modules/viouslyBidAdapter.json index a20652521ca..6a52ca53499 100644 --- a/metadata/modules/viouslyBidAdapter.json +++ b/metadata/modules/viouslyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:12.426Z", + "timestamp": "2026-02-23T16:47:14.187Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/visxBidAdapter.json b/metadata/modules/visxBidAdapter.json index 4849247b507..077ee35fa36 100644 --- a/metadata/modules/visxBidAdapter.json +++ b/metadata/modules/visxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.yoc.com/visx/sellers/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:12.427Z", + "timestamp": "2026-02-23T16:47:14.188Z", "disclosures": [ { "identifier": "__vads", diff --git a/metadata/modules/vlybyBidAdapter.json b/metadata/modules/vlybyBidAdapter.json index f80b9decb3e..2ae5d926cdc 100644 --- a/metadata/modules/vlybyBidAdapter.json +++ b/metadata/modules/vlybyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vlyby.com/conf/iab/gvl.json": { - "timestamp": "2026-02-12T16:03:12.612Z", + "timestamp": "2026-02-23T16:47:14.524Z", "disclosures": [] } }, diff --git a/metadata/modules/voxBidAdapter.json b/metadata/modules/voxBidAdapter.json index d3596fcacde..ccf35b682bb 100644 --- a/metadata/modules/voxBidAdapter.json +++ b/metadata/modules/voxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:12.933Z", + "timestamp": "2026-02-23T16:47:14.873Z", "disclosures": [] } }, diff --git a/metadata/modules/vrtcalBidAdapter.json b/metadata/modules/vrtcalBidAdapter.json index 0cb70229dc3..7677600a53e 100644 --- a/metadata/modules/vrtcalBidAdapter.json +++ b/metadata/modules/vrtcalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vrtcal.com/docs/gdpr-tcf-disclosures.json": { - "timestamp": "2026-02-12T16:03:12.933Z", + "timestamp": "2026-02-23T16:47:14.873Z", "disclosures": [] } }, diff --git a/metadata/modules/vuukleBidAdapter.json b/metadata/modules/vuukleBidAdapter.json index 646e64d9296..9bc73add65e 100644 --- a/metadata/modules/vuukleBidAdapter.json +++ b/metadata/modules/vuukleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vuukle.com/data-privacy/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:12.947Z", + "timestamp": "2026-02-23T16:47:14.886Z", "disclosures": [ { "identifier": "vuukle_token", diff --git a/metadata/modules/weboramaRtdProvider.json b/metadata/modules/weboramaRtdProvider.json index 0a93cb5ba6d..2a8011b6b1f 100644 --- a/metadata/modules/weboramaRtdProvider.json +++ b/metadata/modules/weboramaRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://weborama.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:13.279Z", + "timestamp": "2026-02-23T16:47:15.183Z", "disclosures": [] } }, diff --git a/metadata/modules/welectBidAdapter.json b/metadata/modules/welectBidAdapter.json index b8d08fb7017..8d10a15c1c2 100644 --- a/metadata/modules/welectBidAdapter.json +++ b/metadata/modules/welectBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.welect.de/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:13.532Z", + "timestamp": "2026-02-23T16:47:15.439Z", "disclosures": [] } }, diff --git a/metadata/modules/yahooAdsBidAdapter.json b/metadata/modules/yahooAdsBidAdapter.json index d0cf7b2b937..749e127536f 100644 --- a/metadata/modules/yahooAdsBidAdapter.json +++ b/metadata/modules/yahooAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2026-02-12T16:03:13.912Z", + "timestamp": "2026-02-23T16:47:15.869Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/yaleoBidAdapter.json b/metadata/modules/yaleoBidAdapter.json index 6d26861fb39..dd76827e542 100644 --- a/metadata/modules/yaleoBidAdapter.json +++ b/metadata/modules/yaleoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audienzz.com/device_storage_disclosure_vendor_783.json": { - "timestamp": "2026-02-12T16:03:13.913Z", + "timestamp": "2026-02-23T16:47:15.869Z", "disclosures": [] } }, diff --git a/metadata/modules/yieldlabBidAdapter.json b/metadata/modules/yieldlabBidAdapter.json index 145db3cb888..6f6e9c3db9c 100644 --- a/metadata/modules/yieldlabBidAdapter.json +++ b/metadata/modules/yieldlabBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.yieldlab.net/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:13.913Z", + "timestamp": "2026-02-23T16:47:15.870Z", "disclosures": [] } }, diff --git a/metadata/modules/yieldloveBidAdapter.json b/metadata/modules/yieldloveBidAdapter.json index f48aaed9a51..81f282fcb98 100644 --- a/metadata/modules/yieldloveBidAdapter.json +++ b/metadata/modules/yieldloveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn-a.yieldlove.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:14.044Z", + "timestamp": "2026-02-23T16:47:15.998Z", "disclosures": [ { "identifier": "session_id", diff --git a/metadata/modules/yieldmoBidAdapter.json b/metadata/modules/yieldmoBidAdapter.json index 15b590bed34..03d2e47b63e 100644 --- a/metadata/modules/yieldmoBidAdapter.json +++ b/metadata/modules/yieldmoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://devicestoragedisclosureurl.yieldmo.com/deviceStorage.json": { - "timestamp": "2026-02-12T16:03:14.062Z", + "timestamp": "2026-02-23T16:47:16.022Z", "disclosures": [] } }, diff --git a/metadata/modules/zeotapIdPlusIdSystem.json b/metadata/modules/zeotapIdPlusIdSystem.json index da29d640798..9f3ad140787 100644 --- a/metadata/modules/zeotapIdPlusIdSystem.json +++ b/metadata/modules/zeotapIdPlusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spl.zeotap.com/assets/iab-disclosure.json": { - "timestamp": "2026-02-12T16:03:14.143Z", + "timestamp": "2026-02-23T16:47:16.089Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_globalBidAdapter.json b/metadata/modules/zeta_globalBidAdapter.json index 5b918202094..291c37e9782 100644 --- a/metadata/modules/zeta_globalBidAdapter.json +++ b/metadata/modules/zeta_globalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:14.262Z", + "timestamp": "2026-02-23T16:47:16.223Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_global_sspBidAdapter.json b/metadata/modules/zeta_global_sspBidAdapter.json index e114466444a..11d006cca2a 100644 --- a/metadata/modules/zeta_global_sspBidAdapter.json +++ b/metadata/modules/zeta_global_sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2026-02-12T16:03:14.357Z", + "timestamp": "2026-02-23T16:47:16.313Z", "disclosures": [] } }, diff --git a/package-lock.json b/package-lock.json index 7ebcabde344..3ac8558beac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.26.0-pre", + "version": "10.26.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.26.0-pre", + "version": "10.26.0", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", @@ -7441,11 +7441,14 @@ } }, "node_modules/baseline-browser-mapping": { - "version": "2.9.19", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.19.tgz", - "integrity": "sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==", + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.0.tgz", + "integrity": "sha512-lIyg0szRfYbiy67j9KN8IyeD7q7hcmqnJ1ddWmNt19ItGpNN64mnllmxUNFIOdOm6by97jlL6wfpTTJrmnjWAA==", "bin": { - "baseline-browser-mapping": "dist/cli.js" + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" } }, "node_modules/basic-auth": { @@ -7877,9 +7880,9 @@ "license": "MIT" }, "node_modules/caniuse-lite": { - "version": "1.0.30001769", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001769.tgz", - "integrity": "sha512-BCfFL1sHijQlBGWBMuJyhZUhzo7wer5sVj9hqekB/7xn0Ypy+pER/edCYQm4exbXj4WiySGp40P8UuTh6w1srg==", + "version": "1.0.30001774", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001774.tgz", + "integrity": "sha512-DDdwPGz99nmIEv216hKSgLD+D4ikHQHjBC/seF98N9CPqRX4M5mSxT9eTV6oyisnJcuzxtZy4n17yKKQYmYQOA==", "funding": [ { "type": "opencollective", @@ -27044,9 +27047,9 @@ "dev": true }, "baseline-browser-mapping": { - "version": "2.9.19", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.19.tgz", - "integrity": "sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==" + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.0.tgz", + "integrity": "sha512-lIyg0szRfYbiy67j9KN8IyeD7q7hcmqnJ1ddWmNt19ItGpNN64mnllmxUNFIOdOm6by97jlL6wfpTTJrmnjWAA==" }, "basic-auth": { "version": "2.0.1", @@ -27339,9 +27342,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001769", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001769.tgz", - "integrity": "sha512-BCfFL1sHijQlBGWBMuJyhZUhzo7wer5sVj9hqekB/7xn0Ypy+pER/edCYQm4exbXj4WiySGp40P8UuTh6w1srg==" + "version": "1.0.30001774", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001774.tgz", + "integrity": "sha512-DDdwPGz99nmIEv216hKSgLD+D4ikHQHjBC/seF98N9CPqRX4M5mSxT9eTV6oyisnJcuzxtZy4n17yKKQYmYQOA==" }, "chai": { "version": "4.4.1", diff --git a/package.json b/package.json index 4d0c20c0d1a..92025df5f0d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.26.0-pre", + "version": "10.26.0", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From 8dc0819f436470b6d31de70ab88b1dcc939249f4 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Mon, 23 Feb 2026 16:54:41 +0000 Subject: [PATCH 218/248] Increment version to 10.27.0-pre --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3ac8558beac..def9330652b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.26.0", + "version": "10.27.0-pre", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.26.0", + "version": "10.27.0-pre", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", diff --git a/package.json b/package.json index 92025df5f0d..daf5b472e5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.26.0", + "version": "10.27.0-pre", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From d59df0d9c28844ec798dd4cdb52c7999c52406ec Mon Sep 17 00:00:00 2001 From: driftpixelai <166716541+driftpixelai@users.noreply.github.com> Date: Mon, 23 Feb 2026 19:13:32 +0200 Subject: [PATCH 219/248] DPAI bid adapter: initial release (#14434) * New adapter DPAI * New adapter DPAI * New adapter DPAI: Added end line * New adapter DPAI: Added end line --------- Co-authored-by: Patrick McCann --- modules/dpaiBidAdapter.js | 19 + modules/dpaiBidAdapter.md | 79 ++++ test/spec/modules/dpaiBidAdapter_spec.js | 513 +++++++++++++++++++++++ 3 files changed, 611 insertions(+) create mode 100644 modules/dpaiBidAdapter.js create mode 100644 modules/dpaiBidAdapter.md create mode 100644 test/spec/modules/dpaiBidAdapter_spec.js diff --git a/modules/dpaiBidAdapter.js b/modules/dpaiBidAdapter.js new file mode 100644 index 00000000000..4cf359b196b --- /dev/null +++ b/modules/dpaiBidAdapter.js @@ -0,0 +1,19 @@ +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; +import { isBidRequestValid, buildRequests, interpretResponse, getUserSyncs } from '../libraries/teqblazeUtils/bidderUtils.js'; + +const BIDDER_CODE = 'dpai'; +const AD_URL = 'https://ssp.drift-pixel.ai/pbjs'; +const SYNC_URL = 'https://sync.drift-pixel.ai'; + +export const spec = { + code: BIDDER_CODE, + supportedMediaTypes: [BANNER, VIDEO, NATIVE], + + isBidRequestValid: isBidRequestValid(), + buildRequests: buildRequests(AD_URL), + interpretResponse, + getUserSyncs: getUserSyncs(SYNC_URL) +}; + +registerBidder(spec); diff --git a/modules/dpaiBidAdapter.md b/modules/dpaiBidAdapter.md new file mode 100644 index 00000000000..4882abdacc4 --- /dev/null +++ b/modules/dpaiBidAdapter.md @@ -0,0 +1,79 @@ +# Overview + +``` +Module Name: DPAI Bidder Adapter +Module Type: DPAI Bidder Adapter +Maintainer: adops@driftpixel.ai +``` + +# Description + +Connects to DPAI exchange for bids. +DPAI bid adapter supports Banner, Video (instream and outstream) and Native. + +# Test Parameters +``` + var adUnits = [ + // Will return static test banner + { + code: 'adunit1', + mediaTypes: { + banner: { + sizes: [ [300, 250], [320, 50] ], + } + }, + bids: [ + { + bidder: 'dpai', + params: { + placementId: 'testBanner', + } + } + ] + }, + { + code: 'addunit2', + mediaTypes: { + video: { + playerSize: [ [640, 480] ], + context: 'instream', + minduration: 5, + maxduration: 60, + } + }, + bids: [ + { + bidder: 'dpai', + params: { + placementId: 'testVideo', + } + } + ] + }, + { + code: 'addunit3', + mediaTypes: { + native: { + title: { + required: true + }, + body: { + required: true + }, + icon: { + required: true, + size: [64, 64] + } + } + }, + bids: [ + { + bidder: 'dpai', + params: { + placementId: 'testNative', + } + } + ] + } + ]; +``` diff --git a/test/spec/modules/dpaiBidAdapter_spec.js b/test/spec/modules/dpaiBidAdapter_spec.js new file mode 100644 index 00000000000..f412a3316f0 --- /dev/null +++ b/test/spec/modules/dpaiBidAdapter_spec.js @@ -0,0 +1,513 @@ +import { expect } from 'chai'; +import { spec } from '../../../modules/dpaiBidAdapter.js'; +import { BANNER, VIDEO, NATIVE } from '../../../src/mediaTypes.js'; +import { getUniqueIdentifierStr } from '../../../src/utils.js'; + +const bidder = 'dpai'; + +describe('DpaiBidAdapter', function () { + const userIdAsEids = [{ + source: 'test.org', + uids: [{ + id: '01**********', + atype: 1, + ext: { + third: '01***********' + } + }] + }]; + const bids = [ + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + placementId: 'testBanner', + }, + userIdAsEids + }, + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [VIDEO]: { + playerSize: [[300, 300]], + minduration: 5, + maxduration: 60 + } + }, + params: { + placementId: 'testVideo', + }, + userIdAsEids + }, + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [NATIVE]: { + native: { + title: { + required: true + }, + body: { + required: true + }, + icon: { + required: true, + size: [64, 64] + } + } + } + }, + params: { + placementId: 'testNative' + }, + userIdAsEids + } + ]; + + const invalidBid = { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + + } + } + + const bidderRequest = { + uspConsent: '1---', + gdprConsent: { + consentString: 'COvFyGBOvFyGBAbAAAENAPCAAOAAAAAAAAAAAEEUACCKAAA.IFoEUQQgAIQwgIwQABAEAAAAOIAACAIAAAAQAIAgEAACEAAAAAgAQBAAAAAAAGBAAgAAAAAAAFAAECAAAgAAQARAEQAAAAAJAAIAAgAAAYQEAAAQmAgBC3ZAYzUw', + vendorData: {} + }, + refererInfo: { + referer: 'https://test.com', + page: 'https://test.com' + }, + ortb2: { + device: { + w: 1512, + h: 982, + language: 'en-UK', + } + }, + timeout: 500 + }; + + describe('isBidRequestValid', function () { + it('Should return true if there are bidId, params and key parameters present', function () { + expect(spec.isBidRequestValid(bids[0])).to.be.true; + }); + it('Should return false if at least one of parameters is not present', function () { + expect(spec.isBidRequestValid(invalidBid)).to.be.false; + }); + }); + + describe('buildRequests', function () { + let serverRequest = spec.buildRequests(bids, bidderRequest); + + it('Creates a ServerRequest object with method, URL and data', function () { + expect(serverRequest).to.exist; + expect(serverRequest.method).to.exist; + expect(serverRequest.url).to.exist; + expect(serverRequest.data).to.exist; + }); + + it('Returns POST method', function () { + expect(serverRequest.method).to.equal('POST'); + }); + + it('Returns general data valid', function () { + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.all.keys( + 'deviceWidth', + 'deviceHeight', + 'device', + 'language', + 'secure', + 'host', + 'page', + 'placements', + 'coppa', + 'ccpa', + 'gdpr', + 'tmax', + 'bcat', + 'badv', + 'bapp', + 'battr' + ); + expect(data.deviceWidth).to.be.a('number'); + expect(data.deviceHeight).to.be.a('number'); + expect(data.language).to.be.a('string'); + expect(data.secure).to.be.within(0, 1); + expect(data.host).to.be.a('string'); + expect(data.page).to.be.a('string'); + expect(data.coppa).to.be.a('number'); + expect(data.gdpr).to.be.a('object'); + expect(data.ccpa).to.be.a('string'); + expect(data.tmax).to.be.a('number'); + expect(data.placements).to.have.lengthOf(3); + }); + + it('Returns valid placements', function () { + const { placements } = serverRequest.data; + for (let i = 0, len = placements.length; i < len; i++) { + const placement = placements[i]; + expect(placement.placementId).to.be.oneOf(['testBanner', 'testVideo', 'testNative']); + expect(placement.adFormat).to.be.oneOf([BANNER, VIDEO, NATIVE]); + expect(placement.bidId).to.be.a('string'); + expect(placement.schain).to.be.an('object'); + expect(placement.bidfloor).to.exist.and.to.equal(0); + expect(placement.type).to.exist.and.to.equal('publisher'); + expect(placement.eids).to.exist.and.to.be.deep.equal(userIdAsEids); + + if (placement.adFormat === BANNER) { + expect(placement.sizes).to.be.an('array'); + } + switch (placement.adFormat) { + case BANNER: + expect(placement.sizes).to.be.an('array'); + break; + case VIDEO: + expect(placement.playerSize).to.be.an('array'); + expect(placement.minduration).to.be.an('number'); + expect(placement.maxduration).to.be.an('number'); + break; + case NATIVE: + expect(placement.native).to.be.an('object'); + break; + } + } + }); + + it('Returns valid endpoints', function () { + const bids = [ + { + bidId: getUniqueIdentifierStr(), + bidder: bidder, + mediaTypes: { + [BANNER]: { + sizes: [[300, 250]] + } + }, + params: { + endpointId: 'testBanner', + }, + userIdAsEids + } + ]; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + + const { placements } = serverRequest.data; + for (let i = 0, len = placements.length; i < len; i++) { + const placement = placements[i]; + expect(placement.endpointId).to.be.oneOf(['testBanner', 'testVideo', 'testNative']); + expect(placement.adFormat).to.be.oneOf([BANNER, VIDEO, NATIVE]); + expect(placement.bidId).to.be.a('string'); + expect(placement.schain).to.be.an('object'); + expect(placement.bidfloor).to.exist.and.to.equal(0); + expect(placement.type).to.exist.and.to.equal('network'); + expect(placement.eids).to.exist.and.to.be.deep.equal(userIdAsEids); + + if (placement.adFormat === BANNER) { + expect(placement.sizes).to.be.an('array'); + } + switch (placement.adFormat) { + case BANNER: + expect(placement.sizes).to.be.an('array'); + break; + case VIDEO: + expect(placement.playerSize).to.be.an('array'); + expect(placement.minduration).to.be.an('number'); + expect(placement.maxduration).to.be.an('number'); + break; + case NATIVE: + expect(placement.native).to.be.an('object'); + break; + } + } + }); + + it('Returns data with gdprConsent and without uspConsent', function () { + delete bidderRequest.uspConsent; + serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data.gdpr).to.exist; + expect(data.gdpr).to.be.a('object'); + expect(data.gdpr).to.have.property('consentString'); + expect(data.gdpr).to.not.have.property('vendorData'); + expect(data.gdpr.consentString).to.equal(bidderRequest.gdprConsent.consentString); + expect(data.ccpa).to.not.exist; + delete bidderRequest.gdprConsent; + }); + + it('Returns data with uspConsent and without gdprConsent', function () { + bidderRequest.uspConsent = '1---'; + delete bidderRequest.gdprConsent; + serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data.ccpa).to.exist; + expect(data.ccpa).to.be.a('string'); + expect(data.ccpa).to.equal(bidderRequest.uspConsent); + expect(data.gdpr).to.not.exist; + }); + }); + + describe('gpp consent', function () { + it('bidderRequest.gppConsent', () => { + bidderRequest.gppConsent = { + gppString: 'abc123', + applicableSections: [8] + }; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.property('gpp'); + expect(data).to.have.property('gpp_sid'); + + delete bidderRequest.gppConsent; + }) + + it('bidderRequest.ortb2.regs.gpp', () => { + bidderRequest.ortb2 = bidderRequest.ortb2 || {}; + bidderRequest.ortb2.regs = bidderRequest.ortb2.regs || {}; + bidderRequest.ortb2.regs.gpp = 'abc123'; + bidderRequest.ortb2.regs.gpp_sid = [8]; + + const serverRequest = spec.buildRequests(bids, bidderRequest); + const data = serverRequest.data; + expect(data).to.be.an('object'); + expect(data).to.have.property('gpp'); + expect(data).to.have.property('gpp_sid'); + }) + }); + + describe('interpretResponse', function () { + it('Should interpret banner response', function () { + const banner = { + body: [{ + mediaType: 'banner', + width: 300, + height: 250, + cpm: 0.4, + ad: 'Test', + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const bannerResponses = spec.interpretResponse(banner); + expect(bannerResponses).to.be.an('array').that.is.not.empty; + const dataItem = bannerResponses[0]; + expect(dataItem).to.have.all.keys('requestId', 'cpm', 'width', 'height', 'ad', 'ttl', 'creativeId', + 'netRevenue', 'currency', 'dealId', 'mediaType', 'meta'); + expect(dataItem.requestId).to.equal(banner.body[0].requestId); + expect(dataItem.cpm).to.equal(banner.body[0].cpm); + expect(dataItem.width).to.equal(banner.body[0].width); + expect(dataItem.height).to.equal(banner.body[0].height); + expect(dataItem.ad).to.equal(banner.body[0].ad); + expect(dataItem.ttl).to.equal(banner.body[0].ttl); + expect(dataItem.creativeId).to.equal(banner.body[0].creativeId); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal(banner.body[0].currency); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should interpret video response', function () { + const video = { + body: [{ + vastUrl: 'test.com', + mediaType: 'video', + cpm: 0.5, + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const videoResponses = spec.interpretResponse(video); + expect(videoResponses).to.be.an('array').that.is.not.empty; + + const dataItem = videoResponses[0]; + expect(dataItem).to.have.all.keys('requestId', 'cpm', 'vastUrl', 'ttl', 'creativeId', + 'netRevenue', 'currency', 'dealId', 'mediaType', 'meta'); + expect(dataItem.requestId).to.equal('23fhj33i987f'); + expect(dataItem.cpm).to.equal(0.5); + expect(dataItem.vastUrl).to.equal('test.com'); + expect(dataItem.ttl).to.equal(120); + expect(dataItem.creativeId).to.equal('2'); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal('USD'); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should interpret native response', function () { + const native = { + body: [{ + mediaType: 'native', + native: { + clickUrl: 'test.com', + title: 'Test', + image: 'test.com', + impressionTrackers: ['test.com'], + }, + ttl: 120, + cpm: 0.4, + requestId: '23fhj33i987f', + creativeId: '2', + netRevenue: true, + currency: 'USD', + meta: { + advertiserDomains: ['google.com'], + advertiserId: 1234 + } + }] + }; + const nativeResponses = spec.interpretResponse(native); + expect(nativeResponses).to.be.an('array').that.is.not.empty; + + const dataItem = nativeResponses[0]; + expect(dataItem).to.have.keys('requestId', 'cpm', 'ttl', 'creativeId', 'netRevenue', 'currency', 'mediaType', 'native', 'meta'); + expect(dataItem.native).to.have.keys('clickUrl', 'impressionTrackers', 'title', 'image') + expect(dataItem.requestId).to.equal('23fhj33i987f'); + expect(dataItem.cpm).to.equal(0.4); + expect(dataItem.native.clickUrl).to.equal('test.com'); + expect(dataItem.native.title).to.equal('Test'); + expect(dataItem.native.image).to.equal('test.com'); + expect(dataItem.native.impressionTrackers).to.be.an('array').that.is.not.empty; + expect(dataItem.native.impressionTrackers[0]).to.equal('test.com'); + expect(dataItem.ttl).to.equal(120); + expect(dataItem.creativeId).to.equal('2'); + expect(dataItem.netRevenue).to.be.true; + expect(dataItem.currency).to.equal('USD'); + expect(dataItem.meta).to.be.an('object').that.has.any.key('advertiserDomains'); + }); + it('Should return an empty array if invalid banner response is passed', function () { + const invBanner = { + body: [{ + width: 300, + cpm: 0.4, + ad: 'Test', + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + + const serverResponses = spec.interpretResponse(invBanner); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid video response is passed', function () { + const invVideo = { + body: [{ + mediaType: 'video', + cpm: 0.5, + requestId: '23fhj33i987f', + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + const serverResponses = spec.interpretResponse(invVideo); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid native response is passed', function () { + const invNative = { + body: [{ + mediaType: 'native', + clickUrl: 'test.com', + title: 'Test', + impressionTrackers: ['test.com'], + ttl: 120, + requestId: '23fhj33i987f', + creativeId: '2', + netRevenue: true, + currency: 'USD', + }] + }; + const serverResponses = spec.interpretResponse(invNative); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + it('Should return an empty array if invalid response is passed', function () { + const invalid = { + body: [{ + ttl: 120, + creativeId: '2', + netRevenue: true, + currency: 'USD', + dealId: '1' + }] + }; + const serverResponses = spec.interpretResponse(invalid); + expect(serverResponses).to.be.an('array').that.is.empty; + }); + }); + + describe('getUserSyncs', function() { + it('Should return array of objects with proper sync config , include GDPR', function() { + const syncData = spec.getUserSyncs({}, {}, { + consentString: 'ALL', + gdprApplies: true, + }, {}); + expect(syncData).to.be.an('array').which.is.not.empty; + expect(syncData[0]).to.be.an('object') + expect(syncData[0].type).to.be.a('string') + expect(syncData[0].type).to.equal('image') + expect(syncData[0].url).to.be.a('string') + expect(syncData[0].url).to.equal('https://sync.drift-pixel.ai/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') + }); + it('Should return array of objects with proper sync config , include CCPA', function() { + const syncData = spec.getUserSyncs({}, {}, {}, { + consentString: '1---' + }); + expect(syncData).to.be.an('array').which.is.not.empty; + expect(syncData[0]).to.be.an('object') + expect(syncData[0].type).to.be.a('string') + expect(syncData[0].type).to.equal('image') + expect(syncData[0].url).to.be.a('string') + expect(syncData[0].url).to.equal('https://sync.drift-pixel.ai/image?pbjs=1&ccpa_consent=1---&coppa=0') + }); + it('Should return array of objects with proper sync config , include GPP', function() { + const syncData = spec.getUserSyncs({}, {}, {}, {}, { + gppString: 'abc123', + applicableSections: [8] + }); + expect(syncData).to.be.an('array').which.is.not.empty; + expect(syncData[0]).to.be.an('object') + expect(syncData[0].type).to.be.a('string') + expect(syncData[0].type).to.equal('image') + expect(syncData[0].url).to.be.a('string') + expect(syncData[0].url).to.equal('https://sync.drift-pixel.ai/image?pbjs=1&gpp=abc123&gpp_sid=8&coppa=0') + }); + }); +}); From c4c923e87ff81d0e56e6a5e13b4f15fec1225a21 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Mon, 23 Feb 2026 18:19:34 -0500 Subject: [PATCH 220/248] Core: remove stale transformBidParams references (#14512) --- libraries/ortbConverter/README.md | 2 +- libraries/pbsExtensions/processors/pbs.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/ortbConverter/README.md b/libraries/ortbConverter/README.md index c67533ae1de..691ff7bceb7 100644 --- a/libraries/ortbConverter/README.md +++ b/libraries/ortbConverter/README.md @@ -378,7 +378,7 @@ For ease of use, the conversion logic gives special meaning to some context prop ## Prebid Server extensions -If your endpoint is a Prebid Server instance, you may take advantage of the `pbsExtension` companion library, which adds a number of processors that can populate and parse PBS-specific extensions (typically prefixed `ext.prebid`); these include bidder params (with `transformBidParams`), bidder aliases, targeting keys, and others. +If your endpoint is a Prebid Server instance, you may take advantage of the `pbsExtension` companion library, which adds a number of processors that can populate and parse PBS-specific extensions (typically prefixed `ext.prebid`); these include bidder params, bidder aliases, targeting keys, and others. ```javascript import {pbsExtensions} from '../../libraries/pbsExtensions/pbsExtensions.js' diff --git a/libraries/pbsExtensions/processors/pbs.js b/libraries/pbsExtensions/processors/pbs.js index 3fa97ae674b..82a99954646 100644 --- a/libraries/pbsExtensions/processors/pbs.js +++ b/libraries/pbsExtensions/processors/pbs.js @@ -30,7 +30,7 @@ export const PBS_PROCESSORS = { }, [IMP]: { params: { - // sets bid ext.prebid.bidder.[bidderCode] with bidRequest.params, passed through transformBidParams if necessary + // sets bid ext.prebid.bidder.[bidderCode] with bidRequest.params fn: setImpBidParams }, adUnitCode: { From 30c1cfe439403839946d23c25a81676d033a4507 Mon Sep 17 00:00:00 2001 From: briguy-mobian Date: Thu, 26 Feb 2026 22:44:02 +0700 Subject: [PATCH 221/248] docs: adding documentation for mobianMpaaRating, mobianContentTaxonomy, mobianEsrbRating (#14513) --- modules/mobianRtdProvider.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/modules/mobianRtdProvider.md b/modules/mobianRtdProvider.md index ccfc43e3aab..dee9cc12773 100644 --- a/modules/mobianRtdProvider.md +++ b/modules/mobianRtdProvider.md @@ -160,6 +160,36 @@ p1 = Advertisers (via Campaign IDs) should target these personas *AP Values is in the early stages of testing and is subject to change. +------------------ + +Additional Results Fields (API response) + +The fields below are present in the Mobian Contextual API `results` schema and are useful for downstream interpretation of content maturity and taxonomy. + +mobianMpaaRating: + +Type: integer | null + +Description: MPAA-style maturity rating score represented as an integer value in the API response. + +Behavior when unavailable: omitted when null. + +mobianEsrbRating: + +Type: integer | null + +Description: ESRB-style maturity rating score represented as an integer value in the API response. + +Behavior when unavailable: omitted when null. + +mobianContentTaxonomy: + +Type: string[] + +Description: IAB content taxonomy categories (broad topic buckets such as "News" or "Health"). + +Behavior when unavailable: may be returned as an empty array. + ## GAM Targeting: On each page load, the Mobian RTD module finds each ad slot on the page and performs the following function: From 410e87e1cf340f4466e2687b3401edfbb98648d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:01:39 -0500 Subject: [PATCH 222/248] Bump minimatch (#14520) Bumps and [minimatch](https://github.com/isaacs/minimatch). These dependencies needed to be updated together. Updates `minimatch` from 3.1.2 to 3.1.4 - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.4) Updates `minimatch` from 9.0.5 to 9.0.7 - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.4) Updates `minimatch` from 5.1.6 to 5.1.8 - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.4) Updates `minimatch` from 9.0.4 to 9.0.7 - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.4) Updates `minimatch` from 10.0.3 to 10.2.3 - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.4) --- updated-dependencies: - dependency-name: minimatch dependency-version: 3.1.4 dependency-type: indirect - dependency-name: minimatch dependency-version: 9.0.7 dependency-type: indirect - dependency-name: minimatch dependency-version: 5.1.8 dependency-type: indirect - dependency-name: minimatch dependency-version: 9.0.7 dependency-type: indirect - dependency-name: minimatch dependency-version: 10.2.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 339 +++++++++++++++++++++++++++++----------------- 1 file changed, 211 insertions(+), 128 deletions(-) diff --git a/package-lock.json b/package-lock.json index def9330652b..c0693ef3397 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2967,28 +2967,6 @@ } } }, - "node_modules/@isaacs/balanced-match": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", - "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@isaacs/brace-expansion": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz", - "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==", - "dev": true, - "dependencies": { - "@isaacs/balanced-match": "^4.0.1" - }, - "engines": { - "node": "20 || >=22" - } - }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "dev": true, @@ -3980,24 +3958,34 @@ "typescript": ">=4.8.4 <6.0.0" } }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "engines": { + "node": "18 || 20 || >=22" + } + }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz", + "integrity": "sha512-fy6KJm2RawA5RcHkLa1z/ScpBeA762UF9KmZQxwIbDtRJrgLzM10depAiEQ+CXYcoiqW1/m96OAAoke2nE9EeA==", "dev": true, - "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.7.tgz", + "integrity": "sha512-MOwgjc8tfrpn5QQEvjijjmDVtMw2oL88ugTevzxQnzRLm6l3fVEF2gzU0kYeYYKD8C66+IdGX6peJ4MyUlUnPg==", "dev": true, - "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^5.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -10512,6 +10500,27 @@ } } }, + "node_modules/eslint-plugin-import-x/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/eslint-plugin-import-x/node_modules/brace-expansion": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz", + "integrity": "sha512-fy6KJm2RawA5RcHkLa1z/ScpBeA762UF9KmZQxwIbDtRJrgLzM10depAiEQ+CXYcoiqW1/m96OAAoke2nE9EeA==", + "dev": true, + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + } + }, "node_modules/eslint-plugin-import-x/node_modules/debug": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", @@ -10531,16 +10540,15 @@ } }, "node_modules/eslint-plugin-import-x/node_modules/minimatch": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", - "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", + "version": "10.2.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.3.tgz", + "integrity": "sha512-Rwi3pnapEqirPSbWbrZaa6N3nmqq4Xer/2XooiOKyV3q12ML06f7MOuc5DVH8ONZIFhwIYQ3yzPH4nt7iWHaTg==", "dev": true, - "license": "ISC", "dependencies": { - "@isaacs/brace-expansion": "^5.0.0" + "brace-expansion": "^5.0.2" }, "engines": { - "node": "20 || >=22" + "node": "18 || 20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -11586,11 +11594,10 @@ } }, "node_modules/filelist/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.8.tgz", + "integrity": "sha512-7RN35vit8DeBclkofOVmBY0eDAZZQd1HzmukRdSyz95CRh8FT54eqnbj0krQr3mrHR6sfRyYkyhwBWjoV5uqlQ==", "dev": true, - "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -12272,22 +12279,34 @@ "node": ">= 10.13.0" } }, + "node_modules/glob/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "engines": { + "node": "18 || 20 || >=22" + } + }, "node_modules/glob/node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz", + "integrity": "sha512-fy6KJm2RawA5RcHkLa1z/ScpBeA762UF9KmZQxwIbDtRJrgLzM10depAiEQ+CXYcoiqW1/m96OAAoke2nE9EeA==", "dev": true, - "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" } }, "node_modules/glob/node_modules/minimatch": { - "version": "9.0.5", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.7.tgz", + "integrity": "sha512-MOwgjc8tfrpn5QQEvjijjmDVtMw2oL88ugTevzxQnzRLm6l3fVEF2gzU0kYeYYKD8C66+IdGX6peJ4MyUlUnPg==", "dev": true, - "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^5.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -15483,6 +15502,15 @@ "webpack": "^5.0.0" } }, + "node_modules/karma-webpack/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "engines": { + "node": "18 || 20 || >=22" + } + }, "node_modules/karma-webpack/node_modules/glob": { "version": "7.2.3", "dev": true, @@ -15503,9 +15531,10 @@ } }, "node_modules/karma-webpack/node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.4.tgz", + "integrity": "sha512-twmL+S8+7yIsE9wsqgzU3E8/LumN3M3QELrBZ20OdmQ9jB2JvW5oZtBEmft84k/Gs5CG9mqtWc6Y9vW+JEzGxw==", "dev": true, - "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -15514,11 +15543,12 @@ } }, "node_modules/karma-webpack/node_modules/minimatch": { - "version": "9.0.4", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.7.tgz", + "integrity": "sha512-MOwgjc8tfrpn5QQEvjijjmDVtMw2oL88ugTevzxQnzRLm6l3fVEF2gzU0kYeYYKD8C66+IdGX6peJ4MyUlUnPg==", "dev": true, - "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^5.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -15528,13 +15558,15 @@ } }, "node_modules/karma-webpack/node_modules/minimatch/node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz", + "integrity": "sha512-fy6KJm2RawA5RcHkLa1z/ScpBeA762UF9KmZQxwIbDtRJrgLzM10depAiEQ+CXYcoiqW1/m96OAAoke2nE9EeA==", "dev": true, - "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" } }, "node_modules/karma/node_modules/ansi-styles": { @@ -16170,9 +16202,10 @@ } }, "node_modules/minimatch": { - "version": "3.1.2", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.4.tgz", + "integrity": "sha512-twmL+S8+7yIsE9wsqgzU3E8/LumN3M3QELrBZ20OdmQ9jB2JvW5oZtBEmft84k/Gs5CG9mqtWc6Y9vW+JEzGxw==", "dev": true, - "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -16436,9 +16469,10 @@ } }, "node_modules/mocha/node_modules/minimatch": { - "version": "5.1.6", + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.8.tgz", + "integrity": "sha512-7RN35vit8DeBclkofOVmBY0eDAZZQd1HzmukRdSyz95CRh8FT54eqnbj0krQr3mrHR6sfRyYkyhwBWjoV5uqlQ==", "dev": true, - "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -16648,22 +16682,34 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/multimatch/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "engines": { + "node": "18 || 20 || >=22" + } + }, "node_modules/multimatch/node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz", + "integrity": "sha512-fy6KJm2RawA5RcHkLa1z/ScpBeA762UF9KmZQxwIbDtRJrgLzM10depAiEQ+CXYcoiqW1/m96OAAoke2nE9EeA==", "dev": true, "dependencies": { - "balanced-match": "^1.0.0" + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" } }, "node_modules/multimatch/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.7.tgz", + "integrity": "sha512-MOwgjc8tfrpn5QQEvjijjmDVtMw2oL88ugTevzxQnzRLm6l3fVEF2gzU0kYeYYKD8C66+IdGX6peJ4MyUlUnPg==", "dev": true, "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^5.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -18263,9 +18309,10 @@ } }, "node_modules/readdir-glob/node_modules/minimatch": { - "version": "5.1.6", + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.8.tgz", + "integrity": "sha512-7RN35vit8DeBclkofOVmBY0eDAZZQd1HzmukRdSyz95CRh8FT54eqnbj0krQr3mrHR6sfRyYkyhwBWjoV5uqlQ==", "dev": true, - "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -24086,21 +24133,6 @@ "dev": true, "requires": {} }, - "@isaacs/balanced-match": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", - "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", - "dev": true - }, - "@isaacs/brace-expansion": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.1.tgz", - "integrity": "sha512-WMz71T1JS624nWj2n2fnYAuPovhv7EUhk69R6i9dsVyzxt5eM3bjwvgk9L+APE1TRscGysAVMANkB0jh0LQZrQ==", - "dev": true, - "requires": { - "@isaacs/balanced-match": "^4.0.1" - } - }, "@isaacs/cliui": { "version": "8.0.2", "dev": true, @@ -24773,22 +24805,28 @@ "ts-api-utils": "^2.1.0" }, "dependencies": { + "balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true + }, "brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz", + "integrity": "sha512-fy6KJm2RawA5RcHkLa1z/ScpBeA762UF9KmZQxwIbDtRJrgLzM10depAiEQ+CXYcoiqW1/m96OAAoke2nE9EeA==", "dev": true, "requires": { - "balanced-match": "^1.0.0" + "balanced-match": "^4.0.2" } }, "minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.7.tgz", + "integrity": "sha512-MOwgjc8tfrpn5QQEvjijjmDVtMw2oL88ugTevzxQnzRLm6l3fVEF2gzU0kYeYYKD8C66+IdGX6peJ4MyUlUnPg==", "dev": true, "requires": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^5.0.2" } }, "semver": { @@ -29183,6 +29221,21 @@ "unrs-resolver": "^1.9.2" }, "dependencies": { + "balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true + }, + "brace-expansion": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz", + "integrity": "sha512-fy6KJm2RawA5RcHkLa1z/ScpBeA762UF9KmZQxwIbDtRJrgLzM10depAiEQ+CXYcoiqW1/m96OAAoke2nE9EeA==", + "dev": true, + "requires": { + "balanced-match": "^4.0.2" + } + }, "debug": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", @@ -29193,12 +29246,12 @@ } }, "minimatch": { - "version": "10.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", - "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", + "version": "10.2.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.3.tgz", + "integrity": "sha512-Rwi3pnapEqirPSbWbrZaa6N3nmqq4Xer/2XooiOKyV3q12ML06f7MOuc5DVH8ONZIFhwIYQ3yzPH4nt7iWHaTg==", "dev": true, "requires": { - "@isaacs/brace-expansion": "^5.0.0" + "brace-expansion": "^5.0.2" } }, "ms": { @@ -29759,9 +29812,9 @@ } }, "minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.8.tgz", + "integrity": "sha512-7RN35vit8DeBclkofOVmBY0eDAZZQd1HzmukRdSyz95CRh8FT54eqnbj0krQr3mrHR6sfRyYkyhwBWjoV5uqlQ==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -30154,20 +30207,28 @@ "path-scurry": "^1.11.1" }, "dependencies": { + "balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true + }, "brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz", + "integrity": "sha512-fy6KJm2RawA5RcHkLa1z/ScpBeA762UF9KmZQxwIbDtRJrgLzM10depAiEQ+CXYcoiqW1/m96OAAoke2nE9EeA==", "dev": true, "requires": { - "balanced-match": "^1.0.0" + "balanced-match": "^4.0.2" } }, "minimatch": { - "version": "9.0.5", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.7.tgz", + "integrity": "sha512-MOwgjc8tfrpn5QQEvjijjmDVtMw2oL88ugTevzxQnzRLm6l3fVEF2gzU0kYeYYKD8C66+IdGX6peJ4MyUlUnPg==", "dev": true, "requires": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^5.0.2" } } } @@ -32361,6 +32422,12 @@ "webpack-merge": "^4.1.5" }, "dependencies": { + "balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true + }, "glob": { "version": "7.2.3", "dev": true, @@ -32374,7 +32441,9 @@ }, "dependencies": { "minimatch": { - "version": "3.1.2", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.4.tgz", + "integrity": "sha512-twmL+S8+7yIsE9wsqgzU3E8/LumN3M3QELrBZ20OdmQ9jB2JvW5oZtBEmft84k/Gs5CG9mqtWc6Y9vW+JEzGxw==", "dev": true, "requires": { "brace-expansion": "^1.1.7" @@ -32383,19 +32452,21 @@ } }, "minimatch": { - "version": "9.0.4", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.7.tgz", + "integrity": "sha512-MOwgjc8tfrpn5QQEvjijjmDVtMw2oL88ugTevzxQnzRLm6l3fVEF2gzU0kYeYYKD8C66+IdGX6peJ4MyUlUnPg==", "dev": true, "requires": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^5.0.2" }, "dependencies": { "brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz", + "integrity": "sha512-fy6KJm2RawA5RcHkLa1z/ScpBeA762UF9KmZQxwIbDtRJrgLzM10depAiEQ+CXYcoiqW1/m96OAAoke2nE9EeA==", "dev": true, "requires": { - "balanced-match": "^1.0.0" + "balanced-match": "^4.0.2" } } } @@ -32745,7 +32816,9 @@ } }, "minimatch": { - "version": "3.1.2", + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.4.tgz", + "integrity": "sha512-twmL+S8+7yIsE9wsqgzU3E8/LumN3M3QELrBZ20OdmQ9jB2JvW5oZtBEmft84k/Gs5CG9mqtWc6Y9vW+JEzGxw==", "dev": true, "requires": { "brace-expansion": "^1.1.7" @@ -32913,7 +32986,9 @@ } }, "minimatch": { - "version": "5.1.6", + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.8.tgz", + "integrity": "sha512-7RN35vit8DeBclkofOVmBY0eDAZZQd1HzmukRdSyz95CRh8FT54eqnbj0krQr3mrHR6sfRyYkyhwBWjoV5uqlQ==", "dev": true, "requires": { "brace-expansion": "^2.0.1" @@ -33048,22 +33123,28 @@ "minimatch": "^9.0.3" }, "dependencies": { + "balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true + }, "brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.3.tgz", + "integrity": "sha512-fy6KJm2RawA5RcHkLa1z/ScpBeA762UF9KmZQxwIbDtRJrgLzM10depAiEQ+CXYcoiqW1/m96OAAoke2nE9EeA==", "dev": true, "requires": { - "balanced-match": "^1.0.0" + "balanced-match": "^4.0.2" } }, "minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.7.tgz", + "integrity": "sha512-MOwgjc8tfrpn5QQEvjijjmDVtMw2oL88ugTevzxQnzRLm6l3fVEF2gzU0kYeYYKD8C66+IdGX6peJ4MyUlUnPg==", "dev": true, "requires": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^5.0.2" } } } @@ -34056,7 +34137,9 @@ } }, "minimatch": { - "version": "5.1.6", + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.8.tgz", + "integrity": "sha512-7RN35vit8DeBclkofOVmBY0eDAZZQd1HzmukRdSyz95CRh8FT54eqnbj0krQr3mrHR6sfRyYkyhwBWjoV5uqlQ==", "dev": true, "requires": { "brace-expansion": "^2.0.1" From db117a9d3ae85cb945bc04c555e9cff937b09d95 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 11:02:03 -0500 Subject: [PATCH 223/248] Bump basic-ftp from 5.0.5 to 5.2.0 (#14522) Bumps [basic-ftp](https://github.com/patrickjuchli/basic-ftp) from 5.0.5 to 5.2.0. - [Release notes](https://github.com/patrickjuchli/basic-ftp/releases) - [Changelog](https://github.com/patrickjuchli/basic-ftp/blob/master/CHANGELOG.md) - [Commits](https://github.com/patrickjuchli/basic-ftp/compare/v5.0.5...v5.2.0) --- updated-dependencies: - dependency-name: basic-ftp dependency-version: 5.2.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index c0693ef3397..8da1c6e41dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7456,9 +7456,10 @@ "license": "MIT" }, "node_modules/basic-ftp": { - "version": "5.0.5", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.2.0.tgz", + "integrity": "sha512-VoMINM2rqJwJgfdHq6RiUudKt2BV+FY5ZFezP/ypmwayk68+NzzAQy4XXLlqsGD4MCzq3DrmNFD/uUmBJuGoXw==", "dev": true, - "license": "MIT", "engines": { "node": ">=10.0.0" } @@ -27103,7 +27104,9 @@ } }, "basic-ftp": { - "version": "5.0.5", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.2.0.tgz", + "integrity": "sha512-VoMINM2rqJwJgfdHq6RiUudKt2BV+FY5ZFezP/ypmwayk68+NzzAQy4XXLlqsGD4MCzq3DrmNFD/uUmBJuGoXw==", "dev": true }, "batch": { From 6101561b72f30962caa207f50e0cdcdc28193087 Mon Sep 17 00:00:00 2001 From: Paul Farrow Date: Thu, 26 Feb 2026 16:06:25 +0000 Subject: [PATCH 224/248] Chrome AI RTD Provider: fix QuotaExceededError with large page content (#14295) * Chrome AI RTD Provider: fix QuotaExceededError with large page content Added MAX_TEXT_LENGTH constant (1000 chars) and text truncation logic in getPageText() to prevent QuotaExceededError when Chrome AI APIs process pages with large amounts of text content. Without this fix, pages with extensive text content can cause the Chrome AI APIs (LanguageDetector, Summarizer) to throw QuotaExceededError exceptions. * Chrome AI RTD Provider: add unit tests for MAX_TEXT_LENGTH and text truncation Adds tests covering: - MAX_TEXT_LENGTH constant exists and equals 1000 - getPageText returns null for text below MIN_TEXT_LENGTH - getPageText returns null for empty text - getPageText returns full text when between MIN and MAX length - getPageText does not truncate text at exactly MAX_TEXT_LENGTH - getPageText truncates text exceeding MAX_TEXT_LENGTH - getPageText logs a message when truncating Co-authored-by: Cursor --------- Co-authored-by: Paul Farrow Co-authored-by: Cursor --- modules/chromeAiRtdProvider.js | 6 ++ test/spec/modules/chromeAiRtdProvider_spec.js | 65 +++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/modules/chromeAiRtdProvider.js b/modules/chromeAiRtdProvider.js index 9fd2d4c6639..75f17b6312a 100644 --- a/modules/chromeAiRtdProvider.js +++ b/modules/chromeAiRtdProvider.js @@ -15,6 +15,7 @@ export const CONSTANTS = Object.freeze({ STORAGE_KEY: 'chromeAi_detected_data', // Single key for both language and keywords MIN_TEXT_LENGTH: 20, ACTIVATION_EVENTS: ['click', 'keydown', 'mousedown', 'touchend', 'pointerdown', 'pointerup'], + MAX_TEXT_LENGTH: 1000, // Limit to prevent QuotaExceededError with Chrome AI APIs DEFAULT_CONFIG: { languageDetector: { enabled: true, @@ -94,6 +95,11 @@ export const getPageText = () => { logMessage(`${CONSTANTS.LOG_PRE_FIX} Not enough text content (length: ${text?.length || 0}) for processing.`); return null; } + // Limit text length to prevent QuotaExceededError with Chrome AI APIs + if (text.length > CONSTANTS.MAX_TEXT_LENGTH) { + logMessage(`${CONSTANTS.LOG_PRE_FIX} Truncating text from ${text.length} to ${CONSTANTS.MAX_TEXT_LENGTH} chars.`); + return text.substring(0, CONSTANTS.MAX_TEXT_LENGTH); + } return text; }; diff --git a/test/spec/modules/chromeAiRtdProvider_spec.js b/test/spec/modules/chromeAiRtdProvider_spec.js index 744f09ed4df..dfbf454bff9 100644 --- a/test/spec/modules/chromeAiRtdProvider_spec.js +++ b/test/spec/modules/chromeAiRtdProvider_spec.js @@ -135,6 +135,71 @@ describe('Chrome AI RTD Provider', function () { expect(chromeAiRtdProvider.CONSTANTS.SUBMODULE_NAME).to.equal('chromeAi'); expect(chromeAiRtdProvider.CONSTANTS.STORAGE_KEY).to.equal('chromeAi_detected_data'); expect(chromeAiRtdProvider.CONSTANTS.MIN_TEXT_LENGTH).to.be.a('number'); + expect(chromeAiRtdProvider.CONSTANTS.MAX_TEXT_LENGTH).to.be.a('number'); + expect(chromeAiRtdProvider.CONSTANTS.MAX_TEXT_LENGTH).to.equal(1000); + }); + }); + + // Test getPageText and text truncation + describe('getPageText (text truncation)', function () { + // Override document.body.textContent via Object.defineProperty so we can + // control the value returned to getPageText() without mutating the actual + // DOM (which would break the Karma test-runner UI). + function setBodyText(text) { + Object.defineProperty(document.body, 'textContent', { + get: () => text, + configurable: true + }); + } + + afterEach(function () { + // Remove the instance-level override to restore the inherited getter + delete document.body.textContent; + }); + + it('should return null for text shorter than MIN_TEXT_LENGTH', function () { + setBodyText('short'); + const result = chromeAiRtdProvider.getPageText(); + expect(result).to.be.null; + expect(logMessageStub.calledWith(sinon.match('Not enough text content'))).to.be.true; + }); + + it('should return null for empty text', function () { + setBodyText(''); + const result = chromeAiRtdProvider.getPageText(); + expect(result).to.be.null; + }); + + it('should return full text when length is between MIN and MAX', function () { + const text = 'A'.repeat(500); + setBodyText(text); + const result = chromeAiRtdProvider.getPageText(); + expect(result).to.equal(text); + expect(result).to.have.lengthOf(500); + }); + + it('should return text at exactly MAX_TEXT_LENGTH without truncating', function () { + const exactText = 'B'.repeat(chromeAiRtdProvider.CONSTANTS.MAX_TEXT_LENGTH); + setBodyText(exactText); + const result = chromeAiRtdProvider.getPageText(); + expect(result).to.equal(exactText); + expect(logMessageStub.calledWith(sinon.match('Truncating'))).to.be.false; + }); + + it('should truncate text exceeding MAX_TEXT_LENGTH', function () { + const longText = 'C'.repeat(2000); + setBodyText(longText); + const result = chromeAiRtdProvider.getPageText(); + expect(result).to.have.lengthOf(chromeAiRtdProvider.CONSTANTS.MAX_TEXT_LENGTH); + expect(result).to.equal('C'.repeat(1000)); + }); + + it('should log a message when truncating text', function () { + setBodyText('D'.repeat(2000)); + chromeAiRtdProvider.getPageText(); + expect(logMessageStub.calledWith( + sinon.match('Truncating text from 2000 to 1000') + )).to.be.true; }); }); From a718fce894b9266125eebf7b00f38a97b9f0f06d Mon Sep 17 00:00:00 2001 From: gregneuwo Date: Thu, 26 Feb 2026 17:08:05 +0100 Subject: [PATCH 225/248] Neuwo Rtd Module: Version v2.0.0 and Quality of Life Improvements (#14323) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add live display and access examples of Neuwo API data to example page * feat: add Prebid.js event timing tests to Neuwo RTD example page * style: standardize code style in Neuwo RTD example - Convert single quotes to double quotes for consistency - Format code with Prettier * docs: add guide for accessing Neuwo RTD data outside Prebid.js * feat: add concurrent bid request handling to Neuwo RTD Module * chore: standardize log message format in Neuwo RTD Module * feat: add product identifier to Neuwo API requests * docs: fix typo in test file name in Neuwo RTD Module documentation * style: format Neuwo RTD Module with Prettier - Add `// prettier-ignore` comment to preserve quoted keys in `IAB_CONTENT_TAXONOMY_MAP` - Apply Prettier formatting to *modules/neuwoRtdProvider.js* * test: add coverage for concurrent requests and product identifier in Neuwo RTD Module * feat: add per-tier IAB taxonomy filtering to Neuwo RTD Module Add optional filtering configuration for IAB Content and Audience taxonomies, allowing publishers to control the quantity and quality of categories injected into bid requests. - Add `iabTaxonomyFilters` parameter to module configuration for per-tier filtering - Implement `filterIabTaxonomyTier()` function to filter taxonomies by relevance threshold and limit count - Implement `filterIabTaxonomies()` function to apply filters across all tiers using tier key mapping - Add integration example checkbox to enable/disable filtering with hardcoded filter values * docs: add IAB taxonomy filtering documentation to Neuwo RTD Module * test: add error handling and edge case tests for Neuwo RTD Module - Add test for API URL construction when `neuwoApiUrl` contains existing query parameters - Add tests for error response handling: 404 errors, pending request cleanup, and retry behaviour - Add tests for concurrent requests with errors ensuring all callbacks are invoked - Add tests for JSON parsing errors in success callback - Add test for retry after JSON parsing error - Add test for missing `marketing_categories` field in API response - Add test for sorting items with undefined/null relevance values - Reorganise test structure: nest caching, URL stripping, and filtering describes under main `getBidRequestData` block - Add documentation for generating test coverage reports with viewing instructions * style: apply formatting to Neuwo RTD Module markdown documentation * refactor: remove name field from IAB segments in ORTB2 output - Update `buildIabData()` to only include `id` in segment objects - Remove `label` requirement; segments now only need valid `ID` - Update documentation examples to reflect simplified segment structure - Update unit tests to match new segment format * feat: migrate Neuwo RTD Module to new API architecture (v2.0.0) and maintain backward compatibility - Add version 2.0.0 with multi-version IAB Content Taxonomy support - Implement automatic API capability detection from endpoint URL format - Maintain backward compatibility with legacy GET endpoints - Consolidate default IAB Content Taxonomy version to "2.2" constant - Transform legacy API responses to unified segtax-based format - Add `buildIabFilterConfig()` for filter configuration conversion - Add `transformV1ResponseToV2()` and `transformSegmentsV1ToV2()` helpers - Refactor `buildIabData()` to dynamically process all tiers - Update `injectIabCategories()` to work with unified response format - Enhance JSDoc documentation with format examples and API details - Add conditional logging for POST request bodies - Optimise filtering: apply once before caching for legacy endpoints * test: update Neuwo RTD Module tests for new API architecture - Update all test mocks to use new segtax-based response format - Add tests for `buildIabFilterConfig()` function - Add tests for `injectIabCategories()` function - Add tests for `transformV1ResponseToV2()` function - Add tests for `transformSegmentsV1ToV2()` function - Update `buildIabData()` tests to use new tierData parameter structure - Add V1 API backward compatibility test suite with client-side filtering tests - Verify POST method and iabVersions query parameters for new API - Verify GET method and no iabVersions parameter for legacy V1 API - Update edge case tests for empty responses and error handling - Update integration tests for URL parameter handling with query strings - Remove hardcoded tier array constants (CONTENT_TIERS, AUDIENCE_TIERS) * docs: update Neuwo RTD Module documentation for new API version - Change default IAB Content Taxonomy version from "3.0" to "2.2" - Add IAB Content Taxonomy version "1.0" to supported values list - Add server-side filtering explanation to IAB Taxonomy Filtering section - Update Available Tiers table to focus on taxonomy types instead of API internals - Add recommended configuration comments for `auctionDelay` and `waitForIt` - Update all configuration examples to use "2.2" as default taxonomy version - Remove "How it works" section * feat: add OpenRTB 2.5 category fields support to Neuwo RTD Module Add support for populating OpenRTB 2.5 category fields (`site.cat`, `site.sectioncat`, `site.pagecat`, `site.content.cat`) with IAB Content Taxonomy 1.0 segments. Changes: - Add `enableOrtb25Fields` configuration parameter (default: true) - Add `extractCategoryIds()` helper function to extract segment IDs from tier data - Refactor `buildIabData()` to use `extractCategoryIds()` for code reuse - Extend `buildIabFilterConfig()` to apply filters to IAB 1.0 when feature enabled - Modify `getBidRequestData()` to request IAB 1.0 data (segtax 1) when feature enabled - Add warning when feature enabled with legacy API endpoint - Extend `injectIabCategories()` to populate four OpenRTB 2.5 category fields - Update version to 2.1.0 * ci: add OpenRTB 2.5 category fields support to integration example Changes: - Add checkbox UI control for `enableOrtb25Fields` option (default: checked) - Add display section for OpenRTB 2.5 category fields data - Extract and display `site.cat`, `site.sectioncat`, `site.pagecat`, and `site.content.cat` fields - Update `bidRequested` event handler to capture category fields - Add localStorage persistence for `enableOrtb25Fields` setting - Pass `enableOrtb25Fields` parameter to module configuration * test: add unit tests for OpenRTB 2.5 category fields Changes: - Add 11 new `buildIabFilterConfig()` tests for OpenRTB 2.5 feature (enabled/disabled scenarios) - Add 11 new `extractCategoryIds()` tests covering all edge cases - Add 11 new `injectIabCategories()` tests for category field injection - Update 5 existing `buildIabFilterConfig()` tests - Add 6 new `getBidRequestData()` integration tests for V2 API with feature enabled/disabled - Move legacy API compatibility tests from V2 section to V1 section * docs: add OpenRTB 2.5 category fields support documentation to Neuwo RTD Module Changes: - Add OpenRTB 2.5 feature description to module overview - Add `enableOrtb25Fields` parameter to parameters table - Add dedicated "OpenRTB 2.5 Category Fields" section with examples - Update ORTB2 data structure examples to show category fields - Add filtering section explaining IAB 1.0 filter application - Update "Accessing Neuwo Data" section with category field extraction example - Add "Building for Production" section with build command - Update segtax value in example (7 → 6) - Update version to 2.1.0 * perf: change Content-Type to text/plain to avoid CORS preflight * refactor: change /v1/iab endpoint from POST to GET with flattened query params Replace POST request with GET and send IAB taxonomy filters as flattened URL query parameters instead of JSON body to avoid CORS preflight requests. Changes: - Replace `buildIabFilterConfig()` with `buildFilterQueryParams()` function - Change output from nested object to array of query parameter strings (e.g., `["filter_6_1_limit=3"]`) - Remove POST method and request body from ajax call - Add filter parameters directly to URL for /v1/iab endpoint - Maintain OpenRTB 2.5 filter application (ContentTier1/2 → segtax 1) - Update all unit tests to test `buildFilterQueryParams()` instead of `buildIabFilterConfig()` - Update tests expecting POST requests to expect GET requests - Update tests checking request body to check URL parameters - Update version to 2.2.0 * feat: key cache by full API URL to support config changes between auctions - Replace global `cachedResponses` and `pendingRequests` singletons with objects keyed by `neuwoApiUrlFull` - Concurrent or sequential calls with different parameters (URL, taxonomy version, filters) maintain separate cache entries - Add LRU-style eviction capped at 10 entries to prevent unbounded cache growth - Log module version during `init()` - Add unit tests for cache isolation * fix: guard empty URLs, inject content/audience independently, allow `limit: 0` to suppress tiers - Separate JSON parsing from response processing into distinct try/catch blocks - Add `Array.isArray` guard to `extractCategoryIds` - Only cache valid object responses so failed requests can be retried - Rename `isV2Api` to `isIabEndpoint` for clarity - Fix typo in log message and JSDoc (POST -> GET) - Bump to 2.2.1 * fix: isolate legacy endpoint cache keys by taxonomy version and filters * fix: prevent duplicate filter query params when IAB Content Taxonomy is 1.0 * fix: only sort and filter taxonomy tiers when filter is configured * fix: detect /v1/iab endpoint from URL pathname instead of full string * fix: prevent duplicate `iabVersions=1` query param when content taxonomy is 1.0 --------- Co-authored-by: grzgm <125459798+grzgm@users.noreply.github.com> Co-authored-by: gregneuwo <226034698+gregneuwo@users.noreply.github.com> --- .../gpt/neuwoRtdProvider_example.html | 439 +- modules/neuwoRtdProvider.js | 793 ++- modules/neuwoRtdProvider.md | 279 +- test/spec/modules/neuwoRtdProvider_spec.js | 4465 +++++++++++++---- 4 files changed, 4891 insertions(+), 1085 deletions(-) diff --git a/integrationExamples/gpt/neuwoRtdProvider_example.html b/integrationExamples/gpt/neuwoRtdProvider_example.html index 3d6fef98995..68c95fe8b4f 100644 --- a/integrationExamples/gpt/neuwoRtdProvider_example.html +++ b/integrationExamples/gpt/neuwoRtdProvider_example.html @@ -26,28 +26,28 @@ var adUnits = [ { - code: '/19968336/header-bid-tag-1', + code: "/19968336/header-bid-tag-1", mediaTypes: { banner: { sizes: div_1_sizes } }, bids: [{ - bidder: 'appnexus', + bidder: "appnexus", params: { placementId: 13144370 } }] }, { - code: '/19968336/header-bid-tag-1', + code: "/19968336/header-bid-tag-1", mediaTypes: { banner: { sizes: div_2_sizes } }, bids: [{ - bidder: 'appnexus', + bidder: "appnexus", params: { placementId: 13144370 } @@ -86,12 +86,12 @@ // Custom Timeout logic in onSettingsUpdate() googletag.cmd.push(function () { - googletag.defineSlot('/19968336/header-bid-tag-1', div_1_sizes, 'div-1').addService(googletag.pubads()); + googletag.defineSlot("/19968336/header-bid-tag-1", div_1_sizes, "div-1").addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); googletag.cmd.push(function () { - googletag.defineSlot('/19968336/header-bid-tag-1', div_2_sizes, 'div-2').addService(googletag.pubads()); + googletag.defineSlot("/19968336/header-bid-tag-1", div_2_sizes, "div-2").addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); @@ -99,47 +99,65 @@ // 3. User Triggered Setup (RTD Module) function onSettingsUpdate() { - const inputNeuwoApiToken = document.getElementById('neuwo-api-token'); - const neuwoApiToken = inputNeuwoApiToken ? inputNeuwoApiToken.value : ''; + const inputNeuwoApiToken = document.getElementById("neuwo-api-token"); + const neuwoApiToken = inputNeuwoApiToken ? inputNeuwoApiToken.value : ""; if (!neuwoApiToken) { - alert('Please enter your token for Neuwo AI API to the field'); + alert("Please enter your token for Neuwo AI API to the field"); if (inputNeuwoApiToken) inputNeuwoApiToken.focus(); return; } - const inputNeuwoApiUrl = document.getElementById('neuwo-api-url'); - const neuwoApiUrl = inputNeuwoApiUrl ? inputNeuwoApiUrl.value : ''; + const inputNeuwoApiUrl = document.getElementById("neuwo-api-url"); + const neuwoApiUrl = inputNeuwoApiUrl ? inputNeuwoApiUrl.value : ""; if (!neuwoApiUrl) { - alert('Please enter Neuwo AI API url to the field'); + alert("Please enter Neuwo AI API url to the field"); if (inputNeuwoApiUrl) inputNeuwoApiUrl.focus(); return; } - const inputWebsiteToAnalyseUrl = document.getElementById('website-to-analyse-url'); + const inputWebsiteToAnalyseUrl = document.getElementById("website-to-analyse-url"); const websiteToAnalyseUrl = inputWebsiteToAnalyseUrl ? inputWebsiteToAnalyseUrl.value : undefined; - const inputIabContentTaxonomyVersion = document.getElementById('iab-content-taxonomy-version'); + const inputIabContentTaxonomyVersion = document.getElementById("iab-content-taxonomy-version"); const iabContentTaxonomyVersion = inputIabContentTaxonomyVersion ? inputIabContentTaxonomyVersion.value : undefined; // Cache Option - const inputEnableCache = document.getElementById('enable-cache'); + const inputEnableCache = document.getElementById("enable-cache"); const enableCache = inputEnableCache ? inputEnableCache.checked : undefined; + // OpenRTB 2.5 Category Fields Option + const inputEnableOrtb25Fields = document.getElementById("enable-ortb25-fields"); + const enableOrtb25Fields = inputEnableOrtb25Fields ? inputEnableOrtb25Fields.checked : true; + // URL Stripping Options - const inputStripAllQueryParams = document.getElementById('strip-all-query-params'); + const inputStripAllQueryParams = document.getElementById("strip-all-query-params"); const stripAllQueryParams = inputStripAllQueryParams ? inputStripAllQueryParams.checked : undefined; - const inputStripQueryParamsForDomains = document.getElementById('strip-query-params-for-domains'); - const stripQueryParamsForDomainsValue = inputStripQueryParamsForDomains ? inputStripQueryParamsForDomains.value.trim() : ''; - const stripQueryParamsForDomains = stripQueryParamsForDomainsValue ? stripQueryParamsForDomainsValue.split(',').map(d => d.trim()).filter(d => d) : undefined; + const inputStripQueryParamsForDomains = document.getElementById("strip-query-params-for-domains"); + const stripQueryParamsForDomainsValue = inputStripQueryParamsForDomains ? inputStripQueryParamsForDomains.value.trim() : ""; + const stripQueryParamsForDomains = stripQueryParamsForDomainsValue ? stripQueryParamsForDomainsValue.split(",").map(d => d.trim()).filter(d => d) : undefined; - const inputStripQueryParams = document.getElementById('strip-query-params'); - const stripQueryParamsValue = inputStripQueryParams ? inputStripQueryParams.value.trim() : ''; - const stripQueryParams = stripQueryParamsValue ? stripQueryParamsValue.split(',').map(p => p.trim()).filter(p => p) : undefined; + const inputStripQueryParams = document.getElementById("strip-query-params"); + const stripQueryParamsValue = inputStripQueryParams ? inputStripQueryParams.value.trim() : ""; + const stripQueryParams = stripQueryParamsValue ? stripQueryParamsValue.split(",").map(p => p.trim()).filter(p => p) : undefined; - const inputStripFragments = document.getElementById('strip-fragments'); + const inputStripFragments = document.getElementById("strip-fragments"); const stripFragments = inputStripFragments ? inputStripFragments.checked : undefined; + // IAB Taxonomy Filtering Option + const inputEnableFiltering = document.getElementById("enable-iab-filtering"); + const enableIabFiltering = inputEnableFiltering ? inputEnableFiltering.checked : false; + + // Build iabTaxonomyFilters object only if filtering is enabled + const iabTaxonomyFilters = enableIabFiltering ? { + ContentTier1: { limit: 1, threshold: 0.1 }, + ContentTier2: { limit: 2, threshold: 0.1 }, + ContentTier3: { limit: 3, threshold: 0.15 }, + AudienceTier3: { limit: 3, threshold: 0.2 }, + AudienceTier4: { limit: 5, threshold: 0.2 }, + AudienceTier5: { limit: 7, threshold: 0.3 }, + } : undefined; + pbjs.que.push(function () { pbjs.setConfig({ debug: true, @@ -155,10 +173,12 @@ websiteToAnalyseUrl, iabContentTaxonomyVersion, enableCache, + enableOrtb25Fields, stripAllQueryParams, stripQueryParamsForDomains, stripQueryParams, - stripFragments + stripFragments, + iabTaxonomyFilters, } } ] @@ -185,7 +205,7 @@

Basic Prebid.js Example using Neuwo Rtd Provider

- Looks like you're not following the testing environment setup, try accessing + Looks like you"re not following the testing environment setup, try accessing http://localhost:9999/integrationExamples/gpt/neuwoRtdProvider_example.html @@ -215,12 +235,14 @@

Neuwo Rtd Provider Configuration

- +

IAB Content Taxonomy Options

- +

Cache Options

@@ -231,6 +253,14 @@

Cache Options

+

OpenRTB 2.5 Category Fields

+
+ +
+

URL Cleaning Options

- +
- +
+

IAB Taxonomy Filtering Options

+
+ +
+ When enabled, uses these hardcoded filters:
+ • ContentTier1: top 1 (≥10% relevance)
+ • ContentTier2: top 2 (≥10% relevance)
+ • ContentTier3: top 3 (≥15% relevance)
+ • AudienceTier3: top 3 (≥20% relevance)
+ • AudienceTier4: top 5 (≥20% relevance)
+ • AudienceTier5: top 7 (≥30% relevance) +
+
+ @@ -259,10 +309,10 @@

Ad Examples

Div-1

-
- Ad spot div-1: This content will be replaced by prebid.js and/or related components once you click @@ -272,10 +322,10 @@

Div-1

Div-2

-
- Ad spot div-2: This content will be replaced by prebid.js and/or related components once you click @@ -286,82 +336,327 @@

Div-2

Neuwo Data in Bid Request

-

The retrieved data from Neuwo API is injected into the bid request as OpenRTB (ORTB2)`site.content.data` and - `user.data`. Full bid request can be inspected in Developer Tools Console under +

The retrieved data from Neuwo API is injected into the bid request as OpenRTB (ORTB2) + site.content.data and + user.data. Full bid request can be inspected in Developer Tools Console under INFO: NeuwoRTDModule injectIabCategories: post-injection bidsConfig

+

Neuwo Site Content Data

+
No data yet. Click "Update" to fetch data.
+

Neuwo User Data

+
No data yet. Click "Update" to fetch data.
+

Neuwo OpenRTB 2.5 Category Fields (IAB Content Taxonomy 1.0) Data

+
No data yet. Click "Update" to fetch data (requires enableOrtb25Fields and /v1/iab endpoint).
+
+ +
+

Accessing Neuwo Data in JavaScript

+

Listen to the bidRequested event to access the enriched ORTB2 data:

+
+pbjs.onEvent("bidRequested", function(bidRequest) {
+    const ortb2 = bidRequest.ortb2;
+    const neuwoSiteData = ortb2?.site?.content?.data?.find(d => d.name === "www.neuwo.ai");
+    const neuwoUserData = ortb2?.user?.data?.find(d => d.name === "www.neuwo.ai");
+    console.log("Neuwo data:", { siteContent: neuwoSiteData, user: neuwoUserData });
+});
+        
+

After clicking "Update", the Neuwo data is stored in the global neuwoData variable. Open + Developer Tools Console to see the logged data.

+

Note: Event timing tests for multiple Prebid.js events (auctionInit, bidRequested, + beforeBidderHttp, bidResponse, auctionEnd) are available in the page source code but are commented out. To + enable them, uncomment the timing test section in the JavaScript code.

+
+ +
+

For more information about Neuwo RTD Module configuration and accessing data retrieved from Neuwo API, see modules/neuwoRtdProvider.md.

+ +
banner
', + // no mtype + }] + }] + } + }; + const bidResponse = spec.interpretResponse(response, ortb26BidRequests)[0]; + expect(bidResponse.mediaType).to.equal('banner'); + }); + }); + }); }); describe('getUserSyncs', function () { From 734386e9c0290097d6989ff19d3f669a030dff37 Mon Sep 17 00:00:00 2001 From: cpcpn-emil <115714010+cpcpn-emil@users.noreply.github.com> Date: Thu, 26 Feb 2026 17:14:05 +0100 Subject: [PATCH 229/248] Conceptx bid adapter: Update request destination (#14420) * New adapter: concepx * Syntax change * Revert syntax change * Defensive check for response from bidder server * Add better validation for the request * Merge branch 'master' of https://github.com/prebid/Prebid.js * Don't append url on every buildrequest * Add gvlId to conceptX * Change conceptx adapter, to directly request our PBS * Add empty getUserSync, as the syncing will be delegated (runPbsCookieSync) --------- Co-authored-by: Patrick McCann --- modules/conceptxBidAdapter.js | 279 +++++++++++++++---- test/spec/modules/conceptxBidAdapter_spec.js | 212 +++++++++----- 2 files changed, 363 insertions(+), 128 deletions(-) diff --git a/modules/conceptxBidAdapter.js b/modules/conceptxBidAdapter.js index 67ebd88e4e4..eef57e0aaa8 100644 --- a/modules/conceptxBidAdapter.js +++ b/modules/conceptxBidAdapter.js @@ -1,81 +1,258 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'; import { BANNER } from '../src/mediaTypes.js'; -// import { logError, logInfo, logWarn, parseUrl } from '../src/utils.js'; const BIDDER_CODE = 'conceptx'; -const ENDPOINT_URL = 'https://conceptx.cncpt-central.com/openrtb'; -// const LOG_PREFIX = 'ConceptX: '; +const ENDPOINT_URL = 'https://cxba-s2s.cncpt.dk/openrtb2/auction'; const GVLID = 1340; export const spec = { code: BIDDER_CODE, supportedMediaTypes: [BANNER], gvlid: GVLID, + isBidRequestValid: function (bid) { - return !!(bid.bidId && bid.params.site && bid.params.adunit); + return !!(bid.bidId && bid.params && bid.params.adunit); }, buildRequests: function (validBidRequests, bidderRequest) { - // logWarn(LOG_PREFIX + 'all native assets containing URL should be sent as placeholders with sendId(icon, image, clickUrl, displayUrl, privacyLink, privacyIcon)'); const requests = []; - let requestUrl = `${ENDPOINT_URL}` - if (bidderRequest && bidderRequest.gdprConsent && bidderRequest.gdprConsent.gdprApplies) { - requestUrl += '?gdpr_applies=' + bidderRequest.gdprConsent.gdprApplies; - requestUrl += '&consentString=' + bidderRequest.gdprConsent.consentString; - } - for (var i = 0; i < validBidRequests.length; i++) { - const requestParent = { adUnits: [], meta: {} }; - const bid = validBidRequests[i] - const { adUnitCode, auctionId, bidId, bidder, bidderRequestId, ortb2 } = bid - requestParent.meta = { adUnitCode, auctionId, bidId, bidder, bidderRequestId, ortb2 } - - const { site, adunit } = bid.params - const adUnit = { site, adunit, targetId: bid.bidId } - if (bid.mediaTypes && bid.mediaTypes.banner && bid.mediaTypes.banner.sizes) adUnit.dimensions = bid.mediaTypes.banner.sizes - requestParent.adUnits.push(adUnit); + + for (let i = 0; i < validBidRequests.length; i++) { + const bid = validBidRequests[i]; + const { + adUnitCode, + auctionId, + bidId, + bidder, + bidderRequestId, + ortb2 = {}, + } = bid; + const params = bid.params || {}; + + // PBS URL + GDPR query params + let url = ENDPOINT_URL; + const query = []; + + // Only add GDPR params when gdprApplies is explicitly 0 or 1 + if (bidderRequest && bidderRequest.gdprConsent) { + let gdprApplies = bidderRequest.gdprConsent.gdprApplies; + if (typeof gdprApplies === 'boolean') { + gdprApplies = gdprApplies ? 1 : 0; + } + if (gdprApplies === 0 || gdprApplies === 1) { + query.push('gdpr_applies=' + gdprApplies); + if (bidderRequest.gdprConsent.consentString) { + query.push( + 'gdpr_consent=' + + encodeURIComponent(bidderRequest.gdprConsent.consentString) + ); + } + } + } + + if (query.length) { + url += '?' + query.join('&'); + } + + // site + const page = + params.site || (ortb2.site && ortb2.site.page) || ''; + const domain = + params.domain || (ortb2.site && ortb2.site.domain) || page; + + const site = { + id: domain || page || adUnitCode, + domain: domain || '', + page: page || '', + }; + + // banner sizes from mediaTypes.banner.sizes + const formats = []; + if ( + bid.mediaTypes && + bid.mediaTypes.banner && + bid.mediaTypes.banner.sizes + ) { + let sizes = bid.mediaTypes.banner.sizes; + if (sizes.length && typeof sizes[0] === 'number') { + sizes = [sizes]; + } + for (let j = 0; j < sizes.length; j++) { + const size = sizes[j]; + if (size && size.length === 2) { + formats.push({ w: size[0], h: size[1] }); + } + } + } + + const banner = formats.length ? { format: formats } : {}; + + // currency & timeout + let currency = 'DKK'; + if ( + bidderRequest && + bidderRequest.currency && + bidderRequest.currency.adServerCurrency + ) { + currency = bidderRequest.currency.adServerCurrency; + } + + const tmax = (bidderRequest && bidderRequest.timeout) || 500; + + // device + const ua = + typeof navigator !== 'undefined' && navigator.userAgent + ? navigator.userAgent + : 'Mozilla/5.0'; + const device = { ua }; + + // build OpenRTB request for PBS with stored requests + const ortbRequest = { + id: auctionId || bidId, + site, + device, + cur: [currency], + tmax, + imp: [ + { + id: bidId, + banner, + ext: { + prebid: { + storedrequest: { + id: params.adunit, + }, + }, + }, + }, + ], + ext: { + prebid: { + storedrequest: { + id: 'cx_global', + }, + custommeta: { + adUnitCode, + auctionId, + bidId, + bidder, + bidderRequestId, + }, + }, + }, + }; + + // GDPR in body + if (bidderRequest && bidderRequest.gdprConsent) { + let gdprAppliesBody = bidderRequest.gdprConsent.gdprApplies; + if (typeof gdprAppliesBody === 'boolean') { + gdprAppliesBody = gdprAppliesBody ? 1 : 0; + } + + if (!ortbRequest.user) ortbRequest.user = {}; + if (!ortbRequest.user.ext) ortbRequest.user.ext = {}; + + if (bidderRequest.gdprConsent.consentString) { + ortbRequest.user.ext.consent = + bidderRequest.gdprConsent.consentString; + } + + if (!ortbRequest.regs) ortbRequest.regs = {}; + if (!ortbRequest.regs.ext) ortbRequest.regs.ext = {}; + + if (gdprAppliesBody === 0 || gdprAppliesBody === 1) { + ortbRequest.regs.ext.gdpr = gdprAppliesBody; + } + } + + // user IDs -> user.ext.eids + if (bid.userIdAsEids && bid.userIdAsEids.length) { + if (!ortbRequest.user) ortbRequest.user = {}; + if (!ortbRequest.user.ext) ortbRequest.user.ext = {}; + ortbRequest.user.ext.eids = bid.userIdAsEids; + } + requests.push({ method: 'POST', - url: requestUrl, + url, options: { - withCredentials: false, + withCredentials: true, }, - data: JSON.stringify(requestParent), + data: JSON.stringify(ortbRequest), }); } return requests; }, - interpretResponse: function (serverResponse, bidRequest) { - const bidResponses = []; - const bidResponsesFromServer = serverResponse.body.bidResponses; - if (Array.isArray(bidResponsesFromServer) && bidResponsesFromServer.length === 0) { - return bidResponses - } - const firstBid = bidResponsesFromServer[0] - if (!firstBid) { - return bidResponses + interpretResponse: function (serverResponse, request) { + const body = + serverResponse && serverResponse.body ? serverResponse.body : {}; + + // PBS OpenRTB: seatbid[].bid[] + if ( + !body.seatbid || + !Array.isArray(body.seatbid) || + body.seatbid.length === 0 + ) { + return []; } - const firstSeat = firstBid.ads[0] - if (!firstSeat) { - return bidResponses + + const currency = body.cur || 'DKK'; + const bids = []; + + // recover referrer (site.page) from original request + let referrer = ''; + try { + if (request && request.data) { + const originalReq = + typeof request.data === 'string' + ? JSON.parse(request.data) + : request.data; + if (originalReq && originalReq.site && originalReq.site.page) { + referrer = originalReq.site.page; + } + } + } catch (_) {} + + for (let i = 0; i < body.seatbid.length; i++) { + const seatbid = body.seatbid[i]; + if (!seatbid.bid || !Array.isArray(seatbid.bid)) continue; + + for (let j = 0; j < seatbid.bid.length; j++) { + const b = seatbid.bid[j]; + + if (!b || typeof b.price !== 'number' || !b.adm) continue; + + bids.push({ + requestId: b.impid || b.id, + cpm: b.price, + width: b.w, + height: b.h, + creativeId: b.crid || b.id || '', + dealId: b.dealid || b.dealId || undefined, + currency, + netRevenue: true, + ttl: 300, + referrer, + ad: b.adm, + }); + } } - const bidResponse = { - requestId: firstSeat.requestId, - cpm: firstSeat.cpm, - width: firstSeat.width, - height: firstSeat.height, - creativeId: firstSeat.creativeId, - dealId: firstSeat.dealId, - currency: firstSeat.currency, - netRevenue: true, - ttl: firstSeat.ttl, - referrer: firstSeat.referrer, - ad: firstSeat.html - }; - bidResponses.push(bidResponse); - return bidResponses; + + return bids; + }, + + /** + * Cookie sync for conceptx is handled by the enrichment script's runPbsCookieSync, + * which calls https://cxba-s2s.cncpt.dk/cookie_sync with bidders. The PBS returns + * bidder_status with usersync URLs, and the script runs iframe/image syncs. + * The adapter does not return sync URLs here since those come from the cookie_sync + * endpoint, not the auction response. + */ + getUserSyncs: function () { + return []; }, +}; -} registerBidder(spec); diff --git a/test/spec/modules/conceptxBidAdapter_spec.js b/test/spec/modules/conceptxBidAdapter_spec.js index 8e9bd2f8cc0..02780045496 100644 --- a/test/spec/modules/conceptxBidAdapter_spec.js +++ b/test/spec/modules/conceptxBidAdapter_spec.js @@ -1,70 +1,75 @@ -// import or require modules necessary for the test, e.g.: -import { expect } from 'chai'; // may prefer 'assert' in place of 'expect' +import { expect } from 'chai'; import { spec } from 'modules/conceptxBidAdapter.js'; import { newBidder } from 'src/adapters/bidderFactory.js'; -// import { config } from 'src/config.js'; describe('conceptxBidAdapter', function () { - const URL = 'https://conceptx.cncpt-central.com/openrtb'; - - const ENDPOINT_URL = `${URL}`; - const ENDPOINT_URL_CONSENT = `${URL}?gdpr_applies=true&consentString=ihaveconsented`; + const ENDPOINT_URL = 'https://cxba-s2s.cncpt.dk/openrtb2/auction'; + const ENDPOINT_URL_CONSENT = + ENDPOINT_URL + '?gdpr_applies=1&gdpr_consent=ihaveconsented'; const adapter = newBidder(spec); const bidderRequests = [ { bidId: '123', bidder: 'conceptx', + adUnitCode: 'div-1', + auctionId: 'auc-1', params: { - site: 'example', - adunit: 'some-id-3' + site: 'example.com', + adunit: 'some-id-3', }, mediaTypes: { banner: { sizes: [[930, 180]], - } + }, }, - } - ] - - const singleBidRequest = { - bid: [ - { - bidId: '123', - } - ] - } + }, + ]; const serverResponse = { body: { - 'bidResponses': [ + id: 'resp-1', + cur: 'DKK', + seatbid: [ { - 'ads': [ + seat: 'conceptx', + bid: [ { - 'referrer': 'http://localhost/prebidpage_concept_bidder.html', - 'ttl': 360, - 'html': '

DUMMY

', - 'requestId': '214dfadd1f8826', - 'cpm': 46, - 'currency': 'DKK', - 'width': 930, - 'height': 180, - 'creativeId': 'FAKE-ID', - 'meta': { - 'mediaType': 'banner' - }, - 'netRevenue': true, - 'destinationUrls': { - 'destination': 'https://concept.dk' - } - } + id: 'bid-1', + impid: '123', + price: 46, + w: 930, + h: 180, + crid: 'FAKE-ID', + adm: '

DUMMY

', + }, ], - 'matchedAdCount': 1, - 'targetId': '214dfadd1f8826' - } - ] - } - } + }, + ], + }, + }; + + const requestPayload = { + data: JSON.stringify({ + id: 'auc-1', + site: { id: 'example.com', domain: 'example.com', page: 'example.com' }, + imp: [ + { + id: '123', + ext: { + prebid: { + storedrequest: { id: 'some-id-3' }, + }, + }, + }, + ], + ext: { + prebid: { + storedrequest: { id: 'cx_global' }, + }, + }, + }), + }; describe('inherited functions', function () { it('exists and is a function', function () { @@ -73,52 +78,105 @@ describe('conceptxBidAdapter', function () { }); describe('isBidRequestValid', function () { - it('should return true when required params found', function () { + it('should return true when bidId and params.adunit are present', function () { expect(spec.isBidRequestValid(bidderRequests[0])).to.equal(true); }); + + it('should return false when params.adunit is missing', function () { + expect( + spec.isBidRequestValid({ + bidId: '123', + bidder: 'conceptx', + params: { site: 'example' }, + }) + ).to.equal(false); + }); + + it('should return false when bidId is missing', function () { + expect( + spec.isBidRequestValid({ + bidder: 'conceptx', + params: { site: 'example', adunit: 'id-1' }, + }) + ).to.equal(false); + }); }); describe('buildRequests', function () { - it('Test requests', function () { - const request = spec.buildRequests(bidderRequests, {}); - expect(request.length).to.equal(1); - expect(request[0]).to.have.property('data'); - const bid = JSON.parse(request[0].data).adUnits[0] - expect(bid.site).to.equal('example'); - expect(bid.adunit).to.equal('some-id-3'); - expect(JSON.stringify(bid.dimensions)).to.equal(JSON.stringify([ - [930, 180]])); + it('should build OpenRTB request with stored requests', function () { + const requests = spec.buildRequests(bidderRequests, {}); + expect(requests).to.have.lengthOf(1); + expect(requests[0]).to.have.property('method', 'POST'); + expect(requests[0]).to.have.property('url', ENDPOINT_URL); + expect(requests[0]).to.have.property('data'); + + const payload = JSON.parse(requests[0].data); + expect(payload).to.have.property('site'); + expect(payload.site).to.have.property('id', 'example.com'); + expect(payload).to.have.property('imp'); + expect(payload.imp).to.have.lengthOf(1); + expect(payload.imp[0].ext.prebid.storedrequest).to.deep.equal({ + id: 'some-id-3', + }); + expect(payload.ext.prebid.storedrequest).to.deep.equal({ + id: 'cx_global', + }); + expect(payload.imp[0].banner.format).to.deep.equal([{ w: 930, h: 180 }]); + }); + + it('should include withCredentials in options', function () { + const requests = spec.buildRequests(bidderRequests, {}); + expect(requests[0].options).to.deep.include({ withCredentials: true }); }); }); describe('user privacy', function () { - it('should NOT send GDPR Consent data if gdprApplies equals undefined', function () { - const request = spec.buildRequests(bidderRequests, { gdprConsent: { gdprApplies: undefined, consentString: 'iDoNotConsent' } }); - expect(request.length).to.equal(1); - expect(request[0]).to.have.property('url') - expect(request[0].url).to.equal(ENDPOINT_URL); + it('should NOT add GDPR params to URL when gdprApplies is undefined', function () { + const requests = spec.buildRequests(bidderRequests, { + gdprConsent: { gdprApplies: undefined, consentString: 'iDoNotConsent' }, + }); + expect(requests[0].url).to.equal(ENDPOINT_URL); }); - it('should send GDPR Consent data if gdprApplies', function () { - const request = spec.buildRequests(bidderRequests, { gdprConsent: { gdprApplies: true, consentString: 'ihaveconsented' } }); - expect(request.length).to.equal(1); - expect(request[0]).to.have.property('url') - expect(request[0].url).to.equal(ENDPOINT_URL_CONSENT); + + it('should add gdpr_applies and gdpr_consent to URL when GDPR applies', function () { + const requests = spec.buildRequests(bidderRequests, { + gdprConsent: { gdprApplies: true, consentString: 'ihaveconsented' }, + }); + expect(requests[0].url).to.include('gdpr_applies=1'); + expect(requests[0].url).to.include('gdpr_consent=ihaveconsented'); }); }); describe('interpretResponse', function () { - it('should return valid response when passed valid server response', function () { - const interpretedResponse = spec.interpretResponse(serverResponse, singleBidRequest); - const ad = serverResponse.body.bidResponses[0].ads[0] - expect(interpretedResponse).to.have.lengthOf(1); - expect(interpretedResponse[0].cpm).to.equal(ad.cpm); - expect(interpretedResponse[0].width).to.equal(Number(ad.width)); - expect(interpretedResponse[0].height).to.equal(Number(ad.height)); - expect(interpretedResponse[0].creativeId).to.equal(ad.creativeId); - expect(interpretedResponse[0].currency).to.equal(ad.currency); - expect(interpretedResponse[0].netRevenue).to.equal(true); - expect(interpretedResponse[0].ad).to.equal(ad.html); - expect(interpretedResponse[0].ttl).to.equal(360); + it('should return valid bids from PBS seatbid format', function () { + const interpreted = spec.interpretResponse(serverResponse, requestPayload); + expect(interpreted).to.have.lengthOf(1); + expect(interpreted[0].requestId).to.equal('123'); + expect(interpreted[0].cpm).to.equal(46); + expect(interpreted[0].width).to.equal(930); + expect(interpreted[0].height).to.equal(180); + expect(interpreted[0].creativeId).to.equal('FAKE-ID'); + expect(interpreted[0].currency).to.equal('DKK'); + expect(interpreted[0].netRevenue).to.equal(true); + expect(interpreted[0].ad).to.equal('

DUMMY

'); + expect(interpreted[0].ttl).to.equal(300); + }); + + it('should return empty array when no seatbid', function () { + const emptyResponse = { body: { seatbid: [] } }; + expect(spec.interpretResponse(emptyResponse, {})).to.deep.equal([]); + }); + + it('should return empty array when seatbid is missing', function () { + const noSeatbid = { body: {} }; + expect(spec.interpretResponse(noSeatbid, {})).to.deep.equal([]); + }); + }); + + describe('getUserSyncs', function () { + it('should return empty array (sync handled by runPbsCookieSync)', function () { + const syncs = spec.getUserSyncs({ iframeEnabled: true, pixelEnabled: true }, [], {}, '', {}); + expect(syncs).to.deep.equal([]); }); }); }); From 698241b0472dc64c1f3040f2a8d54832c199051c Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Thu, 26 Feb 2026 11:21:41 -0500 Subject: [PATCH 230/248] Refactor TTL usage in ttdBidAdapter (#14517) --- modules/ttdBidAdapter.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ttdBidAdapter.js b/modules/ttdBidAdapter.js index 4598c3b8a7a..d985870b074 100644 --- a/modules/ttdBidAdapter.js +++ b/modules/ttdBidAdapter.js @@ -21,6 +21,7 @@ const BIDDER_CODE_LONG = 'thetradedesk'; const BIDDER_ENDPOINT = 'https://direct.adsrvr.org/bid/bidder/'; const BIDDER_ENDPOINT_HTTP2 = 'https://d2.adsrvr.org/bid/bidder/'; const USER_SYNC_ENDPOINT = 'https://match.adsrvr.org'; +const TTL = 360; const MEDIA_TYPE = { BANNER: 1, @@ -143,6 +144,8 @@ function getImpression(bidRequest) { }; const gpid = utils.deepAccess(bidRequest, 'ortb2Imp.ext.gpid'); + const exp = TTL; + impression.exp = exp; const tagid = gpid || bidRequest.params.placementId; if (tagid) { impression.tagid = tagid; @@ -477,7 +480,7 @@ export const spec = { dealId: bid.dealid || null, currency: currency || 'USD', netRevenue: true, - ttl: bid.ttl || 360, + ttl: bid.ttl || TTL, meta: {}, }; From a00315e867c18875a0626f058b0801251e86c0dc Mon Sep 17 00:00:00 2001 From: Roger <104763658+rogerDyl@users.noreply.github.com> Date: Thu, 26 Feb 2026 17:23:02 +0100 Subject: [PATCH 231/248] Shaping rules: Make some TypeScript fields optional (#14514) * Make TypeScript fields optional * Fix condition name --- modules/rules/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/rules/index.ts b/modules/rules/index.ts index a6667982b5e..1bbea07c5d2 100644 --- a/modules/rules/index.ts +++ b/modules/rules/index.ts @@ -55,7 +55,7 @@ interface ModelGroupSchema { /** Function name inside the schema */ function: string; /** Arguments for the schema function */ - args: any[]; + args?: any[]; } /** @@ -66,7 +66,7 @@ interface ModelGroup { /** Determines selection probability; only one object within the group is chosen */ weight: number; /** Indicates whether this model group is selected (set automatically based on weight) */ - selected: boolean; + selected?: boolean; /** Optional key used to produce aTags, identifying experiments or optimization targets */ analyticsKey: string; /** Version identifier for analytics */ @@ -82,7 +82,7 @@ interface ModelGroup { */ rules: [{ /** Conditions that must be met for the rule to apply */ - condition: string[]; + conditions: string[]; /** Resulting actions triggered when conditions are met */ results: [ { @@ -138,7 +138,7 @@ interface RulesConfig { /** One or more independent sets of rules */ ruleSets: RuleSet[]; /** Optional timestamp of the last update (ISO 8601 format: `YYYY-MM-DDThh:mm:ss[.sss][Z or ±hh:mm]`) */ - timestamp: string; + timestamp?: string; /** Enables or disables the module. Default: `true` */ enabled: boolean; } From 4d062ac6a26ffd5137502732a091bf594a3a404b Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Thu, 26 Feb 2026 11:26:40 -0500 Subject: [PATCH 232/248] OMS Adapter: extract shared OMS/Onomagic helper utilities (#14508) * OMS Adapter: extract shared OMS/Onomagic helper utilities * OMS Adapter: extract shared banner size/viewability processing * OMS Adapter: isolate viewability helpers to avoid eager side effects --- libraries/omsUtils/index.js | 27 ++++++++++++++- libraries/omsUtils/viewability.js | 19 +++++++++++ modules/omsBidAdapter.js | 52 ++++------------------------ modules/onomagicBidAdapter.js | 57 +++++-------------------------- 4 files changed, 60 insertions(+), 95 deletions(-) create mode 100644 libraries/omsUtils/viewability.js diff --git a/libraries/omsUtils/index.js b/libraries/omsUtils/index.js index b2523749080..733b257a4c8 100644 --- a/libraries/omsUtils/index.js +++ b/libraries/omsUtils/index.js @@ -1,4 +1,4 @@ -import {getWindowSelf, getWindowTop, isFn, isPlainObject} from '../../src/utils.js'; +import {createTrackPixelHtml, getWindowSelf, getWindowTop, isArray, isFn, isPlainObject} from '../../src/utils.js'; export function getBidFloor(bid) { if (!isFn(bid.getFloor)) { @@ -21,3 +21,28 @@ export function isIframe() { return true; } } + +export function getProcessedSizes(sizes = []) { + const bidSizes = ((isArray(sizes) && isArray(sizes[0])) ? sizes : [sizes]).filter(size => isArray(size)); + return bidSizes.map(size => ({w: parseInt(size[0], 10), h: parseInt(size[1], 10)})); +} + +export function getDeviceType(ua = navigator.userAgent, sua) { + if (sua?.mobile || (/(ios|ipod|ipad|iphone|android)/i).test(ua)) { + return 1; + } + + if ((/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i).test(ua)) { + return 3; + } + + return 2; +} + +export function getAdMarkup(bid) { + let adm = bid.adm; + if ('nurl' in bid) { + adm += createTrackPixelHtml(bid.nurl); + } + return adm; +} diff --git a/libraries/omsUtils/viewability.js b/libraries/omsUtils/viewability.js new file mode 100644 index 00000000000..ce62f74b841 --- /dev/null +++ b/libraries/omsUtils/viewability.js @@ -0,0 +1,19 @@ +import {getWindowTop} from '../../src/utils.js'; +import {percentInView} from '../percentInView/percentInView.js'; +import {getMinSize} from '../sizeUtils/sizeUtils.js'; +import {isIframe} from './index.js'; + +export function getRoundedViewability(adUnitCode, processedSizes) { + const element = document.getElementById(adUnitCode); + const minSize = getMinSize(processedSizes); + const viewabilityAmount = isViewabilityMeasurable(element) ? getViewability(element, minSize) : 'na'; + return isNaN(viewabilityAmount) ? viewabilityAmount : Math.round(viewabilityAmount); +} + +function isViewabilityMeasurable(element) { + return !isIframe() && element !== null; +} + +function getViewability(element, {w, h} = {}) { + return getWindowTop().document.visibilityState === 'visible' ? percentInView(element, {w, h}) : 0; +} diff --git a/modules/omsBidAdapter.js b/modules/omsBidAdapter.js index 18f7c7aa12a..9eab71254d3 100644 --- a/modules/omsBidAdapter.js +++ b/modules/omsBidAdapter.js @@ -1,10 +1,7 @@ import { - isArray, - getWindowTop, deepSetValue, logError, logWarn, - createTrackPixelHtml, getBidIdParameter, getUniqueIdentifierStr, formatQS, @@ -13,10 +10,9 @@ import { import {registerBidder} from '../src/adapters/bidderFactory.js'; import { BANNER, VIDEO } from '../src/mediaTypes.js'; import {ajax} from '../src/ajax.js'; -import {percentInView} from '../libraries/percentInView/percentInView.js'; import {getUserSyncParams} from '../libraries/userSyncUtils/userSyncUtils.js'; -import {getMinSize} from '../libraries/sizeUtils/sizeUtils.js'; -import {getBidFloor, isIframe} from '../libraries/omsUtils/index.js'; +import {getAdMarkup, getBidFloor, getDeviceType, getProcessedSizes} from '../libraries/omsUtils/index.js'; +import {getRoundedViewability} from '../libraries/omsUtils/viewability.js'; const BIDDER_CODE = 'oms'; const URL = 'https://rt.marphezis.com/hb'; @@ -39,15 +35,9 @@ export const spec = { function buildRequests(bidReqs, bidderRequest) { try { const impressions = bidReqs.map(bid => { - let bidSizes = bid?.mediaTypes?.banner?.sizes || bid.sizes || []; - bidSizes = ((isArray(bidSizes) && isArray(bidSizes[0])) ? bidSizes : [bidSizes]); - bidSizes = bidSizes.filter(size => isArray(size)); - const processedSizes = bidSizes.map(size => ({w: parseInt(size[0], 10), h: parseInt(size[1], 10)})); - - const element = document.getElementById(bid.adUnitCode); - const minSize = getMinSize(processedSizes); - const viewabilityAmount = _isViewabilityMeasurable(element) ? _getViewability(element, getWindowTop(), minSize) : 'na'; - const viewabilityAmountRounded = isNaN(viewabilityAmount) ? viewabilityAmount : Math.round(viewabilityAmount); + const bidSizes = bid?.mediaTypes?.banner?.sizes || bid.sizes || []; + const processedSizes = getProcessedSizes(bidSizes); + const viewabilityAmountRounded = getRoundedViewability(bid.adUnitCode, processedSizes); const gpidData = _extractGpidData(bid); const imp = { @@ -101,7 +91,7 @@ function buildRequests(bidReqs, bidderRequest) { } }, device: { - devicetype: _getDeviceType(navigator.userAgent, bidderRequest?.ortb2?.device?.sua), + devicetype: getDeviceType(navigator.userAgent, bidderRequest?.ortb2?.device?.sua), w: screen.width, h: screen.height }, @@ -192,7 +182,7 @@ function interpretResponse(serverResponse) { bidResponse.vastXml = bid.adm; } else { bidResponse.mediaType = BANNER; - bidResponse.ad = _getAdMarkup(bid); + bidResponse.ad = getAdMarkup(bid); } return bidResponse; @@ -244,18 +234,6 @@ function _trackEvent(endpoint, data) { }); } -function _getDeviceType(ua, sua) { - if (sua?.mobile || (/(ios|ipod|ipad|iphone|android)/i).test(ua)) { - return 1 - } - - if ((/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i).test(ua)) { - return 3 - } - - return 2 -} - function _getGpp(bidderRequest) { if (bidderRequest?.gppConsent != null) { return bidderRequest.gppConsent; @@ -266,22 +244,6 @@ function _getGpp(bidderRequest) { ); } -function _getAdMarkup(bid) { - let adm = bid.adm; - if ('nurl' in bid) { - adm += createTrackPixelHtml(bid.nurl); - } - return adm; -} - -function _isViewabilityMeasurable(element) { - return !isIframe() && element !== null; -} - -function _getViewability(element, topWin, {w, h} = {}) { - return getWindowTop().document.visibilityState === 'visible' ? percentInView(element, {w, h}) : 0; -} - function _extractGpidData(bid) { return { gpid: bid?.ortb2Imp?.ext?.gpid, diff --git a/modules/onomagicBidAdapter.js b/modules/onomagicBidAdapter.js index c3176d7abcc..f15ef2e63b1 100644 --- a/modules/onomagicBidAdapter.js +++ b/modules/onomagicBidAdapter.js @@ -1,17 +1,14 @@ import { _each, - createTrackPixelHtml, getBidIdParameter, + getBidIdParameter, getUniqueIdentifierStr, - getWindowTop, - isArray, logError, logWarn } from '../src/utils.js'; import {registerBidder} from '../src/adapters/bidderFactory.js'; import {BANNER} from '../src/mediaTypes.js'; -import { percentInView } from '../libraries/percentInView/percentInView.js'; -import {getMinSize} from '../libraries/sizeUtils/sizeUtils.js'; -import {getBidFloor, isIframe} from '../libraries/omsUtils/index.js'; +import {getAdMarkup, getBidFloor, getDeviceType, getProcessedSizes} from '../libraries/omsUtils/index.js'; +import {getRoundedViewability} from '../libraries/omsUtils/viewability.js'; const BIDDER_CODE = 'onomagic'; const URL = 'https://bidder.onomagic.com/hb'; @@ -34,17 +31,9 @@ function buildRequests(bidReqs, bidderRequest) { const onomagicImps = []; const publisherId = getBidIdParameter('publisherId', bidReqs[0].params); _each(bidReqs, function (bid) { - let bidSizes = (bid.mediaTypes && bid.mediaTypes.banner && bid.mediaTypes.banner.sizes) || bid.sizes; - bidSizes = ((isArray(bidSizes) && isArray(bidSizes[0])) ? bidSizes : [bidSizes]); - bidSizes = bidSizes.filter(size => isArray(size)); - const processedSizes = bidSizes.map(size => ({w: parseInt(size[0], 10), h: parseInt(size[1], 10)})); - - const element = document.getElementById(bid.adUnitCode); - const minSize = getMinSize(processedSizes); - const viewabilityAmount = _isViewabilityMeasurable(element) - ? _getViewability(element, getWindowTop(), minSize) - : 'na'; - const viewabilityAmountRounded = isNaN(viewabilityAmount) ? viewabilityAmount : Math.round(viewabilityAmount); + const bidSizes = (bid.mediaTypes && bid.mediaTypes.banner && bid.mediaTypes.banner.sizes) || bid.sizes; + const processedSizes = getProcessedSizes(bidSizes); + const viewabilityAmountRounded = getRoundedViewability(bid.adUnitCode, processedSizes); const imp = { id: bid.bidId, @@ -74,7 +63,7 @@ function buildRequests(bidReqs, bidderRequest) { } }, device: { - devicetype: _getDeviceType(), + devicetype: getDeviceType(), w: screen.width, h: screen.height }, @@ -127,7 +116,7 @@ function interpretResponse(serverResponse) { currency: 'USD', netRevenue: true, mediaType: BANNER, - ad: _getAdMarkup(onomagicBid), + ad: getAdMarkup(onomagicBid), ttl: 60, meta: { advertiserDomains: onomagicBid && onomagicBid.adomain ? onomagicBid.adomain : [] @@ -146,34 +135,4 @@ function getUserSyncs(syncOptions, responses, gdprConsent) { return []; } -function _isMobile() { - return (/(ios|ipod|ipad|iphone|android)/i).test(navigator.userAgent); -} - -function _isConnectedTV() { - return (/(smart[-]?tv|hbbtv|appletv|googletv|hdmi|netcast\.tv|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b)/i).test(navigator.userAgent); -} - -function _getDeviceType() { - return _isMobile() ? 1 : _isConnectedTV() ? 3 : 2; -} - -function _getAdMarkup(bid) { - let adm = bid.adm; - if ('nurl' in bid) { - adm += createTrackPixelHtml(bid.nurl); - } - return adm; -} - -function _isViewabilityMeasurable(element) { - return !isIframe() && element !== null; -} - -function _getViewability(element, topWin, { w, h } = {}) { - return getWindowTop().document.visibilityState === 'visible' - ? percentInView(element, { w, h }) - : 0; -} - registerBidder(spec); From 4fbb6e7b1ee67ee3a7098afcee0796b96d9dc131 Mon Sep 17 00:00:00 2001 From: mkomorski Date: Thu, 26 Feb 2026 17:52:16 +0100 Subject: [PATCH 233/248] bidResponseFilter: cattax handling (#14428) * bidResponseFilter: cattax handling * default meta value * Normalize cattax values for accurate comparison Normalize cattax values before comparison to ensure accurate matching. --------- Co-authored-by: Patrick McCann --- libraries/ortbConverter/processors/default.js | 3 + modules/bidResponseFilter/index.js | 10 +- test/spec/modules/bidResponseFilter_spec.js | 122 +++++++++++++++++- 3 files changed, 126 insertions(+), 9 deletions(-) diff --git a/libraries/ortbConverter/processors/default.js b/libraries/ortbConverter/processors/default.js index b1fb5be77a5..001d0d808bf 100644 --- a/libraries/ortbConverter/processors/default.js +++ b/libraries/ortbConverter/processors/default.js @@ -111,6 +111,9 @@ export const DEFAULT_PROCESSORS = { if (bid.ext?.eventtrackers) { bidResponse.eventtrackers = (bidResponse.eventtrackers ?? []).concat(bid.ext.eventtrackers); } + if (bid.cattax) { + bidResponse.meta.cattax = bid.cattax; + } } } } diff --git a/modules/bidResponseFilter/index.js b/modules/bidResponseFilter/index.js index 64026958bc6..dc131e0bca1 100644 --- a/modules/bidResponseFilter/index.js +++ b/modules/bidResponseFilter/index.js @@ -29,7 +29,7 @@ export function reset() { } export function addBidResponseHook(next, adUnitCode, bid, reject, index = auctionManager.index) { - const {bcat = [], badv = []} = index.getOrtb2(bid) || {}; + const {bcat = [], badv = [], cattax = 1} = index.getOrtb2(bid) || {}; const bidRequest = index.getBidRequest(bid); const battr = bidRequest?.ortb2Imp[bid.mediaType]?.battr || index.getAdUnit(bid)?.ortb2Imp[bid.mediaType]?.battr || []; @@ -43,11 +43,15 @@ export function addBidResponseHook(next, adUnitCode, bid, reject, index = auctio advertiserDomains = [], attr: metaAttr, mediaType: metaMediaType, + cattax: metaCattax = 1, } = bid.meta || {}; // checking if bid fulfills ortb2 fields rules - if ((catConfig.enforce && bcat.some(category => [primaryCatId, ...secondaryCatIds].includes(category))) || - (catConfig.blockUnknown && !primaryCatId)) { + const normalizedMetaCattax = Number(metaCattax); + const normalizedRequestCattax = Number(cattax); + const isCattaxMatch = normalizedMetaCattax === normalizedRequestCattax; + if ((catConfig.enforce && isCattaxMatch && bcat.some(category => [primaryCatId, ...secondaryCatIds].includes(category))) || + (catConfig.blockUnknown && (!isCattaxMatch || !primaryCatId))) { reject(BID_CATEGORY_REJECTION_REASON); } else if ((advConfig.enforce && badv.some(domain => advertiserDomains.includes(domain))) || (advConfig.blockUnknown && !advertiserDomains.length)) { diff --git a/test/spec/modules/bidResponseFilter_spec.js b/test/spec/modules/bidResponseFilter_spec.js index c37003bde50..16acee9b87e 100644 --- a/test/spec/modules/bidResponseFilter_spec.js +++ b/test/spec/modules/bidResponseFilter_spec.js @@ -69,7 +69,8 @@ describe('bidResponseFilter', () => { advertiserDomains: ['domain1.com', 'domain2.com'], primaryCatId: 'EXAMPLE-CAT-ID', attr: 'attr', - mediaType: 'banner' + mediaType: 'banner', + cattax: 1 } }; @@ -85,7 +86,8 @@ describe('bidResponseFilter', () => { meta: { advertiserDomains: ['domain1.com', 'domain2.com'], primaryCatId: 'BANNED_CAT1', - attr: 'attr' + attr: 'attr', + cattax: 1 } }; mockAuctionIndex.getOrtb2 = () => ({ @@ -96,6 +98,109 @@ describe('bidResponseFilter', () => { sinon.assert.calledWith(reject, BID_CATEGORY_REJECTION_REASON); }); + describe('cattax (category taxonomy) match', () => { + it('should reject with BID_CATEGORY_REJECTION_REASON when cattax matches and primaryCatId is in bcat blocklist', () => { + const reject = sinon.stub(); + const call = sinon.stub(); + const bid = { + meta: { + advertiserDomains: ['domain1.com'], + primaryCatId: 'BANNED_CAT1', + attr: 1, + mediaType: 'banner', + cattax: 1 + } + }; + mockAuctionIndex.getOrtb2 = () => ({ + badv: [], bcat: ['BANNED_CAT1'], cattax: 1 + }); + mockAuctionIndex.getBidRequest = () => ({ + mediaTypes: { banner: {} }, + ortb2Imp: {} + }); + + addBidResponseHook(call, 'adcode', bid, reject, mockAuctionIndex); + sinon.assert.calledWith(reject, BID_CATEGORY_REJECTION_REASON); + sinon.assert.notCalled(call); + }); + + it('should pass when cattax matches and primaryCatId is not in bcat blocklist', () => { + const reject = sinon.stub(); + const call = sinon.stub(); + const bid = { + meta: { + advertiserDomains: ['domain1.com'], + primaryCatId: 'ALLOWED_CAT', + attr: 1, + mediaType: 'banner', + cattax: 1 + } + }; + mockAuctionIndex.getOrtb2 = () => ({ + badv: [], bcat: ['BANNED_CAT1'], cattax: 1 + }); + mockAuctionIndex.getBidRequest = () => ({ + mediaTypes: { banner: {} }, + ortb2Imp: {} + }); + + addBidResponseHook(call, 'adcode', bid, reject, mockAuctionIndex); + sinon.assert.notCalled(reject); + sinon.assert.calledOnce(call); + }); + + it('should reject with BID_CATEGORY_REJECTION_REASON when cattax does not match (treat primaryCatId as unknown)', () => { + const reject = sinon.stub(); + const call = sinon.stub(); + const bid = { + meta: { + advertiserDomains: ['domain1.com'], + primaryCatId: 'ALLOWED_CAT', + attr: 1, + mediaType: 'banner', + cattax: 2 + } + }; + mockAuctionIndex.getOrtb2 = () => ({ + badv: [], bcat: ['BANNED_CAT1'], cattax: 1 + }); + mockAuctionIndex.getBidRequest = () => ({ + mediaTypes: { banner: {} }, + ortb2Imp: {} + }); + + addBidResponseHook(call, 'adcode', bid, reject, mockAuctionIndex); + sinon.assert.calledWith(reject, BID_CATEGORY_REJECTION_REASON); + sinon.assert.notCalled(call); + }); + + it('should pass when cattax does not match and blockUnknown is false (do not treat as unknown)', () => { + const reject = sinon.stub(); + const call = sinon.stub(); + const bid = { + meta: { + advertiserDomains: ['domain1.com'], + primaryCatId: 'BANNED_CAT1', + attr: 1, + mediaType: 'banner', + cattax: 2 + } + }; + mockAuctionIndex.getOrtb2 = () => ({ + badv: [], bcat: ['BANNED_CAT1'], cattax: 1 + }); + mockAuctionIndex.getBidRequest = () => ({ + mediaTypes: { banner: {} }, + ortb2Imp: {} + }); + config.setConfig({ [MODULE_NAME]: { cat: { blockUnknown: false } } }); + + addBidResponseHook(call, 'adcode', bid, reject, mockAuctionIndex); + sinon.assert.notCalled(reject); + sinon.assert.calledOnce(call); + }); + }); + it('should reject the bid after failed ortb2 adv domains rule validation', () => { const rejection = sinon.stub(); const call = sinon.stub(); @@ -103,7 +208,8 @@ describe('bidResponseFilter', () => { meta: { advertiserDomains: ['domain1.com', 'domain2.com'], primaryCatId: 'VALID_CAT', - attr: 'attr' + attr: 'attr', + cattax: 1 } }; mockAuctionIndex.getOrtb2 = () => ({ @@ -121,7 +227,8 @@ describe('bidResponseFilter', () => { meta: { advertiserDomains: ['validdomain1.com', 'validdomain2.com'], primaryCatId: 'VALID_CAT', - attr: 'BANNED_ATTR' + attr: 'BANNED_ATTR', + cattax: 1 }, mediaType: 'video' }; @@ -149,6 +256,7 @@ describe('bidResponseFilter', () => { primaryCatId: 'BANNED_CAT1', attr: 'valid_attr', mediaType: 'banner', + cattax: 1 } }; @@ -177,7 +285,8 @@ describe('bidResponseFilter', () => { advertiserDomains: ['validdomain1.com', 'validdomain2.com'], primaryCatId: undefined, attr: 'valid_attr', - mediaType: 'banner' + mediaType: 'banner', + cattax: 1 } }; @@ -207,7 +316,8 @@ describe('bidResponseFilter', () => { advertiserDomains: ['validdomain1.com', 'validdomain2.com'], primaryCatId: 'VALID_CAT', attr: 6, - mediaType: 'audio' + mediaType: 'audio', + cattax: 1 }, }; From 969a50b126723694d617aa3a98846d4889aad9f4 Mon Sep 17 00:00:00 2001 From: Anna Yablonsky Date: Thu, 26 Feb 2026 21:07:27 +0200 Subject: [PATCH 234/248] new adapter - Apester; remove alias from limelightDigital (#14516) Co-authored-by: Anna Yablonsky --- modules/apesterBidAdapter.js | 49 ++ modules/apesterBidAdapter.md | 36 + modules/limelightDigitalBidAdapter.js | 1 - test/spec/modules/apesterBidAdapter_spec.js | 775 ++++++++++++++++++++ 4 files changed, 860 insertions(+), 1 deletion(-) create mode 100644 modules/apesterBidAdapter.js create mode 100644 modules/apesterBidAdapter.md create mode 100644 test/spec/modules/apesterBidAdapter_spec.js diff --git a/modules/apesterBidAdapter.js b/modules/apesterBidAdapter.js new file mode 100644 index 00000000000..589b1b5210f --- /dev/null +++ b/modules/apesterBidAdapter.js @@ -0,0 +1,49 @@ +import {registerBidder} from '../src/adapters/bidderFactory.js'; +import {BANNER, VIDEO} from '../src/mediaTypes.js'; +import {getStorageManager} from '../src/storageManager.js'; +import { + isBidRequestValid, + onBidWon, + createUserSyncGetter, + createBuildRequestsFn, + createInterpretResponseFn +} from '../libraries/vidazooUtils/bidderUtils.js'; + +const DEFAULT_SUB_DOMAIN = 'bidder'; +const BIDDER_CODE = 'apester'; +const BIDDER_VERSION = '1.0.0'; +const GVLID = 354; +export const storage = getStorageManager({bidderCode: BIDDER_CODE}); + +export function createDomain(subDomain = DEFAULT_SUB_DOMAIN) { + return `https://${subDomain}.apester.com`; +} + +function createUniqueRequestData(hashUrl, bid) { + const {auctionId, transactionId} = bid; + return { + auctionId, + transactionId + }; +} + +const buildRequests = createBuildRequestsFn(createDomain, createUniqueRequestData, storage, BIDDER_CODE, BIDDER_VERSION, false); +const interpretResponse = createInterpretResponseFn(BIDDER_CODE, false); +const getUserSyncs = createUserSyncGetter({ + iframeSyncUrl: 'https://sync.apester.com/api/sync/iframe', + imageSyncUrl: 'https://sync.apester.com/api/sync/image' +}); + +export const spec = { + code: BIDDER_CODE, + version: BIDDER_VERSION, + supportedMediaTypes: [BANNER, VIDEO], + gvlid: GVLID, + isBidRequestValid, + buildRequests, + interpretResponse, + getUserSyncs, + onBidWon, +}; + +registerBidder(spec); diff --git a/modules/apesterBidAdapter.md b/modules/apesterBidAdapter.md new file mode 100644 index 00000000000..c43707d8a28 --- /dev/null +++ b/modules/apesterBidAdapter.md @@ -0,0 +1,36 @@ +# Overview + +**Module Name:** Apester Bidder Adapter + +**Module Type:** Bidder Adapter + +**Maintainer:** roni.katz@apester.com + +# Description + +Module that connects to Apester's demand sources. + +# Test Parameters + +```js +var adUnits = [ + { + code: 'test-ad', + sizes: [[300, 250]], + bids: [ + { + bidder: 'apester', + params: { + cId: '562524b21b1c1f08117667f9', + pId: '59ac17c192832d0016683fe3', + bidFloor: 0.0001, + ext: { + param1: 'loremipsum', + param2: 'dolorsitamet' + } + } + } + ] + } +]; +``` diff --git a/modules/limelightDigitalBidAdapter.js b/modules/limelightDigitalBidAdapter.js index b0f6423af8c..b0aea80cb01 100644 --- a/modules/limelightDigitalBidAdapter.js +++ b/modules/limelightDigitalBidAdapter.js @@ -74,7 +74,6 @@ export const spec = { aliases: [ { code: 'pll' }, { code: 'iionads', gvlid: 1358 }, - { code: 'apester' }, { code: 'adsyield' }, { code: 'tgm' }, { code: 'adtg_org' }, diff --git a/test/spec/modules/apesterBidAdapter_spec.js b/test/spec/modules/apesterBidAdapter_spec.js new file mode 100644 index 00000000000..25aa0d4003c --- /dev/null +++ b/test/spec/modules/apesterBidAdapter_spec.js @@ -0,0 +1,775 @@ +import {expect} from 'chai'; +import { + spec as adapter, + createDomain, + storage, +} from 'modules/apesterBidAdapter'; +import * as utils from 'src/utils.js'; +import {version} from 'package.json'; +import {useFakeTimers} from 'sinon'; +import {BANNER, VIDEO} from '../../../src/mediaTypes.js'; +import {config} from '../../../src/config.js'; +import { + hashCode, + extractPID, + extractCID, + extractSubDomain, + getStorageItem, + setStorageItem, + tryParseJSON, + getUniqueDealId, +} from '../../../libraries/vidazooUtils/bidderUtils.js'; +import {getGlobal} from '../../../src/prebidGlobal.js'; + +export const TEST_ID_SYSTEMS = ['britepoolid', 'criteoId', 'id5id', 'idl_env', 'lipb', 'netId', 'parrableId', 'pubcid', 'tdid', 'pubProvidedId']; + +const SUB_DOMAIN = 'exchange'; + +const BID = { + 'bidId': '2d52001cabd527', + 'adUnitCode': 'div-gpt-ad-12345-0', + 'params': { + 'subDomain': SUB_DOMAIN, + 'cId': '59db6b3b4ffaa70004f45cdc', + 'pId': '59ac17c192832d0011283fe3', + 'bidFloor': 0.1, + 'ext': { + 'param1': 'loremipsum', + 'param2': 'dolorsitamet' + } + }, + 'placementCode': 'div-gpt-ad-1460505748561-0', + 'transactionId': 'c881914b-a3b5-4ecf-ad9c-1c2f37c6aabf', + 'sizes': [[300, 250], [300, 600]], + 'bidderRequestId': '1fdb5ff1b6eaa7', + 'auctionId': 'auction_id', + 'bidRequestsCount': 4, + 'bidderRequestsCount': 3, + 'bidderWinsCount': 1, + 'requestId': 'b0777d85-d061-450e-9bc7-260dd54bbb7a', + 'schain': 'a0819c69-005b-41ed-af06-1be1e0aefefc', + 'mediaTypes': [BANNER], + 'ortb2Imp': { + 'ext': { + 'gpid': '0123456789' + } + } +}; + +const VIDEO_BID = { + 'bidId': '2d52001cabd527', + 'adUnitCode': '63550ad1ff6642d368cba59dh5884270560', + 'bidderRequestId': '12a8ae9ada9c13', + 'transactionId': '56e184c6-bde9-497b-b9b9-cf47a61381ee', + 'auctionId': 'auction_id', + 'bidRequestsCount': 4, + 'bidderRequestsCount': 3, + 'bidderWinsCount': 1, + 'schain': 'a0819c69-005b-41ed-af06-1be1e0aefefc', + 'params': { + 'subDomain': SUB_DOMAIN, + 'cId': '635509f7ff6642d368cb9837', + 'pId': '59ac17c192832d0011283fe3', + 'bidFloor': 0.1 + }, + 'sizes': [[545, 307]], + 'mediaTypes': { + 'video': { + 'playerSize': [[545, 307]], + 'context': 'instream', + 'mimes': [ + 'video/mp4', + 'application/javascript' + ], + 'protocols': [2, 3, 5, 6], + 'maxduration': 60, + 'minduration': 0, + 'startdelay': 0, + 'linearity': 1, + 'api': [2], + 'placement': 1 + } + } +} + +const ORTB2_DEVICE = { + sua: { + 'source': 2, + 'platform': { + 'brand': 'Android', + 'version': ['8', '0', '0'] + }, + 'browsers': [ + {'brand': 'Not_A Brand', 'version': ['99', '0', '0', '0']}, + {'brand': 'Google Chrome', 'version': ['109', '0', '5414', '119']}, + {'brand': 'Chromium', 'version': ['109', '0', '5414', '119']} + ], + 'mobile': 1, + 'model': 'SM-G955U', + 'bitness': '64', + 'architecture': '' + }, + w: 980, + h: 1720, + dnt: 0, + ua: 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/125.0.6422.80 Mobile/15E148 Safari/604.1', + language: 'en', + devicetype: 1, + make: 'Apple', + model: 'iPhone 12 Pro Max', + os: 'iOS', + osv: '17.4', + ext: {fiftyonedegrees_deviceId: '17595-133085-133468-18092'}, +}; + +const BIDDER_REQUEST = { + 'gdprConsent': { + 'consentString': 'consent_string', + 'gdprApplies': true + }, + 'gppString': 'gpp_string', + 'gppSid': [7], + 'uspConsent': 'consent_string', + 'refererInfo': { + 'page': 'https://www.greatsite.com', + 'ref': 'https://www.somereferrer.com' + }, + 'ortb2': { + 'site': { + 'content': { + 'language': 'en' + } + }, + 'regs': { + 'gpp': 'gpp_string', + 'gpp_sid': [7], + 'coppa': 0 + }, + 'device': ORTB2_DEVICE, + } +}; + +const SERVER_RESPONSE = { + body: { + cid: 'testcid123', + results: [{ + 'ad': '', + 'price': 0.8, + 'creativeId': '12610997325162499419', + 'exp': 30, + 'width': 300, + 'height': 250, + 'advertiserDomains': ['securepubads.g.doubleclick.net'], + 'cookies': [{ + 'src': 'https://sync.com', + 'type': 'iframe' + }, { + 'src': 'https://sync.com', + 'type': 'img' + }] + }] + } +}; + +const VIDEO_SERVER_RESPONSE = { + body: { + 'cid': '635509f7ff6642d368cb9837', + 'results': [{ + 'ad': '', + 'advertiserDomains': ['bidder.apester.com'], + 'exp': 60, + 'width': 545, + 'height': 307, + 'mediaType': 'video', + 'creativeId': '12610997325162499419', + 'price': 2, + 'cookies': [] + }] + } +}; + +const ORTB2_OBJ = { + "device": ORTB2_DEVICE, + "regs": {"coppa": 0, "gpp": "gpp_string", "gpp_sid": [7]}, + "site": {"content": {"language": "en"} + } +}; + +const REQUEST = { + data: { + width: 300, + height: 250, + bidId: '2d52001cabd527' + } +}; + +function getTopWindowQueryParams() { + try { + const parsedUrl = utils.parseUrl(window.top.document.URL, {decodeSearchAsString: true}); + return parsedUrl.search; + } catch (e) { + return ''; + } +} + +describe('apesterBidAdapter', function () { + before(() => config.resetConfig()); + after(() => config.resetConfig()); + + describe('validate spec', function () { + it('exists and is a function', function () { + expect(adapter.isBidRequestValid).to.exist.and.to.be.a('function'); + }); + + it('exists and is a function', function () { + expect(adapter.buildRequests).to.exist.and.to.be.a('function'); + }); + + it('exists and is a function', function () { + expect(adapter.interpretResponse).to.exist.and.to.be.a('function'); + }); + + it('exists and is a function', function () { + expect(adapter.getUserSyncs).to.exist.and.to.be.a('function'); + }); + + it('exists and is a string', function () { + expect(adapter.code).to.exist.and.to.be.a('string'); + }); + + it('exists and contains media types', function () { + expect(adapter.supportedMediaTypes).to.exist.and.to.be.an('array').with.length(2); + expect(adapter.supportedMediaTypes).to.contain.members([BANNER, VIDEO]); + }); + }); + + describe('validate bid requests', function () { + it('should require cId', function () { + const isValid = adapter.isBidRequestValid({ + params: { + pId: 'pid' + } + }); + expect(isValid).to.be.false; + }); + + it('should require pId', function () { + const isValid = adapter.isBidRequestValid({ + params: { + cId: 'cid' + } + }); + expect(isValid).to.be.false; + }); + + it('should validate correctly', function () { + const isValid = adapter.isBidRequestValid({ + params: { + cId: 'cid', + pId: 'pid' + } + }); + expect(isValid).to.be.true; + }); + }); + + describe('build requests', function () { + let sandbox; + before(function () { + getGlobal().bidderSettings = { + apester: { + storageAllowed: true + } + }; + sandbox = sinon.createSandbox(); + sandbox.stub(Date, 'now').returns(1000); + }); + + it('should build video request', function () { + const hashUrl = hashCode(BIDDER_REQUEST.refererInfo.page); + config.setConfig({ + bidderTimeout: 3000 + }); + const requests = adapter.buildRequests([VIDEO_BID], BIDDER_REQUEST); + expect(requests).to.have.length(1); + expect(requests[0]).to.deep.equal({ + method: 'POST', + url: `${createDomain(SUB_DOMAIN)}/prebid/multi/635509f7ff6642d368cb9837`, + data: { + adUnitCode: '63550ad1ff6642d368cba59dh5884270560', + bidFloor: 0.1, + bidId: '2d52001cabd527', + bidderVersion: adapter.version, + bidderRequestId: '12a8ae9ada9c13', + cb: 1000, + gdpr: 1, + gdprConsent: 'consent_string', + usPrivacy: 'consent_string', + gppString: 'gpp_string', + gppSid: [7], + prebidVersion: version, + transactionId: '56e184c6-bde9-497b-b9b9-cf47a61381ee', + auctionId: 'auction_id', + bidRequestsCount: 4, + bidderRequestsCount: 3, + bidderWinsCount: 1, + bidderTimeout: 3000, + publisherId: '59ac17c192832d0011283fe3', + url: 'https%3A%2F%2Fwww.greatsite.com', + referrer: 'https://www.somereferrer.com', + res: `${window.top.screen.width}x${window.top.screen.height}`, + schain: VIDEO_BID.schain, + sizes: ['545x307'], + sua: { + 'source': 2, + 'platform': { + 'brand': 'Android', + 'version': ['8', '0', '0'] + }, + 'browsers': [ + {'brand': 'Not_A Brand', 'version': ['99', '0', '0', '0']}, + {'brand': 'Google Chrome', 'version': ['109', '0', '5414', '119']}, + {'brand': 'Chromium', 'version': ['109', '0', '5414', '119']} + ], + 'mobile': 1, + 'model': 'SM-G955U', + 'bitness': '64', + 'architecture': '' + }, + device: ORTB2_DEVICE, + uniqueDealId: `${hashUrl}_${Date.now().toString()}`, + uqs: getTopWindowQueryParams(), + mediaTypes: { + video: { + api: [2], + context: 'instream', + linearity: 1, + maxduration: 60, + mimes: [ + 'video/mp4', + 'application/javascript' + ], + minduration: 0, + placement: 1, + playerSize: [[545, 307]], + protocols: [2, 3, 5, 6], + startdelay: 0 + } + }, + gpid: '', + cat: [], + contentLang: 'en', + contentData: [], + isStorageAllowed: true, + pagecat: [], + ortb2: ORTB2_OBJ, + userData: [], + coppa: 0 + } + }); + }); + + it('should build banner request for each size', function () { + const hashUrl = hashCode(BIDDER_REQUEST.refererInfo.page); + config.setConfig({ + bidderTimeout: 3000 + }); + const requests = adapter.buildRequests([BID], BIDDER_REQUEST); + expect(requests).to.have.length(1); + expect(requests[0]).to.deep.equal({ + method: 'POST', + url: `${createDomain(SUB_DOMAIN)}/prebid/multi/59db6b3b4ffaa70004f45cdc`, + data: { + gdprConsent: 'consent_string', + gdpr: 1, + gppString: 'gpp_string', + gppSid: [7], + usPrivacy: 'consent_string', + transactionId: 'c881914b-a3b5-4ecf-ad9c-1c2f37c6aabf', + auctionId: 'auction_id', + bidRequestsCount: 4, + bidderRequestsCount: 3, + bidderWinsCount: 1, + bidderTimeout: 3000, + bidderRequestId: '1fdb5ff1b6eaa7', + sizes: ['300x250', '300x600'], + sua: { + 'source': 2, + 'platform': { + 'brand': 'Android', + 'version': ['8', '0', '0'] + }, + 'browsers': [ + {'brand': 'Not_A Brand', 'version': ['99', '0', '0', '0']}, + {'brand': 'Google Chrome', 'version': ['109', '0', '5414', '119']}, + {'brand': 'Chromium', 'version': ['109', '0', '5414', '119']} + ], + 'mobile': 1, + 'model': 'SM-G955U', + 'bitness': '64', + 'architecture': '' + }, + device: ORTB2_DEVICE, + url: 'https%3A%2F%2Fwww.greatsite.com', + referrer: 'https://www.somereferrer.com', + cb: 1000, + bidFloor: 0.1, + bidId: '2d52001cabd527', + adUnitCode: 'div-gpt-ad-12345-0', + publisherId: '59ac17c192832d0011283fe3', + uniqueDealId: `${hashUrl}_${Date.now().toString()}`, + bidderVersion: adapter.version, + prebidVersion: version, + schain: BID.schain, + res: `${window.top.screen.width}x${window.top.screen.height}`, + mediaTypes: [BANNER], + gpid: '0123456789', + uqs: getTopWindowQueryParams(), + 'ext.param1': 'loremipsum', + 'ext.param2': 'dolorsitamet', + cat: [], + contentLang: 'en', + contentData: [], + isStorageAllowed: true, + pagecat: [], + ortb2Imp: BID.ortb2Imp, + ortb2: ORTB2_OBJ, + userData: [], + coppa: 0 + } + }); + }); + + after(function () { + getGlobal().bidderSettings = {}; + sandbox.restore(); + }); + }); + describe('getUserSyncs', function () { + it('should have valid user sync with iframeEnabled', function () { + const result = adapter.getUserSyncs({iframeEnabled: true}, [SERVER_RESPONSE]); + + expect(result).to.deep.equal([{ + type: 'iframe', + url: 'https://sync.apester.com/api/sync/iframe/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=0' + }]); + }); + + it('should have valid user sync with cid on response', function () { + const result = adapter.getUserSyncs({iframeEnabled: true}, [SERVER_RESPONSE]); + expect(result).to.deep.equal([{ + type: 'iframe', + url: 'https://sync.apester.com/api/sync/iframe/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=0' + }]); + }); + + it('should have valid user sync with pixelEnabled', function () { + const result = adapter.getUserSyncs({pixelEnabled: true}, [SERVER_RESPONSE]); + + expect(result).to.deep.equal([{ + 'url': 'https://sync.apester.com/api/sync/image/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=0', + 'type': 'image' + }]); + }); + + it('should have valid user sync with coppa on response', function () { + config.setConfig({ + coppa: 1 + }); + const result = adapter.getUserSyncs({iframeEnabled: true}, [SERVER_RESPONSE]); + expect(result).to.deep.equal([{ + type: 'iframe', + url: 'https://sync.apester.com/api/sync/iframe/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=1' + }]); + }); + + it('should generate url with consent data', function () { + const gdprConsent = { + gdprApplies: true, + consentString: 'consent_string' + }; + const uspConsent = 'usp_string'; + const gppConsent = { + gppString: 'gpp_string', + applicableSections: [7] + } + + const result = adapter.getUserSyncs({pixelEnabled: true}, [SERVER_RESPONSE], gdprConsent, uspConsent, gppConsent); + + expect(result).to.deep.equal([{ + 'url': 'https://sync.apester.com/api/sync/image/?cid=testcid123&gdpr=1&gdpr_consent=consent_string&us_privacy=usp_string&coppa=1&gpp=gpp_string&gpp_sid=7', + 'type': 'image' + }]); + }); + }); + + describe('interpret response', function () { + it('should return empty array when there is no response', function () { + const responses = adapter.interpretResponse(null); + expect(responses).to.be.empty; + }); + + it('should return empty array when there is no ad', function () { + const responses = adapter.interpretResponse({price: 1, ad: ''}); + expect(responses).to.be.empty; + }); + + it('should return empty array when there is no price', function () { + const responses = adapter.interpretResponse({price: null, ad: 'great ad'}); + expect(responses).to.be.empty; + }); + + it('should return an array of interpreted banner responses', function () { + const responses = adapter.interpretResponse(SERVER_RESPONSE, REQUEST); + expect(responses).to.have.length(1); + expect(responses[0]).to.deep.equal({ + requestId: '2d52001cabd527', + cpm: 0.8, + width: 300, + height: 250, + creativeId: '12610997325162499419', + currency: 'USD', + netRevenue: true, + ttl: 30, + ad: '', + meta: { + advertiserDomains: ['securepubads.g.doubleclick.net'] + } + }); + }); + + it('should get meta from response metaData', function () { + const serverResponse = utils.deepClone(SERVER_RESPONSE); + serverResponse.body.results[0].metaData = { + advertiserDomains: ['bidder.apester.com'], + agencyName: 'Agency Name', + }; + const responses = adapter.interpretResponse(serverResponse, REQUEST); + expect(responses[0].meta).to.deep.equal({ + advertiserDomains: ['bidder.apester.com'], + agencyName: 'Agency Name' + }); + }); + + it('should return an array of interpreted video responses', function () { + const responses = adapter.interpretResponse(VIDEO_SERVER_RESPONSE, REQUEST); + expect(responses).to.have.length(1); + expect(responses[0]).to.deep.equal({ + requestId: '2d52001cabd527', + cpm: 2, + width: 545, + height: 307, + mediaType: 'video', + creativeId: '12610997325162499419', + currency: 'USD', + netRevenue: true, + ttl: 60, + vastXml: '', + meta: { + advertiserDomains: ['bidder.apester.com'] + } + }); + }); + + it('should take default TTL', function () { + const serverResponse = utils.deepClone(SERVER_RESPONSE); + delete serverResponse.body.results[0].exp; + const responses = adapter.interpretResponse(serverResponse, REQUEST); + expect(responses).to.have.length(1); + expect(responses[0].ttl).to.equal(300); + }); + }); + + describe('user id system', function () { + TEST_ID_SYSTEMS.forEach((idSystemProvider) => { + const id = Date.now().toString(); + const bid = utils.deepClone(BID); + + const userId = (function () { + switch (idSystemProvider) { + case 'lipb': + return {lipbid: id}; + case 'id5id': + return {uid: id}; + default: + return id; + } + })(); + + bid.userId = { + [idSystemProvider]: userId + }; + + it(`should include 'uid.${idSystemProvider}' in request params`, function () { + const requests = adapter.buildRequests([bid], BIDDER_REQUEST); + expect(requests[0].data[`uid.${idSystemProvider}`]).to.equal(id); + }); + }); + // testing bid.userIdAsEids handling + it("should include user ids from bid.userIdAsEids (length=1)", function() { + const bid = utils.deepClone(BID); + bid.userIdAsEids = [ + { + "source": "audigent.com", + "uids": [{"id": "fakeidi6j6dlc6e"}] + } + ] + const requests = adapter.buildRequests([bid], BIDDER_REQUEST); + expect(requests[0].data['uid.audigent.com']).to.equal("fakeidi6j6dlc6e"); + }) + it("should include user ids from bid.userIdAsEids (length=2)", function() { + const bid = utils.deepClone(BID); + bid.userIdAsEids = [ + { + "source": "audigent.com", + "uids": [{"id": "fakeidi6j6dlc6e"}] + }, + { + "source": "rwdcntrl.net", + "uids": [{"id": "fakeid6f35197d5c", "atype": 1}] + } + ] + const requests = adapter.buildRequests([bid], BIDDER_REQUEST); + expect(requests[0].data['uid.audigent.com']).to.equal("fakeidi6j6dlc6e"); + expect(requests[0].data['uid.rwdcntrl.net']).to.equal("fakeid6f35197d5c"); + }) + // testing user.ext.eid handling + it("should include user ids from user.ext.eid (length=1)", function() { + const bid = utils.deepClone(BID); + bid.user = { + ext: { + eids: [ + { + "source": "pubcid.org", + "uids": [{"id": "fakeid8888dlc6e"}] + } + ] + } + } + const requests = adapter.buildRequests([bid], BIDDER_REQUEST); + expect(requests[0].data['uid.pubcid.org']).to.equal("fakeid8888dlc6e"); + }) + it("should include user ids from user.ext.eid (length=2)", function() { + const bid = utils.deepClone(BID); + bid.user = { + ext: { + eids: [ + { + "source": "pubcid.org", + "uids": [{"id": "fakeid8888dlc6e"}] + }, + { + "source": "adserver.org", + "uids": [{"id": "fakeid495ff1"}] + } + ] + } + } + const requests = adapter.buildRequests([bid], BIDDER_REQUEST); + expect(requests[0].data['uid.pubcid.org']).to.equal("fakeid8888dlc6e"); + expect(requests[0].data['uid.adserver.org']).to.equal("fakeid495ff1"); + }) + }); + + describe('alternate param names extractors', function () { + it('should return undefined when param not supported', function () { + const cid = extractCID({'c_id': '1'}); + const pid = extractPID({'p_id': '1'}); + const subDomain = extractSubDomain({'sub_domain': 'prebid'}); + expect(cid).to.be.undefined; + expect(pid).to.be.undefined; + expect(subDomain).to.be.undefined; + }); + + it('should return value when param supported', function () { + const cid = extractCID({'cID': '1'}); + const pid = extractPID({'Pid': '2'}); + const subDomain = extractSubDomain({'subDOMAIN': 'prebid'}); + expect(cid).to.be.equal('1'); + expect(pid).to.be.equal('2'); + expect(subDomain).to.be.equal('prebid'); + }); + }); + + describe('unique deal id', function () { + before(function () { + getGlobal().bidderSettings = { + apester: { + storageAllowed: true + } + }; + }); + after(function () { + getGlobal().bidderSettings = {}; + }); + const key = 'myKey'; + let uniqueDealId; + beforeEach(() => { + uniqueDealId = getUniqueDealId(storage, key, 0); + }) + + it('should get current unique deal id', function (done) { + // waiting some time so `now` will become past + setTimeout(() => { + const current = getUniqueDealId(storage, key); + expect(current).to.be.equal(uniqueDealId); + done(); + }, 200); + }); + + it('should get new unique deal id on expiration', function (done) { + setTimeout(() => { + const current = getUniqueDealId(storage, key, 100); + expect(current).to.not.be.equal(uniqueDealId); + done(); + }, 200) + }); + }); + + describe('storage utils', function () { + before(function () { + getGlobal().bidderSettings = { + apester: { + storageAllowed: true + } + }; + }); + after(function () { + getGlobal().bidderSettings = {}; + }); + it('should get value from storage with create param', function () { + const now = Date.now(); + const clock = useFakeTimers({ + shouldAdvanceTime: true, + now + }); + setStorageItem(storage, 'myKey', 2020); + const {value, created} = getStorageItem(storage, 'myKey'); + expect(created).to.be.equal(now); + expect(value).to.be.equal(2020); + expect(typeof value).to.be.equal('number'); + expect(typeof created).to.be.equal('number'); + clock.restore(); + }); + + it('should get external stored value', function () { + const value = 'superman' + window.localStorage.setItem('myExternalKey', value); + const item = getStorageItem(storage, 'myExternalKey'); + expect(item).to.be.equal(value); + }); + + it('should parse JSON value', function () { + const data = JSON.stringify({event: 'send'}); + const {event} = tryParseJSON(data); + expect(event).to.be.equal('send'); + }); + + it('should get original value on parse fail', function () { + const value = 21; + const parsed = tryParseJSON(value); + expect(typeof parsed).to.be.equal('number'); + expect(parsed).to.be.equal(value); + }); + }); +}); From 21342e37b32a631f5ddcc5a43e7404f933988145 Mon Sep 17 00:00:00 2001 From: Anna Yablonsky Date: Thu, 26 Feb 2026 21:07:58 +0200 Subject: [PATCH 235/248] New adapter - Adnimation (#14502) * adding new adapter for Admination * remove alias for adnimation form limelightDigital following new partnership --------- Co-authored-by: Anna Yablonsky --- modules/adnimationBidAdapter.js | 47 ++ modules/adnimationBidAdapter.md | 36 + modules/limelightDigitalBidAdapter.js | 1 - .../spec/modules/adminationBidAdapter_spec.js | 775 ++++++++++++++++++ 4 files changed, 858 insertions(+), 1 deletion(-) create mode 100644 modules/adnimationBidAdapter.js create mode 100644 modules/adnimationBidAdapter.md create mode 100644 test/spec/modules/adminationBidAdapter_spec.js diff --git a/modules/adnimationBidAdapter.js b/modules/adnimationBidAdapter.js new file mode 100644 index 00000000000..21ac9090f38 --- /dev/null +++ b/modules/adnimationBidAdapter.js @@ -0,0 +1,47 @@ +import {registerBidder} from '../src/adapters/bidderFactory.js'; +import {BANNER, VIDEO} from '../src/mediaTypes.js'; +import {getStorageManager} from '../src/storageManager.js'; +import { + isBidRequestValid, + onBidWon, + createUserSyncGetter, + createBuildRequestsFn, + createInterpretResponseFn +} from '../libraries/vidazooUtils/bidderUtils.js'; + +const DEFAULT_SUB_DOMAIN = 'exchange'; +const BIDDER_CODE = 'adnimation'; +const BIDDER_VERSION = '1.0.0'; +export const storage = getStorageManager({bidderCode: BIDDER_CODE}); + +export function createDomain(subDomain = DEFAULT_SUB_DOMAIN) { + return `https://${subDomain}.adnimation.com`; +} + +function createUniqueRequestData(hashUrl, bid) { + const {auctionId, transactionId} = bid; + return { + auctionId, + transactionId + }; +} + +const buildRequests = createBuildRequestsFn(createDomain, createUniqueRequestData, storage, BIDDER_CODE, BIDDER_VERSION, false); +const interpretResponse = createInterpretResponseFn(BIDDER_CODE, false); +const getUserSyncs = createUserSyncGetter({ + iframeSyncUrl: 'https://sync.adnimation.com/api/sync/iframe', + imageSyncUrl: 'https://sync.adnimation.com/api/sync/image' +}); + +export const spec = { + code: BIDDER_CODE, + version: BIDDER_VERSION, + supportedMediaTypes: [BANNER, VIDEO], + isBidRequestValid, + buildRequests, + interpretResponse, + getUserSyncs, + onBidWon, +}; + +registerBidder(spec); diff --git a/modules/adnimationBidAdapter.md b/modules/adnimationBidAdapter.md new file mode 100644 index 00000000000..df62967bd8d --- /dev/null +++ b/modules/adnimationBidAdapter.md @@ -0,0 +1,36 @@ +# Overview + +**Module Name:** Adnimation Bidder Adapter + +**Module Type:** Bidder Adapter + +**Maintainer:** prebid@adnimation.com + +# Description + +Module that connects to Adnimation's demand sources. + +# Test Parameters + +```js +var adUnits = [ + { + code: 'test-ad', + sizes: [[300, 250]], + bids: [ + { + bidder: 'adnimation', + params: { + cId: '562524b21b1c1f08117667f9', + pId: '59ac17c192832d0016683fe3', + bidFloor: 0.0001, + ext: { + param1: 'loremipsum', + param2: 'dolorsitamet' + } + } + } + ] + } +]; +``` diff --git a/modules/limelightDigitalBidAdapter.js b/modules/limelightDigitalBidAdapter.js index b0aea80cb01..34c5704155f 100644 --- a/modules/limelightDigitalBidAdapter.js +++ b/modules/limelightDigitalBidAdapter.js @@ -83,7 +83,6 @@ export const spec = { { code: 'stellorMediaRtb' }, { code: 'smootai' }, { code: 'anzuExchange' }, - { code: 'adnimation' }, { code: 'rtbdemand' }, { code: 'altstar' }, { code: 'vaayaMedia' }, diff --git a/test/spec/modules/adminationBidAdapter_spec.js b/test/spec/modules/adminationBidAdapter_spec.js new file mode 100644 index 00000000000..077a6b50fed --- /dev/null +++ b/test/spec/modules/adminationBidAdapter_spec.js @@ -0,0 +1,775 @@ +import {expect} from 'chai'; +import { + spec as adapter, + createDomain, + storage, +} from 'modules/adnimationBidAdapter'; +import * as utils from 'src/utils.js'; +import {version} from 'package.json'; +import {useFakeTimers} from 'sinon'; +import {BANNER, VIDEO} from '../../../src/mediaTypes.js'; +import {config} from '../../../src/config.js'; +import { + hashCode, + extractPID, + extractCID, + extractSubDomain, + getStorageItem, + setStorageItem, + tryParseJSON, + getUniqueDealId, +} from '../../../libraries/vidazooUtils/bidderUtils.js'; +import {getGlobal} from '../../../src/prebidGlobal.js'; + +export const TEST_ID_SYSTEMS = ['britepoolid', 'criteoId', 'id5id', 'idl_env', 'lipb', 'netId', 'parrableId', 'pubcid', 'tdid', 'pubProvidedId']; + +const SUB_DOMAIN = 'exchange'; + +const BID = { + 'bidId': '2d52001cabd527', + 'adUnitCode': 'div-gpt-ad-12345-0', + 'params': { + 'subDomain': SUB_DOMAIN, + 'cId': '59db6b3b4ffaa70004f45cdc', + 'pId': '59ac17c192832d0011283fe3', + 'bidFloor': 0.1, + 'ext': { + 'param1': 'loremipsum', + 'param2': 'dolorsitamet' + } + }, + 'placementCode': 'div-gpt-ad-1460505748561-0', + 'transactionId': 'c881914b-a3b5-4ecf-ad9c-1c2f37c6aabf', + 'sizes': [[300, 250], [300, 600]], + 'bidderRequestId': '1fdb5ff1b6eaa7', + 'auctionId': 'auction_id', + 'bidRequestsCount': 4, + 'bidderRequestsCount': 3, + 'bidderWinsCount': 1, + 'requestId': 'b0777d85-d061-450e-9bc7-260dd54bbb7a', + 'schain': 'a0819c69-005b-41ed-af06-1be1e0aefefc', + 'mediaTypes': [BANNER], + 'ortb2Imp': { + 'ext': { + 'gpid': '0123456789' + } + } +}; + +const VIDEO_BID = { + 'bidId': '2d52001cabd527', + 'adUnitCode': '63550ad1ff6642d368cba59dh5884270560', + 'bidderRequestId': '12a8ae9ada9c13', + 'transactionId': '56e184c6-bde9-497b-b9b9-cf47a61381ee', + 'auctionId': 'auction_id', + 'bidRequestsCount': 4, + 'bidderRequestsCount': 3, + 'bidderWinsCount': 1, + 'schain': 'a0819c69-005b-41ed-af06-1be1e0aefefc', + 'params': { + 'subDomain': SUB_DOMAIN, + 'cId': '635509f7ff6642d368cb9837', + 'pId': '59ac17c192832d0011283fe3', + 'bidFloor': 0.1 + }, + 'sizes': [[545, 307]], + 'mediaTypes': { + 'video': { + 'playerSize': [[545, 307]], + 'context': 'instream', + 'mimes': [ + 'video/mp4', + 'application/javascript' + ], + 'protocols': [2, 3, 5, 6], + 'maxduration': 60, + 'minduration': 0, + 'startdelay': 0, + 'linearity': 1, + 'api': [2], + 'placement': 1 + } + } +} + +const ORTB2_DEVICE = { + sua: { + 'source': 2, + 'platform': { + 'brand': 'Android', + 'version': ['8', '0', '0'] + }, + 'browsers': [ + {'brand': 'Not_A Brand', 'version': ['99', '0', '0', '0']}, + {'brand': 'Google Chrome', 'version': ['109', '0', '5414', '119']}, + {'brand': 'Chromium', 'version': ['109', '0', '5414', '119']} + ], + 'mobile': 1, + 'model': 'SM-G955U', + 'bitness': '64', + 'architecture': '' + }, + w: 980, + h: 1720, + dnt: 0, + ua: 'Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/125.0.6422.80 Mobile/15E148 Safari/604.1', + language: 'en', + devicetype: 1, + make: 'Apple', + model: 'iPhone 12 Pro Max', + os: 'iOS', + osv: '17.4', + ext: {fiftyonedegrees_deviceId: '17595-133085-133468-18092'}, +}; + +const BIDDER_REQUEST = { + 'gdprConsent': { + 'consentString': 'consent_string', + 'gdprApplies': true + }, + 'gppString': 'gpp_string', + 'gppSid': [7], + 'uspConsent': 'consent_string', + 'refererInfo': { + 'page': 'https://www.greatsite.com', + 'ref': 'https://www.somereferrer.com' + }, + 'ortb2': { + 'site': { + 'content': { + 'language': 'en' + } + }, + 'regs': { + 'gpp': 'gpp_string', + 'gpp_sid': [7], + 'coppa': 0 + }, + 'device': ORTB2_DEVICE, + } +}; + +const SERVER_RESPONSE = { + body: { + cid: 'testcid123', + results: [{ + 'ad': '', + 'price': 0.8, + 'creativeId': '12610997325162499419', + 'exp': 30, + 'width': 300, + 'height': 250, + 'advertiserDomains': ['securepubads.g.doubleclick.net'], + 'cookies': [{ + 'src': 'https://sync.com', + 'type': 'iframe' + }, { + 'src': 'https://sync.com', + 'type': 'img' + }] + }] + } +}; + +const VIDEO_SERVER_RESPONSE = { + body: { + 'cid': '635509f7ff6642d368cb9837', + 'results': [{ + 'ad': '', + 'advertiserDomains': ['adnimation.com'], + 'exp': 60, + 'width': 545, + 'height': 307, + 'mediaType': 'video', + 'creativeId': '12610997325162499419', + 'price': 2, + 'cookies': [] + }] + } +}; + +const ORTB2_OBJ = { + "device": ORTB2_DEVICE, + "regs": {"coppa": 0, "gpp": "gpp_string", "gpp_sid": [7]}, + "site": {"content": {"language": "en"} + } +}; + +const REQUEST = { + data: { + width: 300, + height: 250, + bidId: '2d52001cabd527' + } +}; + +function getTopWindowQueryParams() { + try { + const parsedUrl = utils.parseUrl(window.top.document.URL, {decodeSearchAsString: true}); + return parsedUrl.search; + } catch (e) { + return ''; + } +} + +describe('adnimationBidAdapter', function () { + before(() => config.resetConfig()); + after(() => config.resetConfig()); + + describe('validate spec', function () { + it('exists and is a function', function () { + expect(adapter.isBidRequestValid).to.exist.and.to.be.a('function'); + }); + + it('exists and is a function', function () { + expect(adapter.buildRequests).to.exist.and.to.be.a('function'); + }); + + it('exists and is a function', function () { + expect(adapter.interpretResponse).to.exist.and.to.be.a('function'); + }); + + it('exists and is a function', function () { + expect(adapter.getUserSyncs).to.exist.and.to.be.a('function'); + }); + + it('exists and is a string', function () { + expect(adapter.code).to.exist.and.to.be.a('string'); + }); + + it('exists and contains media types', function () { + expect(adapter.supportedMediaTypes).to.exist.and.to.be.an('array').with.length(2); + expect(adapter.supportedMediaTypes).to.contain.members([BANNER, VIDEO]); + }); + }); + + describe('validate bid requests', function () { + it('should require cId', function () { + const isValid = adapter.isBidRequestValid({ + params: { + pId: 'pid' + } + }); + expect(isValid).to.be.false; + }); + + it('should require pId', function () { + const isValid = adapter.isBidRequestValid({ + params: { + cId: 'cid' + } + }); + expect(isValid).to.be.false; + }); + + it('should validate correctly', function () { + const isValid = adapter.isBidRequestValid({ + params: { + cId: 'cid', + pId: 'pid' + } + }); + expect(isValid).to.be.true; + }); + }); + + describe('build requests', function () { + let sandbox; + before(function () { + getGlobal().bidderSettings = { + adnimation: { + storageAllowed: true + } + }; + sandbox = sinon.createSandbox(); + sandbox.stub(Date, 'now').returns(1000); + }); + + it('should build video request', function () { + const hashUrl = hashCode(BIDDER_REQUEST.refererInfo.page); + config.setConfig({ + bidderTimeout: 3000 + }); + const requests = adapter.buildRequests([VIDEO_BID], BIDDER_REQUEST); + expect(requests).to.have.length(1); + expect(requests[0]).to.deep.equal({ + method: 'POST', + url: `${createDomain(SUB_DOMAIN)}/prebid/multi/635509f7ff6642d368cb9837`, + data: { + adUnitCode: '63550ad1ff6642d368cba59dh5884270560', + bidFloor: 0.1, + bidId: '2d52001cabd527', + bidderVersion: adapter.version, + bidderRequestId: '12a8ae9ada9c13', + cb: 1000, + gdpr: 1, + gdprConsent: 'consent_string', + usPrivacy: 'consent_string', + gppString: 'gpp_string', + gppSid: [7], + prebidVersion: version, + transactionId: '56e184c6-bde9-497b-b9b9-cf47a61381ee', + auctionId: 'auction_id', + bidRequestsCount: 4, + bidderRequestsCount: 3, + bidderWinsCount: 1, + bidderTimeout: 3000, + publisherId: '59ac17c192832d0011283fe3', + url: 'https%3A%2F%2Fwww.greatsite.com', + referrer: 'https://www.somereferrer.com', + res: `${window.top.screen.width}x${window.top.screen.height}`, + schain: VIDEO_BID.schain, + sizes: ['545x307'], + sua: { + 'source': 2, + 'platform': { + 'brand': 'Android', + 'version': ['8', '0', '0'] + }, + 'browsers': [ + {'brand': 'Not_A Brand', 'version': ['99', '0', '0', '0']}, + {'brand': 'Google Chrome', 'version': ['109', '0', '5414', '119']}, + {'brand': 'Chromium', 'version': ['109', '0', '5414', '119']} + ], + 'mobile': 1, + 'model': 'SM-G955U', + 'bitness': '64', + 'architecture': '' + }, + device: ORTB2_DEVICE, + uniqueDealId: `${hashUrl}_${Date.now().toString()}`, + uqs: getTopWindowQueryParams(), + mediaTypes: { + video: { + api: [2], + context: 'instream', + linearity: 1, + maxduration: 60, + mimes: [ + 'video/mp4', + 'application/javascript' + ], + minduration: 0, + placement: 1, + playerSize: [[545, 307]], + protocols: [2, 3, 5, 6], + startdelay: 0 + } + }, + gpid: '', + cat: [], + contentLang: 'en', + contentData: [], + isStorageAllowed: true, + pagecat: [], + ortb2: ORTB2_OBJ, + userData: [], + coppa: 0 + } + }); + }); + + it('should build banner request for each size', function () { + const hashUrl = hashCode(BIDDER_REQUEST.refererInfo.page); + config.setConfig({ + bidderTimeout: 3000 + }); + const requests = adapter.buildRequests([BID], BIDDER_REQUEST); + expect(requests).to.have.length(1); + expect(requests[0]).to.deep.equal({ + method: 'POST', + url: `${createDomain(SUB_DOMAIN)}/prebid/multi/59db6b3b4ffaa70004f45cdc`, + data: { + gdprConsent: 'consent_string', + gdpr: 1, + gppString: 'gpp_string', + gppSid: [7], + usPrivacy: 'consent_string', + transactionId: 'c881914b-a3b5-4ecf-ad9c-1c2f37c6aabf', + auctionId: 'auction_id', + bidRequestsCount: 4, + bidderRequestsCount: 3, + bidderWinsCount: 1, + bidderTimeout: 3000, + bidderRequestId: '1fdb5ff1b6eaa7', + sizes: ['300x250', '300x600'], + sua: { + 'source': 2, + 'platform': { + 'brand': 'Android', + 'version': ['8', '0', '0'] + }, + 'browsers': [ + {'brand': 'Not_A Brand', 'version': ['99', '0', '0', '0']}, + {'brand': 'Google Chrome', 'version': ['109', '0', '5414', '119']}, + {'brand': 'Chromium', 'version': ['109', '0', '5414', '119']} + ], + 'mobile': 1, + 'model': 'SM-G955U', + 'bitness': '64', + 'architecture': '' + }, + device: ORTB2_DEVICE, + url: 'https%3A%2F%2Fwww.greatsite.com', + referrer: 'https://www.somereferrer.com', + cb: 1000, + bidFloor: 0.1, + bidId: '2d52001cabd527', + adUnitCode: 'div-gpt-ad-12345-0', + publisherId: '59ac17c192832d0011283fe3', + uniqueDealId: `${hashUrl}_${Date.now().toString()}`, + bidderVersion: adapter.version, + prebidVersion: version, + schain: BID.schain, + res: `${window.top.screen.width}x${window.top.screen.height}`, + mediaTypes: [BANNER], + gpid: '0123456789', + uqs: getTopWindowQueryParams(), + 'ext.param1': 'loremipsum', + 'ext.param2': 'dolorsitamet', + cat: [], + contentLang: 'en', + contentData: [], + isStorageAllowed: true, + pagecat: [], + ortb2Imp: BID.ortb2Imp, + ortb2: ORTB2_OBJ, + userData: [], + coppa: 0 + } + }); + }); + + after(function () { + getGlobal().bidderSettings = {}; + sandbox.restore(); + }); + }); + describe('getUserSyncs', function () { + it('should have valid user sync with iframeEnabled', function () { + const result = adapter.getUserSyncs({iframeEnabled: true}, [SERVER_RESPONSE]); + + expect(result).to.deep.equal([{ + type: 'iframe', + url: 'https://sync.adnimation.com/api/sync/iframe/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=0' + }]); + }); + + it('should have valid user sync with cid on response', function () { + const result = adapter.getUserSyncs({iframeEnabled: true}, [SERVER_RESPONSE]); + expect(result).to.deep.equal([{ + type: 'iframe', + url: 'https://sync.adnimation.com/api/sync/iframe/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=0' + }]); + }); + + it('should have valid user sync with pixelEnabled', function () { + const result = adapter.getUserSyncs({pixelEnabled: true}, [SERVER_RESPONSE]); + + expect(result).to.deep.equal([{ + 'url': 'https://sync.adnimation.com/api/sync/image/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=0', + 'type': 'image' + }]); + }); + + it('should have valid user sync with coppa on response', function () { + config.setConfig({ + coppa: 1 + }); + const result = adapter.getUserSyncs({iframeEnabled: true}, [SERVER_RESPONSE]); + expect(result).to.deep.equal([{ + type: 'iframe', + url: 'https://sync.adnimation.com/api/sync/iframe/?cid=testcid123&gdpr=0&gdpr_consent=&us_privacy=&coppa=1' + }]); + }); + + it('should generate url with consent data', function () { + const gdprConsent = { + gdprApplies: true, + consentString: 'consent_string' + }; + const uspConsent = 'usp_string'; + const gppConsent = { + gppString: 'gpp_string', + applicableSections: [7] + } + + const result = adapter.getUserSyncs({pixelEnabled: true}, [SERVER_RESPONSE], gdprConsent, uspConsent, gppConsent); + + expect(result).to.deep.equal([{ + 'url': 'https://sync.adnimation.com/api/sync/image/?cid=testcid123&gdpr=1&gdpr_consent=consent_string&us_privacy=usp_string&coppa=1&gpp=gpp_string&gpp_sid=7', + 'type': 'image' + }]); + }); + }); + + describe('interpret response', function () { + it('should return empty array when there is no response', function () { + const responses = adapter.interpretResponse(null); + expect(responses).to.be.empty; + }); + + it('should return empty array when there is no ad', function () { + const responses = adapter.interpretResponse({price: 1, ad: ''}); + expect(responses).to.be.empty; + }); + + it('should return empty array when there is no price', function () { + const responses = adapter.interpretResponse({price: null, ad: 'great ad'}); + expect(responses).to.be.empty; + }); + + it('should return an array of interpreted banner responses', function () { + const responses = adapter.interpretResponse(SERVER_RESPONSE, REQUEST); + expect(responses).to.have.length(1); + expect(responses[0]).to.deep.equal({ + requestId: '2d52001cabd527', + cpm: 0.8, + width: 300, + height: 250, + creativeId: '12610997325162499419', + currency: 'USD', + netRevenue: true, + ttl: 30, + ad: '', + meta: { + advertiserDomains: ['securepubads.g.doubleclick.net'] + } + }); + }); + + it('should get meta from response metaData', function () { + const serverResponse = utils.deepClone(SERVER_RESPONSE); + serverResponse.body.results[0].metaData = { + advertiserDomains: ['adnimation.com'], + agencyName: 'Agency Name', + }; + const responses = adapter.interpretResponse(serverResponse, REQUEST); + expect(responses[0].meta).to.deep.equal({ + advertiserDomains: ['adnimation.com'], + agencyName: 'Agency Name' + }); + }); + + it('should return an array of interpreted video responses', function () { + const responses = adapter.interpretResponse(VIDEO_SERVER_RESPONSE, REQUEST); + expect(responses).to.have.length(1); + expect(responses[0]).to.deep.equal({ + requestId: '2d52001cabd527', + cpm: 2, + width: 545, + height: 307, + mediaType: 'video', + creativeId: '12610997325162499419', + currency: 'USD', + netRevenue: true, + ttl: 60, + vastXml: '', + meta: { + advertiserDomains: ['adnimation.com'] + } + }); + }); + + it('should take default TTL', function () { + const serverResponse = utils.deepClone(SERVER_RESPONSE); + delete serverResponse.body.results[0].exp; + const responses = adapter.interpretResponse(serverResponse, REQUEST); + expect(responses).to.have.length(1); + expect(responses[0].ttl).to.equal(300); + }); + }); + + describe('user id system', function () { + TEST_ID_SYSTEMS.forEach((idSystemProvider) => { + const id = Date.now().toString(); + const bid = utils.deepClone(BID); + + const userId = (function () { + switch (idSystemProvider) { + case 'lipb': + return {lipbid: id}; + case 'id5id': + return {uid: id}; + default: + return id; + } + })(); + + bid.userId = { + [idSystemProvider]: userId + }; + + it(`should include 'uid.${idSystemProvider}' in request params`, function () { + const requests = adapter.buildRequests([bid], BIDDER_REQUEST); + expect(requests[0].data[`uid.${idSystemProvider}`]).to.equal(id); + }); + }); + // testing bid.userIdAsEids handling + it("should include user ids from bid.userIdAsEids (length=1)", function() { + const bid = utils.deepClone(BID); + bid.userIdAsEids = [ + { + "source": "audigent.com", + "uids": [{"id": "fakeidi6j6dlc6e"}] + } + ] + const requests = adapter.buildRequests([bid], BIDDER_REQUEST); + expect(requests[0].data['uid.audigent.com']).to.equal("fakeidi6j6dlc6e"); + }) + it("should include user ids from bid.userIdAsEids (length=2)", function() { + const bid = utils.deepClone(BID); + bid.userIdAsEids = [ + { + "source": "audigent.com", + "uids": [{"id": "fakeidi6j6dlc6e"}] + }, + { + "source": "rwdcntrl.net", + "uids": [{"id": "fakeid6f35197d5c", "atype": 1}] + } + ] + const requests = adapter.buildRequests([bid], BIDDER_REQUEST); + expect(requests[0].data['uid.audigent.com']).to.equal("fakeidi6j6dlc6e"); + expect(requests[0].data['uid.rwdcntrl.net']).to.equal("fakeid6f35197d5c"); + }) + // testing user.ext.eid handling + it("should include user ids from user.ext.eid (length=1)", function() { + const bid = utils.deepClone(BID); + bid.user = { + ext: { + eids: [ + { + "source": "pubcid.org", + "uids": [{"id": "fakeid8888dlc6e"}] + } + ] + } + } + const requests = adapter.buildRequests([bid], BIDDER_REQUEST); + expect(requests[0].data['uid.pubcid.org']).to.equal("fakeid8888dlc6e"); + }) + it("should include user ids from user.ext.eid (length=2)", function() { + const bid = utils.deepClone(BID); + bid.user = { + ext: { + eids: [ + { + "source": "pubcid.org", + "uids": [{"id": "fakeid8888dlc6e"}] + }, + { + "source": "adserver.org", + "uids": [{"id": "fakeid495ff1"}] + } + ] + } + } + const requests = adapter.buildRequests([bid], BIDDER_REQUEST); + expect(requests[0].data['uid.pubcid.org']).to.equal("fakeid8888dlc6e"); + expect(requests[0].data['uid.adserver.org']).to.equal("fakeid495ff1"); + }) + }); + + describe('alternate param names extractors', function () { + it('should return undefined when param not supported', function () { + const cid = extractCID({'c_id': '1'}); + const pid = extractPID({'p_id': '1'}); + const subDomain = extractSubDomain({'sub_domain': 'prebid'}); + expect(cid).to.be.undefined; + expect(pid).to.be.undefined; + expect(subDomain).to.be.undefined; + }); + + it('should return value when param supported', function () { + const cid = extractCID({'cID': '1'}); + const pid = extractPID({'Pid': '2'}); + const subDomain = extractSubDomain({'subDOMAIN': 'prebid'}); + expect(cid).to.be.equal('1'); + expect(pid).to.be.equal('2'); + expect(subDomain).to.be.equal('prebid'); + }); + }); + + describe('unique deal id', function () { + before(function () { + getGlobal().bidderSettings = { + adnimation: { + storageAllowed: true + } + }; + }); + after(function () { + getGlobal().bidderSettings = {}; + }); + const key = 'myKey'; + let uniqueDealId; + beforeEach(() => { + uniqueDealId = getUniqueDealId(storage, key, 0); + }) + + it('should get current unique deal id', function (done) { + // waiting some time so `now` will become past + setTimeout(() => { + const current = getUniqueDealId(storage, key); + expect(current).to.be.equal(uniqueDealId); + done(); + }, 200); + }); + + it('should get new unique deal id on expiration', function (done) { + setTimeout(() => { + const current = getUniqueDealId(storage, key, 100); + expect(current).to.not.be.equal(uniqueDealId); + done(); + }, 200) + }); + }); + + describe('storage utils', function () { + before(function () { + getGlobal().bidderSettings = { + adnimation: { + storageAllowed: true + } + }; + }); + after(function () { + getGlobal().bidderSettings = {}; + }); + it('should get value from storage with create param', function () { + const now = Date.now(); + const clock = useFakeTimers({ + shouldAdvanceTime: true, + now + }); + setStorageItem(storage, 'myKey', 2020); + const {value, created} = getStorageItem(storage, 'myKey'); + expect(created).to.be.equal(now); + expect(value).to.be.equal(2020); + expect(typeof value).to.be.equal('number'); + expect(typeof created).to.be.equal('number'); + clock.restore(); + }); + + it('should get external stored value', function () { + const value = 'superman' + window.localStorage.setItem('myExternalKey', value); + const item = getStorageItem(storage, 'myExternalKey'); + expect(item).to.be.equal(value); + }); + + it('should parse JSON value', function () { + const data = JSON.stringify({event: 'send'}); + const {event} = tryParseJSON(data); + expect(event).to.be.equal('send'); + }); + + it('should get original value on parse fail', function () { + const value = 21; + const parsed = tryParseJSON(value); + expect(typeof parsed).to.be.equal('number'); + expect(parsed).to.be.equal(value); + }); + }); +}); From 336b9bc6ba3b79d1da5e7576d100a124a411bfd8 Mon Sep 17 00:00:00 2001 From: MaksymTeqBlaze Date: Fri, 27 Feb 2026 10:57:31 +0200 Subject: [PATCH 236/248] TeqBlaze Bidder Utils: fix uspConsent string handling in getUserSyncs (#14515) * TeqBlazeSalesAgent Bid Adapter: initial release * update doc * fix for uspConsent string in getUserSyncs * fix test --------- Co-authored-by: Patrick McCann --- libraries/teqblazeUtils/bidderUtils.js | 4 ++-- test/spec/libraries/teqblazeUtils/bidderUtils_spec.js | 8 +++----- test/spec/modules/360playvidBidAdapter_spec.js | 8 +++----- test/spec/modules/acuityadsBidAdapter_spec.js | 8 +++----- test/spec/modules/adprimeBidAdapter_spec.js | 8 +++----- test/spec/modules/ads_interactiveBidAdapter_spec.js | 8 +++----- test/spec/modules/appStockSSPBidAdapter_spec.js | 8 +++----- test/spec/modules/beyondmediaBidAdapter_spec.js | 8 +++----- test/spec/modules/bidfuseBidAdapter_spec.js | 2 +- test/spec/modules/boldwinBidAdapter_spec.js | 8 +++----- test/spec/modules/colossussspBidAdapter_spec.js | 2 +- test/spec/modules/compassBidAdapter_spec.js | 8 +++----- test/spec/modules/contentexchangeBidAdapter_spec.js | 8 +++----- test/spec/modules/copper6sspBidAdapter_spec.js | 8 +++----- test/spec/modules/dpaiBidAdapter_spec.js | 8 +++----- test/spec/modules/emtvBidAdapter_spec.js | 8 +++----- test/spec/modules/iqzoneBidAdapter_spec.js | 8 +++----- test/spec/modules/kiviadsBidAdapter_spec.js | 8 +++----- test/spec/modules/krushmediaBidAdapter_spec.js | 8 +++----- test/spec/modules/lunamediahbBidAdapter_spec.js | 8 +++----- test/spec/modules/mathildeadsBidAdapter_spec.js | 8 +++----- test/spec/modules/mycodemediaBidAdapter_spec.js | 8 +++----- test/spec/modules/orakiBidAdapter_spec.js | 8 +++----- test/spec/modules/pgamsspBidAdapter_spec.js | 8 +++----- test/spec/modules/pubCircleBidAdapter_spec.js | 8 +++----- test/spec/modules/pubriseBidAdapter_spec.js | 8 +++----- test/spec/modules/qtBidAdapter_spec.js | 8 +++----- test/spec/modules/rocketlabBidAdapter_spec.js | 8 +++----- test/spec/modules/smarthubBidAdapter_spec.js | 10 ++++------ test/spec/modules/smootBidAdapter_spec.js | 8 +++----- test/spec/modules/visiblemeasuresBidAdapter_spec.js | 8 +++----- 31 files changed, 89 insertions(+), 145 deletions(-) diff --git a/libraries/teqblazeUtils/bidderUtils.js b/libraries/teqblazeUtils/bidderUtils.js index f310f2304d2..2c07c8ea288 100644 --- a/libraries/teqblazeUtils/bidderUtils.js +++ b/libraries/teqblazeUtils/bidderUtils.js @@ -231,8 +231,8 @@ export const getUserSyncs = (syncUrl) => (syncOptions, serverResponses, gdprCons } } - if (uspConsent && uspConsent.consentString) { - url += `&ccpa_consent=${uspConsent.consentString}`; + if (uspConsent) { + url += `&ccpa_consent=${uspConsent}`; } if (gppConsent?.gppString && gppConsent?.applicableSections?.length) { diff --git a/test/spec/libraries/teqblazeUtils/bidderUtils_spec.js b/test/spec/libraries/teqblazeUtils/bidderUtils_spec.js index 85ea1131db4..73055521549 100644 --- a/test/spec/libraries/teqblazeUtils/bidderUtils_spec.js +++ b/test/spec/libraries/teqblazeUtils/bidderUtils_spec.js @@ -516,7 +516,7 @@ describe('TeqBlazeBidderUtils', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -525,9 +525,7 @@ describe('TeqBlazeBidderUtils', function () { expect(syncData[0].url).to.equal(`https://${DOMAIN}/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0`) }); it('Should return array of objects with proper sync config , include CCPA', function () { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -536,7 +534,7 @@ describe('TeqBlazeBidderUtils', function () { expect(syncData[0].url).to.equal(`https://${DOMAIN}/image?pbjs=1&ccpa_consent=1---&coppa=0`) }); it('Should return array of objects with proper sync config , include GPP', function () { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/360playvidBidAdapter_spec.js b/test/spec/modules/360playvidBidAdapter_spec.js index 393afbf4545..7718c0c2eca 100644 --- a/test/spec/modules/360playvidBidAdapter_spec.js +++ b/test/spec/modules/360playvidBidAdapter_spec.js @@ -483,7 +483,7 @@ describe('360PlayVidBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -492,9 +492,7 @@ describe('360PlayVidBidAdapter', function () { expect(syncData[0].url).to.equal('https://cookie.360playvid.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -503,7 +501,7 @@ describe('360PlayVidBidAdapter', function () { expect(syncData[0].url).to.equal('https://cookie.360playvid.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/acuityadsBidAdapter_spec.js b/test/spec/modules/acuityadsBidAdapter_spec.js index e37b6913ced..f7979c969df 100644 --- a/test/spec/modules/acuityadsBidAdapter_spec.js +++ b/test/spec/modules/acuityadsBidAdapter_spec.js @@ -531,7 +531,7 @@ describe('AcuityAdsBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -540,9 +540,7 @@ describe('AcuityAdsBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.admanmedia.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -551,7 +549,7 @@ describe('AcuityAdsBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.admanmedia.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/adprimeBidAdapter_spec.js b/test/spec/modules/adprimeBidAdapter_spec.js index a917d85d6ab..d49281d79c6 100644 --- a/test/spec/modules/adprimeBidAdapter_spec.js +++ b/test/spec/modules/adprimeBidAdapter_spec.js @@ -436,7 +436,7 @@ describe('AdprimeBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -445,9 +445,7 @@ describe('AdprimeBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync.adprime.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -456,7 +454,7 @@ describe('AdprimeBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync.adprime.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/ads_interactiveBidAdapter_spec.js b/test/spec/modules/ads_interactiveBidAdapter_spec.js index c16f5a5a7b5..c3d27008182 100644 --- a/test/spec/modules/ads_interactiveBidAdapter_spec.js +++ b/test/spec/modules/ads_interactiveBidAdapter_spec.js @@ -482,7 +482,7 @@ describe('AdsInteractiveBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -491,9 +491,7 @@ describe('AdsInteractiveBidAdapter', function () { expect(syncData[0].url).to.equal('https://cstb.adsinteractive.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -502,7 +500,7 @@ describe('AdsInteractiveBidAdapter', function () { expect(syncData[0].url).to.equal('https://cstb.adsinteractive.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/appStockSSPBidAdapter_spec.js b/test/spec/modules/appStockSSPBidAdapter_spec.js index 7ee7d739dd3..64dac5fe8e7 100644 --- a/test/spec/modules/appStockSSPBidAdapter_spec.js +++ b/test/spec/modules/appStockSSPBidAdapter_spec.js @@ -499,7 +499,7 @@ describe('AppStockSSPBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -508,9 +508,7 @@ describe('AppStockSSPBidAdapter', function () { expect(syncData[0].url).to.equal('https://csync.al-ad.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -519,7 +517,7 @@ describe('AppStockSSPBidAdapter', function () { expect(syncData[0].url).to.equal('https://csync.al-ad.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/beyondmediaBidAdapter_spec.js b/test/spec/modules/beyondmediaBidAdapter_spec.js index 79bf88cb6be..5ee8d73207b 100644 --- a/test/spec/modules/beyondmediaBidAdapter_spec.js +++ b/test/spec/modules/beyondmediaBidAdapter_spec.js @@ -431,7 +431,7 @@ describe('AndBeyondMediaBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -440,9 +440,7 @@ describe('AndBeyondMediaBidAdapter', function () { expect(syncData[0].url).to.equal('https://cookies.andbeyond.media/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -451,7 +449,7 @@ describe('AndBeyondMediaBidAdapter', function () { expect(syncData[0].url).to.equal('https://cookies.andbeyond.media/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/bidfuseBidAdapter_spec.js b/test/spec/modules/bidfuseBidAdapter_spec.js index 95c84dcdf87..3c247c17b43 100644 --- a/test/spec/modules/bidfuseBidAdapter_spec.js +++ b/test/spec/modules/bidfuseBidAdapter_spec.js @@ -337,7 +337,7 @@ describe('BidfuseBidAdapter', function () { const result = spec.getUserSyncs({pixelEnabled: true}, [serverResponse], gdprConsent, uspConsent, gppConsent); expect(result).to.deep.equal([{ - 'url': 'https://syncbf.bidfuse.com/image?pbjs=1&gdpr=1&gdpr_consent=consent_string&gpp=gpp_string&gpp_sid=7&coppa=1', + 'url': 'https://syncbf.bidfuse.com/image?pbjs=1&gdpr=1&gdpr_consent=consent_string&ccpa_consent=usp_string&gpp=gpp_string&gpp_sid=7&coppa=1', 'type': 'image' }]); }); diff --git a/test/spec/modules/boldwinBidAdapter_spec.js b/test/spec/modules/boldwinBidAdapter_spec.js index 5d8c7fab9fd..fdaa0f19f3f 100644 --- a/test/spec/modules/boldwinBidAdapter_spec.js +++ b/test/spec/modules/boldwinBidAdapter_spec.js @@ -434,7 +434,7 @@ describe('BoldwinBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -443,9 +443,7 @@ describe('BoldwinBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync.videowalldirect.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -454,7 +452,7 @@ describe('BoldwinBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync.videowalldirect.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/colossussspBidAdapter_spec.js b/test/spec/modules/colossussspBidAdapter_spec.js index 9c92661fd54..cc926e61b9e 100644 --- a/test/spec/modules/colossussspBidAdapter_spec.js +++ b/test/spec/modules/colossussspBidAdapter_spec.js @@ -447,7 +447,7 @@ describe('ColossussspAdapter', function () { }) describe('getUserSyncs', function () { - const userSync = spec.getUserSyncs({}, {}, { consentString: 'xxx', gdprApplies: 1 }, { consentString: '1YN-' }); + const userSync = spec.getUserSyncs({}, {}, { consentString: 'xxx', gdprApplies: 1 }, '1YN-'); it('Returns valid URL and type', function () { expect(userSync).to.be.an('array').with.lengthOf(1); expect(userSync[0].type).to.exist; diff --git a/test/spec/modules/compassBidAdapter_spec.js b/test/spec/modules/compassBidAdapter_spec.js index 8d0e1cc5715..57412de4379 100644 --- a/test/spec/modules/compassBidAdapter_spec.js +++ b/test/spec/modules/compassBidAdapter_spec.js @@ -482,7 +482,7 @@ describe('CompassBidAdapter', function () { const syncData = config.runWithBidder(bidder, () => spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {})); + }, undefined)); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -491,9 +491,7 @@ describe('CompassBidAdapter', function () { expect(syncData[0].url).to.equal('https://sa-cs.deliverimp.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = config.runWithBidder(bidder, () => spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - })); + const syncData = config.runWithBidder(bidder, () => spec.getUserSyncs({}, {}, {}, '1---')); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -502,7 +500,7 @@ describe('CompassBidAdapter', function () { expect(syncData[0].url).to.equal('https://sa-cs.deliverimp.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = config.runWithBidder(bidder, () => spec.getUserSyncs({}, {}, {}, {}, { + const syncData = config.runWithBidder(bidder, () => spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] })); diff --git a/test/spec/modules/contentexchangeBidAdapter_spec.js b/test/spec/modules/contentexchangeBidAdapter_spec.js index 12a4c6c5de2..cdf5be50250 100644 --- a/test/spec/modules/contentexchangeBidAdapter_spec.js +++ b/test/spec/modules/contentexchangeBidAdapter_spec.js @@ -481,7 +481,7 @@ describe('ContentexchangeBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -490,9 +490,7 @@ describe('ContentexchangeBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync2.adnetwork.agency/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -501,7 +499,7 @@ describe('ContentexchangeBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync2.adnetwork.agency/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/copper6sspBidAdapter_spec.js b/test/spec/modules/copper6sspBidAdapter_spec.js index 3c32750cbc0..888291c5997 100644 --- a/test/spec/modules/copper6sspBidAdapter_spec.js +++ b/test/spec/modules/copper6sspBidAdapter_spec.js @@ -484,7 +484,7 @@ describe('Copper6SSPBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -493,9 +493,7 @@ describe('Copper6SSPBidAdapter', function () { expect(syncData[0].url).to.equal('https://сsync.copper6.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -504,7 +502,7 @@ describe('Copper6SSPBidAdapter', function () { expect(syncData[0].url).to.equal('https://сsync.copper6.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/dpaiBidAdapter_spec.js b/test/spec/modules/dpaiBidAdapter_spec.js index f412a3316f0..f81c3aa7c95 100644 --- a/test/spec/modules/dpaiBidAdapter_spec.js +++ b/test/spec/modules/dpaiBidAdapter_spec.js @@ -478,7 +478,7 @@ describe('DpaiBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -487,9 +487,7 @@ describe('DpaiBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync.drift-pixel.ai/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -498,7 +496,7 @@ describe('DpaiBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync.drift-pixel.ai/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/emtvBidAdapter_spec.js b/test/spec/modules/emtvBidAdapter_spec.js index 0e91f3fa719..a75522607c1 100644 --- a/test/spec/modules/emtvBidAdapter_spec.js +++ b/test/spec/modules/emtvBidAdapter_spec.js @@ -485,7 +485,7 @@ describe('EMTVBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -494,9 +494,7 @@ describe('EMTVBidAdapter', function () { expect(syncData[0].url).to.equal(`${syncUrl}/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0`) }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -505,7 +503,7 @@ describe('EMTVBidAdapter', function () { expect(syncData[0].url).to.equal(`${syncUrl}/image?pbjs=1&ccpa_consent=1---&coppa=0`) }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/iqzoneBidAdapter_spec.js b/test/spec/modules/iqzoneBidAdapter_spec.js index c14b85b2c8b..7f48b7077bf 100644 --- a/test/spec/modules/iqzoneBidAdapter_spec.js +++ b/test/spec/modules/iqzoneBidAdapter_spec.js @@ -480,7 +480,7 @@ describe('IQZoneBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -489,9 +489,7 @@ describe('IQZoneBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.iqzone.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -500,7 +498,7 @@ describe('IQZoneBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.iqzone.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/kiviadsBidAdapter_spec.js b/test/spec/modules/kiviadsBidAdapter_spec.js index d7f9a233c9d..d7cbd189782 100644 --- a/test/spec/modules/kiviadsBidAdapter_spec.js +++ b/test/spec/modules/kiviadsBidAdapter_spec.js @@ -483,7 +483,7 @@ describe('KiviAdsBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -492,9 +492,7 @@ describe('KiviAdsBidAdapter', function () { expect(syncData[0].url).to.equal(`${syncUrl}/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0`) }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -503,7 +501,7 @@ describe('KiviAdsBidAdapter', function () { expect(syncData[0].url).to.equal(`${syncUrl}/image?pbjs=1&ccpa_consent=1---&coppa=0`) }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/krushmediaBidAdapter_spec.js b/test/spec/modules/krushmediaBidAdapter_spec.js index 98bdbcbb855..044d9d4f26b 100644 --- a/test/spec/modules/krushmediaBidAdapter_spec.js +++ b/test/spec/modules/krushmediaBidAdapter_spec.js @@ -483,7 +483,7 @@ describe('KrushmediabBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -492,9 +492,7 @@ describe('KrushmediabBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.krushmedia.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -503,7 +501,7 @@ describe('KrushmediabBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.krushmedia.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/lunamediahbBidAdapter_spec.js b/test/spec/modules/lunamediahbBidAdapter_spec.js index 79c9c0d6172..a0b4a02cc57 100644 --- a/test/spec/modules/lunamediahbBidAdapter_spec.js +++ b/test/spec/modules/lunamediahbBidAdapter_spec.js @@ -432,7 +432,7 @@ describe('LunamediaHBBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -441,9 +441,7 @@ describe('LunamediaHBBidAdapter', function () { expect(syncData[0].url).to.equal('https://cookie.lmgssp.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -452,7 +450,7 @@ describe('LunamediaHBBidAdapter', function () { expect(syncData[0].url).to.equal('https://cookie.lmgssp.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/mathildeadsBidAdapter_spec.js b/test/spec/modules/mathildeadsBidAdapter_spec.js index 05336197872..21b7b4a7d21 100644 --- a/test/spec/modules/mathildeadsBidAdapter_spec.js +++ b/test/spec/modules/mathildeadsBidAdapter_spec.js @@ -432,7 +432,7 @@ describe('MathildeAdsBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -441,9 +441,7 @@ describe('MathildeAdsBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs2.mathilde-ads.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -452,7 +450,7 @@ describe('MathildeAdsBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs2.mathilde-ads.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/mycodemediaBidAdapter_spec.js b/test/spec/modules/mycodemediaBidAdapter_spec.js index 7cc9b412ea0..fbf40f4b403 100644 --- a/test/spec/modules/mycodemediaBidAdapter_spec.js +++ b/test/spec/modules/mycodemediaBidAdapter_spec.js @@ -478,7 +478,7 @@ describe('MyCodeMediaBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -487,9 +487,7 @@ describe('MyCodeMediaBidAdapter', function () { expect(syncData[0].url).to.equal('https://usersync.mycodemedia.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -498,7 +496,7 @@ describe('MyCodeMediaBidAdapter', function () { expect(syncData[0].url).to.equal('https://usersync.mycodemedia.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/orakiBidAdapter_spec.js b/test/spec/modules/orakiBidAdapter_spec.js index 4a6b8fa7d36..f3f31be3e30 100644 --- a/test/spec/modules/orakiBidAdapter_spec.js +++ b/test/spec/modules/orakiBidAdapter_spec.js @@ -478,7 +478,7 @@ describe('OrakiBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -487,9 +487,7 @@ describe('OrakiBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync.oraki.io/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -498,7 +496,7 @@ describe('OrakiBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync.oraki.io/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/pgamsspBidAdapter_spec.js b/test/spec/modules/pgamsspBidAdapter_spec.js index 6eea9bec92a..b881be50402 100644 --- a/test/spec/modules/pgamsspBidAdapter_spec.js +++ b/test/spec/modules/pgamsspBidAdapter_spec.js @@ -481,7 +481,7 @@ describe('PGAMBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -490,9 +490,7 @@ describe('PGAMBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.pgammedia.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -501,7 +499,7 @@ describe('PGAMBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.pgammedia.com/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/pubCircleBidAdapter_spec.js b/test/spec/modules/pubCircleBidAdapter_spec.js index 97953192a6e..ebf53063c52 100644 --- a/test/spec/modules/pubCircleBidAdapter_spec.js +++ b/test/spec/modules/pubCircleBidAdapter_spec.js @@ -432,7 +432,7 @@ describe('PubCircleBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -441,9 +441,7 @@ describe('PubCircleBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.pubcircle.ai/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -452,7 +450,7 @@ describe('PubCircleBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.pubcircle.ai/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/pubriseBidAdapter_spec.js b/test/spec/modules/pubriseBidAdapter_spec.js index 786f6a98b5c..37aaa964602 100644 --- a/test/spec/modules/pubriseBidAdapter_spec.js +++ b/test/spec/modules/pubriseBidAdapter_spec.js @@ -482,7 +482,7 @@ describe('PubriseBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -491,9 +491,7 @@ describe('PubriseBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync.pubrise.ai/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -502,7 +500,7 @@ describe('PubriseBidAdapter', function () { expect(syncData[0].url).to.equal('https://sync.pubrise.ai/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/qtBidAdapter_spec.js b/test/spec/modules/qtBidAdapter_spec.js index 279962d0d3c..b2b7511cb18 100644 --- a/test/spec/modules/qtBidAdapter_spec.js +++ b/test/spec/modules/qtBidAdapter_spec.js @@ -481,7 +481,7 @@ describe('QTBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -490,9 +490,7 @@ describe('QTBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.qt.io/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0') }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -501,7 +499,7 @@ describe('QTBidAdapter', function () { expect(syncData[0].url).to.equal('https://cs.qt.io/image?pbjs=1&ccpa_consent=1---&coppa=0') }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); diff --git a/test/spec/modules/rocketlabBidAdapter_spec.js b/test/spec/modules/rocketlabBidAdapter_spec.js index fc162c67959..ffe48e4c2d9 100644 --- a/test/spec/modules/rocketlabBidAdapter_spec.js +++ b/test/spec/modules/rocketlabBidAdapter_spec.js @@ -544,7 +544,7 @@ describe("RocketLabBidAdapter", function () { consentString: "ALL", gdprApplies: true, }, - {} + undefined ); expect(syncData).to.be.an("array").which.is.not.empty; expect(syncData[0]).to.be.an("object"); @@ -560,9 +560,7 @@ describe("RocketLabBidAdapter", function () { {}, {}, {}, - { - consentString: "1---", - } + "1---" ); expect(syncData).to.be.an("array").which.is.not.empty; expect(syncData[0]).to.be.an("object"); @@ -578,7 +576,7 @@ describe("RocketLabBidAdapter", function () { {}, {}, {}, - {}, + undefined, { gppString: "abc123", applicableSections: [8], diff --git a/test/spec/modules/smarthubBidAdapter_spec.js b/test/spec/modules/smarthubBidAdapter_spec.js index 29607365c68..19848ffd03f 100644 --- a/test/spec/modules/smarthubBidAdapter_spec.js +++ b/test/spec/modules/smarthubBidAdapter_spec.js @@ -446,7 +446,7 @@ describe('SmartHubBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -455,9 +455,7 @@ describe('SmartHubBidAdapter', function () { expect(syncData[0].url).to.equal('https://us4.shb-sync.com/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0&pid=360') }); it('Should return array of objects with CCPA values', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -466,7 +464,7 @@ describe('SmartHubBidAdapter', function () { expect(syncData[0].url).to.equal('https://us4.shb-sync.com/image?pbjs=1&ccpa_consent=1---&coppa=0&pid=360') }); it('Should return array of objects with GPP values', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'ab12345', applicableSections: [8] }); @@ -478,7 +476,7 @@ describe('SmartHubBidAdapter', function () { expect(syncData[0].url).to.equal('https://us4.shb-sync.com/image?pbjs=1&gpp=ab12345&gpp_sid=8&coppa=0&pid=360') }); it('Should return iframe type if iframeEnabled is true', function() { - const syncData = spec.getUserSyncs({iframeEnabled: true}, {}, {}, {}, {}); + const syncData = spec.getUserSyncs({iframeEnabled: true}, {}, {}, undefined, {}); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') diff --git a/test/spec/modules/smootBidAdapter_spec.js b/test/spec/modules/smootBidAdapter_spec.js index d9c5580e60d..7ab8100bbe1 100644 --- a/test/spec/modules/smootBidAdapter_spec.js +++ b/test/spec/modules/smootBidAdapter_spec.js @@ -544,7 +544,7 @@ describe('SmootBidAdapter', function () { consentString: 'ALL', gdprApplies: true, }, - {} + undefined ); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object'); @@ -560,9 +560,7 @@ describe('SmootBidAdapter', function () { {}, {}, {}, - { - consentString: '1---', - } + '1---' ); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object'); @@ -578,7 +576,7 @@ describe('SmootBidAdapter', function () { {}, {}, {}, - {}, + undefined, { gppString: 'abc123', applicableSections: [8], diff --git a/test/spec/modules/visiblemeasuresBidAdapter_spec.js b/test/spec/modules/visiblemeasuresBidAdapter_spec.js index d17e82a1c7a..b76805e4ba0 100644 --- a/test/spec/modules/visiblemeasuresBidAdapter_spec.js +++ b/test/spec/modules/visiblemeasuresBidAdapter_spec.js @@ -483,7 +483,7 @@ describe('VisibleMeasuresBidAdapter', function () { const syncData = spec.getUserSyncs({}, {}, { consentString: 'ALL', gdprApplies: true, - }, {}); + }, undefined); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -492,9 +492,7 @@ describe('VisibleMeasuresBidAdapter', function () { expect(syncData[0].url).to.equal(`${syncUrl}/image?pbjs=1&gdpr=1&gdpr_consent=ALL&coppa=0`) }); it('Should return array of objects with proper sync config , include CCPA', function() { - const syncData = spec.getUserSyncs({}, {}, {}, { - consentString: '1---' - }); + const syncData = spec.getUserSyncs({}, {}, {}, '1---'); expect(syncData).to.be.an('array').which.is.not.empty; expect(syncData[0]).to.be.an('object') expect(syncData[0].type).to.be.a('string') @@ -503,7 +501,7 @@ describe('VisibleMeasuresBidAdapter', function () { expect(syncData[0].url).to.equal(`${syncUrl}/image?pbjs=1&ccpa_consent=1---&coppa=0`) }); it('Should return array of objects with proper sync config , include GPP', function() { - const syncData = spec.getUserSyncs({}, {}, {}, {}, { + const syncData = spec.getUserSyncs({}, {}, {}, undefined, { gppString: 'abc123', applicableSections: [8] }); From 064d3a44f6534f7a0a42c4cc1f99d14e5dee158f Mon Sep 17 00:00:00 2001 From: ahzgg <163184035+ahzgg@users.noreply.github.com> Date: Fri, 27 Feb 2026 03:07:26 -0600 Subject: [PATCH 237/248] GumGum Adapter: migrate identity extraction to EIDs (#14511) * ADJS-1646-update-userId-handling * added test: should filter pubProvidedId entries by allowed sources * support ortb2.user.ext.eids fallback and add identity parity tests * Prioritize prebid.js 10 structure * GumGum Adapter: fix TDID extraction across all EID uids and add edge-case tests --- modules/gumgumBidAdapter.js | 92 +++++--- test/spec/modules/gumgumBidAdapter_spec.js | 246 +++++++++++++++++---- 2 files changed, 261 insertions(+), 77 deletions(-) diff --git a/modules/gumgumBidAdapter.js b/modules/gumgumBidAdapter.js index 3f7339a4f08..1b8cc95e2dc 100644 --- a/modules/gumgumBidAdapter.js +++ b/modules/gumgumBidAdapter.js @@ -1,12 +1,11 @@ import {BANNER, VIDEO} from '../src/mediaTypes.js'; import {_each, deepAccess, getWinDimensions, logError, logWarn, parseSizesInput} from '../src/utils.js'; -import {getDevicePixelRatio} from '../libraries/devicePixelRatio/devicePixelRatio.js'; import {config} from '../src/config.js'; +import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; +import {getDevicePixelRatio} from '../libraries/devicePixelRatio/devicePixelRatio.js'; import {getStorageManager} from '../src/storageManager.js'; - import {registerBidder} from '../src/adapters/bidderFactory.js'; -import { getConnectionInfo } from '../libraries/connectionInfo/connectionUtils.js'; /** * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest @@ -324,28 +323,53 @@ function getGreatestDimensions(sizes) { return [maxw, maxh]; } -function getEids(userId) { - const idProperties = [ - 'uid', - 'eid', - 'lipbid', - 'envelope', - 'id' - ]; - - return Object.keys(userId).reduce(function (eids, provider) { - const eid = userId[provider]; - switch (typeof eid) { - case 'string': - eids[provider] = eid; - break; - - case 'object': - const idProp = idProperties.filter(prop => eid.hasOwnProperty(prop)); - idProp.length && (eids[provider] = eid[idProp[0]]); - break; +function getFirstUid(eid) { + if (!eid || !Array.isArray(eid.uids)) return null; + return eid.uids.find(uid => uid && uid.id); +} + +function getUserEids(bidRequest, bidderRequest) { + const bidderRequestEids = deepAccess(bidderRequest, 'ortb2.user.ext.eids'); + if (Array.isArray(bidderRequestEids) && bidderRequestEids.length) { + return bidderRequestEids; + } + const bidEids = deepAccess(bidRequest, 'userIdAsEids'); + if (Array.isArray(bidEids) && bidEids.length) { + return bidEids; + } + const bidUserEids = deepAccess(bidRequest, 'user.ext.eids'); + if (Array.isArray(bidUserEids) && bidUserEids.length) { + return bidUserEids; + } + return []; +} + +function isPubProvidedIdEid(eid) { + const source = (eid && eid.source) ? eid.source.toLowerCase() : ''; + if (!source || !pubProvidedIdSources.includes(source) || !Array.isArray(eid.uids)) return false; + return eid.uids.some(uid => uid && uid.ext && uid.ext.stype); +} + +function getEidsFromEidsArray(eids) { + return (Array.isArray(eids) ? eids : []).reduce((ids, eid) => { + const source = (eid.source || '').toLowerCase(); + if (source === 'uidapi.com') { + const uid = getFirstUid(eid); + if (uid) { + ids.uid2 = uid.id; + } + } else if (source === 'liveramp.com') { + const uid = getFirstUid(eid); + if (uid) { + ids.idl_env = uid.id; + } + } else if (source === 'adserver.org' && Array.isArray(eid.uids)) { + const tdidUid = eid.uids.find(uid => uid && uid.id && uid.ext && uid.ext.rtiPartner === 'TDID'); + if (tdidUid) { + ids.tdid = tdidUid.id; + } } - return eids; + return ids; }, {}); } @@ -369,12 +393,12 @@ function buildRequests(validBidRequests, bidderRequest) { bidId, mediaTypes = {}, params = {}, - userId = {}, ortb2Imp, adUnitCode = '' } = bidRequest; const { currency, floor } = _getFloor(mediaTypes, params.bidfloor, bidRequest); - const eids = getEids(userId); + const userEids = getUserEids(bidRequest, bidderRequest); + const eids = getEidsFromEidsArray(userEids); const gpid = deepAccess(ortb2Imp, 'ext.gpid'); const paapiEligible = deepAccess(ortb2Imp, 'ext.ae') === 1 let sizes = [1, 1]; @@ -399,16 +423,20 @@ function buildRequests(validBidRequests, bidderRequest) { } } // Send filtered pubProvidedId's - if (userId && userId.pubProvidedId) { - const filteredData = userId.pubProvidedId.filter(item => pubProvidedIdSources.includes(item.source)); + if (userEids.length) { + const filteredData = userEids.filter(isPubProvidedIdEid); const maxLength = 1800; // replace this with your desired maximum length const truncatedJsonString = jsoStringifynWithMaxLength(filteredData, maxLength); - data.pubProvidedId = truncatedJsonString + if (filteredData.length) { + data.pubProvidedId = truncatedJsonString + } } // ADJS-1286 Read id5 id linktype field - if (userId && userId.id5id && userId.id5id.uid && userId.id5id.ext) { - data.id5Id = userId.id5id.uid || null - data.id5IdLinkType = userId.id5id.ext.linkType || null + const id5Eid = userEids.find(eid => (eid.source || '').toLowerCase() === 'id5-sync.com'); + const id5Uid = getFirstUid(id5Eid); + if (id5Uid && id5Uid.ext) { + data.id5Id = id5Uid.id || null + data.id5IdLinkType = id5Uid.ext.linkType || null } // ADTS-169 add adUnitCode to requests if (adUnitCode) data.aun = adUnitCode; diff --git a/test/spec/modules/gumgumBidAdapter_spec.js b/test/spec/modules/gumgumBidAdapter_spec.js index 1ceaf4f2646..67caf24dba3 100644 --- a/test/spec/modules/gumgumBidAdapter_spec.js +++ b/test/spec/modules/gumgumBidAdapter_spec.js @@ -100,6 +100,39 @@ describe('gumgumAdapter', function () { describe('buildRequests', function () { const sizesArray = [[300, 250], [300, 600]]; + const id5Eid = { + source: 'id5-sync.com', + uids: [{ + id: 'uid-string', + ext: { + linkType: 2 + } + }] + }; + const pubProvidedIdEids = [ + { + uids: [ + { + ext: { + stype: 'ppuid', + }, + id: 'aac4504f-ef89-401b-a891-ada59db44336', + }, + ], + source: 'audigent.com', + }, + { + uids: [ + { + ext: { + stype: 'ppuid', + }, + id: 'y-zqTHmW9E2uG3jEETC6i6BjGcMhPXld2F~A', + }, + ], + source: 'crwdcntrl.net', + }, + ]; const bidderRequest = { ortb2: { site: { @@ -136,38 +169,7 @@ describe('gumgumAdapter', function () { sizes: sizesArray } }, - userId: { - id5id: { - uid: 'uid-string', - ext: { - linkType: 2 - } - } - }, - pubProvidedId: [ - { - uids: [ - { - ext: { - stype: 'ppuid', - }, - id: 'aac4504f-ef89-401b-a891-ada59db44336', - }, - ], - source: 'sonobi.com', - }, - { - uids: [ - { - ext: { - stype: 'ppuid', - }, - id: 'y-zqTHmW9E2uG3jEETC6i6BjGcMhPXld2F~A', - }, - ], - source: 'aol.com', - }, - ], + userIdAsEids: [id5Eid, ...pubProvidedIdEids], adUnitCode: 'adunit-code', sizes: sizesArray, bidId: '30b31c1838de1e', @@ -227,13 +229,139 @@ describe('gumgumAdapter', function () { it('should set pubProvidedId if the uid and pubProvidedId are available', function () { const request = { ...bidRequests[0] }; const bidRequest = spec.buildRequests([request])[0]; - expect(bidRequest.data.pubProvidedId).to.equal(JSON.stringify(bidRequests[0].userId.pubProvidedId)); + expect(bidRequest.data.pubProvidedId).to.equal(JSON.stringify(pubProvidedIdEids)); + }); + it('should filter pubProvidedId entries by allowed sources', function () { + const filteredRequest = { + ...bidRequests[0], + userIdAsEids: [ + { + source: 'audigent.com', + uids: [{ id: 'ppid-1', ext: { stype: 'ppuid' } }] + }, + { + source: 'sonobi.com', + uids: [{ id: 'ppid-2', ext: { stype: 'ppuid' } }] + } + ] + }; + const bidRequest = spec.buildRequests([filteredRequest])[0]; + const pubProvidedIds = JSON.parse(bidRequest.data.pubProvidedId); + expect(pubProvidedIds.length).to.equal(1); + expect(pubProvidedIds[0].source).to.equal('audigent.com'); + }); + it('should not set pubProvidedId when all sources are filtered out', function () { + const filteredRequest = { + ...bidRequests[0], + userIdAsEids: [{ + source: 'sonobi.com', + uids: [{ id: 'ppid-2', ext: { stype: 'ppuid' } }] + }] + }; + const bidRequest = spec.buildRequests([filteredRequest])[0]; + expect(bidRequest.data.pubProvidedId).to.equal(undefined); }); it('should set id5Id and id5IdLinkType if the uid and linkType are available', function () { const request = { ...bidRequests[0] }; const bidRequest = spec.buildRequests([request])[0]; - expect(bidRequest.data.id5Id).to.equal(bidRequests[0].userId.id5id.uid); - expect(bidRequest.data.id5IdLinkType).to.equal(bidRequests[0].userId.id5id.ext.linkType); + expect(bidRequest.data.id5Id).to.equal(id5Eid.uids[0].id); + expect(bidRequest.data.id5IdLinkType).to.equal(id5Eid.uids[0].ext.linkType); + }); + it('should use bidderRequest.ortb2.user.ext.eids when bid-level eids are not available', function () { + const request = { ...bidRequests[0], userIdAsEids: undefined }; + const fakeBidderRequest = { + ...bidderRequest, + ortb2: { + ...bidderRequest.ortb2, + user: { + ext: { + eids: [{ + source: 'liveramp.com', + uids: [{ + id: 'fallback-idl-env' + }] + }] + } + } + } + }; + const bidRequest = spec.buildRequests([request], fakeBidderRequest)[0]; + expect(bidRequest.data.idl_env).to.equal('fallback-idl-env'); + }); + it('should prioritize bidderRequest.ortb2.user.ext.eids over bid-level eids', function () { + const request = { + ...bidRequests[0], + userIdAsEids: [{ + source: 'liveramp.com', + uids: [{ id: 'bid-level-idl-env' }] + }] + }; + const fakeBidderRequest = { + ...bidderRequest, + ortb2: { + ...bidderRequest.ortb2, + user: { + ext: { + eids: [{ + source: 'liveramp.com', + uids: [{ id: 'ortb2-level-idl-env' }] + }] + } + } + } + }; + const bidRequest = spec.buildRequests([request], fakeBidderRequest)[0]; + expect(bidRequest.data.idl_env).to.equal('ortb2-level-idl-env'); + }); + it('should keep identity output consistent for prebid10 ortb2 eids input', function () { + const request = { ...bidRequests[0], userIdAsEids: undefined }; + const fakeBidderRequest = { + ...bidderRequest, + ortb2: { + ...bidderRequest.ortb2, + user: { + ext: { + eids: [ + { + source: 'uidapi.com', + uids: [{ id: 'uid2-token', atype: 3 }] + }, + { + source: 'liveramp.com', + uids: [{ id: 'idl-envelope', atype: 1 }] + }, + { + source: 'adserver.org', + uids: [{ id: 'tdid-value', atype: 1, ext: { rtiPartner: 'TDID' } }] + }, + { + source: 'id5-sync.com', + uids: [{ id: 'id5-value', atype: 1, ext: { linkType: 2 } }] + }, + { + source: 'audigent.com', + uids: [{ id: 'ppid-1', atype: 1, ext: { stype: 'ppuid' } }] + }, + { + source: 'sonobi.com', + uids: [{ id: 'ppid-2', atype: 1, ext: { stype: 'ppuid' } }] + } + ] + } + } + } + }; + const bidRequest = spec.buildRequests([request], fakeBidderRequest)[0]; + + // Expected identity payload shape from legacy GumGum request fields. + expect(bidRequest.data.uid2).to.equal('uid2-token'); + expect(bidRequest.data.idl_env).to.equal('idl-envelope'); + expect(bidRequest.data.tdid).to.equal('tdid-value'); + expect(bidRequest.data.id5Id).to.equal('id5-value'); + expect(bidRequest.data.id5IdLinkType).to.equal(2); + const pubProvidedId = JSON.parse(bidRequest.data.pubProvidedId); + expect(pubProvidedId.length).to.equal(1); + expect(pubProvidedId[0].source).to.equal('audigent.com'); }); it('should set pubId param if found', function () { @@ -614,7 +742,7 @@ describe('gumgumAdapter', function () { it('should set pubProvidedId if the uid and pubProvidedId are available', function () { const request = { ...bidRequests[0] }; const bidRequest = spec.buildRequests([request])[0]; - expect(bidRequest.data.pubProvidedId).to.equal(JSON.stringify(bidRequests[0].userId.pubProvidedId)); + expect(bidRequest.data.pubProvidedId).to.equal(JSON.stringify(pubProvidedIdEids)); }); it('should add gdpr consent parameters if gdprConsent is present', function () { @@ -714,14 +842,40 @@ describe('gumgumAdapter', function () { expect(bidRequest.data.uspConsent).to.eq(uspConsentObj.uspConsent); }); it('should add a tdid parameter if request contains unified id from TradeDesk', function () { - const unifiedId = { - 'userId': { - 'tdid': 'tradedesk-id' - } - } - const request = Object.assign(unifiedId, bidRequests[0]); + const tdidEid = { + source: 'adserver.org', + uids: [{ + id: 'tradedesk-id', + ext: { + rtiPartner: 'TDID' + } + }] + }; + const request = Object.assign({}, bidRequests[0], { userIdAsEids: [...bidRequests[0].userIdAsEids, tdidEid] }); + const bidRequest = spec.buildRequests([request])[0]; + expect(bidRequest.data.tdid).to.eq(tdidEid.uids[0].id); + }); + it('should add a tdid parameter when TDID uid is not the first uid in adserver.org', function () { + const tdidEid = { + source: 'adserver.org', + uids: [ + { + id: 'non-tdid-first', + ext: { + rtiPartner: 'NOT_TDID' + } + }, + { + id: 'tradedesk-id', + ext: { + rtiPartner: 'TDID' + } + } + ] + }; + const request = Object.assign({}, bidRequests[0], { userIdAsEids: [tdidEid] }); const bidRequest = spec.buildRequests([request])[0]; - expect(bidRequest.data.tdid).to.eq(unifiedId.userId.tdid); + expect(bidRequest.data.tdid).to.eq('tradedesk-id'); }); it('should not add a tdid parameter if unified id is not found', function () { const request = spec.buildRequests(bidRequests)[0]; @@ -729,7 +883,8 @@ describe('gumgumAdapter', function () { }); it('should send IDL envelope ID if available', function () { const idl_env = 'abc123'; - const request = { ...bidRequests[0], userId: { idl_env } }; + const idlEid = { source: 'liveramp.com', uids: [{ id: idl_env }] }; + const request = { ...bidRequests[0], userIdAsEids: [idlEid] }; const bidRequest = spec.buildRequests([request])[0]; expect(bidRequest.data).to.have.property('idl_env'); @@ -743,7 +898,8 @@ describe('gumgumAdapter', function () { }); it('should add a uid2 parameter if request contains uid2 id', function () { const uid2 = { id: 'sample-uid2' }; - const request = { ...bidRequests[0], userId: { uid2 } }; + const uid2Eid = { source: 'uidapi.com', uids: [{ id: uid2.id }] }; + const request = { ...bidRequests[0], userIdAsEids: [uid2Eid] }; const bidRequest = spec.buildRequests([request])[0]; expect(bidRequest.data).to.have.property('uid2'); From 192f96a8c3f42a24a23930b69d36b3791a76ab1e Mon Sep 17 00:00:00 2001 From: ibhattacharya-dev Date: Fri, 27 Feb 2026 14:45:30 +0530 Subject: [PATCH 238/248] mediafuseBidAdapter - Updates and Refactor (#14469) * mediafuseBidAdapter Updates and Refactor * Addressed Flagged Issues and removed ADPOD import. * More Fixes * bug fixes, code quality improvements, and expanded test coverage * Updates and Fixes * Flagged Issues Fixes --- modules/mediafuseBidAdapter.js | 1739 +++++----- modules/mediafuseBidAdapter.md | 8 +- test/spec/modules/mediafuseBidAdapter_spec.js | 2894 +++++++++-------- 3 files changed, 2425 insertions(+), 2216 deletions(-) diff --git a/modules/mediafuseBidAdapter.js b/modules/mediafuseBidAdapter.js index 0bffb9219ce..a719bb5e729 100644 --- a/modules/mediafuseBidAdapter.js +++ b/modules/mediafuseBidAdapter.js @@ -1,8 +1,13 @@ +import { ortbConverter } from '../libraries/ortbConverter/converter.js'; +import { registerBidder } from '../src/adapters/bidderFactory.js'; +import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; +import { Renderer } from '../src/Renderer.js'; +import { getStorageManager } from '../src/storageManager.js'; +import { hasPurpose1Consent } from '../src/utils/gdpr.js'; import { createTrackPixelHtml, deepAccess, - deepClone, - getBidRequest, + deepSetValue, getParameterByName, isArray, isArrayOfNums, @@ -16,487 +21,655 @@ import { logMessage, logWarn } from '../src/utils.js'; -import {Renderer} from '../src/Renderer.js'; -import {config} from '../src/config.js'; -import {registerBidder} from '../src/adapters/bidderFactory.js'; -import {ADPOD, BANNER, NATIVE, VIDEO} from '../src/mediaTypes.js'; -import {INSTREAM, OUTSTREAM} from '../src/video.js'; -import {getStorageManager} from '../src/storageManager.js'; -import {bidderSettings} from '../src/bidderSettings.js'; -import {hasPurpose1Consent} from '../src/utils/gdpr.js'; -import {convertOrtbRequestToProprietaryNative} from '../src/native.js'; -import {APPNEXUS_CATEGORY_MAPPING} from '../libraries/categoryTranslationMapping/index.js'; +import { config } from '../src/config.js'; import { getANKewyordParamFromMaps, getANKeywordParam } from '../libraries/appnexusUtils/anKeywords.js'; -import {convertCamelToUnderscore, fill} from '../libraries/appnexusUtils/anUtils.js'; -import {chunk} from '../libraries/chunk/chunk.js'; - -/** - * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest - * @typedef {import('../src/adapters/bidderFactory.js').Bid} Bid - */ - +import { convertCamelToUnderscore } from '../libraries/appnexusUtils/anUtils.js'; +import { chunk } from '../libraries/chunk/chunk.js'; const BIDDER_CODE = 'mediafuse'; -const URL = 'https://ib.adnxs.com/ut/v3/prebid'; -const URL_SIMPLE = 'https://ib.adnxs-simple.com/ut/v3/prebid'; -const VIDEO_TARGETING = ['id', 'minduration', 'maxduration', - 'skippable', 'playback_method', 'frameworks', 'context', 'skipoffset']; -const VIDEO_RTB_TARGETING = ['minduration', 'maxduration', 'skip', 'skipafter', 'playbackmethod', 'api']; -const USER_PARAMS = ['age', 'externalUid', 'segments', 'gender', 'dnt', 'language']; -const APP_DEVICE_PARAMS = ['device_id']; // appid is collected separately +const GVLID = 32; +const ENDPOINT_URL_NORMAL = 'https://ib.adnxs.com/openrtb2/prebidjs'; +const ENDPOINT_URL_SIMPLE = 'https://ib.adnxs-simple.com/openrtb2/prebidjs'; +const SOURCE = 'pbjs'; +const MAX_IMPS_PER_REQUEST = 15; const DEBUG_PARAMS = ['enabled', 'dongle', 'member_id', 'debug_timeout']; -const VIDEO_MAPPING = { - playback_method: { - 'unknown': 0, - 'auto_play_sound_on': 1, - 'auto_play_sound_off': 2, - 'click_to_play': 3, - 'mouse_over': 4, - 'auto_play_sound_unknown': 5 - }, - context: { - 'unknown': 0, - 'pre_roll': 1, - 'mid_roll': 2, - 'post_roll': 3, - 'outstream': 4, - 'in-banner': 5 - } +const DEBUG_QUERY_PARAM_MAP = { + 'apn_debug_enabled': 'enabled', + 'apn_debug_dongle': 'dongle', + 'apn_debug_member_id': 'member_id', + 'apn_debug_timeout': 'debug_timeout' }; -const NATIVE_MAPPING = { - body: 'description', - body2: 'desc2', - cta: 'ctatext', - image: { - serverName: 'main_image', - requiredParams: { required: true } - }, - icon: { - serverName: 'icon', - requiredParams: { required: true } - }, - sponsoredBy: 'sponsored_by', - privacyLink: 'privacy_link', - salePrice: 'saleprice', - displayUrl: 'displayurl' +const RESPONSE_MEDIA_TYPE_MAP = { + 0: BANNER, + 1: VIDEO, + 3: NATIVE }; -const SOURCE = 'pbjs'; -const MAX_IMPS_PER_REQUEST = 15; -const SCRIPT_TAG_START = ' USER_PARAMS.includes(param)) - .forEach((param) => { - const uparam = convertCamelToUnderscore(param); - if (param === 'segments' && isArray(userObjBid.params.user[param])) { - const segs = []; - userObjBid.params.user[param].forEach(val => { - if (isNumber(val)) { - segs.push({'id': val}); - } else if (isPlainObject(val)) { - segs.push(val); - } - }); - userObj[uparam] = segs; - } else if (param !== 'segments') { - userObj[uparam] = userObjBid.params.user[param]; - } - }); + if (!imp.banner && deepAccess(bidRequest, 'mediaTypes.banner')) { + const sizes = deepAccess(bidRequest, 'mediaTypes.banner.sizes'); + if (isArray(sizes) && sizes.length > 0) { + const size = isArray(sizes[0]) ? sizes[0] : sizes; + imp.banner = { + w: size[0], h: size[1], + format: sizes.map(s => { + const sz = isArray(s) ? s : [s[0], s[1]]; + return { w: sz[0], h: sz[1] }; + }) + }; + } + } + const bidderParams = bidRequest.params; + const extANData = { + disable_psa: true + }; + // Legacy support for placement_id vs placementId + const placementId = bidderParams.placement_id || bidderParams.placementId; + if (placementId) { + extANData.placement_id = parseInt(placementId, 10); + } else { + const invCode = bidderParams.inv_code || bidderParams.invCode; + if (invCode) { + deepSetValue(imp, 'tagid', invCode); + } } - const appDeviceObjBid = ((bidRequests) || []).find(hasAppDeviceInfo); - let appDeviceObj; - if (appDeviceObjBid && appDeviceObjBid.params && appDeviceObjBid.params.app) { - appDeviceObj = {}; - Object.keys(appDeviceObjBid.params.app) - .filter(param => APP_DEVICE_PARAMS.includes(param)) - .forEach(param => { - appDeviceObj[param] = appDeviceObjBid.params.app[param]; - }); + if (imp.banner) { + // primary_size for legacy support + const firstFormat = deepAccess(imp, 'banner.format.0'); + if (firstFormat) { + extANData.primary_size = firstFormat; + } + if (!imp.banner.api) { + const bannerFrameworks = bidderParams.banner_frameworks || bidderParams.frameworks; + if (isArrayOfNums(bannerFrameworks)) { + extANData.banner_frameworks = bannerFrameworks; + } + } } - const appIdObjBid = ((bidRequests) || []).find(hasAppId); - let appIdObj; - if (appIdObjBid && appIdObjBid.params && appDeviceObjBid.params.app && appDeviceObjBid.params.app.id) { - appIdObj = { - appid: appIdObjBid.params.app.id - }; + const gpid = deepAccess(bidRequest, 'ortb2Imp.ext.gpid'); + if (gpid) { + extANData.gpid = gpid; } - let debugObj = {}; - const debugObjParams = {}; - const debugCookieName = 'apn_prebid_debug'; - const debugCookie = storage.getCookie(debugCookieName) || null; + if (FEATURES.VIDEO && imp.video) { + if (deepAccess(bidRequest, 'mediaTypes.video.context') === 'instream') { + extANData.require_asset_url = true; + } - if (debugCookie) { - try { - debugObj = JSON.parse(debugCookie); - } catch (e) { - logError('MediaFuse Debug Auction Cookie Error:\n\n' + e); + const videoParams = bidderParams.video; + if (videoParams) { + Object.keys(videoParams) + .filter(param => VIDEO_TARGETING.includes(param)) + .forEach(param => { + if (param === 'frameworks') { + if (isArray(videoParams.frameworks)) { + extANData.video_frameworks = videoParams.frameworks; + } + } else { + imp.video[param] = videoParams[param]; + } + }); } - } else { - const debugBidRequest = ((bidRequests) || []).find(hasDebug); - if (debugBidRequest && debugBidRequest.debug) { - debugObj = debugBidRequest.debug; + + const videoMediaType = deepAccess(bidRequest, 'mediaTypes.video'); + if (videoMediaType && imp.video) { + Object.keys(videoMediaType) + .filter(param => VIDEO_RTB_TARGETING.includes(param)) + .forEach(param => { + switch (param) { + case 'minduration': + case 'maxduration': + if (typeof imp.video[param] !== 'number') imp.video[param] = videoMediaType[param]; + break; + case 'skip': + if (typeof imp.video['skippable'] !== 'boolean') imp.video['skippable'] = (videoMediaType[param] === 1); + break; + case 'skipafter': + if (typeof imp.video['skipoffset'] !== 'number') imp.video['skipoffset'] = videoMediaType[param]; + break; + case 'playbackmethod': + if (typeof imp.video['playback_method'] !== 'number' && isArray(videoMediaType[param])) { + const type = videoMediaType[param][0]; + if (type >= 1 && type <= 4) { + imp.video['playback_method'] = type; + } + } + break; + case 'api': + if (!extANData.video_frameworks && isArray(videoMediaType[param])) { + const apiTmp = videoMediaType[param].map(val => { + const v = (val === 4) ? 5 : (val === 5) ? 4 : val; + return (v >= 1 && v <= 5) ? v : undefined; + }).filter(v => v !== undefined); + extANData.video_frameworks = apiTmp; + } + break; + } + }); } - } - if (debugObj && debugObj.enabled) { - Object.keys(debugObj) - .filter(param => DEBUG_PARAMS.includes(param)) - .forEach(param => { - debugObjParams[param] = debugObj[param]; - }); + if (deepAccess(bidRequest, 'mediaTypes.video.context') === 'outstream') { + imp.video.placement = imp.video.placement || 4; + } + + const xandrVideoContext = VIDEO_CONTEXT_MAP[deepAccess(bidRequest, 'mediaTypes.video.context')]; + if (xandrVideoContext !== undefined) { + deepSetValue(imp, 'video.ext.appnexus.context', xandrVideoContext); + } + } + if (bidRequest.renderer) { + extANData.custom_renderer_present = true; } - const memberIdBid = ((bidRequests) || []).find(hasMemberId); - const member = memberIdBid ? parseInt(memberIdBid.params.member, 10) : 0; - const schain = bidRequests[0]?.ortb2?.source?.ext?.schain; - const omidSupport = ((bidRequests) || []).find(hasOmidSupport); + Object.entries(OPTIONAL_PARAMS_MAP).forEach(([paramName, ortbName]) => { + if (bidderParams[paramName] !== undefined) { + extANData[ortbName] = bidderParams[paramName]; + } + }); - const payload = { - tags: [...tags], - user: userObj, - sdk: { - source: SOURCE, - version: '$prebid.version$' - }, - schain: schain - }; + Object.keys(bidderParams) + .filter(param => !KNOWN_PARAMS.has(param)) + .forEach(param => { + extANData[convertCamelToUnderscore(param)] = bidderParams[param]; + }); - if (omidSupport) { - payload['iab_support'] = { - omidpn: 'Mediafuse', - omidpv: '$prebid.version$' - }; + // Keywords + if (!isEmpty(bidderParams.keywords)) { + const keywords = getANKewyordParamFromMaps(bidderParams.keywords); + if (keywords && keywords.length > 0) { + extANData.keywords = keywords.map(kw => kw.key + (kw.value ? '=' + kw.value.join(',') : '')).join(','); + } } - if (member > 0) { - payload.member_id = member; + // Floor + const bidFloor = getBidFloor(bidRequest); + if (bidFloor) { + imp.bidfloor = bidFloor; + imp.bidfloorcur = 'USD'; + } else { + delete imp.bidfloor; + delete imp.bidfloorcur; } - if (appDeviceObjBid) { - payload.device = appDeviceObj; + if (Object.keys(extANData).length > 0) { + deepSetValue(imp, 'ext.appnexus', extANData); } - if (appIdObjBid) { - payload.app = appIdObj; + + return imp; + }, + request(buildRequest, imps, bidderRequest, context) { + const request = buildRequest(imps, bidderRequest, context); + + // Ensure EIDs from the userId module are included when ortbConverter hasn't already + // populated user.ext.eids (e.g. when ortb2.user.ext.eids is not pre-set by the page). + // All bids in a request share the same user EIDs, so reading from bids[0] is correct. + if (!deepAccess(request, 'user.ext.eids')) { + const bidEids = bidderRequest.bids?.[0]?.userIdAsEids; + if (isArray(bidEids) && bidEids.length > 0) { + deepSetValue(request, 'user.ext.eids', bidEids); + } } - const mfKeywords = config.getConfig('mediafuseAuctionKeywords'); - payload.keywords = getANKeywordParam(bidderRequest?.ortb2, mfKeywords); + if (request.user && request.user.ext && isArray(request.user.ext.eids)) { + request.user.ext.eids.forEach(eid => { + let rtiPartner; + if (eid.source === 'adserver.org') { + rtiPartner = 'TDID'; + } else if (eid.source === 'uidapi.com') { + rtiPartner = 'UID2'; + } + + if (rtiPartner) { + // Set rtiPartner on the first uid's ext object + if (isArray(eid.uids) && eid.uids[0]) { + eid.uids[0] = Object.assign({}, eid.uids[0], { ext: Object.assign({}, eid.uids[0].ext, { rtiPartner }) }); + } + } + }); + } + + const extANData = { + prebid: true, + hb_source: 1, // 1 = client/web-originated header bidding request (Xandr source enum) + sdk: { + version: '$prebid.version$', + source: SOURCE + } + }; - if (config.getConfig('adpod.brandCategoryExclusion')) { - payload.brand_category_uniqueness = true; + if (bidderRequest?.refererInfo) { + const refererinfo = { + rd_ref: bidderRequest.refererInfo.topmostLocation ? encodeURIComponent(bidderRequest.refererInfo.topmostLocation) : '', + rd_top: bidderRequest.refererInfo.reachedTop, + rd_ifs: bidderRequest.refererInfo.numIframes, + rd_stk: bidderRequest.refererInfo.stack?.map((url) => encodeURIComponent(url)).join(',') + }; + if (bidderRequest.refererInfo.canonicalUrl) { + refererinfo.rd_can = bidderRequest.refererInfo.canonicalUrl; + } + extANData.referrer_detection = refererinfo; } - if (debugObjParams.enabled) { - payload.debug = debugObjParams; - logInfo('MediaFuse Debug Auction Settings:\n\n' + JSON.stringify(debugObjParams, null, 4)); + // App/Device parameters + const expandedBids = bidderRequest?.bids || []; + const memberBid = expandedBids.find(bid => bid.params && bid.params.member); + const commonBidderParams = memberBid ? memberBid.params : (expandedBids[0] && expandedBids[0].params); + + if (commonBidderParams) { + if (commonBidderParams.member) { + // member_id in the request body routes bids to the correct Xandr seat + extANData.member_id = parseInt(commonBidderParams.member, 10); + } + if (commonBidderParams.publisherId) { + deepSetValue(request, 'site.publisher.id', commonBidderParams.publisherId.toString()); + } } - if (bidderRequest && bidderRequest.gdprConsent) { - // note - objects for impbus use underscore instead of camelCase - payload.gdpr_consent = { - consent_string: bidderRequest.gdprConsent.consentString, - consent_required: bidderRequest.gdprConsent.gdprApplies + if (bidderRequest.bids?.some(bid => hasOmidSupport(bid))) { + extANData.iab_support = { + omidpn: 'Mediafuse', + omidpv: '$prebid.version$' }; + } + + deepSetValue(request, 'ext.appnexus', extANData); + + // GDPR / Consent + if (bidderRequest.gdprConsent) { + deepSetValue(request, 'regs.ext.gdpr', bidderRequest.gdprConsent.gdprApplies ? 1 : 0); + deepSetValue(request, 'user.ext.consent', bidderRequest.gdprConsent.consentString); if (bidderRequest.gdprConsent.addtlConsent && bidderRequest.gdprConsent.addtlConsent.indexOf('~') !== -1) { const ac = bidderRequest.gdprConsent.addtlConsent; - // pull only the ids from the string (after the ~) and convert them to an array of ints const acStr = ac.substring(ac.indexOf('~') + 1); - payload.gdpr_consent.addtl_consent = acStr.split('.').map(id => parseInt(id, 10)); + const addtlConsent = acStr.split('.').map(id => parseInt(id, 10)).filter(id => !isNaN(id)); + if (addtlConsent.length > 0) { + deepSetValue(request, 'user.ext.addtl_consent', addtlConsent); + } } } - if (bidderRequest && bidderRequest.uspConsent) { - payload.us_privacy = bidderRequest.uspConsent; + if (bidderRequest.uspConsent) { + deepSetValue(request, 'regs.ext.us_privacy', bidderRequest.uspConsent); } - if (bidderRequest && bidderRequest.refererInfo) { - const refererinfo = { - // TODO: this collects everything it finds, except for canonicalUrl - rd_ref: encodeURIComponent(bidderRequest.refererInfo.topmostLocation), - rd_top: bidderRequest.refererInfo.reachedTop, - rd_ifs: bidderRequest.refererInfo.numIframes, - rd_stk: bidderRequest.refererInfo.stack.map((url) => encodeURIComponent(url)).join(',') - }; - payload.referrer_detection = refererinfo; + if (bidderRequest.gppConsent) { + deepSetValue(request, 'regs.gpp', bidderRequest.gppConsent.gppString); + deepSetValue(request, 'regs.gpp_sid', bidderRequest.gppConsent.applicableSections); } - const hasAdPodBid = ((bidRequests) || []).find(hasAdPod); - if (hasAdPodBid) { - bidRequests.filter(hasAdPod).forEach(adPodBid => { - const adPodTags = createAdPodRequest(tags, adPodBid); - // don't need the original adpod placement because it's in adPodTags - const nonPodTags = payload.tags.filter(tag => tag.uuid !== adPodBid.bidId); - payload.tags = [...nonPodTags, ...adPodTags]; - }); + if (config.getConfig('coppa') === true) { + deepSetValue(request, 'regs.coppa', 1); } - if (bidRequests[0].userIdAsEids?.length > 0) { - const eids = []; - bidRequests[0].userIdAsEids.forEach(eid => { - if (!eid || !eid.uids || eid.uids.length < 1) { return; } - eid.uids.forEach(uid => { - const tmp = {'source': eid.source, 'id': uid.id}; - if (eid.source === 'adserver.org') { - tmp.rti_partner = 'TDID'; - } else if (eid.source === 'uidapi.com') { - tmp.rti_partner = 'UID2'; + // Legacy Xandr-specific user params (externalUid, segments, age, gender, dnt, language). + // These are not part of standard OpenRTB; kept for backwards compatibility with existing + // publisher configs. Standard OpenRTB user fields flow via bidderRequest.ortb2.user. + const userObjBid = ((bidderRequest?.bids) || []).find(bid => bid.params?.user); + if (userObjBid) { + const userObj = request.user || {}; + Object.keys(userObjBid.params.user) + .filter(param => USER_PARAMS.includes(param)) + .forEach((param) => { + const uparam = convertCamelToUnderscore(param); + if (param === 'segments' && isArray(userObjBid.params.user[param])) { + const segs = userObjBid.params.user[param].map(val => { + if (isNumber(val)) return { 'id': val }; + if (isPlainObject(val)) return val; + return undefined; + }).filter(s => s); + userObj.ext = userObj.ext || {}; + userObj.ext[uparam] = segs; + } else if (param !== 'segments') { + userObj[uparam] = userObjBid.params.user[param]; } - eids.push(tmp); }); - }); + request.user = userObj; + } - if (eids.length) { - payload.eids = eids; - } + // Legacy app object from bid.params.app; backwards compatibility for publishers who pre-date + // the standard bidderRequest.ortb2.app first-party data path. + const appObjBid = ((bidderRequest?.bids) || []).find(bid => bid.params?.app); + if (appObjBid) { + request.app = Object.assign({}, request.app, appObjBid.params.app); } - if (tags[0].publisher_id) { - payload.publisher_id = tags[0].publisher_id; + // Global Keywords — set via pbjs.setConfig({ mediafuseAuctionKeywords: { key: ['val'] } }) + const mfKeywords = config.getConfig('mediafuseAuctionKeywords'); + if (mfKeywords) { + const keywords = getANKeywordParam(bidderRequest?.ortb2, mfKeywords); + if (keywords && keywords.length > 0) { + const kwString = keywords.map(kw => kw.key + (kw.value ? '=' + kw.value.join(',') : '')).join(','); + deepSetValue(request, 'ext.appnexus.keywords', kwString); + } } - const request = formatRequest(payload, bidderRequest); return request; }, - - /** - * Unpack the response from the server into a list of bids. - * - * @param {*} serverResponse A successful response from the server. - * @return {Bid[]} An array of bids which were nested inside the server. - */ - interpretResponse: function (serverResponse, { bidderRequest }) { - serverResponse = serverResponse.body; - const bids = []; - if (!serverResponse || serverResponse.error) { - let errorMessage = `in response for ${bidderRequest.bidderCode} adapter`; - if (serverResponse && serverResponse.error) { errorMessage += `: ${serverResponse.error}`; } - logError(errorMessage); - return bids; - } - - if (serverResponse.tags) { - serverResponse.tags.forEach(serverBid => { - const rtbBid = getRtbBid(serverBid); - if (rtbBid) { - const cpmCheck = (bidderSettings.get(bidderRequest.bidderCode, 'allowZeroCpmBids') === true) ? rtbBid.cpm >= 0 : rtbBid.cpm > 0; - if (cpmCheck && this.supportedMediaTypes.includes(rtbBid.ad_type)) { - const bid = newBid(serverBid, rtbBid, bidderRequest); - bid.mediaType = parseMediaType(rtbBid); - bids.push(bid); - } - } - }); + bidResponse(buildBidResponse, bid, context) { + const { bidRequest } = context; + const bidAdType = bid?.ext?.appnexus?.bid_ad_type; + const mediaType = RESPONSE_MEDIA_TYPE_MAP[bidAdType]; + const extANData = deepAccess(bid, 'ext.appnexus'); + // Set mediaType for all bids to help ortbConverter determine the correct parser + if (mediaType) { + context.mediaType = mediaType; + } + let bidResponse; + try { + bidResponse = buildBidResponse(bid, context); + } catch (e) { + if (bidAdType !== 3 && mediaType !== 'native') { + logError('Mediafuse: buildBidResponse hook crash', e); + } else { + logWarn('Mediafuse: buildBidResponse native parse error', e); + } } - - if (serverResponse.debug && serverResponse.debug.debug_info) { - const debugHeader = 'MediaFuse Debug Auction for Prebid\n\n' - let debugText = debugHeader + serverResponse.debug.debug_info - debugText = debugText - .replace(/(|)/gm, '\t') // Tables - .replace(/(<\/td>|<\/th>)/gm, '\n') // Tables - .replace(/^
/gm, '') // Remove leading
- .replace(/(
\n|
)/gm, '\n') //
- .replace(/

(.*)<\/h1>/gm, '\n\n===== $1 =====\n\n') // Header H1 - .replace(/(.*)<\/h[2-6]>/gm, '\n\n*** $1 ***\n\n') // Headers - .replace(/(<([^>]+)>)/igm, ''); // Remove any other tags - // logMessage('https://console.appnexus.com/docs/understanding-the-debug-auction'); - logMessage(debugText); + if (!bidResponse) { + if (mediaType) { + bidResponse = { + requestId: bidRequest?.bidId || bid.impid, + cpm: bid.price || 0, + width: bid.w, + height: bid.h, + creativeId: bid.crid, + dealId: bid.dealid, + currency: 'USD', + netRevenue: true, + ttl: 300, + mediaType, + ad: bid.adm + }; + } else { + logWarn('Mediafuse: Could not build bidResponse for unknown mediaType', { bidAdType, mediaType }); + return null; + } } - return bids; - }, + if (extANData) { + bidResponse.meta = Object.assign({}, bidResponse.meta, { + advertiserId: extANData.advertiser_id, + brandId: extANData.brand_id, + buyerMemberId: extANData.buyer_member_id, + dealPriority: extANData.deal_priority, + dealCode: extANData.deal_code + }); - getUserSyncs: function (syncOptions, responses, gdprConsent) { - if (syncOptions.iframeEnabled && hasPurpose1Consent({gdprConsent})) { - return [{ - type: 'iframe', - url: 'https://acdn.adnxs.com/dmp/async_usersync.html' - }]; + if (extANData.buyer_member_id) { + bidResponse.meta.dchain = { + ver: '1.0', + complete: 0, + nodes: [{ + bsid: extANData.buyer_member_id.toString() + }] + }; + } } - }, - /** - * Add element selector to javascript tracker to improve native viewability - * @param {Bid} bid - */ - onBidWon: function (bid) { - if (bid.native) { - reloadViewabilityScriptWithCorrectParameters(bid); + if (bid.adomain) { + const adomain = isArray(bid.adomain) ? bid.adomain : [bid.adomain]; + if (adomain.length > 0) { + bidResponse.meta = bidResponse.meta || {}; + bidResponse.meta.advertiserDomains = adomain; + } } - } -}; - -function reloadViewabilityScriptWithCorrectParameters(bid) { - const viewJsPayload = getMediafuseViewabilityScriptFromJsTrackers(bid.native.javascriptTrackers); - - if (viewJsPayload) { - const prebidParams = 'pbjs_adid=' + bid.adId + ';pbjs_auc=' + bid.adUnitCode; - - const jsTrackerSrc = getViewabilityScriptUrlFromPayload(viewJsPayload); - const newJsTrackerSrc = jsTrackerSrc.replace('dom_id=%native_dom_id%', prebidParams); - - // find iframe containing script tag - const frameArray = document.getElementsByTagName('iframe'); + // Video + if (FEATURES.VIDEO && mediaType === VIDEO) { + bidResponse.ttl = 3600; + if (bid.nurl) { + bidResponse.vastImpUrl = bid.nurl; + } - // boolean var to modify only one script. That way if there are muliple scripts, - // they won't all point to the same creative. - let modifiedAScript = false; + if (extANData?.renderer_url && extANData?.renderer_id) { + const rendererOptions = deepAccess(bidRequest, 'mediaTypes.video.renderer.options') || deepAccess(bidRequest, 'renderer.options'); + bidResponse.adResponse = { + ad: { + notify_url: bid.nurl || '', + renderer_config: extANData.renderer_config || '', + }, + auction_id: extANData.auction_id, + content: bidResponse.vastXml, + tag_id: extANData.tag_id, + uuid: bidResponse.requestId + }; + bidResponse.renderer = newRenderer(bidRequest.adUnitCode, { + renderer_url: extANData.renderer_url, + renderer_id: extANData.renderer_id, + }, rendererOptions); + } else if (bid.nurl && extANData?.asset_url) { + const sep = bid.nurl.includes('?') ? '&' : '?'; + bidResponse.vastUrl = bid.nurl + sep + 'redir=' + encodeURIComponent(extANData.asset_url); + } + } - // first, loop on all ifames - for (let i = 0; i < frameArray.length && !modifiedAScript; i++) { - const currentFrame = frameArray[i]; + // Native processing: viewability macro replacement and manual asset mapping + if (FEATURES.NATIVE && (bidAdType === 3 || mediaType === 'native')) { + bidResponse.mediaType = 'native'; try { - // IE-compatible, see https://stackoverflow.com/a/3999191/2112089 - const nestedDoc = currentFrame.contentDocument || currentFrame.contentWindow.document; - - if (nestedDoc) { - // if the doc is present, we look for our jstracker - const scriptArray = nestedDoc.getElementsByTagName('script'); - for (let j = 0; j < scriptArray.length && !modifiedAScript; j++) { - const currentScript = scriptArray[j]; - if (currentScript.getAttribute('data-src') === jsTrackerSrc) { - currentScript.setAttribute('src', newJsTrackerSrc); - currentScript.setAttribute('data-src', ''); - if (currentScript.removeAttribute) { - currentScript.removeAttribute('data-src'); - } - modifiedAScript = true; + const adm = bid.adm; + const nativeAdm = isStr(adm) ? JSON.parse(adm) : adm || {}; + + // 1. Viewability macro replacement + const eventtrackers = nativeAdm.native?.eventtrackers || nativeAdm.eventtrackers; + if (eventtrackers && isArray(eventtrackers)) { + eventtrackers.forEach(trackCfg => { + if (trackCfg.url && trackCfg.url.includes('dom_id=%native_dom_id%')) { + const prebidParams = 'pbjs_adid=' + (bidResponse.adId || bidResponse.requestId) + ';pbjs_auc=' + (bidRequest?.adUnitCode || ''); + trackCfg.url = trackCfg.url.replace('dom_id=%native_dom_id%', prebidParams); } + }); + if (nativeAdm.native) { + nativeAdm.native.eventtrackers = eventtrackers; + } else { + nativeAdm.eventtrackers = eventtrackers; } } - } catch (exception) { - // trying to access a cross-domain iframe raises a SecurityError - // this is expected and ignored - if (!(exception instanceof DOMException && exception.name === 'SecurityError')) { - // all other cases are raised again to be treated by the calling function - throw exception; - } - } - } - } -} + // Stringify native ADM to ensure 'ad' field is available for tracking + bidResponse.ad = JSON.stringify(nativeAdm); + + // 2. Manual Mapping - OpenRTB 1.2 asset array format + const nativeAd = nativeAdm.native || nativeAdm; + const native = { + clickUrl: nativeAd.link?.url, + clickTrackers: nativeAd.link?.clicktrackers || nativeAd.link?.click_trackers || [], + impressionTrackers: nativeAd.imptrackers || nativeAd.impression_trackers || [], + privacyLink: nativeAd.privacy || nativeAd.privacy_link, + }; -function strIsMediafuseViewabilityScript(str) { - const regexMatchUrlStart = str.match(VIEWABILITY_URL_START); - const viewUrlStartInStr = regexMatchUrlStart != null && regexMatchUrlStart.length >= 1; + const nativeDataTypeById = {}; + const nativeImgTypeById = {}; + try { + const ortbImp = context.imp || (context.request ?? context.ortbRequest)?.imp?.find(i => i.id === bid.impid); + if (ortbImp) { + const reqStr = ortbImp.native?.request; + const nativeReq = reqStr ? (isStr(reqStr) ? JSON.parse(reqStr) : reqStr) : null; + (nativeReq?.assets || []).forEach(a => { + if (a.data?.type) nativeDataTypeById[a.id] = a.data.type; + if (a.img?.type) nativeImgTypeById[a.id] = a.img.type; + }); + } + } catch (e) { + logError('Mediafuse Native fallback error', e); + } - const regexMatchFileName = str.match(VIEWABILITY_FILE_NAME); - const fileNameInStr = regexMatchFileName != null && regexMatchFileName.length >= 1; + try { + (nativeAd.assets || []).forEach(asset => { + if (asset.title) { + native.title = asset.title.text; + } else if (asset.img) { + const imgType = asset.img.type ?? nativeImgTypeById[asset.id]; + if (imgType === 1) { + native.icon = { url: asset.img.url, width: asset.img.w || asset.img.width, height: asset.img.h || asset.img.height }; + } else { + native.image = { url: asset.img.url, width: asset.img.w || asset.img.width, height: asset.img.h || asset.img.height }; + } + } else if (asset.data) { + switch (asset.data.type ?? nativeDataTypeById[asset.id]) { + case 1: native.sponsoredBy = asset.data.value; break; + case 2: native.body = asset.data.value; break; + case 3: native.rating = asset.data.value; break; + case 4: native.likes = asset.data.value; break; + case 5: native.downloads = asset.data.value; break; + case 6: native.price = asset.data.value; break; + case 7: native.salePrice = asset.data.value; break; + case 8: native.phone = asset.data.value; break; + case 9: native.address = asset.data.value; break; + case 10: native.body2 = asset.data.value; break; + case 11: native.displayUrl = asset.data.value; break; + case 12: native.cta = asset.data.value; break; + } + } + }); - return str.startsWith(SCRIPT_TAG_START) && fileNameInStr && viewUrlStartInStr; -} + // Fallback for non-asset based native response (AppNexus legacy format) + if (!native.title && nativeAd.title) { + native.title = (isStr(nativeAd.title)) ? nativeAd.title : nativeAd.title.text; + } + if (!native.body && nativeAd.desc) { + native.body = nativeAd.desc; + } + if (!native.body2 && nativeAd.desc2) native.body2 = nativeAd.desc2; + if (!native.cta && nativeAd.ctatext) native.cta = nativeAd.ctatext; + if (!native.rating && nativeAd.rating) native.rating = nativeAd.rating; + if (!native.sponsoredBy && nativeAd.sponsored) native.sponsoredBy = nativeAd.sponsored; + if (!native.displayUrl && nativeAd.displayurl) native.displayUrl = nativeAd.displayurl; + if (!native.address && nativeAd.address) native.address = nativeAd.address; + if (!native.downloads && nativeAd.downloads) native.downloads = nativeAd.downloads; + if (!native.likes && nativeAd.likes) native.likes = nativeAd.likes; + if (!native.phone && nativeAd.phone) native.phone = nativeAd.phone; + if (!native.price && nativeAd.price) native.price = nativeAd.price; + if (!native.salePrice && nativeAd.saleprice) native.salePrice = nativeAd.saleprice; + + if (!native.image && nativeAd.main_img) { + native.image = { url: nativeAd.main_img.url, width: nativeAd.main_img.width, height: nativeAd.main_img.height }; + } + if (!native.icon && nativeAd.icon) { + native.icon = { url: nativeAd.icon.url, width: nativeAd.icon.width, height: nativeAd.icon.height }; + } -function getMediafuseViewabilityScriptFromJsTrackers(jsTrackerArray) { - let viewJsPayload; - if (isStr(jsTrackerArray) && strIsMediafuseViewabilityScript(jsTrackerArray)) { - viewJsPayload = jsTrackerArray; - } else if (isArray(jsTrackerArray)) { - for (let i = 0; i < jsTrackerArray.length; i++) { - const currentJsTracker = jsTrackerArray[i]; - if (strIsMediafuseViewabilityScript(currentJsTracker)) { - viewJsPayload = currentJsTracker; + bidResponse.native = native; + + let jsTrackers = nativeAd.javascript_trackers; + const viewabilityConfig = deepAccess(bid, 'ext.appnexus.viewability.config'); + if (viewabilityConfig) { + const jsTrackerDisarmed = viewabilityConfig.replace(/src=/g, 'data-src='); + if (jsTrackers == null) { + jsTrackers = [jsTrackerDisarmed]; + } else if (isStr(jsTrackers)) { + jsTrackers = [jsTrackers, jsTrackerDisarmed]; + } else if (isArray(jsTrackers)) { + jsTrackers = [...jsTrackers, jsTrackerDisarmed]; + } + } else if (isArray(nativeAd.eventtrackers)) { + const trackers = nativeAd.eventtrackers + .filter(t => t.method === 1) + .map(t => (t.url && t.url.match(VIEWABILITY_URL_START) && t.url.indexOf(VIEWABILITY_FILE_NAME) > -1) + ? t.url.replace(/src=/g, 'data-src=') + : t.url + ).filter(url => url); + + if (jsTrackers == null) { + jsTrackers = trackers; + } else if (isStr(jsTrackers)) { + jsTrackers = [jsTrackers, ...trackers]; + } else if (isArray(jsTrackers)) { + jsTrackers = [...jsTrackers, ...trackers]; + } + } + if (bidResponse.native) { + bidResponse.native.javascriptTrackers = jsTrackers; + } + } catch (e) { + logError('Mediafuse Native mapping error', e); + } + } catch (e) { + logError('Mediafuse Native JSON parse error', e); } } - } - return viewJsPayload; -} -function getViewabilityScriptUrlFromPayload(viewJsPayload) { - // extracting the content of the src attribute - // -> substring between src=" and " - const indexOfFirstQuote = viewJsPayload.indexOf('src="') + 5; // offset of 5: the length of 'src=' + 1 - const indexOfSecondQuote = viewJsPayload.indexOf('"', indexOfFirstQuote); - const jsTrackerSrc = viewJsPayload.substring(indexOfFirstQuote, indexOfSecondQuote); - return jsTrackerSrc; -} - -function formatRequest(payload, bidderRequest) { - let request = []; - const options = { - withCredentials: true - }; - - let endpointUrl = URL; + // Banner Trackers + if (mediaType === BANNER && extANData?.trackers) { + extANData.trackers.forEach(tracker => { + if (tracker.impression_urls) { + tracker.impression_urls.forEach(url => { + bidResponse.ad = (bidResponse.ad || '') + createTrackPixelHtml(url); + }); + } + }); + } - if (!hasPurpose1Consent(bidderRequest?.gdprConsent)) { - endpointUrl = URL_SIMPLE; + return bidResponse; } +}); - if (getParameterByName('apn_test').toUpperCase() === 'TRUE' || config.getConfig('apn_test') === true) { - options.customHeaders = { - 'X-Is-Test': 1 - }; +function getBidFloor(bid) { + if (!isFn(bid.getFloor)) { + return (bid.params.reserve != null) ? bid.params.reserve : null; } - - if (payload.tags.length > MAX_IMPS_PER_REQUEST) { - const clonedPayload = deepClone(payload); - - chunk(payload.tags, MAX_IMPS_PER_REQUEST).forEach(tags => { - clonedPayload.tags = tags; - const payloadString = JSON.stringify(clonedPayload); - request.push({ - method: 'POST', - url: endpointUrl, - data: payloadString, - bidderRequest, - options - }); - }); - } else { - const payloadString = JSON.stringify(payload); - request = { - method: 'POST', - url: endpointUrl, - data: payloadString, - bidderRequest, - options - }; - } - - return request; -} + // Mediafuse/AppNexus generally expects USD for its RTB endpoints + let floor = bid.getFloor({ + currency: 'USD', + mediaType: '*', + size: '*' + }); + if (isPlainObject(floor) && !isNaN(floor.floor) && floor.currency === 'USD') { + return floor.floor; + } + return null; +} function newRenderer(adUnitCode, rtbBid, rendererOptions = {}) { const renderer = Renderer.install({ @@ -504,7 +677,7 @@ function newRenderer(adUnitCode, rtbBid, rendererOptions = {}) { url: rtbBid.renderer_url, config: rendererOptions, loaded: false, - adUnitCode + adUnitCode, }); try { @@ -514,588 +687,308 @@ function newRenderer(adUnitCode, rtbBid, rendererOptions = {}) { } renderer.setEventHandlers({ - impression: () => logMessage('MediaFuse outstream video impression event'), - loaded: () => logMessage('MediaFuse outstream video loaded event'), + impression: () => logMessage('Mediafuse outstream video impression event'), + loaded: () => logMessage('Mediafuse outstream video loaded event'), ended: () => { - logMessage('MediaFuse outstream renderer video event'); - document.querySelector(`#${adUnitCode}`).style.display = 'none'; - } + logMessage('Mediafuse outstream renderer video event'); + const el = document.querySelector(`#${adUnitCode}`); + if (el) { + el.style.display = 'none'; + } + }, }); return renderer; } -/** - * Unpack the Server's Bid into a Prebid-compatible one. - * @param serverBid - * @param rtbBid - * @param bidderRequest - * @return Bid - */ -function newBid(serverBid, rtbBid, bidderRequest) { - const bidRequest = getBidRequest(serverBid.uuid, [bidderRequest]); - const bid = { - requestId: serverBid.uuid, - cpm: rtbBid.cpm, - creativeId: rtbBid.creative_id, - dealId: rtbBid.deal_id, - currency: 'USD', - netRevenue: true, - ttl: 300, - adUnitCode: bidRequest.adUnitCode, - mediafuse: { - buyerMemberId: rtbBid.buyer_member_id, - dealPriority: rtbBid.deal_priority, - dealCode: rtbBid.deal_code +function hidedfpContainer(elementId) { + try { + const el = document.getElementById(elementId).querySelectorAll("div[id^='google_ads']"); + if (el[0]) { + el[0].style.setProperty('display', 'none'); } - }; - - // WE DON'T FULLY SUPPORT THIS ATM - future spot for adomain code; creating a stub for 5.0 compliance - if (rtbBid.adomain) { - bid.meta = Object.assign({}, bid.meta, { advertiserDomains: [] }); - } - - if (rtbBid.advertiser_id) { - bid.meta = Object.assign({}, bid.meta, { advertiserId: rtbBid.advertiser_id }); - } - - // temporary function; may remove at later date if/when adserver fully supports dchain - function setupDChain(rtbBid) { - const dchain = { - ver: '1.0', - complete: 0, - nodes: [{ - bsid: rtbBid.buyer_member_id.toString() - }]}; - - return dchain; - } - if (rtbBid.buyer_member_id) { - bid.meta = Object.assign({}, bid.meta, {dchain: setupDChain(rtbBid)}); - } - - if (rtbBid.brand_id) { - bid.meta = Object.assign({}, bid.meta, { brandId: rtbBid.brand_id }); + } catch (e) { + logWarn('Mediafuse: hidedfpContainer error', e); } +} - if (rtbBid.rtb.video) { - // shared video properties used for all 3 contexts - Object.assign(bid, { - width: rtbBid.rtb.video.player_width, - height: rtbBid.rtb.video.player_height, - vastImpUrl: rtbBid.notify_url, - ttl: 3600 - }); - - const videoContext = deepAccess(bidRequest, 'mediaTypes.video.context'); - switch (videoContext) { - case ADPOD: - const primaryCatId = (APPNEXUS_CATEGORY_MAPPING[rtbBid.brand_category_id]) ? APPNEXUS_CATEGORY_MAPPING[rtbBid.brand_category_id] : null; - bid.meta = Object.assign({}, bid.meta, { primaryCatId }); - const dealTier = rtbBid.deal_priority; - bid.video = { - context: ADPOD, - durationSeconds: Math.floor(rtbBid.rtb.video.duration_ms / 1000), - dealTier - }; - bid.vastUrl = rtbBid.rtb.video.asset_url; - break; - case OUTSTREAM: - bid.adResponse = serverBid; - bid.adResponse.ad = bid.adResponse.ads[0]; - bid.adResponse.ad.video = bid.adResponse.ad.rtb.video; - bid.vastXml = rtbBid.rtb.video.content; - - if (rtbBid.renderer_url) { - const videoBid = ((bidderRequest.bids) || []).find(bid => bid.bidId === serverBid.uuid); - const rendererOptions = deepAccess(videoBid, 'renderer.options'); - bid.renderer = newRenderer(bid.adUnitCode, rtbBid, rendererOptions); - } - break; - case INSTREAM: - bid.vastUrl = rtbBid.notify_url + '&redir=' + encodeURIComponent(rtbBid.rtb.video.asset_url); - break; - } - } else if (rtbBid.rtb[NATIVE]) { - const nativeAd = rtbBid.rtb[NATIVE]; - - // setting up the jsTracker: - // we put it as a data-src attribute so that the tracker isn't called - // until we have the adId (see onBidWon) - const jsTrackerDisarmed = rtbBid.viewability.config.replace('src=', 'data-src='); - - let jsTrackers = nativeAd.javascript_trackers; - - if (jsTrackers === undefined || jsTrackers === null) { - jsTrackers = jsTrackerDisarmed; - } else if (isStr(jsTrackers)) { - jsTrackers = [jsTrackers, jsTrackerDisarmed]; - } else { - jsTrackers.push(jsTrackerDisarmed); - } - - bid[NATIVE] = { - title: nativeAd.title, - body: nativeAd.desc, - body2: nativeAd.desc2, - cta: nativeAd.ctatext, - rating: nativeAd.rating, - sponsoredBy: nativeAd.sponsored, - privacyLink: nativeAd.privacy_link, - address: nativeAd.address, - downloads: nativeAd.downloads, - likes: nativeAd.likes, - phone: nativeAd.phone, - price: nativeAd.price, - salePrice: nativeAd.saleprice, - clickUrl: nativeAd.link.url, - displayUrl: nativeAd.displayurl, - clickTrackers: nativeAd.link.click_trackers, - impressionTrackers: nativeAd.impression_trackers, - javascriptTrackers: jsTrackers - }; - if (nativeAd.main_img) { - bid['native'].image = { - url: nativeAd.main_img.url, - height: nativeAd.main_img.height, - width: nativeAd.main_img.width, - }; - } - if (nativeAd.icon) { - bid['native'].icon = { - url: nativeAd.icon.url, - height: nativeAd.icon.height, - width: nativeAd.icon.width, - }; - } - } else { - Object.assign(bid, { - width: rtbBid.rtb.banner.width, - height: rtbBid.rtb.banner.height, - ad: rtbBid.rtb.banner.content - }); - try { - if (rtbBid.rtb.trackers) { - for (let i = 0; i < rtbBid.rtb.trackers[0].impression_urls.length; i++) { - const url = rtbBid.rtb.trackers[0].impression_urls[i]; - const tracker = createTrackPixelHtml(url); - bid.ad += tracker; - } - } - } catch (error) { - logError('Error appending tracking pixel', error); +function hideSASIframe(elementId) { + try { + const el = document.getElementById(elementId).querySelectorAll("script[id^='sas_script']"); + if (el[0]?.nextSibling?.localName === 'iframe') { + el[0].nextSibling.style.setProperty('display', 'none'); } + } catch (e) { + logWarn('Mediafuse: hideSASIframe error', e); } - - return bid; } -function bidToTag(bid) { - const tag = {}; - tag.sizes = transformSizes(bid.sizes); - tag.primary_size = tag.sizes[0]; - tag.ad_types = []; - tag.uuid = bid.bidId; - if (bid.params.placementId) { - tag.id = parseInt(bid.params.placementId, 10); - } else { - tag.code = bid.params.invCode; - } - tag.allow_smaller_sizes = bid.params.allowSmallerSizes || false; - tag.use_pmt_rule = bid.params.usePaymentRule || false; - tag.prebid = true; - tag.disable_psa = true; - const bidFloor = getBidFloor(bid); - if (bidFloor) { - tag.reserve = bidFloor; - } - if (bid.params.position) { - tag.position = { 'above': 1, 'below': 2 }[bid.params.position] || 0; - } - if (bid.params.trafficSourceCode) { - tag.traffic_source_code = bid.params.trafficSourceCode; - } - if (bid.params.privateSizes) { - tag.private_sizes = transformSizes(bid.params.privateSizes); - } - if (bid.params.supplyType) { - tag.supply_type = bid.params.supplyType; - } - if (bid.params.pubClick) { - tag.pubclick = bid.params.pubClick; - } - if (bid.params.extInvCode) { - tag.ext_inv_code = bid.params.extInvCode; - } - if (bid.params.publisherId) { - tag.publisher_id = parseInt(bid.params.publisherId, 10); - } - if (bid.params.externalImpId) { - tag.external_imp_id = bid.params.externalImpId; - } - if (!isEmpty(bid.params.keywords)) { - tag.keywords = getANKewyordParamFromMaps(bid.params.keywords); - } - const gpid = deepAccess(bid, 'ortb2Imp.ext.gpid'); - if (gpid) { - tag.gpid = gpid; +function handleOutstreamRendererEvents(bid, id, eventName) { + try { + bid.renderer.handleVideoEvent({ + id, + eventName, + }); + } catch (err) { + logWarn(`Mediafuse: handleOutstreamRendererEvents error for ${eventName}`, err); } +} - if (bid.mediaType === NATIVE || deepAccess(bid, `mediaTypes.${NATIVE}`)) { - tag.ad_types.push(NATIVE); - if (tag.sizes.length === 0) { - tag.sizes = transformSizes([1, 1]); - } +function outstreamRender(bid, doc) { + hidedfpContainer(bid.adUnitCode); + hideSASIframe(bid.adUnitCode); + bid.renderer.push(() => { + const win = doc?.defaultView || window; + if (win.ANOutstreamVideo) { + let sizes = bid.getSize(); + if (typeof sizes === 'string' && sizes.indexOf('x') > -1) { + sizes = [sizes.split('x').map(Number)]; + } else if (!isArray(sizes) || !isArray(sizes[0])) { + sizes = [sizes]; + } - if (bid.nativeParams) { - const nativeRequest = buildNativeRequest(bid.nativeParams); - tag[NATIVE] = { layouts: [nativeRequest] }; + win.ANOutstreamVideo.renderAd({ + tagId: bid.adResponse.tag_id, + sizes: sizes, + targetId: bid.adUnitCode, + uuid: bid.requestId, + adResponse: bid.adResponse, + rendererOptions: bid.renderer.getConfig(), + }, + handleOutstreamRendererEvents.bind(null, bid) + ); } - } - - const videoMediaType = deepAccess(bid, `mediaTypes.${VIDEO}`); - const context = deepAccess(bid, 'mediaTypes.video.context'); + }); +} - if (videoMediaType && context === 'adpod') { - tag.hb_source = 7; - } else { - tag.hb_source = 1; +function hasOmidSupport(bid) { + let hasOmid = false; + const bidderParams = bid?.params; + const videoParams = bid?.mediaTypes?.video?.api; + if (bidderParams?.frameworks && isArray(bidderParams.frameworks)) { + hasOmid = bidderParams.frameworks.includes(OMID_FRAMEWORK); } - if (bid.mediaType === VIDEO || videoMediaType) { - tag.ad_types.push(VIDEO); + if (!hasOmid && isArray(videoParams)) { + hasOmid = videoParams.includes(OMID_API); } + return hasOmid; +} - // instream gets vastUrl, outstream gets vastXml - if (bid.mediaType === VIDEO || (videoMediaType && context !== 'outstream')) { - tag.require_asset_url = true; - } +export const spec = { + code: BIDDER_CODE, + gvlid: GVLID, + maintainer: { email: 'indrajit@oncoredigital.com' }, + supportedMediaTypes: [BANNER, VIDEO, NATIVE], + isBidRequestValid: function (bid) { + const params = bid?.params; + if (!params) return false; + return !!(params.placementId || params.placement_id || (params.member && (params.invCode || params.inv_code))); + }, - if (bid.params.video) { - tag.video = {}; - // place any valid video params on the tag - Object.keys(bid.params.video) - .filter(param => VIDEO_TARGETING.includes(param)) - .forEach(param => { - switch (param) { - case 'context': - case 'playback_method': - let type = bid.params.video[param]; - type = (isArray(type)) ? type[0] : type; - tag.video[param] = VIDEO_MAPPING[param][type]; - break; - // Deprecating tags[].video.frameworks in favor of tags[].video_frameworks - case 'frameworks': - break; - default: - tag.video[param] = bid.params.video[param]; - } - }); + buildRequests: function (bidRequests, bidderRequest) { + const options = { + withCredentials: true + }; - if (bid.params.video.frameworks && isArray(bid.params.video.frameworks)) { - tag['video_frameworks'] = bid.params.video.frameworks; + if (getParameterByName('apn_test')?.toUpperCase() === 'TRUE' || config.getConfig('apn_test') === true) { + options.customHeaders = { 'X-Is-Test': 1 }; } - } - // use IAB ORTB values if the corresponding values weren't already set by bid.params.video - if (videoMediaType) { - tag.video = tag.video || {}; - Object.keys(videoMediaType) - .filter(param => VIDEO_RTB_TARGETING.includes(param)) - .forEach(param => { - switch (param) { - case 'minduration': - case 'maxduration': - if (typeof tag.video[param] !== 'number') tag.video[param] = videoMediaType[param]; - break; - case 'skip': - if (typeof tag.video['skippable'] !== 'boolean') tag.video['skippable'] = (videoMediaType[param] === 1); - break; - case 'skipafter': - if (typeof tag.video['skipoffset'] !== 'number') tag.video['skippoffset'] = videoMediaType[param]; - break; - case 'playbackmethod': - if (typeof tag.video['playback_method'] !== 'number') { - let type = videoMediaType[param]; - type = (isArray(type)) ? type[0] : type; - - // we only support iab's options 1-4 at this time. - if (type >= 1 && type <= 4) { - tag.video['playback_method'] = type; - } - } - break; - case 'api': - if (!tag['video_frameworks'] && isArray(videoMediaType[param])) { - // need to read thru array; remove 6 (we don't support it), swap 4 <> 5 if found (to match our adserver mapping for these specific values) - const apiTmp = videoMediaType[param].map(val => { - const v = (val === 4) ? 5 : (val === 5) ? 4 : val; - - if (v >= 1 && v <= 5) { - return v; - } - return undefined; - }).filter(v => v); - tag['video_frameworks'] = apiTmp; - } - break; - } - }); - } + const requests = []; + const chunkedRequests = chunk(bidRequests, MAX_IMPS_PER_REQUEST); - if (bid.renderer) { - tag.video = Object.assign({}, tag.video, { custom_renderer_present: true }); - } - - if (bid.params.frameworks && isArray(bid.params.frameworks)) { - tag['banner_frameworks'] = bid.params.frameworks; - } - - if (bid.mediaTypes?.banner) { - tag.ad_types.push(BANNER); - } - - if (tag.ad_types.length === 0) { - delete tag.ad_types; - } + chunkedRequests.forEach(batch => { + const data = converter.toORTB({ bidRequests: batch, bidderRequest }); - return tag; -} + let endpointUrl = ENDPOINT_URL_NORMAL; + if (!hasPurpose1Consent(bidderRequest.gdprConsent)) { + endpointUrl = ENDPOINT_URL_SIMPLE; + } -/* Turn bid request sizes into ut-compatible format */ -function transformSizes(requestSizes) { - const sizes = []; - let sizeObj = {}; - - if (isArray(requestSizes) && requestSizes.length === 2 && - !isArray(requestSizes[0])) { - sizeObj.width = parseInt(requestSizes[0], 10); - sizeObj.height = parseInt(requestSizes[1], 10); - sizes.push(sizeObj); - } else if (typeof requestSizes === 'object') { - for (let i = 0; i < requestSizes.length; i++) { - const size = requestSizes[i]; - sizeObj = {}; - sizeObj.width = parseInt(size[0], 10); - sizeObj.height = parseInt(size[1], 10); - sizes.push(sizeObj); - } - } + // Debug logic + let debugObj = {}; + const debugCookie = storage.getCookie('apn_prebid_debug'); + if (debugCookie) { + try { + debugObj = JSON.parse(debugCookie); + } catch (e) { + logWarn('Mediafuse: failed to parse debug cookie', e); + } + } else { + Object.keys(DEBUG_QUERY_PARAM_MAP).forEach(qparam => { + const qval = getParameterByName(qparam); + if (qval) debugObj[DEBUG_QUERY_PARAM_MAP[qparam]] = qval; + }); + if (Object.keys(debugObj).length > 0 && !('enabled' in debugObj)) debugObj.enabled = true; + } - return sizes; -} + if (debugObj.enabled) { + logInfo('MediaFuse Debug Auction Settings:\n\n' + JSON.stringify(debugObj, null, 4)); + endpointUrl += (endpointUrl.indexOf('?') === -1 ? '?' : '&') + + Object.keys(debugObj).filter(p => DEBUG_PARAMS.includes(p)) + .map(p => (p === 'enabled') ? `debug=1` : `${p}=${encodeURIComponent(debugObj[p])}`).join('&'); + } -function hasUserInfo(bid) { - return !!bid.params.user; -} + // member_id on the URL enables Xandr server-side routing to the correct seat; + // it is also present in ext.appnexus.member_id in the request body for exchange logic. + const memberBid = batch.find(bid => bid.params && bid.params.member); + const member = memberBid && memberBid.params.member; + if (member) { + endpointUrl += (endpointUrl.indexOf('?') === -1 ? '?' : '&') + 'member_id=' + member; + } -function hasMemberId(bid) { - return !!parseInt(bid.params.member, 10); -} + requests.push({ + method: 'POST', + url: endpointUrl, + data, + bidderRequest, + options + }); + }); -function hasAppDeviceInfo(bid) { - if (bid.params) { - return !!bid.params.app - } -} + return requests; + }, -function hasAppId(bid) { - if (bid.params && bid.params.app) { - return !!bid.params.app.id - } - return !!bid.params.app -} + interpretResponse: function (serverResponse, request) { + const bids = converter.fromORTB({ + response: serverResponse.body, + request: request.data, + context: { + ortbRequest: request.data + } + }).bids; -function hasDebug(bid) { - return !!bid.debug -} + // Debug logging + if (serverResponse.body?.debug?.debug_info) { + const debugHeader = 'MediaFuse Debug Auction for Prebid\n\n'; + let debugText = debugHeader + serverResponse.body.debug.debug_info; + debugText = debugText + .replace(/(|)/gm, '\t') + .replace(/(<\/td>|<\/th>)/gm, '\n') + .replace(/^
/gm, '') + .replace(/(
\n|
)/gm, '\n') + .replace(/

(.*)<\/h1>/gm, '\n\n===== $1 =====\n\n') + .replace(/(.*)<\/h[2-6]>/gm, '\n\n*** $1 ***\n\n') + .replace(/(<([^>]+)>)/igm, ''); + logMessage(debugText); + } -function hasAdPod(bid) { - return ( - bid.mediaTypes && - bid.mediaTypes.video && - bid.mediaTypes.video.context === ADPOD - ); -} + return bids; + }, -function hasOmidSupport(bid) { - let hasOmid = false; - const bidderParams = bid.params; - const videoParams = bid.params.video; - if (bidderParams.frameworks && isArray(bidderParams.frameworks)) { - hasOmid = bid.params.frameworks.includes(6); - } - if (!hasOmid && videoParams && videoParams.frameworks && isArray(videoParams.frameworks)) { - hasOmid = bid.params.video.frameworks.includes(6); - } - return hasOmid; -} + getUserSyncs: function (syncOptions, serverResponses, gdprConsent, uspConsent, gppConsent) { + const syncs = []; + let gdprParams = ''; -/** - * Expand an adpod placement into a set of request objects according to the - * total adpod duration and the range of duration seconds. Sets minduration/ - * maxduration video property according to requireExactDuration configuration - */ -function createAdPodRequest(tags, adPodBid) { - const { durationRangeSec, requireExactDuration } = adPodBid.mediaTypes.video; + if (gdprConsent) { + if (typeof gdprConsent.gdprApplies === 'boolean') { + gdprParams = `?gdpr=${Number(gdprConsent.gdprApplies)}&gdpr_consent=${gdprConsent.consentString}`; + } else { + gdprParams = `?gdpr_consent=${gdprConsent.consentString}`; + } + } - const numberOfPlacements = getAdPodPlacementNumber(adPodBid.mediaTypes.video); - const maxDuration = Math.max(...durationRangeSec); + if (syncOptions.iframeEnabled && hasPurpose1Consent(gdprConsent)) { + syncs.push({ + type: 'iframe', + url: 'https://acdn.adnxs.com/dmp/async_usersync.html' + gdprParams + }); + } - const tagToDuplicate = tags.filter(tag => tag.uuid === adPodBid.bidId); - const request = fill(...tagToDuplicate, numberOfPlacements); + if (syncOptions.pixelEnabled && serverResponses.length > 0) { + const userSync = deepAccess(serverResponses[0], 'body.ext.appnexus.userSync'); + if (userSync && userSync.url) { + let url = userSync.url; + if (gdprParams) { + url += (url.indexOf('?') === -1 ? '?' : '&') + gdprParams.substring(1); + } + syncs.push({ + type: 'image', + url: url + }); + } + } + return syncs; + }, - if (requireExactDuration) { - const divider = Math.ceil(numberOfPlacements / durationRangeSec.length); - const chunked = chunk(request, divider); + onBidWon: function (bid) { + if (bid.native) { + reloadViewabilityScriptWithCorrectParameters(bid); + } + }, - // each configured duration is set as min/maxduration for a subset of requests - durationRangeSec.forEach((duration, index) => { - chunked[index].forEach(tag => { - setVideoProperty(tag, 'minduration', duration); - setVideoProperty(tag, 'maxduration', duration); - }); - }); - } else { - // all maxdurations should be the same - request.forEach(tag => setVideoProperty(tag, 'maxduration', maxDuration)); + onBidderError: function ({ error, bidderRequest }) { + logError(`Mediafuse Bidder Error: ${error.message || error}`, bidderRequest); } +}; - return request; -} - -function getAdPodPlacementNumber(videoParams) { - const { adPodDurationSec, durationRangeSec, requireExactDuration } = videoParams; - const minAllowedDuration = Math.min(...durationRangeSec); - const numberOfPlacements = Math.floor(adPodDurationSec / minAllowedDuration); +function reloadViewabilityScriptWithCorrectParameters(bid) { + const viewJsPayload = getMediafuseViewabilityScriptFromJsTrackers(bid.native.javascriptTrackers); - return requireExactDuration - ? Math.max(numberOfPlacements, durationRangeSec.length) - : numberOfPlacements; -} + if (viewJsPayload) { + const prebidParams = 'pbjs_adid=' + (bid.adId || bid.requestId) + ';pbjs_auc=' + bid.adUnitCode; + const jsTrackerSrc = getViewabilityScriptUrlFromPayload(viewJsPayload); + const newJsTrackerSrc = jsTrackerSrc.replace('dom_id=%native_dom_id%', prebidParams); -function setVideoProperty(tag, key, value) { - if (isEmpty(tag.video)) { tag.video = {}; } - tag.video[key] = value; -} + // find iframe containing script tag + const frameArray = document.getElementsByTagName('iframe'); -function getRtbBid(tag) { - return tag && tag.ads && tag.ads.length && ((tag.ads) || []).find(ad => ad.rtb); -} + // flag to modify only one script — prevents multiple scripts from pointing to the same creative + let modifiedAScript = false; -function buildNativeRequest(params) { - const request = {}; - - // map standard prebid native asset identifier to /ut parameters - // e.g., tag specifies `body` but /ut only knows `description`. - // mapping may be in form {tag: ''} or - // {tag: {serverName: '', requiredParams: {...}}} - Object.keys(params).forEach(key => { - // check if one of the forms is used, otherwise - // a mapping wasn't specified so pass the key straight through - const requestKey = - (NATIVE_MAPPING[key] && NATIVE_MAPPING[key].serverName) || - NATIVE_MAPPING[key] || - key; - - // required params are always passed on request - const requiredParams = NATIVE_MAPPING[key] && NATIVE_MAPPING[key].requiredParams; - request[requestKey] = Object.assign({}, requiredParams, params[key]); - - // convert the sizes of image/icon assets to proper format (if needed) - const isImageAsset = !!(requestKey === NATIVE_MAPPING.image.serverName || requestKey === NATIVE_MAPPING.icon.serverName); - if (isImageAsset && request[requestKey].sizes) { - const sizes = request[requestKey].sizes; - if (isArrayOfNums(sizes) || (isArray(sizes) && sizes.length > 0 && sizes.every(sz => isArrayOfNums(sz)))) { - request[requestKey].sizes = transformSizes(request[requestKey].sizes); + // loop on all iframes + for (let i = 0; i < frameArray.length && !modifiedAScript; i++) { + const currentFrame = frameArray[i]; + try { + const nestedDoc = currentFrame.contentDocument || currentFrame.contentWindow.document; + if (nestedDoc) { + const scriptArray = nestedDoc.getElementsByTagName('script'); + for (let j = 0; j < scriptArray.length && !modifiedAScript; j++) { + const currentScript = scriptArray[j]; + if (currentScript.getAttribute('data-src') === jsTrackerSrc) { + currentScript.setAttribute('src', newJsTrackerSrc); + currentScript.removeAttribute('data-src'); + modifiedAScript = true; + } + } + } + } catch (exception) { + if (!(exception instanceof DOMException && exception.name === 'SecurityError')) { + throw exception; + } } } - - if (requestKey === NATIVE_MAPPING.privacyLink) { - request.privacy_supported = true; - } - }); - - return request; -} - -/** - * This function hides google div container for outstream bids to remove unwanted space on page. Mediafuse renderer creates a new iframe outside of google iframe to render the outstream creative. - * @param {string} elementId element id - */ -function hidedfpContainer(elementId) { - var el = document.getElementById(elementId).querySelectorAll("div[id^='google_ads']"); - if (el[0]) { - el[0].style.setProperty('display', 'none'); } } -function hideSASIframe(elementId) { - try { - // find script tag with id 'sas_script'. This ensures it only works if you're using Smart Ad Server. - const el = document.getElementById(elementId).querySelectorAll("script[id^='sas_script']"); - if (el[0].nextSibling && el[0].nextSibling.localName === 'iframe') { - el[0].nextSibling.style.setProperty('display', 'none'); - } - } catch (e) { - // element not found! - } -} - -function outstreamRender(bid) { - hidedfpContainer(bid.adUnitCode); - hideSASIframe(bid.adUnitCode); - // push to render queue because ANOutstreamVideo may not be loaded - bid.renderer.push(() => { - window.ANOutstreamVideo.renderAd({ - tagId: bid.adResponse.tag_id, - sizes: [bid.getSize().split('x')], - targetId: bid.adUnitCode, // target div id to render video - uuid: bid.adResponse.uuid, - adResponse: bid.adResponse, - rendererOptions: bid.renderer.getConfig() - }, handleOutstreamRendererEvents.bind(null, bid)); - }); -} - -function handleOutstreamRendererEvents(bid, id, eventName) { - bid.renderer.handleVideoEvent({ id, eventName }); -} +function strIsMediafuseViewabilityScript(str) { + const regexMatchUrlStart = str.match(VIEWABILITY_URL_START); + const viewUrlStartInStr = regexMatchUrlStart != null && regexMatchUrlStart.length >= 1; + const regexMatchFileName = str.match(VIEWABILITY_FILE_NAME); + const fileNameInStr = regexMatchFileName != null && regexMatchFileName.length >= 1; -function parseMediaType(rtbBid) { - const adType = rtbBid.ad_type; - if (adType === VIDEO) { - return VIDEO; - } else if (adType === NATIVE) { - return NATIVE; - } else { - return BANNER; - } + return str.startsWith(' { + if (key === 'mediafuseAuctionKeywords') return { section: ['news', 'sports'] }; + return undefined; + }); + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.ext.appnexus.keywords).to.include('section=news,sports'); }); }); - describe('buildRequests', function () { - let getAdUnitsStub; - const bidRequests = [ - { - 'bidder': 'mediafuse', - 'params': { - 'placementId': '10433394' - }, - 'adUnitCode': 'adunit-code', - 'sizes': [[300, 250], [300, 600]], - 'bidId': '30b31c1838de1e', - 'bidderRequestId': '22edbae2733bf6', - 'auctionId': '1d1a030790a475', - 'transactionId': '04f2659e-c005-4eb1-a57c-fa93145e3843' - } - ]; + // ------------------------------------------------------------------------- + // buildRequests — user params + // ------------------------------------------------------------------------- + describe('buildRequests - user params', function () { + it('should map age, gender, and numeric segments', function () { + const bid = deepClone(BASE_BID); + bid.params.user = { age: 35, gender: 'F', segments: [10, 20] }; + // bidderRequest.bids must contain the bid for the request() hook to find params.user + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.bids = [bid]; + const [req] = spec.buildRequests([bid], bidderRequest); + expect(req.data.user.age).to.equal(35); + expect(req.data.user.gender).to.equal('F'); + expect(req.data.user.ext.segments).to.deep.equal([{ id: 10 }, { id: 20 }]); + }); - beforeEach(function() { - getAdUnitsStub = sinon.stub(auctionManager, 'getAdUnits').callsFake(function() { - return []; - }); + it('should map object-style segments and ignore invalid ones', function () { + const bid = deepClone(BASE_BID); + bid.params.user = { segments: [{ id: 99 }, 'bad', null] }; + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.bids = [bid]; + const [req] = spec.buildRequests([bid], bidderRequest); + expect(req.data.user.ext.segments).to.deep.equal([{ id: 99 }]); }); + }); - afterEach(function() { - getAdUnitsStub.restore(); + // ------------------------------------------------------------------------- + // buildRequests — app params + // ------------------------------------------------------------------------- + describe('buildRequests - app params', function () { + it('should merge app params into request.app', function () { + const bid = deepClone(BASE_BID); + bid.params.app = { name: 'MyApp', bundle: 'com.myapp', ver: '1.0' }; + // bidderRequest.bids must contain the bid for the request() hook to find params.app + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.bids = [bid]; + const [req] = spec.buildRequests([bid], bidderRequest); + expect(req.data.app.name).to.equal('MyApp'); + expect(req.data.app.bundle).to.equal('com.myapp'); }); + }); - it('should parse out private sizes', function () { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { - placementId: '10433394', - privateSizes: [300, 250] - } - } - ); + // ------------------------------------------------------------------------- + // buildRequests — privacy: USP, addtlConsent, COPPA + // ------------------------------------------------------------------------- + describe('buildRequests - privacy', function () { + it('should set us_privacy from uspConsent', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.uspConsent = '1YNN'; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.regs.ext.us_privacy).to.equal('1YNN'); + }); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); + it('should parse addtlConsent into array of integers', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.gdprConsent = { + gdprApplies: true, + consentString: 'cs', + addtlConsent: '1~7.12.99' + }; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.user.ext.addtl_consent).to.deep.equal([7, 12, 99]); + }); - expect(payload.tags[0].private_sizes).to.exist; - expect(payload.tags[0].private_sizes).to.deep.equal([{width: 300, height: 250}]); + it('should not set addtl_consent when addtlConsent has no ~ separator', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.gdprConsent = { gdprApplies: true, consentString: 'cs', addtlConsent: 'no-tilde' }; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.user?.ext?.addtl_consent).to.be.undefined; }); - it('should add publisher_id in request', function() { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { - placementId: '10433394', - publisherId: '1231234' - } - }); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - - expect(payload.tags[0].publisher_id).to.exist; - expect(payload.tags[0].publisher_id).to.deep.equal(1231234); - expect(payload.publisher_id).to.exist; - expect(payload.publisher_id).to.deep.equal(1231234); - }) - - it('should add source and verison to the tag', function () { - const request = spec.buildRequests(bidRequests); - const payload = JSON.parse(request.data); - expect(payload.sdk).to.exist; - expect(payload.sdk).to.deep.equal({ - source: 'pbjs', - version: '$prebid.version$' + it('should set regs.coppa=1 when coppa config is true', function () { + sandbox.stub(config, 'getConfig').callsFake((key) => { + if (key === 'coppa') return true; + return undefined; }); + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.regs.coppa).to.equal(1); }); + }); - it('should populate the ad_types array on all requests', function () { - const adUnits = [{ - code: 'adunit-code', - mediaTypes: { - banner: { - sizes: [[300, 250], [300, 600]] - } - }, - bids: [{ - bidder: 'mediafuse', - params: { - placementId: '10433394' + // ------------------------------------------------------------------------- + // buildRequests — video RTB targeting + // ------------------------------------------------------------------------- + describe('buildRequests - video RTB targeting', function () { + if (FEATURES.VIDEO) { + it('should map skip, skipafter, playbackmethod, and api to AN fields', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { + video: { + context: 'instream', + playerSize: [640, 480], + skip: 1, + skipafter: 5, + playbackmethod: [2], + api: [4] } - }], - transactionId: '04f2659e-c005-4eb1-a57c-fa93145e3843' - }]; + }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const video = req.data.imp[0].video; + const extAN = req.data.imp[0].ext.appnexus; + expect(video.skippable).to.be.true; + expect(video.skipoffset).to.equal(5); + expect(video.playback_method).to.equal(2); + // api [4] maps to video_frameworks [5] (4↔5 swap) + expect(extAN.video_frameworks).to.include(5); + }); - ['banner', 'video', 'native'].forEach(type => { - getAdUnitsStub.callsFake(function(...args) { - return adUnits; - }); + it('should set outstream placement=4 for outstream context', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'outstream', playerSize: [640, 480] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.placement).to.equal(4); + }); - const bidRequest = Object.assign({}, bidRequests[0]); - bidRequest.mediaTypes = {}; - bidRequest.mediaTypes[type] = {}; + it('should set video.ext.appnexus.context=1 for instream', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.ext.appnexus.context).to.equal(1); + }); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); + it('should set video.ext.appnexus.context=4 for outstream', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'outstream', playerSize: [640, 480] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.ext.appnexus.context).to.equal(4); + }); - expect(payload.tags[0].ad_types).to.deep.equal([type]); + it('should set video.ext.appnexus.context=5 for in-banner', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'in-banner', playerSize: [640, 480] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.ext.appnexus.context).to.equal(5); + }); - if (type === 'banner') { - delete adUnits[0].mediaTypes; - } + it('should not set video.ext.appnexus.context for unknown context', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'unknown-type', playerSize: [640, 480] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.ext?.appnexus?.context).to.be.undefined; }); - }); - it('should not populate the ad_types array when adUnit.mediaTypes is undefined', function() { - const bidRequest = Object.assign({}, bidRequests[0]); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); + it('should set require_asset_url for instream context', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.require_asset_url).to.be.true; + }); + + it('should map video params from bid.params.video (VIDEO_TARGETING fields)', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; + bid.params.video = { minduration: 5, maxduration: 30, frameworks: [1, 2] }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.minduration).to.equal(5); + expect(req.data.imp[0].ext.appnexus.video_frameworks).to.deep.equal([1, 2]); + }); + } + }); - expect(payload.tags[0].ad_types).to.not.exist; + // ------------------------------------------------------------------------- + // buildRequests — OMID support + // ------------------------------------------------------------------------- + describe('buildRequests - OMID support', function () { + it('should set iab_support when bid.params.frameworks includes 6', function () { + const bid = deepClone(BASE_BID); + bid.params.frameworks = [6]; + // hasOmidSupport iterates all bids via .some(), so bid must be in bidderRequest.bids + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.bids = [bid]; + const [req] = spec.buildRequests([bid], bidderRequest); + expect(req.data.ext.appnexus.iab_support).to.deep.equal({ + omidpn: 'Mediafuse', + omidpv: '$prebid.version$' + }); }); - it('should populate the ad_types array on outstream requests', function () { - const bidRequest = Object.assign({}, bidRequests[0]); - bidRequest.mediaTypes = {}; - bidRequest.mediaTypes.video = {context: 'outstream'}; + it('should set iab_support when mediaTypes.video.api includes 7', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], api: [7] } }; + // hasOmidSupport iterates all bids via .some(), so bid must be in bidderRequest.bids + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.bids = [bid]; + const [req] = spec.buildRequests([bid], bidderRequest); + expect(req.data.ext.appnexus.iab_support).to.exist; + }); + }); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); + // ------------------------------------------------------------------------- + // interpretResponse — outstream renderer + // ------------------------------------------------------------------------- + describe('interpretResponse - outstream renderer', function () { + it('should create renderer when renderer_url and renderer_id are present', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'outstream', playerSize: [640, 480] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 3.0, + ext: { + appnexus: { + bid_ad_type: 1, + renderer_url: 'https://cdn.adnxs.com/renderer.js', + renderer_id: 42, + renderer_config: '{"key":"val"}' + } + } + }] + }] + } + }; - expect(payload.tags[0].ad_types).to.deep.equal(['video']); - expect(payload.tags[0].hb_source).to.deep.equal(1); + const bids = spec.interpretResponse(serverResponse, req); + expect(bids[0].renderer).to.exist; + expect(bids[0].adResponse.ad.renderer_config).to.equal('{"key":"val"}'); }); - it('sends bid request to ENDPOINT via POST', function () { - const request = spec.buildRequests(bidRequests); - expect(request.url).to.equal(ENDPOINT); - expect(request.method).to.equal('POST'); + it('should set vastUrl from nurl+asset_url when no renderer', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + nurl: 'https://notify.example.com/win', + ext: { + appnexus: { + bid_ad_type: 1, + asset_url: 'https://vast.example.com/vast.xml' + } + } + }] + }] + } + }; + + const bids = spec.interpretResponse(serverResponse, req); + expect(bids[0].vastUrl).to.include('redir='); + expect(bids[0].vastUrl).to.include(encodeURIComponent('https://vast.example.com/vast.xml')); }); + }); - it('should attach valid video params to the tag', function () { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { - placementId: '10433394', - video: { - id: 123, - minduration: 100, - foobar: 'invalid' - } - } + // ------------------------------------------------------------------------- + // interpretResponse — debug info logging + // ------------------------------------------------------------------------- + describe('interpretResponse - debug info logging', function () { + it('should clean HTML and call logMessage when debug_info is present', function () { + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + const logStub = sandbox.stub(utils, 'logMessage'); + + spec.interpretResponse({ + body: { + seatbid: [], + debug: { debug_info: '

Auction Debug


Row' } } - ); + }, req); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - expect(payload.tags[0].video).to.deep.equal({ - id: 123, - minduration: 100 - }); - expect(payload.tags[0].hb_source).to.deep.equal(1); + expect(logStub.calledOnce).to.be.true; + expect(logStub.firstCall.args[0]).to.include('===== Auction Debug ====='); + expect(logStub.firstCall.args[0]).to.not.include('

'); }); + }); - it('should include ORTB video values when video params were not set', function() { - const bidRequest = deepClone(bidRequests[0]); - bidRequest.params = { - placementId: '1234235', - video: { - skippable: true, - playback_method: ['auto_play_sound_off', 'auto_play_sound_unknown'], - context: 'outstream' + // ------------------------------------------------------------------------- + // interpretResponse — native exhaustive assets + // ------------------------------------------------------------------------- + describe('interpretResponse - native exhaustive assets', function () { + it('should map all optional native fields', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { native: { title: { required: true } } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + + // OpenRTB 1.2 assets array format (as returned by the /openrtb2/prebidjs endpoint) + const nativeAdm = { + native: { + assets: [ + { id: 1, title: { text: 'Title' } }, + { id: 2, data: { type: 2, value: 'Body' } }, + { id: 3, data: { type: 10, value: 'Body2' } }, + { id: 4, data: { type: 12, value: 'Click' } }, + { id: 5, data: { type: 3, value: '4.5' } }, + { id: 6, data: { type: 1, value: 'Sponsor' } }, + { id: 7, data: { type: 9, value: '123 Main St' } }, + { id: 8, data: { type: 5, value: '1000' } }, + { id: 9, data: { type: 4, value: '500' } }, + { id: 10, data: { type: 8, value: '555-1234' } }, + { id: 11, data: { type: 6, value: '$9.99' } }, + { id: 12, data: { type: 7, value: '$4.99' } }, + { id: 13, data: { type: 11, value: 'example.com' } }, + { id: 14, img: { type: 3, url: 'https://img.example.com/img.jpg', w: 300, h: 250 } }, + { id: 15, img: { type: 1, url: 'https://img.example.com/icon.png', w: 50, h: 50 } } + ], + link: { url: 'https://click.example.com', clicktrackers: ['https://ct.example.com'] }, + privacy: 'https://priv.example.com' } }; - bidRequest.mediaTypes = { - video: { - playerSize: [640, 480], - context: 'outstream', - mimes: ['video/mp4'], - skip: 0, - minduration: 5, - api: [1, 5, 6], - playbackmethod: [2, 4] + + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.5, + adm: JSON.stringify(nativeAdm), + ext: { appnexus: { bid_ad_type: 3 } } + }] + }] } }; - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); + const bids = spec.interpretResponse(serverResponse, req); + const native = bids[0].native; + expect(native.title).to.equal('Title'); + expect(native.body).to.equal('Body'); + expect(native.body2).to.equal('Body2'); + expect(native.cta).to.equal('Click'); + expect(native.rating).to.equal('4.5'); + expect(native.sponsoredBy).to.equal('Sponsor'); + expect(native.privacyLink).to.equal('https://priv.example.com'); + expect(native.address).to.equal('123 Main St'); + expect(native.downloads).to.equal('1000'); + expect(native.likes).to.equal('500'); + expect(native.phone).to.equal('555-1234'); + expect(native.price).to.equal('$9.99'); + expect(native.salePrice).to.equal('$4.99'); + expect(native.displayUrl).to.equal('example.com'); + expect(native.clickUrl).to.equal('https://click.example.com'); + expect(native.clickTrackers).to.deep.equal(['https://ct.example.com']); + expect(native.image.url).to.equal('https://img.example.com/img.jpg'); + expect(native.image.width).to.equal(300); + expect(native.icon.url).to.equal('https://img.example.com/icon.png'); + }); - expect(payload.tags[0].video).to.deep.equal({ - minduration: 5, - playback_method: 2, - skippable: true, - context: 4 - }); - expect(payload.tags[0].video_frameworks).to.deep.equal([1, 4]) + it('should map native fields using request asset IDs as type fallback when response omits type', function () { + // Build a real request via spec.buildRequests so ortbConverter registers it in its + // internal WeakMap (required by fromORTB). Then inject native.request directly on + // the imp — this simulates what FEATURES.NATIVE would have built without requiring it. + const bid = deepClone(BASE_BID); + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + + req.data.imp[0].native = { + request: JSON.stringify({ + assets: [ + { id: 1, title: { len: 100 } }, + { id: 2, data: { type: 1 } }, // sponsoredBy + { id: 3, data: { type: 2 } }, // body + { id: 4, img: { type: 3, wmin: 1, hmin: 1 } }, // main image + { id: 5, img: { type: 1, wmin: 50, hmin: 50 } } // icon + ] + }) + }; + + // Response assets intentionally omit type — Xandr does this in practice + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.5, + adm: JSON.stringify({ + native: { + assets: [ + { id: 1, title: { text: 'Fallback Title' } }, + { id: 2, data: { value: 'Fallback Sponsor' } }, + { id: 3, data: { value: 'Fallback Body' } }, + { id: 4, img: { url: 'https://img.test/img.jpg', w: 300, h: 250 } }, + { id: 5, img: { url: 'https://img.test/icon.png', w: 50, h: 50 } } + ], + link: { url: 'https://click.test' } + } + }), + ext: { appnexus: { bid_ad_type: 3 } } + }] + }] + } + }; + + const bids = spec.interpretResponse(serverResponse, req); + const native = bids[0].native; + expect(native.title).to.equal('Fallback Title'); + expect(native.sponsoredBy).to.equal('Fallback Sponsor'); + expect(native.body).to.equal('Fallback Body'); + expect(native.image.url).to.equal('https://img.test/img.jpg'); + expect(native.icon.url).to.equal('https://img.test/icon.png'); }); - it('should add video property when adUnit includes a renderer', function () { - const videoData = { - mediaTypes: { - video: { - context: 'outstream', - mimes: ['video/mp4'] - } - }, - params: { - placementId: '10433394', - video: { - skippable: true, - playback_method: ['auto_play_sound_off'] - } + it('should handle real-world native response: top-level format (no native wrapper), non-sequential IDs, type fallback', function () { + // Validates the format actually returned by the Mediafuse/Xandr endpoint: + // ADM is top-level {ver, assets, link, eventtrackers} — no 'native' wrapper key. + // Asset IDs are non-sequential (id:0 for title). Data/img assets omit 'type'; + // type is resolved from the native request's asset definitions. + const bid = deepClone(BASE_BID); + bid.mediaTypes = { native: { title: { required: true } } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + + // Inject native.request asset definitions so the type-fallback resolves correctly + req.data.imp[0].native = { + request: JSON.stringify({ + assets: [ + { id: 0, title: { len: 100 } }, + { id: 1, img: { type: 3, wmin: 1, hmin: 1 } }, // main image + { id: 2, data: { type: 1 } } // sponsoredBy + ] + }) + }; + + // Real-world ADM: top-level, assets lack 'type', id:0 title, two eventtrackers + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 0.88, + adm: JSON.stringify({ + ver: '1.2', + assets: [ + { id: 1, img: { url: 'https://img.example.com/img.jpg', w: 150, h: 150 } }, + { id: 0, title: { text: 'Discover Insights That Matter' } }, + { id: 2, data: { value: 'probescout' } } + ], + link: { url: 'https://click.example.com' }, + eventtrackers: [ + { event: 1, method: 1, url: 'https://tracker1.example.com/it' }, + { event: 1, method: 1, url: 'https://tracker2.example.com/t' } + ] + }), + ext: { appnexus: { bid_ad_type: 3 } } + }] + }] } }; - let bidRequest1 = deepClone(bidRequests[0]); - bidRequest1 = Object.assign({}, bidRequest1, videoData, { - renderer: { - url: 'https://test.renderer.url', - render: function () {} + const bids = spec.interpretResponse(serverResponse, req); + const native = bids[0].native; + expect(native.title).to.equal('Discover Insights That Matter'); + expect(native.sponsoredBy).to.equal('probescout'); + expect(native.image.url).to.equal('https://img.example.com/img.jpg'); + expect(native.image.width).to.equal(150); + expect(native.image.height).to.equal(150); + expect(native.clickUrl).to.equal('https://click.example.com'); + expect(native.javascriptTrackers).to.be.an('array').with.lengthOf(2); + }); + + it('should disarm eventtrackers (trk.js) by replacing src= with data-src=', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { native: { title: { required: true } } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + + const nativeAdm = { + native: { + title: 'T', + eventtrackers: [ + { method: 1, url: '//cdn.adnxs.com/v/trk.js?src=1&dom_id=%native_dom_id%' }, + { method: 1, url: 'https://other-tracker.com/pixel' } + ] } - }); + }; - let bidRequest2 = deepClone(bidRequests[0]); - bidRequest2.adUnitCode = 'adUnit_code_2'; - bidRequest2 = Object.assign({}, bidRequest2, videoData); + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + adm: JSON.stringify(nativeAdm), + ext: { appnexus: { bid_ad_type: 3 } } + }] + }] + } + }; - const request = spec.buildRequests([bidRequest1, bidRequest2]); - const payload = JSON.parse(request.data); - expect(payload.tags[0].video).to.deep.equal({ - skippable: true, - playback_method: 2, - custom_renderer_present: true - }); - expect(payload.tags[1].video).to.deep.equal({ - skippable: true, - playback_method: 2 - }); + const bids = spec.interpretResponse(serverResponse, req); + const trackers = bids[0].native.javascriptTrackers; + expect(trackers).to.be.an('array'); + // The trk.js tracker should be disarmed: 'src=' replaced with 'data-src=' + const trkTracker = trackers.find(t => t.includes('trk.js')); + expect(trkTracker).to.include('data-src='); + // Verify the original 'src=1' param is now 'data-src=1' (not a bare 'src=') + expect(trkTracker).to.not.match(/(?' } + } + } + }] + }] } - ); - - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); + }; - expect(payload.user).to.exist; - expect(payload.user).to.deep.equal({ - external_uid: '123', - segments: [{id: 123}, {id: 987, value: 876}] - }); + const bids = spec.interpretResponse(serverResponse, req); + const trackers = bids[0].native.javascriptTrackers; + expect(trackers).to.be.an('array'); + expect(trackers[0]).to.include('data-src='); }); - it('should attach reserve param when either bid param or getFloor function exists', function () { - const getFloorResponse = { currency: 'USD', floor: 3 }; - let request; let payload = null; - const bidRequest = deepClone(bidRequests[0]); + it('should handle malformed native adm gracefully', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { native: { title: { required: true } } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + const logErrorStub = sandbox.stub(utils, 'logError'); + + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + adm: 'NOT_VALID_JSON', + ext: { appnexus: { bid_ad_type: 3 } } + }] + }] + } + }; - // 1 -> reserve not defined, getFloor not defined > empty - request = spec.buildRequests([bidRequest]); - payload = JSON.parse(request.data); + // Should not throw + expect(() => spec.interpretResponse(serverResponse, req)).to.not.throw(); + expect(logErrorStub.calledOnce).to.be.true; + }); + }); - expect(payload.tags[0].reserve).to.not.exist; + // ------------------------------------------------------------------------- + // getUserSyncs — gdprApplies not a boolean + // ------------------------------------------------------------------------- + describe('getUserSyncs - gdprApplies undefined', function () { + it('should use only gdpr_consent param when gdprApplies is not a boolean', function () { + const syncOptions = { pixelEnabled: true }; + const serverResponses = [{ + body: { ext: { appnexus: { userSync: { url: 'https://sync.example.com/px' } } } } + }]; + const gdprConsent = { consentString: 'abc123' }; // gdprApplies is undefined - // 2 -> reserve is defined, getFloor not defined > reserve is used - bidRequest.params = { - 'placementId': '10433394', - 'reserve': 0.5 - }; - request = spec.buildRequests([bidRequest]); - payload = JSON.parse(request.data); - - expect(payload.tags[0].reserve).to.exist.and.to.equal(0.5); - - // 3 -> reserve is defined, getFloor is defined > getFloor is used - bidRequest.getFloor = () => getFloorResponse; - - request = spec.buildRequests([bidRequest]); - payload = JSON.parse(request.data); - - expect(payload.tags[0].reserve).to.exist.and.to.equal(3); - }); - - it('should duplicate adpod placements into batches and set correct maxduration', function() { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { placementId: '14542875' } - }, - { - mediaTypes: { - video: { - context: 'adpod', - playerSize: [640, 480], - adPodDurationSec: 300, - durationRangeSec: [15, 30], - } - } - } - ); - - const request = spec.buildRequests([bidRequest]); - const payload1 = JSON.parse(request[0].data); - const payload2 = JSON.parse(request[1].data); - - // 300 / 15 = 20 total - expect(payload1.tags.length).to.equal(15); - expect(payload2.tags.length).to.equal(5); - - expect(payload1.tags[0]).to.deep.equal(payload1.tags[1]); - expect(payload1.tags[0].video.maxduration).to.equal(30); - - expect(payload2.tags[0]).to.deep.equal(payload1.tags[1]); - expect(payload2.tags[0].video.maxduration).to.equal(30); - }); - - it('should round down adpod placements when numbers are uneven', function() { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { placementId: '14542875' } - }, - { - mediaTypes: { - video: { - context: 'adpod', - playerSize: [640, 480], - adPodDurationSec: 123, - durationRangeSec: [45], - } - } - } - ); - - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - expect(payload.tags.length).to.equal(2); - }); - - it('should duplicate adpod placements when requireExactDuration is set', function() { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { placementId: '14542875' } - }, - { - mediaTypes: { - video: { - context: 'adpod', - playerSize: [640, 480], - adPodDurationSec: 300, - durationRangeSec: [15, 30], - requireExactDuration: true, - } - } - } - ); - - // 20 total placements with 15 max impressions = 2 requests - const request = spec.buildRequests([bidRequest]); - expect(request.length).to.equal(2); - - // 20 spread over 2 requests = 15 in first request, 5 in second - const payload1 = JSON.parse(request[0].data); - const payload2 = JSON.parse(request[1].data); - expect(payload1.tags.length).to.equal(15); - expect(payload2.tags.length).to.equal(5); - - // 10 placements should have max/min at 15 - // 10 placemenst should have max/min at 30 - const payload1tagsWith15 = payload1.tags.filter(tag => tag.video.maxduration === 15); - const payload1tagsWith30 = payload1.tags.filter(tag => tag.video.maxduration === 30); - expect(payload1tagsWith15.length).to.equal(10); - expect(payload1tagsWith30.length).to.equal(5); - - // 5 placemenst with min/max at 30 were in the first request - // so 5 remaining should be in the second - const payload2tagsWith30 = payload2.tags.filter(tag => tag.video.maxduration === 30); - expect(payload2tagsWith30.length).to.equal(5); - }); - - it('should set durations for placements when requireExactDuration is set and numbers are uneven', function() { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { placementId: '14542875' } - }, - { - mediaTypes: { - video: { - context: 'adpod', - playerSize: [640, 480], - adPodDurationSec: 105, - durationRangeSec: [15, 30, 60], - requireExactDuration: true, - } - } - } - ); - - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - expect(payload.tags.length).to.equal(7); - - const tagsWith15 = payload.tags.filter(tag => tag.video.maxduration === 15); - const tagsWith30 = payload.tags.filter(tag => tag.video.maxduration === 30); - const tagsWith60 = payload.tags.filter(tag => tag.video.maxduration === 60); - expect(tagsWith15.length).to.equal(3); - expect(tagsWith30.length).to.equal(3); - expect(tagsWith60.length).to.equal(1); - }); - - it('should break adpod request into batches', function() { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { placementId: '14542875' } - }, - { - mediaTypes: { - video: { - context: 'adpod', - playerSize: [640, 480], - adPodDurationSec: 225, - durationRangeSec: [5], - } - } - } - ); - - const request = spec.buildRequests([bidRequest]); - const payload1 = JSON.parse(request[0].data); - const payload2 = JSON.parse(request[1].data); - const payload3 = JSON.parse(request[2].data); - - expect(payload1.tags.length).to.equal(15); - expect(payload2.tags.length).to.equal(15); - expect(payload3.tags.length).to.equal(15); - }); - - it('should contain hb_source value for adpod', function() { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { placementId: '14542875' } - }, - { - mediaTypes: { - video: { - context: 'adpod', - playerSize: [640, 480], - adPodDurationSec: 300, - durationRangeSec: [15, 30], - } - } - } - ); - const request = spec.buildRequests([bidRequest])[0]; - const payload = JSON.parse(request.data); - expect(payload.tags[0].hb_source).to.deep.equal(7); - }); - - it('should contain hb_source value for other media', function() { - const bidRequest = Object.assign({}, - bidRequests[0], - { - mediaType: 'banner', - params: { - sizes: [[300, 250], [300, 600]], - placementId: 13144370 - } - } - ); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - expect(payload.tags[0].hb_source).to.deep.equal(1); - }); - - it('adds brand_category_exclusion to request when set', function() { - const bidRequest = Object.assign({}, bidRequests[0]); - sinon - .stub(config, 'getConfig') - .withArgs('adpod.brandCategoryExclusion') - .returns(true); - - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - - expect(payload.brand_category_uniqueness).to.equal(true); - - config.getConfig.restore(); - }); - - it('adds auction level keywords to request when set', function() { - const bidRequest = Object.assign({}, bidRequests[0]); - sinon - .stub(config, 'getConfig') - .withArgs('mediafuseAuctionKeywords') - .returns({ - gender: 'm', - music: ['rock', 'pop'], - test: '' - }); - - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - - expect(payload.keywords).to.deep.equal([{ - 'key': 'gender', - 'value': ['m'] - }, { - 'key': 'music', - 'value': ['rock', 'pop'] - }, { - 'key': 'test' - }]); - - config.getConfig.restore(); - }); - - it('should attach native params to the request', function () { - const bidRequest = Object.assign({}, - bidRequests[0], - { - mediaType: 'native', - nativeParams: { - title: {required: true}, - body: {required: true}, - body2: {required: true}, - image: {required: true, sizes: [100, 100]}, - icon: {required: true}, - cta: {required: false}, - rating: {required: true}, - sponsoredBy: {required: true}, - privacyLink: {required: true}, - displayUrl: {required: true}, - address: {required: true}, - downloads: {required: true}, - likes: {required: true}, - phone: {required: true}, - price: {required: true}, - salePrice: {required: true} - } + const syncs = spec.getUserSyncs(syncOptions, serverResponses, gdprConsent); + expect(syncs).to.have.lengthOf(1); + expect(syncs[0].url).to.include('gdpr_consent=abc123'); + expect(syncs[0].url).to.not.include('gdpr='); + }); + }); + + // ------------------------------------------------------------------------- + // lifecycle — onBidWon + // ------------------------------------------------------------------------- + + // ------------------------------------------------------------------------- + // interpretResponse — dchain from buyer_member_id + // ------------------------------------------------------------------------- + describe('interpretResponse - dchain', function () { + it('should set meta.dchain when buyer_member_id is present', function () { + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + ext: { appnexus: { bid_ad_type: 0, buyer_member_id: 77, advertiser_id: 99 } } + }] + }] } - ); - - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - - expect(payload.tags[0].native.layouts[0]).to.deep.equal({ - title: {required: true}, - description: {required: true}, - desc2: {required: true}, - main_image: {required: true, sizes: [{ width: 100, height: 100 }]}, - icon: {required: true}, - ctatext: {required: false}, - rating: {required: true}, - sponsored_by: {required: true}, - privacy_link: {required: true}, - displayurl: {required: true}, - address: {required: true}, - downloads: {required: true}, - likes: {required: true}, - phone: {required: true}, - price: {required: true}, - saleprice: {required: true}, - privacy_supported: true + }; + + const bids = spec.interpretResponse(serverResponse, req); + expect(bids[0].meta.dchain).to.deep.equal({ + ver: '1.0', + complete: 0, + nodes: [{ bsid: '77' }] }); - expect(payload.tags[0].hb_source).to.equal(1); + expect(bids[0].meta.advertiserId).to.equal(99); }); + }); - it('should always populated tags[].sizes with 1,1 for native if otherwise not defined', function () { - const bidRequest = Object.assign({}, - bidRequests[0], - { - mediaType: 'native', - nativeParams: { - image: { required: true } - } - } - ); - bidRequest.sizes = [[150, 100], [300, 250]]; - - let request = spec.buildRequests([bidRequest]); - let payload = JSON.parse(request.data); - expect(payload.tags[0].sizes).to.deep.equal([{width: 150, height: 100}, {width: 300, height: 250}]); - - delete bidRequest.sizes; - - request = spec.buildRequests([bidRequest]); - payload = JSON.parse(request.data); - - expect(payload.tags[0].sizes).to.deep.equal([{width: 1, height: 1}]); - }); - - it('should convert keyword params to proper form and attaches to request', function () { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { - placementId: '10433394', - keywords: { - single: 'val', - singleArr: ['val'], - singleArrNum: [5], - multiValMixed: ['value1', 2, 'value3'], - singleValNum: 123, - emptyStr: '', - emptyArr: [''], - badValue: {'foo': 'bar'} // should be dropped - } - } - } - ); - - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - - expect(payload.tags[0].keywords).to.deep.equal([{ - 'key': 'single', - 'value': ['val'] - }, { - 'key': 'singleArr', - 'value': ['val'] - }, { - 'key': 'singleArrNum', - 'value': ['5'] - }, { - 'key': 'multiValMixed', - 'value': ['value1', '2', 'value3'] - }, { - 'key': 'singleValNum', - 'value': ['123'] - }, { - 'key': 'emptyStr' - }, { - 'key': 'emptyArr' - }]); - }); - - it('should add payment rules to the request', function () { - const bidRequest = Object.assign({}, - bidRequests[0], - { - params: { - placementId: '10433394', - usePaymentRule: true - } - } - ); + // ------------------------------------------------------------------------- + // buildRequests — optional params map (allowSmallerSizes, usePaymentRule, etc.) + // ------------------------------------------------------------------------- + describe('buildRequests - optional params', function () { + it('should map allowSmallerSizes, usePaymentRule, trafficSourceCode', function () { + const bid = deepClone(BASE_BID); + bid.params.allowSmallerSizes = true; + bid.params.usePaymentRule = true; + bid.params.trafficSourceCode = 'my-source'; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const extAN = req.data.imp[0].ext.appnexus; + expect(extAN.allow_smaller_sizes).to.be.true; + expect(extAN.use_pmt_rule).to.be.true; + expect(extAN.traffic_source_code).to.equal('my-source'); + }); + + it('should map externalImpId to ext.appnexus.ext_imp_id', function () { + const bid = deepClone(BASE_BID); + bid.params.externalImpId = 'ext-imp-123'; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.ext_imp_id).to.equal('ext-imp-123'); + }); + }); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); + // ------------------------------------------------------------------------- + // isBidRequestValid + // ------------------------------------------------------------------------- + describe('isBidRequestValid', function () { + it('should return true for placement_id (snake_case)', function () { + expect(spec.isBidRequestValid({ params: { placement_id: 12345 } })).to.be.true; + }); - expect(payload.tags[0].use_pmt_rule).to.equal(true); + it('should return true for member + invCode', function () { + expect(spec.isBidRequestValid({ params: { member: '123', invCode: 'inv' } })).to.be.true; }); - it('should add gpid to the request', function () { - const testGpid = '/12345/my-gpt-tag-0'; - const bidRequest = deepClone(bidRequests[0]); - bidRequest.ortb2Imp = { ext: { data: {}, gpid: testGpid } }; + it('should return true for member + inv_code', function () { + expect(spec.isBidRequestValid({ params: { member: '123', inv_code: 'inv' } })).to.be.true; + }); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); + it('should return false when no params', function () { + expect(spec.isBidRequestValid({})).to.be.false; + }); - expect(payload.tags[0].gpid).to.exist.and.equal(testGpid) + it('should return false for member without invCode or inv_code', function () { + expect(spec.isBidRequestValid({ params: { member: '123' } })).to.be.false; }); + }); - it('should add gdpr consent information to the request', function () { - const consentString = 'BOJ8RZsOJ8RZsABAB8AAAAAZ+A=='; - const bidderRequest = { - 'bidderCode': 'mediafuse', - 'auctionId': '1d1a030790a475', - 'bidderRequestId': '22edbae2733bf6', - 'timeout': 3000, - 'gdprConsent': { - consentString: consentString, - gdprApplies: true, - addtlConsent: '1~7.12.35.62.66.70.89.93.108' - } - }; - bidderRequest.bids = bidRequests; - - const request = spec.buildRequests(bidRequests, bidderRequest); - expect(request.options).to.deep.equal({withCredentials: true}); - const payload = JSON.parse(request.data); - - expect(payload.gdpr_consent).to.exist; - expect(payload.gdpr_consent.consent_string).to.exist.and.to.equal(consentString); - expect(payload.gdpr_consent.consent_required).to.exist.and.to.be.true; - expect(payload.gdpr_consent.addtl_consent).to.exist.and.to.deep.equal([7, 12, 35, 62, 66, 70, 89, 93, 108]); - }); - - it('should add us privacy string to payload', function() { - const consentString = '1YA-'; - const bidderRequest = { - 'bidderCode': 'mediafuse', - 'auctionId': '1d1a030790a475', - 'bidderRequestId': '22edbae2733bf6', - 'timeout': 3000, - 'uspConsent': consentString - }; - bidderRequest.bids = bidRequests; - - const request = spec.buildRequests(bidRequests, bidderRequest); - const payload = JSON.parse(request.data); - - expect(payload.us_privacy).to.exist; - expect(payload.us_privacy).to.exist.and.to.equal(consentString); - }); - - it('supports sending hybrid mobile app parameters', function () { - const appRequest = Object.assign({}, - bidRequests[0], - { - params: { - placementId: '10433394', - app: { - id: 'B1O2W3M4AN.com.prebid.webview', - geo: { - lat: 40.0964439, - lng: -75.3009142 - }, - device_id: { - idfa: '4D12078D-3246-4DA4-AD5E-7610481E7AE', // Apple advertising identifier - aaid: '38400000-8cf0-11bd-b23e-10b96e40000d', // Android advertising identifier - md5udid: '5756ae9022b2ea1e47d84fead75220c8', // MD5 hash of the ANDROID_ID - sha1udid: '4DFAA92388699AC6539885AEF1719293879985BF', // SHA1 hash of the ANDROID_ID - windowsadid: '750c6be243f1c4b5c9912b95a5742fc5' // Windows advertising identifier - } - } - } - } - ); - const request = spec.buildRequests([appRequest]); - const payload = JSON.parse(request.data); - expect(payload.app).to.exist; - expect(payload.app).to.deep.equal({ - appid: 'B1O2W3M4AN.com.prebid.webview' - }); - expect(payload.device.device_id).to.exist; - expect(payload.device.device_id).to.deep.equal({ - aaid: '38400000-8cf0-11bd-b23e-10b96e40000d', - idfa: '4D12078D-3246-4DA4-AD5E-7610481E7AE', - md5udid: '5756ae9022b2ea1e47d84fead75220c8', - sha1udid: '4DFAA92388699AC6539885AEF1719293879985BF', - windowsadid: '750c6be243f1c4b5c9912b95a5742fc5' - }); - expect(payload.device.geo).to.not.exist; - expect(payload.device.geo).to.not.deep.equal({ - lat: 40.0964439, - lng: -75.3009142 - }); + // ------------------------------------------------------------------------- + // getBidFloor + // ------------------------------------------------------------------------- + describe('buildRequests - getBidFloor', function () { + it('should use getFloor function result when available and currency matches', function () { + const bid = deepClone(BASE_BID); + bid.getFloor = () => ({ currency: 'USD', floor: 1.5 }); + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].bidfloor).to.equal(1.5); }); - it('should add referer info to payload', function () { - const bidRequest = Object.assign({}, bidRequests[0]) - const bidderRequest = { - refererInfo: { - topmostLocation: 'https://example.com/page.html', - reachedTop: true, - numIframes: 2, - stack: [ - 'https://example.com/page.html', - 'https://example.com/iframe1.html', - 'https://example.com/iframe2.html' - ] - } - } - const request = spec.buildRequests([bidRequest], bidderRequest); - const payload = JSON.parse(request.data); - - expect(payload.referrer_detection).to.exist; - expect(payload.referrer_detection).to.deep.equal({ - rd_ref: 'https%3A%2F%2Fexample.com%2Fpage.html', - rd_top: true, - rd_ifs: 2, - rd_stk: bidderRequest.refererInfo.stack.map((url) => encodeURIComponent(url)).join(',') - }); + it('should return null when getFloor returns wrong currency', function () { + const bid = deepClone(BASE_BID); + bid.getFloor = () => ({ currency: 'EUR', floor: 1.5 }); + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].bidfloor).to.be.undefined; }); - it('should populate schain if available', function () { - const bidRequest = Object.assign({}, bidRequests[0], { - ortb2: { - source: { - ext: { - schain: { - ver: '1.0', - complete: 1, - nodes: [ - { - 'asi': 'blob.com', - 'sid': '001', - 'hp': 1 - } - ] - } - } - } - } - }); + it('should use params.reserve when no getFloor function', function () { + const bid = deepClone(BASE_BID); + bid.params.reserve = 2.0; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].bidfloor).to.equal(2.0); + }); + }); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - expect(payload.schain).to.deep.equal({ - ver: '1.0', - complete: 1, - nodes: [ - { - 'asi': 'blob.com', - 'sid': '001', - 'hp': 1 - } - ] + // ------------------------------------------------------------------------- + // buildRequests — inv_code + // ------------------------------------------------------------------------- + describe('buildRequests - inv_code', function () { + it('should set tagid from invCode when no placementId', function () { + const bid = { bidder: 'mediafuse', adUnitCode: 'au', bidId: 'b1', params: { invCode: 'my-inv-code', member: '123' } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].tagid).to.equal('my-inv-code'); + }); + + it('should set tagid from inv_code when no placementId', function () { + const bid = { bidder: 'mediafuse', adUnitCode: 'au', bidId: 'b1', params: { inv_code: 'my-inv-code-snake', member: '123' } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].tagid).to.equal('my-inv-code-snake'); + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — banner_frameworks + // ------------------------------------------------------------------------- + describe('buildRequests - banner_frameworks', function () { + it('should set banner_frameworks from bid.params.banner_frameworks when no banner.api', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { banner: { sizes: [[300, 250]] } }; + bid.params.banner_frameworks = [1, 2, 3]; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.banner_frameworks).to.deep.equal([1, 2, 3]); + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — custom_renderer_present via bid.renderer + // ------------------------------------------------------------------------- + describe('buildRequests - custom renderer present', function () { + if (FEATURES.VIDEO) { + it('should set custom_renderer_present when bid.renderer is set for video imp', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'outstream', playerSize: [640, 480] } }; + bid.renderer = { id: 'custom', url: 'https://renderer.example.com/r.js' }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.custom_renderer_present).to.be.true; }); + } + }); + + // ------------------------------------------------------------------------- + // buildRequests — catch-all unknown camelCase params + // ------------------------------------------------------------------------- + describe('buildRequests - catch-all unknown params', function () { + it('should convert unknown camelCase params to snake_case in extAN', function () { + const bid = deepClone(BASE_BID); + bid.params.unknownCamelCaseParam = 'value123'; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.unknown_camel_case_param).to.equal('value123'); }); + }); - it('should populate coppa if set in config', function () { - const bidRequest = Object.assign({}, bidRequests[0]); - sinon.stub(config, 'getConfig') - .withArgs('coppa') - .returns(true); + // ------------------------------------------------------------------------- + // buildRequests — bid-level keywords + // ------------------------------------------------------------------------- + describe('buildRequests - bid keywords', function () { + it('should map bid.params.keywords to extAN.keywords string', function () { + const bid = deepClone(BASE_BID); + bid.params.keywords = { genre: ['rock', 'pop'] }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.keywords).to.be.a('string'); + expect(req.data.imp[0].ext.appnexus.keywords).to.include('genre=rock,pop'); + }); + }); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); + // ------------------------------------------------------------------------- + // buildRequests — canonicalUrl in referer detection + // ------------------------------------------------------------------------- + describe('buildRequests - canonicalUrl', function () { + it('should set rd_can in referrer_detection when canonicalUrl is present', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.refererInfo.canonicalUrl = 'https://canonical.example.com/page'; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.ext.appnexus.referrer_detection.rd_can).to.equal('https://canonical.example.com/page'); + }); + }); - expect(payload.user.coppa).to.equal(true); + // ------------------------------------------------------------------------- + // buildRequests — publisherId → site.publisher.id + // ------------------------------------------------------------------------- + describe('buildRequests - publisherId', function () { + it('should set site.publisher.id from bid.params.publisherId', function () { + const bid = deepClone(BASE_BID); + bid.params.publisherId = 67890; + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.bids = [bid]; + const [req] = spec.buildRequests([bid], bidderRequest); + expect(req.data.site.publisher.id).to.equal('67890'); + }); + }); - config.getConfig.restore(); + // ------------------------------------------------------------------------- + // buildRequests — member appended to endpoint URL + // ------------------------------------------------------------------------- + describe('buildRequests - member URL param', function () { + it('should append member_id to endpoint URL when bid.params.member is set', function () { + const bid = deepClone(BASE_BID); + bid.params.member = '456'; + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.bids = [bid]; + const [req] = spec.buildRequests([bid], bidderRequest); + expect(req.url).to.include('member_id=456'); }); + }); - it('should set the X-Is-Test customHeader if test flag is enabled', function () { - const bidRequest = Object.assign({}, bidRequests[0]); - sinon.stub(config, 'getConfig') - .withArgs('apn_test') - .returns(true); + // ------------------------------------------------------------------------- + // buildRequests — gppConsent + // ------------------------------------------------------------------------- + describe('buildRequests - gppConsent', function () { + it('should set regs.gpp and regs.gpp_sid from gppConsent', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.gppConsent = { gppString: 'DBACMYA', applicableSections: [7] }; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.regs.gpp).to.equal('DBACMYA'); + expect(req.data.regs.gpp_sid).to.deep.equal([7]); + }); + }); - const request = spec.buildRequests([bidRequest]); - expect(request.options.customHeaders).to.deep.equal({'X-Is-Test': 1}); + // ------------------------------------------------------------------------- + // buildRequests — gdprApplies=false + // ------------------------------------------------------------------------- + describe('buildRequests - gdprApplies false', function () { + it('should set regs.ext.gdpr=0 when gdprApplies is false', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.gdprConsent = { gdprApplies: false, consentString: 'cs' }; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.regs.ext.gdpr).to.equal(0); + }); + }); - config.getConfig.restore(); + // ------------------------------------------------------------------------- + // buildRequests — user.externalUid + // ------------------------------------------------------------------------- + describe('buildRequests - user externalUid', function () { + it('should map externalUid to user.external_uid', function () { + const bid = deepClone(BASE_BID); + bid.params.user = { externalUid: 'uid-abc-123' }; + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.bids = [bid]; + const [req] = spec.buildRequests([bid], bidderRequest); + expect(req.data.user.external_uid).to.equal('uid-abc-123'); }); + }); - it('should always set withCredentials: true on the request.options', function () { - const bidRequest = Object.assign({}, bidRequests[0]); - const request = spec.buildRequests([bidRequest]); - expect(request.options.withCredentials).to.equal(true); + // ------------------------------------------------------------------------- + // buildRequests — EID rtiPartner mapping (TDID / UID2) + // ------------------------------------------------------------------------- + describe('buildRequests - EID rtiPartner mapping', function () { + it('should set rtiPartner=TDID inside uids[0].ext for adserver.org EID', function () { + const bid = deepClone(BASE_BID); + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.ortb2.user = { ext: { eids: [{ source: 'adserver.org', uids: [{ id: 'tdid-value', atype: 1 }] }] } }; + const [req] = spec.buildRequests([bid], bidderRequest); + const eid = req.data.user?.ext?.eids?.find(e => e.source === 'adserver.org'); + expect(eid).to.exist; + expect(eid.uids[0].ext.rtiPartner).to.equal('TDID'); + expect(eid.rti_partner).to.be.undefined; }); - it('should set simple domain variant if purpose 1 consent is not given', function () { - const consentString = 'BOJ8RZsOJ8RZsABAB8AAAAAZ+A=='; - const bidderRequest = { - 'bidderCode': 'mediafuse', - 'auctionId': '1d1a030790a475', - 'bidderRequestId': '22edbae2733bf6', - 'timeout': 3000, - 'gdprConsent': { - consentString: consentString, - gdprApplies: true, - apiVersion: 2, - vendorData: { - purpose: { - consents: { - 1: false - } - } - } - } - }; - bidderRequest.bids = bidRequests; - - const request = spec.buildRequests(bidRequests, bidderRequest); - expect(request.url).to.equal('https://ib.adnxs-simple.com/ut/v3/prebid'); - }); - - it('should populate eids when supported userIds are available', function () { - const bidRequest = Object.assign({}, bidRequests[0], { - userIdAsEids: [{ - source: 'adserver.org', - uids: [{ id: 'sample-userid' }] - }, { - source: 'criteo.com', - uids: [{ id: 'sample-criteo-userid' }] - }, { - source: 'netid.de', - uids: [{ id: 'sample-netId-userid' }] - }, { - source: 'liveramp.com', - uids: [{ id: 'sample-idl-userid' }] - }, { - source: 'uidapi.com', - uids: [{ id: 'sample-uid2-value' }] - }, { - source: 'puburl.com', - uids: [{ id: 'pubid1' }] - }, { - source: 'puburl2.com', - uids: [{ id: 'pubid2' }, { id: 'pubid2-123' }] - }] - }); + it('should set rtiPartner=UID2 inside uids[0].ext for uidapi.com EID', function () { + const bid = deepClone(BASE_BID); + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.ortb2.user = { ext: { eids: [{ source: 'uidapi.com', uids: [{ id: 'uid2-value', atype: 3 }] }] } }; + const [req] = spec.buildRequests([bid], bidderRequest); + const eid = req.data.user?.ext?.eids?.find(e => e.source === 'uidapi.com'); + expect(eid).to.exist; + expect(eid.uids[0].ext.rtiPartner).to.equal('UID2'); + expect(eid.rti_partner).to.be.undefined; + }); - const request = spec.buildRequests([bidRequest]); - const payload = JSON.parse(request.data); - expect(payload.eids).to.deep.include({ - source: 'adserver.org', - id: 'sample-userid', - rti_partner: 'TDID' + it('should preserve existing uid.ext fields when adding rtiPartner', function () { + const bid = deepClone(BASE_BID); + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.ortb2.user = { ext: { eids: [{ source: 'adserver.org', uids: [{ id: 'tdid-value', atype: 1, ext: { existing: true } }] }] } }; + const [req] = spec.buildRequests([bid], bidderRequest); + const eid = req.data.user?.ext?.eids?.find(e => e.source === 'adserver.org'); + expect(eid).to.exist; + expect(eid.uids[0].ext.rtiPartner).to.equal('TDID'); + expect(eid.uids[0].ext.existing).to.be.true; + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — apn_test config → X-Is-Test header + // ------------------------------------------------------------------------- + describe('buildRequests - apn_test config header', function () { + it('should set X-Is-Test:1 custom header when config apn_test=true', function () { + sandbox.stub(config, 'getConfig').callsFake((key) => { + if (key === 'apn_test') return true; + return undefined; }); + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + expect(req.options.customHeaders).to.deep.equal({ 'X-Is-Test': 1 }); + }); + }); - expect(payload.eids).to.deep.include({ - source: 'criteo.com', - id: 'sample-criteo-userid', + // ------------------------------------------------------------------------- + // buildRequests — video minduration already set (skip overwrite) + // ------------------------------------------------------------------------- + describe('buildRequests - video minduration skip overwrite', function () { + if (FEATURES.VIDEO) { + it('should not overwrite minduration set by params.video when mediaTypes.video.minduration also present', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], minduration: 10 } }; + bid.params.video = { minduration: 5 }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + // params.video sets minduration=5 first; mediaTypes check sees it's already a number → skips + expect(req.data.imp[0].video.minduration).to.equal(5); }); + } + }); - expect(payload.eids).to.deep.include({ - source: 'netid.de', - id: 'sample-netId-userid', + // ------------------------------------------------------------------------- + // buildRequests — playbackmethod out of range (>4) + // ------------------------------------------------------------------------- + describe('buildRequests - video playbackmethod out of range', function () { + if (FEATURES.VIDEO) { + it('should not set playback_method when playbackmethod[0] > 4', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], playbackmethod: [5] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.playback_method).to.be.undefined; }); + } + }); - expect(payload.eids).to.deep.include({ - source: 'liveramp.com', - id: 'sample-idl-userid' + // ------------------------------------------------------------------------- + // buildRequests — video api val=6 filtered out + // ------------------------------------------------------------------------- + describe('buildRequests - video api val=6 filtered', function () { + if (FEATURES.VIDEO) { + it('should produce empty video_frameworks when api=[6] since 6 is out of 1-5 range', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], api: [6] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.video_frameworks).to.deep.equal([]); }); + } + }); - expect(payload.eids).to.deep.include({ - source: 'uidapi.com', - id: 'sample-uid2-value', - rti_partner: 'UID2' + // ------------------------------------------------------------------------- + // buildRequests — video_frameworks already set; api should not override + // ------------------------------------------------------------------------- + describe('buildRequests - video_frameworks not overridden by api', function () { + if (FEATURES.VIDEO) { + it('should keep frameworks from params.video when mediaTypes.video.api is also present', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], api: [4] } }; + bid.params.video = { frameworks: [1, 2] }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.video_frameworks).to.deep.equal([1, 2]); }); - }); + } + }); - it('should populate iab_support object at the root level if omid support is detected', function () { - // with bid.params.frameworks - const bidRequest_A = Object.assign({}, bidRequests[0], { - params: { - frameworks: [1, 2, 5, 6], - video: { - frameworks: [1, 2, 5, 6] - } + // ------------------------------------------------------------------------- + // interpretResponse — adomain string vs empty array + // ------------------------------------------------------------------------- + describe('interpretResponse - adomain handling', function () { + it('should wrap string adomain in an array for advertiserDomains', function () { + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + adomain: 'example.com', + ext: { appnexus: { bid_ad_type: 0 } } + }] + }] } - }); - let request = spec.buildRequests([bidRequest_A]); - let payload = JSON.parse(request.data); - expect(payload.iab_support).to.be.an('object'); - expect(payload.iab_support).to.deep.equal({ - omidpn: 'Mediafuse', - omidpv: '$prebid.version$' - }); - expect(payload.tags[0].banner_frameworks).to.be.an('array'); - expect(payload.tags[0].banner_frameworks).to.deep.equal([1, 2, 5, 6]); - expect(payload.tags[0].video_frameworks).to.be.an('array'); - expect(payload.tags[0].video_frameworks).to.deep.equal([1, 2, 5, 6]); - expect(payload.tags[0].video.frameworks).to.not.exist; - - // without bid.params.frameworks - const bidRequest_B = Object.assign({}, bidRequests[0]); - request = spec.buildRequests([bidRequest_B]); - payload = JSON.parse(request.data); - expect(payload.iab_support).to.not.exist; - expect(payload.tags[0].banner_frameworks).to.not.exist; - expect(payload.tags[0].video_frameworks).to.not.exist; - - // with video.frameworks but it is not an array - const bidRequest_C = Object.assign({}, bidRequests[0], { - params: { - video: { - frameworks: "'1', '2', '3', '6'" - } + }; + const bids = spec.interpretResponse(serverResponse, req); + expect(bids[0].meta.advertiserDomains).to.deep.equal(['example.com']); + }); + + it('should not set non-empty advertiserDomains when adomain is an empty array', function () { + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + adomain: [], + ext: { appnexus: { bid_ad_type: 0 } } + }] + }] } - }); - request = spec.buildRequests([bidRequest_C]); - payload = JSON.parse(request.data); - expect(payload.iab_support).to.not.exist; - expect(payload.tags[0].banner_frameworks).to.not.exist; - expect(payload.tags[0].video_frameworks).to.not.exist; - }); - }) - - describe('interpretResponse', function () { - let bidderSettingsStorage; - - before(function() { - bidderSettingsStorage = getGlobal().bidderSettings; - }); - - after(function() { - getGlobal().bidderSettings = bidderSettingsStorage; - }); - - const response = { - 'version': '3.0.0', - 'tags': [ - { - 'uuid': '3db3773286ee59', - 'tag_id': 10433394, - 'auction_id': '4534722592064951574', - 'nobid': false, - 'no_ad_url': 'https://lax1-ib.adnxs.com/no-ad', - 'timeout_ms': 10000, - 'ad_profile_id': 27079, - 'ads': [ - { - 'content_source': 'rtb', - 'ad_type': 'banner', - 'buyer_member_id': 958, - 'creative_id': 29681110, - 'media_type_id': 1, - 'media_subtype_id': 1, - 'cpm': 0.5, - 'cpm_publisher_currency': 0.5, - 'publisher_currency_code': '$', - 'client_initiated_ad_counting': true, - 'viewability': { - 'config': '' - }, - 'rtb': { - 'banner': { - 'content': '', - 'width': 300, - 'height': 250 - }, - 'trackers': [ - { - 'impression_urls': [ - 'https://lax1-ib.adnxs.com/impression', - 'https://www.test.com/tracker' - ], - 'video_events': {} - } - ] + }; + const bids = spec.interpretResponse(serverResponse, req); + // adapter's guard skips setting advertiserDomains for empty arrays; + // ortbConverter may set it to [] — either way it must not be a non-empty array + const domains = bids[0].meta && bids[0].meta.advertiserDomains; + expect(!domains || domains.length === 0).to.be.true; + }); + }); + + // ------------------------------------------------------------------------- + // interpretResponse — banner impression_urls trackers + // ------------------------------------------------------------------------- + describe('interpretResponse - banner trackers', function () { + it('should append tracker pixel HTML to bid.ad when trackers.impression_urls is present', function () { + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + adm: '
ad
', + ext: { + appnexus: { + bid_ad_type: 0, + trackers: [{ impression_urls: ['https://tracker.example.com/impression'] }] + } } - } - ] + }] + }] } - ] - }; - - it('should get correct bid response', function () { - const expectedResponse = [ - { - 'requestId': '3db3773286ee59', - 'cpm': 0.5, - 'creativeId': 29681110, - 'dealId': undefined, - 'width': 300, - 'height': 250, - 'ad': '', - 'mediaType': 'banner', - 'currency': 'USD', - 'ttl': 300, - 'netRevenue': true, - 'adUnitCode': 'code', - 'mediafuse': { - 'buyerMemberId': 958 - }, - 'meta': { - 'dchain': { - 'ver': '1.0', - 'complete': 0, - 'nodes': [{ - 'bsid': '958' - }] - } - } + }; + const bids = spec.interpretResponse(serverResponse, req); + expect(bids[0].ad).to.include('tracker.example.com/impression'); + }); + }); + + // ------------------------------------------------------------------------- + // interpretResponse — native jsTrackers combinations + // ------------------------------------------------------------------------- + describe('interpretResponse - native jsTrackers combinations', function () { + function buildNativeReq() { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { native: { title: { required: true } } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + return req; + } + + it('should combine string jsTracker with viewability.config into array [str, disarmed]', function () { + const req = buildNativeReq(); + const impId = req.data.imp[0].id; + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + adm: JSON.stringify({ native: { title: 'T', javascript_trackers: 'https://existing-tracker.com/t.js' } }), + ext: { + appnexus: { + bid_ad_type: 3, + viewability: { config: '' } + } + } + }] + }] } - ]; - const bidderRequest = { - bids: [{ - bidId: '3db3773286ee59', - adUnitCode: 'code' - }] }; - const result = spec.interpretResponse({ body: response }, {bidderRequest}); - expect(Object.keys(result[0])).to.have.members(Object.keys(expectedResponse[0])); + const bids = spec.interpretResponse(serverResponse, req); + const trackers = bids[0].native.javascriptTrackers; + expect(trackers).to.be.an('array').with.lengthOf(2); + expect(trackers[0]).to.equal('https://existing-tracker.com/t.js'); + expect(trackers[1]).to.include('data-src='); }); - it('should reject 0 cpm bids', function () { - const zeroCpmResponse = deepClone(response); - zeroCpmResponse.tags[0].ads[0].cpm = 0; + it('should push viewability.config into existing array jsTrackers', function () { + const req = buildNativeReq(); + const impId = req.data.imp[0].id; + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + adm: JSON.stringify({ native: { title: 'T', javascript_trackers: ['https://tracker1.com/t.js'] } }), + ext: { + appnexus: { + bid_ad_type: 3, + viewability: { config: '' } + } + } + }] + }] + } + }; + const bids = spec.interpretResponse(serverResponse, req); + const trackers = bids[0].native.javascriptTrackers; + expect(trackers).to.be.an('array').with.lengthOf(2); + expect(trackers[0]).to.equal('https://tracker1.com/t.js'); + expect(trackers[1]).to.include('data-src='); + }); - const bidderRequest = { - bidderCode: 'mediafuse' + it('should combine string jsTracker with eventtrackers into array', function () { + const req = buildNativeReq(); + const impId = req.data.imp[0].id; + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + adm: JSON.stringify({ + native: { + title: 'T', + javascript_trackers: 'https://existing-tracker.com/t.js', + eventtrackers: [{ method: 1, url: 'https://event-tracker.com/track' }] + } + }), + ext: { appnexus: { bid_ad_type: 3 } } + }] + }] + } }; + const bids = spec.interpretResponse(serverResponse, req); + const trackers = bids[0].native.javascriptTrackers; + expect(trackers).to.be.an('array').with.lengthOf(2); + expect(trackers[0]).to.equal('https://existing-tracker.com/t.js'); + expect(trackers[1]).to.equal('https://event-tracker.com/track'); + }); - const result = spec.interpretResponse({ body: zeroCpmResponse }, { bidderRequest }); - expect(result.length).to.equal(0); + it('should push eventtrackers into existing array jsTrackers', function () { + const req = buildNativeReq(); + const impId = req.data.imp[0].id; + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + adm: JSON.stringify({ + native: { + title: 'T', + javascript_trackers: ['https://existing-tracker.com/t.js'], + eventtrackers: [{ method: 1, url: 'https://event-tracker.com/track' }] + } + }), + ext: { appnexus: { bid_ad_type: 3 } } + }] + }] + } + }; + const bids = spec.interpretResponse(serverResponse, req); + const trackers = bids[0].native.javascriptTrackers; + expect(trackers).to.be.an('array').with.lengthOf(2); + expect(trackers[0]).to.equal('https://existing-tracker.com/t.js'); + expect(trackers[1]).to.equal('https://event-tracker.com/track'); }); - it('should allow 0 cpm bids if allowZeroCpmBids setConfig is true', function () { - getGlobal().bidderSettings = { - mediafuse: { - allowZeroCpmBids: true + it('should replace %native_dom_id% macro in eventtrackers during interpretResponse', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { native: { title: { required: true } } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + + const adWithMacro = { + native: { + title: 'T', + eventtrackers: [{ + method: 1, + url: 'https://cdn.adnxs.com/v/trk.js?dom_id=%native_dom_id%&id=123' + }] } }; - const zeroCpmResponse = deepClone(response); - zeroCpmResponse.tags[0].ads[0].cpm = 0; + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + adm: JSON.stringify(adWithMacro), + ext: { appnexus: { bid_ad_type: 3 } } + }] + }] + } + }; - const bidderRequest = { - bidderCode: 'mediafuse', - bids: [{ - bidId: '3db3773286ee59', - adUnitCode: 'code' - }] + const bids = spec.interpretResponse(serverResponse, req); + const parsedAdm = JSON.parse(bids[0].ad); + const trackers = parsedAdm.native?.eventtrackers || parsedAdm.eventtrackers; + expect(trackers[0].url).to.include('pbjs_adid='); + expect(trackers[0].url).to.include('pbjs_auc='); + expect(trackers[0].url).to.not.include('%native_dom_id%'); + }); + }); + + // ------------------------------------------------------------------------- + // getUserSyncs — iframe and pixel syncing + // ------------------------------------------------------------------------- + describe('getUserSyncs - iframe and pixel syncing', function () { + it('should add iframe sync when iframeEnabled and purpose-1 consent is present', function () { + const syncOptions = { iframeEnabled: true }; + const gdprConsent = { + gdprApplies: true, + consentString: 'cs', + vendorData: { purpose: { consents: { 1: true } } } }; + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent); + expect(syncs).to.have.lengthOf(1); + expect(syncs[0].type).to.equal('iframe'); + expect(syncs[0].url).to.include('gdpr=1'); + }); - const result = spec.interpretResponse({ body: zeroCpmResponse }, { bidderRequest }); - expect(result.length).to.equal(1); - expect(result[0].cpm).to.equal(0); + it('should have no gdpr params in pixel url when gdprConsent is null', function () { + const syncOptions = { pixelEnabled: true }; + const serverResponses = [{ + body: { ext: { appnexus: { userSync: { url: 'https://sync.example.com/px' } } } } + }]; + const syncs = spec.getUserSyncs(syncOptions, serverResponses, null); + expect(syncs).to.have.lengthOf(1); + expect(syncs[0].url).to.not.include('gdpr'); }); - it('handles nobid responses', function () { - const response = { - 'version': '0.0.1', - 'tags': [{ - 'uuid': '84ab500420319d', - 'tag_id': 5976557, - 'auction_id': '297492697822162468', - 'nobid': true - }] + it('should append gdpr params with & when pixel url already contains ?', function () { + const syncOptions = { pixelEnabled: true }; + const serverResponses = [{ + body: { ext: { appnexus: { userSync: { url: 'https://sync.example.com/px?existing=1' } } } } + }]; + const gdprConsent = { gdprApplies: true, consentString: 'cs' }; + const syncs = spec.getUserSyncs(syncOptions, serverResponses, gdprConsent); + expect(syncs[0].url).to.include('existing=1'); + expect(syncs[0].url).to.include('gdpr=1'); + expect(syncs[0].url).to.match(/\?existing=1&/); + }); + }); + + // ------------------------------------------------------------------------- + // getUserSyncs — iframeEnabled but consent denied (no iframe added) + // ------------------------------------------------------------------------- + describe('getUserSyncs - iframeEnabled denied by consent', function () { + it('should not add iframe sync when iframeEnabled but purpose-1 consent is denied', function () { + const syncOptions = { iframeEnabled: true }; + const gdprConsent = { + gdprApplies: true, + consentString: 'cs', + vendorData: { purpose: { consents: { 1: false } } } }; - let bidderRequest; - - const result = spec.interpretResponse({ body: response }, {bidderRequest}); - expect(result.length).to.equal(0); - }); - - it('handles outstream video responses', function () { - const response = { - 'tags': [{ - 'uuid': '84ab500420319d', - 'ads': [{ - 'ad_type': 'video', - 'cpm': 0.500000, - 'notify_url': 'imptracker.com', - 'rtb': { - 'video': { - 'content': '' - } - }, - 'javascriptTrackers': '' + const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent); + expect(syncs).to.have.lengthOf(0); + }); + + it('should not add pixel sync when serverResponses is empty', function () { + const syncOptions = { pixelEnabled: true }; + const syncs = spec.getUserSyncs(syncOptions, [], null); + expect(syncs).to.have.lengthOf(0); + }); + + it('should not add pixel sync when response has no userSync url', function () { + const syncOptions = { pixelEnabled: true }; + const serverResponses = [{ body: { ext: { appnexus: {} } } }]; + const syncs = spec.getUserSyncs(syncOptions, serverResponses, null); + expect(syncs).to.have.lengthOf(0); + }); + }); + + // ------------------------------------------------------------------------- + // interpretResponse — bid_ad_type not in RESPONSE_MEDIA_TYPE_MAP + // ------------------------------------------------------------------------- + describe('interpretResponse - unknown bid_ad_type', function () { + it('should not throw when bid_ad_type=2 is not in the media type map', function () { + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.5, + adm: '
creative
', + ext: { appnexus: { bid_ad_type: 2 } } + }] }] - }] + } }; - const bidderRequest = { - bids: [{ - bidId: '84ab500420319d', - adUnitCode: 'code', - mediaTypes: { - video: { - context: 'outstream' - } - } - }] - } + expect(() => spec.interpretResponse(serverResponse, req)).to.not.throw(); + }); + }); - const result = spec.interpretResponse({ body: response }, {bidderRequest}); - expect(result[0]).to.have.property('vastXml'); - expect(result[0]).to.have.property('vastImpUrl'); - expect(result[0]).to.have.property('mediaType', 'video'); - }); - - it('handles instream video responses', function () { - const response = { - 'tags': [{ - 'uuid': '84ab500420319d', - 'ads': [{ - 'ad_type': 'video', - 'cpm': 0.500000, - 'notify_url': 'imptracker.com', - 'rtb': { - 'video': { - 'asset_url': 'https://sample.vastURL.com/here/vid' - } - }, - 'javascriptTrackers': '' - }] - }] + // ------------------------------------------------------------------------- + // buildRequests — topmostLocation falsy → rd_ref='' + // ------------------------------------------------------------------------- + describe('buildRequests - topmostLocation falsy', function () { + it('should set rd_ref to empty string when topmostLocation is not present', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.refererInfo = { + topmostLocation: null, + reachedTop: false, + numIframes: 0, + stack: [] }; - const bidderRequest = { - bids: [{ - bidId: '84ab500420319d', - adUnitCode: 'code', - mediaTypes: { - video: { - context: 'instream' - } - } - }] + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.ext.appnexus.referrer_detection.rd_ref).to.equal(''); + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — addtlConsent all-NaN → addtl_consent not set + // ------------------------------------------------------------------------- + describe('buildRequests - addtlConsent all-NaN values', function () { + it('should not set addtl_consent when all values after ~ are NaN', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.gdprConsent = { + gdprApplies: true, + consentString: 'cs', + addtlConsent: '1~abc.def.ghi' + }; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.user && req.data.user.ext && req.data.user.ext.addtl_consent).to.be.undefined; + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — EID with unrecognized source passes through unchanged + // ------------------------------------------------------------------------- + describe('buildRequests - EID unrecognized source', function () { + it('should pass through EID unchanged when source is neither adserver.org nor uidapi.com', function () { + const bid = deepClone(BASE_BID); + bid.userIdAsEids = [{ source: 'unknown-id-provider.com', uids: [{ id: 'some-id', atype: 1 }] }]; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const eid = req.data.user && req.data.user.ext && req.data.user.ext.eids && + req.data.user.ext.eids.find(e => e.source === 'unknown-id-provider.com'); + if (eid) { + expect(eid.rti_partner).to.be.undefined; } + }); + }); + + // ------------------------------------------------------------------------- + // getBidFloor — edge cases + // ------------------------------------------------------------------------- + describe('buildRequests - getBidFloor edge cases', function () { + it('should return null when getFloor returns a non-plain-object (null)', function () { + const bid = deepClone(BASE_BID); + bid.getFloor = () => null; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].bidfloor).to.be.undefined; + }); - const result = spec.interpretResponse({ body: response }, {bidderRequest}); - expect(result[0]).to.have.property('vastUrl'); - expect(result[0]).to.have.property('vastImpUrl'); - expect(result[0]).to.have.property('mediaType', 'video'); - }); - - it('handles adpod responses', function () { - const response = { - 'tags': [{ - 'uuid': '84ab500420319d', - 'ads': [{ - 'ad_type': 'video', - 'brand_category_id': 10, - 'cpm': 0.500000, - 'notify_url': 'imptracker.com', - 'rtb': { - 'video': { - 'asset_url': 'https://sample.vastURL.com/here/adpod', - 'duration_ms': 30000, + it('should return null when getFloor returns a NaN floor value', function () { + const bid = deepClone(BASE_BID); + bid.getFloor = () => ({ currency: 'USD', floor: NaN }); + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].bidfloor).to.be.undefined; + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — banner_frameworks type guard + // ------------------------------------------------------------------------- + describe('buildRequests - banner_frameworks invalid type', function () { + it('should not set banner_frameworks when value is a string (not array of nums)', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { banner: { sizes: [[300, 250]] } }; + bid.params.banner_frameworks = 'not-an-array'; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.banner_frameworks).to.be.undefined; + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — video params frameworks type guard + // ------------------------------------------------------------------------- + describe('buildRequests - video params frameworks', function () { + it('should not set video_frameworks when params.video.frameworks is not an array', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; + bid.params.video = { frameworks: 'not-an-array' }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.video_frameworks).to.be.undefined; + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — banner_frameworks param fallback + // ------------------------------------------------------------------------- + describe('buildRequests - banner frameworks param fallback', function () { + it('should use bid.params.frameworks as fallback when banner_frameworks is absent', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { banner: { sizes: [[300, 250]] } }; + bid.params.frameworks = [1, 2]; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.banner_frameworks).to.deep.equal([1, 2]); + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — refererInfo.stack absent + // ------------------------------------------------------------------------- + describe('buildRequests - refererInfo stack absent', function () { + it('should set rd_stk to undefined when stack is not present in refererInfo', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.refererInfo = { + topmostLocation: 'http://example.com', + reachedTop: true, + numIframes: 0 + }; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.ext.appnexus.referrer_detection.rd_stk).to.be.undefined; + }); + }); + + // ------------------------------------------------------------------------- + // interpretResponse — renderer options from mediaTypes.video.renderer.options + // ------------------------------------------------------------------------- + describe('interpretResponse - renderer options from mediaTypes.video.renderer', function () { + it('should use mediaTypes.video.renderer.options when available', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'outstream', playerSize: [640, 480], renderer: { options: { key: 'val' } } } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 3.0, + ext: { + appnexus: { + bid_ad_type: 1, + renderer_url: 'https://cdn.adnxs.com/renderer.js', + renderer_id: 42 + } } - }, - 'viewability': { - 'config': '' - } + }] }] - }] + } }; + const bids = spec.interpretResponse(serverResponse, req); + expect(bids[0].renderer).to.exist; + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — video params.video takes priority over mediaTypes.video for maxduration + // ------------------------------------------------------------------------- + describe('buildRequests - video maxduration skip overwrite', function () { + if (FEATURES.VIDEO) { + it('should not overwrite maxduration set by params.video when mediaTypes.video.maxduration also present', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], maxduration: 15 } }; + bid.params.video = { maxduration: 30 }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.maxduration).to.equal(30); + }); + } + }); + + // ------------------------------------------------------------------------- + // buildRequests — video params.video takes priority over mediaTypes.video for skippable + // ------------------------------------------------------------------------- + describe('buildRequests - video skippable skip overwrite', function () { + if (FEATURES.VIDEO) { + it('should not overwrite skippable set by params.video when mediaTypes.video.skip is also present', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], skip: 1 } }; + bid.params.video = { skippable: false }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.skippable).to.be.false; + }); + } + }); + + // ------------------------------------------------------------------------- + // buildRequests — video params.video takes priority over mediaTypes.video for skipoffset + // ------------------------------------------------------------------------- + describe('buildRequests - video skipoffset skip overwrite', function () { + if (FEATURES.VIDEO) { + it('should not overwrite skipoffset set by params.video when mediaTypes.video.skipafter is also present', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], skipafter: 10 } }; + bid.params.video = { skipoffset: 5 }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.skipoffset).to.equal(5); + }); + } + }); - const bidderRequest = { - bids: [{ - bidId: '84ab500420319d', - adUnitCode: 'code', - mediaTypes: { - video: { - context: 'adpod' - } + // ------------------------------------------------------------------------- + // buildRequests — video playbackmethod type guard + // ------------------------------------------------------------------------- + describe('buildRequests - video playbackmethod', function () { + if (FEATURES.VIDEO) { + it('should not set playback_method when mediaTypes.video.playbackmethod is not an array', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], playbackmethod: 2 } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].video.playback_method).to.be.undefined; + }); + } + }); + + // ------------------------------------------------------------------------- + // interpretResponse — video nurl without asset_url + // ------------------------------------------------------------------------- + describe('interpretResponse - video nurl without asset_url', function () { + if (FEATURES.VIDEO) { + it('should set vastImpUrl but not vastUrl when nurl present but asset_url absent', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + const impId = req.data.imp[0].id; + + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: impId, + price: 1.0, + nurl: 'https://notify.example.com/win', + ext: { + appnexus: { + bid_ad_type: 1 + // no asset_url, no renderer_url/renderer_id + } + } + }] + }] } - }] + }; + const bids = spec.interpretResponse(serverResponse, req); + expect(bids[0].vastImpUrl).to.equal('https://notify.example.com/win'); + expect(bids[0].vastUrl).to.not.include('&redir='); + }); + } + }); + + // ------------------------------------------------------------------------- + // onBidWon — viewability script reload + // ------------------------------------------------------------------------- + describe('onBidWon - viewability', function () { + it('should not throw when bid has no native property', function () { + expect(() => spec.onBidWon({ cpm: 1.0, adUnitCode: 'test' })).to.not.throw(); + }); + + it('should traverse viewability helpers for a string tracker matching cdn.adnxs.com pattern', function () { + const jsScript = ''; + const bid = { + adId: 'ad-id-1', + adUnitCode: 'adunit-code', + native: { javascriptTrackers: jsScript } }; + // Exercises reloadViewabilityScriptWithCorrectParameters, strIsMediafuseViewabilityScript, + // getMediafuseViewabilityScriptFromJsTrackers, and getViewabilityScriptUrlFromPayload. + expect(() => spec.onBidWon(bid)).to.not.throw(); + }); - const result = spec.interpretResponse({ body: response }, {bidderRequest}); - expect(result[0]).to.have.property('vastUrl'); - expect(result[0].video.context).to.equal('adpod'); - expect(result[0].video.durationSeconds).to.equal(30); - }); - - it('handles native responses', function () { - const response1 = deepClone(response); - response1.tags[0].ads[0].ad_type = 'native'; - response1.tags[0].ads[0].rtb.native = { - 'title': 'Native Creative', - 'desc': 'Cool description great stuff', - 'desc2': 'Additional body text', - 'ctatext': 'Do it', - 'sponsored': 'MediaFuse', - 'icon': { - 'width': 0, - 'height': 0, - 'url': 'https://cdn.adnxs.com/icon.png' - }, - 'main_img': { - 'width': 2352, - 'height': 1516, - 'url': 'https://cdn.adnxs.com/img.png' - }, - 'link': { - 'url': 'https://www.mediafuse.com', - 'fallback_url': '', - 'click_trackers': ['https://nym1-ib.adnxs.com/click'] - }, - 'impression_trackers': ['https://example.com'], - 'rating': '5', - 'displayurl': 'https://mediafuse.com/?url=display_url', - 'likes': '38908320', - 'downloads': '874983', - 'price': '9.99', - 'saleprice': 'FREE', - 'phone': '1234567890', - 'address': '28 W 23rd St, New York, NY 10010', - 'privacy_link': 'https://www.mediafuse.com/privacy-policy-agreement/', - 'javascriptTrackers': '' + it('should handle array of trackers and pick the viewability one', function () { + const jsScript = ''; + const bid = { + adId: 'ad-id-2', + adUnitCode: 'adunit-code', + native: { javascriptTrackers: ['', jsScript] } }; - const bidderRequest = { - bids: [{ - bidId: '3db3773286ee59', - adUnitCode: 'code' - }] - } + // Exercises the array branch in getMediafuseViewabilityScriptFromJsTrackers. + expect(() => spec.onBidWon(bid)).to.not.throw(); + }); - const result = spec.interpretResponse({ body: response1 }, {bidderRequest}); - expect(result[0].native.title).to.equal('Native Creative'); - expect(result[0].native.body).to.equal('Cool description great stuff'); - expect(result[0].native.cta).to.equal('Do it'); - expect(result[0].native.image.url).to.equal('https://cdn.adnxs.com/img.png'); - }); - - it('supports configuring outstream renderers', function () { - const outstreamResponse = deepClone(response); - outstreamResponse.tags[0].ads[0].rtb.video = {}; - outstreamResponse.tags[0].ads[0].renderer_url = 'renderer.js'; - - const bidderRequest = { - bids: [{ - bidId: '3db3773286ee59', - renderer: { - options: { - adText: 'configured' - } - }, - mediaTypes: { - video: { - context: 'outstream' - } - } - }] + it('should not throw when tracker string does not match viewability pattern', function () { + const bid = { + adId: 'ad-id-3', + adUnitCode: 'adunit-code', + native: { javascriptTrackers: '' } }; + expect(() => spec.onBidWon(bid)).to.not.throw(); + }); - const result = spec.interpretResponse({ body: outstreamResponse }, {bidderRequest}); - expect(result[0].renderer.config).to.deep.equal( - bidderRequest.bids[0].renderer.options - ); - }); - - it('should add deal_priority and deal_code', function() { - const responseWithDeal = deepClone(response); - responseWithDeal.tags[0].ads[0].ad_type = 'video'; - responseWithDeal.tags[0].ads[0].deal_priority = 5; - responseWithDeal.tags[0].ads[0].deal_code = '123'; - responseWithDeal.tags[0].ads[0].rtb.video = { - duration_ms: 1500, - player_width: 640, - player_height: 340, + it('should handle cdn.adnxs-simple.com pattern tracker', function () { + const jsScript = ''; + const bid = { + adId: 'ad-id-4', + adUnitCode: 'adunit-code', + native: { javascriptTrackers: jsScript } }; + expect(() => spec.onBidWon(bid)).to.not.throw(); + }); + }); - const bidderRequest = { - bids: [{ - bidId: '3db3773286ee59', - adUnitCode: 'code', - mediaTypes: { - video: { - context: 'adpod' - } - } - }] - } - const result = spec.interpretResponse({ body: responseWithDeal }, {bidderRequest}); - expect(Object.keys(result[0].mediafuse)).to.include.members(['buyerMemberId', 'dealPriority', 'dealCode']); - expect(result[0].video.dealTier).to.equal(5); + // ------------------------------------------------------------------------- + // onBidderError + // ------------------------------------------------------------------------- + describe('onBidderError', function () { + it('should log an error message via utils.logError', function () { + const logSpy = sandbox.spy(utils, 'logError'); + spec.onBidderError({ error: new Error('network timeout'), bidderRequest: deepClone(BASE_BIDDER_REQUEST) }); + expect(logSpy.called).to.be.true; + expect(logSpy.firstCall.args[0]).to.include('Mediafuse Bidder Error'); }); - it('should add advertiser id', function() { - const responseAdvertiserId = deepClone(response); - responseAdvertiserId.tags[0].ads[0].advertiser_id = '123'; + it('should include the error message in the logged string', function () { + const logSpy = sandbox.spy(utils, 'logError'); + spec.onBidderError({ error: new Error('timeout'), bidderRequest: deepClone(BASE_BIDDER_REQUEST) }); + expect(logSpy.firstCall.args[0]).to.include('timeout'); + }); + }); - const bidderRequest = { - bids: [{ - bidId: '3db3773286ee59', - adUnitCode: 'code' - }] - } - const result = spec.interpretResponse({ body: responseAdvertiserId }, {bidderRequest}); - expect(Object.keys(result[0].meta)).to.include.members(['advertiserId']); + // ------------------------------------------------------------------------- + // buildRequests — debug cookie + // ------------------------------------------------------------------------- + describe('buildRequests - debug cookie', function () { + it('should append debug params to URL when valid debug cookie is set', function () { + sandbox.stub(storage, 'getCookie').returns(JSON.stringify({ enabled: true, dongle: 'mfd' })); + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + expect(req.url).to.include('debug=1'); + expect(req.url).to.include('dongle=mfd'); }); - it('should add brand id', function() { - const responseBrandId = deepClone(response); - responseBrandId.tags[0].ads[0].brand_id = 123; + it('should not crash and should skip debug URL when cookie JSON is invalid', function () { + sandbox.stub(storage, 'getCookie').returns('{invalid-json'); + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + expect(req.url).to.not.include('debug=1'); + }); - const bidderRequest = { - bids: [{ - bidId: '3db3773286ee59', - adUnitCode: 'code' - }] - } - const result = spec.interpretResponse({ body: responseBrandId }, {bidderRequest}); - expect(Object.keys(result[0].meta)).to.include.members(['brandId']); + it('should not append debug params when cookie is absent and no debug URL params', function () { + sandbox.stub(storage, 'getCookie').returns(null); + const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); + expect(req.url).to.not.include('debug=1'); }); + }); - it('should add advertiserDomains', function() { - const responseAdvertiserId = deepClone(response); - responseAdvertiserId.tags[0].ads[0].adomain = ['123']; + // ------------------------------------------------------------------------- + // buildRequests — addtlConsent (GDPR additional consent string) + // ------------------------------------------------------------------------- + describe('buildRequests - addtlConsent', function () { + it('should parse addtlConsent with ~ separator and set user.ext.addtl_consent', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.gdprConsent = { + gdprApplies: true, + consentString: 'consent-string', + addtlConsent: 'abc~1.2.3' + }; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.user.ext.addtl_consent).to.deep.equal([1, 2, 3]); + }); - const bidderRequest = { - bids: [{ - bidId: '3db3773286ee59', - adUnitCode: 'code' - }] - } - const result = spec.interpretResponse({ body: responseAdvertiserId }, {bidderRequest}); - expect(Object.keys(result[0].meta)).to.include.members(['advertiserDomains']); - expect(Object.keys(result[0].meta.advertiserDomains)).to.deep.equal([]); + it('should not set addtl_consent when addtlConsent has no ~ separator', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.gdprConsent = { + gdprApplies: true, + consentString: 'consent-string', + addtlConsent: 'abc123' + }; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + const addtlConsent = utils.deepAccess(req.data, 'user.ext.addtl_consent'); + expect(addtlConsent).to.be.undefined; + }); + + it('should skip addtl_consent when addtlConsent segment list is empty after parsing', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.gdprConsent = { + gdprApplies: true, + consentString: 'consent-string', + addtlConsent: 'abc~' + }; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + const addtlConsent = utils.deepAccess(req.data, 'user.ext.addtl_consent'); + expect(addtlConsent).to.be.undefined; + }); + }); + + // ------------------------------------------------------------------------- + // buildRequests — refererInfo canonicalUrl branch + // ------------------------------------------------------------------------- + describe('buildRequests - refererInfo canonicalUrl', function () { + it('should include rd_can when canonicalUrl is present in refererInfo', function () { + const bidderRequest = deepClone(BASE_BIDDER_REQUEST); + bidderRequest.refererInfo.canonicalUrl = 'https://canonical.example.com/page'; + const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); + expect(req.data.ext.appnexus.referrer_detection.rd_can).to.equal('https://canonical.example.com/page'); }); }); + + // ------------------------------------------------------------------------- + // buildRequests — video params.video.frameworks branch + // ------------------------------------------------------------------------- + describe('buildRequests - video params.video.frameworks', function () { + if (FEATURES.VIDEO) { + it('should set video_frameworks from bid.params.video.frameworks', function () { + const bid = deepClone(BASE_BID); + bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; + bid.params.video = { frameworks: [1, 2, 6], minduration: 5 }; + const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); + expect(req.data.imp[0].ext.appnexus.video_frameworks).to.deep.equal([1, 2, 6]); + expect(req.data.imp[0].video.minduration).to.equal(5); + }); + } + }); }); From 2451e1e335af994848522a50fe94be369c50801f Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Fri, 27 Feb 2026 10:01:05 -0500 Subject: [PATCH 239/248] Revert "mediafuseBidAdapter - Updates and Refactor (#14469)" (#14529) This reverts commit 192f96a8c3f42a24a23930b69d36b3791a76ab1e. --- modules/mediafuseBidAdapter.js | 1767 +++++----- modules/mediafuseBidAdapter.md | 8 +- test/spec/modules/mediafuseBidAdapter_spec.js | 2894 ++++++++--------- 3 files changed, 2230 insertions(+), 2439 deletions(-) diff --git a/modules/mediafuseBidAdapter.js b/modules/mediafuseBidAdapter.js index a719bb5e729..0bffb9219ce 100644 --- a/modules/mediafuseBidAdapter.js +++ b/modules/mediafuseBidAdapter.js @@ -1,13 +1,8 @@ -import { ortbConverter } from '../libraries/ortbConverter/converter.js'; -import { registerBidder } from '../src/adapters/bidderFactory.js'; -import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; -import { Renderer } from '../src/Renderer.js'; -import { getStorageManager } from '../src/storageManager.js'; -import { hasPurpose1Consent } from '../src/utils/gdpr.js'; import { createTrackPixelHtml, deepAccess, - deepSetValue, + deepClone, + getBidRequest, getParameterByName, isArray, isArrayOfNums, @@ -21,974 +16,1086 @@ import { logMessage, logWarn } from '../src/utils.js'; -import { config } from '../src/config.js'; +import {Renderer} from '../src/Renderer.js'; +import {config} from '../src/config.js'; +import {registerBidder} from '../src/adapters/bidderFactory.js'; +import {ADPOD, BANNER, NATIVE, VIDEO} from '../src/mediaTypes.js'; +import {INSTREAM, OUTSTREAM} from '../src/video.js'; +import {getStorageManager} from '../src/storageManager.js'; +import {bidderSettings} from '../src/bidderSettings.js'; +import {hasPurpose1Consent} from '../src/utils/gdpr.js'; +import {convertOrtbRequestToProprietaryNative} from '../src/native.js'; +import {APPNEXUS_CATEGORY_MAPPING} from '../libraries/categoryTranslationMapping/index.js'; import { getANKewyordParamFromMaps, getANKeywordParam } from '../libraries/appnexusUtils/anKeywords.js'; -import { convertCamelToUnderscore } from '../libraries/appnexusUtils/anUtils.js'; -import { chunk } from '../libraries/chunk/chunk.js'; +import {convertCamelToUnderscore, fill} from '../libraries/appnexusUtils/anUtils.js'; +import {chunk} from '../libraries/chunk/chunk.js'; + +/** + * @typedef {import('../src/adapters/bidderFactory.js').BidRequest} BidRequest + * @typedef {import('../src/adapters/bidderFactory.js').Bid} Bid + */ + const BIDDER_CODE = 'mediafuse'; -const GVLID = 32; -const ENDPOINT_URL_NORMAL = 'https://ib.adnxs.com/openrtb2/prebidjs'; -const ENDPOINT_URL_SIMPLE = 'https://ib.adnxs-simple.com/openrtb2/prebidjs'; -const SOURCE = 'pbjs'; -const MAX_IMPS_PER_REQUEST = 15; +const URL = 'https://ib.adnxs.com/ut/v3/prebid'; +const URL_SIMPLE = 'https://ib.adnxs-simple.com/ut/v3/prebid'; +const VIDEO_TARGETING = ['id', 'minduration', 'maxduration', + 'skippable', 'playback_method', 'frameworks', 'context', 'skipoffset']; +const VIDEO_RTB_TARGETING = ['minduration', 'maxduration', 'skip', 'skipafter', 'playbackmethod', 'api']; +const USER_PARAMS = ['age', 'externalUid', 'segments', 'gender', 'dnt', 'language']; +const APP_DEVICE_PARAMS = ['device_id']; // appid is collected separately const DEBUG_PARAMS = ['enabled', 'dongle', 'member_id', 'debug_timeout']; -const DEBUG_QUERY_PARAM_MAP = { - 'apn_debug_enabled': 'enabled', - 'apn_debug_dongle': 'dongle', - 'apn_debug_member_id': 'member_id', - 'apn_debug_timeout': 'debug_timeout' -}; -const RESPONSE_MEDIA_TYPE_MAP = { - 0: BANNER, - 1: VIDEO, - 3: NATIVE +const VIDEO_MAPPING = { + playback_method: { + 'unknown': 0, + 'auto_play_sound_on': 1, + 'auto_play_sound_off': 2, + 'click_to_play': 3, + 'mouse_over': 4, + 'auto_play_sound_unknown': 5 + }, + context: { + 'unknown': 0, + 'pre_roll': 1, + 'mid_roll': 2, + 'post_roll': 3, + 'outstream': 4, + 'in-banner': 5 + } }; -const VIDEO_TARGETING = ['id', 'minduration', 'maxduration', 'skippable', 'playback_method', 'frameworks', 'context', 'skipoffset']; -const VIDEO_RTB_TARGETING = ['minduration', 'maxduration', 'skip', 'skipafter', 'playbackmethod', 'api']; -// Maps Prebid video context strings to Xandr's ext.appnexus.context integer (OpenRTB bid request) -const VIDEO_CONTEXT_MAP = { - 'instream': 1, - 'outstream': 4, - 'in-banner': 5 +const NATIVE_MAPPING = { + body: 'description', + body2: 'desc2', + cta: 'ctatext', + image: { + serverName: 'main_image', + requiredParams: { required: true } + }, + icon: { + serverName: 'icon', + requiredParams: { required: true } + }, + sponsoredBy: 'sponsored_by', + privacyLink: 'privacy_link', + salePrice: 'saleprice', + displayUrl: 'displayurl' }; -const USER_PARAMS = ['age', 'externalUid', 'segments', 'gender', 'dnt', 'language']; -const OMID_FRAMEWORK = 6; -const OMID_API = 7; +const SOURCE = 'pbjs'; +const MAX_IMPS_PER_REQUEST = 15; +const SCRIPT_TAG_START = ' 0) { - const size = isArray(sizes[0]) ? sizes[0] : sizes; - imp.banner = { - w: size[0], h: size[1], - format: sizes.map(s => { - const sz = isArray(s) ? s : [s[0], s[1]]; - return { w: sz[0], h: sz[1] }; - }) - }; - } + + /** + * Make a server request from the list of BidRequests. + * + * @param {BidRequest[]} bidRequests A non-empty list of bid requests which should be sent to the Server. + * @return ServerRequest Info describing the request to the server. + */ + buildRequests: function (bidRequests, bidderRequest) { + // convert Native ORTB definition to old-style prebid native definition + bidRequests = convertOrtbRequestToProprietaryNative(bidRequests); + const tags = bidRequests.map(bidToTag); + const userObjBid = ((bidRequests) || []).find(hasUserInfo); + let userObj = {}; + if (config.getConfig('coppa') === true) { + userObj = { 'coppa': true }; } - const bidderParams = bidRequest.params; - const extANData = { - disable_psa: true - }; - // Legacy support for placement_id vs placementId - const placementId = bidderParams.placement_id || bidderParams.placementId; - if (placementId) { - extANData.placement_id = parseInt(placementId, 10); - } else { - const invCode = bidderParams.inv_code || bidderParams.invCode; - if (invCode) { - deepSetValue(imp, 'tagid', invCode); - } + if (userObjBid) { + Object.keys(userObjBid.params.user) + .filter(param => USER_PARAMS.includes(param)) + .forEach((param) => { + const uparam = convertCamelToUnderscore(param); + if (param === 'segments' && isArray(userObjBid.params.user[param])) { + const segs = []; + userObjBid.params.user[param].forEach(val => { + if (isNumber(val)) { + segs.push({'id': val}); + } else if (isPlainObject(val)) { + segs.push(val); + } + }); + userObj[uparam] = segs; + } else if (param !== 'segments') { + userObj[uparam] = userObjBid.params.user[param]; + } + }); } - if (imp.banner) { - // primary_size for legacy support - const firstFormat = deepAccess(imp, 'banner.format.0'); - if (firstFormat) { - extANData.primary_size = firstFormat; - } - if (!imp.banner.api) { - const bannerFrameworks = bidderParams.banner_frameworks || bidderParams.frameworks; - if (isArrayOfNums(bannerFrameworks)) { - extANData.banner_frameworks = bannerFrameworks; - } - } + const appDeviceObjBid = ((bidRequests) || []).find(hasAppDeviceInfo); + let appDeviceObj; + if (appDeviceObjBid && appDeviceObjBid.params && appDeviceObjBid.params.app) { + appDeviceObj = {}; + Object.keys(appDeviceObjBid.params.app) + .filter(param => APP_DEVICE_PARAMS.includes(param)) + .forEach(param => { + appDeviceObj[param] = appDeviceObjBid.params.app[param]; + }); } - const gpid = deepAccess(bidRequest, 'ortb2Imp.ext.gpid'); - if (gpid) { - extANData.gpid = gpid; + const appIdObjBid = ((bidRequests) || []).find(hasAppId); + let appIdObj; + if (appIdObjBid && appIdObjBid.params && appDeviceObjBid.params.app && appDeviceObjBid.params.app.id) { + appIdObj = { + appid: appIdObjBid.params.app.id + }; } - if (FEATURES.VIDEO && imp.video) { - if (deepAccess(bidRequest, 'mediaTypes.video.context') === 'instream') { - extANData.require_asset_url = true; - } - - const videoParams = bidderParams.video; - if (videoParams) { - Object.keys(videoParams) - .filter(param => VIDEO_TARGETING.includes(param)) - .forEach(param => { - if (param === 'frameworks') { - if (isArray(videoParams.frameworks)) { - extANData.video_frameworks = videoParams.frameworks; - } - } else { - imp.video[param] = videoParams[param]; - } - }); - } - - const videoMediaType = deepAccess(bidRequest, 'mediaTypes.video'); - if (videoMediaType && imp.video) { - Object.keys(videoMediaType) - .filter(param => VIDEO_RTB_TARGETING.includes(param)) - .forEach(param => { - switch (param) { - case 'minduration': - case 'maxduration': - if (typeof imp.video[param] !== 'number') imp.video[param] = videoMediaType[param]; - break; - case 'skip': - if (typeof imp.video['skippable'] !== 'boolean') imp.video['skippable'] = (videoMediaType[param] === 1); - break; - case 'skipafter': - if (typeof imp.video['skipoffset'] !== 'number') imp.video['skipoffset'] = videoMediaType[param]; - break; - case 'playbackmethod': - if (typeof imp.video['playback_method'] !== 'number' && isArray(videoMediaType[param])) { - const type = videoMediaType[param][0]; - if (type >= 1 && type <= 4) { - imp.video['playback_method'] = type; - } - } - break; - case 'api': - if (!extANData.video_frameworks && isArray(videoMediaType[param])) { - const apiTmp = videoMediaType[param].map(val => { - const v = (val === 4) ? 5 : (val === 5) ? 4 : val; - return (v >= 1 && v <= 5) ? v : undefined; - }).filter(v => v !== undefined); - extANData.video_frameworks = apiTmp; - } - break; - } - }); - } + let debugObj = {}; + const debugObjParams = {}; + const debugCookieName = 'apn_prebid_debug'; + const debugCookie = storage.getCookie(debugCookieName) || null; - if (deepAccess(bidRequest, 'mediaTypes.video.context') === 'outstream') { - imp.video.placement = imp.video.placement || 4; + if (debugCookie) { + try { + debugObj = JSON.parse(debugCookie); + } catch (e) { + logError('MediaFuse Debug Auction Cookie Error:\n\n' + e); } - - const xandrVideoContext = VIDEO_CONTEXT_MAP[deepAccess(bidRequest, 'mediaTypes.video.context')]; - if (xandrVideoContext !== undefined) { - deepSetValue(imp, 'video.ext.appnexus.context', xandrVideoContext); + } else { + const debugBidRequest = ((bidRequests) || []).find(hasDebug); + if (debugBidRequest && debugBidRequest.debug) { + debugObj = debugBidRequest.debug; } } - if (bidRequest.renderer) { - extANData.custom_renderer_present = true; - } - Object.entries(OPTIONAL_PARAMS_MAP).forEach(([paramName, ortbName]) => { - if (bidderParams[paramName] !== undefined) { - extANData[ortbName] = bidderParams[paramName]; - } - }); + if (debugObj && debugObj.enabled) { + Object.keys(debugObj) + .filter(param => DEBUG_PARAMS.includes(param)) + .forEach(param => { + debugObjParams[param] = debugObj[param]; + }); + } - Object.keys(bidderParams) - .filter(param => !KNOWN_PARAMS.has(param)) - .forEach(param => { - extANData[convertCamelToUnderscore(param)] = bidderParams[param]; - }); + const memberIdBid = ((bidRequests) || []).find(hasMemberId); + const member = memberIdBid ? parseInt(memberIdBid.params.member, 10) : 0; + const schain = bidRequests[0]?.ortb2?.source?.ext?.schain; + const omidSupport = ((bidRequests) || []).find(hasOmidSupport); - // Keywords - if (!isEmpty(bidderParams.keywords)) { - const keywords = getANKewyordParamFromMaps(bidderParams.keywords); - if (keywords && keywords.length > 0) { - extANData.keywords = keywords.map(kw => kw.key + (kw.value ? '=' + kw.value.join(',') : '')).join(','); - } - } + const payload = { + tags: [...tags], + user: userObj, + sdk: { + source: SOURCE, + version: '$prebid.version$' + }, + schain: schain + }; - // Floor - const bidFloor = getBidFloor(bidRequest); - if (bidFloor) { - imp.bidfloor = bidFloor; - imp.bidfloorcur = 'USD'; - } else { - delete imp.bidfloor; - delete imp.bidfloorcur; + if (omidSupport) { + payload['iab_support'] = { + omidpn: 'Mediafuse', + omidpv: '$prebid.version$' + }; } - if (Object.keys(extANData).length > 0) { - deepSetValue(imp, 'ext.appnexus', extANData); + if (member > 0) { + payload.member_id = member; } - return imp; - }, - request(buildRequest, imps, bidderRequest, context) { - const request = buildRequest(imps, bidderRequest, context); - - // Ensure EIDs from the userId module are included when ortbConverter hasn't already - // populated user.ext.eids (e.g. when ortb2.user.ext.eids is not pre-set by the page). - // All bids in a request share the same user EIDs, so reading from bids[0] is correct. - if (!deepAccess(request, 'user.ext.eids')) { - const bidEids = bidderRequest.bids?.[0]?.userIdAsEids; - if (isArray(bidEids) && bidEids.length > 0) { - deepSetValue(request, 'user.ext.eids', bidEids); - } + if (appDeviceObjBid) { + payload.device = appDeviceObj; } - - if (request.user && request.user.ext && isArray(request.user.ext.eids)) { - request.user.ext.eids.forEach(eid => { - let rtiPartner; - if (eid.source === 'adserver.org') { - rtiPartner = 'TDID'; - } else if (eid.source === 'uidapi.com') { - rtiPartner = 'UID2'; - } - - if (rtiPartner) { - // Set rtiPartner on the first uid's ext object - if (isArray(eid.uids) && eid.uids[0]) { - eid.uids[0] = Object.assign({}, eid.uids[0], { ext: Object.assign({}, eid.uids[0].ext, { rtiPartner }) }); - } - } - }); + if (appIdObjBid) { + payload.app = appIdObj; } - const extANData = { - prebid: true, - hb_source: 1, // 1 = client/web-originated header bidding request (Xandr source enum) - sdk: { - version: '$prebid.version$', - source: SOURCE - } - }; + const mfKeywords = config.getConfig('mediafuseAuctionKeywords'); + payload.keywords = getANKeywordParam(bidderRequest?.ortb2, mfKeywords); - if (bidderRequest?.refererInfo) { - const refererinfo = { - rd_ref: bidderRequest.refererInfo.topmostLocation ? encodeURIComponent(bidderRequest.refererInfo.topmostLocation) : '', - rd_top: bidderRequest.refererInfo.reachedTop, - rd_ifs: bidderRequest.refererInfo.numIframes, - rd_stk: bidderRequest.refererInfo.stack?.map((url) => encodeURIComponent(url)).join(',') - }; - if (bidderRequest.refererInfo.canonicalUrl) { - refererinfo.rd_can = bidderRequest.refererInfo.canonicalUrl; - } - extANData.referrer_detection = refererinfo; + if (config.getConfig('adpod.brandCategoryExclusion')) { + payload.brand_category_uniqueness = true; } - // App/Device parameters - const expandedBids = bidderRequest?.bids || []; - const memberBid = expandedBids.find(bid => bid.params && bid.params.member); - const commonBidderParams = memberBid ? memberBid.params : (expandedBids[0] && expandedBids[0].params); - - if (commonBidderParams) { - if (commonBidderParams.member) { - // member_id in the request body routes bids to the correct Xandr seat - extANData.member_id = parseInt(commonBidderParams.member, 10); - } - if (commonBidderParams.publisherId) { - deepSetValue(request, 'site.publisher.id', commonBidderParams.publisherId.toString()); - } + if (debugObjParams.enabled) { + payload.debug = debugObjParams; + logInfo('MediaFuse Debug Auction Settings:\n\n' + JSON.stringify(debugObjParams, null, 4)); } - if (bidderRequest.bids?.some(bid => hasOmidSupport(bid))) { - extANData.iab_support = { - omidpn: 'Mediafuse', - omidpv: '$prebid.version$' + if (bidderRequest && bidderRequest.gdprConsent) { + // note - objects for impbus use underscore instead of camelCase + payload.gdpr_consent = { + consent_string: bidderRequest.gdprConsent.consentString, + consent_required: bidderRequest.gdprConsent.gdprApplies }; - } - - deepSetValue(request, 'ext.appnexus', extANData); - - // GDPR / Consent - if (bidderRequest.gdprConsent) { - deepSetValue(request, 'regs.ext.gdpr', bidderRequest.gdprConsent.gdprApplies ? 1 : 0); - deepSetValue(request, 'user.ext.consent', bidderRequest.gdprConsent.consentString); if (bidderRequest.gdprConsent.addtlConsent && bidderRequest.gdprConsent.addtlConsent.indexOf('~') !== -1) { const ac = bidderRequest.gdprConsent.addtlConsent; + // pull only the ids from the string (after the ~) and convert them to an array of ints const acStr = ac.substring(ac.indexOf('~') + 1); - const addtlConsent = acStr.split('.').map(id => parseInt(id, 10)).filter(id => !isNaN(id)); - if (addtlConsent.length > 0) { - deepSetValue(request, 'user.ext.addtl_consent', addtlConsent); - } + payload.gdpr_consent.addtl_consent = acStr.split('.').map(id => parseInt(id, 10)); } } - if (bidderRequest.uspConsent) { - deepSetValue(request, 'regs.ext.us_privacy', bidderRequest.uspConsent); + if (bidderRequest && bidderRequest.uspConsent) { + payload.us_privacy = bidderRequest.uspConsent; } - if (bidderRequest.gppConsent) { - deepSetValue(request, 'regs.gpp', bidderRequest.gppConsent.gppString); - deepSetValue(request, 'regs.gpp_sid', bidderRequest.gppConsent.applicableSections); + if (bidderRequest && bidderRequest.refererInfo) { + const refererinfo = { + // TODO: this collects everything it finds, except for canonicalUrl + rd_ref: encodeURIComponent(bidderRequest.refererInfo.topmostLocation), + rd_top: bidderRequest.refererInfo.reachedTop, + rd_ifs: bidderRequest.refererInfo.numIframes, + rd_stk: bidderRequest.refererInfo.stack.map((url) => encodeURIComponent(url)).join(',') + }; + payload.referrer_detection = refererinfo; } - if (config.getConfig('coppa') === true) { - deepSetValue(request, 'regs.coppa', 1); + const hasAdPodBid = ((bidRequests) || []).find(hasAdPod); + if (hasAdPodBid) { + bidRequests.filter(hasAdPod).forEach(adPodBid => { + const adPodTags = createAdPodRequest(tags, adPodBid); + // don't need the original adpod placement because it's in adPodTags + const nonPodTags = payload.tags.filter(tag => tag.uuid !== adPodBid.bidId); + payload.tags = [...nonPodTags, ...adPodTags]; + }); } - // Legacy Xandr-specific user params (externalUid, segments, age, gender, dnt, language). - // These are not part of standard OpenRTB; kept for backwards compatibility with existing - // publisher configs. Standard OpenRTB user fields flow via bidderRequest.ortb2.user. - const userObjBid = ((bidderRequest?.bids) || []).find(bid => bid.params?.user); - if (userObjBid) { - const userObj = request.user || {}; - Object.keys(userObjBid.params.user) - .filter(param => USER_PARAMS.includes(param)) - .forEach((param) => { - const uparam = convertCamelToUnderscore(param); - if (param === 'segments' && isArray(userObjBid.params.user[param])) { - const segs = userObjBid.params.user[param].map(val => { - if (isNumber(val)) return { 'id': val }; - if (isPlainObject(val)) return val; - return undefined; - }).filter(s => s); - userObj.ext = userObj.ext || {}; - userObj.ext[uparam] = segs; - } else if (param !== 'segments') { - userObj[uparam] = userObjBid.params.user[param]; + if (bidRequests[0].userIdAsEids?.length > 0) { + const eids = []; + bidRequests[0].userIdAsEids.forEach(eid => { + if (!eid || !eid.uids || eid.uids.length < 1) { return; } + eid.uids.forEach(uid => { + const tmp = {'source': eid.source, 'id': uid.id}; + if (eid.source === 'adserver.org') { + tmp.rti_partner = 'TDID'; + } else if (eid.source === 'uidapi.com') { + tmp.rti_partner = 'UID2'; } + eids.push(tmp); }); - request.user = userObj; - } + }); - // Legacy app object from bid.params.app; backwards compatibility for publishers who pre-date - // the standard bidderRequest.ortb2.app first-party data path. - const appObjBid = ((bidderRequest?.bids) || []).find(bid => bid.params?.app); - if (appObjBid) { - request.app = Object.assign({}, request.app, appObjBid.params.app); + if (eids.length) { + payload.eids = eids; + } } - // Global Keywords — set via pbjs.setConfig({ mediafuseAuctionKeywords: { key: ['val'] } }) - const mfKeywords = config.getConfig('mediafuseAuctionKeywords'); - if (mfKeywords) { - const keywords = getANKeywordParam(bidderRequest?.ortb2, mfKeywords); - if (keywords && keywords.length > 0) { - const kwString = keywords.map(kw => kw.key + (kw.value ? '=' + kw.value.join(',') : '')).join(','); - deepSetValue(request, 'ext.appnexus.keywords', kwString); - } + if (tags[0].publisher_id) { + payload.publisher_id = tags[0].publisher_id; } + const request = formatRequest(payload, bidderRequest); return request; }, - bidResponse(buildBidResponse, bid, context) { - const { bidRequest } = context; - const bidAdType = bid?.ext?.appnexus?.bid_ad_type; - const mediaType = RESPONSE_MEDIA_TYPE_MAP[bidAdType]; - const extANData = deepAccess(bid, 'ext.appnexus'); - // Set mediaType for all bids to help ortbConverter determine the correct parser - if (mediaType) { - context.mediaType = mediaType; - } - let bidResponse; - try { - bidResponse = buildBidResponse(bid, context); - } catch (e) { - if (bidAdType !== 3 && mediaType !== 'native') { - logError('Mediafuse: buildBidResponse hook crash', e); - } else { - logWarn('Mediafuse: buildBidResponse native parse error', e); - } - } - if (!bidResponse) { - if (mediaType) { - bidResponse = { - requestId: bidRequest?.bidId || bid.impid, - cpm: bid.price || 0, - width: bid.w, - height: bid.h, - creativeId: bid.crid, - dealId: bid.dealid, - currency: 'USD', - netRevenue: true, - ttl: 300, - mediaType, - ad: bid.adm - }; - } else { - logWarn('Mediafuse: Could not build bidResponse for unknown mediaType', { bidAdType, mediaType }); - return null; - } + + /** + * Unpack the response from the server into a list of bids. + * + * @param {*} serverResponse A successful response from the server. + * @return {Bid[]} An array of bids which were nested inside the server. + */ + interpretResponse: function (serverResponse, { bidderRequest }) { + serverResponse = serverResponse.body; + const bids = []; + if (!serverResponse || serverResponse.error) { + let errorMessage = `in response for ${bidderRequest.bidderCode} adapter`; + if (serverResponse && serverResponse.error) { errorMessage += `: ${serverResponse.error}`; } + logError(errorMessage); + return bids; } - if (extANData) { - bidResponse.meta = Object.assign({}, bidResponse.meta, { - advertiserId: extANData.advertiser_id, - brandId: extANData.brand_id, - buyerMemberId: extANData.buyer_member_id, - dealPriority: extANData.deal_priority, - dealCode: extANData.deal_code + if (serverResponse.tags) { + serverResponse.tags.forEach(serverBid => { + const rtbBid = getRtbBid(serverBid); + if (rtbBid) { + const cpmCheck = (bidderSettings.get(bidderRequest.bidderCode, 'allowZeroCpmBids') === true) ? rtbBid.cpm >= 0 : rtbBid.cpm > 0; + if (cpmCheck && this.supportedMediaTypes.includes(rtbBid.ad_type)) { + const bid = newBid(serverBid, rtbBid, bidderRequest); + bid.mediaType = parseMediaType(rtbBid); + bids.push(bid); + } + } }); - - if (extANData.buyer_member_id) { - bidResponse.meta.dchain = { - ver: '1.0', - complete: 0, - nodes: [{ - bsid: extANData.buyer_member_id.toString() - }] - }; - } } - if (bid.adomain) { - const adomain = isArray(bid.adomain) ? bid.adomain : [bid.adomain]; - if (adomain.length > 0) { - bidResponse.meta = bidResponse.meta || {}; - bidResponse.meta.advertiserDomains = adomain; - } + if (serverResponse.debug && serverResponse.debug.debug_info) { + const debugHeader = 'MediaFuse Debug Auction for Prebid\n\n' + let debugText = debugHeader + serverResponse.debug.debug_info + debugText = debugText + .replace(/(|)/gm, '\t') // Tables + .replace(/(<\/td>|<\/th>)/gm, '\n') // Tables + .replace(/^
/gm, '') // Remove leading
+ .replace(/(
\n|
)/gm, '\n') //
+ .replace(/

(.*)<\/h1>/gm, '\n\n===== $1 =====\n\n') // Header H1 + .replace(/(.*)<\/h[2-6]>/gm, '\n\n*** $1 ***\n\n') // Headers + .replace(/(<([^>]+)>)/igm, ''); // Remove any other tags + // logMessage('https://console.appnexus.com/docs/understanding-the-debug-auction'); + logMessage(debugText); } - // Video - if (FEATURES.VIDEO && mediaType === VIDEO) { - bidResponse.ttl = 3600; - if (bid.nurl) { - bidResponse.vastImpUrl = bid.nurl; - } + return bids; + }, - if (extANData?.renderer_url && extANData?.renderer_id) { - const rendererOptions = deepAccess(bidRequest, 'mediaTypes.video.renderer.options') || deepAccess(bidRequest, 'renderer.options'); - bidResponse.adResponse = { - ad: { - notify_url: bid.nurl || '', - renderer_config: extANData.renderer_config || '', - }, - auction_id: extANData.auction_id, - content: bidResponse.vastXml, - tag_id: extANData.tag_id, - uuid: bidResponse.requestId - }; - bidResponse.renderer = newRenderer(bidRequest.adUnitCode, { - renderer_url: extANData.renderer_url, - renderer_id: extANData.renderer_id, - }, rendererOptions); - } else if (bid.nurl && extANData?.asset_url) { - const sep = bid.nurl.includes('?') ? '&' : '?'; - bidResponse.vastUrl = bid.nurl + sep + 'redir=' + encodeURIComponent(extANData.asset_url); - } + getUserSyncs: function (syncOptions, responses, gdprConsent) { + if (syncOptions.iframeEnabled && hasPurpose1Consent({gdprConsent})) { + return [{ + type: 'iframe', + url: 'https://acdn.adnxs.com/dmp/async_usersync.html' + }]; } + }, - // Native processing: viewability macro replacement and manual asset mapping - if (FEATURES.NATIVE && (bidAdType === 3 || mediaType === 'native')) { - bidResponse.mediaType = 'native'; - try { - const adm = bid.adm; - const nativeAdm = isStr(adm) ? JSON.parse(adm) : adm || {}; - - // 1. Viewability macro replacement - const eventtrackers = nativeAdm.native?.eventtrackers || nativeAdm.eventtrackers; - if (eventtrackers && isArray(eventtrackers)) { - eventtrackers.forEach(trackCfg => { - if (trackCfg.url && trackCfg.url.includes('dom_id=%native_dom_id%')) { - const prebidParams = 'pbjs_adid=' + (bidResponse.adId || bidResponse.requestId) + ';pbjs_auc=' + (bidRequest?.adUnitCode || ''); - trackCfg.url = trackCfg.url.replace('dom_id=%native_dom_id%', prebidParams); - } - }); - if (nativeAdm.native) { - nativeAdm.native.eventtrackers = eventtrackers; - } else { - nativeAdm.eventtrackers = eventtrackers; - } - } - // Stringify native ADM to ensure 'ad' field is available for tracking - bidResponse.ad = JSON.stringify(nativeAdm); - - // 2. Manual Mapping - OpenRTB 1.2 asset array format - const nativeAd = nativeAdm.native || nativeAdm; - const native = { - clickUrl: nativeAd.link?.url, - clickTrackers: nativeAd.link?.clicktrackers || nativeAd.link?.click_trackers || [], - impressionTrackers: nativeAd.imptrackers || nativeAd.impression_trackers || [], - privacyLink: nativeAd.privacy || nativeAd.privacy_link, - }; + /** + * Add element selector to javascript tracker to improve native viewability + * @param {Bid} bid + */ + onBidWon: function (bid) { + if (bid.native) { + reloadViewabilityScriptWithCorrectParameters(bid); + } + } +}; - const nativeDataTypeById = {}; - const nativeImgTypeById = {}; - try { - const ortbImp = context.imp || (context.request ?? context.ortbRequest)?.imp?.find(i => i.id === bid.impid); - if (ortbImp) { - const reqStr = ortbImp.native?.request; - const nativeReq = reqStr ? (isStr(reqStr) ? JSON.parse(reqStr) : reqStr) : null; - (nativeReq?.assets || []).forEach(a => { - if (a.data?.type) nativeDataTypeById[a.id] = a.data.type; - if (a.img?.type) nativeImgTypeById[a.id] = a.img.type; - }); - } - } catch (e) { - logError('Mediafuse Native fallback error', e); - } +function reloadViewabilityScriptWithCorrectParameters(bid) { + const viewJsPayload = getMediafuseViewabilityScriptFromJsTrackers(bid.native.javascriptTrackers); - try { - (nativeAd.assets || []).forEach(asset => { - if (asset.title) { - native.title = asset.title.text; - } else if (asset.img) { - const imgType = asset.img.type ?? nativeImgTypeById[asset.id]; - if (imgType === 1) { - native.icon = { url: asset.img.url, width: asset.img.w || asset.img.width, height: asset.img.h || asset.img.height }; - } else { - native.image = { url: asset.img.url, width: asset.img.w || asset.img.width, height: asset.img.h || asset.img.height }; - } - } else if (asset.data) { - switch (asset.data.type ?? nativeDataTypeById[asset.id]) { - case 1: native.sponsoredBy = asset.data.value; break; - case 2: native.body = asset.data.value; break; - case 3: native.rating = asset.data.value; break; - case 4: native.likes = asset.data.value; break; - case 5: native.downloads = asset.data.value; break; - case 6: native.price = asset.data.value; break; - case 7: native.salePrice = asset.data.value; break; - case 8: native.phone = asset.data.value; break; - case 9: native.address = asset.data.value; break; - case 10: native.body2 = asset.data.value; break; - case 11: native.displayUrl = asset.data.value; break; - case 12: native.cta = asset.data.value; break; - } - } - }); + if (viewJsPayload) { + const prebidParams = 'pbjs_adid=' + bid.adId + ';pbjs_auc=' + bid.adUnitCode; - // Fallback for non-asset based native response (AppNexus legacy format) - if (!native.title && nativeAd.title) { - native.title = (isStr(nativeAd.title)) ? nativeAd.title : nativeAd.title.text; - } - if (!native.body && nativeAd.desc) { - native.body = nativeAd.desc; - } - if (!native.body2 && nativeAd.desc2) native.body2 = nativeAd.desc2; - if (!native.cta && nativeAd.ctatext) native.cta = nativeAd.ctatext; - if (!native.rating && nativeAd.rating) native.rating = nativeAd.rating; - if (!native.sponsoredBy && nativeAd.sponsored) native.sponsoredBy = nativeAd.sponsored; - if (!native.displayUrl && nativeAd.displayurl) native.displayUrl = nativeAd.displayurl; - if (!native.address && nativeAd.address) native.address = nativeAd.address; - if (!native.downloads && nativeAd.downloads) native.downloads = nativeAd.downloads; - if (!native.likes && nativeAd.likes) native.likes = nativeAd.likes; - if (!native.phone && nativeAd.phone) native.phone = nativeAd.phone; - if (!native.price && nativeAd.price) native.price = nativeAd.price; - if (!native.salePrice && nativeAd.saleprice) native.salePrice = nativeAd.saleprice; - - if (!native.image && nativeAd.main_img) { - native.image = { url: nativeAd.main_img.url, width: nativeAd.main_img.width, height: nativeAd.main_img.height }; - } - if (!native.icon && nativeAd.icon) { - native.icon = { url: nativeAd.icon.url, width: nativeAd.icon.width, height: nativeAd.icon.height }; - } + const jsTrackerSrc = getViewabilityScriptUrlFromPayload(viewJsPayload); - bidResponse.native = native; - - let jsTrackers = nativeAd.javascript_trackers; - const viewabilityConfig = deepAccess(bid, 'ext.appnexus.viewability.config'); - if (viewabilityConfig) { - const jsTrackerDisarmed = viewabilityConfig.replace(/src=/g, 'data-src='); - if (jsTrackers == null) { - jsTrackers = [jsTrackerDisarmed]; - } else if (isStr(jsTrackers)) { - jsTrackers = [jsTrackers, jsTrackerDisarmed]; - } else if (isArray(jsTrackers)) { - jsTrackers = [...jsTrackers, jsTrackerDisarmed]; - } - } else if (isArray(nativeAd.eventtrackers)) { - const trackers = nativeAd.eventtrackers - .filter(t => t.method === 1) - .map(t => (t.url && t.url.match(VIEWABILITY_URL_START) && t.url.indexOf(VIEWABILITY_FILE_NAME) > -1) - ? t.url.replace(/src=/g, 'data-src=') - : t.url - ).filter(url => url); - - if (jsTrackers == null) { - jsTrackers = trackers; - } else if (isStr(jsTrackers)) { - jsTrackers = [jsTrackers, ...trackers]; - } else if (isArray(jsTrackers)) { - jsTrackers = [...jsTrackers, ...trackers]; + const newJsTrackerSrc = jsTrackerSrc.replace('dom_id=%native_dom_id%', prebidParams); + + // find iframe containing script tag + const frameArray = document.getElementsByTagName('iframe'); + + // boolean var to modify only one script. That way if there are muliple scripts, + // they won't all point to the same creative. + let modifiedAScript = false; + + // first, loop on all ifames + for (let i = 0; i < frameArray.length && !modifiedAScript; i++) { + const currentFrame = frameArray[i]; + try { + // IE-compatible, see https://stackoverflow.com/a/3999191/2112089 + const nestedDoc = currentFrame.contentDocument || currentFrame.contentWindow.document; + + if (nestedDoc) { + // if the doc is present, we look for our jstracker + const scriptArray = nestedDoc.getElementsByTagName('script'); + for (let j = 0; j < scriptArray.length && !modifiedAScript; j++) { + const currentScript = scriptArray[j]; + if (currentScript.getAttribute('data-src') === jsTrackerSrc) { + currentScript.setAttribute('src', newJsTrackerSrc); + currentScript.setAttribute('data-src', ''); + if (currentScript.removeAttribute) { + currentScript.removeAttribute('data-src'); + } + modifiedAScript = true; } } - if (bidResponse.native) { - bidResponse.native.javascriptTrackers = jsTrackers; - } - } catch (e) { - logError('Mediafuse Native mapping error', e); } - } catch (e) { - logError('Mediafuse Native JSON parse error', e); - } - } - - // Banner Trackers - if (mediaType === BANNER && extANData?.trackers) { - extANData.trackers.forEach(tracker => { - if (tracker.impression_urls) { - tracker.impression_urls.forEach(url => { - bidResponse.ad = (bidResponse.ad || '') + createTrackPixelHtml(url); - }); + } catch (exception) { + // trying to access a cross-domain iframe raises a SecurityError + // this is expected and ignored + if (!(exception instanceof DOMException && exception.name === 'SecurityError')) { + // all other cases are raised again to be treated by the calling function + throw exception; } - }); + } } - - return bidResponse; - } -}); - -function getBidFloor(bid) { - if (!isFn(bid.getFloor)) { - return (bid.params.reserve != null) ? bid.params.reserve : null; - } - // Mediafuse/AppNexus generally expects USD for its RTB endpoints - let floor = bid.getFloor({ - currency: 'USD', - mediaType: '*', - size: '*' - }); - if (isPlainObject(floor) && !isNaN(floor.floor) && floor.currency === 'USD') { - return floor.floor; } - return null; } -function newRenderer(adUnitCode, rtbBid, rendererOptions = {}) { - const renderer = Renderer.install({ - id: rtbBid.renderer_id, - url: rtbBid.renderer_url, - config: rendererOptions, - loaded: false, - adUnitCode, - }); - - try { - renderer.setRender(outstreamRender); - } catch (err) { - logWarn('Prebid Error calling setRender on renderer', err); - } +function strIsMediafuseViewabilityScript(str) { + const regexMatchUrlStart = str.match(VIEWABILITY_URL_START); + const viewUrlStartInStr = regexMatchUrlStart != null && regexMatchUrlStart.length >= 1; - renderer.setEventHandlers({ - impression: () => logMessage('Mediafuse outstream video impression event'), - loaded: () => logMessage('Mediafuse outstream video loaded event'), - ended: () => { - logMessage('Mediafuse outstream renderer video event'); - const el = document.querySelector(`#${adUnitCode}`); - if (el) { - el.style.display = 'none'; - } - }, - }); - return renderer; -} + const regexMatchFileName = str.match(VIEWABILITY_FILE_NAME); + const fileNameInStr = regexMatchFileName != null && regexMatchFileName.length >= 1; -function hidedfpContainer(elementId) { - try { - const el = document.getElementById(elementId).querySelectorAll("div[id^='google_ads']"); - if (el[0]) { - el[0].style.setProperty('display', 'none'); - } - } catch (e) { - logWarn('Mediafuse: hidedfpContainer error', e); - } + return str.startsWith(SCRIPT_TAG_START) && fileNameInStr && viewUrlStartInStr; } -function hideSASIframe(elementId) { - try { - const el = document.getElementById(elementId).querySelectorAll("script[id^='sas_script']"); - if (el[0]?.nextSibling?.localName === 'iframe') { - el[0].nextSibling.style.setProperty('display', 'none'); +function getMediafuseViewabilityScriptFromJsTrackers(jsTrackerArray) { + let viewJsPayload; + if (isStr(jsTrackerArray) && strIsMediafuseViewabilityScript(jsTrackerArray)) { + viewJsPayload = jsTrackerArray; + } else if (isArray(jsTrackerArray)) { + for (let i = 0; i < jsTrackerArray.length; i++) { + const currentJsTracker = jsTrackerArray[i]; + if (strIsMediafuseViewabilityScript(currentJsTracker)) { + viewJsPayload = currentJsTracker; + } } - } catch (e) { - logWarn('Mediafuse: hideSASIframe error', e); } + return viewJsPayload; } -function handleOutstreamRendererEvents(bid, id, eventName) { - try { - bid.renderer.handleVideoEvent({ - id, - eventName, +function getViewabilityScriptUrlFromPayload(viewJsPayload) { + // extracting the content of the src attribute + // -> substring between src=" and " + const indexOfFirstQuote = viewJsPayload.indexOf('src="') + 5; // offset of 5: the length of 'src=' + 1 + const indexOfSecondQuote = viewJsPayload.indexOf('"', indexOfFirstQuote); + const jsTrackerSrc = viewJsPayload.substring(indexOfFirstQuote, indexOfSecondQuote); + return jsTrackerSrc; +} + +function formatRequest(payload, bidderRequest) { + let request = []; + const options = { + withCredentials: true + }; + + let endpointUrl = URL; + + if (!hasPurpose1Consent(bidderRequest?.gdprConsent)) { + endpointUrl = URL_SIMPLE; + } + + if (getParameterByName('apn_test').toUpperCase() === 'TRUE' || config.getConfig('apn_test') === true) { + options.customHeaders = { + 'X-Is-Test': 1 + }; + } + + if (payload.tags.length > MAX_IMPS_PER_REQUEST) { + const clonedPayload = deepClone(payload); + + chunk(payload.tags, MAX_IMPS_PER_REQUEST).forEach(tags => { + clonedPayload.tags = tags; + const payloadString = JSON.stringify(clonedPayload); + request.push({ + method: 'POST', + url: endpointUrl, + data: payloadString, + bidderRequest, + options + }); }); - } catch (err) { - logWarn(`Mediafuse: handleOutstreamRendererEvents error for ${eventName}`, err); + } else { + const payloadString = JSON.stringify(payload); + request = { + method: 'POST', + url: endpointUrl, + data: payloadString, + bidderRequest, + options + }; } + + return request; } -function outstreamRender(bid, doc) { - hidedfpContainer(bid.adUnitCode); - hideSASIframe(bid.adUnitCode); - bid.renderer.push(() => { - const win = doc?.defaultView || window; - if (win.ANOutstreamVideo) { - let sizes = bid.getSize(); - if (typeof sizes === 'string' && sizes.indexOf('x') > -1) { - sizes = [sizes.split('x').map(Number)]; - } else if (!isArray(sizes) || !isArray(sizes[0])) { - sizes = [sizes]; - } +function newRenderer(adUnitCode, rtbBid, rendererOptions = {}) { + const renderer = Renderer.install({ + id: rtbBid.renderer_id, + url: rtbBid.renderer_url, + config: rendererOptions, + loaded: false, + adUnitCode + }); - win.ANOutstreamVideo.renderAd({ - tagId: bid.adResponse.tag_id, - sizes: sizes, - targetId: bid.adUnitCode, - uuid: bid.requestId, - adResponse: bid.adResponse, - rendererOptions: bid.renderer.getConfig(), - }, - handleOutstreamRendererEvents.bind(null, bid) - ); + try { + renderer.setRender(outstreamRender); + } catch (err) { + logWarn('Prebid Error calling setRender on renderer', err); + } + + renderer.setEventHandlers({ + impression: () => logMessage('MediaFuse outstream video impression event'), + loaded: () => logMessage('MediaFuse outstream video loaded event'), + ended: () => { + logMessage('MediaFuse outstream renderer video event'); + document.querySelector(`#${adUnitCode}`).style.display = 'none'; } }); + return renderer; } -function hasOmidSupport(bid) { - let hasOmid = false; - const bidderParams = bid?.params; - const videoParams = bid?.mediaTypes?.video?.api; - if (bidderParams?.frameworks && isArray(bidderParams.frameworks)) { - hasOmid = bidderParams.frameworks.includes(OMID_FRAMEWORK); +/** + * Unpack the Server's Bid into a Prebid-compatible one. + * @param serverBid + * @param rtbBid + * @param bidderRequest + * @return Bid + */ +function newBid(serverBid, rtbBid, bidderRequest) { + const bidRequest = getBidRequest(serverBid.uuid, [bidderRequest]); + const bid = { + requestId: serverBid.uuid, + cpm: rtbBid.cpm, + creativeId: rtbBid.creative_id, + dealId: rtbBid.deal_id, + currency: 'USD', + netRevenue: true, + ttl: 300, + adUnitCode: bidRequest.adUnitCode, + mediafuse: { + buyerMemberId: rtbBid.buyer_member_id, + dealPriority: rtbBid.deal_priority, + dealCode: rtbBid.deal_code + } + }; + + // WE DON'T FULLY SUPPORT THIS ATM - future spot for adomain code; creating a stub for 5.0 compliance + if (rtbBid.adomain) { + bid.meta = Object.assign({}, bid.meta, { advertiserDomains: [] }); } - if (!hasOmid && isArray(videoParams)) { - hasOmid = videoParams.includes(OMID_API); + + if (rtbBid.advertiser_id) { + bid.meta = Object.assign({}, bid.meta, { advertiserId: rtbBid.advertiser_id }); } - return hasOmid; -} -export const spec = { - code: BIDDER_CODE, - gvlid: GVLID, - maintainer: { email: 'indrajit@oncoredigital.com' }, - supportedMediaTypes: [BANNER, VIDEO, NATIVE], - isBidRequestValid: function (bid) { - const params = bid?.params; - if (!params) return false; - return !!(params.placementId || params.placement_id || (params.member && (params.invCode || params.inv_code))); - }, + // temporary function; may remove at later date if/when adserver fully supports dchain + function setupDChain(rtbBid) { + const dchain = { + ver: '1.0', + complete: 0, + nodes: [{ + bsid: rtbBid.buyer_member_id.toString() + }]}; - buildRequests: function (bidRequests, bidderRequest) { - const options = { - withCredentials: true - }; + return dchain; + } + if (rtbBid.buyer_member_id) { + bid.meta = Object.assign({}, bid.meta, {dchain: setupDChain(rtbBid)}); + } - if (getParameterByName('apn_test')?.toUpperCase() === 'TRUE' || config.getConfig('apn_test') === true) { - options.customHeaders = { 'X-Is-Test': 1 }; - } + if (rtbBid.brand_id) { + bid.meta = Object.assign({}, bid.meta, { brandId: rtbBid.brand_id }); + } - const requests = []; - const chunkedRequests = chunk(bidRequests, MAX_IMPS_PER_REQUEST); + if (rtbBid.rtb.video) { + // shared video properties used for all 3 contexts + Object.assign(bid, { + width: rtbBid.rtb.video.player_width, + height: rtbBid.rtb.video.player_height, + vastImpUrl: rtbBid.notify_url, + ttl: 3600 + }); - chunkedRequests.forEach(batch => { - const data = converter.toORTB({ bidRequests: batch, bidderRequest }); + const videoContext = deepAccess(bidRequest, 'mediaTypes.video.context'); + switch (videoContext) { + case ADPOD: + const primaryCatId = (APPNEXUS_CATEGORY_MAPPING[rtbBid.brand_category_id]) ? APPNEXUS_CATEGORY_MAPPING[rtbBid.brand_category_id] : null; + bid.meta = Object.assign({}, bid.meta, { primaryCatId }); + const dealTier = rtbBid.deal_priority; + bid.video = { + context: ADPOD, + durationSeconds: Math.floor(rtbBid.rtb.video.duration_ms / 1000), + dealTier + }; + bid.vastUrl = rtbBid.rtb.video.asset_url; + break; + case OUTSTREAM: + bid.adResponse = serverBid; + bid.adResponse.ad = bid.adResponse.ads[0]; + bid.adResponse.ad.video = bid.adResponse.ad.rtb.video; + bid.vastXml = rtbBid.rtb.video.content; + + if (rtbBid.renderer_url) { + const videoBid = ((bidderRequest.bids) || []).find(bid => bid.bidId === serverBid.uuid); + const rendererOptions = deepAccess(videoBid, 'renderer.options'); + bid.renderer = newRenderer(bid.adUnitCode, rtbBid, rendererOptions); + } + break; + case INSTREAM: + bid.vastUrl = rtbBid.notify_url + '&redir=' + encodeURIComponent(rtbBid.rtb.video.asset_url); + break; + } + } else if (rtbBid.rtb[NATIVE]) { + const nativeAd = rtbBid.rtb[NATIVE]; - let endpointUrl = ENDPOINT_URL_NORMAL; - if (!hasPurpose1Consent(bidderRequest.gdprConsent)) { - endpointUrl = ENDPOINT_URL_SIMPLE; - } + // setting up the jsTracker: + // we put it as a data-src attribute so that the tracker isn't called + // until we have the adId (see onBidWon) + const jsTrackerDisarmed = rtbBid.viewability.config.replace('src=', 'data-src='); - // Debug logic - let debugObj = {}; - const debugCookie = storage.getCookie('apn_prebid_debug'); - if (debugCookie) { - try { - debugObj = JSON.parse(debugCookie); - } catch (e) { - logWarn('Mediafuse: failed to parse debug cookie', e); - } - } else { - Object.keys(DEBUG_QUERY_PARAM_MAP).forEach(qparam => { - const qval = getParameterByName(qparam); - if (qval) debugObj[DEBUG_QUERY_PARAM_MAP[qparam]] = qval; - }); - if (Object.keys(debugObj).length > 0 && !('enabled' in debugObj)) debugObj.enabled = true; - } + let jsTrackers = nativeAd.javascript_trackers; - if (debugObj.enabled) { - logInfo('MediaFuse Debug Auction Settings:\n\n' + JSON.stringify(debugObj, null, 4)); - endpointUrl += (endpointUrl.indexOf('?') === -1 ? '?' : '&') + - Object.keys(debugObj).filter(p => DEBUG_PARAMS.includes(p)) - .map(p => (p === 'enabled') ? `debug=1` : `${p}=${encodeURIComponent(debugObj[p])}`).join('&'); - } + if (jsTrackers === undefined || jsTrackers === null) { + jsTrackers = jsTrackerDisarmed; + } else if (isStr(jsTrackers)) { + jsTrackers = [jsTrackers, jsTrackerDisarmed]; + } else { + jsTrackers.push(jsTrackerDisarmed); + } - // member_id on the URL enables Xandr server-side routing to the correct seat; - // it is also present in ext.appnexus.member_id in the request body for exchange logic. - const memberBid = batch.find(bid => bid.params && bid.params.member); - const member = memberBid && memberBid.params.member; - if (member) { - endpointUrl += (endpointUrl.indexOf('?') === -1 ? '?' : '&') + 'member_id=' + member; + bid[NATIVE] = { + title: nativeAd.title, + body: nativeAd.desc, + body2: nativeAd.desc2, + cta: nativeAd.ctatext, + rating: nativeAd.rating, + sponsoredBy: nativeAd.sponsored, + privacyLink: nativeAd.privacy_link, + address: nativeAd.address, + downloads: nativeAd.downloads, + likes: nativeAd.likes, + phone: nativeAd.phone, + price: nativeAd.price, + salePrice: nativeAd.saleprice, + clickUrl: nativeAd.link.url, + displayUrl: nativeAd.displayurl, + clickTrackers: nativeAd.link.click_trackers, + impressionTrackers: nativeAd.impression_trackers, + javascriptTrackers: jsTrackers + }; + if (nativeAd.main_img) { + bid['native'].image = { + url: nativeAd.main_img.url, + height: nativeAd.main_img.height, + width: nativeAd.main_img.width, + }; + } + if (nativeAd.icon) { + bid['native'].icon = { + url: nativeAd.icon.url, + height: nativeAd.icon.height, + width: nativeAd.icon.width, + }; + } + } else { + Object.assign(bid, { + width: rtbBid.rtb.banner.width, + height: rtbBid.rtb.banner.height, + ad: rtbBid.rtb.banner.content + }); + try { + if (rtbBid.rtb.trackers) { + for (let i = 0; i < rtbBid.rtb.trackers[0].impression_urls.length; i++) { + const url = rtbBid.rtb.trackers[0].impression_urls[i]; + const tracker = createTrackPixelHtml(url); + bid.ad += tracker; + } } + } catch (error) { + logError('Error appending tracking pixel', error); + } + } - requests.push({ - method: 'POST', - url: endpointUrl, - data, - bidderRequest, - options - }); - }); + return bid; +} - return requests; - }, +function bidToTag(bid) { + const tag = {}; + tag.sizes = transformSizes(bid.sizes); + tag.primary_size = tag.sizes[0]; + tag.ad_types = []; + tag.uuid = bid.bidId; + if (bid.params.placementId) { + tag.id = parseInt(bid.params.placementId, 10); + } else { + tag.code = bid.params.invCode; + } + tag.allow_smaller_sizes = bid.params.allowSmallerSizes || false; + tag.use_pmt_rule = bid.params.usePaymentRule || false; + tag.prebid = true; + tag.disable_psa = true; + const bidFloor = getBidFloor(bid); + if (bidFloor) { + tag.reserve = bidFloor; + } + if (bid.params.position) { + tag.position = { 'above': 1, 'below': 2 }[bid.params.position] || 0; + } + if (bid.params.trafficSourceCode) { + tag.traffic_source_code = bid.params.trafficSourceCode; + } + if (bid.params.privateSizes) { + tag.private_sizes = transformSizes(bid.params.privateSizes); + } + if (bid.params.supplyType) { + tag.supply_type = bid.params.supplyType; + } + if (bid.params.pubClick) { + tag.pubclick = bid.params.pubClick; + } + if (bid.params.extInvCode) { + tag.ext_inv_code = bid.params.extInvCode; + } + if (bid.params.publisherId) { + tag.publisher_id = parseInt(bid.params.publisherId, 10); + } + if (bid.params.externalImpId) { + tag.external_imp_id = bid.params.externalImpId; + } + if (!isEmpty(bid.params.keywords)) { + tag.keywords = getANKewyordParamFromMaps(bid.params.keywords); + } + const gpid = deepAccess(bid, 'ortb2Imp.ext.gpid'); + if (gpid) { + tag.gpid = gpid; + } - interpretResponse: function (serverResponse, request) { - const bids = converter.fromORTB({ - response: serverResponse.body, - request: request.data, - context: { - ortbRequest: request.data - } - }).bids; + if (bid.mediaType === NATIVE || deepAccess(bid, `mediaTypes.${NATIVE}`)) { + tag.ad_types.push(NATIVE); + if (tag.sizes.length === 0) { + tag.sizes = transformSizes([1, 1]); + } - // Debug logging - if (serverResponse.body?.debug?.debug_info) { - const debugHeader = 'MediaFuse Debug Auction for Prebid\n\n'; - let debugText = debugHeader + serverResponse.body.debug.debug_info; - debugText = debugText - .replace(/(|)/gm, '\t') - .replace(/(<\/td>|<\/th>)/gm, '\n') - .replace(/^
/gm, '') - .replace(/(
\n|
)/gm, '\n') - .replace(/

(.*)<\/h1>/gm, '\n\n===== $1 =====\n\n') - .replace(/(.*)<\/h[2-6]>/gm, '\n\n*** $1 ***\n\n') - .replace(/(<([^>]+)>)/igm, ''); - logMessage(debugText); + if (bid.nativeParams) { + const nativeRequest = buildNativeRequest(bid.nativeParams); + tag[NATIVE] = { layouts: [nativeRequest] }; } + } - return bids; - }, + const videoMediaType = deepAccess(bid, `mediaTypes.${VIDEO}`); + const context = deepAccess(bid, 'mediaTypes.video.context'); - getUserSyncs: function (syncOptions, serverResponses, gdprConsent, uspConsent, gppConsent) { - const syncs = []; - let gdprParams = ''; + if (videoMediaType && context === 'adpod') { + tag.hb_source = 7; + } else { + tag.hb_source = 1; + } + if (bid.mediaType === VIDEO || videoMediaType) { + tag.ad_types.push(VIDEO); + } - if (gdprConsent) { - if (typeof gdprConsent.gdprApplies === 'boolean') { - gdprParams = `?gdpr=${Number(gdprConsent.gdprApplies)}&gdpr_consent=${gdprConsent.consentString}`; - } else { - gdprParams = `?gdpr_consent=${gdprConsent.consentString}`; - } - } + // instream gets vastUrl, outstream gets vastXml + if (bid.mediaType === VIDEO || (videoMediaType && context !== 'outstream')) { + tag.require_asset_url = true; + } - if (syncOptions.iframeEnabled && hasPurpose1Consent(gdprConsent)) { - syncs.push({ - type: 'iframe', - url: 'https://acdn.adnxs.com/dmp/async_usersync.html' + gdprParams + if (bid.params.video) { + tag.video = {}; + // place any valid video params on the tag + Object.keys(bid.params.video) + .filter(param => VIDEO_TARGETING.includes(param)) + .forEach(param => { + switch (param) { + case 'context': + case 'playback_method': + let type = bid.params.video[param]; + type = (isArray(type)) ? type[0] : type; + tag.video[param] = VIDEO_MAPPING[param][type]; + break; + // Deprecating tags[].video.frameworks in favor of tags[].video_frameworks + case 'frameworks': + break; + default: + tag.video[param] = bid.params.video[param]; + } }); + + if (bid.params.video.frameworks && isArray(bid.params.video.frameworks)) { + tag['video_frameworks'] = bid.params.video.frameworks; } + } - if (syncOptions.pixelEnabled && serverResponses.length > 0) { - const userSync = deepAccess(serverResponses[0], 'body.ext.appnexus.userSync'); - if (userSync && userSync.url) { - let url = userSync.url; - if (gdprParams) { - url += (url.indexOf('?') === -1 ? '?' : '&') + gdprParams.substring(1); + // use IAB ORTB values if the corresponding values weren't already set by bid.params.video + if (videoMediaType) { + tag.video = tag.video || {}; + Object.keys(videoMediaType) + .filter(param => VIDEO_RTB_TARGETING.includes(param)) + .forEach(param => { + switch (param) { + case 'minduration': + case 'maxduration': + if (typeof tag.video[param] !== 'number') tag.video[param] = videoMediaType[param]; + break; + case 'skip': + if (typeof tag.video['skippable'] !== 'boolean') tag.video['skippable'] = (videoMediaType[param] === 1); + break; + case 'skipafter': + if (typeof tag.video['skipoffset'] !== 'number') tag.video['skippoffset'] = videoMediaType[param]; + break; + case 'playbackmethod': + if (typeof tag.video['playback_method'] !== 'number') { + let type = videoMediaType[param]; + type = (isArray(type)) ? type[0] : type; + + // we only support iab's options 1-4 at this time. + if (type >= 1 && type <= 4) { + tag.video['playback_method'] = type; + } + } + break; + case 'api': + if (!tag['video_frameworks'] && isArray(videoMediaType[param])) { + // need to read thru array; remove 6 (we don't support it), swap 4 <> 5 if found (to match our adserver mapping for these specific values) + const apiTmp = videoMediaType[param].map(val => { + const v = (val === 4) ? 5 : (val === 5) ? 4 : val; + + if (v >= 1 && v <= 5) { + return v; + } + return undefined; + }).filter(v => v); + tag['video_frameworks'] = apiTmp; + } + break; } - syncs.push({ - type: 'image', - url: url - }); - } - } - return syncs; - }, + }); + } - onBidWon: function (bid) { - if (bid.native) { - reloadViewabilityScriptWithCorrectParameters(bid); + if (bid.renderer) { + tag.video = Object.assign({}, tag.video, { custom_renderer_present: true }); + } + + if (bid.params.frameworks && isArray(bid.params.frameworks)) { + tag['banner_frameworks'] = bid.params.frameworks; + } + + if (bid.mediaTypes?.banner) { + tag.ad_types.push(BANNER); + } + + if (tag.ad_types.length === 0) { + delete tag.ad_types; + } + + return tag; +} + +/* Turn bid request sizes into ut-compatible format */ +function transformSizes(requestSizes) { + const sizes = []; + let sizeObj = {}; + + if (isArray(requestSizes) && requestSizes.length === 2 && + !isArray(requestSizes[0])) { + sizeObj.width = parseInt(requestSizes[0], 10); + sizeObj.height = parseInt(requestSizes[1], 10); + sizes.push(sizeObj); + } else if (typeof requestSizes === 'object') { + for (let i = 0; i < requestSizes.length; i++) { + const size = requestSizes[i]; + sizeObj = {}; + sizeObj.width = parseInt(size[0], 10); + sizeObj.height = parseInt(size[1], 10); + sizes.push(sizeObj); } - }, + } + + return sizes; +} + +function hasUserInfo(bid) { + return !!bid.params.user; +} + +function hasMemberId(bid) { + return !!parseInt(bid.params.member, 10); +} - onBidderError: function ({ error, bidderRequest }) { - logError(`Mediafuse Bidder Error: ${error.message || error}`, bidderRequest); +function hasAppDeviceInfo(bid) { + if (bid.params) { + return !!bid.params.app } -}; +} -function reloadViewabilityScriptWithCorrectParameters(bid) { - const viewJsPayload = getMediafuseViewabilityScriptFromJsTrackers(bid.native.javascriptTrackers); +function hasAppId(bid) { + if (bid.params && bid.params.app) { + return !!bid.params.app.id + } + return !!bid.params.app +} - if (viewJsPayload) { - const prebidParams = 'pbjs_adid=' + (bid.adId || bid.requestId) + ';pbjs_auc=' + bid.adUnitCode; - const jsTrackerSrc = getViewabilityScriptUrlFromPayload(viewJsPayload); - const newJsTrackerSrc = jsTrackerSrc.replace('dom_id=%native_dom_id%', prebidParams); +function hasDebug(bid) { + return !!bid.debug +} - // find iframe containing script tag - const frameArray = document.getElementsByTagName('iframe'); +function hasAdPod(bid) { + return ( + bid.mediaTypes && + bid.mediaTypes.video && + bid.mediaTypes.video.context === ADPOD + ); +} - // flag to modify only one script — prevents multiple scripts from pointing to the same creative - let modifiedAScript = false; +function hasOmidSupport(bid) { + let hasOmid = false; + const bidderParams = bid.params; + const videoParams = bid.params.video; + if (bidderParams.frameworks && isArray(bidderParams.frameworks)) { + hasOmid = bid.params.frameworks.includes(6); + } + if (!hasOmid && videoParams && videoParams.frameworks && isArray(videoParams.frameworks)) { + hasOmid = bid.params.video.frameworks.includes(6); + } + return hasOmid; +} - // loop on all iframes - for (let i = 0; i < frameArray.length && !modifiedAScript; i++) { - const currentFrame = frameArray[i]; - try { - const nestedDoc = currentFrame.contentDocument || currentFrame.contentWindow.document; - if (nestedDoc) { - const scriptArray = nestedDoc.getElementsByTagName('script'); - for (let j = 0; j < scriptArray.length && !modifiedAScript; j++) { - const currentScript = scriptArray[j]; - if (currentScript.getAttribute('data-src') === jsTrackerSrc) { - currentScript.setAttribute('src', newJsTrackerSrc); - currentScript.removeAttribute('data-src'); - modifiedAScript = true; - } - } - } - } catch (exception) { - if (!(exception instanceof DOMException && exception.name === 'SecurityError')) { - throw exception; - } - } - } +/** + * Expand an adpod placement into a set of request objects according to the + * total adpod duration and the range of duration seconds. Sets minduration/ + * maxduration video property according to requireExactDuration configuration + */ +function createAdPodRequest(tags, adPodBid) { + const { durationRangeSec, requireExactDuration } = adPodBid.mediaTypes.video; + + const numberOfPlacements = getAdPodPlacementNumber(adPodBid.mediaTypes.video); + const maxDuration = Math.max(...durationRangeSec); + + const tagToDuplicate = tags.filter(tag => tag.uuid === adPodBid.bidId); + const request = fill(...tagToDuplicate, numberOfPlacements); + + if (requireExactDuration) { + const divider = Math.ceil(numberOfPlacements / durationRangeSec.length); + const chunked = chunk(request, divider); + + // each configured duration is set as min/maxduration for a subset of requests + durationRangeSec.forEach((duration, index) => { + chunked[index].forEach(tag => { + setVideoProperty(tag, 'minduration', duration); + setVideoProperty(tag, 'maxduration', duration); + }); + }); + } else { + // all maxdurations should be the same + request.forEach(tag => setVideoProperty(tag, 'maxduration', maxDuration)); } + + return request; } -function strIsMediafuseViewabilityScript(str) { - const regexMatchUrlStart = str.match(VIEWABILITY_URL_START); - const viewUrlStartInStr = regexMatchUrlStart != null && regexMatchUrlStart.length >= 1; - const regexMatchFileName = str.match(VIEWABILITY_FILE_NAME); - const fileNameInStr = regexMatchFileName != null && regexMatchFileName.length >= 1; +function getAdPodPlacementNumber(videoParams) { + const { adPodDurationSec, durationRangeSec, requireExactDuration } = videoParams; + const minAllowedDuration = Math.min(...durationRangeSec); + const numberOfPlacements = Math.floor(adPodDurationSec / minAllowedDuration); - return str.startsWith(' ad.rtb); +} + +function buildNativeRequest(params) { + const request = {}; + + // map standard prebid native asset identifier to /ut parameters + // e.g., tag specifies `body` but /ut only knows `description`. + // mapping may be in form {tag: ''} or + // {tag: {serverName: '', requiredParams: {...}}} + Object.keys(params).forEach(key => { + // check if one of the forms is used, otherwise + // a mapping wasn't specified so pass the key straight through + const requestKey = + (NATIVE_MAPPING[key] && NATIVE_MAPPING[key].serverName) || + NATIVE_MAPPING[key] || + key; + + // required params are always passed on request + const requiredParams = NATIVE_MAPPING[key] && NATIVE_MAPPING[key].requiredParams; + request[requestKey] = Object.assign({}, requiredParams, params[key]); + + // convert the sizes of image/icon assets to proper format (if needed) + const isImageAsset = !!(requestKey === NATIVE_MAPPING.image.serverName || requestKey === NATIVE_MAPPING.icon.serverName); + if (isImageAsset && request[requestKey].sizes) { + const sizes = request[requestKey].sizes; + if (isArrayOfNums(sizes) || (isArray(sizes) && sizes.length > 0 && sizes.every(sz => isArrayOfNums(sz)))) { + request[requestKey].sizes = transformSizes(request[requestKey].sizes); } } + + if (requestKey === NATIVE_MAPPING.privacyLink) { + request.privacy_supported = true; + } + }); + + return request; +} + +/** + * This function hides google div container for outstream bids to remove unwanted space on page. Mediafuse renderer creates a new iframe outside of google iframe to render the outstream creative. + * @param {string} elementId element id + */ +function hidedfpContainer(elementId) { + var el = document.getElementById(elementId).querySelectorAll("div[id^='google_ads']"); + if (el[0]) { + el[0].style.setProperty('display', 'none'); } - return viewJsPayload; } -function getViewabilityScriptUrlFromPayload(viewJsPayload) { - const indexOfFirstQuote = viewJsPayload.indexOf('src="') + 5; - const indexOfSecondQuote = viewJsPayload.indexOf('"', indexOfFirstQuote); - return viewJsPayload.substring(indexOfFirstQuote, indexOfSecondQuote); +function hideSASIframe(elementId) { + try { + // find script tag with id 'sas_script'. This ensures it only works if you're using Smart Ad Server. + const el = document.getElementById(elementId).querySelectorAll("script[id^='sas_script']"); + if (el[0].nextSibling && el[0].nextSibling.localName === 'iframe') { + el[0].nextSibling.style.setProperty('display', 'none'); + } + } catch (e) { + // element not found! + } +} + +function outstreamRender(bid) { + hidedfpContainer(bid.adUnitCode); + hideSASIframe(bid.adUnitCode); + // push to render queue because ANOutstreamVideo may not be loaded + bid.renderer.push(() => { + window.ANOutstreamVideo.renderAd({ + tagId: bid.adResponse.tag_id, + sizes: [bid.getSize().split('x')], + targetId: bid.adUnitCode, // target div id to render video + uuid: bid.adResponse.uuid, + adResponse: bid.adResponse, + rendererOptions: bid.renderer.getConfig() + }, handleOutstreamRendererEvents.bind(null, bid)); + }); +} + +function handleOutstreamRendererEvents(bid, id, eventName) { + bid.renderer.handleVideoEvent({ id, eventName }); +} + +function parseMediaType(rtbBid) { + const adType = rtbBid.ad_type; + if (adType === VIDEO) { + return VIDEO; + } else if (adType === NATIVE) { + return NATIVE; + } else { + return BANNER; + } +} + +/* function addUserId(eids, id, source, rti) { + if (id) { + if (rti) { + eids.push({ source, id, rti_partner: rti }); + } else { + eids.push({ source, id }); + } + } + return eids; +} */ + +function getBidFloor(bid) { + if (!isFn(bid.getFloor)) { + return (bid.params.reserve) ? bid.params.reserve : null; + } + + const floor = bid.getFloor({ + currency: 'USD', + mediaType: '*', + size: '*' + }); + if (isPlainObject(floor) && !isNaN(floor.floor) && floor.currency === 'USD') { + return floor.floor; + } + return null; } registerBidder(spec); diff --git a/modules/mediafuseBidAdapter.md b/modules/mediafuseBidAdapter.md index a9457c3e1c4..f9ed9835b94 100644 --- a/modules/mediafuseBidAdapter.md +++ b/modules/mediafuseBidAdapter.md @@ -3,7 +3,7 @@ ``` Module Name: Mediafuse Bid Adapter Module Type: Bidder Adapter -Maintainer: indrajit@oncoredigital.com +Maintainer: prebid-js@xandr.com ``` # Description @@ -77,7 +77,7 @@ var adUnits = [ placementId: 13232361, video: { skippable: true, - playback_method: 2 // 1=auto-play sound on, 2=auto-play sound off, 3=click-to-play, 4=mouse-over + playback_methods: ['auto_play_sound_off'] } } }] @@ -110,7 +110,7 @@ var adUnits = [ placementId: 13232385, video: { skippable: true, - playback_method: 2 // 1=auto-play sound on, 2=auto-play sound off, 3=click-to-play, 4=mouse-over + playback_method: 'auto_play_sound_off' } } } @@ -125,7 +125,7 @@ var adUnits = [ banner: { sizes: [[300, 250], [300,600]] } - }, + } bids: [{ bidder: 'mediafuse', params: { diff --git a/test/spec/modules/mediafuseBidAdapter_spec.js b/test/spec/modules/mediafuseBidAdapter_spec.js index 0e85b1c0b25..ff806d91f2c 100644 --- a/test/spec/modules/mediafuseBidAdapter_spec.js +++ b/test/spec/modules/mediafuseBidAdapter_spec.js @@ -1,1767 +1,1451 @@ -/** - * mediafuseBidAdapter_spec.js — extended tests - * - * Tests for mediafuseBidAdapter.js covering buildRequests, interpretResponse, - * getUserSyncs, and lifecycle callbacks. - */ - import { expect } from 'chai'; -import { spec, storage } from 'modules/mediafuseBidAdapter.js'; -import { deepClone } from '../../../src/utils.js'; -import { config } from '../../../src/config.js'; -import * as utils from '../../../src/utils.js'; -import sinon from 'sinon'; - -// --------------------------------------------------------------------------- -// Shared fixtures -// --------------------------------------------------------------------------- -const BASE_BID = { - bidder: 'mediafuse', - adUnitCode: 'adunit-code', - bidId: 'bid-id-1', - params: { placementId: 12345 } -}; - -const BASE_BIDDER_REQUEST = { - auctionId: 'auction-1', - ortb2: { - site: { page: 'http://example.com', domain: 'example.com' }, - user: {} - }, - refererInfo: { - topmostLocation: 'http://example.com', - reachedTop: true, - numIframes: 0, - stack: ['http://example.com'] - }, - bids: [BASE_BID] -}; - -// --------------------------------------------------------------------------- -describe('mediafuseBidAdapter', function () { - let sandbox; - - beforeEach(function () { - sandbox = sinon.createSandbox(); - }); +import { spec } from 'modules/mediafuseBidAdapter.js'; +import { newBidder } from 'src/adapters/bidderFactory.js'; +import * as bidderFactory from 'src/adapters/bidderFactory.js'; +import { auctionManager } from 'src/auctionManager.js'; +import { deepClone } from 'src/utils.js'; +import { config } from 'src/config.js'; +import {getGlobal} from '../../../src/prebidGlobal.js'; - afterEach(function () { - sandbox.restore(); - }); +const ENDPOINT = 'https://ib.adnxs.com/ut/v3/prebid'; - // ------------------------------------------------------------------------- - // buildRequests — endpoint selection - // ------------------------------------------------------------------------- - describe('buildRequests - endpoint selection', function () { - it('should use simple endpoint when GDPR purpose 1 consent is missing', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.gdprConsent = { - gdprApplies: true, - consentString: 'test-consent', - vendorData: { purpose: { consents: { 1: false } } } - }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.url).to.include('adnxs-simple.com'); - }); - }); +describe('MediaFuseAdapter', function () { + const adapter = newBidder(spec); - // ------------------------------------------------------------------------- - // buildRequests — GPID - // ------------------------------------------------------------------------- - describe('buildRequests - GPID', function () { - it('should map ortb2Imp.ext.gpid into imp.ext.appnexus.gpid', function () { - const bid = deepClone(BASE_BID); - bid.ortb2Imp = { ext: { gpid: '/1234/home#header' } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.gpid).to.equal('/1234/home#header'); + describe('inherited functions', function () { + it('exists and is a function', function () { + expect(adapter.callBids).to.exist.and.to.be.a('function'); }); }); - // ------------------------------------------------------------------------- - // buildRequests — global keywords - // ------------------------------------------------------------------------- - describe('buildRequests - global keywords', function () { - it('should include mediafuseAuctionKeywords in request ext', function () { - sandbox.stub(config, 'getConfig').callsFake((key) => { - if (key === 'mediafuseAuctionKeywords') return { section: ['news', 'sports'] }; - return undefined; - }); - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.ext.appnexus.keywords).to.include('section=news,sports'); - }); - }); + describe('isBidRequestValid', function () { + const bid = { + 'bidder': 'mediafuse', + 'params': { + 'placementId': '10433394' + }, + 'adUnitCode': 'adunit-code', + 'sizes': [[300, 250], [300, 600]], + 'bidId': '30b31c1838de1e', + 'bidderRequestId': '22edbae2733bf6', + 'auctionId': '1d1a030790a475', + }; + + it('should return true when required params found', function () { + expect(spec.isBidRequestValid(bid)).to.equal(true); + }); + + it('should return true when required params found', function () { + const invalidBid = Object.assign({}, bid); + delete invalidBid.params; + invalidBid.params = { + 'member': '1234', + 'invCode': 'ABCD' + }; - // ------------------------------------------------------------------------- - // buildRequests — user params - // ------------------------------------------------------------------------- - describe('buildRequests - user params', function () { - it('should map age, gender, and numeric segments', function () { - const bid = deepClone(BASE_BID); - bid.params.user = { age: 35, gender: 'F', segments: [10, 20] }; - // bidderRequest.bids must contain the bid for the request() hook to find params.user - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.bids = [bid]; - const [req] = spec.buildRequests([bid], bidderRequest); - expect(req.data.user.age).to.equal(35); - expect(req.data.user.gender).to.equal('F'); - expect(req.data.user.ext.segments).to.deep.equal([{ id: 10 }, { id: 20 }]); + expect(spec.isBidRequestValid(invalidBid)).to.equal(true); }); - it('should map object-style segments and ignore invalid ones', function () { - const bid = deepClone(BASE_BID); - bid.params.user = { segments: [{ id: 99 }, 'bad', null] }; - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.bids = [bid]; - const [req] = spec.buildRequests([bid], bidderRequest); - expect(req.data.user.ext.segments).to.deep.equal([{ id: 99 }]); + it('should return false when required params are not passed', function () { + const invalidBid = Object.assign({}, bid); + delete invalidBid.params; + invalidBid.params = { + 'placementId': 0 + }; + expect(spec.isBidRequestValid(invalidBid)).to.equal(false); }); }); - // ------------------------------------------------------------------------- - // buildRequests — app params - // ------------------------------------------------------------------------- - describe('buildRequests - app params', function () { - it('should merge app params into request.app', function () { - const bid = deepClone(BASE_BID); - bid.params.app = { name: 'MyApp', bundle: 'com.myapp', ver: '1.0' }; - // bidderRequest.bids must contain the bid for the request() hook to find params.app - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.bids = [bid]; - const [req] = spec.buildRequests([bid], bidderRequest); - expect(req.data.app.name).to.equal('MyApp'); - expect(req.data.app.bundle).to.equal('com.myapp'); - }); - }); + describe('buildRequests', function () { + let getAdUnitsStub; + const bidRequests = [ + { + 'bidder': 'mediafuse', + 'params': { + 'placementId': '10433394' + }, + 'adUnitCode': 'adunit-code', + 'sizes': [[300, 250], [300, 600]], + 'bidId': '30b31c1838de1e', + 'bidderRequestId': '22edbae2733bf6', + 'auctionId': '1d1a030790a475', + 'transactionId': '04f2659e-c005-4eb1-a57c-fa93145e3843' + } + ]; - // ------------------------------------------------------------------------- - // buildRequests — privacy: USP, addtlConsent, COPPA - // ------------------------------------------------------------------------- - describe('buildRequests - privacy', function () { - it('should set us_privacy from uspConsent', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.uspConsent = '1YNN'; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.regs.ext.us_privacy).to.equal('1YNN'); + beforeEach(function() { + getAdUnitsStub = sinon.stub(auctionManager, 'getAdUnits').callsFake(function() { + return []; + }); }); - it('should parse addtlConsent into array of integers', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.gdprConsent = { - gdprApplies: true, - consentString: 'cs', - addtlConsent: '1~7.12.99' - }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.user.ext.addtl_consent).to.deep.equal([7, 12, 99]); + afterEach(function() { + getAdUnitsStub.restore(); }); - it('should not set addtl_consent when addtlConsent has no ~ separator', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.gdprConsent = { gdprApplies: true, consentString: 'cs', addtlConsent: 'no-tilde' }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.user?.ext?.addtl_consent).to.be.undefined; - }); + it('should parse out private sizes', function () { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { + placementId: '10433394', + privateSizes: [300, 250] + } + } + ); - it('should set regs.coppa=1 when coppa config is true', function () { - sandbox.stub(config, 'getConfig').callsFake((key) => { - if (key === 'coppa') return true; - return undefined; - }); - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.regs.coppa).to.equal(1); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + + expect(payload.tags[0].private_sizes).to.exist; + expect(payload.tags[0].private_sizes).to.deep.equal([{width: 300, height: 250}]); }); - }); - // ------------------------------------------------------------------------- - // buildRequests — video RTB targeting - // ------------------------------------------------------------------------- - describe('buildRequests - video RTB targeting', function () { - if (FEATURES.VIDEO) { - it('should map skip, skipafter, playbackmethod, and api to AN fields', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { - video: { - context: 'instream', - playerSize: [640, 480], - skip: 1, - skipafter: 5, - playbackmethod: [2], - api: [4] + it('should add publisher_id in request', function() { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { + placementId: '10433394', + publisherId: '1231234' } - }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const video = req.data.imp[0].video; - const extAN = req.data.imp[0].ext.appnexus; - expect(video.skippable).to.be.true; - expect(video.skipoffset).to.equal(5); - expect(video.playback_method).to.equal(2); - // api [4] maps to video_frameworks [5] (4↔5 swap) - expect(extAN.video_frameworks).to.include(5); - }); - - it('should set outstream placement=4 for outstream context', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'outstream', playerSize: [640, 480] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.placement).to.equal(4); - }); - - it('should set video.ext.appnexus.context=1 for instream', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.ext.appnexus.context).to.equal(1); + }); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + + expect(payload.tags[0].publisher_id).to.exist; + expect(payload.tags[0].publisher_id).to.deep.equal(1231234); + expect(payload.publisher_id).to.exist; + expect(payload.publisher_id).to.deep.equal(1231234); + }) + + it('should add source and verison to the tag', function () { + const request = spec.buildRequests(bidRequests); + const payload = JSON.parse(request.data); + expect(payload.sdk).to.exist; + expect(payload.sdk).to.deep.equal({ + source: 'pbjs', + version: '$prebid.version$' }); + }); - it('should set video.ext.appnexus.context=4 for outstream', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'outstream', playerSize: [640, 480] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.ext.appnexus.context).to.equal(4); - }); + it('should populate the ad_types array on all requests', function () { + const adUnits = [{ + code: 'adunit-code', + mediaTypes: { + banner: { + sizes: [[300, 250], [300, 600]] + } + }, + bids: [{ + bidder: 'mediafuse', + params: { + placementId: '10433394' + } + }], + transactionId: '04f2659e-c005-4eb1-a57c-fa93145e3843' + }]; - it('should set video.ext.appnexus.context=5 for in-banner', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'in-banner', playerSize: [640, 480] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.ext.appnexus.context).to.equal(5); - }); + ['banner', 'video', 'native'].forEach(type => { + getAdUnitsStub.callsFake(function(...args) { + return adUnits; + }); - it('should not set video.ext.appnexus.context for unknown context', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'unknown-type', playerSize: [640, 480] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.ext?.appnexus?.context).to.be.undefined; - }); + const bidRequest = Object.assign({}, bidRequests[0]); + bidRequest.mediaTypes = {}; + bidRequest.mediaTypes[type] = {}; - it('should set require_asset_url for instream context', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.require_asset_url).to.be.true; - }); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); - it('should map video params from bid.params.video (VIDEO_TARGETING fields)', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; - bid.params.video = { minduration: 5, maxduration: 30, frameworks: [1, 2] }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.minduration).to.equal(5); - expect(req.data.imp[0].ext.appnexus.video_frameworks).to.deep.equal([1, 2]); - }); - } - }); + expect(payload.tags[0].ad_types).to.deep.equal([type]); - // ------------------------------------------------------------------------- - // buildRequests — OMID support - // ------------------------------------------------------------------------- - describe('buildRequests - OMID support', function () { - it('should set iab_support when bid.params.frameworks includes 6', function () { - const bid = deepClone(BASE_BID); - bid.params.frameworks = [6]; - // hasOmidSupport iterates all bids via .some(), so bid must be in bidderRequest.bids - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.bids = [bid]; - const [req] = spec.buildRequests([bid], bidderRequest); - expect(req.data.ext.appnexus.iab_support).to.deep.equal({ - omidpn: 'Mediafuse', - omidpv: '$prebid.version$' + if (type === 'banner') { + delete adUnits[0].mediaTypes; + } }); }); - it('should set iab_support when mediaTypes.video.api includes 7', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], api: [7] } }; - // hasOmidSupport iterates all bids via .some(), so bid must be in bidderRequest.bids - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.bids = [bid]; - const [req] = spec.buildRequests([bid], bidderRequest); - expect(req.data.ext.appnexus.iab_support).to.exist; - }); - }); + it('should not populate the ad_types array when adUnit.mediaTypes is undefined', function() { + const bidRequest = Object.assign({}, bidRequests[0]); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); - // ------------------------------------------------------------------------- - // interpretResponse — outstream renderer - // ------------------------------------------------------------------------- - describe('interpretResponse - outstream renderer', function () { - it('should create renderer when renderer_url and renderer_id are present', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'outstream', playerSize: [640, 480] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 3.0, - ext: { - appnexus: { - bid_ad_type: 1, - renderer_url: 'https://cdn.adnxs.com/renderer.js', - renderer_id: 42, - renderer_config: '{"key":"val"}' - } - } - }] - }] - } - }; - - const bids = spec.interpretResponse(serverResponse, req); - expect(bids[0].renderer).to.exist; - expect(bids[0].adResponse.ad.renderer_config).to.equal('{"key":"val"}'); + expect(payload.tags[0].ad_types).to.not.exist; }); - it('should set vastUrl from nurl+asset_url when no renderer', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - nurl: 'https://notify.example.com/win', - ext: { - appnexus: { - bid_ad_type: 1, - asset_url: 'https://vast.example.com/vast.xml' - } - } - }] - }] - } - }; - - const bids = spec.interpretResponse(serverResponse, req); - expect(bids[0].vastUrl).to.include('redir='); - expect(bids[0].vastUrl).to.include(encodeURIComponent('https://vast.example.com/vast.xml')); - }); - }); + it('should populate the ad_types array on outstream requests', function () { + const bidRequest = Object.assign({}, bidRequests[0]); + bidRequest.mediaTypes = {}; + bidRequest.mediaTypes.video = {context: 'outstream'}; - // ------------------------------------------------------------------------- - // interpretResponse — debug info logging - // ------------------------------------------------------------------------- - describe('interpretResponse - debug info logging', function () { - it('should clean HTML and call logMessage when debug_info is present', function () { - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - const logStub = sandbox.stub(utils, 'logMessage'); - - spec.interpretResponse({ - body: { - seatbid: [], - debug: { debug_info: '

Auction Debug


Row' } - } - }, req); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); - expect(logStub.calledOnce).to.be.true; - expect(logStub.firstCall.args[0]).to.include('===== Auction Debug ====='); - expect(logStub.firstCall.args[0]).to.not.include('

'); + expect(payload.tags[0].ad_types).to.deep.equal(['video']); + expect(payload.tags[0].hb_source).to.deep.equal(1); }); - }); - - // ------------------------------------------------------------------------- - // interpretResponse — native exhaustive assets - // ------------------------------------------------------------------------- - describe('interpretResponse - native exhaustive assets', function () { - it('should map all optional native fields', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { native: { title: { required: true } } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - - // OpenRTB 1.2 assets array format (as returned by the /openrtb2/prebidjs endpoint) - const nativeAdm = { - native: { - assets: [ - { id: 1, title: { text: 'Title' } }, - { id: 2, data: { type: 2, value: 'Body' } }, - { id: 3, data: { type: 10, value: 'Body2' } }, - { id: 4, data: { type: 12, value: 'Click' } }, - { id: 5, data: { type: 3, value: '4.5' } }, - { id: 6, data: { type: 1, value: 'Sponsor' } }, - { id: 7, data: { type: 9, value: '123 Main St' } }, - { id: 8, data: { type: 5, value: '1000' } }, - { id: 9, data: { type: 4, value: '500' } }, - { id: 10, data: { type: 8, value: '555-1234' } }, - { id: 11, data: { type: 6, value: '$9.99' } }, - { id: 12, data: { type: 7, value: '$4.99' } }, - { id: 13, data: { type: 11, value: 'example.com' } }, - { id: 14, img: { type: 3, url: 'https://img.example.com/img.jpg', w: 300, h: 250 } }, - { id: 15, img: { type: 1, url: 'https://img.example.com/icon.png', w: 50, h: 50 } } - ], - link: { url: 'https://click.example.com', clicktrackers: ['https://ct.example.com'] }, - privacy: 'https://priv.example.com' - } - }; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.5, - adm: JSON.stringify(nativeAdm), - ext: { appnexus: { bid_ad_type: 3 } } - }] - }] - } - }; - - const bids = spec.interpretResponse(serverResponse, req); - const native = bids[0].native; - expect(native.title).to.equal('Title'); - expect(native.body).to.equal('Body'); - expect(native.body2).to.equal('Body2'); - expect(native.cta).to.equal('Click'); - expect(native.rating).to.equal('4.5'); - expect(native.sponsoredBy).to.equal('Sponsor'); - expect(native.privacyLink).to.equal('https://priv.example.com'); - expect(native.address).to.equal('123 Main St'); - expect(native.downloads).to.equal('1000'); - expect(native.likes).to.equal('500'); - expect(native.phone).to.equal('555-1234'); - expect(native.price).to.equal('$9.99'); - expect(native.salePrice).to.equal('$4.99'); - expect(native.displayUrl).to.equal('example.com'); - expect(native.clickUrl).to.equal('https://click.example.com'); - expect(native.clickTrackers).to.deep.equal(['https://ct.example.com']); - expect(native.image.url).to.equal('https://img.example.com/img.jpg'); - expect(native.image.width).to.equal(300); - expect(native.icon.url).to.equal('https://img.example.com/icon.png'); + it('sends bid request to ENDPOINT via POST', function () { + const request = spec.buildRequests(bidRequests); + expect(request.url).to.equal(ENDPOINT); + expect(request.method).to.equal('POST'); }); - it('should map native fields using request asset IDs as type fallback when response omits type', function () { - // Build a real request via spec.buildRequests so ortbConverter registers it in its - // internal WeakMap (required by fromORTB). Then inject native.request directly on - // the imp — this simulates what FEATURES.NATIVE would have built without requiring it. - const bid = deepClone(BASE_BID); - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - - req.data.imp[0].native = { - request: JSON.stringify({ - assets: [ - { id: 1, title: { len: 100 } }, - { id: 2, data: { type: 1 } }, // sponsoredBy - { id: 3, data: { type: 2 } }, // body - { id: 4, img: { type: 3, wmin: 1, hmin: 1 } }, // main image - { id: 5, img: { type: 1, wmin: 50, hmin: 50 } } // icon - ] - }) - }; - - // Response assets intentionally omit type — Xandr does this in practice - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.5, - adm: JSON.stringify({ - native: { - assets: [ - { id: 1, title: { text: 'Fallback Title' } }, - { id: 2, data: { value: 'Fallback Sponsor' } }, - { id: 3, data: { value: 'Fallback Body' } }, - { id: 4, img: { url: 'https://img.test/img.jpg', w: 300, h: 250 } }, - { id: 5, img: { url: 'https://img.test/icon.png', w: 50, h: 50 } } - ], - link: { url: 'https://click.test' } - } - }), - ext: { appnexus: { bid_ad_type: 3 } } - }] - }] + it('should attach valid video params to the tag', function () { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { + placementId: '10433394', + video: { + id: 123, + minduration: 100, + foobar: 'invalid' + } + } } - }; + ); - const bids = spec.interpretResponse(serverResponse, req); - const native = bids[0].native; - expect(native.title).to.equal('Fallback Title'); - expect(native.sponsoredBy).to.equal('Fallback Sponsor'); - expect(native.body).to.equal('Fallback Body'); - expect(native.image.url).to.equal('https://img.test/img.jpg'); - expect(native.icon.url).to.equal('https://img.test/icon.png'); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + expect(payload.tags[0].video).to.deep.equal({ + id: 123, + minduration: 100 + }); + expect(payload.tags[0].hb_source).to.deep.equal(1); }); - it('should handle real-world native response: top-level format (no native wrapper), non-sequential IDs, type fallback', function () { - // Validates the format actually returned by the Mediafuse/Xandr endpoint: - // ADM is top-level {ver, assets, link, eventtrackers} — no 'native' wrapper key. - // Asset IDs are non-sequential (id:0 for title). Data/img assets omit 'type'; - // type is resolved from the native request's asset definitions. - const bid = deepClone(BASE_BID); - bid.mediaTypes = { native: { title: { required: true } } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - - // Inject native.request asset definitions so the type-fallback resolves correctly - req.data.imp[0].native = { - request: JSON.stringify({ - assets: [ - { id: 0, title: { len: 100 } }, - { id: 1, img: { type: 3, wmin: 1, hmin: 1 } }, // main image - { id: 2, data: { type: 1 } } // sponsoredBy - ] - }) - }; - - // Real-world ADM: top-level, assets lack 'type', id:0 title, two eventtrackers - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 0.88, - adm: JSON.stringify({ - ver: '1.2', - assets: [ - { id: 1, img: { url: 'https://img.example.com/img.jpg', w: 150, h: 150 } }, - { id: 0, title: { text: 'Discover Insights That Matter' } }, - { id: 2, data: { value: 'probescout' } } - ], - link: { url: 'https://click.example.com' }, - eventtrackers: [ - { event: 1, method: 1, url: 'https://tracker1.example.com/it' }, - { event: 1, method: 1, url: 'https://tracker2.example.com/t' } - ] - }), - ext: { appnexus: { bid_ad_type: 3 } } - }] - }] + it('should include ORTB video values when video params were not set', function() { + const bidRequest = deepClone(bidRequests[0]); + bidRequest.params = { + placementId: '1234235', + video: { + skippable: true, + playback_method: ['auto_play_sound_off', 'auto_play_sound_unknown'], + context: 'outstream' } }; - - const bids = spec.interpretResponse(serverResponse, req); - const native = bids[0].native; - expect(native.title).to.equal('Discover Insights That Matter'); - expect(native.sponsoredBy).to.equal('probescout'); - expect(native.image.url).to.equal('https://img.example.com/img.jpg'); - expect(native.image.width).to.equal(150); - expect(native.image.height).to.equal(150); - expect(native.clickUrl).to.equal('https://click.example.com'); - expect(native.javascriptTrackers).to.be.an('array').with.lengthOf(2); - }); - - it('should disarm eventtrackers (trk.js) by replacing src= with data-src=', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { native: { title: { required: true } } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - - const nativeAdm = { - native: { - title: 'T', - eventtrackers: [ - { method: 1, url: '//cdn.adnxs.com/v/trk.js?src=1&dom_id=%native_dom_id%' }, - { method: 1, url: 'https://other-tracker.com/pixel' } - ] + bidRequest.mediaTypes = { + video: { + playerSize: [640, 480], + context: 'outstream', + mimes: ['video/mp4'], + skip: 0, + minduration: 5, + api: [1, 5, 6], + playbackmethod: [2, 4] } }; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - adm: JSON.stringify(nativeAdm), - ext: { appnexus: { bid_ad_type: 3 } } - }] - }] - } - }; + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); - const bids = spec.interpretResponse(serverResponse, req); - const trackers = bids[0].native.javascriptTrackers; - expect(trackers).to.be.an('array'); - // The trk.js tracker should be disarmed: 'src=' replaced with 'data-src=' - const trkTracker = trackers.find(t => t.includes('trk.js')); - expect(trkTracker).to.include('data-src='); - // Verify the original 'src=1' param is now 'data-src=1' (not a bare 'src=') - expect(trkTracker).to.not.match(/(?' } - } - } - }] - }] + it('should add video property when adUnit includes a renderer', function () { + const videoData = { + mediaTypes: { + video: { + context: 'outstream', + mimes: ['video/mp4'] + } + }, + params: { + placementId: '10433394', + video: { + skippable: true, + playback_method: ['auto_play_sound_off'] + } } }; - const bids = spec.interpretResponse(serverResponse, req); - const trackers = bids[0].native.javascriptTrackers; - expect(trackers).to.be.an('array'); - expect(trackers[0]).to.include('data-src='); - }); - - it('should handle malformed native adm gracefully', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { native: { title: { required: true } } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - const logErrorStub = sandbox.stub(utils, 'logError'); - - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - adm: 'NOT_VALID_JSON', - ext: { appnexus: { bid_ad_type: 3 } } - }] - }] + let bidRequest1 = deepClone(bidRequests[0]); + bidRequest1 = Object.assign({}, bidRequest1, videoData, { + renderer: { + url: 'https://test.renderer.url', + render: function () {} } - }; - - // Should not throw - expect(() => spec.interpretResponse(serverResponse, req)).to.not.throw(); - expect(logErrorStub.calledOnce).to.be.true; - }); - }); + }); - // ------------------------------------------------------------------------- - // getUserSyncs — gdprApplies not a boolean - // ------------------------------------------------------------------------- - describe('getUserSyncs - gdprApplies undefined', function () { - it('should use only gdpr_consent param when gdprApplies is not a boolean', function () { - const syncOptions = { pixelEnabled: true }; - const serverResponses = [{ - body: { ext: { appnexus: { userSync: { url: 'https://sync.example.com/px' } } } } - }]; - const gdprConsent = { consentString: 'abc123' }; // gdprApplies is undefined + let bidRequest2 = deepClone(bidRequests[0]); + bidRequest2.adUnitCode = 'adUnit_code_2'; + bidRequest2 = Object.assign({}, bidRequest2, videoData); - const syncs = spec.getUserSyncs(syncOptions, serverResponses, gdprConsent); - expect(syncs).to.have.lengthOf(1); - expect(syncs[0].url).to.include('gdpr_consent=abc123'); - expect(syncs[0].url).to.not.include('gdpr='); + const request = spec.buildRequests([bidRequest1, bidRequest2]); + const payload = JSON.parse(request.data); + expect(payload.tags[0].video).to.deep.equal({ + skippable: true, + playback_method: 2, + custom_renderer_present: true + }); + expect(payload.tags[1].video).to.deep.equal({ + skippable: true, + playback_method: 2 + }); }); - }); - // ------------------------------------------------------------------------- - // lifecycle — onBidWon - // ------------------------------------------------------------------------- - - // ------------------------------------------------------------------------- - // interpretResponse — dchain from buyer_member_id - // ------------------------------------------------------------------------- - describe('interpretResponse - dchain', function () { - it('should set meta.dchain when buyer_member_id is present', function () { - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - ext: { appnexus: { bid_ad_type: 0, buyer_member_id: 77, advertiser_id: 99 } } - }] - }] + it('should attach valid user params to the tag', function () { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { + placementId: '10433394', + user: { + externalUid: '123', + segments: [123, { id: 987, value: 876 }], + foobar: 'invalid' + } + } } - }; + ); - const bids = spec.interpretResponse(serverResponse, req); - expect(bids[0].meta.dchain).to.deep.equal({ - ver: '1.0', - complete: 0, - nodes: [{ bsid: '77' }] - }); - expect(bids[0].meta.advertiserId).to.equal(99); - }); - }); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); - // ------------------------------------------------------------------------- - // buildRequests — optional params map (allowSmallerSizes, usePaymentRule, etc.) - // ------------------------------------------------------------------------- - describe('buildRequests - optional params', function () { - it('should map allowSmallerSizes, usePaymentRule, trafficSourceCode', function () { - const bid = deepClone(BASE_BID); - bid.params.allowSmallerSizes = true; - bid.params.usePaymentRule = true; - bid.params.trafficSourceCode = 'my-source'; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const extAN = req.data.imp[0].ext.appnexus; - expect(extAN.allow_smaller_sizes).to.be.true; - expect(extAN.use_pmt_rule).to.be.true; - expect(extAN.traffic_source_code).to.equal('my-source'); + expect(payload.user).to.exist; + expect(payload.user).to.deep.equal({ + external_uid: '123', + segments: [{id: 123}, {id: 987, value: 876}] + }); }); - it('should map externalImpId to ext.appnexus.ext_imp_id', function () { - const bid = deepClone(BASE_BID); - bid.params.externalImpId = 'ext-imp-123'; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.ext_imp_id).to.equal('ext-imp-123'); - }); - }); + it('should attach reserve param when either bid param or getFloor function exists', function () { + const getFloorResponse = { currency: 'USD', floor: 3 }; + let request; let payload = null; + const bidRequest = deepClone(bidRequests[0]); - // ------------------------------------------------------------------------- - // isBidRequestValid - // ------------------------------------------------------------------------- - describe('isBidRequestValid', function () { - it('should return true for placement_id (snake_case)', function () { - expect(spec.isBidRequestValid({ params: { placement_id: 12345 } })).to.be.true; - }); + // 1 -> reserve not defined, getFloor not defined > empty + request = spec.buildRequests([bidRequest]); + payload = JSON.parse(request.data); - it('should return true for member + invCode', function () { - expect(spec.isBidRequestValid({ params: { member: '123', invCode: 'inv' } })).to.be.true; - }); + expect(payload.tags[0].reserve).to.not.exist; - it('should return true for member + inv_code', function () { - expect(spec.isBidRequestValid({ params: { member: '123', inv_code: 'inv' } })).to.be.true; - }); - - it('should return false when no params', function () { - expect(spec.isBidRequestValid({})).to.be.false; + // 2 -> reserve is defined, getFloor not defined > reserve is used + bidRequest.params = { + 'placementId': '10433394', + 'reserve': 0.5 + }; + request = spec.buildRequests([bidRequest]); + payload = JSON.parse(request.data); + + expect(payload.tags[0].reserve).to.exist.and.to.equal(0.5); + + // 3 -> reserve is defined, getFloor is defined > getFloor is used + bidRequest.getFloor = () => getFloorResponse; + + request = spec.buildRequests([bidRequest]); + payload = JSON.parse(request.data); + + expect(payload.tags[0].reserve).to.exist.and.to.equal(3); + }); + + it('should duplicate adpod placements into batches and set correct maxduration', function() { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { placementId: '14542875' } + }, + { + mediaTypes: { + video: { + context: 'adpod', + playerSize: [640, 480], + adPodDurationSec: 300, + durationRangeSec: [15, 30], + } + } + } + ); + + const request = spec.buildRequests([bidRequest]); + const payload1 = JSON.parse(request[0].data); + const payload2 = JSON.parse(request[1].data); + + // 300 / 15 = 20 total + expect(payload1.tags.length).to.equal(15); + expect(payload2.tags.length).to.equal(5); + + expect(payload1.tags[0]).to.deep.equal(payload1.tags[1]); + expect(payload1.tags[0].video.maxduration).to.equal(30); + + expect(payload2.tags[0]).to.deep.equal(payload1.tags[1]); + expect(payload2.tags[0].video.maxduration).to.equal(30); + }); + + it('should round down adpod placements when numbers are uneven', function() { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { placementId: '14542875' } + }, + { + mediaTypes: { + video: { + context: 'adpod', + playerSize: [640, 480], + adPodDurationSec: 123, + durationRangeSec: [45], + } + } + } + ); + + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + expect(payload.tags.length).to.equal(2); + }); + + it('should duplicate adpod placements when requireExactDuration is set', function() { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { placementId: '14542875' } + }, + { + mediaTypes: { + video: { + context: 'adpod', + playerSize: [640, 480], + adPodDurationSec: 300, + durationRangeSec: [15, 30], + requireExactDuration: true, + } + } + } + ); + + // 20 total placements with 15 max impressions = 2 requests + const request = spec.buildRequests([bidRequest]); + expect(request.length).to.equal(2); + + // 20 spread over 2 requests = 15 in first request, 5 in second + const payload1 = JSON.parse(request[0].data); + const payload2 = JSON.parse(request[1].data); + expect(payload1.tags.length).to.equal(15); + expect(payload2.tags.length).to.equal(5); + + // 10 placements should have max/min at 15 + // 10 placemenst should have max/min at 30 + const payload1tagsWith15 = payload1.tags.filter(tag => tag.video.maxduration === 15); + const payload1tagsWith30 = payload1.tags.filter(tag => tag.video.maxduration === 30); + expect(payload1tagsWith15.length).to.equal(10); + expect(payload1tagsWith30.length).to.equal(5); + + // 5 placemenst with min/max at 30 were in the first request + // so 5 remaining should be in the second + const payload2tagsWith30 = payload2.tags.filter(tag => tag.video.maxduration === 30); + expect(payload2tagsWith30.length).to.equal(5); + }); + + it('should set durations for placements when requireExactDuration is set and numbers are uneven', function() { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { placementId: '14542875' } + }, + { + mediaTypes: { + video: { + context: 'adpod', + playerSize: [640, 480], + adPodDurationSec: 105, + durationRangeSec: [15, 30, 60], + requireExactDuration: true, + } + } + } + ); + + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + expect(payload.tags.length).to.equal(7); + + const tagsWith15 = payload.tags.filter(tag => tag.video.maxduration === 15); + const tagsWith30 = payload.tags.filter(tag => tag.video.maxduration === 30); + const tagsWith60 = payload.tags.filter(tag => tag.video.maxduration === 60); + expect(tagsWith15.length).to.equal(3); + expect(tagsWith30.length).to.equal(3); + expect(tagsWith60.length).to.equal(1); + }); + + it('should break adpod request into batches', function() { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { placementId: '14542875' } + }, + { + mediaTypes: { + video: { + context: 'adpod', + playerSize: [640, 480], + adPodDurationSec: 225, + durationRangeSec: [5], + } + } + } + ); + + const request = spec.buildRequests([bidRequest]); + const payload1 = JSON.parse(request[0].data); + const payload2 = JSON.parse(request[1].data); + const payload3 = JSON.parse(request[2].data); + + expect(payload1.tags.length).to.equal(15); + expect(payload2.tags.length).to.equal(15); + expect(payload3.tags.length).to.equal(15); + }); + + it('should contain hb_source value for adpod', function() { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { placementId: '14542875' } + }, + { + mediaTypes: { + video: { + context: 'adpod', + playerSize: [640, 480], + adPodDurationSec: 300, + durationRangeSec: [15, 30], + } + } + } + ); + const request = spec.buildRequests([bidRequest])[0]; + const payload = JSON.parse(request.data); + expect(payload.tags[0].hb_source).to.deep.equal(7); + }); + + it('should contain hb_source value for other media', function() { + const bidRequest = Object.assign({}, + bidRequests[0], + { + mediaType: 'banner', + params: { + sizes: [[300, 250], [300, 600]], + placementId: 13144370 + } + } + ); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + expect(payload.tags[0].hb_source).to.deep.equal(1); + }); + + it('adds brand_category_exclusion to request when set', function() { + const bidRequest = Object.assign({}, bidRequests[0]); + sinon + .stub(config, 'getConfig') + .withArgs('adpod.brandCategoryExclusion') + .returns(true); + + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + + expect(payload.brand_category_uniqueness).to.equal(true); + + config.getConfig.restore(); + }); + + it('adds auction level keywords to request when set', function() { + const bidRequest = Object.assign({}, bidRequests[0]); + sinon + .stub(config, 'getConfig') + .withArgs('mediafuseAuctionKeywords') + .returns({ + gender: 'm', + music: ['rock', 'pop'], + test: '' + }); + + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + + expect(payload.keywords).to.deep.equal([{ + 'key': 'gender', + 'value': ['m'] + }, { + 'key': 'music', + 'value': ['rock', 'pop'] + }, { + 'key': 'test' + }]); + + config.getConfig.restore(); + }); + + it('should attach native params to the request', function () { + const bidRequest = Object.assign({}, + bidRequests[0], + { + mediaType: 'native', + nativeParams: { + title: {required: true}, + body: {required: true}, + body2: {required: true}, + image: {required: true, sizes: [100, 100]}, + icon: {required: true}, + cta: {required: false}, + rating: {required: true}, + sponsoredBy: {required: true}, + privacyLink: {required: true}, + displayUrl: {required: true}, + address: {required: true}, + downloads: {required: true}, + likes: {required: true}, + phone: {required: true}, + price: {required: true}, + salePrice: {required: true} + } + } + ); + + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + + expect(payload.tags[0].native.layouts[0]).to.deep.equal({ + title: {required: true}, + description: {required: true}, + desc2: {required: true}, + main_image: {required: true, sizes: [{ width: 100, height: 100 }]}, + icon: {required: true}, + ctatext: {required: false}, + rating: {required: true}, + sponsored_by: {required: true}, + privacy_link: {required: true}, + displayurl: {required: true}, + address: {required: true}, + downloads: {required: true}, + likes: {required: true}, + phone: {required: true}, + price: {required: true}, + saleprice: {required: true}, + privacy_supported: true + }); + expect(payload.tags[0].hb_source).to.equal(1); }); - it('should return false for member without invCode or inv_code', function () { - expect(spec.isBidRequestValid({ params: { member: '123' } })).to.be.false; - }); - }); + it('should always populated tags[].sizes with 1,1 for native if otherwise not defined', function () { + const bidRequest = Object.assign({}, + bidRequests[0], + { + mediaType: 'native', + nativeParams: { + image: { required: true } + } + } + ); + bidRequest.sizes = [[150, 100], [300, 250]]; + + let request = spec.buildRequests([bidRequest]); + let payload = JSON.parse(request.data); + expect(payload.tags[0].sizes).to.deep.equal([{width: 150, height: 100}, {width: 300, height: 250}]); + + delete bidRequest.sizes; + + request = spec.buildRequests([bidRequest]); + payload = JSON.parse(request.data); + + expect(payload.tags[0].sizes).to.deep.equal([{width: 1, height: 1}]); + }); + + it('should convert keyword params to proper form and attaches to request', function () { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { + placementId: '10433394', + keywords: { + single: 'val', + singleArr: ['val'], + singleArrNum: [5], + multiValMixed: ['value1', 2, 'value3'], + singleValNum: 123, + emptyStr: '', + emptyArr: [''], + badValue: {'foo': 'bar'} // should be dropped + } + } + } + ); + + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + + expect(payload.tags[0].keywords).to.deep.equal([{ + 'key': 'single', + 'value': ['val'] + }, { + 'key': 'singleArr', + 'value': ['val'] + }, { + 'key': 'singleArrNum', + 'value': ['5'] + }, { + 'key': 'multiValMixed', + 'value': ['value1', '2', 'value3'] + }, { + 'key': 'singleValNum', + 'value': ['123'] + }, { + 'key': 'emptyStr' + }, { + 'key': 'emptyArr' + }]); + }); + + it('should add payment rules to the request', function () { + const bidRequest = Object.assign({}, + bidRequests[0], + { + params: { + placementId: '10433394', + usePaymentRule: true + } + } + ); - // ------------------------------------------------------------------------- - // getBidFloor - // ------------------------------------------------------------------------- - describe('buildRequests - getBidFloor', function () { - it('should use getFloor function result when available and currency matches', function () { - const bid = deepClone(BASE_BID); - bid.getFloor = () => ({ currency: 'USD', floor: 1.5 }); - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].bidfloor).to.equal(1.5); - }); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); - it('should return null when getFloor returns wrong currency', function () { - const bid = deepClone(BASE_BID); - bid.getFloor = () => ({ currency: 'EUR', floor: 1.5 }); - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].bidfloor).to.be.undefined; + expect(payload.tags[0].use_pmt_rule).to.equal(true); }); - it('should use params.reserve when no getFloor function', function () { - const bid = deepClone(BASE_BID); - bid.params.reserve = 2.0; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].bidfloor).to.equal(2.0); - }); - }); + it('should add gpid to the request', function () { + const testGpid = '/12345/my-gpt-tag-0'; + const bidRequest = deepClone(bidRequests[0]); + bidRequest.ortb2Imp = { ext: { data: {}, gpid: testGpid } }; - // ------------------------------------------------------------------------- - // buildRequests — inv_code - // ------------------------------------------------------------------------- - describe('buildRequests - inv_code', function () { - it('should set tagid from invCode when no placementId', function () { - const bid = { bidder: 'mediafuse', adUnitCode: 'au', bidId: 'b1', params: { invCode: 'my-inv-code', member: '123' } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].tagid).to.equal('my-inv-code'); - }); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); - it('should set tagid from inv_code when no placementId', function () { - const bid = { bidder: 'mediafuse', adUnitCode: 'au', bidId: 'b1', params: { inv_code: 'my-inv-code-snake', member: '123' } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].tagid).to.equal('my-inv-code-snake'); + expect(payload.tags[0].gpid).to.exist.and.equal(testGpid) }); - }); - // ------------------------------------------------------------------------- - // buildRequests — banner_frameworks - // ------------------------------------------------------------------------- - describe('buildRequests - banner_frameworks', function () { - it('should set banner_frameworks from bid.params.banner_frameworks when no banner.api', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { banner: { sizes: [[300, 250]] } }; - bid.params.banner_frameworks = [1, 2, 3]; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.banner_frameworks).to.deep.equal([1, 2, 3]); + it('should add gdpr consent information to the request', function () { + const consentString = 'BOJ8RZsOJ8RZsABAB8AAAAAZ+A=='; + const bidderRequest = { + 'bidderCode': 'mediafuse', + 'auctionId': '1d1a030790a475', + 'bidderRequestId': '22edbae2733bf6', + 'timeout': 3000, + 'gdprConsent': { + consentString: consentString, + gdprApplies: true, + addtlConsent: '1~7.12.35.62.66.70.89.93.108' + } + }; + bidderRequest.bids = bidRequests; + + const request = spec.buildRequests(bidRequests, bidderRequest); + expect(request.options).to.deep.equal({withCredentials: true}); + const payload = JSON.parse(request.data); + + expect(payload.gdpr_consent).to.exist; + expect(payload.gdpr_consent.consent_string).to.exist.and.to.equal(consentString); + expect(payload.gdpr_consent.consent_required).to.exist.and.to.be.true; + expect(payload.gdpr_consent.addtl_consent).to.exist.and.to.deep.equal([7, 12, 35, 62, 66, 70, 89, 93, 108]); + }); + + it('should add us privacy string to payload', function() { + const consentString = '1YA-'; + const bidderRequest = { + 'bidderCode': 'mediafuse', + 'auctionId': '1d1a030790a475', + 'bidderRequestId': '22edbae2733bf6', + 'timeout': 3000, + 'uspConsent': consentString + }; + bidderRequest.bids = bidRequests; + + const request = spec.buildRequests(bidRequests, bidderRequest); + const payload = JSON.parse(request.data); + + expect(payload.us_privacy).to.exist; + expect(payload.us_privacy).to.exist.and.to.equal(consentString); + }); + + it('supports sending hybrid mobile app parameters', function () { + const appRequest = Object.assign({}, + bidRequests[0], + { + params: { + placementId: '10433394', + app: { + id: 'B1O2W3M4AN.com.prebid.webview', + geo: { + lat: 40.0964439, + lng: -75.3009142 + }, + device_id: { + idfa: '4D12078D-3246-4DA4-AD5E-7610481E7AE', // Apple advertising identifier + aaid: '38400000-8cf0-11bd-b23e-10b96e40000d', // Android advertising identifier + md5udid: '5756ae9022b2ea1e47d84fead75220c8', // MD5 hash of the ANDROID_ID + sha1udid: '4DFAA92388699AC6539885AEF1719293879985BF', // SHA1 hash of the ANDROID_ID + windowsadid: '750c6be243f1c4b5c9912b95a5742fc5' // Windows advertising identifier + } + } + } + } + ); + const request = spec.buildRequests([appRequest]); + const payload = JSON.parse(request.data); + expect(payload.app).to.exist; + expect(payload.app).to.deep.equal({ + appid: 'B1O2W3M4AN.com.prebid.webview' + }); + expect(payload.device.device_id).to.exist; + expect(payload.device.device_id).to.deep.equal({ + aaid: '38400000-8cf0-11bd-b23e-10b96e40000d', + idfa: '4D12078D-3246-4DA4-AD5E-7610481E7AE', + md5udid: '5756ae9022b2ea1e47d84fead75220c8', + sha1udid: '4DFAA92388699AC6539885AEF1719293879985BF', + windowsadid: '750c6be243f1c4b5c9912b95a5742fc5' + }); + expect(payload.device.geo).to.not.exist; + expect(payload.device.geo).to.not.deep.equal({ + lat: 40.0964439, + lng: -75.3009142 + }); }); - }); - // ------------------------------------------------------------------------- - // buildRequests — custom_renderer_present via bid.renderer - // ------------------------------------------------------------------------- - describe('buildRequests - custom renderer present', function () { - if (FEATURES.VIDEO) { - it('should set custom_renderer_present when bid.renderer is set for video imp', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'outstream', playerSize: [640, 480] } }; - bid.renderer = { id: 'custom', url: 'https://renderer.example.com/r.js' }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.custom_renderer_present).to.be.true; + it('should add referer info to payload', function () { + const bidRequest = Object.assign({}, bidRequests[0]) + const bidderRequest = { + refererInfo: { + topmostLocation: 'https://example.com/page.html', + reachedTop: true, + numIframes: 2, + stack: [ + 'https://example.com/page.html', + 'https://example.com/iframe1.html', + 'https://example.com/iframe2.html' + ] + } + } + const request = spec.buildRequests([bidRequest], bidderRequest); + const payload = JSON.parse(request.data); + + expect(payload.referrer_detection).to.exist; + expect(payload.referrer_detection).to.deep.equal({ + rd_ref: 'https%3A%2F%2Fexample.com%2Fpage.html', + rd_top: true, + rd_ifs: 2, + rd_stk: bidderRequest.refererInfo.stack.map((url) => encodeURIComponent(url)).join(',') }); - } - }); - - // ------------------------------------------------------------------------- - // buildRequests — catch-all unknown camelCase params - // ------------------------------------------------------------------------- - describe('buildRequests - catch-all unknown params', function () { - it('should convert unknown camelCase params to snake_case in extAN', function () { - const bid = deepClone(BASE_BID); - bid.params.unknownCamelCaseParam = 'value123'; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.unknown_camel_case_param).to.equal('value123'); }); - }); - // ------------------------------------------------------------------------- - // buildRequests — bid-level keywords - // ------------------------------------------------------------------------- - describe('buildRequests - bid keywords', function () { - it('should map bid.params.keywords to extAN.keywords string', function () { - const bid = deepClone(BASE_BID); - bid.params.keywords = { genre: ['rock', 'pop'] }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.keywords).to.be.a('string'); - expect(req.data.imp[0].ext.appnexus.keywords).to.include('genre=rock,pop'); - }); - }); + it('should populate schain if available', function () { + const bidRequest = Object.assign({}, bidRequests[0], { + ortb2: { + source: { + ext: { + schain: { + ver: '1.0', + complete: 1, + nodes: [ + { + 'asi': 'blob.com', + 'sid': '001', + 'hp': 1 + } + ] + } + } + } + } + }); - // ------------------------------------------------------------------------- - // buildRequests — canonicalUrl in referer detection - // ------------------------------------------------------------------------- - describe('buildRequests - canonicalUrl', function () { - it('should set rd_can in referrer_detection when canonicalUrl is present', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.refererInfo.canonicalUrl = 'https://canonical.example.com/page'; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.ext.appnexus.referrer_detection.rd_can).to.equal('https://canonical.example.com/page'); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + expect(payload.schain).to.deep.equal({ + ver: '1.0', + complete: 1, + nodes: [ + { + 'asi': 'blob.com', + 'sid': '001', + 'hp': 1 + } + ] + }); }); - }); - // ------------------------------------------------------------------------- - // buildRequests — publisherId → site.publisher.id - // ------------------------------------------------------------------------- - describe('buildRequests - publisherId', function () { - it('should set site.publisher.id from bid.params.publisherId', function () { - const bid = deepClone(BASE_BID); - bid.params.publisherId = 67890; - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.bids = [bid]; - const [req] = spec.buildRequests([bid], bidderRequest); - expect(req.data.site.publisher.id).to.equal('67890'); - }); - }); + it('should populate coppa if set in config', function () { + const bidRequest = Object.assign({}, bidRequests[0]); + sinon.stub(config, 'getConfig') + .withArgs('coppa') + .returns(true); - // ------------------------------------------------------------------------- - // buildRequests — member appended to endpoint URL - // ------------------------------------------------------------------------- - describe('buildRequests - member URL param', function () { - it('should append member_id to endpoint URL when bid.params.member is set', function () { - const bid = deepClone(BASE_BID); - bid.params.member = '456'; - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.bids = [bid]; - const [req] = spec.buildRequests([bid], bidderRequest); - expect(req.url).to.include('member_id=456'); - }); - }); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); - // ------------------------------------------------------------------------- - // buildRequests — gppConsent - // ------------------------------------------------------------------------- - describe('buildRequests - gppConsent', function () { - it('should set regs.gpp and regs.gpp_sid from gppConsent', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.gppConsent = { gppString: 'DBACMYA', applicableSections: [7] }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.regs.gpp).to.equal('DBACMYA'); - expect(req.data.regs.gpp_sid).to.deep.equal([7]); - }); - }); + expect(payload.user.coppa).to.equal(true); - // ------------------------------------------------------------------------- - // buildRequests — gdprApplies=false - // ------------------------------------------------------------------------- - describe('buildRequests - gdprApplies false', function () { - it('should set regs.ext.gdpr=0 when gdprApplies is false', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.gdprConsent = { gdprApplies: false, consentString: 'cs' }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.regs.ext.gdpr).to.equal(0); + config.getConfig.restore(); }); - }); - // ------------------------------------------------------------------------- - // buildRequests — user.externalUid - // ------------------------------------------------------------------------- - describe('buildRequests - user externalUid', function () { - it('should map externalUid to user.external_uid', function () { - const bid = deepClone(BASE_BID); - bid.params.user = { externalUid: 'uid-abc-123' }; - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.bids = [bid]; - const [req] = spec.buildRequests([bid], bidderRequest); - expect(req.data.user.external_uid).to.equal('uid-abc-123'); - }); - }); + it('should set the X-Is-Test customHeader if test flag is enabled', function () { + const bidRequest = Object.assign({}, bidRequests[0]); + sinon.stub(config, 'getConfig') + .withArgs('apn_test') + .returns(true); - // ------------------------------------------------------------------------- - // buildRequests — EID rtiPartner mapping (TDID / UID2) - // ------------------------------------------------------------------------- - describe('buildRequests - EID rtiPartner mapping', function () { - it('should set rtiPartner=TDID inside uids[0].ext for adserver.org EID', function () { - const bid = deepClone(BASE_BID); - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.ortb2.user = { ext: { eids: [{ source: 'adserver.org', uids: [{ id: 'tdid-value', atype: 1 }] }] } }; - const [req] = spec.buildRequests([bid], bidderRequest); - const eid = req.data.user?.ext?.eids?.find(e => e.source === 'adserver.org'); - expect(eid).to.exist; - expect(eid.uids[0].ext.rtiPartner).to.equal('TDID'); - expect(eid.rti_partner).to.be.undefined; - }); + const request = spec.buildRequests([bidRequest]); + expect(request.options.customHeaders).to.deep.equal({'X-Is-Test': 1}); - it('should set rtiPartner=UID2 inside uids[0].ext for uidapi.com EID', function () { - const bid = deepClone(BASE_BID); - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.ortb2.user = { ext: { eids: [{ source: 'uidapi.com', uids: [{ id: 'uid2-value', atype: 3 }] }] } }; - const [req] = spec.buildRequests([bid], bidderRequest); - const eid = req.data.user?.ext?.eids?.find(e => e.source === 'uidapi.com'); - expect(eid).to.exist; - expect(eid.uids[0].ext.rtiPartner).to.equal('UID2'); - expect(eid.rti_partner).to.be.undefined; + config.getConfig.restore(); }); - it('should preserve existing uid.ext fields when adding rtiPartner', function () { - const bid = deepClone(BASE_BID); - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.ortb2.user = { ext: { eids: [{ source: 'adserver.org', uids: [{ id: 'tdid-value', atype: 1, ext: { existing: true } }] }] } }; - const [req] = spec.buildRequests([bid], bidderRequest); - const eid = req.data.user?.ext?.eids?.find(e => e.source === 'adserver.org'); - expect(eid).to.exist; - expect(eid.uids[0].ext.rtiPartner).to.equal('TDID'); - expect(eid.uids[0].ext.existing).to.be.true; + it('should always set withCredentials: true on the request.options', function () { + const bidRequest = Object.assign({}, bidRequests[0]); + const request = spec.buildRequests([bidRequest]); + expect(request.options.withCredentials).to.equal(true); }); - }); - // ------------------------------------------------------------------------- - // buildRequests — apn_test config → X-Is-Test header - // ------------------------------------------------------------------------- - describe('buildRequests - apn_test config header', function () { - it('should set X-Is-Test:1 custom header when config apn_test=true', function () { - sandbox.stub(config, 'getConfig').callsFake((key) => { - if (key === 'apn_test') return true; - return undefined; + it('should set simple domain variant if purpose 1 consent is not given', function () { + const consentString = 'BOJ8RZsOJ8RZsABAB8AAAAAZ+A=='; + const bidderRequest = { + 'bidderCode': 'mediafuse', + 'auctionId': '1d1a030790a475', + 'bidderRequestId': '22edbae2733bf6', + 'timeout': 3000, + 'gdprConsent': { + consentString: consentString, + gdprApplies: true, + apiVersion: 2, + vendorData: { + purpose: { + consents: { + 1: false + } + } + } + } + }; + bidderRequest.bids = bidRequests; + + const request = spec.buildRequests(bidRequests, bidderRequest); + expect(request.url).to.equal('https://ib.adnxs-simple.com/ut/v3/prebid'); + }); + + it('should populate eids when supported userIds are available', function () { + const bidRequest = Object.assign({}, bidRequests[0], { + userIdAsEids: [{ + source: 'adserver.org', + uids: [{ id: 'sample-userid' }] + }, { + source: 'criteo.com', + uids: [{ id: 'sample-criteo-userid' }] + }, { + source: 'netid.de', + uids: [{ id: 'sample-netId-userid' }] + }, { + source: 'liveramp.com', + uids: [{ id: 'sample-idl-userid' }] + }, { + source: 'uidapi.com', + uids: [{ id: 'sample-uid2-value' }] + }, { + source: 'puburl.com', + uids: [{ id: 'pubid1' }] + }, { + source: 'puburl2.com', + uids: [{ id: 'pubid2' }, { id: 'pubid2-123' }] + }] }); - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - expect(req.options.customHeaders).to.deep.equal({ 'X-Is-Test': 1 }); - }); - }); - // ------------------------------------------------------------------------- - // buildRequests — video minduration already set (skip overwrite) - // ------------------------------------------------------------------------- - describe('buildRequests - video minduration skip overwrite', function () { - if (FEATURES.VIDEO) { - it('should not overwrite minduration set by params.video when mediaTypes.video.minduration also present', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], minduration: 10 } }; - bid.params.video = { minduration: 5 }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - // params.video sets minduration=5 first; mediaTypes check sees it's already a number → skips - expect(req.data.imp[0].video.minduration).to.equal(5); + const request = spec.buildRequests([bidRequest]); + const payload = JSON.parse(request.data); + expect(payload.eids).to.deep.include({ + source: 'adserver.org', + id: 'sample-userid', + rti_partner: 'TDID' }); - } - }); - // ------------------------------------------------------------------------- - // buildRequests — playbackmethod out of range (>4) - // ------------------------------------------------------------------------- - describe('buildRequests - video playbackmethod out of range', function () { - if (FEATURES.VIDEO) { - it('should not set playback_method when playbackmethod[0] > 4', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], playbackmethod: [5] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.playback_method).to.be.undefined; + expect(payload.eids).to.deep.include({ + source: 'criteo.com', + id: 'sample-criteo-userid', }); - } - }); - // ------------------------------------------------------------------------- - // buildRequests — video api val=6 filtered out - // ------------------------------------------------------------------------- - describe('buildRequests - video api val=6 filtered', function () { - if (FEATURES.VIDEO) { - it('should produce empty video_frameworks when api=[6] since 6 is out of 1-5 range', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], api: [6] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.video_frameworks).to.deep.equal([]); + expect(payload.eids).to.deep.include({ + source: 'netid.de', + id: 'sample-netId-userid', }); - } - }); - // ------------------------------------------------------------------------- - // buildRequests — video_frameworks already set; api should not override - // ------------------------------------------------------------------------- - describe('buildRequests - video_frameworks not overridden by api', function () { - if (FEATURES.VIDEO) { - it('should keep frameworks from params.video when mediaTypes.video.api is also present', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], api: [4] } }; - bid.params.video = { frameworks: [1, 2] }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.video_frameworks).to.deep.equal([1, 2]); + expect(payload.eids).to.deep.include({ + source: 'liveramp.com', + id: 'sample-idl-userid' }); - } - }); - // ------------------------------------------------------------------------- - // interpretResponse — adomain string vs empty array - // ------------------------------------------------------------------------- - describe('interpretResponse - adomain handling', function () { - it('should wrap string adomain in an array for advertiserDomains', function () { - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - adomain: 'example.com', - ext: { appnexus: { bid_ad_type: 0 } } - }] - }] - } - }; - const bids = spec.interpretResponse(serverResponse, req); - expect(bids[0].meta.advertiserDomains).to.deep.equal(['example.com']); + expect(payload.eids).to.deep.include({ + source: 'uidapi.com', + id: 'sample-uid2-value', + rti_partner: 'UID2' + }); }); - it('should not set non-empty advertiserDomains when adomain is an empty array', function () { - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - adomain: [], - ext: { appnexus: { bid_ad_type: 0 } } - }] - }] + it('should populate iab_support object at the root level if omid support is detected', function () { + // with bid.params.frameworks + const bidRequest_A = Object.assign({}, bidRequests[0], { + params: { + frameworks: [1, 2, 5, 6], + video: { + frameworks: [1, 2, 5, 6] + } } - }; - const bids = spec.interpretResponse(serverResponse, req); - // adapter's guard skips setting advertiserDomains for empty arrays; - // ortbConverter may set it to [] — either way it must not be a non-empty array - const domains = bids[0].meta && bids[0].meta.advertiserDomains; - expect(!domains || domains.length === 0).to.be.true; - }); - }); - - // ------------------------------------------------------------------------- - // interpretResponse — banner impression_urls trackers - // ------------------------------------------------------------------------- - describe('interpretResponse - banner trackers', function () { - it('should append tracker pixel HTML to bid.ad when trackers.impression_urls is present', function () { - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - adm: '
ad
', - ext: { - appnexus: { - bid_ad_type: 0, - trackers: [{ impression_urls: ['https://tracker.example.com/impression'] }] - } - } - }] - }] + }); + let request = spec.buildRequests([bidRequest_A]); + let payload = JSON.parse(request.data); + expect(payload.iab_support).to.be.an('object'); + expect(payload.iab_support).to.deep.equal({ + omidpn: 'Mediafuse', + omidpv: '$prebid.version$' + }); + expect(payload.tags[0].banner_frameworks).to.be.an('array'); + expect(payload.tags[0].banner_frameworks).to.deep.equal([1, 2, 5, 6]); + expect(payload.tags[0].video_frameworks).to.be.an('array'); + expect(payload.tags[0].video_frameworks).to.deep.equal([1, 2, 5, 6]); + expect(payload.tags[0].video.frameworks).to.not.exist; + + // without bid.params.frameworks + const bidRequest_B = Object.assign({}, bidRequests[0]); + request = spec.buildRequests([bidRequest_B]); + payload = JSON.parse(request.data); + expect(payload.iab_support).to.not.exist; + expect(payload.tags[0].banner_frameworks).to.not.exist; + expect(payload.tags[0].video_frameworks).to.not.exist; + + // with video.frameworks but it is not an array + const bidRequest_C = Object.assign({}, bidRequests[0], { + params: { + video: { + frameworks: "'1', '2', '3', '6'" + } } - }; - const bids = spec.interpretResponse(serverResponse, req); - expect(bids[0].ad).to.include('tracker.example.com/impression'); - }); - }); - - // ------------------------------------------------------------------------- - // interpretResponse — native jsTrackers combinations - // ------------------------------------------------------------------------- - describe('interpretResponse - native jsTrackers combinations', function () { - function buildNativeReq() { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { native: { title: { required: true } } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - return req; - } - - it('should combine string jsTracker with viewability.config into array [str, disarmed]', function () { - const req = buildNativeReq(); - const impId = req.data.imp[0].id; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - adm: JSON.stringify({ native: { title: 'T', javascript_trackers: 'https://existing-tracker.com/t.js' } }), - ext: { - appnexus: { - bid_ad_type: 3, - viewability: { config: '' } - } + }); + request = spec.buildRequests([bidRequest_C]); + payload = JSON.parse(request.data); + expect(payload.iab_support).to.not.exist; + expect(payload.tags[0].banner_frameworks).to.not.exist; + expect(payload.tags[0].video_frameworks).to.not.exist; + }); + }) + + describe('interpretResponse', function () { + let bidderSettingsStorage; + + before(function() { + bidderSettingsStorage = getGlobal().bidderSettings; + }); + + after(function() { + getGlobal().bidderSettings = bidderSettingsStorage; + }); + + const response = { + 'version': '3.0.0', + 'tags': [ + { + 'uuid': '3db3773286ee59', + 'tag_id': 10433394, + 'auction_id': '4534722592064951574', + 'nobid': false, + 'no_ad_url': 'https://lax1-ib.adnxs.com/no-ad', + 'timeout_ms': 10000, + 'ad_profile_id': 27079, + 'ads': [ + { + 'content_source': 'rtb', + 'ad_type': 'banner', + 'buyer_member_id': 958, + 'creative_id': 29681110, + 'media_type_id': 1, + 'media_subtype_id': 1, + 'cpm': 0.5, + 'cpm_publisher_currency': 0.5, + 'publisher_currency_code': '$', + 'client_initiated_ad_counting': true, + 'viewability': { + 'config': '' + }, + 'rtb': { + 'banner': { + 'content': '', + 'width': 300, + 'height': 250 + }, + 'trackers': [ + { + 'impression_urls': [ + 'https://lax1-ib.adnxs.com/impression', + 'https://www.test.com/tracker' + ], + 'video_events': {} + } + ] } - }] - }] + } + ] } - }; - const bids = spec.interpretResponse(serverResponse, req); - const trackers = bids[0].native.javascriptTrackers; - expect(trackers).to.be.an('array').with.lengthOf(2); - expect(trackers[0]).to.equal('https://existing-tracker.com/t.js'); - expect(trackers[1]).to.include('data-src='); - }); - - it('should push viewability.config into existing array jsTrackers', function () { - const req = buildNativeReq(); - const impId = req.data.imp[0].id; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - adm: JSON.stringify({ native: { title: 'T', javascript_trackers: ['https://tracker1.com/t.js'] } }), - ext: { - appnexus: { - bid_ad_type: 3, - viewability: { config: '' } - } - } - }] - }] + ] + }; + + it('should get correct bid response', function () { + const expectedResponse = [ + { + 'requestId': '3db3773286ee59', + 'cpm': 0.5, + 'creativeId': 29681110, + 'dealId': undefined, + 'width': 300, + 'height': 250, + 'ad': '', + 'mediaType': 'banner', + 'currency': 'USD', + 'ttl': 300, + 'netRevenue': true, + 'adUnitCode': 'code', + 'mediafuse': { + 'buyerMemberId': 958 + }, + 'meta': { + 'dchain': { + 'ver': '1.0', + 'complete': 0, + 'nodes': [{ + 'bsid': '958' + }] + } + } } + ]; + const bidderRequest = { + bids: [{ + bidId: '3db3773286ee59', + adUnitCode: 'code' + }] }; - const bids = spec.interpretResponse(serverResponse, req); - const trackers = bids[0].native.javascriptTrackers; - expect(trackers).to.be.an('array').with.lengthOf(2); - expect(trackers[0]).to.equal('https://tracker1.com/t.js'); - expect(trackers[1]).to.include('data-src='); + const result = spec.interpretResponse({ body: response }, {bidderRequest}); + expect(Object.keys(result[0])).to.have.members(Object.keys(expectedResponse[0])); }); - it('should combine string jsTracker with eventtrackers into array', function () { - const req = buildNativeReq(); - const impId = req.data.imp[0].id; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - adm: JSON.stringify({ - native: { - title: 'T', - javascript_trackers: 'https://existing-tracker.com/t.js', - eventtrackers: [{ method: 1, url: 'https://event-tracker.com/track' }] - } - }), - ext: { appnexus: { bid_ad_type: 3 } } - }] - }] - } - }; - const bids = spec.interpretResponse(serverResponse, req); - const trackers = bids[0].native.javascriptTrackers; - expect(trackers).to.be.an('array').with.lengthOf(2); - expect(trackers[0]).to.equal('https://existing-tracker.com/t.js'); - expect(trackers[1]).to.equal('https://event-tracker.com/track'); - }); + it('should reject 0 cpm bids', function () { + const zeroCpmResponse = deepClone(response); + zeroCpmResponse.tags[0].ads[0].cpm = 0; - it('should push eventtrackers into existing array jsTrackers', function () { - const req = buildNativeReq(); - const impId = req.data.imp[0].id; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - adm: JSON.stringify({ - native: { - title: 'T', - javascript_trackers: ['https://existing-tracker.com/t.js'], - eventtrackers: [{ method: 1, url: 'https://event-tracker.com/track' }] - } - }), - ext: { appnexus: { bid_ad_type: 3 } } - }] - }] - } + const bidderRequest = { + bidderCode: 'mediafuse' }; - const bids = spec.interpretResponse(serverResponse, req); - const trackers = bids[0].native.javascriptTrackers; - expect(trackers).to.be.an('array').with.lengthOf(2); - expect(trackers[0]).to.equal('https://existing-tracker.com/t.js'); - expect(trackers[1]).to.equal('https://event-tracker.com/track'); + + const result = spec.interpretResponse({ body: zeroCpmResponse }, { bidderRequest }); + expect(result.length).to.equal(0); }); - it('should replace %native_dom_id% macro in eventtrackers during interpretResponse', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { native: { title: { required: true } } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - - const adWithMacro = { - native: { - title: 'T', - eventtrackers: [{ - method: 1, - url: 'https://cdn.adnxs.com/v/trk.js?dom_id=%native_dom_id%&id=123' - }] + it('should allow 0 cpm bids if allowZeroCpmBids setConfig is true', function () { + getGlobal().bidderSettings = { + mediafuse: { + allowZeroCpmBids: true } }; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - adm: JSON.stringify(adWithMacro), - ext: { appnexus: { bid_ad_type: 3 } } - }] - }] - } - }; + const zeroCpmResponse = deepClone(response); + zeroCpmResponse.tags[0].ads[0].cpm = 0; - const bids = spec.interpretResponse(serverResponse, req); - const parsedAdm = JSON.parse(bids[0].ad); - const trackers = parsedAdm.native?.eventtrackers || parsedAdm.eventtrackers; - expect(trackers[0].url).to.include('pbjs_adid='); - expect(trackers[0].url).to.include('pbjs_auc='); - expect(trackers[0].url).to.not.include('%native_dom_id%'); - }); - }); - - // ------------------------------------------------------------------------- - // getUserSyncs — iframe and pixel syncing - // ------------------------------------------------------------------------- - describe('getUserSyncs - iframe and pixel syncing', function () { - it('should add iframe sync when iframeEnabled and purpose-1 consent is present', function () { - const syncOptions = { iframeEnabled: true }; - const gdprConsent = { - gdprApplies: true, - consentString: 'cs', - vendorData: { purpose: { consents: { 1: true } } } + const bidderRequest = { + bidderCode: 'mediafuse', + bids: [{ + bidId: '3db3773286ee59', + adUnitCode: 'code' + }] }; - const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent); - expect(syncs).to.have.lengthOf(1); - expect(syncs[0].type).to.equal('iframe'); - expect(syncs[0].url).to.include('gdpr=1'); - }); - it('should have no gdpr params in pixel url when gdprConsent is null', function () { - const syncOptions = { pixelEnabled: true }; - const serverResponses = [{ - body: { ext: { appnexus: { userSync: { url: 'https://sync.example.com/px' } } } } - }]; - const syncs = spec.getUserSyncs(syncOptions, serverResponses, null); - expect(syncs).to.have.lengthOf(1); - expect(syncs[0].url).to.not.include('gdpr'); + const result = spec.interpretResponse({ body: zeroCpmResponse }, { bidderRequest }); + expect(result.length).to.equal(1); + expect(result[0].cpm).to.equal(0); }); - it('should append gdpr params with & when pixel url already contains ?', function () { - const syncOptions = { pixelEnabled: true }; - const serverResponses = [{ - body: { ext: { appnexus: { userSync: { url: 'https://sync.example.com/px?existing=1' } } } } - }]; - const gdprConsent = { gdprApplies: true, consentString: 'cs' }; - const syncs = spec.getUserSyncs(syncOptions, serverResponses, gdprConsent); - expect(syncs[0].url).to.include('existing=1'); - expect(syncs[0].url).to.include('gdpr=1'); - expect(syncs[0].url).to.match(/\?existing=1&/); - }); - }); - - // ------------------------------------------------------------------------- - // getUserSyncs — iframeEnabled but consent denied (no iframe added) - // ------------------------------------------------------------------------- - describe('getUserSyncs - iframeEnabled denied by consent', function () { - it('should not add iframe sync when iframeEnabled but purpose-1 consent is denied', function () { - const syncOptions = { iframeEnabled: true }; - const gdprConsent = { - gdprApplies: true, - consentString: 'cs', - vendorData: { purpose: { consents: { 1: false } } } + it('handles nobid responses', function () { + const response = { + 'version': '0.0.1', + 'tags': [{ + 'uuid': '84ab500420319d', + 'tag_id': 5976557, + 'auction_id': '297492697822162468', + 'nobid': true + }] }; - const syncs = spec.getUserSyncs(syncOptions, [], gdprConsent); - expect(syncs).to.have.lengthOf(0); - }); - - it('should not add pixel sync when serverResponses is empty', function () { - const syncOptions = { pixelEnabled: true }; - const syncs = spec.getUserSyncs(syncOptions, [], null); - expect(syncs).to.have.lengthOf(0); - }); - - it('should not add pixel sync when response has no userSync url', function () { - const syncOptions = { pixelEnabled: true }; - const serverResponses = [{ body: { ext: { appnexus: {} } } }]; - const syncs = spec.getUserSyncs(syncOptions, serverResponses, null); - expect(syncs).to.have.lengthOf(0); - }); - }); - - // ------------------------------------------------------------------------- - // interpretResponse — bid_ad_type not in RESPONSE_MEDIA_TYPE_MAP - // ------------------------------------------------------------------------- - describe('interpretResponse - unknown bid_ad_type', function () { - it('should not throw when bid_ad_type=2 is not in the media type map', function () { - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.5, - adm: '
creative
', - ext: { appnexus: { bid_ad_type: 2 } } - }] + let bidderRequest; + + const result = spec.interpretResponse({ body: response }, {bidderRequest}); + expect(result.length).to.equal(0); + }); + + it('handles outstream video responses', function () { + const response = { + 'tags': [{ + 'uuid': '84ab500420319d', + 'ads': [{ + 'ad_type': 'video', + 'cpm': 0.500000, + 'notify_url': 'imptracker.com', + 'rtb': { + 'video': { + 'content': '' + } + }, + 'javascriptTrackers': '' }] - } - }; - expect(() => spec.interpretResponse(serverResponse, req)).to.not.throw(); - }); - }); - - // ------------------------------------------------------------------------- - // buildRequests — topmostLocation falsy → rd_ref='' - // ------------------------------------------------------------------------- - describe('buildRequests - topmostLocation falsy', function () { - it('should set rd_ref to empty string when topmostLocation is not present', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.refererInfo = { - topmostLocation: null, - reachedTop: false, - numIframes: 0, - stack: [] + }] }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.ext.appnexus.referrer_detection.rd_ref).to.equal(''); - }); - }); - - // ------------------------------------------------------------------------- - // buildRequests — addtlConsent all-NaN → addtl_consent not set - // ------------------------------------------------------------------------- - describe('buildRequests - addtlConsent all-NaN values', function () { - it('should not set addtl_consent when all values after ~ are NaN', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.gdprConsent = { - gdprApplies: true, - consentString: 'cs', - addtlConsent: '1~abc.def.ghi' - }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.user && req.data.user.ext && req.data.user.ext.addtl_consent).to.be.undefined; - }); - }); - - // ------------------------------------------------------------------------- - // buildRequests — EID with unrecognized source passes through unchanged - // ------------------------------------------------------------------------- - describe('buildRequests - EID unrecognized source', function () { - it('should pass through EID unchanged when source is neither adserver.org nor uidapi.com', function () { - const bid = deepClone(BASE_BID); - bid.userIdAsEids = [{ source: 'unknown-id-provider.com', uids: [{ id: 'some-id', atype: 1 }] }]; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const eid = req.data.user && req.data.user.ext && req.data.user.ext.eids && - req.data.user.ext.eids.find(e => e.source === 'unknown-id-provider.com'); - if (eid) { - expect(eid.rti_partner).to.be.undefined; + const bidderRequest = { + bids: [{ + bidId: '84ab500420319d', + adUnitCode: 'code', + mediaTypes: { + video: { + context: 'outstream' + } + } + }] } - }); - }); - // ------------------------------------------------------------------------- - // getBidFloor — edge cases - // ------------------------------------------------------------------------- - describe('buildRequests - getBidFloor edge cases', function () { - it('should return null when getFloor returns a non-plain-object (null)', function () { - const bid = deepClone(BASE_BID); - bid.getFloor = () => null; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].bidfloor).to.be.undefined; - }); - - it('should return null when getFloor returns a NaN floor value', function () { - const bid = deepClone(BASE_BID); - bid.getFloor = () => ({ currency: 'USD', floor: NaN }); - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].bidfloor).to.be.undefined; - }); - }); - - // ------------------------------------------------------------------------- - // buildRequests — banner_frameworks type guard - // ------------------------------------------------------------------------- - describe('buildRequests - banner_frameworks invalid type', function () { - it('should not set banner_frameworks when value is a string (not array of nums)', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { banner: { sizes: [[300, 250]] } }; - bid.params.banner_frameworks = 'not-an-array'; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.banner_frameworks).to.be.undefined; - }); - }); - - // ------------------------------------------------------------------------- - // buildRequests — video params frameworks type guard - // ------------------------------------------------------------------------- - describe('buildRequests - video params frameworks', function () { - it('should not set video_frameworks when params.video.frameworks is not an array', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; - bid.params.video = { frameworks: 'not-an-array' }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.video_frameworks).to.be.undefined; - }); - }); - - // ------------------------------------------------------------------------- - // buildRequests — banner_frameworks param fallback - // ------------------------------------------------------------------------- - describe('buildRequests - banner frameworks param fallback', function () { - it('should use bid.params.frameworks as fallback when banner_frameworks is absent', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { banner: { sizes: [[300, 250]] } }; - bid.params.frameworks = [1, 2]; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.banner_frameworks).to.deep.equal([1, 2]); - }); - }); - - // ------------------------------------------------------------------------- - // buildRequests — refererInfo.stack absent - // ------------------------------------------------------------------------- - describe('buildRequests - refererInfo stack absent', function () { - it('should set rd_stk to undefined when stack is not present in refererInfo', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.refererInfo = { - topmostLocation: 'http://example.com', - reachedTop: true, - numIframes: 0 + const result = spec.interpretResponse({ body: response }, {bidderRequest}); + expect(result[0]).to.have.property('vastXml'); + expect(result[0]).to.have.property('vastImpUrl'); + expect(result[0]).to.have.property('mediaType', 'video'); + }); + + it('handles instream video responses', function () { + const response = { + 'tags': [{ + 'uuid': '84ab500420319d', + 'ads': [{ + 'ad_type': 'video', + 'cpm': 0.500000, + 'notify_url': 'imptracker.com', + 'rtb': { + 'video': { + 'asset_url': 'https://sample.vastURL.com/here/vid' + } + }, + 'javascriptTrackers': '' + }] + }] }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.ext.appnexus.referrer_detection.rd_stk).to.be.undefined; - }); - }); + const bidderRequest = { + bids: [{ + bidId: '84ab500420319d', + adUnitCode: 'code', + mediaTypes: { + video: { + context: 'instream' + } + } + }] + } - // ------------------------------------------------------------------------- - // interpretResponse — renderer options from mediaTypes.video.renderer.options - // ------------------------------------------------------------------------- - describe('interpretResponse - renderer options from mediaTypes.video.renderer', function () { - it('should use mediaTypes.video.renderer.options when available', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'outstream', playerSize: [640, 480], renderer: { options: { key: 'val' } } } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 3.0, - ext: { - appnexus: { - bid_ad_type: 1, - renderer_url: 'https://cdn.adnxs.com/renderer.js', - renderer_id: 42 - } + const result = spec.interpretResponse({ body: response }, {bidderRequest}); + expect(result[0]).to.have.property('vastUrl'); + expect(result[0]).to.have.property('vastImpUrl'); + expect(result[0]).to.have.property('mediaType', 'video'); + }); + + it('handles adpod responses', function () { + const response = { + 'tags': [{ + 'uuid': '84ab500420319d', + 'ads': [{ + 'ad_type': 'video', + 'brand_category_id': 10, + 'cpm': 0.500000, + 'notify_url': 'imptracker.com', + 'rtb': { + 'video': { + 'asset_url': 'https://sample.vastURL.com/here/adpod', + 'duration_ms': 30000, } - }] + }, + 'viewability': { + 'config': '' + } }] - } + }] }; - const bids = spec.interpretResponse(serverResponse, req); - expect(bids[0].renderer).to.exist; - }); - }); - - // ------------------------------------------------------------------------- - // buildRequests — video params.video takes priority over mediaTypes.video for maxduration - // ------------------------------------------------------------------------- - describe('buildRequests - video maxduration skip overwrite', function () { - if (FEATURES.VIDEO) { - it('should not overwrite maxduration set by params.video when mediaTypes.video.maxduration also present', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], maxduration: 15 } }; - bid.params.video = { maxduration: 30 }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.maxduration).to.equal(30); - }); - } - }); - - // ------------------------------------------------------------------------- - // buildRequests — video params.video takes priority over mediaTypes.video for skippable - // ------------------------------------------------------------------------- - describe('buildRequests - video skippable skip overwrite', function () { - if (FEATURES.VIDEO) { - it('should not overwrite skippable set by params.video when mediaTypes.video.skip is also present', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], skip: 1 } }; - bid.params.video = { skippable: false }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.skippable).to.be.false; - }); - } - }); - - // ------------------------------------------------------------------------- - // buildRequests — video params.video takes priority over mediaTypes.video for skipoffset - // ------------------------------------------------------------------------- - describe('buildRequests - video skipoffset skip overwrite', function () { - if (FEATURES.VIDEO) { - it('should not overwrite skipoffset set by params.video when mediaTypes.video.skipafter is also present', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], skipafter: 10 } }; - bid.params.video = { skipoffset: 5 }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.skipoffset).to.equal(5); - }); - } - }); - // ------------------------------------------------------------------------- - // buildRequests — video playbackmethod type guard - // ------------------------------------------------------------------------- - describe('buildRequests - video playbackmethod', function () { - if (FEATURES.VIDEO) { - it('should not set playback_method when mediaTypes.video.playbackmethod is not an array', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480], playbackmethod: 2 } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].video.playback_method).to.be.undefined; - }); - } - }); - - // ------------------------------------------------------------------------- - // interpretResponse — video nurl without asset_url - // ------------------------------------------------------------------------- - describe('interpretResponse - video nurl without asset_url', function () { - if (FEATURES.VIDEO) { - it('should set vastImpUrl but not vastUrl when nurl present but asset_url absent', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - const impId = req.data.imp[0].id; - - const serverResponse = { - body: { - seatbid: [{ - bid: [{ - impid: impId, - price: 1.0, - nurl: 'https://notify.example.com/win', - ext: { - appnexus: { - bid_ad_type: 1 - // no asset_url, no renderer_url/renderer_id - } - } - }] - }] + const bidderRequest = { + bids: [{ + bidId: '84ab500420319d', + adUnitCode: 'code', + mediaTypes: { + video: { + context: 'adpod' + } } - }; - const bids = spec.interpretResponse(serverResponse, req); - expect(bids[0].vastImpUrl).to.equal('https://notify.example.com/win'); - expect(bids[0].vastUrl).to.not.include('&redir='); - }); - } - }); - - // ------------------------------------------------------------------------- - // onBidWon — viewability script reload - // ------------------------------------------------------------------------- - describe('onBidWon - viewability', function () { - it('should not throw when bid has no native property', function () { - expect(() => spec.onBidWon({ cpm: 1.0, adUnitCode: 'test' })).to.not.throw(); - }); - - it('should traverse viewability helpers for a string tracker matching cdn.adnxs.com pattern', function () { - const jsScript = ''; - const bid = { - adId: 'ad-id-1', - adUnitCode: 'adunit-code', - native: { javascriptTrackers: jsScript } + }] }; - // Exercises reloadViewabilityScriptWithCorrectParameters, strIsMediafuseViewabilityScript, - // getMediafuseViewabilityScriptFromJsTrackers, and getViewabilityScriptUrlFromPayload. - expect(() => spec.onBidWon(bid)).to.not.throw(); - }); - it('should handle array of trackers and pick the viewability one', function () { - const jsScript = ''; - const bid = { - adId: 'ad-id-2', - adUnitCode: 'adunit-code', - native: { javascriptTrackers: ['', jsScript] } + const result = spec.interpretResponse({ body: response }, {bidderRequest}); + expect(result[0]).to.have.property('vastUrl'); + expect(result[0].video.context).to.equal('adpod'); + expect(result[0].video.durationSeconds).to.equal(30); + }); + + it('handles native responses', function () { + const response1 = deepClone(response); + response1.tags[0].ads[0].ad_type = 'native'; + response1.tags[0].ads[0].rtb.native = { + 'title': 'Native Creative', + 'desc': 'Cool description great stuff', + 'desc2': 'Additional body text', + 'ctatext': 'Do it', + 'sponsored': 'MediaFuse', + 'icon': { + 'width': 0, + 'height': 0, + 'url': 'https://cdn.adnxs.com/icon.png' + }, + 'main_img': { + 'width': 2352, + 'height': 1516, + 'url': 'https://cdn.adnxs.com/img.png' + }, + 'link': { + 'url': 'https://www.mediafuse.com', + 'fallback_url': '', + 'click_trackers': ['https://nym1-ib.adnxs.com/click'] + }, + 'impression_trackers': ['https://example.com'], + 'rating': '5', + 'displayurl': 'https://mediafuse.com/?url=display_url', + 'likes': '38908320', + 'downloads': '874983', + 'price': '9.99', + 'saleprice': 'FREE', + 'phone': '1234567890', + 'address': '28 W 23rd St, New York, NY 10010', + 'privacy_link': 'https://www.mediafuse.com/privacy-policy-agreement/', + 'javascriptTrackers': '' }; - // Exercises the array branch in getMediafuseViewabilityScriptFromJsTrackers. - expect(() => spec.onBidWon(bid)).to.not.throw(); - }); + const bidderRequest = { + bids: [{ + bidId: '3db3773286ee59', + adUnitCode: 'code' + }] + } - it('should not throw when tracker string does not match viewability pattern', function () { - const bid = { - adId: 'ad-id-3', - adUnitCode: 'adunit-code', - native: { javascriptTrackers: '' } + const result = spec.interpretResponse({ body: response1 }, {bidderRequest}); + expect(result[0].native.title).to.equal('Native Creative'); + expect(result[0].native.body).to.equal('Cool description great stuff'); + expect(result[0].native.cta).to.equal('Do it'); + expect(result[0].native.image.url).to.equal('https://cdn.adnxs.com/img.png'); + }); + + it('supports configuring outstream renderers', function () { + const outstreamResponse = deepClone(response); + outstreamResponse.tags[0].ads[0].rtb.video = {}; + outstreamResponse.tags[0].ads[0].renderer_url = 'renderer.js'; + + const bidderRequest = { + bids: [{ + bidId: '3db3773286ee59', + renderer: { + options: { + adText: 'configured' + } + }, + mediaTypes: { + video: { + context: 'outstream' + } + } + }] }; - expect(() => spec.onBidWon(bid)).to.not.throw(); - }); - it('should handle cdn.adnxs-simple.com pattern tracker', function () { - const jsScript = ''; - const bid = { - adId: 'ad-id-4', - adUnitCode: 'adunit-code', - native: { javascriptTrackers: jsScript } + const result = spec.interpretResponse({ body: outstreamResponse }, {bidderRequest}); + expect(result[0].renderer.config).to.deep.equal( + bidderRequest.bids[0].renderer.options + ); + }); + + it('should add deal_priority and deal_code', function() { + const responseWithDeal = deepClone(response); + responseWithDeal.tags[0].ads[0].ad_type = 'video'; + responseWithDeal.tags[0].ads[0].deal_priority = 5; + responseWithDeal.tags[0].ads[0].deal_code = '123'; + responseWithDeal.tags[0].ads[0].rtb.video = { + duration_ms: 1500, + player_width: 640, + player_height: 340, }; - expect(() => spec.onBidWon(bid)).to.not.throw(); - }); - }); - // ------------------------------------------------------------------------- - // onBidderError - // ------------------------------------------------------------------------- - describe('onBidderError', function () { - it('should log an error message via utils.logError', function () { - const logSpy = sandbox.spy(utils, 'logError'); - spec.onBidderError({ error: new Error('network timeout'), bidderRequest: deepClone(BASE_BIDDER_REQUEST) }); - expect(logSpy.called).to.be.true; - expect(logSpy.firstCall.args[0]).to.include('Mediafuse Bidder Error'); - }); - - it('should include the error message in the logged string', function () { - const logSpy = sandbox.spy(utils, 'logError'); - spec.onBidderError({ error: new Error('timeout'), bidderRequest: deepClone(BASE_BIDDER_REQUEST) }); - expect(logSpy.firstCall.args[0]).to.include('timeout'); + const bidderRequest = { + bids: [{ + bidId: '3db3773286ee59', + adUnitCode: 'code', + mediaTypes: { + video: { + context: 'adpod' + } + } + }] + } + const result = spec.interpretResponse({ body: responseWithDeal }, {bidderRequest}); + expect(Object.keys(result[0].mediafuse)).to.include.members(['buyerMemberId', 'dealPriority', 'dealCode']); + expect(result[0].video.dealTier).to.equal(5); }); - }); - // ------------------------------------------------------------------------- - // buildRequests — debug cookie - // ------------------------------------------------------------------------- - describe('buildRequests - debug cookie', function () { - it('should append debug params to URL when valid debug cookie is set', function () { - sandbox.stub(storage, 'getCookie').returns(JSON.stringify({ enabled: true, dongle: 'mfd' })); - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - expect(req.url).to.include('debug=1'); - expect(req.url).to.include('dongle=mfd'); - }); + it('should add advertiser id', function() { + const responseAdvertiserId = deepClone(response); + responseAdvertiserId.tags[0].ads[0].advertiser_id = '123'; - it('should not crash and should skip debug URL when cookie JSON is invalid', function () { - sandbox.stub(storage, 'getCookie').returns('{invalid-json'); - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - expect(req.url).to.not.include('debug=1'); + const bidderRequest = { + bids: [{ + bidId: '3db3773286ee59', + adUnitCode: 'code' + }] + } + const result = spec.interpretResponse({ body: responseAdvertiserId }, {bidderRequest}); + expect(Object.keys(result[0].meta)).to.include.members(['advertiserId']); }); - it('should not append debug params when cookie is absent and no debug URL params', function () { - sandbox.stub(storage, 'getCookie').returns(null); - const [req] = spec.buildRequests([deepClone(BASE_BID)], deepClone(BASE_BIDDER_REQUEST)); - expect(req.url).to.not.include('debug=1'); - }); - }); + it('should add brand id', function() { + const responseBrandId = deepClone(response); + responseBrandId.tags[0].ads[0].brand_id = 123; - // ------------------------------------------------------------------------- - // buildRequests — addtlConsent (GDPR additional consent string) - // ------------------------------------------------------------------------- - describe('buildRequests - addtlConsent', function () { - it('should parse addtlConsent with ~ separator and set user.ext.addtl_consent', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.gdprConsent = { - gdprApplies: true, - consentString: 'consent-string', - addtlConsent: 'abc~1.2.3' - }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.user.ext.addtl_consent).to.deep.equal([1, 2, 3]); - }); - - it('should not set addtl_consent when addtlConsent has no ~ separator', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.gdprConsent = { - gdprApplies: true, - consentString: 'consent-string', - addtlConsent: 'abc123' - }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - const addtlConsent = utils.deepAccess(req.data, 'user.ext.addtl_consent'); - expect(addtlConsent).to.be.undefined; + const bidderRequest = { + bids: [{ + bidId: '3db3773286ee59', + adUnitCode: 'code' + }] + } + const result = spec.interpretResponse({ body: responseBrandId }, {bidderRequest}); + expect(Object.keys(result[0].meta)).to.include.members(['brandId']); }); - it('should skip addtl_consent when addtlConsent segment list is empty after parsing', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.gdprConsent = { - gdprApplies: true, - consentString: 'consent-string', - addtlConsent: 'abc~' - }; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - const addtlConsent = utils.deepAccess(req.data, 'user.ext.addtl_consent'); - expect(addtlConsent).to.be.undefined; - }); - }); + it('should add advertiserDomains', function() { + const responseAdvertiserId = deepClone(response); + responseAdvertiserId.tags[0].ads[0].adomain = ['123']; - // ------------------------------------------------------------------------- - // buildRequests — refererInfo canonicalUrl branch - // ------------------------------------------------------------------------- - describe('buildRequests - refererInfo canonicalUrl', function () { - it('should include rd_can when canonicalUrl is present in refererInfo', function () { - const bidderRequest = deepClone(BASE_BIDDER_REQUEST); - bidderRequest.refererInfo.canonicalUrl = 'https://canonical.example.com/page'; - const [req] = spec.buildRequests([deepClone(BASE_BID)], bidderRequest); - expect(req.data.ext.appnexus.referrer_detection.rd_can).to.equal('https://canonical.example.com/page'); + const bidderRequest = { + bids: [{ + bidId: '3db3773286ee59', + adUnitCode: 'code' + }] + } + const result = spec.interpretResponse({ body: responseAdvertiserId }, {bidderRequest}); + expect(Object.keys(result[0].meta)).to.include.members(['advertiserDomains']); + expect(Object.keys(result[0].meta.advertiserDomains)).to.deep.equal([]); }); }); - - // ------------------------------------------------------------------------- - // buildRequests — video params.video.frameworks branch - // ------------------------------------------------------------------------- - describe('buildRequests - video params.video.frameworks', function () { - if (FEATURES.VIDEO) { - it('should set video_frameworks from bid.params.video.frameworks', function () { - const bid = deepClone(BASE_BID); - bid.mediaTypes = { video: { context: 'instream', playerSize: [640, 480] } }; - bid.params.video = { frameworks: [1, 2, 6], minduration: 5 }; - const [req] = spec.buildRequests([bid], deepClone(BASE_BIDDER_REQUEST)); - expect(req.data.imp[0].ext.appnexus.video_frameworks).to.deep.equal([1, 2, 6]); - expect(req.data.imp[0].video.minduration).to.equal(5); - }); - } - }); }); From d8fb4350befed2c368da2f0f10260245d7b94a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kv=C3=A1=C4=8Dek?= Date: Fri, 27 Feb 2026 16:47:10 +0100 Subject: [PATCH 240/248] Performax adapter: Add user sync and reporting URLs (#14429) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add user sync and reporting urls * add tests, minor refactor * add window.addEventListener only once * fix JSON.parse can return null * Fix unconditional setting user.ext.uids * Add test * swap uids from storage and original user.ext.uids * Add keepalive and log only when debug is turned on --------- Co-authored-by: Michal Kváček --- modules/performaxBidAdapter.js | 155 +++++++- test/spec/modules/performaxBidAdapter_spec.js | 331 +++++++++++++++++- 2 files changed, 484 insertions(+), 2 deletions(-) diff --git a/modules/performaxBidAdapter.js b/modules/performaxBidAdapter.js index 48dd4366f1d..4cb72d75402 100644 --- a/modules/performaxBidAdapter.js +++ b/modules/performaxBidAdapter.js @@ -1,12 +1,94 @@ -import { deepSetValue, deepAccess } from '../src/utils.js'; +import {logWarn, logError, deepSetValue, deepAccess, safeJSONEncode, debugTurnedOn} from '../src/utils.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; import { BANNER } from '../src/mediaTypes.js' import { ortbConverter } from '../libraries/ortbConverter/converter.js'; +import { getStorageManager } from '../src/storageManager.js'; +import { ajax } from '../src/ajax.js'; const BIDDER_CODE = 'performax'; const BIDDER_SHORT_CODE = 'px'; const GVLID = 732 const ENDPOINT = 'https://dale.performax.cz/ortb' +const USER_SYNC_URL = 'https://cdn.performax.cz/px2/cookie_sync_bundle.html'; +const USER_SYNC_ORIGIN = 'https://cdn.performax.cz'; +const UIDS_STORAGE_KEY = BIDDER_SHORT_CODE + '_uids'; +const LOG_EVENT_URL = 'https://chip.performax.cz/error'; +const LOG_EVENT_SAMPLE_RATE = 1; +const LOG_EVENT_TYPE_BIDDER_ERROR = 'bidderError'; +const LOG_EVENT_TYPE_INTERVENTION = 'intervention'; +const LOG_EVENT_TYPE_TIMEOUT = 'timeout'; + +let isUserSyncsInit = false; + +export const storage = getStorageManager({ bidderCode: BIDDER_CODE }); + +/** + * Sends diagnostic events. + * @param {string} type - The category of the event + * @param {Object|Array|string} payload - The data to be logged + * @param {number} [sampleRate=LOG_EVENT_SAMPLE_RATE] - The probability of logging the event + * @returns {void} + */ +function logEvent(type, payload, sampleRate = LOG_EVENT_SAMPLE_RATE) { + if (sampleRate <= Math.random()) { + return; + } + + const data = { type, payload }; + const options = { method: 'POST', withCredentials: true, contentType: 'application/json' }; + + ajax(LOG_EVENT_URL, undefined, safeJSONEncode(data), options); +} + +/** + * Serializes and stores data. + * @param {string} key - The unique identifier + * @param {any} value - The data to store + * @returns {void} + */ +export function storeData(key, value) { + if (!storage.localStorageIsEnabled()) { + if (debugTurnedOn()) logWarn('Local Storage is not enabled'); + return; + } + + try { + storage.setDataInLocalStorage(key, JSON.stringify(value)); + } catch (err) { + logError('Failed to store data: ', err); + } +} + +/** + * Retrieves and parses data. + * @param {string} key - The unique identifier + * @param {any} defaultValue - The value to return if the key is missing or parsing fails. + * @returns {any} The parsed data + */ +export function readData(key, defaultValue) { + if (!storage.localStorageIsEnabled()) { + if (debugTurnedOn()) logWarn('Local Storage is not enabled'); + return defaultValue; + } + + let rawData = storage.getDataFromLocalStorage(key); + + if (rawData === null) { + return defaultValue; + } + + try { + return JSON.parse(rawData) || {}; + } catch (err) { + logError(`Error parsing data for key "${key}": `, err); + return defaultValue; + } +} + +export function resetUserSyncsInit() { + isUserSyncsInit = false; +} + export const converter = ortbConverter({ imp(buildImp, bidRequest, context) { @@ -40,6 +122,23 @@ export const spec = { buildRequests: function (bidRequests, bidderRequest) { const data = converter.toORTB({bidderRequest, bidRequests}) + + const uids = readData(UIDS_STORAGE_KEY, {}); + if (Object.keys(uids).length > 0) { + if (!data.user) { + data.user = {}; + } + + if (!data.user.ext) { + data.user.ext = {}; + } + + data.user.ext.uids = { + ...uids, + ...(data.user.ext.uids ?? {}) + }; + } + return [{ method: 'POST', url: ENDPOINT, @@ -71,7 +170,61 @@ export const spec = { }; return converter.fromORTB({ response: data, request: request.data }).bids }, + getUserSyncs: function(syncOptions, serverResponses, gdprConsent) { + const syncs = []; + + if (!syncOptions.iframeEnabled) { + if (debugTurnedOn()) { + logWarn('User sync is supported only via iframe'); + } + return syncs; + } + + let url = USER_SYNC_URL; + + if (gdprConsent) { + if (typeof gdprConsent.gdprApplies === 'boolean') { + url += `?gdpr=${Number(gdprConsent.gdprApplies)}&gdpr_consent=${gdprConsent.consentString}`; + } else { + url += `?gdpr_consent=${gdprConsent.consentString}`; + } + } + syncs.push({ + type: 'iframe', + url: url + }); + + if (!isUserSyncsInit) { + window.addEventListener('message', function (event) { + if (!event.data || event.origin !== USER_SYNC_ORIGIN || !event.data.flexo_sync_cookie) { + return; + } + + const { uid, vendor } = event.data.flexo_sync_cookie; + + if (!uid || !vendor) { + return; + } + + const uids = readData(UIDS_STORAGE_KEY, {}); + uids[vendor] = uid; + storeData(UIDS_STORAGE_KEY, uids); + }); + isUserSyncsInit = true; + } + + return syncs; + }, + onTimeout: function(timeoutData) { + logEvent(LOG_EVENT_TYPE_TIMEOUT, timeoutData); + }, + onBidderError: function({ bidderRequest }) { + logEvent(LOG_EVENT_TYPE_BIDDER_ERROR, bidderRequest); + }, + onIntervention: function({ bid }) { + logEvent(LOG_EVENT_TYPE_INTERVENTION, bid); + } } registerBidder(spec); diff --git a/test/spec/modules/performaxBidAdapter_spec.js b/test/spec/modules/performaxBidAdapter_spec.js index 218f9402e75..5d072705d0f 100644 --- a/test/spec/modules/performaxBidAdapter_spec.js +++ b/test/spec/modules/performaxBidAdapter_spec.js @@ -1,5 +1,8 @@ import { expect } from 'chai'; -import { spec, converter } from 'modules/performaxBidAdapter.js'; +import { spec, converter, storeData, readData, storage, resetUserSyncsInit } from 'modules/performaxBidAdapter.js'; +import * as utils from '../../../src/utils.js'; +import * as ajax from 'src/ajax.js'; +import sinon from 'sinon'; describe('Performax adapter', function () { const bids = [{ @@ -120,6 +123,56 @@ describe('Performax adapter', function () { }) describe('buildRequests', function () { + let sandbox; + + beforeEach(() => { + sandbox = sinon.createSandbox(); + }); + + afterEach(() => { + sandbox.restore(); + }); + + it('should inject stored UIDs into user.ext.uids if they exist', function() { + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'getDataFromLocalStorage') + .withArgs('px_uids') // BIDDER_SHORT_CODE + '_uids' + .returns(JSON.stringify({ someVendor: '12345' })); + + const requests = spec.buildRequests(bids, bidderRequest); + const data = requests[0].data; + + expect(data.user).to.exist; + expect(data.user.ext).to.exist; + expect(data.user.ext.uids).to.deep.include({ someVendor: '12345' }); + }); + + it('should merge stored UIDs with existing user.ext.uids (preserving existing)', function() { + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'getDataFromLocalStorage') + .withArgs('px_uids') + .returns(JSON.stringify({ storedVendor: 'storedId' })); + + const requestWithUids = { + ...bidderRequest, + ortb2: { + user: { + ext: { + uids: { existingVendor: 'existingId' } + } + } + } + }; + + const requests = spec.buildRequests(bids, requestWithUids); + const data = requests[0].data; + + expect(data.user.ext.uids).to.deep.equal({ + existingVendor: 'existingId', + storedVendor: 'storedId' + }); + }); + it('should set correct request method and url', function () { const requests = spec.buildRequests([bids[0]], bidderRequest); expect(requests).to.be.an('array').that.has.lengthOf(1); @@ -154,6 +207,11 @@ describe('Performax adapter', function () { }); describe('interpretResponse', function () { + it('should return an empty array if the response body is missing', function () { + const result = spec.interpretResponse({}, {}); + expect(result).to.deep.equal([]); + }); + it('should map params correctly', function () { const ortbRequest = {data: converter.toORTB({bidderRequest, bids})}; serverResponse.body.id = ortbRequest.data.id; @@ -172,4 +230,275 @@ describe('Performax adapter', function () { expect(bid.creativeId).to.equal('sample'); }); }); + + describe('Storage Helpers', () => { + let sandbox; + let logWarnSpy; + let logErrorSpy; + + beforeEach(() => { + sandbox = sinon.createSandbox(); + sandbox.stub(storage, 'localStorageIsEnabled'); + sandbox.stub(storage, 'setDataInLocalStorage'); + sandbox.stub(storage, 'getDataFromLocalStorage'); + + logWarnSpy = sandbox.stub(utils, 'logWarn'); + logErrorSpy = sandbox.stub(utils, 'logError'); + }); + + afterEach(() => { + sandbox.restore(); + }); + + describe('storeData', () => { + it('should store serialized data when local storage is enabled', () => { + storage.localStorageIsEnabled.returns(true); + const testData = { foo: 'bar' }; + + storeData('testKey', testData); + + sandbox.assert.calledWithExactly( + storage.setDataInLocalStorage, + 'testKey', + JSON.stringify(testData) + ); + }); + + it('should log a warning and exit if local storage is disabled', () => { + storage.localStorageIsEnabled.returns(false); + + storeData('testKey', { foo: 'bar' }); + + expect(storage.setDataInLocalStorage.called).to.be.false; + sandbox.assert.calledOnce(logWarnSpy); + }); + + it('should log an error if setDataInLocalStorage throws', () => { + storage.localStorageIsEnabled.returns(true); + storage.setDataInLocalStorage.throws(new Error('QuotaExceeded')); + + storeData('testKey', 'someValue'); + + sandbox.assert.calledOnce(logErrorSpy); + }); + }); + + describe('readData', () => { + it('should return parsed data when it exists in storage', () => { + storage.localStorageIsEnabled.returns(true); + const mockValue = { id: 123 }; + storage.getDataFromLocalStorage.withArgs('myKey').returns(JSON.stringify(mockValue)); + + const result = readData('myKey', {}); + + expect(result).to.deep.equal(mockValue); + }); + + it('should return defaultValue if local storage is disabled', () => { + storage.localStorageIsEnabled.returns(false); + const defaultValue = { status: 'default' }; + + const result = readData('myKey', defaultValue); + + expect(result).to.equal(defaultValue); + sandbox.assert.calledOnce(logWarnSpy); + }); + + it('should return defaultValue if the key does not exist (returns null)', () => { + storage.localStorageIsEnabled.returns(true); + storage.getDataFromLocalStorage.returns(null); + + const result = readData('missingKey', 'fallback'); + + expect(result).to.equal('fallback'); + }); + + it('should return defaultValue and log an error if JSON is malformed', () => { + storage.localStorageIsEnabled.returns(true); + storage.getDataFromLocalStorage.returns('not-valid-json{'); + + const result = readData('badKey', { error: true }); + + expect(result).to.deep.equal({ error: true }); + sandbox.assert.calledOnce(logErrorSpy); + }); + }); + }); + + describe('logging', function () { + let ajaxStub; + let randomStub; + + beforeEach(() => { + ajaxStub = sinon.stub(ajax, 'ajax'); + randomStub = sinon.stub(Math, 'random').returns(0); + }); + + afterEach(() => { + ajaxStub.restore(); + randomStub.restore(); + }); + + it('should call ajax when onTimeout is triggered', function () { + const timeoutData = [{ bidId: '123' }]; + spec.onTimeout(timeoutData); + + expect(ajaxStub.calledOnce).to.be.true; + + const [url, callback, data, options] = ajaxStub.firstCall.args; + const parsedData = JSON.parse(data); + + expect(parsedData.type).to.equal('timeout'); + expect(parsedData.payload).to.deep.equal(timeoutData); + expect(options.method).to.equal('POST'); + }); + + it('should call ajax when onBidderError is triggered', function () { + const errorData = { bidderRequest: { some: 'data' } }; + spec.onBidderError(errorData); + + expect(ajaxStub.calledOnce).to.be.true; + + const [url, callback, data] = ajaxStub.firstCall.args; + const parsedData = JSON.parse(data); + + expect(parsedData.type).to.equal('bidderError'); + expect(parsedData.payload).to.deep.equal(errorData.bidderRequest); + }); + + it('should NOT call ajax if sampling logic fails', function () { + randomStub.returns(1.1); + + spec.onTimeout({}); + expect(ajaxStub.called).to.be.false; + }); + + it('should call ajax with correct type "intervention"', function () { + const bidData = { bidId: 'abc' }; + spec.onIntervention({ bid: bidData }); + + expect(ajaxStub.calledOnce).to.be.true; + const [url, callback, data] = ajaxStub.firstCall.args; + const parsed = JSON.parse(data); + + expect(parsed.type).to.equal('intervention'); + expect(parsed.payload).to.deep.equal(bidData); + }); + }); + + describe('getUserSyncs', function () { + let sandbox; + let logWarnSpy; + + beforeEach(() => { + sandbox = sinon.createSandbox(); + logWarnSpy = sandbox.stub(utils, 'logWarn'); + sandbox.stub(storage, 'localStorageIsEnabled').returns(true); + sandbox.stub(storage, 'setDataInLocalStorage'); + sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); + resetUserSyncsInit(); + }); + + afterEach(() => { + sandbox.restore(); + }); + + it('should return empty array and log warning if iframeEnabled is false', function () { + const syncs = spec.getUserSyncs({ iframeEnabled: false }); + expect(syncs).to.deep.equal([]); + expect(logWarnSpy.calledOnce).to.be.true; + }); + + it('should return correct iframe sync url without GDPR', function () { + const syncs = spec.getUserSyncs({ iframeEnabled: true }); + expect(syncs).to.have.lengthOf(1); + expect(syncs[0].type).to.equal('iframe'); + expect(syncs[0].url).to.equal('https://cdn.performax.cz/px2/cookie_sync_bundle.html'); + }); + + it('should append GDPR params when gdprApplies is a boolean', function () { + const consent = { gdprApplies: true, consentString: 'abc' }; + const syncs = spec.getUserSyncs({ iframeEnabled: true }, [], consent); + + expect(syncs[0].url).to.include('?gdpr=1&gdpr_consent=abc'); + }); + + it('should append GDPR params when gdprApplies is undefined/non-boolean', function () { + const consent = { gdprApplies: undefined, consentString: 'abc' }; + const syncs = spec.getUserSyncs({ iframeEnabled: true }, [], consent); + + expect(syncs[0].url).to.include('?gdpr_consent=abc'); + }); + + describe('PostMessage Listener', function () { + it('should store data when valid message is received', function () { + const addEventListenerStub = sandbox.stub(window, 'addEventListener'); + spec.getUserSyncs({ iframeEnabled: true }); + expect(addEventListenerStub.calledWith('message')).to.be.true; + const callback = addEventListenerStub.args.find(arg => arg[0] === 'message')[1]; + + const mockEvent = { + origin: 'https://cdn.performax.cz', + data: { + flexo_sync_cookie: { + uid: 'user123', + vendor: 'vendorXYZ' + } + } + }; + + callback(mockEvent); + + expect(storage.setDataInLocalStorage.calledOnce).to.be.true; + + const [key, value] = storage.setDataInLocalStorage.firstCall.args; + expect(key).to.equal('px_uids'); + expect(JSON.parse(value)).to.deep.equal({ + vendorXYZ: 'user123' + }); + }); + + it('should ignore messages from invalid origins', function () { + const addEventListenerStub = sandbox.stub(window, 'addEventListener'); + spec.getUserSyncs({ iframeEnabled: true }); + + const callback = addEventListenerStub.args.find(arg => arg[0] === 'message')[1]; + + const mockEvent = { + origin: 'https://not.cdn.performax.cz', + data: { flexo_sync_cookie: { uid: '1', vendor: '2' } } + }; + + callback(mockEvent); + + expect(storage.setDataInLocalStorage.called).to.be.false; + }); + + it('should ignore messages with missing structure', function () { + const addEventListenerStub = sandbox.stub(window, 'addEventListener'); + spec.getUserSyncs({ iframeEnabled: true }); + + const callback = addEventListenerStub.args.find(arg => arg[0] === 'message')[1]; + + const mockEvent = { + origin: 'https://cdn.performax.cz', + data: { wrong_key: 123 } // Missing flexo_sync_cookie + }; + + callback(mockEvent); + + expect(storage.setDataInLocalStorage.called).to.be.false; + }); + + it('should not register duplicate listeners on multiple calls', function () { + const addEventListenerStub = sandbox.stub(window, 'addEventListener'); + + spec.getUserSyncs({ iframeEnabled: true }); + expect(addEventListenerStub.calledOnce).to.be.true; + + spec.getUserSyncs({ iframeEnabled: true }); + expect(addEventListenerStub.calledOnce).to.be.true; + }); + }); + }); }); From 2ba56bdc1129922cffc7bb2b2c10d2f13d2fa888 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Fri, 27 Feb 2026 11:50:42 -0500 Subject: [PATCH 241/248] Revert "Performax adapter: Add user sync and reporting URLs (#14429)" (#14532) This reverts commit d8fb4350befed2c368da2f0f10260245d7b94a73. --- modules/performaxBidAdapter.js | 155 +------- test/spec/modules/performaxBidAdapter_spec.js | 331 +----------------- 2 files changed, 2 insertions(+), 484 deletions(-) diff --git a/modules/performaxBidAdapter.js b/modules/performaxBidAdapter.js index 4cb72d75402..48dd4366f1d 100644 --- a/modules/performaxBidAdapter.js +++ b/modules/performaxBidAdapter.js @@ -1,94 +1,12 @@ -import {logWarn, logError, deepSetValue, deepAccess, safeJSONEncode, debugTurnedOn} from '../src/utils.js'; +import { deepSetValue, deepAccess } from '../src/utils.js'; import { registerBidder } from '../src/adapters/bidderFactory.js'; import { BANNER } from '../src/mediaTypes.js' import { ortbConverter } from '../libraries/ortbConverter/converter.js'; -import { getStorageManager } from '../src/storageManager.js'; -import { ajax } from '../src/ajax.js'; const BIDDER_CODE = 'performax'; const BIDDER_SHORT_CODE = 'px'; const GVLID = 732 const ENDPOINT = 'https://dale.performax.cz/ortb' -const USER_SYNC_URL = 'https://cdn.performax.cz/px2/cookie_sync_bundle.html'; -const USER_SYNC_ORIGIN = 'https://cdn.performax.cz'; -const UIDS_STORAGE_KEY = BIDDER_SHORT_CODE + '_uids'; -const LOG_EVENT_URL = 'https://chip.performax.cz/error'; -const LOG_EVENT_SAMPLE_RATE = 1; -const LOG_EVENT_TYPE_BIDDER_ERROR = 'bidderError'; -const LOG_EVENT_TYPE_INTERVENTION = 'intervention'; -const LOG_EVENT_TYPE_TIMEOUT = 'timeout'; - -let isUserSyncsInit = false; - -export const storage = getStorageManager({ bidderCode: BIDDER_CODE }); - -/** - * Sends diagnostic events. - * @param {string} type - The category of the event - * @param {Object|Array|string} payload - The data to be logged - * @param {number} [sampleRate=LOG_EVENT_SAMPLE_RATE] - The probability of logging the event - * @returns {void} - */ -function logEvent(type, payload, sampleRate = LOG_EVENT_SAMPLE_RATE) { - if (sampleRate <= Math.random()) { - return; - } - - const data = { type, payload }; - const options = { method: 'POST', withCredentials: true, contentType: 'application/json' }; - - ajax(LOG_EVENT_URL, undefined, safeJSONEncode(data), options); -} - -/** - * Serializes and stores data. - * @param {string} key - The unique identifier - * @param {any} value - The data to store - * @returns {void} - */ -export function storeData(key, value) { - if (!storage.localStorageIsEnabled()) { - if (debugTurnedOn()) logWarn('Local Storage is not enabled'); - return; - } - - try { - storage.setDataInLocalStorage(key, JSON.stringify(value)); - } catch (err) { - logError('Failed to store data: ', err); - } -} - -/** - * Retrieves and parses data. - * @param {string} key - The unique identifier - * @param {any} defaultValue - The value to return if the key is missing or parsing fails. - * @returns {any} The parsed data - */ -export function readData(key, defaultValue) { - if (!storage.localStorageIsEnabled()) { - if (debugTurnedOn()) logWarn('Local Storage is not enabled'); - return defaultValue; - } - - let rawData = storage.getDataFromLocalStorage(key); - - if (rawData === null) { - return defaultValue; - } - - try { - return JSON.parse(rawData) || {}; - } catch (err) { - logError(`Error parsing data for key "${key}": `, err); - return defaultValue; - } -} - -export function resetUserSyncsInit() { - isUserSyncsInit = false; -} - export const converter = ortbConverter({ imp(buildImp, bidRequest, context) { @@ -122,23 +40,6 @@ export const spec = { buildRequests: function (bidRequests, bidderRequest) { const data = converter.toORTB({bidderRequest, bidRequests}) - - const uids = readData(UIDS_STORAGE_KEY, {}); - if (Object.keys(uids).length > 0) { - if (!data.user) { - data.user = {}; - } - - if (!data.user.ext) { - data.user.ext = {}; - } - - data.user.ext.uids = { - ...uids, - ...(data.user.ext.uids ?? {}) - }; - } - return [{ method: 'POST', url: ENDPOINT, @@ -170,61 +71,7 @@ export const spec = { }; return converter.fromORTB({ response: data, request: request.data }).bids }, - getUserSyncs: function(syncOptions, serverResponses, gdprConsent) { - const syncs = []; - - if (!syncOptions.iframeEnabled) { - if (debugTurnedOn()) { - logWarn('User sync is supported only via iframe'); - } - return syncs; - } - - let url = USER_SYNC_URL; - - if (gdprConsent) { - if (typeof gdprConsent.gdprApplies === 'boolean') { - url += `?gdpr=${Number(gdprConsent.gdprApplies)}&gdpr_consent=${gdprConsent.consentString}`; - } else { - url += `?gdpr_consent=${gdprConsent.consentString}`; - } - } - syncs.push({ - type: 'iframe', - url: url - }); - - if (!isUserSyncsInit) { - window.addEventListener('message', function (event) { - if (!event.data || event.origin !== USER_SYNC_ORIGIN || !event.data.flexo_sync_cookie) { - return; - } - - const { uid, vendor } = event.data.flexo_sync_cookie; - - if (!uid || !vendor) { - return; - } - - const uids = readData(UIDS_STORAGE_KEY, {}); - uids[vendor] = uid; - storeData(UIDS_STORAGE_KEY, uids); - }); - isUserSyncsInit = true; - } - - return syncs; - }, - onTimeout: function(timeoutData) { - logEvent(LOG_EVENT_TYPE_TIMEOUT, timeoutData); - }, - onBidderError: function({ bidderRequest }) { - logEvent(LOG_EVENT_TYPE_BIDDER_ERROR, bidderRequest); - }, - onIntervention: function({ bid }) { - logEvent(LOG_EVENT_TYPE_INTERVENTION, bid); - } } registerBidder(spec); diff --git a/test/spec/modules/performaxBidAdapter_spec.js b/test/spec/modules/performaxBidAdapter_spec.js index 5d072705d0f..218f9402e75 100644 --- a/test/spec/modules/performaxBidAdapter_spec.js +++ b/test/spec/modules/performaxBidAdapter_spec.js @@ -1,8 +1,5 @@ import { expect } from 'chai'; -import { spec, converter, storeData, readData, storage, resetUserSyncsInit } from 'modules/performaxBidAdapter.js'; -import * as utils from '../../../src/utils.js'; -import * as ajax from 'src/ajax.js'; -import sinon from 'sinon'; +import { spec, converter } from 'modules/performaxBidAdapter.js'; describe('Performax adapter', function () { const bids = [{ @@ -123,56 +120,6 @@ describe('Performax adapter', function () { }) describe('buildRequests', function () { - let sandbox; - - beforeEach(() => { - sandbox = sinon.createSandbox(); - }); - - afterEach(() => { - sandbox.restore(); - }); - - it('should inject stored UIDs into user.ext.uids if they exist', function() { - sandbox.stub(storage, 'localStorageIsEnabled').returns(true); - sandbox.stub(storage, 'getDataFromLocalStorage') - .withArgs('px_uids') // BIDDER_SHORT_CODE + '_uids' - .returns(JSON.stringify({ someVendor: '12345' })); - - const requests = spec.buildRequests(bids, bidderRequest); - const data = requests[0].data; - - expect(data.user).to.exist; - expect(data.user.ext).to.exist; - expect(data.user.ext.uids).to.deep.include({ someVendor: '12345' }); - }); - - it('should merge stored UIDs with existing user.ext.uids (preserving existing)', function() { - sandbox.stub(storage, 'localStorageIsEnabled').returns(true); - sandbox.stub(storage, 'getDataFromLocalStorage') - .withArgs('px_uids') - .returns(JSON.stringify({ storedVendor: 'storedId' })); - - const requestWithUids = { - ...bidderRequest, - ortb2: { - user: { - ext: { - uids: { existingVendor: 'existingId' } - } - } - } - }; - - const requests = spec.buildRequests(bids, requestWithUids); - const data = requests[0].data; - - expect(data.user.ext.uids).to.deep.equal({ - existingVendor: 'existingId', - storedVendor: 'storedId' - }); - }); - it('should set correct request method and url', function () { const requests = spec.buildRequests([bids[0]], bidderRequest); expect(requests).to.be.an('array').that.has.lengthOf(1); @@ -207,11 +154,6 @@ describe('Performax adapter', function () { }); describe('interpretResponse', function () { - it('should return an empty array if the response body is missing', function () { - const result = spec.interpretResponse({}, {}); - expect(result).to.deep.equal([]); - }); - it('should map params correctly', function () { const ortbRequest = {data: converter.toORTB({bidderRequest, bids})}; serverResponse.body.id = ortbRequest.data.id; @@ -230,275 +172,4 @@ describe('Performax adapter', function () { expect(bid.creativeId).to.equal('sample'); }); }); - - describe('Storage Helpers', () => { - let sandbox; - let logWarnSpy; - let logErrorSpy; - - beforeEach(() => { - sandbox = sinon.createSandbox(); - sandbox.stub(storage, 'localStorageIsEnabled'); - sandbox.stub(storage, 'setDataInLocalStorage'); - sandbox.stub(storage, 'getDataFromLocalStorage'); - - logWarnSpy = sandbox.stub(utils, 'logWarn'); - logErrorSpy = sandbox.stub(utils, 'logError'); - }); - - afterEach(() => { - sandbox.restore(); - }); - - describe('storeData', () => { - it('should store serialized data when local storage is enabled', () => { - storage.localStorageIsEnabled.returns(true); - const testData = { foo: 'bar' }; - - storeData('testKey', testData); - - sandbox.assert.calledWithExactly( - storage.setDataInLocalStorage, - 'testKey', - JSON.stringify(testData) - ); - }); - - it('should log a warning and exit if local storage is disabled', () => { - storage.localStorageIsEnabled.returns(false); - - storeData('testKey', { foo: 'bar' }); - - expect(storage.setDataInLocalStorage.called).to.be.false; - sandbox.assert.calledOnce(logWarnSpy); - }); - - it('should log an error if setDataInLocalStorage throws', () => { - storage.localStorageIsEnabled.returns(true); - storage.setDataInLocalStorage.throws(new Error('QuotaExceeded')); - - storeData('testKey', 'someValue'); - - sandbox.assert.calledOnce(logErrorSpy); - }); - }); - - describe('readData', () => { - it('should return parsed data when it exists in storage', () => { - storage.localStorageIsEnabled.returns(true); - const mockValue = { id: 123 }; - storage.getDataFromLocalStorage.withArgs('myKey').returns(JSON.stringify(mockValue)); - - const result = readData('myKey', {}); - - expect(result).to.deep.equal(mockValue); - }); - - it('should return defaultValue if local storage is disabled', () => { - storage.localStorageIsEnabled.returns(false); - const defaultValue = { status: 'default' }; - - const result = readData('myKey', defaultValue); - - expect(result).to.equal(defaultValue); - sandbox.assert.calledOnce(logWarnSpy); - }); - - it('should return defaultValue if the key does not exist (returns null)', () => { - storage.localStorageIsEnabled.returns(true); - storage.getDataFromLocalStorage.returns(null); - - const result = readData('missingKey', 'fallback'); - - expect(result).to.equal('fallback'); - }); - - it('should return defaultValue and log an error if JSON is malformed', () => { - storage.localStorageIsEnabled.returns(true); - storage.getDataFromLocalStorage.returns('not-valid-json{'); - - const result = readData('badKey', { error: true }); - - expect(result).to.deep.equal({ error: true }); - sandbox.assert.calledOnce(logErrorSpy); - }); - }); - }); - - describe('logging', function () { - let ajaxStub; - let randomStub; - - beforeEach(() => { - ajaxStub = sinon.stub(ajax, 'ajax'); - randomStub = sinon.stub(Math, 'random').returns(0); - }); - - afterEach(() => { - ajaxStub.restore(); - randomStub.restore(); - }); - - it('should call ajax when onTimeout is triggered', function () { - const timeoutData = [{ bidId: '123' }]; - spec.onTimeout(timeoutData); - - expect(ajaxStub.calledOnce).to.be.true; - - const [url, callback, data, options] = ajaxStub.firstCall.args; - const parsedData = JSON.parse(data); - - expect(parsedData.type).to.equal('timeout'); - expect(parsedData.payload).to.deep.equal(timeoutData); - expect(options.method).to.equal('POST'); - }); - - it('should call ajax when onBidderError is triggered', function () { - const errorData = { bidderRequest: { some: 'data' } }; - spec.onBidderError(errorData); - - expect(ajaxStub.calledOnce).to.be.true; - - const [url, callback, data] = ajaxStub.firstCall.args; - const parsedData = JSON.parse(data); - - expect(parsedData.type).to.equal('bidderError'); - expect(parsedData.payload).to.deep.equal(errorData.bidderRequest); - }); - - it('should NOT call ajax if sampling logic fails', function () { - randomStub.returns(1.1); - - spec.onTimeout({}); - expect(ajaxStub.called).to.be.false; - }); - - it('should call ajax with correct type "intervention"', function () { - const bidData = { bidId: 'abc' }; - spec.onIntervention({ bid: bidData }); - - expect(ajaxStub.calledOnce).to.be.true; - const [url, callback, data] = ajaxStub.firstCall.args; - const parsed = JSON.parse(data); - - expect(parsed.type).to.equal('intervention'); - expect(parsed.payload).to.deep.equal(bidData); - }); - }); - - describe('getUserSyncs', function () { - let sandbox; - let logWarnSpy; - - beforeEach(() => { - sandbox = sinon.createSandbox(); - logWarnSpy = sandbox.stub(utils, 'logWarn'); - sandbox.stub(storage, 'localStorageIsEnabled').returns(true); - sandbox.stub(storage, 'setDataInLocalStorage'); - sandbox.stub(storage, 'getDataFromLocalStorage').returns(null); - resetUserSyncsInit(); - }); - - afterEach(() => { - sandbox.restore(); - }); - - it('should return empty array and log warning if iframeEnabled is false', function () { - const syncs = spec.getUserSyncs({ iframeEnabled: false }); - expect(syncs).to.deep.equal([]); - expect(logWarnSpy.calledOnce).to.be.true; - }); - - it('should return correct iframe sync url without GDPR', function () { - const syncs = spec.getUserSyncs({ iframeEnabled: true }); - expect(syncs).to.have.lengthOf(1); - expect(syncs[0].type).to.equal('iframe'); - expect(syncs[0].url).to.equal('https://cdn.performax.cz/px2/cookie_sync_bundle.html'); - }); - - it('should append GDPR params when gdprApplies is a boolean', function () { - const consent = { gdprApplies: true, consentString: 'abc' }; - const syncs = spec.getUserSyncs({ iframeEnabled: true }, [], consent); - - expect(syncs[0].url).to.include('?gdpr=1&gdpr_consent=abc'); - }); - - it('should append GDPR params when gdprApplies is undefined/non-boolean', function () { - const consent = { gdprApplies: undefined, consentString: 'abc' }; - const syncs = spec.getUserSyncs({ iframeEnabled: true }, [], consent); - - expect(syncs[0].url).to.include('?gdpr_consent=abc'); - }); - - describe('PostMessage Listener', function () { - it('should store data when valid message is received', function () { - const addEventListenerStub = sandbox.stub(window, 'addEventListener'); - spec.getUserSyncs({ iframeEnabled: true }); - expect(addEventListenerStub.calledWith('message')).to.be.true; - const callback = addEventListenerStub.args.find(arg => arg[0] === 'message')[1]; - - const mockEvent = { - origin: 'https://cdn.performax.cz', - data: { - flexo_sync_cookie: { - uid: 'user123', - vendor: 'vendorXYZ' - } - } - }; - - callback(mockEvent); - - expect(storage.setDataInLocalStorage.calledOnce).to.be.true; - - const [key, value] = storage.setDataInLocalStorage.firstCall.args; - expect(key).to.equal('px_uids'); - expect(JSON.parse(value)).to.deep.equal({ - vendorXYZ: 'user123' - }); - }); - - it('should ignore messages from invalid origins', function () { - const addEventListenerStub = sandbox.stub(window, 'addEventListener'); - spec.getUserSyncs({ iframeEnabled: true }); - - const callback = addEventListenerStub.args.find(arg => arg[0] === 'message')[1]; - - const mockEvent = { - origin: 'https://not.cdn.performax.cz', - data: { flexo_sync_cookie: { uid: '1', vendor: '2' } } - }; - - callback(mockEvent); - - expect(storage.setDataInLocalStorage.called).to.be.false; - }); - - it('should ignore messages with missing structure', function () { - const addEventListenerStub = sandbox.stub(window, 'addEventListener'); - spec.getUserSyncs({ iframeEnabled: true }); - - const callback = addEventListenerStub.args.find(arg => arg[0] === 'message')[1]; - - const mockEvent = { - origin: 'https://cdn.performax.cz', - data: { wrong_key: 123 } // Missing flexo_sync_cookie - }; - - callback(mockEvent); - - expect(storage.setDataInLocalStorage.called).to.be.false; - }); - - it('should not register duplicate listeners on multiple calls', function () { - const addEventListenerStub = sandbox.stub(window, 'addEventListener'); - - spec.getUserSyncs({ iframeEnabled: true }); - expect(addEventListenerStub.calledOnce).to.be.true; - - spec.getUserSyncs({ iframeEnabled: true }); - expect(addEventListenerStub.calledOnce).to.be.true; - }); - }); - }); }); From 865eb931b9c415ccf59c7fad32ca4b3a8338c013 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Feb 2026 11:58:40 -0500 Subject: [PATCH 242/248] Bump browserstack-local from 1.5.5 to 1.5.11 (#14533) Bumps [browserstack-local](https://github.com/browserstack/browserstack-local-nodejs) from 1.5.5 to 1.5.11. - [Release notes](https://github.com/browserstack/browserstack-local-nodejs/releases) - [Commits](https://github.com/browserstack/browserstack-local-nodejs/compare/v1.5.5...v1.5.11) --- updated-dependencies: - dependency-name: browserstack-local dependency-version: 1.5.11 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 217 +++++----------------------------------------- 1 file changed, 23 insertions(+), 194 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8da1c6e41dc..4dfa1c8e28d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7715,15 +7715,15 @@ } }, "node_modules/browserstack-local": { - "version": "1.5.5", + "version": "1.5.11", + "resolved": "https://registry.npmjs.org/browserstack-local/-/browserstack-local-1.5.11.tgz", + "integrity": "sha512-RNq0yrezPq7BXXxl/cvsbORfswUQi744po6ECkTEC2RkqNbdPyzewdy4VR9k4QHSzPHTkZx8PeH08veRtfFI8A==", "dev": true, - "license": "MIT", "dependencies": { "agent-base": "^6.0.2", "https-proxy-agent": "^5.0.1", "is-running": "^2.1.0", - "ps-tree": "=1.2.0", - "temp-fs": "^0.9.9" + "tree-kill": "^1.2.2" } }, "node_modules/browserstack/node_modules/agent-base": { @@ -11109,24 +11109,6 @@ "es5-ext": "~0.10.14" } }, - "node_modules/event-stream": { - "version": "3.3.4", - "dev": true, - "license": "MIT", - "dependencies": { - "duplexer": "~0.1.1", - "from": "~0", - "map-stream": "~0.1.0", - "pause-stream": "0.0.11", - "split": "0.3", - "stream-combiner": "~0.0.4", - "through": "~2.3.1" - } - }, - "node_modules/event-stream/node_modules/map-stream": { - "version": "0.1.0", - "dev": true - }, "node_modules/event-target-shim": { "version": "5.0.1", "dev": true, @@ -11878,11 +11860,6 @@ "node": ">= 0.6" } }, - "node_modules/from": { - "version": "0.1.7", - "dev": true, - "license": "MIT" - }, "node_modules/fs-extra": { "version": "11.3.1", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz", @@ -17650,17 +17627,6 @@ "node": "*" } }, - "node_modules/pause-stream": { - "version": "0.0.11", - "dev": true, - "license": [ - "MIT", - "Apache2" - ], - "dependencies": { - "through": "~2.3" - } - }, "node_modules/pend": { "version": "1.2.0", "dev": true, @@ -17936,20 +17902,6 @@ "dev": true, "license": "MIT" }, - "node_modules/ps-tree": { - "version": "1.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "event-stream": "=3.3.4" - }, - "bin": { - "ps-tree": "bin/ps-tree.js" - }, - "engines": { - "node": ">= 0.10" - } - }, "node_modules/pump": { "version": "3.0.0", "dev": true, @@ -19462,17 +19414,6 @@ "dev": true, "license": "CC0-1.0" }, - "node_modules/split": { - "version": "0.3.3", - "dev": true, - "license": "MIT", - "dependencies": { - "through": "2" - }, - "engines": { - "node": "*" - } - }, "node_modules/split2": { "version": "4.2.0", "dev": true, @@ -19547,14 +19488,6 @@ "node": ">= 0.10.0" } }, - "node_modules/stream-combiner": { - "version": "0.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "duplexer": "~0.1.1" - } - }, "node_modules/stream-composer": { "version": "1.0.2", "dev": true, @@ -20004,47 +19937,6 @@ "streamx": "^2.12.5" } }, - "node_modules/temp-fs": { - "version": "0.9.9", - "dev": true, - "license": "MIT", - "dependencies": { - "rimraf": "~2.5.2" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/temp-fs/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/temp-fs/node_modules/rimraf": { - "version": "2.5.4", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.0.5" - }, - "bin": { - "rimraf": "bin.js" - } - }, "node_modules/ternary-stream": { "version": "3.0.0", "dev": true, @@ -20354,6 +20246,15 @@ "node": ">=6" } }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true, + "bin": { + "tree-kill": "cli.js" + } + }, "node_modules/triple-beam": { "version": "1.4.1", "dev": true, @@ -27300,14 +27201,15 @@ } }, "browserstack-local": { - "version": "1.5.5", + "version": "1.5.11", + "resolved": "https://registry.npmjs.org/browserstack-local/-/browserstack-local-1.5.11.tgz", + "integrity": "sha512-RNq0yrezPq7BXXxl/cvsbORfswUQi744po6ECkTEC2RkqNbdPyzewdy4VR9k4QHSzPHTkZx8PeH08veRtfFI8A==", "dev": true, "requires": { "agent-base": "^6.0.2", "https-proxy-agent": "^5.0.1", "is-running": "^2.1.0", - "ps-tree": "=1.2.0", - "temp-fs": "^0.9.9" + "tree-kill": "^1.2.2" } }, "buffer-crc32": { @@ -29478,25 +29380,6 @@ "es5-ext": "~0.10.14" } }, - "event-stream": { - "version": "3.3.4", - "dev": true, - "requires": { - "duplexer": "~0.1.1", - "from": "~0", - "map-stream": "~0.1.0", - "pause-stream": "0.0.11", - "split": "0.3", - "stream-combiner": "~0.0.4", - "through": "~2.3.1" - }, - "dependencies": { - "map-stream": { - "version": "0.1.0", - "dev": true - } - } - }, "event-target-shim": { "version": "5.0.1", "dev": true @@ -29992,10 +29875,6 @@ "fresh": { "version": "0.5.2" }, - "from": { - "version": "0.1.7", - "dev": true - }, "fs-extra": { "version": "11.3.1", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz", @@ -33723,13 +33602,6 @@ "version": "1.1.1", "dev": true }, - "pause-stream": { - "version": "0.0.11", - "dev": true, - "requires": { - "through": "~2.3" - } - }, "pend": { "version": "1.2.0", "dev": true @@ -33904,13 +33776,6 @@ "version": "1.0.1", "dev": true }, - "ps-tree": { - "version": "1.2.0", - "dev": true, - "requires": { - "event-stream": "=3.3.4" - } - }, "pump": { "version": "3.0.0", "dev": true, @@ -34899,13 +34764,6 @@ "version": "3.0.18", "dev": true }, - "split": { - "version": "0.3.3", - "dev": true, - "requires": { - "through": "2" - } - }, "split2": { "version": "4.2.0", "dev": true @@ -34952,13 +34810,6 @@ "version": "3.0.2", "dev": true }, - "stream-combiner": { - "version": "0.0.4", - "dev": true, - "requires": { - "duplexer": "~0.1.1" - } - }, "stream-composer": { "version": "1.0.2", "dev": true, @@ -35263,34 +35114,6 @@ "streamx": "^2.12.5" } }, - "temp-fs": { - "version": "0.9.9", - "dev": true, - "requires": { - "rimraf": "~2.5.2" - }, - "dependencies": { - "glob": { - "version": "7.2.3", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "rimraf": { - "version": "2.5.4", - "dev": true, - "requires": { - "glob": "^7.0.5" - } - } - } - }, "ternary-stream": { "version": "3.0.0", "dev": true, @@ -35494,6 +35317,12 @@ "version": "3.0.1", "dev": true }, + "tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true + }, "triple-beam": { "version": "1.4.1", "dev": true From 2a6e78c2c50ca42486201d3ec5b0827fadc46788 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Feb 2026 12:58:57 -0500 Subject: [PATCH 243/248] Bump fast-xml-parser from 5.3.6 to 5.4.1 (#14534) Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.3.6 to 5.4.1. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.3.6...v5.4.1) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-version: 5.4.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4dfa1c8e28d..83ad693982d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11441,10 +11441,22 @@ } ] }, + "node_modules/fast-xml-builder": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.0.0.tgz", + "integrity": "sha512-fpZuDogrAgnyt9oDDz+5DBz0zgPdPZz6D4IR7iESxRXElrlGTRkHJ9eEt+SACRJwT0FNFrt71DFQIUFBJfX/uQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ] + }, "node_modules/fast-xml-parser": { - "version": "5.3.6", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.3.6.tgz", - "integrity": "sha512-QNI3sAvSvaOiaMl8FYU4trnEzCwiRr8XMWgAHzlrWpTSj+QaCSvOf1h82OEP1s4hiAXhnbXSyFWCf4ldZzZRVA==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.4.1.tgz", + "integrity": "sha512-BQ30U1mKkvXQXXkAGcuyUA/GA26oEB7NzOtsxCDtyu62sjGw5QraKFhx2Em3WQNjPw9PG6MQ9yuIIgkSDfGu5A==", "dev": true, "funding": [ { @@ -11453,6 +11465,7 @@ } ], "dependencies": { + "fast-xml-builder": "^1.0.0", "strnum": "^2.1.2" }, "bin": { @@ -29611,12 +29624,19 @@ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", "integrity": "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA==" }, + "fast-xml-builder": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.0.0.tgz", + "integrity": "sha512-fpZuDogrAgnyt9oDDz+5DBz0zgPdPZz6D4IR7iESxRXElrlGTRkHJ9eEt+SACRJwT0FNFrt71DFQIUFBJfX/uQ==", + "dev": true + }, "fast-xml-parser": { - "version": "5.3.6", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.3.6.tgz", - "integrity": "sha512-QNI3sAvSvaOiaMl8FYU4trnEzCwiRr8XMWgAHzlrWpTSj+QaCSvOf1h82OEP1s4hiAXhnbXSyFWCf4ldZzZRVA==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.4.1.tgz", + "integrity": "sha512-BQ30U1mKkvXQXXkAGcuyUA/GA26oEB7NzOtsxCDtyu62sjGw5QraKFhx2Em3WQNjPw9PG6MQ9yuIIgkSDfGu5A==", "dev": true, "requires": { + "fast-xml-builder": "^1.0.0", "strnum": "^2.1.2" } }, From cd2c4c71a306d0bbb47025ae91e4c8206457249a Mon Sep 17 00:00:00 2001 From: Guillaume Polaert Date: Fri, 27 Feb 2026 21:21:22 +0100 Subject: [PATCH 244/248] pubstackBidAdapter: initial release (#14490) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add pubstackBidAdapter (#1) * feat: add SparkBidAdapter * fix: reviews * fix: use iframe for user_sync * fix: change adapter name * fix: add test file * feat: add viewport value in imp[].ext.prebid.bidder.pubstack.vpl * fix: remove unused context * Pubstack Adapter: update utils and align adapter tests * Pubstack Bid Adapter: apply lint-driven TypeScript cleanups --------- Co-authored-by: gpolaert * Update modules/pubstackBidAdapter.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update modules/pubstackBidAdapter.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update libraries/pubstackUtils/index.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update modules/pubstackBidAdapter.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Pubstack Adapter: use placementPositionInfo telemetry --------- Co-authored-by: Stéphane Deluce Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- metadata/modules.json | 7 + modules/pubstackBidAdapter.md | 30 ++ modules/pubstackBidAdapter.ts | 156 +++++++++ test/spec/modules/pubstackBidAdapter_spec.js | 348 +++++++++++++++++++ 4 files changed, 541 insertions(+) create mode 100644 modules/pubstackBidAdapter.md create mode 100644 modules/pubstackBidAdapter.ts create mode 100644 test/spec/modules/pubstackBidAdapter_spec.js diff --git a/metadata/modules.json b/metadata/modules.json index ed326efe85d..39bb38b1059 100644 --- a/metadata/modules.json +++ b/metadata/modules.json @@ -4488,6 +4488,13 @@ "gvlid": 104, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "pubstack", + "aliasOf": null, + "gvlid": 1408, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "sovrn", diff --git a/modules/pubstackBidAdapter.md b/modules/pubstackBidAdapter.md new file mode 100644 index 00000000000..dc3df3b8ee5 --- /dev/null +++ b/modules/pubstackBidAdapter.md @@ -0,0 +1,30 @@ +# Overview +``` +Module Name: Pubstack Bidder Adapter +Module Type: Bidder Adapter +Maintainer: prebid@pubstack.io +``` + +# Description +Connects to Pubstack exchange for bids. + +Pubstack bid adapter supports all media type including video, banner and native. + +# Test Parameters +``` +var adUnits = [{ + code: 'adunit-1', + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + }, + bids: [{ + bidder: 'pubstack', + params: { + siteId: 'your-site-id', + adUnitName: 'adunit-1' + } + }] +}]; +``` \ No newline at end of file diff --git a/modules/pubstackBidAdapter.ts b/modules/pubstackBidAdapter.ts new file mode 100644 index 00000000000..62126136e72 --- /dev/null +++ b/modules/pubstackBidAdapter.ts @@ -0,0 +1,156 @@ +import { canAccessWindowTop, deepSetValue, getWindowSelf, getWindowTop, logError } from '../src/utils.js'; +import { AdapterRequest, BidderSpec, registerBidder, ServerResponse } from '../src/adapters/bidderFactory.js'; +import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; +import { ortbConverter } from '../libraries/ortbConverter/converter.js'; +import { getPlacementPositionUtils } from '../libraries/placementPositionInfo/placementPositionInfo.js'; +import { getGptSlotInfoForAdUnitCode } from '../libraries/gptUtils/gptUtils.js'; +import { BidRequest, ClientBidderRequest } from '../src/adapterManager.js'; +import { ORTBRequest } from '../src/prebid.public.js'; +import { config } from '../src/config.js'; +import { SyncType } from '../src/userSync.js'; +import { ConsentData, CONSENT_GDPR, CONSENT_USP, CONSENT_GPP } from '../src/consentHandler.js'; +import { getGlobal } from '../src/prebidGlobal.js'; + +const BIDDER_CODE = 'pubstack'; +const GVLID = 1408; +const REQUEST_URL = 'https://node.pbstck.com/openrtb2/auction'; +const COOKIESYNC_IFRAME_URL = 'https://cdn.pbstck.com/async_usersync.html'; +const COOKIESYNC_PIXEL_URL = 'https://cdn.pbstck.com/async_usersync.png'; + +declare module '../src/adUnits' { + interface BidderParams { + [BIDDER_CODE]: { + siteId: string; + adUnitName: string; + }; + } +} + +type GetUserSyncFn = ( + syncOptions: { + iframeEnabled: boolean; + pixelEnabled: boolean; + }, + responses: ServerResponse[], + gdprConsent: null | ConsentData[typeof CONSENT_GDPR], + uspConsent: null | ConsentData[typeof CONSENT_USP], + gppConsent: null | ConsentData[typeof CONSENT_GPP]) => ({ type: SyncType, url: string })[] + +const siteIds: Set = new Set(); +let cntRequest = 0; +let cntTimeouts = 0; +const { getPlacementEnv, getPlacementInfo } = getPlacementPositionUtils(); + +const getElementForAdUnitCode = (adUnitCode: string): HTMLElement | undefined => { + if (!adUnitCode) return; + const win = canAccessWindowTop() ? getWindowTop() : getWindowSelf(); + const doc = win?.document; + let element = doc?.getElementById(adUnitCode) as HTMLElement | null; + if (element) return element; + const divId = getGptSlotInfoForAdUnitCode(adUnitCode)?.divId; + element = divId ? doc?.getElementById(divId) as HTMLElement | null : null; + if (element) return element; +}; + +const converter = ortbConverter({ + imp(buildImp, bidRequest: BidRequest, context) { + const element = getElementForAdUnitCode(bidRequest.adUnitCode); + const placementInfo = getPlacementInfo(bidRequest); + const imp = buildImp(bidRequest, context); + deepSetValue(imp, `ext.prebid.bidder.${BIDDER_CODE}.adUnitName`, bidRequest.params.adUnitName); + deepSetValue(imp, `ext.prebid.placement.code`, bidRequest.adUnitCode); + deepSetValue(imp, `ext.prebid.placement.domId`, element?.id); + deepSetValue(imp, `ext.prebid.placement.viewability`, placementInfo.PlacementPercentView); + deepSetValue(imp, `ext.prebid.placement.viewportDistance`, placementInfo.DistanceToView); + deepSetValue(imp, `ext.prebid.placement.height`, placementInfo.ElementHeight); + deepSetValue(imp, `ext.prebid.placement.auctionsCount`, placementInfo.AuctionsCount); + return imp; + }, + request(buildRequest, imps, bidderRequest, context) { + cntRequest++; + const placementEnv = getPlacementEnv(); + const request = buildRequest(imps, bidderRequest, context) + const siteId = bidderRequest.bids[0].params.siteId + siteIds.add(siteId); + deepSetValue(request, 'site.publisher.id', siteId); + deepSetValue(request, 'test', config.getConfig('debug') ? 1 : 0); + deepSetValue(request, 'ext.prebid.version', getGlobal()?.version ?? 'unknown'); + deepSetValue(request, `ext.prebid.request.count`, cntRequest); + deepSetValue(request, `ext.prebid.request.timeoutCount`, cntTimeouts); + deepSetValue(request, `ext.prebid.page.tabActive`, placementEnv.TabActive); + deepSetValue(request, `ext.prebid.page.height`, placementEnv.PageHeight); + deepSetValue(request, `ext.prebid.page.viewportHeight`, placementEnv.ViewportHeight); + deepSetValue(request, `ext.prebid.page.timeFromNavigation`, placementEnv.TimeFromNavigation); + return request; + }, +}); + +const isBidRequestValid = (bid: BidRequest): boolean => { + if (!bid.params.siteId || typeof bid.params.siteId !== 'string') { + logError('bid.params.siteId needs to be a string'); + if (config.getConfig('debug') === false) return false; + } + if (!bid.params.adUnitName || typeof bid.params.adUnitName !== 'string') { + logError('bid.params.adUnitName needs to be a string'); + if (config.getConfig('debug') === false) return false; + } + return true; +}; + +const buildRequests = ( + bidRequests: BidRequest[], + bidderRequest: ClientBidderRequest, +): AdapterRequest => { + const data: ORTBRequest = converter.toORTB({ bidRequests, bidderRequest }); + const siteId = data.site.publisher.id; + return { + method: 'POST', + url: `${REQUEST_URL}?siteId=${siteId}`, + data, + }; +}; + +const interpretResponse = (serverResponse, bidRequest) => { + if (!serverResponse?.body) { + return []; + } + return converter.fromORTB({ request: bidRequest.data, response: serverResponse.body }); +}; + +const getUserSyncs: GetUserSyncFn = (syncOptions, _serverResponses, gdprConsent, uspConsent, gppConsent) => { + const isIframeEnabled = syncOptions.iframeEnabled; + const isPixelEnabled = syncOptions.pixelEnabled; + + if (!isIframeEnabled && !isPixelEnabled) { + return []; + } + + const payload = btoa(JSON.stringify({ + gdprConsentString: gdprConsent?.consentString, + gdprApplies: gdprConsent?.gdprApplies, + uspConsent, + gpp: gppConsent?.gppString, + gpp_sid: gppConsent?.applicableSections + + })); + const syncUrl = isIframeEnabled ? COOKIESYNC_IFRAME_URL : COOKIESYNC_PIXEL_URL; + + return Array.from(siteIds).map(siteId => ({ + type: isIframeEnabled ? 'iframe' : 'image', + url: `${syncUrl}?consent=${payload}&siteId=${siteId}`, + })); +}; + +export const spec: BidderSpec = { + code: BIDDER_CODE, + aliases: [{code: `${BIDDER_CODE}_server`, gvlid: GVLID}], + gvlid: GVLID, + supportedMediaTypes: [BANNER, VIDEO, NATIVE], + isBidRequestValid, + buildRequests, + interpretResponse, + getUserSyncs, + onTimeout: () => cntTimeouts++, +}; + +registerBidder(spec); diff --git a/test/spec/modules/pubstackBidAdapter_spec.js b/test/spec/modules/pubstackBidAdapter_spec.js new file mode 100644 index 00000000000..1f8143e47fa --- /dev/null +++ b/test/spec/modules/pubstackBidAdapter_spec.js @@ -0,0 +1,348 @@ +import { expect } from 'chai'; +import { spec } from 'modules/pubstackBidAdapter'; +import * as utils from 'src/utils.js'; +import { config } from 'src/config.js'; +import { hook } from 'src/hook.js'; +import 'src/prebid.js'; +import 'modules/consentManagementTcf.js'; +import 'modules/consentManagementUsp.js'; +import 'modules/consentManagementGpp.js'; + +describe('pubstackBidAdapter', function () { + const baseBidRequest = { + adUnitCode: 'adunit-code', + auctionId: 'auction-1', + bidId: 'bid-1', + bidder: 'pubstack', + bidderRequestId: 'request-1', + mediaTypes: { banner: { sizes: [[300, 250]] } }, + params: { + siteId: 'site-123', + adUnitName: 'adunit-1' + }, + sizes: [[300, 250]], + transactionId: 'transaction-1' + }; + + const baseBidderRequest = { + gdprConsent: { + gdprApplies: true, + consentString: 'consent-string', + vendorData: { + purpose: { + consents: { 1: true } + } + } + }, + uspConsent: '1YYN', + gppConsent: { + gppString: 'gpp-string', + applicableSections: [7, 8] + }, + refererInfo: { + referer: 'https://example.com' + } + }; + + const clone = (obj) => JSON.parse(JSON.stringify(obj)); + + const createBidRequest = (overrides = {}) => { + const bidRequest = clone(baseBidRequest); + const { params = {}, ...otherOverrides } = overrides; + Object.assign(bidRequest, otherOverrides); + bidRequest.params = { + ...bidRequest.params, + ...params + }; + return bidRequest; + }; + + const createBidderRequest = (bidRequest, overrides = {}) => ({ + ...clone(baseBidderRequest), + bids: [bidRequest], + ...overrides + }); + + const extractBids = (result) => Array.isArray(result) ? result : result?.bids; + + const findSyncForSite = (syncs, siteId) => + syncs.find((sync) => new URL(sync.url).searchParams.get('siteId') === siteId); + + const getDecodedSyncPayload = (sync) => + JSON.parse(atob(new URL(sync.url).searchParams.get('consent'))); + + before(() => { + hook.ready(); + }); + + beforeEach(function () { + config.resetConfig(); + }); + + afterEach(function () { + config.resetConfig(); + }); + + describe('isBidRequestValid', function () { + it('returns true when required params are present', function () { + expect(spec.isBidRequestValid(createBidRequest())).to.equal(true); + }); + + it('returns false for invalid params when debug is disabled', function () { + config.setConfig({ debug: false }); + expect(spec.isBidRequestValid(createBidRequest({ params: { siteId: undefined } }))).to.equal(false); + expect(spec.isBidRequestValid(createBidRequest({ params: { adUnitName: undefined } }))).to.equal(false); + }); + + it('returns true for invalid params when debug is enabled', function () { + config.setConfig({ debug: true }); + expect(spec.isBidRequestValid(createBidRequest({ params: { siteId: undefined } }))).to.equal(true); + expect(spec.isBidRequestValid(createBidRequest({ params: { adUnitName: undefined } }))).to.equal(true); + }); + }); + + describe('buildRequests', function () { + it('builds a POST request with ORTB data and bidder extensions', function () { + const bidRequest = createBidRequest(); + const bidderRequest = createBidderRequest(bidRequest); + const request = spec.buildRequests([bidRequest], bidderRequest); + + expect(request.method).to.equal('POST'); + expect(request.url).to.equal('https://node.pbstck.com/openrtb2/auction?siteId=site-123'); + expect(utils.deepAccess(request, 'data.site.publisher.id')).to.equal('site-123'); + expect(utils.deepAccess(request, 'data.test')).to.equal(0); + expect(request.data.imp).to.have.lengthOf(1); + expect(utils.deepAccess(request, 'data.imp.0.id')).to.equal('bid-1'); + expect(utils.deepAccess(request, 'data.imp.0.ext.prebid.bidder.pubstack.adUnitName')).to.equal('adunit-1'); + expect(utils.deepAccess(request, 'data.imp.0.ext.prebid.placement.code')).to.equal('adunit-code'); + expect(utils.deepAccess(request, 'data.imp.0.ext.prebid.placement.viewability')).to.be.a('number'); + expect(utils.deepAccess(request, 'data.imp.0.ext.prebid.placement.viewportDistance')).to.be.a('number'); + expect(utils.deepAccess(request, 'data.imp.0.ext.prebid.placement.height')).to.be.a('number'); + expect(utils.deepAccess(request, 'data.ext.prebid.version')).to.be.a('string'); + expect(utils.deepAccess(request, 'data.ext.prebid.request.count')).to.be.a('number'); + expect(utils.deepAccess(request, 'data.ext.prebid.request.timeoutCount')).to.be.a('number'); + expect(utils.deepAccess(request, 'data.ext.prebid.page.tabActive')).to.be.a('boolean'); + expect(utils.deepAccess(request, 'data.ext.prebid.page.height')).to.be.a('number'); + expect(utils.deepAccess(request, 'data.ext.prebid.page.viewportHeight')).to.be.a('number'); + expect(utils.deepAccess(request, 'data.ext.prebid.page.timeFromNavigation')).to.be.a('number'); + }); + + it('sets test to 1 when prebid debug mode is enabled', function () { + config.setConfig({ debug: true }); + const bidRequest = createBidRequest({ bidId: 'bid-debug' }); + const bidderRequest = createBidderRequest(bidRequest); + const request = spec.buildRequests([bidRequest], bidderRequest); + + expect(utils.deepAccess(request, 'data.test')).to.equal(1); + }); + + it('increments request counter for each call', function () { + const firstBidRequest = createBidRequest({ bidId: 'bid-counter-1' }); + const firstRequest = spec.buildRequests([firstBidRequest], createBidderRequest(firstBidRequest)); + const secondBidRequest = createBidRequest({ + bidId: 'bid-counter-2', + adUnitCode: 'adunit-code-2', + params: { adUnitName: 'adunit-2' } + }); + const secondRequest = spec.buildRequests([secondBidRequest], createBidderRequest(secondBidRequest)); + + expect(utils.deepAccess(secondRequest, 'data.ext.prebid.request.count')) + .to.equal(utils.deepAccess(firstRequest, 'data.ext.prebid.request.count') + 1); + }); + + it('updates timeout count after onTimeout callback', function () { + const bidRequest = createBidRequest({ bidId: 'bid-timeout-rate-1' }); + const firstRequest = spec.buildRequests([bidRequest], createBidderRequest(bidRequest)); + expect(utils.deepAccess(firstRequest, 'data.ext.prebid.request.timeoutCount')).to.equal(0); + + spec.onTimeout([]); + + const secondBidRequest = createBidRequest({ bidId: 'bid-timeout-rate-2' }); + const secondRequest = spec.buildRequests([secondBidRequest], createBidderRequest(secondBidRequest)); + expect(utils.deepAccess(secondRequest, 'data.ext.prebid.request.timeoutCount')).to.equal(1); + }); + }); + + describe('interpretResponse', function () { + it('returns empty array when response has no body', function () { + const bidRequest = createBidRequest(); + const request = spec.buildRequests([bidRequest], createBidderRequest(bidRequest)); + const bids = spec.interpretResponse({ body: null }, request); + expect(bids).to.be.an('array'); + expect(bids).to.have.lengthOf(0); + }); + + it('maps ORTB bid responses into prebid bids', function () { + const bidRequest = createBidRequest(); + const request = spec.buildRequests([bidRequest], createBidderRequest(bidRequest)); + const serverResponse = { + body: { + id: 'resp-1', + cur: 'USD', + seatbid: [ + { + bid: [ + { + impid: 'bid-1', + mtype: 1, + price: 1.23, + w: 300, + h: 250, + adm: '
ad
', + crid: 'creative-1' + } + ] + } + ] + } + }; + + const result = spec.interpretResponse(serverResponse, request); + const bids = extractBids(result); + expect(bids).to.have.lengthOf(1); + expect(bids[0]).to.include({ + requestId: 'bid-1', + cpm: 1.23, + width: 300, + height: 250, + ad: '
ad
', + creativeId: 'creative-1' + }); + expect(bids[0]).to.have.property('currency', 'USD'); + }); + + it('returns no bids when ORTB response impid does not match request imp ids', function () { + const bidRequest = createBidRequest({ bidId: 'bid-match-required' }); + const request = spec.buildRequests([bidRequest], createBidderRequest(bidRequest)); + const serverResponse = { + body: { + seatbid: [{ + bid: [{ + impid: 'unknown-imp-id', + price: 2.5, + w: 300, + h: 250, + adm: '
ad
', + crid: 'creative-unknown' + }] + }] + } + }; + + expect(extractBids(spec.interpretResponse(serverResponse, request))).to.deep.equal([]); + }); + }); + + describe('getUserSyncs', function () { + it('returns iframe sync with encoded consent payload and site id', function () { + const bidRequest = createBidRequest(); + const bidderRequest = createBidderRequest(bidRequest); + spec.buildRequests([bidRequest], bidderRequest); + + const syncs = spec.getUserSyncs( + { iframeEnabled: true, pixelEnabled: true }, + [], + bidderRequest.gdprConsent, + bidderRequest.uspConsent, + bidderRequest.gppConsent + ); + + const siteSync = findSyncForSite(syncs, 'site-123'); + expect(siteSync).to.not.equal(undefined); + expect(siteSync.type).to.equal('iframe'); + expect(siteSync.url).to.include('https://cdn.pbstck.com/async_usersync.html'); + + const consentPayload = getDecodedSyncPayload(siteSync); + expect(consentPayload).to.deep.equal({ + gdprConsentString: 'consent-string', + gdprApplies: true, + uspConsent: '1YYN', + gpp: 'gpp-string', + gpp_sid: [7, 8] + }); + }); + + it('returns image sync when iframe sync is disabled', function () { + const bidRequest = createBidRequest({ bidId: 'bid-pixel' }); + const bidderRequest = createBidderRequest(bidRequest); + spec.buildRequests([bidRequest], bidderRequest); + + const syncs = spec.getUserSyncs( + { iframeEnabled: false, pixelEnabled: true }, + [], + bidderRequest.gdprConsent, + bidderRequest.uspConsent, + bidderRequest.gppConsent + ); + + const siteSync = findSyncForSite(syncs, 'site-123'); + expect(siteSync).to.not.equal(undefined); + expect(siteSync.type).to.equal('image'); + expect(siteSync.url).to.include('https://cdn.pbstck.com/async_usersync.png'); + }); + + it('returns no syncs when both iframe and pixel sync are disabled', function () { + const bidRequest = createBidRequest({ bidId: 'bid-disabled-syncs' }); + const bidderRequest = createBidderRequest(bidRequest); + spec.buildRequests([bidRequest], bidderRequest); + + const syncs = spec.getUserSyncs( + { iframeEnabled: false, pixelEnabled: false }, + [], + bidderRequest.gdprConsent, + bidderRequest.uspConsent, + bidderRequest.gppConsent + ); + + expect(syncs).to.deep.equal([]); + }); + + it('includes sync entries for each seen site id', function () { + const bidA = createBidRequest({ + bidId: 'bid-site-a', + adUnitCode: 'ad-site-a', + params: { siteId: 'site-a', adUnitName: 'adunit-a' } + }); + const bidB = createBidRequest({ + bidId: 'bid-site-b', + adUnitCode: 'ad-site-b', + params: { siteId: 'site-b', adUnitName: 'adunit-b' } + }); + + spec.buildRequests([bidA], createBidderRequest(bidA)); + spec.buildRequests([bidB], createBidderRequest(bidB)); + + const syncs = spec.getUserSyncs( + { iframeEnabled: true, pixelEnabled: false }, + [], + baseBidderRequest.gdprConsent, + baseBidderRequest.uspConsent, + baseBidderRequest.gppConsent + ); + const siteIds = syncs.map((sync) => new URL(sync.url).searchParams.get('siteId')); + + expect(siteIds).to.include('site-a'); + expect(siteIds).to.include('site-b'); + }); + + it('supports null consent objects in the sync payload', function () { + const bidRequest = createBidRequest({ + bidId: 'bid-null-consent', + params: { siteId: 'site-null-consent', adUnitName: 'adunit-null-consent' } + }); + spec.buildRequests([bidRequest], createBidderRequest(bidRequest)); + + const syncs = spec.getUserSyncs( + { iframeEnabled: true, pixelEnabled: false }, + [], + null, + null, + null + ); + + const siteSync = findSyncForSite(syncs, 'site-null-consent'); + expect(siteSync).to.not.equal(undefined); + expect(getDecodedSyncPayload(siteSync)).to.deep.equal({ uspConsent: null }); + }); + }); +}); From 3607ace5029cdbe93bc7fdc654d7de9980ed5296 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 09:15:52 -0500 Subject: [PATCH 245/248] Bump actions/upload-artifact from 6 to 7 (#14539) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/PR-assignment-deps.yml | 4 ++-- .github/workflows/jscpd.yml | 6 +++--- .github/workflows/linter.yml | 2 +- .github/workflows/run-tests.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/PR-assignment-deps.yml b/.github/workflows/PR-assignment-deps.yml index 731cafa691c..2d7fce88837 100644 --- a/.github/workflows/PR-assignment-deps.yml +++ b/.github/workflows/PR-assignment-deps.yml @@ -20,7 +20,7 @@ jobs: run: | npx gulp build - name: Upload dependencies.json - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: dependencies.json path: ./build/dist/dependencies.json @@ -28,7 +28,7 @@ jobs: run: | echo '{ "prNo": ${{ github.event.pull_request.number }} }' >> ${{ runner.temp}}/prInfo.json - name: Upload PR info - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: prInfo path: ${{ runner.temp}}/prInfo.json diff --git a/.github/workflows/jscpd.yml b/.github/workflows/jscpd.yml index 91b89b018a9..a4b2a14861f 100644 --- a/.github/workflows/jscpd.yml +++ b/.github/workflows/jscpd.yml @@ -56,7 +56,7 @@ jobs: - name: Upload unfiltered jscpd report if: always() - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: unfiltered-jscpd-report path: ./jscpd-report.json @@ -89,7 +89,7 @@ jobs: - name: Upload filtered jscpd report if: env.filtered_report_exists == 'true' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: filtered-jscpd-report path: ./filtered-jscpd-report.json @@ -119,7 +119,7 @@ jobs: - name: Upload comment data if: env.filtered_report_exists == 'true' - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: comment path: ${{ runner.temp }}/comment.json diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 52825abb00a..e4a736c0b25 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -117,7 +117,7 @@ jobs: - name: Upload comment data if: ${{ steps.comment.outputs.result == 'true' }} - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: comment path: ${{ runner.temp }}/comment.json diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c9386396ae5..73cabecce5e 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -206,7 +206,7 @@ jobs: - name: 'Save coverage result' if: ${{ steps.coverage.outputs.coverage }} - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: coverage-partial-${{inputs.test-cmd}}-${{ matrix.chunk-no }} path: ./build/coverage From 2edbe0c75a2582b09e20c75006bbaceeef557a39 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 09:18:13 -0500 Subject: [PATCH 246/248] Bump actions/download-artifact from 7 to 8 (#14540) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v7...v8) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 73cabecce5e..924683ec0e0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -229,7 +229,7 @@ jobs: name: ${{ needs.build.outputs.built-key }} - name: Download coverage results - uses: actions/download-artifact@v7 + uses: actions/download-artifact@v8 with: path: ./build/coverage pattern: coverage-partial-${{ inputs.test-cmd }}-* From b6e0f3625aa9af00f293bebea814aa07914c4919 Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Mon, 2 Mar 2026 14:53:46 +0000 Subject: [PATCH 247/248] Prebid 10.27.0 release --- metadata/modules.json | 63 ++++++++++++------- metadata/modules/33acrossBidAdapter.json | 2 +- metadata/modules/33acrossIdSystem.json | 2 +- metadata/modules/aceexBidAdapter.json | 18 ++++++ metadata/modules/acuityadsBidAdapter.json | 2 +- metadata/modules/adagioBidAdapter.json | 2 +- metadata/modules/adagioRtdProvider.json | 2 +- metadata/modules/adbroBidAdapter.json | 2 +- metadata/modules/addefendBidAdapter.json | 2 +- metadata/modules/adfBidAdapter.json | 2 +- metadata/modules/adfusionBidAdapter.json | 2 +- metadata/modules/adheseBidAdapter.json | 2 +- metadata/modules/adipoloBidAdapter.json | 2 +- metadata/modules/adkernelAdnBidAdapter.json | 2 +- metadata/modules/adkernelBidAdapter.json | 10 +-- metadata/modules/admaticBidAdapter.json | 4 +- metadata/modules/admixerBidAdapter.json | 2 +- metadata/modules/admixerIdSystem.json | 2 +- metadata/modules/adnimationBidAdapter.json | 13 ++++ metadata/modules/adnowBidAdapter.json | 2 +- metadata/modules/adnuntiusBidAdapter.json | 2 +- metadata/modules/adnuntiusRtdProvider.json | 2 +- metadata/modules/adoceanBidAdapter.json | 2 +- metadata/modules/adotBidAdapter.json | 2 +- metadata/modules/adponeBidAdapter.json | 2 +- metadata/modules/adqueryBidAdapter.json | 2 +- metadata/modules/adqueryIdSystem.json | 2 +- metadata/modules/adrinoBidAdapter.json | 2 +- .../modules/ads_interactiveBidAdapter.json | 2 +- metadata/modules/adtargetBidAdapter.json | 2 +- metadata/modules/adtelligentBidAdapter.json | 6 +- metadata/modules/adtelligentIdSystem.json | 2 +- metadata/modules/aduptechBidAdapter.json | 2 +- metadata/modules/adyoulikeBidAdapter.json | 2 +- metadata/modules/airgridRtdProvider.json | 2 +- metadata/modules/alkimiBidAdapter.json | 2 +- metadata/modules/allegroBidAdapter.json | 2 +- metadata/modules/amxBidAdapter.json | 2 +- metadata/modules/amxIdSystem.json | 2 +- metadata/modules/aniviewBidAdapter.json | 2 +- metadata/modules/anonymisedRtdProvider.json | 2 +- metadata/modules/apesterBidAdapter.json | 18 ++++++ metadata/modules/appStockSSPBidAdapter.json | 2 +- metadata/modules/appierBidAdapter.json | 2 +- metadata/modules/appnexusBidAdapter.json | 8 +-- metadata/modules/appushBidAdapter.json | 2 +- metadata/modules/apsBidAdapter.json | 2 +- metadata/modules/apstreamBidAdapter.json | 2 +- metadata/modules/audiencerunBidAdapter.json | 2 +- metadata/modules/axisBidAdapter.json | 2 +- metadata/modules/azerionedgeRtdProvider.json | 2 +- metadata/modules/beachfrontBidAdapter.json | 2 +- metadata/modules/beopBidAdapter.json | 2 +- metadata/modules/betweenBidAdapter.json | 2 +- metadata/modules/bidfuseBidAdapter.json | 2 +- metadata/modules/bidmaticBidAdapter.json | 4 +- metadata/modules/bidtheatreBidAdapter.json | 2 +- metadata/modules/bliinkBidAdapter.json | 2 +- metadata/modules/blockthroughBidAdapter.json | 2 +- metadata/modules/blueBidAdapter.json | 2 +- metadata/modules/bmsBidAdapter.json | 2 +- metadata/modules/boldwinBidAdapter.json | 2 +- metadata/modules/bridBidAdapter.json | 2 +- metadata/modules/browsiBidAdapter.json | 2 +- metadata/modules/bucksenseBidAdapter.json | 2 +- metadata/modules/carodaBidAdapter.json | 2 +- metadata/modules/categoryTranslation.json | 2 +- metadata/modules/ceeIdSystem.json | 2 +- metadata/modules/chromeAiRtdProvider.json | 2 +- metadata/modules/clickioBidAdapter.json | 2 +- metadata/modules/compassBidAdapter.json | 2 +- metadata/modules/conceptxBidAdapter.json | 2 +- metadata/modules/connatixBidAdapter.json | 2 +- metadata/modules/connectIdSystem.json | 2 +- metadata/modules/connectadBidAdapter.json | 2 +- .../modules/contentexchangeBidAdapter.json | 2 +- metadata/modules/conversantBidAdapter.json | 2 +- metadata/modules/copper6sspBidAdapter.json | 2 +- metadata/modules/cpmstarBidAdapter.json | 2 +- metadata/modules/criteoBidAdapter.json | 2 +- metadata/modules/criteoIdSystem.json | 2 +- metadata/modules/cwireBidAdapter.json | 2 +- metadata/modules/czechAdIdSystem.json | 2 +- metadata/modules/dailymotionBidAdapter.json | 2 +- metadata/modules/debugging.json | 2 +- metadata/modules/defineMediaBidAdapter.json | 2 +- metadata/modules/deltaprojectsBidAdapter.json | 2 +- metadata/modules/dianomiBidAdapter.json | 2 +- metadata/modules/digitalMatterBidAdapter.json | 2 +- metadata/modules/distroscaleBidAdapter.json | 2 +- .../modules/docereeAdManagerBidAdapter.json | 2 +- metadata/modules/docereeBidAdapter.json | 2 +- metadata/modules/dpaiBidAdapter.json | 13 ++++ metadata/modules/dspxBidAdapter.json | 2 +- metadata/modules/e_volutionBidAdapter.json | 2 +- metadata/modules/edge226BidAdapter.json | 2 +- metadata/modules/empowerBidAdapter.json | 2 +- metadata/modules/equativBidAdapter.json | 2 +- metadata/modules/eskimiBidAdapter.json | 2 +- metadata/modules/etargetBidAdapter.json | 2 +- metadata/modules/euidIdSystem.json | 2 +- metadata/modules/exadsBidAdapter.json | 2 +- metadata/modules/feedadBidAdapter.json | 2 +- metadata/modules/fwsspBidAdapter.json | 2 +- metadata/modules/gamoshiBidAdapter.json | 4 +- metadata/modules/gemiusIdSystem.json | 2 +- metadata/modules/glomexBidAdapter.json | 2 +- metadata/modules/goldbachBidAdapter.json | 2 +- metadata/modules/gridBidAdapter.json | 2 +- metadata/modules/gumgumBidAdapter.json | 2 +- metadata/modules/hadronIdSystem.json | 2 +- metadata/modules/hadronRtdProvider.json | 2 +- metadata/modules/harionBidAdapter.json | 2 +- metadata/modules/holidBidAdapter.json | 2 +- metadata/modules/hybridBidAdapter.json | 2 +- metadata/modules/id5IdSystem.json | 2 +- metadata/modules/identityLinkIdSystem.json | 2 +- metadata/modules/illuminBidAdapter.json | 2 +- metadata/modules/impactifyBidAdapter.json | 2 +- .../modules/improvedigitalBidAdapter.json | 2 +- metadata/modules/inmobiBidAdapter.json | 2 +- metadata/modules/insticatorBidAdapter.json | 2 +- metadata/modules/insuradsBidAdapter.json | 2 +- metadata/modules/intentIqIdSystem.json | 2 +- metadata/modules/invibesBidAdapter.json | 2 +- metadata/modules/ipromBidAdapter.json | 2 +- metadata/modules/ixBidAdapter.json | 2 +- metadata/modules/justIdSystem.json | 2 +- metadata/modules/justpremiumBidAdapter.json | 2 +- metadata/modules/jwplayerBidAdapter.json | 2 +- metadata/modules/kargoBidAdapter.json | 2 +- metadata/modules/kueezRtbBidAdapter.json | 2 +- .../modules/limelightDigitalBidAdapter.json | 18 +----- metadata/modules/liveIntentIdSystem.json | 2 +- metadata/modules/liveIntentRtdProvider.json | 2 +- metadata/modules/livewrappedBidAdapter.json | 2 +- metadata/modules/loopmeBidAdapter.json | 2 +- metadata/modules/lotamePanoramaIdSystem.json | 2 +- metadata/modules/luponmediaBidAdapter.json | 2 +- metadata/modules/madvertiseBidAdapter.json | 2 +- metadata/modules/marsmediaBidAdapter.json | 2 +- .../modules/mediaConsortiumBidAdapter.json | 2 +- metadata/modules/mediaforceBidAdapter.json | 2 +- metadata/modules/mediafuseBidAdapter.json | 2 +- metadata/modules/mediagoBidAdapter.json | 2 +- metadata/modules/mediakeysBidAdapter.json | 2 +- metadata/modules/medianetBidAdapter.json | 4 +- metadata/modules/mediasquareBidAdapter.json | 2 +- metadata/modules/mgidBidAdapter.json | 2 +- metadata/modules/mgidRtdProvider.json | 2 +- metadata/modules/mgidXBidAdapter.json | 2 +- metadata/modules/minutemediaBidAdapter.json | 2 +- metadata/modules/missenaBidAdapter.json | 2 +- metadata/modules/mobianRtdProvider.json | 2 +- metadata/modules/mobkoiBidAdapter.json | 2 +- metadata/modules/mobkoiIdSystem.json | 2 +- metadata/modules/msftBidAdapter.json | 2 +- metadata/modules/nativeryBidAdapter.json | 2 +- metadata/modules/nativoBidAdapter.json | 2 +- metadata/modules/newspassidBidAdapter.json | 2 +- .../modules/nextMillenniumBidAdapter.json | 2 +- metadata/modules/nextrollBidAdapter.json | 2 +- metadata/modules/nexx360BidAdapter.json | 12 ++-- metadata/modules/nobidBidAdapter.json | 2 +- metadata/modules/nodalsAiRtdProvider.json | 2 +- metadata/modules/novatiqIdSystem.json | 2 +- metadata/modules/oguryBidAdapter.json | 2 +- metadata/modules/omnidexBidAdapter.json | 2 +- metadata/modules/omsBidAdapter.json | 2 +- metadata/modules/onetagBidAdapter.json | 2 +- metadata/modules/openwebBidAdapter.json | 2 +- metadata/modules/openxBidAdapter.json | 2 +- metadata/modules/operaadsBidAdapter.json | 2 +- metadata/modules/optidigitalBidAdapter.json | 2 +- metadata/modules/optoutBidAdapter.json | 2 +- metadata/modules/orbidderBidAdapter.json | 2 +- metadata/modules/outbrainBidAdapter.json | 2 +- metadata/modules/ozoneBidAdapter.json | 2 +- metadata/modules/pairIdSystem.json | 2 +- metadata/modules/panxoBidAdapter.json | 2 +- metadata/modules/performaxBidAdapter.json | 2 +- .../permutiveIdentityManagerIdSystem.json | 2 +- metadata/modules/permutiveRtdProvider.json | 2 +- metadata/modules/pixfutureBidAdapter.json | 2 +- metadata/modules/playdigoBidAdapter.json | 2 +- metadata/modules/prebid-core.json | 4 +- metadata/modules/precisoBidAdapter.json | 2 +- metadata/modules/prismaBidAdapter.json | 2 +- metadata/modules/programmaticXBidAdapter.json | 2 +- metadata/modules/proxistoreBidAdapter.json | 2 +- metadata/modules/publinkIdSystem.json | 2 +- metadata/modules/pubmaticBidAdapter.json | 2 +- metadata/modules/pubmaticIdSystem.json | 2 +- metadata/modules/pubstackBidAdapter.json | 25 ++++++++ metadata/modules/pulsepointBidAdapter.json | 2 +- metadata/modules/quantcastBidAdapter.json | 2 +- metadata/modules/quantcastIdSystem.json | 2 +- metadata/modules/r2b2BidAdapter.json | 2 +- metadata/modules/readpeakBidAdapter.json | 2 +- metadata/modules/relayBidAdapter.json | 2 +- .../modules/relevantdigitalBidAdapter.json | 2 +- metadata/modules/resetdigitalBidAdapter.json | 2 +- metadata/modules/responsiveAdsBidAdapter.json | 2 +- metadata/modules/revcontentBidAdapter.json | 2 +- metadata/modules/revnewBidAdapter.json | 2 +- metadata/modules/rhythmoneBidAdapter.json | 2 +- metadata/modules/richaudienceBidAdapter.json | 2 +- metadata/modules/riseBidAdapter.json | 4 +- metadata/modules/rixengineBidAdapter.json | 2 +- metadata/modules/rtbhouseBidAdapter.json | 2 +- metadata/modules/rubiconBidAdapter.json | 2 +- metadata/modules/scaliburBidAdapter.json | 2 +- metadata/modules/screencoreBidAdapter.json | 4 +- .../modules/seedingAllianceBidAdapter.json | 2 +- metadata/modules/seedtagBidAdapter.json | 2 +- metadata/modules/semantiqRtdProvider.json | 2 +- metadata/modules/setupadBidAdapter.json | 2 +- metadata/modules/sevioBidAdapter.json | 2 +- metadata/modules/sharedIdSystem.json | 2 +- metadata/modules/sharethroughBidAdapter.json | 2 +- metadata/modules/showheroes-bsBidAdapter.json | 2 +- metadata/modules/silvermobBidAdapter.json | 2 +- metadata/modules/sirdataRtdProvider.json | 2 +- metadata/modules/smaatoBidAdapter.json | 2 +- metadata/modules/smartadserverBidAdapter.json | 2 +- metadata/modules/smartxBidAdapter.json | 2 +- metadata/modules/smartyadsBidAdapter.json | 2 +- metadata/modules/smilewantedBidAdapter.json | 2 +- metadata/modules/snigelBidAdapter.json | 2 +- metadata/modules/sonaradsBidAdapter.json | 2 +- metadata/modules/sonobiBidAdapter.json | 2 +- metadata/modules/sovrnBidAdapter.json | 2 +- metadata/modules/sparteoBidAdapter.json | 2 +- metadata/modules/ssmasBidAdapter.json | 2 +- metadata/modules/sspBCBidAdapter.json | 2 +- metadata/modules/stackadaptBidAdapter.json | 2 +- metadata/modules/startioBidAdapter.json | 2 +- metadata/modules/stroeerCoreBidAdapter.json | 2 +- metadata/modules/stvBidAdapter.json | 2 +- metadata/modules/sublimeBidAdapter.json | 2 +- metadata/modules/taboolaBidAdapter.json | 2 +- metadata/modules/taboolaIdSystem.json | 2 +- metadata/modules/tadvertisingBidAdapter.json | 2 +- metadata/modules/tappxBidAdapter.json | 2 +- metadata/modules/targetVideoBidAdapter.json | 2 +- metadata/modules/teadsBidAdapter.json | 2 +- metadata/modules/teadsIdSystem.json | 2 +- metadata/modules/tealBidAdapter.json | 2 +- metadata/modules/tncIdSystem.json | 2 +- metadata/modules/topicsFpdModule.json | 2 +- metadata/modules/toponBidAdapter.json | 2 +- metadata/modules/tripleliftBidAdapter.json | 2 +- metadata/modules/ttdBidAdapter.json | 2 +- metadata/modules/twistDigitalBidAdapter.json | 2 +- metadata/modules/underdogmediaBidAdapter.json | 2 +- metadata/modules/undertoneBidAdapter.json | 2 +- metadata/modules/unifiedIdSystem.json | 2 +- metadata/modules/unrulyBidAdapter.json | 2 +- metadata/modules/userId.json | 2 +- metadata/modules/utiqIdSystem.json | 2 +- metadata/modules/utiqMtpIdSystem.json | 2 +- metadata/modules/validationFpdModule.json | 2 +- metadata/modules/valuadBidAdapter.json | 2 +- metadata/modules/vidazooBidAdapter.json | 2 +- metadata/modules/vidoomyBidAdapter.json | 2 +- metadata/modules/viouslyBidAdapter.json | 2 +- metadata/modules/visxBidAdapter.json | 2 +- metadata/modules/vlybyBidAdapter.json | 2 +- metadata/modules/voxBidAdapter.json | 2 +- metadata/modules/vrtcalBidAdapter.json | 2 +- metadata/modules/vuukleBidAdapter.json | 2 +- metadata/modules/weboramaRtdProvider.json | 2 +- metadata/modules/welectBidAdapter.json | 2 +- metadata/modules/yahooAdsBidAdapter.json | 2 +- metadata/modules/yaleoBidAdapter.json | 2 +- metadata/modules/yieldlabBidAdapter.json | 2 +- metadata/modules/yieldloveBidAdapter.json | 2 +- metadata/modules/yieldmoBidAdapter.json | 2 +- metadata/modules/zeotapIdPlusIdSystem.json | 2 +- metadata/modules/zeta_globalBidAdapter.json | 2 +- .../modules/zeta_global_sspBidAdapter.json | 2 +- package-lock.json | 16 ++--- package.json | 2 +- 283 files changed, 435 insertions(+), 341 deletions(-) create mode 100644 metadata/modules/aceexBidAdapter.json create mode 100644 metadata/modules/adnimationBidAdapter.json create mode 100644 metadata/modules/apesterBidAdapter.json create mode 100644 metadata/modules/dpaiBidAdapter.json create mode 100644 metadata/modules/pubstackBidAdapter.json diff --git a/metadata/modules.json b/metadata/modules.json index 39bb38b1059..60c9f672a99 100644 --- a/metadata/modules.json +++ b/metadata/modules.json @@ -43,6 +43,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "aceex", + "aliasOf": null, + "gvlid": 1387, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "acuityads", @@ -659,6 +666,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "adnimation", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "adnow", @@ -1184,6 +1198,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "apester", + "aliasOf": null, + "gvlid": 354, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "appStockSSP", @@ -2122,6 +2143,13 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "dpai", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "driftpixel", @@ -2829,13 +2857,6 @@ "gvlid": 1358, "disclosureURL": null }, - { - "componentType": "bidder", - "componentName": "apester", - "aliasOf": "limelightDigital", - "gvlid": null, - "disclosureURL": null - }, { "componentType": "bidder", "componentName": "adsyield", @@ -2899,13 +2920,6 @@ "gvlid": null, "disclosureURL": null }, - { - "componentType": "bidder", - "componentName": "adnimation", - "aliasOf": "limelightDigital", - "gvlid": null, - "disclosureURL": null - }, { "componentType": "bidder", "componentName": "rtbdemand", @@ -3858,6 +3872,20 @@ "gvlid": null, "disclosureURL": null }, + { + "componentType": "bidder", + "componentName": "pubstack", + "aliasOf": null, + "gvlid": 1408, + "disclosureURL": null + }, + { + "componentType": "bidder", + "componentName": "pubstack_server", + "aliasOf": "pubstack", + "gvlid": 1408, + "disclosureURL": null + }, { "componentType": "bidder", "componentName": "pubx", @@ -4488,13 +4516,6 @@ "gvlid": 104, "disclosureURL": null }, - { - "componentType": "bidder", - "componentName": "pubstack", - "aliasOf": null, - "gvlid": 1408, - "disclosureURL": null - }, { "componentType": "bidder", "componentName": "sovrn", diff --git a/metadata/modules/33acrossBidAdapter.json b/metadata/modules/33acrossBidAdapter.json index 4b610a461c3..79ecf25a705 100644 --- a/metadata/modules/33acrossBidAdapter.json +++ b/metadata/modules/33acrossBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2026-02-23T16:45:39.806Z", + "timestamp": "2026-03-02T14:44:46.319Z", "disclosures": [] } }, diff --git a/metadata/modules/33acrossIdSystem.json b/metadata/modules/33acrossIdSystem.json index 0ce2459449b..3adce4bba03 100644 --- a/metadata/modules/33acrossIdSystem.json +++ b/metadata/modules/33acrossIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://platform.33across.com/disclosures.json": { - "timestamp": "2026-02-23T16:45:39.909Z", + "timestamp": "2026-03-02T14:44:46.422Z", "disclosures": [] } }, diff --git a/metadata/modules/aceexBidAdapter.json b/metadata/modules/aceexBidAdapter.json new file mode 100644 index 00000000000..f443e609ec4 --- /dev/null +++ b/metadata/modules/aceexBidAdapter.json @@ -0,0 +1,18 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": { + "https://aceex.io/tcf.json": { + "timestamp": "2026-03-02T14:44:46.425Z", + "disclosures": [] + } + }, + "components": [ + { + "componentType": "bidder", + "componentName": "aceex", + "aliasOf": null, + "gvlid": 1387, + "disclosureURL": "https://aceex.io/tcf.json" + } + ] +} \ No newline at end of file diff --git a/metadata/modules/acuityadsBidAdapter.json b/metadata/modules/acuityadsBidAdapter.json index 7b98e95a50d..01786a901ea 100644 --- a/metadata/modules/acuityadsBidAdapter.json +++ b/metadata/modules/acuityadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.acuityads.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:45:39.911Z", + "timestamp": "2026-03-02T14:44:46.471Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioBidAdapter.json b/metadata/modules/adagioBidAdapter.json index 92c90104c38..728761cdcc3 100644 --- a/metadata/modules/adagioBidAdapter.json +++ b/metadata/modules/adagioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:45:39.945Z", + "timestamp": "2026-03-02T14:44:46.503Z", "disclosures": [] } }, diff --git a/metadata/modules/adagioRtdProvider.json b/metadata/modules/adagioRtdProvider.json index 7c93f685dc4..01aba8c973b 100644 --- a/metadata/modules/adagioRtdProvider.json +++ b/metadata/modules/adagioRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adagio.io/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:45:40.036Z", + "timestamp": "2026-03-02T14:44:46.575Z", "disclosures": [] } }, diff --git a/metadata/modules/adbroBidAdapter.json b/metadata/modules/adbroBidAdapter.json index a6dcdef0b1c..c1607d5b2ea 100644 --- a/metadata/modules/adbroBidAdapter.json +++ b/metadata/modules/adbroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tag.adbro.me/privacy/devicestorage.json": { - "timestamp": "2026-02-23T16:45:40.036Z", + "timestamp": "2026-03-02T14:44:46.575Z", "disclosures": [] } }, diff --git a/metadata/modules/addefendBidAdapter.json b/metadata/modules/addefendBidAdapter.json index df69a9d5540..1cd4c70fc97 100644 --- a/metadata/modules/addefendBidAdapter.json +++ b/metadata/modules/addefendBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.addefend.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:40.351Z", + "timestamp": "2026-03-02T14:44:46.894Z", "disclosures": [] } }, diff --git a/metadata/modules/adfBidAdapter.json b/metadata/modules/adfBidAdapter.json index ab8a61481e8..8e01eb95878 100644 --- a/metadata/modules/adfBidAdapter.json +++ b/metadata/modules/adfBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://site.adform.com/assets/devicestorage.json": { - "timestamp": "2026-02-23T16:45:41.307Z", + "timestamp": "2026-03-02T14:45:00.675Z", "disclosures": [] } }, diff --git a/metadata/modules/adfusionBidAdapter.json b/metadata/modules/adfusionBidAdapter.json index 668b5b6c97a..bec524db96d 100644 --- a/metadata/modules/adfusionBidAdapter.json +++ b/metadata/modules/adfusionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spicyrtb.com/static/iab-disclosure.json": { - "timestamp": "2026-02-23T16:45:41.308Z", + "timestamp": "2026-03-02T14:45:00.676Z", "disclosures": [] } }, diff --git a/metadata/modules/adheseBidAdapter.json b/metadata/modules/adheseBidAdapter.json index 092ee382d70..341d5b1c818 100644 --- a/metadata/modules/adheseBidAdapter.json +++ b/metadata/modules/adheseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adhese.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:41.663Z", + "timestamp": "2026-03-02T14:45:01.041Z", "disclosures": [] } }, diff --git a/metadata/modules/adipoloBidAdapter.json b/metadata/modules/adipoloBidAdapter.json index 036a1961d11..54ee67e7037 100644 --- a/metadata/modules/adipoloBidAdapter.json +++ b/metadata/modules/adipoloBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adipolo.com/device_storage_disclosure.json": { - "timestamp": "2026-02-23T16:45:41.943Z", + "timestamp": "2026-03-02T14:45:01.314Z", "disclosures": [] } }, diff --git a/metadata/modules/adkernelAdnBidAdapter.json b/metadata/modules/adkernelAdnBidAdapter.json index b0b98e5cb55..0516f01d293 100644 --- a/metadata/modules/adkernelAdnBidAdapter.json +++ b/metadata/modules/adkernelAdnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:42.098Z", + "timestamp": "2026-03-02T14:45:01.470Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", diff --git a/metadata/modules/adkernelBidAdapter.json b/metadata/modules/adkernelBidAdapter.json index 959d9b275e9..8b11e6d7d24 100644 --- a/metadata/modules/adkernelBidAdapter.json +++ b/metadata/modules/adkernelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.adkernel.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:42.136Z", + "timestamp": "2026-03-02T14:45:01.554Z", "disclosures": [ { "identifier": "adk_rtb_conv_id", @@ -17,19 +17,19 @@ ] }, "https://data.converge-digital.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:42.136Z", + "timestamp": "2026-03-02T14:45:01.554Z", "disclosures": [] }, "https://spinx.biz/tcf-spinx.json": { - "timestamp": "2026-02-23T16:45:42.198Z", + "timestamp": "2026-03-02T14:45:01.604Z", "disclosures": [] }, "https://gdpr.memob.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:42.896Z", + "timestamp": "2026-03-02T14:45:02.320Z", "disclosures": [] }, "https://appmonsta.ai/DeviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:45:42.917Z", + "timestamp": "2026-03-02T14:45:02.337Z", "disclosures": [] } }, diff --git a/metadata/modules/admaticBidAdapter.json b/metadata/modules/admaticBidAdapter.json index e2473a7371a..ded364cbc31 100644 --- a/metadata/modules/admaticBidAdapter.json +++ b/metadata/modules/admaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.admatic.de/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2026-02-23T16:45:43.437Z", + "timestamp": "2026-03-02T14:45:02.895Z", "disclosures": [ { "identifier": "px_pbjs", @@ -12,7 +12,7 @@ ] }, "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:43.437Z", + "timestamp": "2026-03-02T14:45:02.895Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/admixerBidAdapter.json b/metadata/modules/admixerBidAdapter.json index 0f2f9e230e4..8f6d6f99397 100644 --- a/metadata/modules/admixerBidAdapter.json +++ b/metadata/modules/admixerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2026-02-23T16:45:43.438Z", + "timestamp": "2026-03-02T14:45:02.896Z", "disclosures": [] } }, diff --git a/metadata/modules/admixerIdSystem.json b/metadata/modules/admixerIdSystem.json index 6b14f9eb08b..f8bd80f3bca 100644 --- a/metadata/modules/admixerIdSystem.json +++ b/metadata/modules/admixerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admixer.com/tcf.json": { - "timestamp": "2026-02-23T16:45:43.822Z", + "timestamp": "2026-03-02T14:45:03.276Z", "disclosures": [] } }, diff --git a/metadata/modules/adnimationBidAdapter.json b/metadata/modules/adnimationBidAdapter.json new file mode 100644 index 00000000000..7bb7fce194e --- /dev/null +++ b/metadata/modules/adnimationBidAdapter.json @@ -0,0 +1,13 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": {}, + "components": [ + { + "componentType": "bidder", + "componentName": "adnimation", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + } + ] +} \ No newline at end of file diff --git a/metadata/modules/adnowBidAdapter.json b/metadata/modules/adnowBidAdapter.json index 7dea0044c43..cb5aa129b20 100644 --- a/metadata/modules/adnowBidAdapter.json +++ b/metadata/modules/adnowBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adnow.com/vdsod.json": { - "timestamp": "2026-02-23T16:45:43.822Z", + "timestamp": "2026-03-02T14:45:03.276Z", "disclosures": [ { "identifier": "SC_unique_*", diff --git a/metadata/modules/adnuntiusBidAdapter.json b/metadata/modules/adnuntiusBidAdapter.json index 1f3b4f7666c..c2a643ef408 100644 --- a/metadata/modules/adnuntiusBidAdapter.json +++ b/metadata/modules/adnuntiusBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:44.057Z", + "timestamp": "2026-03-02T14:45:16.546Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adnuntiusRtdProvider.json b/metadata/modules/adnuntiusRtdProvider.json index 39503071928..9c3af875f20 100644 --- a/metadata/modules/adnuntiusRtdProvider.json +++ b/metadata/modules/adnuntiusRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.adnuntius.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:44.386Z", + "timestamp": "2026-03-02T14:45:16.877Z", "disclosures": [ { "identifier": "adn.metaData", diff --git a/metadata/modules/adoceanBidAdapter.json b/metadata/modules/adoceanBidAdapter.json index 1aa5c4d8b9d..c97b093663c 100644 --- a/metadata/modules/adoceanBidAdapter.json +++ b/metadata/modules/adoceanBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2026-02-23T16:45:44.386Z", + "timestamp": "2026-03-02T14:45:16.878Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/adotBidAdapter.json b/metadata/modules/adotBidAdapter.json index abfdb8fd8a0..9a38b9d66e3 100644 --- a/metadata/modules/adotBidAdapter.json +++ b/metadata/modules/adotBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.adotmob.com/tcf/tcf.json": { - "timestamp": "2026-02-23T16:45:44.944Z", + "timestamp": "2026-03-02T14:45:17.430Z", "disclosures": [] } }, diff --git a/metadata/modules/adponeBidAdapter.json b/metadata/modules/adponeBidAdapter.json index fb09981c236..7022a062e25 100644 --- a/metadata/modules/adponeBidAdapter.json +++ b/metadata/modules/adponeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.adpone.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:44.982Z", + "timestamp": "2026-03-02T14:45:17.575Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryBidAdapter.json b/metadata/modules/adqueryBidAdapter.json index 481d7d8641f..6ee1ee7d899 100644 --- a/metadata/modules/adqueryBidAdapter.json +++ b/metadata/modules/adqueryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2026-02-23T16:45:45.005Z", + "timestamp": "2026-03-02T14:45:17.832Z", "disclosures": [] } }, diff --git a/metadata/modules/adqueryIdSystem.json b/metadata/modules/adqueryIdSystem.json index 856d53a7cc3..d97e79287da 100644 --- a/metadata/modules/adqueryIdSystem.json +++ b/metadata/modules/adqueryIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.adquery.io/tcf/adQuery.json": { - "timestamp": "2026-02-23T16:45:45.339Z", + "timestamp": "2026-03-02T14:45:18.165Z", "disclosures": [] } }, diff --git a/metadata/modules/adrinoBidAdapter.json b/metadata/modules/adrinoBidAdapter.json index 53fabc3f2ac..1683ae8d010 100644 --- a/metadata/modules/adrinoBidAdapter.json +++ b/metadata/modules/adrinoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.adrino.cloud/iab/device-storage.json": { - "timestamp": "2026-02-23T16:45:45.339Z", + "timestamp": "2026-03-02T14:45:18.166Z", "disclosures": [] } }, diff --git a/metadata/modules/ads_interactiveBidAdapter.json b/metadata/modules/ads_interactiveBidAdapter.json index 647a9890f50..c0bcc3c0438 100644 --- a/metadata/modules/ads_interactiveBidAdapter.json +++ b/metadata/modules/ads_interactiveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adsinteractive.com/vendor.json": { - "timestamp": "2026-02-23T16:45:45.472Z", + "timestamp": "2026-03-02T14:45:18.257Z", "disclosures": [] } }, diff --git a/metadata/modules/adtargetBidAdapter.json b/metadata/modules/adtargetBidAdapter.json index 2f48665cbf8..643548e6a49 100644 --- a/metadata/modules/adtargetBidAdapter.json +++ b/metadata/modules/adtargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtarget.com.tr/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:45.991Z", + "timestamp": "2026-03-02T14:45:18.549Z", "disclosures": [ { "identifier": "adt_pbjs", diff --git a/metadata/modules/adtelligentBidAdapter.json b/metadata/modules/adtelligentBidAdapter.json index b35112b9b94..68c149946c6 100644 --- a/metadata/modules/adtelligentBidAdapter.json +++ b/metadata/modules/adtelligentBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:45.991Z", + "timestamp": "2026-03-02T14:45:18.549Z", "disclosures": [] }, "https://www.selectmedia.asia/gdpr/devicestorage.json": { - "timestamp": "2026-02-23T16:45:46.006Z", + "timestamp": "2026-03-02T14:45:18.568Z", "disclosures": [ { "identifier": "waterFallCacheAnsKey_*", @@ -81,7 +81,7 @@ ] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2026-02-23T16:45:46.157Z", + "timestamp": "2026-03-02T14:45:31.321Z", "disclosures": [] } }, diff --git a/metadata/modules/adtelligentIdSystem.json b/metadata/modules/adtelligentIdSystem.json index 13229a05a8a..63773fb0465 100644 --- a/metadata/modules/adtelligentIdSystem.json +++ b/metadata/modules/adtelligentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adtelligent.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:46.235Z", + "timestamp": "2026-03-02T14:45:31.395Z", "disclosures": [] } }, diff --git a/metadata/modules/aduptechBidAdapter.json b/metadata/modules/aduptechBidAdapter.json index 5920e80f15a..63a0f554c7f 100644 --- a/metadata/modules/aduptechBidAdapter.json +++ b/metadata/modules/aduptechBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.d.adup-tech.com/gdpr/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:46.235Z", + "timestamp": "2026-03-02T14:45:31.395Z", "disclosures": [] } }, diff --git a/metadata/modules/adyoulikeBidAdapter.json b/metadata/modules/adyoulikeBidAdapter.json index 87844aa07e8..80d9bc14b7e 100644 --- a/metadata/modules/adyoulikeBidAdapter.json +++ b/metadata/modules/adyoulikeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adyoulike.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-02-23T16:45:46.253Z", + "timestamp": "2026-03-02T14:45:31.420Z", "disclosures": [] } }, diff --git a/metadata/modules/airgridRtdProvider.json b/metadata/modules/airgridRtdProvider.json index de1bb8ebb1a..e127fd2d00b 100644 --- a/metadata/modules/airgridRtdProvider.json +++ b/metadata/modules/airgridRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.wearemiq.com/privacy-and-compliance/devicestoragedisclosures.json": { - "timestamp": "2026-02-23T16:45:46.717Z", + "timestamp": "2026-03-02T14:45:31.871Z", "disclosures": [] } }, diff --git a/metadata/modules/alkimiBidAdapter.json b/metadata/modules/alkimiBidAdapter.json index cd39fe92629..a9638ab0a47 100644 --- a/metadata/modules/alkimiBidAdapter.json +++ b/metadata/modules/alkimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d1xjh92lb8fey3.cloudfront.net/tcf/alkimi_exchange_tcf.json": { - "timestamp": "2026-02-23T16:45:46.745Z", + "timestamp": "2026-03-02T14:45:31.902Z", "disclosures": [] } }, diff --git a/metadata/modules/allegroBidAdapter.json b/metadata/modules/allegroBidAdapter.json index 09be6ca136f..0d631041437 100644 --- a/metadata/modules/allegroBidAdapter.json +++ b/metadata/modules/allegroBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.allegrostatic.com/dsp-tcf-external/device-storage.json": { - "timestamp": "2026-02-23T16:45:47.028Z", + "timestamp": "2026-03-02T14:45:32.202Z", "disclosures": [] } }, diff --git a/metadata/modules/amxBidAdapter.json b/metadata/modules/amxBidAdapter.json index 2a860a2aaba..8a4900eb3fb 100644 --- a/metadata/modules/amxBidAdapter.json +++ b/metadata/modules/amxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2026-02-23T16:45:47.485Z", + "timestamp": "2026-03-02T14:45:32.667Z", "disclosures": [] } }, diff --git a/metadata/modules/amxIdSystem.json b/metadata/modules/amxIdSystem.json index 7b6aafe01dd..a204078442a 100644 --- a/metadata/modules/amxIdSystem.json +++ b/metadata/modules/amxIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.a-mo.net/tcf/device-storage.json": { - "timestamp": "2026-02-23T16:45:47.524Z", + "timestamp": "2026-03-02T14:45:32.757Z", "disclosures": [] } }, diff --git a/metadata/modules/aniviewBidAdapter.json b/metadata/modules/aniviewBidAdapter.json index b8deecd8258..0bc1a7c7752 100644 --- a/metadata/modules/aniviewBidAdapter.json +++ b/metadata/modules/aniviewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.aniview.com/gdpr/gdpr.json": { - "timestamp": "2026-02-23T16:45:47.524Z", + "timestamp": "2026-03-02T14:45:32.758Z", "disclosures": [ { "identifier": "av_*", diff --git a/metadata/modules/anonymisedRtdProvider.json b/metadata/modules/anonymisedRtdProvider.json index 8260cbedc78..7593b8bcb11 100644 --- a/metadata/modules/anonymisedRtdProvider.json +++ b/metadata/modules/anonymisedRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn1.anonymised.io/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:47.614Z", + "timestamp": "2026-03-02T14:45:32.828Z", "disclosures": [ { "identifier": "oidc.user*", diff --git a/metadata/modules/apesterBidAdapter.json b/metadata/modules/apesterBidAdapter.json new file mode 100644 index 00000000000..372e0ba6a78 --- /dev/null +++ b/metadata/modules/apesterBidAdapter.json @@ -0,0 +1,18 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": { + "https://apester.com/deviceStorage.json": { + "timestamp": "2026-03-02T14:45:33.047Z", + "disclosures": [] + } + }, + "components": [ + { + "componentType": "bidder", + "componentName": "apester", + "aliasOf": null, + "gvlid": 354, + "disclosureURL": "https://apester.com/deviceStorage.json" + } + ] +} \ No newline at end of file diff --git a/metadata/modules/appStockSSPBidAdapter.json b/metadata/modules/appStockSSPBidAdapter.json index 4cca97a2c61..8d113568028 100644 --- a/metadata/modules/appStockSSPBidAdapter.json +++ b/metadata/modules/appStockSSPBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://app-stock.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:47.819Z", + "timestamp": "2026-03-02T14:45:33.167Z", "disclosures": [] } }, diff --git a/metadata/modules/appierBidAdapter.json b/metadata/modules/appierBidAdapter.json index 59823893662..bc805982843 100644 --- a/metadata/modules/appierBidAdapter.json +++ b/metadata/modules/appierBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.appier.com/deviceStorage2025.json": { - "timestamp": "2026-02-23T16:45:47.845Z", + "timestamp": "2026-03-02T14:45:33.203Z", "disclosures": [ { "identifier": "_atrk_ssid", diff --git a/metadata/modules/appnexusBidAdapter.json b/metadata/modules/appnexusBidAdapter.json index 575475e3f1d..59027a399d7 100644 --- a/metadata/modules/appnexusBidAdapter.json +++ b/metadata/modules/appnexusBidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-02-23T16:45:48.607Z", + "timestamp": "2026-03-02T14:45:33.960Z", "disclosures": [] }, "https://beintoo-support.b-cdn.net/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:48.018Z", + "timestamp": "2026-03-02T14:45:33.279Z", "disclosures": [] }, "https://projectagora.net/1032_deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:45:48.146Z", + "timestamp": "2026-03-02T14:45:33.420Z", "disclosures": [] }, "https://adzymic.com/tcf.json": { - "timestamp": "2026-02-23T16:45:48.607Z", + "timestamp": "2026-03-02T14:45:33.960Z", "disclosures": [] } }, diff --git a/metadata/modules/appushBidAdapter.json b/metadata/modules/appushBidAdapter.json index f08a1d0abc5..15019d11110 100644 --- a/metadata/modules/appushBidAdapter.json +++ b/metadata/modules/appushBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.thebiding.com/disclosures.json": { - "timestamp": "2026-02-23T16:45:48.625Z", + "timestamp": "2026-03-02T14:45:33.989Z", "disclosures": [] } }, diff --git a/metadata/modules/apsBidAdapter.json b/metadata/modules/apsBidAdapter.json index c5f467eb5b9..7132ee483e9 100644 --- a/metadata/modules/apsBidAdapter.json +++ b/metadata/modules/apsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://m.media-amazon.com/images/G/01/adprefs/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:45:48.698Z", + "timestamp": "2026-03-02T14:45:34.055Z", "disclosures": [ { "identifier": "vendor-id", diff --git a/metadata/modules/apstreamBidAdapter.json b/metadata/modules/apstreamBidAdapter.json index 51abe574f23..b7a2fb2671d 100644 --- a/metadata/modules/apstreamBidAdapter.json +++ b/metadata/modules/apstreamBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sak.userreport.com/tcf.json": { - "timestamp": "2026-02-23T16:45:48.905Z", + "timestamp": "2026-03-02T14:45:34.071Z", "disclosures": [ { "identifier": "apr_dsu", diff --git a/metadata/modules/audiencerunBidAdapter.json b/metadata/modules/audiencerunBidAdapter.json index 425d6c403b5..ad7d2d71fc5 100644 --- a/metadata/modules/audiencerunBidAdapter.json +++ b/metadata/modules/audiencerunBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.audiencerun.com/tcf.json": { - "timestamp": "2026-02-23T16:45:48.947Z", + "timestamp": "2026-03-02T14:45:34.115Z", "disclosures": [] } }, diff --git a/metadata/modules/axisBidAdapter.json b/metadata/modules/axisBidAdapter.json index 3c7f723af4d..33ade7a617c 100644 --- a/metadata/modules/axisBidAdapter.json +++ b/metadata/modules/axisBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://axis-marketplace.com/tcf.json": { - "timestamp": "2026-02-23T16:45:49.244Z", + "timestamp": "2026-03-02T14:45:34.167Z", "disclosures": [] } }, diff --git a/metadata/modules/azerionedgeRtdProvider.json b/metadata/modules/azerionedgeRtdProvider.json index 7d4a7482075..198266cb6ac 100644 --- a/metadata/modules/azerionedgeRtdProvider.json +++ b/metadata/modules/azerionedgeRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2026-02-23T16:45:49.284Z", + "timestamp": "2026-03-02T14:45:34.210Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/beachfrontBidAdapter.json b/metadata/modules/beachfrontBidAdapter.json index bca8af342af..b7f18cad4eb 100644 --- a/metadata/modules/beachfrontBidAdapter.json +++ b/metadata/modules/beachfrontBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2026-02-23T16:45:49.309Z", + "timestamp": "2026-03-02T14:45:34.236Z", "disclosures": [] } }, diff --git a/metadata/modules/beopBidAdapter.json b/metadata/modules/beopBidAdapter.json index 4abf52c58f3..84b4ecc7f33 100644 --- a/metadata/modules/beopBidAdapter.json +++ b/metadata/modules/beopBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://beop.io/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:49.662Z", + "timestamp": "2026-03-02T14:45:34.257Z", "disclosures": [] } }, diff --git a/metadata/modules/betweenBidAdapter.json b/metadata/modules/betweenBidAdapter.json index 7b7c771fb56..b48dadd84d0 100644 --- a/metadata/modules/betweenBidAdapter.json +++ b/metadata/modules/betweenBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.betweenx.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:49.787Z", + "timestamp": "2026-03-02T14:45:34.379Z", "disclosures": [] } }, diff --git a/metadata/modules/bidfuseBidAdapter.json b/metadata/modules/bidfuseBidAdapter.json index 8ec350d8e5f..cb5dc975164 100644 --- a/metadata/modules/bidfuseBidAdapter.json +++ b/metadata/modules/bidfuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidfuse.com/disclosure.json": { - "timestamp": "2026-02-23T16:45:49.844Z", + "timestamp": "2026-03-02T14:45:34.436Z", "disclosures": [] } }, diff --git a/metadata/modules/bidmaticBidAdapter.json b/metadata/modules/bidmaticBidAdapter.json index 70f05686f72..320c69b6e66 100644 --- a/metadata/modules/bidmaticBidAdapter.json +++ b/metadata/modules/bidmaticBidAdapter.json @@ -2,8 +2,8 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bidmatic.io/.well-known/deviceStorage.json": { - "timestamp": "2026-02-12T16:02:35.232Z", - "disclosures": [] + "timestamp": "2026-03-02T14:45:34.611Z", + "disclosures": null } }, "components": [ diff --git a/metadata/modules/bidtheatreBidAdapter.json b/metadata/modules/bidtheatreBidAdapter.json index 28932b2ac27..987e79d876e 100644 --- a/metadata/modules/bidtheatreBidAdapter.json +++ b/metadata/modules/bidtheatreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.bidtheatre.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:50.078Z", + "timestamp": "2026-03-02T14:45:34.658Z", "disclosures": [] } }, diff --git a/metadata/modules/bliinkBidAdapter.json b/metadata/modules/bliinkBidAdapter.json index a221774de81..9ae146cb5de 100644 --- a/metadata/modules/bliinkBidAdapter.json +++ b/metadata/modules/bliinkBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bliink.io/disclosures.json": { - "timestamp": "2026-02-23T16:45:50.372Z", + "timestamp": "2026-03-02T14:45:34.957Z", "disclosures": [] } }, diff --git a/metadata/modules/blockthroughBidAdapter.json b/metadata/modules/blockthroughBidAdapter.json index 6ca672e3894..b3c53c81f31 100644 --- a/metadata/modules/blockthroughBidAdapter.json +++ b/metadata/modules/blockthroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://blockthrough.com/tcf_disclosures.json": { - "timestamp": "2026-02-23T16:45:50.669Z", + "timestamp": "2026-03-02T14:45:35.252Z", "disclosures": [ { "identifier": "BT_AA_DETECTION", diff --git a/metadata/modules/blueBidAdapter.json b/metadata/modules/blueBidAdapter.json index 08accddbd72..fdefc12b8e7 100644 --- a/metadata/modules/blueBidAdapter.json +++ b/metadata/modules/blueBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://getblue.io/iab/iab.json": { - "timestamp": "2026-02-23T16:45:50.841Z", + "timestamp": "2026-03-02T14:45:35.438Z", "disclosures": [] } }, diff --git a/metadata/modules/bmsBidAdapter.json b/metadata/modules/bmsBidAdapter.json index 7d4f03a43f3..59d3a1914dc 100644 --- a/metadata/modules/bmsBidAdapter.json +++ b/metadata/modules/bmsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bluems.com/iab.json": { - "timestamp": "2026-02-23T16:45:51.242Z", + "timestamp": "2026-03-02T14:45:35.784Z", "disclosures": [] } }, diff --git a/metadata/modules/boldwinBidAdapter.json b/metadata/modules/boldwinBidAdapter.json index b99fd90c052..e8f694fd2b9 100644 --- a/metadata/modules/boldwinBidAdapter.json +++ b/metadata/modules/boldwinBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://magav.videowalldirect.com/iab/videowalldirectiab.json": { - "timestamp": "2026-02-23T16:45:51.273Z", + "timestamp": "2026-03-02T14:45:35.801Z", "disclosures": [] } }, diff --git a/metadata/modules/bridBidAdapter.json b/metadata/modules/bridBidAdapter.json index 5e83165008b..4475c15ed3a 100644 --- a/metadata/modules/bridBidAdapter.json +++ b/metadata/modules/bridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2026-02-23T16:45:51.292Z", + "timestamp": "2026-03-02T14:45:35.828Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/browsiBidAdapter.json b/metadata/modules/browsiBidAdapter.json index 202ed38c166..ddc532d4e32 100644 --- a/metadata/modules/browsiBidAdapter.json +++ b/metadata/modules/browsiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.browsiprod.com/ads/tcf.json": { - "timestamp": "2026-02-23T16:45:51.438Z", + "timestamp": "2026-03-02T14:45:35.966Z", "disclosures": [] } }, diff --git a/metadata/modules/bucksenseBidAdapter.json b/metadata/modules/bucksenseBidAdapter.json index c63668fe614..571e8dac8d9 100644 --- a/metadata/modules/bucksenseBidAdapter.json +++ b/metadata/modules/bucksenseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://j.bksnimages.com/iab/devsto02.json": { - "timestamp": "2026-02-23T16:45:51.522Z", + "timestamp": "2026-03-02T14:45:36.025Z", "disclosures": [] } }, diff --git a/metadata/modules/carodaBidAdapter.json b/metadata/modules/carodaBidAdapter.json index d87a42ad403..06cedda2cbb 100644 --- a/metadata/modules/carodaBidAdapter.json +++ b/metadata/modules/carodaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn2.caroda.io/tcfvds/2022-05-17/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:51.927Z", + "timestamp": "2026-03-02T14:45:36.084Z", "disclosures": [] } }, diff --git a/metadata/modules/categoryTranslation.json b/metadata/modules/categoryTranslation.json index 3283b263af3..1b8ecd5185e 100644 --- a/metadata/modules/categoryTranslation.json +++ b/metadata/modules/categoryTranslation.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/categoryTranslation.json": { - "timestamp": "2026-02-23T16:45:39.804Z", + "timestamp": "2026-03-02T14:44:46.317Z", "disclosures": [ { "identifier": "iabToFwMappingkey", diff --git a/metadata/modules/ceeIdSystem.json b/metadata/modules/ceeIdSystem.json index e64878ea4cb..414cf9f61c3 100644 --- a/metadata/modules/ceeIdSystem.json +++ b/metadata/modules/ceeIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:52.241Z", + "timestamp": "2026-03-02T14:45:36.379Z", "disclosures": null } }, diff --git a/metadata/modules/chromeAiRtdProvider.json b/metadata/modules/chromeAiRtdProvider.json index 53cb3b5385d..0374f04c2e3 100644 --- a/metadata/modules/chromeAiRtdProvider.json +++ b/metadata/modules/chromeAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/chromeAiRtdProvider.json": { - "timestamp": "2026-02-23T16:45:52.571Z", + "timestamp": "2026-03-02T14:45:36.729Z", "disclosures": [ { "identifier": "chromeAi_detected_data", diff --git a/metadata/modules/clickioBidAdapter.json b/metadata/modules/clickioBidAdapter.json index 6d53c6e853b..ec57e47521f 100644 --- a/metadata/modules/clickioBidAdapter.json +++ b/metadata/modules/clickioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://o.clickiocdn.com/tcf_storage_info.json": { - "timestamp": "2026-02-23T16:45:52.572Z", + "timestamp": "2026-03-02T14:45:36.730Z", "disclosures": [] } }, diff --git a/metadata/modules/compassBidAdapter.json b/metadata/modules/compassBidAdapter.json index b244dc6ce23..145961029d1 100644 --- a/metadata/modules/compassBidAdapter.json +++ b/metadata/modules/compassBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-02-23T16:45:52.988Z", + "timestamp": "2026-03-02T14:45:37.148Z", "disclosures": [] } }, diff --git a/metadata/modules/conceptxBidAdapter.json b/metadata/modules/conceptxBidAdapter.json index 18aafeda009..41d01c918e0 100644 --- a/metadata/modules/conceptxBidAdapter.json +++ b/metadata/modules/conceptxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cncptx.com/device_storage_disclosure.json": { - "timestamp": "2026-02-23T16:45:53.004Z", + "timestamp": "2026-03-02T14:45:37.166Z", "disclosures": [] } }, diff --git a/metadata/modules/connatixBidAdapter.json b/metadata/modules/connatixBidAdapter.json index 7683ce8538d..a1b7a772220 100644 --- a/metadata/modules/connatixBidAdapter.json +++ b/metadata/modules/connatixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://connatix.com/iab-tcf-disclosure.json": { - "timestamp": "2026-02-23T16:45:53.031Z", + "timestamp": "2026-03-02T14:45:37.190Z", "disclosures": [ { "identifier": "cnx_userId", diff --git a/metadata/modules/connectIdSystem.json b/metadata/modules/connectIdSystem.json index 4a923ffa33f..0cd76902e9b 100644 --- a/metadata/modules/connectIdSystem.json +++ b/metadata/modules/connectIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2026-02-23T16:45:53.109Z", + "timestamp": "2026-03-02T14:45:37.270Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/connectadBidAdapter.json b/metadata/modules/connectadBidAdapter.json index a0d2b9aed0c..96bc8e141d6 100644 --- a/metadata/modules/connectadBidAdapter.json +++ b/metadata/modules/connectadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.connectad.io/tcf_storage_info.json": { - "timestamp": "2026-02-23T16:45:53.187Z", + "timestamp": "2026-03-02T14:45:37.290Z", "disclosures": [] } }, diff --git a/metadata/modules/contentexchangeBidAdapter.json b/metadata/modules/contentexchangeBidAdapter.json index 242e014398c..7b5a61930c9 100644 --- a/metadata/modules/contentexchangeBidAdapter.json +++ b/metadata/modules/contentexchangeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://hb.contentexchange.me/template/device_storage.json": { - "timestamp": "2026-02-23T16:45:53.622Z", + "timestamp": "2026-03-02T14:45:37.325Z", "disclosures": null } }, diff --git a/metadata/modules/conversantBidAdapter.json b/metadata/modules/conversantBidAdapter.json index f6f6faad13d..5999b1b9c9a 100644 --- a/metadata/modules/conversantBidAdapter.json +++ b/metadata/modules/conversantBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.9/device_storage_disclosure.json": { - "timestamp": "2026-02-23T16:45:54.632Z", + "timestamp": "2026-03-02T14:45:37.366Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/copper6sspBidAdapter.json b/metadata/modules/copper6sspBidAdapter.json index 7448ea8dcd0..1bc771d2901 100644 --- a/metadata/modules/copper6sspBidAdapter.json +++ b/metadata/modules/copper6sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.copper6.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:54.677Z", + "timestamp": "2026-03-02T14:45:37.458Z", "disclosures": [] } }, diff --git a/metadata/modules/cpmstarBidAdapter.json b/metadata/modules/cpmstarBidAdapter.json index affad4ec7c7..255976fa486 100644 --- a/metadata/modules/cpmstarBidAdapter.json +++ b/metadata/modules/cpmstarBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2026-02-23T16:45:54.802Z", + "timestamp": "2026-03-02T14:45:37.500Z", "disclosures": [] } }, diff --git a/metadata/modules/criteoBidAdapter.json b/metadata/modules/criteoBidAdapter.json index 5520f75a569..fb94d78e961 100644 --- a/metadata/modules/criteoBidAdapter.json +++ b/metadata/modules/criteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2026-02-23T16:45:54.838Z", + "timestamp": "2026-03-02T14:45:37.599Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/criteoIdSystem.json b/metadata/modules/criteoIdSystem.json index 4faac441ed3..d0e56b65ba1 100644 --- a/metadata/modules/criteoIdSystem.json +++ b/metadata/modules/criteoIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.criteo.com/iab-europe/tcfv2/disclosure.json": { - "timestamp": "2026-02-23T16:45:54.851Z", + "timestamp": "2026-03-02T14:45:37.624Z", "disclosures": [ { "identifier": "criteo_fast_bid", diff --git a/metadata/modules/cwireBidAdapter.json b/metadata/modules/cwireBidAdapter.json index 4b04b4f76e2..265357a9c7f 100644 --- a/metadata/modules/cwireBidAdapter.json +++ b/metadata/modules/cwireBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.cwi.re/artifacts/iab/iab.json": { - "timestamp": "2026-02-23T16:45:54.851Z", + "timestamp": "2026-03-02T14:45:37.625Z", "disclosures": [] } }, diff --git a/metadata/modules/czechAdIdSystem.json b/metadata/modules/czechAdIdSystem.json index 6dfc197ae34..7a945949fe0 100644 --- a/metadata/modules/czechAdIdSystem.json +++ b/metadata/modules/czechAdIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cpex.cz/storagedisclosure.json": { - "timestamp": "2026-02-23T16:45:54.952Z", + "timestamp": "2026-03-02T14:45:37.988Z", "disclosures": [] } }, diff --git a/metadata/modules/dailymotionBidAdapter.json b/metadata/modules/dailymotionBidAdapter.json index 9ea7adb6c9e..6779bc9b8a9 100644 --- a/metadata/modules/dailymotionBidAdapter.json +++ b/metadata/modules/dailymotionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://statics.dmcdn.net/a/vds.json": { - "timestamp": "2026-02-23T16:45:55.362Z", + "timestamp": "2026-03-02T14:45:38.394Z", "disclosures": [ { "identifier": "uid_dm", diff --git a/metadata/modules/debugging.json b/metadata/modules/debugging.json index 239dc523417..d8035174738 100644 --- a/metadata/modules/debugging.json +++ b/metadata/modules/debugging.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2026-02-23T16:45:39.803Z", + "timestamp": "2026-03-02T14:44:46.316Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/defineMediaBidAdapter.json b/metadata/modules/defineMediaBidAdapter.json index 41142e3663e..cc0c299d4f7 100644 --- a/metadata/modules/defineMediaBidAdapter.json +++ b/metadata/modules/defineMediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://definemedia.de/tcf/deviceStorageDisclosureURL.json": { - "timestamp": "2026-02-23T16:45:55.469Z", + "timestamp": "2026-03-02T14:45:38.686Z", "disclosures": [ { "identifier": "conative$dataGathering$Adex", diff --git a/metadata/modules/deltaprojectsBidAdapter.json b/metadata/modules/deltaprojectsBidAdapter.json index f2fb3929675..ca2f76b4695 100644 --- a/metadata/modules/deltaprojectsBidAdapter.json +++ b/metadata/modules/deltaprojectsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.de17a.com/policy/deviceStorage.json": { - "timestamp": "2026-02-23T16:45:55.817Z", + "timestamp": "2026-03-02T14:45:39.098Z", "disclosures": [] } }, diff --git a/metadata/modules/dianomiBidAdapter.json b/metadata/modules/dianomiBidAdapter.json index 864b1e03246..1ee3130984b 100644 --- a/metadata/modules/dianomiBidAdapter.json +++ b/metadata/modules/dianomiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.dianomi.com/device_storage.json": { - "timestamp": "2026-02-23T16:45:56.279Z", + "timestamp": "2026-03-02T14:45:44.672Z", "disclosures": [] } }, diff --git a/metadata/modules/digitalMatterBidAdapter.json b/metadata/modules/digitalMatterBidAdapter.json index 5e6606fb5a4..8d8e30c4102 100644 --- a/metadata/modules/digitalMatterBidAdapter.json +++ b/metadata/modules/digitalMatterBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://digitalmatter.ai/disclosures.json": { - "timestamp": "2026-02-23T16:45:56.279Z", + "timestamp": "2026-03-02T14:45:44.672Z", "disclosures": [] } }, diff --git a/metadata/modules/distroscaleBidAdapter.json b/metadata/modules/distroscaleBidAdapter.json index 455b19c7a00..b19604b5704 100644 --- a/metadata/modules/distroscaleBidAdapter.json +++ b/metadata/modules/distroscaleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.jsrdn.com/tcf/tcf-vendor-disclosure.json": { - "timestamp": "2026-02-23T16:46:10.165Z", + "timestamp": "2026-03-02T14:45:45.048Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeAdManagerBidAdapter.json b/metadata/modules/docereeAdManagerBidAdapter.json index 924aa537c52..676eab6e3c8 100644 --- a/metadata/modules/docereeAdManagerBidAdapter.json +++ b/metadata/modules/docereeAdManagerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:10.392Z", + "timestamp": "2026-03-02T14:45:45.334Z", "disclosures": [] } }, diff --git a/metadata/modules/docereeBidAdapter.json b/metadata/modules/docereeBidAdapter.json index f49cf65cfdb..14a0769efca 100644 --- a/metadata/modules/docereeBidAdapter.json +++ b/metadata/modules/docereeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://doceree.com/.well-known/iab/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:11.142Z", + "timestamp": "2026-03-02T14:45:46.086Z", "disclosures": [] } }, diff --git a/metadata/modules/dpaiBidAdapter.json b/metadata/modules/dpaiBidAdapter.json new file mode 100644 index 00000000000..901b09a3355 --- /dev/null +++ b/metadata/modules/dpaiBidAdapter.json @@ -0,0 +1,13 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": {}, + "components": [ + { + "componentType": "bidder", + "componentName": "dpai", + "aliasOf": null, + "gvlid": null, + "disclosureURL": null + } + ] +} \ No newline at end of file diff --git a/metadata/modules/dspxBidAdapter.json b/metadata/modules/dspxBidAdapter.json index 9b5a628f3ee..579ccaef7ac 100644 --- a/metadata/modules/dspxBidAdapter.json +++ b/metadata/modules/dspxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/os.json": { - "timestamp": "2026-02-23T16:46:11.143Z", + "timestamp": "2026-03-02T14:45:46.087Z", "disclosures": [] } }, diff --git a/metadata/modules/e_volutionBidAdapter.json b/metadata/modules/e_volutionBidAdapter.json index 32dff8c4b9f..1410a3e4917 100644 --- a/metadata/modules/e_volutionBidAdapter.json +++ b/metadata/modules/e_volutionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://e-volution.ai/file.json": { - "timestamp": "2026-02-23T16:46:11.788Z", + "timestamp": "2026-03-02T14:45:46.760Z", "disclosures": [] } }, diff --git a/metadata/modules/edge226BidAdapter.json b/metadata/modules/edge226BidAdapter.json index 7675689c619..58cc40d3ace 100644 --- a/metadata/modules/edge226BidAdapter.json +++ b/metadata/modules/edge226BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.serveteck.com/cdn_storage/tcf/tcf.json?a=1.io": { - "timestamp": "2026-02-23T16:46:12.128Z", + "timestamp": "2026-03-02T14:45:47.084Z", "disclosures": [] } }, diff --git a/metadata/modules/empowerBidAdapter.json b/metadata/modules/empowerBidAdapter.json index 1f472770d2f..5b8c1e60d93 100644 --- a/metadata/modules/empowerBidAdapter.json +++ b/metadata/modules/empowerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.empower.net/vendor/vendor.json": { - "timestamp": "2026-02-23T16:46:12.175Z", + "timestamp": "2026-03-02T14:45:47.136Z", "disclosures": [] } }, diff --git a/metadata/modules/equativBidAdapter.json b/metadata/modules/equativBidAdapter.json index b80b81ce7d1..a618d1b2dd7 100644 --- a/metadata/modules/equativBidAdapter.json +++ b/metadata/modules/equativBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2026-02-23T16:46:12.205Z", + "timestamp": "2026-03-02T14:45:47.169Z", "disclosures": [] } }, diff --git a/metadata/modules/eskimiBidAdapter.json b/metadata/modules/eskimiBidAdapter.json index 05a2cfaf124..8908f454cef 100644 --- a/metadata/modules/eskimiBidAdapter.json +++ b/metadata/modules/eskimiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://dsp-media.eskimi.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:12.239Z", + "timestamp": "2026-03-02T14:45:47.201Z", "disclosures": [] } }, diff --git a/metadata/modules/etargetBidAdapter.json b/metadata/modules/etargetBidAdapter.json index 7954882ec63..db71948ec37 100644 --- a/metadata/modules/etargetBidAdapter.json +++ b/metadata/modules/etargetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.etarget.sk/cookies3.json": { - "timestamp": "2026-02-23T16:46:12.258Z", + "timestamp": "2026-03-02T14:45:47.226Z", "disclosures": [] } }, diff --git a/metadata/modules/euidIdSystem.json b/metadata/modules/euidIdSystem.json index 52f7c75e179..5d3d333813e 100644 --- a/metadata/modules/euidIdSystem.json +++ b/metadata/modules/euidIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-02-23T16:46:12.836Z", + "timestamp": "2026-03-02T14:45:47.806Z", "disclosures": [] } }, diff --git a/metadata/modules/exadsBidAdapter.json b/metadata/modules/exadsBidAdapter.json index 072c7c51e68..4f78604a882 100644 --- a/metadata/modules/exadsBidAdapter.json +++ b/metadata/modules/exadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://a.native7.com/tcf/deviceStorage.php": { - "timestamp": "2026-02-23T16:46:13.078Z", + "timestamp": "2026-03-02T14:45:48.013Z", "disclosures": [ { "identifier": "pn-zone-*", diff --git a/metadata/modules/feedadBidAdapter.json b/metadata/modules/feedadBidAdapter.json index 5b852097ea3..898c77b0f70 100644 --- a/metadata/modules/feedadBidAdapter.json +++ b/metadata/modules/feedadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://api.feedad.com/tcf-device-disclosures.json": { - "timestamp": "2026-02-23T16:46:16.911Z", + "timestamp": "2026-03-02T14:45:48.194Z", "disclosures": [ { "identifier": "__fad_data", diff --git a/metadata/modules/fwsspBidAdapter.json b/metadata/modules/fwsspBidAdapter.json index fe615c7a678..c950b152e00 100644 --- a/metadata/modules/fwsspBidAdapter.json +++ b/metadata/modules/fwsspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.fwmrm.net/g/devicedisclosure.json": { - "timestamp": "2026-02-23T16:46:17.030Z", + "timestamp": "2026-03-02T14:45:48.313Z", "disclosures": [] } }, diff --git a/metadata/modules/gamoshiBidAdapter.json b/metadata/modules/gamoshiBidAdapter.json index 9d4449f7dad..05ce430c856 100644 --- a/metadata/modules/gamoshiBidAdapter.json +++ b/metadata/modules/gamoshiBidAdapter.json @@ -2,8 +2,8 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gamoshi.com/disclosures-client-storage.json": { - "timestamp": "2026-02-12T16:02:45.331Z", - "disclosures": [] + "timestamp": "2026-03-02T14:45:48.653Z", + "disclosures": null } }, "components": [ diff --git a/metadata/modules/gemiusIdSystem.json b/metadata/modules/gemiusIdSystem.json index c2cc3a39847..9aa5b49be2d 100644 --- a/metadata/modules/gemiusIdSystem.json +++ b/metadata/modules/gemiusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gemius.com/media/documents/Gemius_SA_Vendor_Device_Storage.json": { - "timestamp": "2026-02-23T16:46:19.113Z", + "timestamp": "2026-03-02T14:45:49.814Z", "disclosures": [ { "identifier": "__gsyncs_gdpr", diff --git a/metadata/modules/glomexBidAdapter.json b/metadata/modules/glomexBidAdapter.json index 4e1a3568be9..3ad4e7c7df2 100644 --- a/metadata/modules/glomexBidAdapter.json +++ b/metadata/modules/glomexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:19.114Z", + "timestamp": "2026-03-02T14:45:49.816Z", "disclosures": [ { "identifier": "glomexUser", diff --git a/metadata/modules/goldbachBidAdapter.json b/metadata/modules/goldbachBidAdapter.json index 266a3a47920..61b5f9f87a3 100644 --- a/metadata/modules/goldbachBidAdapter.json +++ b/metadata/modules/goldbachBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gb-next.ch/TcfGoldbachDeviceStorage.json": { - "timestamp": "2026-02-23T16:46:19.139Z", + "timestamp": "2026-03-02T14:45:49.839Z", "disclosures": [ { "identifier": "dakt_2_session_id", diff --git a/metadata/modules/gridBidAdapter.json b/metadata/modules/gridBidAdapter.json index fbebc8a5b71..0420f51b838 100644 --- a/metadata/modules/gridBidAdapter.json +++ b/metadata/modules/gridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.themediagrid.com/devicestorage.json": { - "timestamp": "2026-02-23T16:46:19.169Z", + "timestamp": "2026-03-02T14:45:49.864Z", "disclosures": [] } }, diff --git a/metadata/modules/gumgumBidAdapter.json b/metadata/modules/gumgumBidAdapter.json index 9a89dd3db7b..9131fda39bc 100644 --- a/metadata/modules/gumgumBidAdapter.json +++ b/metadata/modules/gumgumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://marketing.gumgum.com/devicestoragedisclosures.json": { - "timestamp": "2026-02-23T16:46:19.328Z", + "timestamp": "2026-03-02T14:45:49.990Z", "disclosures": [] } }, diff --git a/metadata/modules/hadronIdSystem.json b/metadata/modules/hadronIdSystem.json index d2faf64c6e6..a02dd109e19 100644 --- a/metadata/modules/hadronIdSystem.json +++ b/metadata/modules/hadronIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2026-02-23T16:46:19.392Z", + "timestamp": "2026-03-02T14:45:50.048Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/hadronRtdProvider.json b/metadata/modules/hadronRtdProvider.json index 93ec7d55d3d..b5eb21067e8 100644 --- a/metadata/modules/hadronRtdProvider.json +++ b/metadata/modules/hadronRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://p.ad.gt/static/iab_tcf.json": { - "timestamp": "2026-02-23T16:46:19.493Z", + "timestamp": "2026-03-02T14:45:50.186Z", "disclosures": [ { "identifier": "au/sid", diff --git a/metadata/modules/harionBidAdapter.json b/metadata/modules/harionBidAdapter.json index 6a7fe43d137..dc71450537a 100644 --- a/metadata/modules/harionBidAdapter.json +++ b/metadata/modules/harionBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://markappmedia.site/vendor.json": { - "timestamp": "2026-02-23T16:46:19.494Z", + "timestamp": "2026-03-02T14:45:50.186Z", "disclosures": [] } }, diff --git a/metadata/modules/holidBidAdapter.json b/metadata/modules/holidBidAdapter.json index 9e5f60d4e75..d5fc01d7c33 100644 --- a/metadata/modules/holidBidAdapter.json +++ b/metadata/modules/holidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ads.holid.io/devicestorage.json": { - "timestamp": "2026-02-23T16:46:19.844Z", + "timestamp": "2026-03-02T14:45:50.576Z", "disclosures": [ { "identifier": "uids", diff --git a/metadata/modules/hybridBidAdapter.json b/metadata/modules/hybridBidAdapter.json index b65b5d8d4a8..efc1583902c 100644 --- a/metadata/modules/hybridBidAdapter.json +++ b/metadata/modules/hybridBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:20.115Z", + "timestamp": "2026-03-02T14:45:50.868Z", "disclosures": [] } }, diff --git a/metadata/modules/id5IdSystem.json b/metadata/modules/id5IdSystem.json index a67ab589a06..886832932a7 100644 --- a/metadata/modules/id5IdSystem.json +++ b/metadata/modules/id5IdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://id5-sync.com/tcf/disclosures.json": { - "timestamp": "2026-02-23T16:46:20.421Z", + "timestamp": "2026-03-02T14:45:51.113Z", "disclosures": [ { "identifier": "id5id", diff --git a/metadata/modules/identityLinkIdSystem.json b/metadata/modules/identityLinkIdSystem.json index 3a611244109..03bcaedd660 100644 --- a/metadata/modules/identityLinkIdSystem.json +++ b/metadata/modules/identityLinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.ats.rlcdn.com/device-storage-disclosure.json": { - "timestamp": "2026-02-23T16:46:20.700Z", + "timestamp": "2026-03-02T14:45:51.402Z", "disclosures": [ { "identifier": "_lr_retry_request", diff --git a/metadata/modules/illuminBidAdapter.json b/metadata/modules/illuminBidAdapter.json index 7c87299d926..eadb5eea6ca 100644 --- a/metadata/modules/illuminBidAdapter.json +++ b/metadata/modules/illuminBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://admanmedia.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:20.718Z", + "timestamp": "2026-03-02T14:45:51.424Z", "disclosures": [] } }, diff --git a/metadata/modules/impactifyBidAdapter.json b/metadata/modules/impactifyBidAdapter.json index a6aaeabad08..a84d454fd03 100644 --- a/metadata/modules/impactifyBidAdapter.json +++ b/metadata/modules/impactifyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.impactify.io/tcfvendors.json": { - "timestamp": "2026-02-23T16:46:21.047Z", + "timestamp": "2026-03-02T14:45:51.728Z", "disclosures": [ { "identifier": "_im*", diff --git a/metadata/modules/improvedigitalBidAdapter.json b/metadata/modules/improvedigitalBidAdapter.json index 0c7a398cffb..a6e1e421e03 100644 --- a/metadata/modules/improvedigitalBidAdapter.json +++ b/metadata/modules/improvedigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sellers.improvedigital.com/tcf-cookies.json": { - "timestamp": "2026-02-23T16:46:21.326Z", + "timestamp": "2026-03-02T14:45:52.052Z", "disclosures": [ { "identifier": "tuuid", diff --git a/metadata/modules/inmobiBidAdapter.json b/metadata/modules/inmobiBidAdapter.json index acd77ff74fc..818bc7ee34a 100644 --- a/metadata/modules/inmobiBidAdapter.json +++ b/metadata/modules/inmobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publisher.inmobi.com/public/disclosure": { - "timestamp": "2026-02-23T16:46:21.327Z", + "timestamp": "2026-03-02T14:45:52.052Z", "disclosures": [] } }, diff --git a/metadata/modules/insticatorBidAdapter.json b/metadata/modules/insticatorBidAdapter.json index f19aa191649..93ac9d8e09a 100644 --- a/metadata/modules/insticatorBidAdapter.json +++ b/metadata/modules/insticatorBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.insticator.com/iab/device-storage-disclosure.json": { - "timestamp": "2026-02-23T16:46:21.362Z", + "timestamp": "2026-03-02T14:45:52.089Z", "disclosures": [ { "identifier": "visitorGeo", diff --git a/metadata/modules/insuradsBidAdapter.json b/metadata/modules/insuradsBidAdapter.json index cbd5502eed4..05a0e236aad 100644 --- a/metadata/modules/insuradsBidAdapter.json +++ b/metadata/modules/insuradsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.insurads.com/tcf-vdsod.json": { - "timestamp": "2026-02-23T16:46:21.432Z", + "timestamp": "2026-03-02T14:45:52.162Z", "disclosures": [ { "identifier": "___iat_ses", diff --git a/metadata/modules/intentIqIdSystem.json b/metadata/modules/intentIqIdSystem.json index 09702d55af8..43fe76d2cad 100644 --- a/metadata/modules/intentIqIdSystem.json +++ b/metadata/modules/intentIqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://agent.intentiq.com/GDPR/gdpr.json": { - "timestamp": "2026-02-23T16:46:21.553Z", + "timestamp": "2026-03-02T14:45:52.351Z", "disclosures": [] } }, diff --git a/metadata/modules/invibesBidAdapter.json b/metadata/modules/invibesBidAdapter.json index cce1631883e..9b23ea0bc54 100644 --- a/metadata/modules/invibesBidAdapter.json +++ b/metadata/modules/invibesBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.invibes.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:21.605Z", + "timestamp": "2026-03-02T14:45:52.421Z", "disclosures": [ { "identifier": "ivvcap", diff --git a/metadata/modules/ipromBidAdapter.json b/metadata/modules/ipromBidAdapter.json index 95e81ce7106..7f9b4c104c2 100644 --- a/metadata/modules/ipromBidAdapter.json +++ b/metadata/modules/ipromBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://core.iprom.net/info/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:21.954Z", + "timestamp": "2026-03-02T14:45:52.785Z", "disclosures": [] } }, diff --git a/metadata/modules/ixBidAdapter.json b/metadata/modules/ixBidAdapter.json index d77169ebf76..ba7581331d0 100644 --- a/metadata/modules/ixBidAdapter.json +++ b/metadata/modules/ixBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.indexexchange.com/device_storage_disclosure.json": { - "timestamp": "2026-02-23T16:46:22.404Z", + "timestamp": "2026-03-02T14:45:53.259Z", "disclosures": [ { "identifier": "ix_features", diff --git a/metadata/modules/justIdSystem.json b/metadata/modules/justIdSystem.json index 7158bab3abe..f20fbceea31 100644 --- a/metadata/modules/justIdSystem.json +++ b/metadata/modules/justIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audience-solutions.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:25.271Z", + "timestamp": "2026-03-02T14:45:53.334Z", "disclosures": [ { "identifier": "__jtuid", diff --git a/metadata/modules/justpremiumBidAdapter.json b/metadata/modules/justpremiumBidAdapter.json index 6fcc8ee22ea..7fb5438d310 100644 --- a/metadata/modules/justpremiumBidAdapter.json +++ b/metadata/modules/justpremiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.justpremium.com/devicestoragedisclosures.json": { - "timestamp": "2026-02-23T16:46:25.791Z", + "timestamp": "2026-03-02T14:45:53.863Z", "disclosures": [] } }, diff --git a/metadata/modules/jwplayerBidAdapter.json b/metadata/modules/jwplayerBidAdapter.json index 38ed4cfc3fc..6695015fb1e 100644 --- a/metadata/modules/jwplayerBidAdapter.json +++ b/metadata/modules/jwplayerBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.jwplayer.com/devicestorage.json": { - "timestamp": "2026-02-23T16:46:25.812Z", + "timestamp": "2026-03-02T14:45:53.882Z", "disclosures": [] } }, diff --git a/metadata/modules/kargoBidAdapter.json b/metadata/modules/kargoBidAdapter.json index b520862c201..18c7713446a 100644 --- a/metadata/modules/kargoBidAdapter.json +++ b/metadata/modules/kargoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://storage.cloud.kargo.com/device_storage_disclosure.json": { - "timestamp": "2026-02-23T16:46:26.041Z", + "timestamp": "2026-03-02T14:45:54.165Z", "disclosures": [ { "identifier": "krg_crb", diff --git a/metadata/modules/kueezRtbBidAdapter.json b/metadata/modules/kueezRtbBidAdapter.json index 886600913c3..38316d32257 100644 --- a/metadata/modules/kueezRtbBidAdapter.json +++ b/metadata/modules/kueezRtbBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://en.kueez.com/tcf.json": { - "timestamp": "2026-02-23T16:46:26.065Z", + "timestamp": "2026-03-02T14:45:54.193Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/limelightDigitalBidAdapter.json b/metadata/modules/limelightDigitalBidAdapter.json index 8431c4f79f5..14e44dfc1e0 100644 --- a/metadata/modules/limelightDigitalBidAdapter.json +++ b/metadata/modules/limelightDigitalBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://policy.iion.io/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:26.136Z", + "timestamp": "2026-03-02T14:45:54.240Z", "disclosures": [] }, "https://orangeclickmedia.com/device_storage_disclosure.json": { - "timestamp": "2026-02-23T16:46:26.206Z", + "timestamp": "2026-03-02T14:45:54.278Z", "disclosures": [] } }, @@ -32,13 +32,6 @@ "gvlid": 1358, "disclosureURL": "https://policy.iion.io/deviceStorage.json" }, - { - "componentType": "bidder", - "componentName": "apester", - "aliasOf": "limelightDigital", - "gvlid": null, - "disclosureURL": null - }, { "componentType": "bidder", "componentName": "adsyield", @@ -102,13 +95,6 @@ "gvlid": null, "disclosureURL": null }, - { - "componentType": "bidder", - "componentName": "adnimation", - "aliasOf": "limelightDigital", - "gvlid": null, - "disclosureURL": null - }, { "componentType": "bidder", "componentName": "rtbdemand", diff --git a/metadata/modules/liveIntentIdSystem.json b/metadata/modules/liveIntentIdSystem.json index f60e74c1825..73069893950 100644 --- a/metadata/modules/liveIntentIdSystem.json +++ b/metadata/modules/liveIntentIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:26.206Z", + "timestamp": "2026-03-02T14:45:54.278Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/liveIntentRtdProvider.json b/metadata/modules/liveIntentRtdProvider.json index d0bc2c5c444..8c36b5b69d2 100644 --- a/metadata/modules/liveIntentRtdProvider.json +++ b/metadata/modules/liveIntentRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://b-code.liadm.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:26.218Z", + "timestamp": "2026-03-02T14:45:54.418Z", "disclosures": [ { "identifier": "_lc2_fpi", diff --git a/metadata/modules/livewrappedBidAdapter.json b/metadata/modules/livewrappedBidAdapter.json index 1cd5d2d128c..a5fb8083be9 100644 --- a/metadata/modules/livewrappedBidAdapter.json +++ b/metadata/modules/livewrappedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://content.lwadm.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:26.219Z", + "timestamp": "2026-03-02T14:45:54.419Z", "disclosures": [ { "identifier": "uid", diff --git a/metadata/modules/loopmeBidAdapter.json b/metadata/modules/loopmeBidAdapter.json index fee1f412589..33632aaca12 100644 --- a/metadata/modules/loopmeBidAdapter.json +++ b/metadata/modules/loopmeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://co.loopme.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:26.249Z", + "timestamp": "2026-03-02T14:45:54.453Z", "disclosures": [] } }, diff --git a/metadata/modules/lotamePanoramaIdSystem.json b/metadata/modules/lotamePanoramaIdSystem.json index 1019ad44e25..1a84524e9d6 100644 --- a/metadata/modules/lotamePanoramaIdSystem.json +++ b/metadata/modules/lotamePanoramaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tags.crwdcntrl.net/privacy/tcf-purposes.json": { - "timestamp": "2026-02-23T16:46:26.732Z", + "timestamp": "2026-03-02T14:45:54.576Z", "disclosures": [ { "identifier": "_cc_id", diff --git a/metadata/modules/luponmediaBidAdapter.json b/metadata/modules/luponmediaBidAdapter.json index 61100089726..96e987d9dc2 100644 --- a/metadata/modules/luponmediaBidAdapter.json +++ b/metadata/modules/luponmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://luponmedia.com/vendor_device_storage.json": { - "timestamp": "2026-02-23T16:46:26.798Z", + "timestamp": "2026-03-02T14:45:54.640Z", "disclosures": [] } }, diff --git a/metadata/modules/madvertiseBidAdapter.json b/metadata/modules/madvertiseBidAdapter.json index 990477cdb7b..096ca78f06b 100644 --- a/metadata/modules/madvertiseBidAdapter.json +++ b/metadata/modules/madvertiseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserver.bluestack.app/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:27.273Z", + "timestamp": "2026-03-02T14:45:55.051Z", "disclosures": [] } }, diff --git a/metadata/modules/marsmediaBidAdapter.json b/metadata/modules/marsmediaBidAdapter.json index ba0e333fa38..e20881844c8 100644 --- a/metadata/modules/marsmediaBidAdapter.json +++ b/metadata/modules/marsmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mars.media/apis/tcf-v2.json": { - "timestamp": "2026-02-23T16:46:27.628Z", + "timestamp": "2026-03-02T14:45:55.409Z", "disclosures": [] } }, diff --git a/metadata/modules/mediaConsortiumBidAdapter.json b/metadata/modules/mediaConsortiumBidAdapter.json index 7c796c8155c..19b9a989b2c 100644 --- a/metadata/modules/mediaConsortiumBidAdapter.json +++ b/metadata/modules/mediaConsortiumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.hubvisor.io/assets/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:27.759Z", + "timestamp": "2026-03-02T14:45:55.518Z", "disclosures": [ { "identifier": "hbv:turbo-cmp", diff --git a/metadata/modules/mediaforceBidAdapter.json b/metadata/modules/mediaforceBidAdapter.json index b2cc478cf54..43aee7b5d99 100644 --- a/metadata/modules/mediaforceBidAdapter.json +++ b/metadata/modules/mediaforceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://comparisons.org/privacy.json": { - "timestamp": "2026-02-23T16:46:28.044Z", + "timestamp": "2026-03-02T14:45:55.650Z", "disclosures": [] } }, diff --git a/metadata/modules/mediafuseBidAdapter.json b/metadata/modules/mediafuseBidAdapter.json index 74390863c39..64dfcf767a5 100644 --- a/metadata/modules/mediafuseBidAdapter.json +++ b/metadata/modules/mediafuseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-02-23T16:46:28.059Z", + "timestamp": "2026-03-02T14:45:55.669Z", "disclosures": [] } }, diff --git a/metadata/modules/mediagoBidAdapter.json b/metadata/modules/mediagoBidAdapter.json index 9d59e87ea4a..ffa894357ad 100644 --- a/metadata/modules/mediagoBidAdapter.json +++ b/metadata/modules/mediagoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.mediago.io/js/tcf.json": { - "timestamp": "2026-02-23T16:46:28.059Z", + "timestamp": "2026-03-02T14:45:55.670Z", "disclosures": [] } }, diff --git a/metadata/modules/mediakeysBidAdapter.json b/metadata/modules/mediakeysBidAdapter.json index 2a5e75627b9..c41604e62be 100644 --- a/metadata/modules/mediakeysBidAdapter.json +++ b/metadata/modules/mediakeysBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.eu-west-3.amazonaws.com/adserving.resourcekeys.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:28.120Z", + "timestamp": "2026-03-02T14:45:55.769Z", "disclosures": [] } }, diff --git a/metadata/modules/medianetBidAdapter.json b/metadata/modules/medianetBidAdapter.json index 5a1c732c5de..b62853ac937 100644 --- a/metadata/modules/medianetBidAdapter.json +++ b/metadata/modules/medianetBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.media.net/tcfv2/gvl/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:28.405Z", + "timestamp": "2026-03-02T14:45:56.051Z", "disclosures": [ { "identifier": "_mNExInsl", @@ -246,7 +246,7 @@ ] }, "https://trustedstack.com/tcf/gvl/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:28.464Z", + "timestamp": "2026-03-02T14:45:56.188Z", "disclosures": [ { "identifier": "usp_status", diff --git a/metadata/modules/mediasquareBidAdapter.json b/metadata/modules/mediasquareBidAdapter.json index aac7269dadc..b3c225207bc 100644 --- a/metadata/modules/mediasquareBidAdapter.json +++ b/metadata/modules/mediasquareBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediasquare.fr/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:29.446Z", + "timestamp": "2026-03-02T14:45:56.239Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidBidAdapter.json b/metadata/modules/mgidBidAdapter.json index 667c32cd604..d6da81c2fe5 100644 --- a/metadata/modules/mgidBidAdapter.json +++ b/metadata/modules/mgidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-02-23T16:46:29.993Z", + "timestamp": "2026-03-02T14:45:56.794Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidRtdProvider.json b/metadata/modules/mgidRtdProvider.json index 550a82a422c..d6dd6937212 100644 --- a/metadata/modules/mgidRtdProvider.json +++ b/metadata/modules/mgidRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-02-23T16:46:30.399Z", + "timestamp": "2026-03-02T14:45:56.864Z", "disclosures": [] } }, diff --git a/metadata/modules/mgidXBidAdapter.json b/metadata/modules/mgidXBidAdapter.json index 554cc915038..d0da32736ce 100644 --- a/metadata/modules/mgidXBidAdapter.json +++ b/metadata/modules/mgidXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.mgid.com/assets/devicestorage.json": { - "timestamp": "2026-02-23T16:46:30.399Z", + "timestamp": "2026-03-02T14:45:56.864Z", "disclosures": [] } }, diff --git a/metadata/modules/minutemediaBidAdapter.json b/metadata/modules/minutemediaBidAdapter.json index f031c7ba114..9908f3b78ee 100644 --- a/metadata/modules/minutemediaBidAdapter.json +++ b/metadata/modules/minutemediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://disclosures.mmctsvc.com/device-storage.json": { - "timestamp": "2026-02-23T16:46:30.399Z", + "timestamp": "2026-03-02T14:45:56.865Z", "disclosures": [] } }, diff --git a/metadata/modules/missenaBidAdapter.json b/metadata/modules/missenaBidAdapter.json index ebc86cfe7ce..14a16812ce4 100644 --- a/metadata/modules/missenaBidAdapter.json +++ b/metadata/modules/missenaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.missena.io/iab.json": { - "timestamp": "2026-02-23T16:46:30.434Z", + "timestamp": "2026-03-02T14:45:56.886Z", "disclosures": [] } }, diff --git a/metadata/modules/mobianRtdProvider.json b/metadata/modules/mobianRtdProvider.json index a942bc0147f..1ce8457b058 100644 --- a/metadata/modules/mobianRtdProvider.json +++ b/metadata/modules/mobianRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.outcomes.net/tcf.json": { - "timestamp": "2026-02-23T16:46:30.523Z", + "timestamp": "2026-03-02T14:45:56.944Z", "disclosures": [] } }, diff --git a/metadata/modules/mobkoiBidAdapter.json b/metadata/modules/mobkoiBidAdapter.json index ecada798667..3982ab341b1 100644 --- a/metadata/modules/mobkoiBidAdapter.json +++ b/metadata/modules/mobkoiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:30.655Z", + "timestamp": "2026-03-02T14:45:57.043Z", "disclosures": null } }, diff --git a/metadata/modules/mobkoiIdSystem.json b/metadata/modules/mobkoiIdSystem.json index e9b37f0ed11..8f9ed0091ef 100644 --- a/metadata/modules/mobkoiIdSystem.json +++ b/metadata/modules/mobkoiIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.maximus.mobkoi.com/tcf/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:30.691Z", + "timestamp": "2026-03-02T14:45:57.065Z", "disclosures": null } }, diff --git a/metadata/modules/msftBidAdapter.json b/metadata/modules/msftBidAdapter.json index d862ff06784..8ac1b408eae 100644 --- a/metadata/modules/msftBidAdapter.json +++ b/metadata/modules/msftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://acdn.adnxs.com/gvl/1d/xandrdevicestoragedisclosures.json": { - "timestamp": "2026-02-23T16:46:30.691Z", + "timestamp": "2026-03-02T14:45:57.066Z", "disclosures": [] } }, diff --git a/metadata/modules/nativeryBidAdapter.json b/metadata/modules/nativeryBidAdapter.json index 5cf3f47c826..2a3f0c5c99a 100644 --- a/metadata/modules/nativeryBidAdapter.json +++ b/metadata/modules/nativeryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnimg.nativery.com/widget/js/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:30.699Z", + "timestamp": "2026-03-02T14:45:57.067Z", "disclosures": [] } }, diff --git a/metadata/modules/nativoBidAdapter.json b/metadata/modules/nativoBidAdapter.json index 833339739a4..59662e64c8a 100644 --- a/metadata/modules/nativoBidAdapter.json +++ b/metadata/modules/nativoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab.nativo.com/tcf-disclosures.json": { - "timestamp": "2026-02-23T16:46:31.031Z", + "timestamp": "2026-03-02T14:45:57.381Z", "disclosures": [] } }, diff --git a/metadata/modules/newspassidBidAdapter.json b/metadata/modules/newspassidBidAdapter.json index ef9353ef688..57fd3223351 100644 --- a/metadata/modules/newspassidBidAdapter.json +++ b/metadata/modules/newspassidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.aditude.com/storageaccess.json": { - "timestamp": "2026-02-23T16:46:31.054Z", + "timestamp": "2026-03-02T14:45:57.429Z", "disclosures": [] } }, diff --git a/metadata/modules/nextMillenniumBidAdapter.json b/metadata/modules/nextMillenniumBidAdapter.json index 8ee05edf5e9..d57a7a52695 100644 --- a/metadata/modules/nextMillenniumBidAdapter.json +++ b/metadata/modules/nextMillenniumBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://nextmillennium.io/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:31.054Z", + "timestamp": "2026-03-02T14:45:57.430Z", "disclosures": [] } }, diff --git a/metadata/modules/nextrollBidAdapter.json b/metadata/modules/nextrollBidAdapter.json index fd4d8551d20..f366a7a8120 100644 --- a/metadata/modules/nextrollBidAdapter.json +++ b/metadata/modules/nextrollBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.adroll.com/shares/device_storage.json": { - "timestamp": "2026-02-23T16:46:31.132Z", + "timestamp": "2026-03-02T14:45:57.516Z", "disclosures": [ { "identifier": "__adroll_fpc", diff --git a/metadata/modules/nexx360BidAdapter.json b/metadata/modules/nexx360BidAdapter.json index 32c4f7b07fa..00c1ef09267 100644 --- a/metadata/modules/nexx360BidAdapter.json +++ b/metadata/modules/nexx360BidAdapter.json @@ -2,19 +2,19 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:32.174Z", + "timestamp": "2026-03-02T14:45:58.404Z", "disclosures": [] }, "https://static.first-id.fr/tcf/cookie.json": { - "timestamp": "2026-02-23T16:46:31.398Z", + "timestamp": "2026-03-02T14:45:57.804Z", "disclosures": [] }, "https://i.plug.it/banners/js/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:31.421Z", + "timestamp": "2026-03-02T14:45:57.826Z", "disclosures": [] }, "https://player.glomex.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:31.648Z", + "timestamp": "2026-03-02T14:45:57.949Z", "disclosures": [ { "identifier": "glomexUser", @@ -46,7 +46,7 @@ ] }, "https://gdpr.pubx.ai/devicestoragedisclosure.json": { - "timestamp": "2026-02-23T16:46:31.648Z", + "timestamp": "2026-03-02T14:45:57.949Z", "disclosures": [ { "identifier": "pubx:defaults", @@ -61,7 +61,7 @@ ] }, "https://yieldbird.com/devicestorage.json": { - "timestamp": "2026-02-23T16:46:31.797Z", + "timestamp": "2026-03-02T14:45:58.021Z", "disclosures": [] } }, diff --git a/metadata/modules/nobidBidAdapter.json b/metadata/modules/nobidBidAdapter.json index d697808a02e..056f7d06193 100644 --- a/metadata/modules/nobidBidAdapter.json +++ b/metadata/modules/nobidBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://public.servenobid.com/gdpr_tcf/vendor_device_storage_operational_disclosures.json": { - "timestamp": "2026-02-23T16:46:32.174Z", + "timestamp": "2026-03-02T14:45:58.405Z", "disclosures": [] } }, diff --git a/metadata/modules/nodalsAiRtdProvider.json b/metadata/modules/nodalsAiRtdProvider.json index 5fac928bc8b..3c0a03590fe 100644 --- a/metadata/modules/nodalsAiRtdProvider.json +++ b/metadata/modules/nodalsAiRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.nodals.ai/vendor.json": { - "timestamp": "2026-02-23T16:46:32.338Z", + "timestamp": "2026-03-02T14:45:58.420Z", "disclosures": [ { "identifier": "localStorage", diff --git a/metadata/modules/novatiqIdSystem.json b/metadata/modules/novatiqIdSystem.json index a5fa44903e0..704ad832740 100644 --- a/metadata/modules/novatiqIdSystem.json +++ b/metadata/modules/novatiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://novatiq.com/privacy/iab/novatiq.json": { - "timestamp": "2026-02-23T16:46:34.054Z", + "timestamp": "2026-03-02T14:46:00.252Z", "disclosures": [ { "identifier": "novatiq", diff --git a/metadata/modules/oguryBidAdapter.json b/metadata/modules/oguryBidAdapter.json index 4fcb8df58e4..e0eda9c248a 100644 --- a/metadata/modules/oguryBidAdapter.json +++ b/metadata/modules/oguryBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://privacy.ogury.co/disclosure.json": { - "timestamp": "2026-02-23T16:46:34.443Z", + "timestamp": "2026-03-02T14:46:00.621Z", "disclosures": [] } }, diff --git a/metadata/modules/omnidexBidAdapter.json b/metadata/modules/omnidexBidAdapter.json index 8eb0796b3c8..b9cfde98549 100644 --- a/metadata/modules/omnidexBidAdapter.json +++ b/metadata/modules/omnidexBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.omni-dex.io/devicestorage.json": { - "timestamp": "2026-02-23T16:46:34.510Z", + "timestamp": "2026-03-02T14:46:00.670Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/omsBidAdapter.json b/metadata/modules/omsBidAdapter.json index 101bcbf8ef2..bf3d6e763b9 100644 --- a/metadata/modules/omsBidAdapter.json +++ b/metadata/modules/omsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.marphezis.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-02-23T16:46:34.569Z", + "timestamp": "2026-03-02T14:46:00.723Z", "disclosures": [] } }, diff --git a/metadata/modules/onetagBidAdapter.json b/metadata/modules/onetagBidAdapter.json index 508199c4060..94e1cbede34 100644 --- a/metadata/modules/onetagBidAdapter.json +++ b/metadata/modules/onetagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://onetag-cdn.com/privacy/tcf_storage.json": { - "timestamp": "2026-02-23T16:46:34.570Z", + "timestamp": "2026-03-02T14:46:00.724Z", "disclosures": [ { "identifier": "onetag_sid", diff --git a/metadata/modules/openwebBidAdapter.json b/metadata/modules/openwebBidAdapter.json index ffa1a04f0a0..b4ee396237c 100644 --- a/metadata/modules/openwebBidAdapter.json +++ b/metadata/modules/openwebBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2026-02-23T16:46:34.912Z", + "timestamp": "2026-03-02T14:46:01.014Z", "disclosures": [] } }, diff --git a/metadata/modules/openxBidAdapter.json b/metadata/modules/openxBidAdapter.json index d7dd135c570..dfb10023709 100644 --- a/metadata/modules/openxBidAdapter.json +++ b/metadata/modules/openxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.openx.com/device-storage.json": { - "timestamp": "2026-02-23T16:46:34.950Z", + "timestamp": "2026-03-02T14:46:01.052Z", "disclosures": [] } }, diff --git a/metadata/modules/operaadsBidAdapter.json b/metadata/modules/operaadsBidAdapter.json index cfa23f46ee5..be92865dfd2 100644 --- a/metadata/modules/operaadsBidAdapter.json +++ b/metadata/modules/operaadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://res.adx.opera.com/dsd.json": { - "timestamp": "2026-02-23T16:46:34.995Z", + "timestamp": "2026-03-02T14:46:01.082Z", "disclosures": [] } }, diff --git a/metadata/modules/optidigitalBidAdapter.json b/metadata/modules/optidigitalBidAdapter.json index 40c446b1728..51ed301458d 100644 --- a/metadata/modules/optidigitalBidAdapter.json +++ b/metadata/modules/optidigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://scripts.opti-digital.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:35.155Z", + "timestamp": "2026-03-02T14:46:01.269Z", "disclosures": [] } }, diff --git a/metadata/modules/optoutBidAdapter.json b/metadata/modules/optoutBidAdapter.json index 66165aa5587..fef02111513 100644 --- a/metadata/modules/optoutBidAdapter.json +++ b/metadata/modules/optoutBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://adserving.optoutadvertising.com/dsd": { - "timestamp": "2026-02-23T16:46:35.204Z", + "timestamp": "2026-03-02T14:46:01.427Z", "disclosures": [] } }, diff --git a/metadata/modules/orbidderBidAdapter.json b/metadata/modules/orbidderBidAdapter.json index 1d348223a0f..b9571894c8a 100644 --- a/metadata/modules/orbidderBidAdapter.json +++ b/metadata/modules/orbidderBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://orbidder.otto.de/disclosure/dsd.json": { - "timestamp": "2026-02-23T16:46:35.462Z", + "timestamp": "2026-03-02T14:46:01.687Z", "disclosures": [] } }, diff --git a/metadata/modules/outbrainBidAdapter.json b/metadata/modules/outbrainBidAdapter.json index 32d23be29fa..325c70c587c 100644 --- a/metadata/modules/outbrainBidAdapter.json +++ b/metadata/modules/outbrainBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.outbrain.com/privacy/wp-json/privacy/v2/devicestorage.json": { - "timestamp": "2026-02-23T16:46:35.776Z", + "timestamp": "2026-03-02T14:46:02.006Z", "disclosures": [ { "identifier": "dicbo_id", diff --git a/metadata/modules/ozoneBidAdapter.json b/metadata/modules/ozoneBidAdapter.json index cc8ac6fa341..23d5ad8eb09 100644 --- a/metadata/modules/ozoneBidAdapter.json +++ b/metadata/modules/ozoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://prebid.the-ozone-project.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:35.993Z", + "timestamp": "2026-03-02T14:46:02.249Z", "disclosures": [] } }, diff --git a/metadata/modules/pairIdSystem.json b/metadata/modules/pairIdSystem.json index 8e8904cf7ff..d4c804fcc8c 100644 --- a/metadata/modules/pairIdSystem.json +++ b/metadata/modules/pairIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.gstatic.com/iabtcf/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:36.196Z", + "timestamp": "2026-03-02T14:46:02.471Z", "disclosures": [ { "identifier": "__gads", diff --git a/metadata/modules/panxoBidAdapter.json b/metadata/modules/panxoBidAdapter.json index 559f347c9a8..e06de639217 100644 --- a/metadata/modules/panxoBidAdapter.json +++ b/metadata/modules/panxoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.panxo.ai/tcf/device-storage.json": { - "timestamp": "2026-02-23T16:46:36.216Z", + "timestamp": "2026-03-02T14:46:02.495Z", "disclosures": [ { "identifier": "panxo_uid", diff --git a/metadata/modules/performaxBidAdapter.json b/metadata/modules/performaxBidAdapter.json index 4b4f986fab5..5bdea8a1dd9 100644 --- a/metadata/modules/performaxBidAdapter.json +++ b/metadata/modules/performaxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.performax.cz/device_storage.json": { - "timestamp": "2026-02-23T16:46:36.601Z", + "timestamp": "2026-03-02T14:46:02.691Z", "disclosures": [ { "identifier": "px2uid", diff --git a/metadata/modules/permutiveIdentityManagerIdSystem.json b/metadata/modules/permutiveIdentityManagerIdSystem.json index 7e186152215..647b813dccd 100644 --- a/metadata/modules/permutiveIdentityManagerIdSystem.json +++ b/metadata/modules/permutiveIdentityManagerIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2026-02-23T16:46:37.007Z", + "timestamp": "2026-03-02T14:46:03.107Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/permutiveRtdProvider.json b/metadata/modules/permutiveRtdProvider.json index 9f953274741..0f41067e138 100644 --- a/metadata/modules/permutiveRtdProvider.json +++ b/metadata/modules/permutiveRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.permutive.app/tcf/tcf.json": { - "timestamp": "2026-02-23T16:46:37.198Z", + "timestamp": "2026-03-02T14:46:03.283Z", "disclosures": [ { "identifier": "_pdfps", diff --git a/metadata/modules/pixfutureBidAdapter.json b/metadata/modules/pixfutureBidAdapter.json index 6b5ede1ed9f..c04bfe3f164 100644 --- a/metadata/modules/pixfutureBidAdapter.json +++ b/metadata/modules/pixfutureBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.pixfuture.com/vendor-disclosures.json": { - "timestamp": "2026-02-23T16:46:37.199Z", + "timestamp": "2026-03-02T14:46:03.285Z", "disclosures": [] } }, diff --git a/metadata/modules/playdigoBidAdapter.json b/metadata/modules/playdigoBidAdapter.json index 4fefc69bc62..56ff6f0ebc5 100644 --- a/metadata/modules/playdigoBidAdapter.json +++ b/metadata/modules/playdigoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://playdigo.com/file.json": { - "timestamp": "2026-02-23T16:46:37.264Z", + "timestamp": "2026-03-02T14:46:03.345Z", "disclosures": [] } }, diff --git a/metadata/modules/prebid-core.json b/metadata/modules/prebid-core.json index 80a6aa15d93..3ef5aaa70c7 100644 --- a/metadata/modules/prebid-core.json +++ b/metadata/modules/prebid-core.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/probes.json": { - "timestamp": "2026-02-23T16:45:39.802Z", + "timestamp": "2026-03-02T14:44:46.315Z", "disclosures": [ { "identifier": "_rdc*", @@ -23,7 +23,7 @@ ] }, "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/debugging.json": { - "timestamp": "2026-02-23T16:45:39.802Z", + "timestamp": "2026-03-02T14:44:46.315Z", "disclosures": [ { "identifier": "__*_debugging__", diff --git a/metadata/modules/precisoBidAdapter.json b/metadata/modules/precisoBidAdapter.json index d1f28334f85..63ae55fec56 100644 --- a/metadata/modules/precisoBidAdapter.json +++ b/metadata/modules/precisoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://preciso.net/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:37.437Z", + "timestamp": "2026-03-02T14:46:03.527Z", "disclosures": [ { "identifier": "XXXXX_viewnew", diff --git a/metadata/modules/prismaBidAdapter.json b/metadata/modules/prismaBidAdapter.json index 9c67c55703e..b1668166cfa 100644 --- a/metadata/modules/prismaBidAdapter.json +++ b/metadata/modules/prismaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://fast.nexx360.io/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:37.668Z", + "timestamp": "2026-03-02T14:46:03.818Z", "disclosures": [] } }, diff --git a/metadata/modules/programmaticXBidAdapter.json b/metadata/modules/programmaticXBidAdapter.json index f73f75e6a2e..e88a5f370ba 100644 --- a/metadata/modules/programmaticXBidAdapter.json +++ b/metadata/modules/programmaticXBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://progrtb.com/tcf-vendor-disclosures.json": { - "timestamp": "2026-02-23T16:46:37.670Z", + "timestamp": "2026-03-02T14:46:03.818Z", "disclosures": [] } }, diff --git a/metadata/modules/proxistoreBidAdapter.json b/metadata/modules/proxistoreBidAdapter.json index 788c756279d..905a96a3b49 100644 --- a/metadata/modules/proxistoreBidAdapter.json +++ b/metadata/modules/proxistoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://abs.proxistore.com/assets/json/proxistore_device_storage_disclosure.json": { - "timestamp": "2026-02-23T16:46:37.731Z", + "timestamp": "2026-03-02T14:46:03.882Z", "disclosures": [] } }, diff --git a/metadata/modules/publinkIdSystem.json b/metadata/modules/publinkIdSystem.json index bb87745635d..7ad66a8914c 100644 --- a/metadata/modules/publinkIdSystem.json +++ b/metadata/modules/publinkIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s-usweb.dotomi.com/assets/js/taggy-js/2.18.9/device_storage_disclosure.json": { - "timestamp": "2026-02-23T16:46:38.272Z", + "timestamp": "2026-03-02T14:46:04.343Z", "disclosures": [ { "identifier": "dtm_status", diff --git a/metadata/modules/pubmaticBidAdapter.json b/metadata/modules/pubmaticBidAdapter.json index d1ceb3861d2..7dc64f1d033 100644 --- a/metadata/modules/pubmaticBidAdapter.json +++ b/metadata/modules/pubmaticBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2026-02-23T16:46:38.273Z", + "timestamp": "2026-03-02T14:46:04.343Z", "disclosures": [] } }, diff --git a/metadata/modules/pubmaticIdSystem.json b/metadata/modules/pubmaticIdSystem.json index 96de8153bd2..2545e56212f 100644 --- a/metadata/modules/pubmaticIdSystem.json +++ b/metadata/modules/pubmaticIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.pubmatic.com/devicestorage.json": { - "timestamp": "2026-02-23T16:46:38.326Z", + "timestamp": "2026-03-02T14:46:04.569Z", "disclosures": [] } }, diff --git a/metadata/modules/pubstackBidAdapter.json b/metadata/modules/pubstackBidAdapter.json new file mode 100644 index 00000000000..5081e22a00d --- /dev/null +++ b/metadata/modules/pubstackBidAdapter.json @@ -0,0 +1,25 @@ +{ + "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", + "disclosures": { + "https://cdn.pbstck.com/privacy_policies/device_storage_disclosures.json": { + "timestamp": "2026-03-02T14:46:04.602Z", + "disclosures": [] + } + }, + "components": [ + { + "componentType": "bidder", + "componentName": "pubstack", + "aliasOf": null, + "gvlid": 1408, + "disclosureURL": "https://cdn.pbstck.com/privacy_policies/device_storage_disclosures.json" + }, + { + "componentType": "bidder", + "componentName": "pubstack_server", + "aliasOf": "pubstack", + "gvlid": 1408, + "disclosureURL": "https://cdn.pbstck.com/privacy_policies/device_storage_disclosures.json" + } + ] +} \ No newline at end of file diff --git a/metadata/modules/pulsepointBidAdapter.json b/metadata/modules/pulsepointBidAdapter.json index a99d1500aef..3134a58466f 100644 --- a/metadata/modules/pulsepointBidAdapter.json +++ b/metadata/modules/pulsepointBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bh.contextweb.com/tcf/vendorInfo.json": { - "timestamp": "2026-02-23T16:46:38.328Z", + "timestamp": "2026-03-02T14:46:04.603Z", "disclosures": [] } }, diff --git a/metadata/modules/quantcastBidAdapter.json b/metadata/modules/quantcastBidAdapter.json index d5376ad540f..0b8de794a6c 100644 --- a/metadata/modules/quantcastBidAdapter.json +++ b/metadata/modules/quantcastBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2026-02-23T16:46:38.345Z", + "timestamp": "2026-03-02T14:46:04.619Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/quantcastIdSystem.json b/metadata/modules/quantcastIdSystem.json index c4824387f0e..0ac7d60db4a 100644 --- a/metadata/modules/quantcastIdSystem.json +++ b/metadata/modules/quantcastIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.quantcast.com/.well-known/devicestorage.json": { - "timestamp": "2026-02-23T16:46:38.525Z", + "timestamp": "2026-03-02T14:46:04.798Z", "disclosures": [ { "identifier": "__qca", diff --git a/metadata/modules/r2b2BidAdapter.json b/metadata/modules/r2b2BidAdapter.json index c30e8a48fb0..673069e3845 100644 --- a/metadata/modules/r2b2BidAdapter.json +++ b/metadata/modules/r2b2BidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://delivery.r2b2.io/cookie_disclosure": { - "timestamp": "2026-02-23T16:46:38.536Z", + "timestamp": "2026-03-02T14:46:04.800Z", "disclosures": [ { "identifier": "AdTrack-hide-*", diff --git a/metadata/modules/readpeakBidAdapter.json b/metadata/modules/readpeakBidAdapter.json index 52d1e7e94ed..752bc1a2f76 100644 --- a/metadata/modules/readpeakBidAdapter.json +++ b/metadata/modules/readpeakBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static.readpeak.com/tcf/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:38.907Z", + "timestamp": "2026-03-02T14:46:05.271Z", "disclosures": [ { "identifier": "rp_uidfp", diff --git a/metadata/modules/relayBidAdapter.json b/metadata/modules/relayBidAdapter.json index f8b1ebdb359..622cc457012 100644 --- a/metadata/modules/relayBidAdapter.json +++ b/metadata/modules/relayBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://relay42.com/hubfs/raw_assets/public/IAB.json": { - "timestamp": "2026-02-23T16:46:38.943Z", + "timestamp": "2026-03-02T14:46:05.294Z", "disclosures": null } }, diff --git a/metadata/modules/relevantdigitalBidAdapter.json b/metadata/modules/relevantdigitalBidAdapter.json index 012ce5e965e..5addfe8ad58 100644 --- a/metadata/modules/relevantdigitalBidAdapter.json +++ b/metadata/modules/relevantdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.relevant-digital.com/resources/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:39.813Z", + "timestamp": "2026-03-02T14:46:06.100Z", "disclosures": [] } }, diff --git a/metadata/modules/resetdigitalBidAdapter.json b/metadata/modules/resetdigitalBidAdapter.json index 0f76baa147d..dd359941cee 100644 --- a/metadata/modules/resetdigitalBidAdapter.json +++ b/metadata/modules/resetdigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resetdigital.co/GDPR-TCF.json": { - "timestamp": "2026-02-23T16:46:40.101Z", + "timestamp": "2026-03-02T14:46:06.261Z", "disclosures": [] } }, diff --git a/metadata/modules/responsiveAdsBidAdapter.json b/metadata/modules/responsiveAdsBidAdapter.json index bc05a7b7e84..37dc05e23e9 100644 --- a/metadata/modules/responsiveAdsBidAdapter.json +++ b/metadata/modules/responsiveAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://publish.responsiveads.com/tcf/tcf-v2.json": { - "timestamp": "2026-02-23T16:46:40.139Z", + "timestamp": "2026-03-02T14:46:06.304Z", "disclosures": [] } }, diff --git a/metadata/modules/revcontentBidAdapter.json b/metadata/modules/revcontentBidAdapter.json index f632ce44325..4c36e64fbd2 100644 --- a/metadata/modules/revcontentBidAdapter.json +++ b/metadata/modules/revcontentBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sothebys.revcontent.com/static/device_storage.json": { - "timestamp": "2026-02-23T16:46:40.186Z", + "timestamp": "2026-03-02T14:46:06.345Z", "disclosures": [ { "identifier": "__ID", diff --git a/metadata/modules/revnewBidAdapter.json b/metadata/modules/revnewBidAdapter.json index 5ecb6aa4bf9..6a2c2b0b465 100644 --- a/metadata/modules/revnewBidAdapter.json +++ b/metadata/modules/revnewBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mediafuse.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:40.251Z", + "timestamp": "2026-03-02T14:46:06.391Z", "disclosures": [] } }, diff --git a/metadata/modules/rhythmoneBidAdapter.json b/metadata/modules/rhythmoneBidAdapter.json index cc403f3bc41..b15321eabee 100644 --- a/metadata/modules/rhythmoneBidAdapter.json +++ b/metadata/modules/rhythmoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:40.374Z", + "timestamp": "2026-03-02T14:46:06.448Z", "disclosures": [] } }, diff --git a/metadata/modules/richaudienceBidAdapter.json b/metadata/modules/richaudienceBidAdapter.json index a4356846e9c..10611865e4a 100644 --- a/metadata/modules/richaudienceBidAdapter.json +++ b/metadata/modules/richaudienceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdnj.richaudience.com/52a26ab9400b2a9f5aabfa20acf3196g.json": { - "timestamp": "2026-02-23T16:46:40.704Z", + "timestamp": "2026-03-02T14:46:06.805Z", "disclosures": [] } }, diff --git a/metadata/modules/riseBidAdapter.json b/metadata/modules/riseBidAdapter.json index f91ed10f678..3891bd224cb 100644 --- a/metadata/modules/riseBidAdapter.json +++ b/metadata/modules/riseBidAdapter.json @@ -2,11 +2,11 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://d2pm7iglz0b6eq.cloudfront.net/RiseDeviceStorage.json": { - "timestamp": "2026-02-23T16:46:40.772Z", + "timestamp": "2026-03-02T14:46:06.861Z", "disclosures": [] }, "https://spotim-prd-static-assets.s3.amazonaws.com/iab/device-storage.json": { - "timestamp": "2026-02-23T16:46:40.772Z", + "timestamp": "2026-03-02T14:46:06.861Z", "disclosures": [] } }, diff --git a/metadata/modules/rixengineBidAdapter.json b/metadata/modules/rixengineBidAdapter.json index 7350dc1a269..980500fae02 100644 --- a/metadata/modules/rixengineBidAdapter.json +++ b/metadata/modules/rixengineBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.algorix.co/gdpr-disclosure.json": { - "timestamp": "2026-02-23T16:46:40.772Z", + "timestamp": "2026-03-02T14:46:06.862Z", "disclosures": [] } }, diff --git a/metadata/modules/rtbhouseBidAdapter.json b/metadata/modules/rtbhouseBidAdapter.json index 2ce97f53637..31714df7b2e 100644 --- a/metadata/modules/rtbhouseBidAdapter.json +++ b/metadata/modules/rtbhouseBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://rtbhouse.com/DeviceStorage.json": { - "timestamp": "2026-02-23T16:46:40.789Z", + "timestamp": "2026-03-02T14:46:06.887Z", "disclosures": [ { "identifier": "_rtbh.*", diff --git a/metadata/modules/rubiconBidAdapter.json b/metadata/modules/rubiconBidAdapter.json index 17e1ff321e2..68ecbd8f4a9 100644 --- a/metadata/modules/rubiconBidAdapter.json +++ b/metadata/modules/rubiconBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.rubiconproject.com/dvplus/devicestoragedisclosure.json": { - "timestamp": "2026-02-23T16:46:41.009Z", + "timestamp": "2026-03-02T14:46:07.020Z", "disclosures": [] } }, diff --git a/metadata/modules/scaliburBidAdapter.json b/metadata/modules/scaliburBidAdapter.json index 9ad2e289dc2..b39b894bd9f 100644 --- a/metadata/modules/scaliburBidAdapter.json +++ b/metadata/modules/scaliburBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://legal.overwolf.com/docs/overwolf/website/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:41.251Z", + "timestamp": "2026-03-02T14:46:07.254Z", "disclosures": [ { "identifier": "scluid", diff --git a/metadata/modules/screencoreBidAdapter.json b/metadata/modules/screencoreBidAdapter.json index 612712787f7..1772818cedc 100644 --- a/metadata/modules/screencoreBidAdapter.json +++ b/metadata/modules/screencoreBidAdapter.json @@ -2,8 +2,8 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://screencore.io/tcf.json": { - "timestamp": "2026-02-23T16:46:41.270Z", - "disclosures": null + "timestamp": "2026-03-02T14:46:07.274Z", + "disclosures": [] } }, "components": [ diff --git a/metadata/modules/seedingAllianceBidAdapter.json b/metadata/modules/seedingAllianceBidAdapter.json index a5cae979bb5..801af2fb55e 100644 --- a/metadata/modules/seedingAllianceBidAdapter.json +++ b/metadata/modules/seedingAllianceBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s.nativendo.de/cdn/asset/tcf/purpose-specific-storage-and-access-information.json": { - "timestamp": "2026-02-23T16:46:43.868Z", + "timestamp": "2026-03-02T14:46:07.339Z", "disclosures": [] } }, diff --git a/metadata/modules/seedtagBidAdapter.json b/metadata/modules/seedtagBidAdapter.json index 994b6f1a103..3ad01be8a3a 100644 --- a/metadata/modules/seedtagBidAdapter.json +++ b/metadata/modules/seedtagBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.seedtag.com/vendor.json": { - "timestamp": "2026-02-23T16:46:43.971Z", + "timestamp": "2026-03-02T14:46:07.366Z", "disclosures": [] } }, diff --git a/metadata/modules/semantiqRtdProvider.json b/metadata/modules/semantiqRtdProvider.json index cc7548e32e5..296ab8e1865 100644 --- a/metadata/modules/semantiqRtdProvider.json +++ b/metadata/modules/semantiqRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audienzz.com/device_storage_disclosure_vendor_783.json": { - "timestamp": "2026-02-23T16:46:43.971Z", + "timestamp": "2026-03-02T14:46:07.366Z", "disclosures": [] } }, diff --git a/metadata/modules/setupadBidAdapter.json b/metadata/modules/setupadBidAdapter.json index 4411f2126c2..20bb4dab06f 100644 --- a/metadata/modules/setupadBidAdapter.json +++ b/metadata/modules/setupadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cookies.stpd.cloud/disclosures.json": { - "timestamp": "2026-02-23T16:46:44.040Z", + "timestamp": "2026-03-02T14:46:07.471Z", "disclosures": [] } }, diff --git a/metadata/modules/sevioBidAdapter.json b/metadata/modules/sevioBidAdapter.json index 8b4155bad91..4326d208d40 100644 --- a/metadata/modules/sevioBidAdapter.json +++ b/metadata/modules/sevioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sevio.com/tcf.json": { - "timestamp": "2026-02-23T16:46:44.168Z", + "timestamp": "2026-03-02T14:46:07.609Z", "disclosures": [] } }, diff --git a/metadata/modules/sharedIdSystem.json b/metadata/modules/sharedIdSystem.json index d387202b43c..cda116dbd54 100644 --- a/metadata/modules/sharedIdSystem.json +++ b/metadata/modules/sharedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2026-02-23T16:46:44.313Z", + "timestamp": "2026-03-02T14:46:07.758Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/sharethroughBidAdapter.json b/metadata/modules/sharethroughBidAdapter.json index 89c00185e6e..8c2ce012b1d 100644 --- a/metadata/modules/sharethroughBidAdapter.json +++ b/metadata/modules/sharethroughBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://assets.sharethrough.com/gvl.json": { - "timestamp": "2026-02-23T16:46:44.313Z", + "timestamp": "2026-03-02T14:46:07.758Z", "disclosures": [] } }, diff --git a/metadata/modules/showheroes-bsBidAdapter.json b/metadata/modules/showheroes-bsBidAdapter.json index 9c73af19048..9abcf1c23b4 100644 --- a/metadata/modules/showheroes-bsBidAdapter.json +++ b/metadata/modules/showheroes-bsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://static-origin.showheroes.com/gvl_storage_disclosure.json": { - "timestamp": "2026-02-23T16:46:44.338Z", + "timestamp": "2026-03-02T14:46:07.777Z", "disclosures": [] } }, diff --git a/metadata/modules/silvermobBidAdapter.json b/metadata/modules/silvermobBidAdapter.json index 3226ae43a1f..c5aa4e9afcb 100644 --- a/metadata/modules/silvermobBidAdapter.json +++ b/metadata/modules/silvermobBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://silvermob.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:44.845Z", + "timestamp": "2026-03-02T14:46:08.247Z", "disclosures": [] } }, diff --git a/metadata/modules/sirdataRtdProvider.json b/metadata/modules/sirdataRtdProvider.json index 0c54f8de6de..348ce7f9fd4 100644 --- a/metadata/modules/sirdataRtdProvider.json +++ b/metadata/modules/sirdataRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sirdata.eu/sirdata_device_storage_disclosure.json": { - "timestamp": "2026-02-23T16:46:44.860Z", + "timestamp": "2026-03-02T14:46:08.262Z", "disclosures": [] } }, diff --git a/metadata/modules/smaatoBidAdapter.json b/metadata/modules/smaatoBidAdapter.json index 3d218dd6936..413fb0f4ca3 100644 --- a/metadata/modules/smaatoBidAdapter.json +++ b/metadata/modules/smaatoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://resources.smaato.com/hubfs/Smaato/IAB/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:45.210Z", + "timestamp": "2026-03-02T14:46:08.585Z", "disclosures": [] } }, diff --git a/metadata/modules/smartadserverBidAdapter.json b/metadata/modules/smartadserverBidAdapter.json index b17d0a46919..a1c3212113e 100644 --- a/metadata/modules/smartadserverBidAdapter.json +++ b/metadata/modules/smartadserverBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://apps.smartadserver.com/device-storage-disclosures/equativDeviceStorageDisclosures.json": { - "timestamp": "2026-02-23T16:46:45.331Z", + "timestamp": "2026-03-02T14:46:08.665Z", "disclosures": [] } }, diff --git a/metadata/modules/smartxBidAdapter.json b/metadata/modules/smartxBidAdapter.json index 56af6c1fe90..06854dd00c3 100644 --- a/metadata/modules/smartxBidAdapter.json +++ b/metadata/modules/smartxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.smartclip.net/iab/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:45.331Z", + "timestamp": "2026-03-02T14:46:08.666Z", "disclosures": [] } }, diff --git a/metadata/modules/smartyadsBidAdapter.json b/metadata/modules/smartyadsBidAdapter.json index eba853e8c5f..202d8317bad 100644 --- a/metadata/modules/smartyadsBidAdapter.json +++ b/metadata/modules/smartyadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smartyads.com/tcf.json": { - "timestamp": "2026-02-23T16:46:45.348Z", + "timestamp": "2026-03-02T14:46:08.685Z", "disclosures": [] } }, diff --git a/metadata/modules/smilewantedBidAdapter.json b/metadata/modules/smilewantedBidAdapter.json index ac23b467ca0..7b14099448a 100644 --- a/metadata/modules/smilewantedBidAdapter.json +++ b/metadata/modules/smilewantedBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://smilewanted.com/vendor-device-storage-disclosures.json": { - "timestamp": "2026-02-23T16:46:45.388Z", + "timestamp": "2026-03-02T14:46:08.723Z", "disclosures": [] } }, diff --git a/metadata/modules/snigelBidAdapter.json b/metadata/modules/snigelBidAdapter.json index 92f87aff58a..ef1115d5554 100644 --- a/metadata/modules/snigelBidAdapter.json +++ b/metadata/modules/snigelBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.snigelweb.com/gvl/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:45.853Z", + "timestamp": "2026-03-02T14:46:09.181Z", "disclosures": [] } }, diff --git a/metadata/modules/sonaradsBidAdapter.json b/metadata/modules/sonaradsBidAdapter.json index 6ae3c2d0521..b75cfe08e7c 100644 --- a/metadata/modules/sonaradsBidAdapter.json +++ b/metadata/modules/sonaradsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bridgeupp.com/device-storage-disclosure.json": { - "timestamp": "2026-02-23T16:46:45.887Z", + "timestamp": "2026-03-02T14:46:09.233Z", "disclosures": [] } }, diff --git a/metadata/modules/sonobiBidAdapter.json b/metadata/modules/sonobiBidAdapter.json index 9af60365ea1..6ebb47d3e03 100644 --- a/metadata/modules/sonobiBidAdapter.json +++ b/metadata/modules/sonobiBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://sonobi.com/tcf2-device-storage-disclosure.json": { - "timestamp": "2026-02-23T16:46:46.110Z", + "timestamp": "2026-03-02T14:46:09.460Z", "disclosures": [] } }, diff --git a/metadata/modules/sovrnBidAdapter.json b/metadata/modules/sovrnBidAdapter.json index 0cfeb10dd67..0abfb9c0b85 100644 --- a/metadata/modules/sovrnBidAdapter.json +++ b/metadata/modules/sovrnBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.sovrn.com/tcf-cookie-disclosure/disclosure.json": { - "timestamp": "2026-02-23T16:46:46.339Z", + "timestamp": "2026-03-02T14:46:09.690Z", "disclosures": [] } }, diff --git a/metadata/modules/sparteoBidAdapter.json b/metadata/modules/sparteoBidAdapter.json index fd0a4545adb..b89e3d7a3d7 100644 --- a/metadata/modules/sparteoBidAdapter.json +++ b/metadata/modules/sparteoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:46.358Z", + "timestamp": "2026-03-02T14:46:09.709Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/ssmasBidAdapter.json b/metadata/modules/ssmasBidAdapter.json index 74e7b5f7b4e..be24aefdf2e 100644 --- a/metadata/modules/ssmasBidAdapter.json +++ b/metadata/modules/ssmasBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://semseoymas.com/iab.json": { - "timestamp": "2026-02-23T16:46:46.867Z", + "timestamp": "2026-03-02T14:46:09.989Z", "disclosures": null } }, diff --git a/metadata/modules/sspBCBidAdapter.json b/metadata/modules/sspBCBidAdapter.json index 6751dd820fb..a99dc0c8ea5 100644 --- a/metadata/modules/sspBCBidAdapter.json +++ b/metadata/modules/sspBCBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ssp.wp.pl/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:47.561Z", + "timestamp": "2026-03-02T14:46:10.636Z", "disclosures": null } }, diff --git a/metadata/modules/stackadaptBidAdapter.json b/metadata/modules/stackadaptBidAdapter.json index 805fbbb0997..6a53c79a6f2 100644 --- a/metadata/modules/stackadaptBidAdapter.json +++ b/metadata/modules/stackadaptBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://s3.amazonaws.com/stackadapt_public/disclosures.json": { - "timestamp": "2026-02-23T16:46:47.562Z", + "timestamp": "2026-03-02T14:46:10.637Z", "disclosures": [ { "identifier": "sa-camp-*", diff --git a/metadata/modules/startioBidAdapter.json b/metadata/modules/startioBidAdapter.json index bd992ea772c..62dadaf9188 100644 --- a/metadata/modules/startioBidAdapter.json +++ b/metadata/modules/startioBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://info.startappservice.com/tcf/start.io_domains.json": { - "timestamp": "2026-02-23T16:46:47.608Z", + "timestamp": "2026-03-02T14:46:10.672Z", "disclosures": [] } }, diff --git a/metadata/modules/stroeerCoreBidAdapter.json b/metadata/modules/stroeerCoreBidAdapter.json index d198134cd6b..4830347118e 100644 --- a/metadata/modules/stroeerCoreBidAdapter.json +++ b/metadata/modules/stroeerCoreBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.stroeer.de/StroeerSSP_deviceStorage.json": { - "timestamp": "2026-02-23T16:46:47.628Z", + "timestamp": "2026-03-02T14:46:10.688Z", "disclosures": [] } }, diff --git a/metadata/modules/stvBidAdapter.json b/metadata/modules/stvBidAdapter.json index 1f780caaf60..0409bb9984d 100644 --- a/metadata/modules/stvBidAdapter.json +++ b/metadata/modules/stvBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.adtech.app/gen/deviceStorageDisclosure/stv.json": { - "timestamp": "2026-02-23T16:46:48.003Z", + "timestamp": "2026-03-02T14:46:11.041Z", "disclosures": [] } }, diff --git a/metadata/modules/sublimeBidAdapter.json b/metadata/modules/sublimeBidAdapter.json index ec6552c31a3..babdae509ce 100644 --- a/metadata/modules/sublimeBidAdapter.json +++ b/metadata/modules/sublimeBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://gdpr.ayads.co/cookiepolicy.json": { - "timestamp": "2026-02-23T16:46:48.633Z", + "timestamp": "2026-03-02T14:46:11.678Z", "disclosures": [ { "identifier": "dnt", diff --git a/metadata/modules/taboolaBidAdapter.json b/metadata/modules/taboolaBidAdapter.json index 04e6ee9448c..c829cd46687 100644 --- a/metadata/modules/taboolaBidAdapter.json +++ b/metadata/modules/taboolaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2026-02-23T16:46:48.896Z", + "timestamp": "2026-03-02T14:46:11.938Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/taboolaIdSystem.json b/metadata/modules/taboolaIdSystem.json index facd96483c0..6fcf6a5ec28 100644 --- a/metadata/modules/taboolaIdSystem.json +++ b/metadata/modules/taboolaIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://accessrequest.taboola.com/iab-tcf-v2-disclosure.json": { - "timestamp": "2026-02-23T16:46:49.649Z", + "timestamp": "2026-03-02T14:46:12.149Z", "disclosures": [ { "identifier": "trc_cookie_storage", diff --git a/metadata/modules/tadvertisingBidAdapter.json b/metadata/modules/tadvertisingBidAdapter.json index 2883fb9359b..35fb4310c9c 100644 --- a/metadata/modules/tadvertisingBidAdapter.json +++ b/metadata/modules/tadvertisingBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tcf.emetriq.de/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:46:49.649Z", + "timestamp": "2026-03-02T14:46:12.150Z", "disclosures": [] } }, diff --git a/metadata/modules/tappxBidAdapter.json b/metadata/modules/tappxBidAdapter.json index 80a5faf1393..6a1843cea0d 100644 --- a/metadata/modules/tappxBidAdapter.json +++ b/metadata/modules/tappxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://tappx.com/devicestorage.json": { - "timestamp": "2026-02-23T16:46:49.676Z", + "timestamp": "2026-03-02T14:46:12.408Z", "disclosures": [] } }, diff --git a/metadata/modules/targetVideoBidAdapter.json b/metadata/modules/targetVideoBidAdapter.json index 9d2f8d9eb10..d785b33951a 100644 --- a/metadata/modules/targetVideoBidAdapter.json +++ b/metadata/modules/targetVideoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://target-video.com/vendors-device-storage-and-operational-disclosures.json": { - "timestamp": "2026-02-23T16:46:49.705Z", + "timestamp": "2026-03-02T14:46:12.436Z", "disclosures": [ { "identifier": "brid_location", diff --git a/metadata/modules/teadsBidAdapter.json b/metadata/modules/teadsBidAdapter.json index f7bde1849e1..669db4c09d6 100644 --- a/metadata/modules/teadsBidAdapter.json +++ b/metadata/modules/teadsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:49.705Z", + "timestamp": "2026-03-02T14:46:12.437Z", "disclosures": [] } }, diff --git a/metadata/modules/teadsIdSystem.json b/metadata/modules/teadsIdSystem.json index e87eaea62c9..a84486229b0 100644 --- a/metadata/modules/teadsIdSystem.json +++ b/metadata/modules/teadsIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://iab-cookie-disclosure.teads.tv/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:49.723Z", + "timestamp": "2026-03-02T14:46:12.457Z", "disclosures": [] } }, diff --git a/metadata/modules/tealBidAdapter.json b/metadata/modules/tealBidAdapter.json index 9e70bdfb084..fb6a14599bd 100644 --- a/metadata/modules/tealBidAdapter.json +++ b/metadata/modules/tealBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://c.bids.ws/iab/disclosures.json": { - "timestamp": "2026-02-23T16:46:49.723Z", + "timestamp": "2026-03-02T14:46:12.457Z", "disclosures": [] } }, diff --git a/metadata/modules/tncIdSystem.json b/metadata/modules/tncIdSystem.json index eda93c2d7e9..dd50f1b4493 100644 --- a/metadata/modules/tncIdSystem.json +++ b/metadata/modules/tncIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://js.tncid.app/iab-tcf-device-storage-disclosure.json": { - "timestamp": "2026-02-23T16:46:49.770Z", + "timestamp": "2026-03-02T14:46:12.515Z", "disclosures": [] } }, diff --git a/metadata/modules/topicsFpdModule.json b/metadata/modules/topicsFpdModule.json index 80539abb3c4..e4683b84727 100644 --- a/metadata/modules/topicsFpdModule.json +++ b/metadata/modules/topicsFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/topicsFpdModule.json": { - "timestamp": "2026-02-23T16:45:39.803Z", + "timestamp": "2026-03-02T14:44:46.316Z", "disclosures": [ { "identifier": "prebid:topics", diff --git a/metadata/modules/toponBidAdapter.json b/metadata/modules/toponBidAdapter.json index 9da24e24f42..719b4868651 100644 --- a/metadata/modules/toponBidAdapter.json +++ b/metadata/modules/toponBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://mores.toponad.net/tmp/tpn/toponads_tcf_disclosure.json": { - "timestamp": "2026-02-23T16:46:49.802Z", + "timestamp": "2026-03-02T14:46:12.534Z", "disclosures": [] } }, diff --git a/metadata/modules/tripleliftBidAdapter.json b/metadata/modules/tripleliftBidAdapter.json index 749692885ff..ae8f461ead0 100644 --- a/metadata/modules/tripleliftBidAdapter.json +++ b/metadata/modules/tripleliftBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://triplelift.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:46:49.901Z", + "timestamp": "2026-03-02T14:46:12.661Z", "disclosures": [] } }, diff --git a/metadata/modules/ttdBidAdapter.json b/metadata/modules/ttdBidAdapter.json index a867b85ec31..825c0388f7a 100644 --- a/metadata/modules/ttdBidAdapter.json +++ b/metadata/modules/ttdBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-02-23T16:46:49.930Z", + "timestamp": "2026-03-02T14:46:12.692Z", "disclosures": [] } }, diff --git a/metadata/modules/twistDigitalBidAdapter.json b/metadata/modules/twistDigitalBidAdapter.json index 559fb3fd5c4..fc4095423c5 100644 --- a/metadata/modules/twistDigitalBidAdapter.json +++ b/metadata/modules/twistDigitalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://twistdigital.net/iab.json": { - "timestamp": "2026-02-23T16:46:49.930Z", + "timestamp": "2026-03-02T14:46:12.692Z", "disclosures": [ { "identifier": "vdzj1_{id}", diff --git a/metadata/modules/underdogmediaBidAdapter.json b/metadata/modules/underdogmediaBidAdapter.json index 2628349ae18..dbd497898d7 100644 --- a/metadata/modules/underdogmediaBidAdapter.json +++ b/metadata/modules/underdogmediaBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.underdog.media/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:13.633Z", + "timestamp": "2026-03-02T14:46:12.772Z", "disclosures": [] } }, diff --git a/metadata/modules/undertoneBidAdapter.json b/metadata/modules/undertoneBidAdapter.json index a358ef5eba5..0b02483de93 100644 --- a/metadata/modules/undertoneBidAdapter.json +++ b/metadata/modules/undertoneBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.undertone.com/js/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:13.661Z", + "timestamp": "2026-03-02T14:46:12.790Z", "disclosures": [] } }, diff --git a/metadata/modules/unifiedIdSystem.json b/metadata/modules/unifiedIdSystem.json index 9d874319e3e..cc27f390b4d 100644 --- a/metadata/modules/unifiedIdSystem.json +++ b/metadata/modules/unifiedIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ttd-misc-public-assets.s3.us-west-2.amazonaws.com/deviceStorageDisclosureURL.json": { - "timestamp": "2026-02-23T16:47:13.761Z", + "timestamp": "2026-03-02T14:46:12.878Z", "disclosures": [] } }, diff --git a/metadata/modules/unrulyBidAdapter.json b/metadata/modules/unrulyBidAdapter.json index bb45d2ed3b7..5d00220a7b8 100644 --- a/metadata/modules/unrulyBidAdapter.json +++ b/metadata/modules/unrulyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://video.unrulymedia.com/deviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:47:13.762Z", + "timestamp": "2026-03-02T14:46:12.878Z", "disclosures": [] } }, diff --git a/metadata/modules/userId.json b/metadata/modules/userId.json index 0ba454ed268..a7288064da5 100644 --- a/metadata/modules/userId.json +++ b/metadata/modules/userId.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/userId-optout.json": { - "timestamp": "2026-02-23T16:45:39.804Z", + "timestamp": "2026-03-02T14:44:46.317Z", "disclosures": [ { "identifier": "_pbjs_id_optout", diff --git a/metadata/modules/utiqIdSystem.json b/metadata/modules/utiqIdSystem.json index 07224a7afd7..6e7e629b0ac 100644 --- a/metadata/modules/utiqIdSystem.json +++ b/metadata/modules/utiqIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:47:13.762Z", + "timestamp": "2026-03-02T14:46:12.878Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/utiqMtpIdSystem.json b/metadata/modules/utiqMtpIdSystem.json index 4a4449b21b1..8e9e76248b8 100644 --- a/metadata/modules/utiqMtpIdSystem.json +++ b/metadata/modules/utiqMtpIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/modules/utiqDeviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:47:13.763Z", + "timestamp": "2026-03-02T14:46:12.879Z", "disclosures": [ { "identifier": "utiqPass", diff --git a/metadata/modules/validationFpdModule.json b/metadata/modules/validationFpdModule.json index eda44e25e76..05f5921394d 100644 --- a/metadata/modules/validationFpdModule.json +++ b/metadata/modules/validationFpdModule.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.jsdelivr.net/gh/prebid/Prebid.js/metadata/disclosures/prebid/sharedId-optout.json": { - "timestamp": "2026-02-23T16:45:39.803Z", + "timestamp": "2026-03-02T14:44:46.316Z", "disclosures": [ { "identifier": "_pubcid_optout", diff --git a/metadata/modules/valuadBidAdapter.json b/metadata/modules/valuadBidAdapter.json index fe471a8ca81..4bcb9939955 100644 --- a/metadata/modules/valuadBidAdapter.json +++ b/metadata/modules/valuadBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.valuad.cloud/tcfdevice.json": { - "timestamp": "2026-02-23T16:47:13.763Z", + "timestamp": "2026-03-02T14:46:12.879Z", "disclosures": [] } }, diff --git a/metadata/modules/vidazooBidAdapter.json b/metadata/modules/vidazooBidAdapter.json index d893b26cc36..d2fee191de4 100644 --- a/metadata/modules/vidazooBidAdapter.json +++ b/metadata/modules/vidazooBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidazoo.com/gdpr-tcf/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:13.996Z", + "timestamp": "2026-03-02T14:46:13.094Z", "disclosures": [ { "identifier": "ck48wz12sqj7", diff --git a/metadata/modules/vidoomyBidAdapter.json b/metadata/modules/vidoomyBidAdapter.json index 3def3f7d4eb..4902540cf3f 100644 --- a/metadata/modules/vidoomyBidAdapter.json +++ b/metadata/modules/vidoomyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vidoomy.com/storageurl/devicestoragediscurl.json": { - "timestamp": "2026-02-23T16:47:14.066Z", + "timestamp": "2026-03-02T14:46:13.172Z", "disclosures": [] } }, diff --git a/metadata/modules/viouslyBidAdapter.json b/metadata/modules/viouslyBidAdapter.json index 6a52ca53499..c26728473ea 100644 --- a/metadata/modules/viouslyBidAdapter.json +++ b/metadata/modules/viouslyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://bid.bricks-co.com/.well-known/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:14.187Z", + "timestamp": "2026-03-02T14:46:18.010Z", "disclosures": [ { "identifier": "fastCMP-addtlConsent", diff --git a/metadata/modules/visxBidAdapter.json b/metadata/modules/visxBidAdapter.json index 077ee35fa36..de208d4fa21 100644 --- a/metadata/modules/visxBidAdapter.json +++ b/metadata/modules/visxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.yoc.com/visx/sellers/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:14.188Z", + "timestamp": "2026-03-02T14:46:18.011Z", "disclosures": [ { "identifier": "__vads", diff --git a/metadata/modules/vlybyBidAdapter.json b/metadata/modules/vlybyBidAdapter.json index 2ae5d926cdc..a8a8be09eb6 100644 --- a/metadata/modules/vlybyBidAdapter.json +++ b/metadata/modules/vlybyBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vlyby.com/conf/iab/gvl.json": { - "timestamp": "2026-02-23T16:47:14.524Z", + "timestamp": "2026-03-02T14:46:18.324Z", "disclosures": [] } }, diff --git a/metadata/modules/voxBidAdapter.json b/metadata/modules/voxBidAdapter.json index ccf35b682bb..71d1adacb65 100644 --- a/metadata/modules/voxBidAdapter.json +++ b/metadata/modules/voxBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://st.hybrid.ai/policy/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:14.873Z", + "timestamp": "2026-03-02T14:46:18.645Z", "disclosures": [] } }, diff --git a/metadata/modules/vrtcalBidAdapter.json b/metadata/modules/vrtcalBidAdapter.json index 7677600a53e..492cc4a9c29 100644 --- a/metadata/modules/vrtcalBidAdapter.json +++ b/metadata/modules/vrtcalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://vrtcal.com/docs/gdpr-tcf-disclosures.json": { - "timestamp": "2026-02-23T16:47:14.873Z", + "timestamp": "2026-03-02T14:46:18.645Z", "disclosures": [] } }, diff --git a/metadata/modules/vuukleBidAdapter.json b/metadata/modules/vuukleBidAdapter.json index 9bc73add65e..9ff99596a87 100644 --- a/metadata/modules/vuukleBidAdapter.json +++ b/metadata/modules/vuukleBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn.vuukle.com/data-privacy/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:14.886Z", + "timestamp": "2026-03-02T14:46:18.662Z", "disclosures": [ { "identifier": "vuukle_token", diff --git a/metadata/modules/weboramaRtdProvider.json b/metadata/modules/weboramaRtdProvider.json index 2a8011b6b1f..3d5c7c23945 100644 --- a/metadata/modules/weboramaRtdProvider.json +++ b/metadata/modules/weboramaRtdProvider.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://weborama.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:15.183Z", + "timestamp": "2026-03-02T14:46:18.964Z", "disclosures": [] } }, diff --git a/metadata/modules/welectBidAdapter.json b/metadata/modules/welectBidAdapter.json index 8d10a15c1c2..f6fe924992e 100644 --- a/metadata/modules/welectBidAdapter.json +++ b/metadata/modules/welectBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://www.welect.de/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:15.439Z", + "timestamp": "2026-03-02T14:46:19.465Z", "disclosures": [] } }, diff --git a/metadata/modules/yahooAdsBidAdapter.json b/metadata/modules/yahooAdsBidAdapter.json index 749e127536f..214ac134bbe 100644 --- a/metadata/modules/yahooAdsBidAdapter.json +++ b/metadata/modules/yahooAdsBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://meta.legal.yahoo.com/iab-tcf/v2/device-storage-disclosure.json": { - "timestamp": "2026-02-23T16:47:15.869Z", + "timestamp": "2026-03-02T14:46:19.840Z", "disclosures": [ { "identifier": "vmcid", diff --git a/metadata/modules/yaleoBidAdapter.json b/metadata/modules/yaleoBidAdapter.json index dd76827e542..b78e431d9c6 100644 --- a/metadata/modules/yaleoBidAdapter.json +++ b/metadata/modules/yaleoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://audienzz.com/device_storage_disclosure_vendor_783.json": { - "timestamp": "2026-02-23T16:47:15.869Z", + "timestamp": "2026-03-02T14:46:19.841Z", "disclosures": [] } }, diff --git a/metadata/modules/yieldlabBidAdapter.json b/metadata/modules/yieldlabBidAdapter.json index 6f6e9c3db9c..52962311fa8 100644 --- a/metadata/modules/yieldlabBidAdapter.json +++ b/metadata/modules/yieldlabBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://ad.yieldlab.net/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:15.870Z", + "timestamp": "2026-03-02T14:46:19.841Z", "disclosures": [] } }, diff --git a/metadata/modules/yieldloveBidAdapter.json b/metadata/modules/yieldloveBidAdapter.json index 81f282fcb98..e0f3e660ae6 100644 --- a/metadata/modules/yieldloveBidAdapter.json +++ b/metadata/modules/yieldloveBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://cdn-a.yieldlove.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:15.998Z", + "timestamp": "2026-03-02T14:46:20.279Z", "disclosures": [ { "identifier": "session_id", diff --git a/metadata/modules/yieldmoBidAdapter.json b/metadata/modules/yieldmoBidAdapter.json index 03d2e47b63e..ce311353d52 100644 --- a/metadata/modules/yieldmoBidAdapter.json +++ b/metadata/modules/yieldmoBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://devicestoragedisclosureurl.yieldmo.com/deviceStorage.json": { - "timestamp": "2026-02-23T16:47:16.022Z", + "timestamp": "2026-03-02T14:46:20.302Z", "disclosures": [] } }, diff --git a/metadata/modules/zeotapIdPlusIdSystem.json b/metadata/modules/zeotapIdPlusIdSystem.json index 9f3ad140787..3f9dfb1b424 100644 --- a/metadata/modules/zeotapIdPlusIdSystem.json +++ b/metadata/modules/zeotapIdPlusIdSystem.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://spl.zeotap.com/assets/iab-disclosure.json": { - "timestamp": "2026-02-23T16:47:16.089Z", + "timestamp": "2026-03-02T14:46:20.390Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_globalBidAdapter.json b/metadata/modules/zeta_globalBidAdapter.json index 291c37e9782..f215e1e0463 100644 --- a/metadata/modules/zeta_globalBidAdapter.json +++ b/metadata/modules/zeta_globalBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:47:16.223Z", + "timestamp": "2026-03-02T14:46:20.525Z", "disclosures": [] } }, diff --git a/metadata/modules/zeta_global_sspBidAdapter.json b/metadata/modules/zeta_global_sspBidAdapter.json index 11d006cca2a..517fd76fb4c 100644 --- a/metadata/modules/zeta_global_sspBidAdapter.json +++ b/metadata/modules/zeta_global_sspBidAdapter.json @@ -2,7 +2,7 @@ "NOTICE": "do not edit - this file is autogenerated by `gulp update-metadata`", "disclosures": { "https://zetaglobal.com/ZetaDeviceStorageDisclosure.json": { - "timestamp": "2026-02-23T16:47:16.313Z", + "timestamp": "2026-03-02T14:46:20.656Z", "disclosures": [] } }, diff --git a/package-lock.json b/package-lock.json index 83ad693982d..74f3683d12c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.27.0-pre", + "version": "10.27.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.27.0-pre", + "version": "10.27.0", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", @@ -7869,9 +7869,9 @@ "license": "MIT" }, "node_modules/caniuse-lite": { - "version": "1.0.30001774", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001774.tgz", - "integrity": "sha512-DDdwPGz99nmIEv216hKSgLD+D4ikHQHjBC/seF98N9CPqRX4M5mSxT9eTV6oyisnJcuzxtZy4n17yKKQYmYQOA==", + "version": "1.0.30001775", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001775.tgz", + "integrity": "sha512-s3Qv7Lht9zbVKE9XoTyRG6wVDCKdtOFIjBGg3+Yhn6JaytuNKPIjBMTMIY1AnOH3seL5mvF+x33oGAyK3hVt3A==", "funding": [ { "type": "opencollective", @@ -27298,9 +27298,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001774", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001774.tgz", - "integrity": "sha512-DDdwPGz99nmIEv216hKSgLD+D4ikHQHjBC/seF98N9CPqRX4M5mSxT9eTV6oyisnJcuzxtZy4n17yKKQYmYQOA==" + "version": "1.0.30001775", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001775.tgz", + "integrity": "sha512-s3Qv7Lht9zbVKE9XoTyRG6wVDCKdtOFIjBGg3+Yhn6JaytuNKPIjBMTMIY1AnOH3seL5mvF+x33oGAyK3hVt3A==" }, "chai": { "version": "4.4.1", diff --git a/package.json b/package.json index daf5b472e5c..901ff570041 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.27.0-pre", + "version": "10.27.0", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": { From f096787007a5a33b7e231c7e91f7f9192eb142aa Mon Sep 17 00:00:00 2001 From: "Prebid.js automated release" Date: Mon, 2 Mar 2026 14:53:46 +0000 Subject: [PATCH 248/248] Increment version to 10.28.0-pre --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 74f3683d12c..85fc646f8bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "prebid.js", - "version": "10.27.0", + "version": "10.28.0-pre", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "prebid.js", - "version": "10.27.0", + "version": "10.28.0-pre", "license": "Apache-2.0", "dependencies": { "@babel/core": "^7.28.4", diff --git a/package.json b/package.json index 901ff570041..c82ac4ff4f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "prebid.js", - "version": "10.27.0", + "version": "10.28.0-pre", "description": "Header Bidding Management Library", "main": "dist/src/prebid.public.ts", "exports": {