Skip to content

TPC Adapter (DRAFT) - Opened in Error#14866

Closed
mhc-gh wants to merge 14 commits into
prebid:masterfrom
tpc-org:chore/sync-upstream-and-cleanup
Closed

TPC Adapter (DRAFT) - Opened in Error#14866
mhc-gh wants to merge 14 commits into
prebid:masterfrom
tpc-org:chore/sync-upstream-and-cleanup

Conversation

@mhc-gh
Copy link
Copy Markdown
Contributor

@mhc-gh mhc-gh commented May 10, 2026

What

  • Merged upstream prebid/Prebid.js@master (was 33 commits behind)
  • Reverted AGENTS.md to upstream parity (fork-specific guidance will live in the private deployments repo)
  • Removed .github/workflows/deploy-prebid.yml (moved to private deployments repo)

Verification

  • git diff upstream/master --stat shows only TPC adapter files diverged
  • gulp test --file test/spec/modules/tpcBidAdapter_spec.js --nolint passes

@github-actions
Copy link
Copy Markdown

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

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

@mhc-gh mhc-gh closed this May 10, 2026
@review-assignment-bot review-assignment-bot Bot requested a review from jlquaccia May 10, 2026 15:02
@github-actions
Copy link
Copy Markdown

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

  • modules/tpcBidAdapter.js

@mhc-gh mhc-gh changed the title Sync upstream + remove deploy workflow + AGENTS.md parity TPC Adapter (DRAFT) May 10, 2026
@mhc-gh mhc-gh deleted the chore/sync-upstream-and-cleanup branch May 10, 2026 15:03
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 544770142a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread modules/tpcBidAdapter.js
Comment on lines +124 to +128
const syncUrl = `${USER_SYNC_ENDPOINT}?${params.toString()}`;
if (syncOptions.iframeEnabled) {
return [{ type: 'iframe', url: syncUrl }];
}
return [{ type: 'image', url: syncUrl }];
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Route PBS cookie sync through an executable sync page

getUserSyncs currently returns https://pbs.tpcsrv.com/cookie_sync?... directly as an iframe/image URL, but that endpoint returns sync instructions rather than performing bidder redirects itself, so the browser never executes the downstream sync URLs and user ID matching is effectively skipped. In practice this means auctions that rely on getUserSyncs will lose cookie-match coverage; compare with existing PBS-style adapters in this repo (e.g. modules/tealBidAdapter.js and modules/relevantdigitalBidAdapter.js) that wrap /cookie_sync via a load-cookie HTML endpoint or explicit redirect pixels.

Useful? React with 👍 / 👎.

@mhc-gh mhc-gh restored the chore/sync-upstream-and-cleanup branch May 10, 2026 15:23
@mhc-gh mhc-gh changed the title TPC Adapter (DRAFT) TPC Adapter (DRAFT) - Opened in Error May 10, 2026
@mhc-gh
Copy link
Copy Markdown
Contributor Author

mhc-gh commented May 10, 2026

This was opened in error.

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