Skip to content

Optable RTD Module: document cache-first default handler and params.instance - #6961

Draft
jplaroche wants to merge 4 commits into
prebid:masterfrom
Optable:agent/optable-rtd-cache-first
Draft

jplaroche wants to merge 4 commits into
prebid:masterfrom
Optable:agent/optable-rtd-cache-first

Conversation

@jplaroche

@jplaroche jplaroche commented Nov 13, 2026 •

Copy link
Copy Markdown

🏷 Type of documentation

  • new feature

Description

Docs for the Optable RTD module changes released in Prebid.js 11.52.0 (prebid/Prebid.js#15895, prebid/Prebid.js#16243).

  • New Default handler section: the module calls the bundle's rtd.handleRtd once the bundle has loaded. Before that, it merges targeting data cached on a previous page (localStorage key OPTABLE_RESOLVED, read through the storage manager) into user.ext.eids without waiting. It waits for the bundle only when nothing is cached.
  • params.handleRtd: a custom handler is now called as soon as the auction starts, and receives params.instance as a 4th argument. Added a snippet for waiting on the bundle, and noted that a failing handler is logged and the auction continues. Added a note that before 11.52.0 a custom handler ran only after the bundle loaded.
  • Added the missing params.instance row and config example.
  • New Direct targeting mode section (params.enableTargeting, added in 11.52.0): lookup order, config example, parameters, and the tcfControl softVendorExceptions note.
  • Clarified that auctionDelay / waitForIt only delay auctions that start before the bundle loads with nothing cached.

markdownlint passes with the repo config.

📋 Checklist

…nstance

Docs for prebid/Prebid.js#15748. The default handler now merges targeting
data cached on a previous page when the Optable bundle has not loaded
yet, and only waits for the bundle when nothing is cached. A custom
handleRtd is called as soon as the auction starts. Also documents
params.instance, which this page did not list.
@netlify

netlify Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

👷 Deploy request for prebid-docs-preview pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit c174edb

This branch has not been deployed

No deployments
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