Skip to content

Yieldmo Bid Adapter: revert badv support (keep bcat) [FS-12411] - #66

Open
ym-aaron wants to merge 2 commits into
FS-12411-revert-badv-basefrom
FS-12411-revert-badv-agent
Open

Yieldmo Bid Adapter: revert badv support (keep bcat) [FS-12411]#66
ym-aaron wants to merge 2 commits into
FS-12411-revert-badv-basefrom
FS-12411-revert-badv-agent

Conversation

@ym-aaron

@ym-aaron ym-aaron commented Jun 23, 2026

Copy link
Copy Markdown

Type of change

  • Bugfix
  • Updated bidder adapter

Description of change

Reverts the badv portions of prebid#14989 (prebid/Prebid.js#14989). A large publisher who requested badv is sending very long badv lists, which is materially hurting monetization (FS-12411, PS-7681). bcat is left fully intact (ortb2 + params merge, banner + video).

badv is restored to its exact pre-prebid#14989 behavior:

  • Banner GET no longer sends badv.
  • Video OpenRTB sends badv: bidRequests[0].params.badv || [] (no ortb2 source, no merge).
  • params.badv array validation moves back into validateVideoParams (video-only) — a non-array params.badv drops a video bid; banner badv is not validated.

getBlocklist is retained because bcat still uses it (ortb2 + params union/dedupe).

Files

  • modules/yieldmoBidAdapter.js — revert the four badv touch-points listed above.
  • modules/yieldmoBidAdapter.md — drop badv from examples; blocklist section rewritten as bcat-only.
  • test/spec/modules/yieldmoBidAdapter_spec.js — tests rewritten bcat-only; added assertions that banner never sends badv and video sends params.badv only.

Note: base branch FS-12411-revert-badv-base is a snapshot of prebid upstream/master (the commit this work is based on), used so this intra-fork PR shows only the revert diff. The fork's master is behind upstream and lacks prebid#14989.

Test results

  • npx eslint 'modules/yieldmoBidAdapter.js' 'test/spec/modules/yieldmoBidAdapter_spec.js' — clean (exit 0).
  • npx gulp test --nolint --file test/spec/modules/yieldmoBidAdapter_spec.js88 tests passed.

Other information

This is the internal review PR. The upstream PR will go yieldmo:FS-12411-revert-badv-agentprebid/Prebid.js:master, mirroring how prebid#14989 was merged.

🤖 Generated with Claude Code

ym-aaron and others added 2 commits June 23, 2026 11:41
Reverts the badv portions of prebid#14989 because a large publisher's long badv
lists are materially hurting monetization (FS-12411). bcat is left fully
intact (ortb2 + params merge on banner and video).

badv is restored to its exact pre-prebid#14989 behavior:
- banner GET no longer sends badv
- video OpenRTB sends badv: bidRequests[0].params.badv || [] (no ortb2/merge)
- params.badv array validation moves back into validateVideoParams (video-only)

Docs and unit tests updated to match; getBlocklist retained for bcat.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Restore badv to the docs after the FS-12411 revert, but scoped to its
actual reverted behavior: video-only, params source only (no ortb2, no
banner). Documentation only; no code change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant