Skip to content

TTD Bid Adapter: Remove the test HTTP2 endpoint and set alwaysHasCapacity#14665

Merged
patmmccann merged 3 commits intoprebid:masterfrom
robin-crazygames:patch-2
Apr 2, 2026
Merged

TTD Bid Adapter: Remove the test HTTP2 endpoint and set alwaysHasCapacity#14665
patmmccann merged 3 commits intoprebid:masterfrom
robin-crazygames:patch-2

Conversation

@robin-crazygames
Copy link
Copy Markdown
Contributor

Type of change

  • Bugfix

  • Feature

  • New bidder adapter

  • Updated bidder adapter

  • Code style update (formatting, local variables)

  • Refactoring (no functional changes, no api changes)

  • Build related changes

  • CI related changes

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

  • Other

Description of change

Note that I have no affiliation with TTD.

Based on prebid/prebid.github.io#6499 (comment), and based on the fact that experiments with the endpoint I removed in this commit resulted in 25% less revenue, I propose to remove that secondary end point from the code base.

Other information

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

ℹ️ 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 on lines 285 to 287
return params.customBidderEndpoint
}

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 Preserve useHttp2 endpoint selection behavior

Removing the params.useHttp2 branch from selectEndpoint makes existing useHttp2: true configurations silently route to https://direct.adsrvr.org/... instead of https://d2.adsrvr.org/.... This is a backward-incompatible behavior change in the adapter contract (also reflected by the existing test/spec/modules/ttdBidAdapter_spec.js case for the HTTP2 endpoint), so callers that rely on the flag now get different production routing with no warning.

Useful? React with 👍 / 👎.

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Apr 1, 2026

Pull Request Test Coverage Report for Build 23869817550

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 96.337%

Totals Coverage Status
Change from base Build 23836078240: 0.001%
Covered Lines: 216726
Relevant Lines: 224967

💛 - Coveralls

@robhazan
Copy link
Copy Markdown

robhazan commented Apr 1, 2026

I'd like TTD engineering to review this change before it gets merged. @jlquaccia please do not approve until we've had a chance to review.

@patmmccann
Copy link
Copy Markdown
Collaborator

@robin-crazygames can you set alwaysHasCapacity

@patmmccann patmmccann changed the title Remove the HTTP2 endpoint from TTD Bid Adapter TTD Bid Adapter: Remove the test HTTP2 endpoint and set alwaysHasCapacity Apr 1, 2026
@robin-crazygames
Copy link
Copy Markdown
Contributor Author

@patmmccann I don't understand what you mean with

can you set alwaysHasCapacity

You mean I have to do something for this PR (although I think you already did it yourself), or do you mean something else?

@patmmccann
Copy link
Copy Markdown
Collaborator

yeah i did it, ty :)

Copy link
Copy Markdown
Contributor

@decaffeinatedio decaffeinatedio left a comment

Choose a reason for hiding this comment

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

lgtm -- thank you for opening this!

@patmmccann
Copy link
Copy Markdown
Collaborator

thanks for taking a look @decaffeinatedio ! merging now

@patmmccann patmmccann merged commit 0c71ba1 into prebid:master Apr 2, 2026
102 checks passed
@robin-crazygames robin-crazygames deleted the patch-2 branch April 3, 2026 06:00
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.

5 participants