Skip to content

Yaleo Bid Adapter: signal test mode with OpenRTB test: 1 - #16333

Merged
patmmccann merged 1 commit into
prebid:masterfrom
alexandr-kim-vl:feature/yaleo-ortb-test-agent
Nov 26, 2026
Merged

patmmccann merged 1 commit into
prebid:masterfrom
alexandr-kim-vl:feature/yaleo-ortb-test-agent

Conversation

@alexandr-kim-vl

@alexandr-kim-vl alexandr-kim-vl commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Type of change

  • Updated bidder adapter

  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

Description of change

Adds a yaleo_test=true page URL param that sends the Yaleo request with the OpenRTB test: 1 flag. Test bids no longer depend on Prebid.js debug mode, so an auction can be debugged with real bids. A test: 1 set through ortb2 is kept.

Other information

Docs PR: prebid/prebid.github.io#7016

🤖 Generated with Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T05:01:45.557361Z 7e4a1c8 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: b9ccf1f121

ℹ️ 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/yaleoBidAdapter.ts Outdated
Comment on lines +88 to +90
if (typeof placementId !== 'string' || !UUID_PATTERN.test(placementId)) {
logWarn(`${BIDDER_CODE}: placementId must be a UUID, got "${placementId}"`);
return false;

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 Defer the stricter bid-parameter validation to a major release

This review comment was written by an AI agent (Codex) on behalf of the requester. Requests with previously accepted parameters—for example, placementId: '12345', explicitly accepted by the old tests, or a UUID with memberId: 0 or maxCpm: null—now fail validation even when debug is off. bidderFactory filters these bids out before building requests, so this narrows the adapter's existing parameter contract independently of the debug-flag change. AGENTS.md explicitly requires stricter checks on existing parameters to be treated as breaking changes and held for a major release. Preserve the previous validation in this update or defer these restrictions to the next major.

AGENTS.md reference: AGENTS.md:L131-L131

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Opened a separate PR for this change, out of scope here: #16343

@alexandr-kim-vl
alexandr-kim-vl marked this pull request as draft November 25, 2026 11:43
@alexandr-kim-vl
alexandr-kim-vl force-pushed the feature/yaleo-ortb-test-agent branch from b9ccf1f to db580cc Compare November 25, 2026 14:34
@alexandr-kim-vl alexandr-kim-vl changed the title Yaleo Bid Adapter: send test: 1 in debug mode Yaleo Bid Adapter: signal test mode with OpenRTB test: 1 Nov 25, 2026
@alexandr-kim-vl
alexandr-kim-vl force-pushed the feature/yaleo-ortb-test-agent branch from db580cc to 2f50ea7 Compare November 25, 2026 14:48
@github-actions

Copy link
Copy Markdown
Contributor

This PR introduces changes that may not work on all browsers. According to Babel, the following polyfills may be needed, and they are not automatically included:

  • Changes to modules/yaleoBidAdapter.ts may need:
    • es.array.push
    • es.iterator.constructor
    • es.iterator.for-each
    • esnext.iterator.constructor
    • esnext.iterator.for-each

The best way to address this is to provide good test coverage, as normal PR checks run unit tests on older browsers.

@alexandr-kim-vl
alexandr-kim-vl force-pushed the feature/yaleo-ortb-test-agent branch 3 times, most recently from d20f13c to 7e4a1c8 Compare November 26, 2026 03:00
@alexandr-kim-vl
alexandr-kim-vl marked this pull request as ready for review November 26, 2026 04:58
@alexandr-kim-vl

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 7e4a1c8fbb

ℹ️ 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".

Add a `yaleo_test=true` page URL param that sends the bid request with
the OpenRTB `test: 1` flag, the standard signal for non-production
traffic. Prebid.js debug mode keeps sending only `ext.prebid.debug`,
which means verbose debug output. A `test: 1` set through ortb2 first
party data is kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alexandr-kim-vl
alexandr-kim-vl force-pushed the feature/yaleo-ortb-test-agent branch from 7e4a1c8 to 1951a65 Compare November 26, 2026 05:42
@patmmccann
patmmccann merged commit 6c14afa into prebid:master Nov 26, 2026
52 checks passed
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.

2 participants