Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prebid core: allow configurable TTL buffer #9136

Merged
merged 3 commits into from
Oct 27, 2022

Conversation

dgirardi
Copy link
Collaborator

@dgirardi dgirardi commented Oct 20, 2022

Type of change

  • Feature

Description of change

Currently there is a hardcoded 1 second "TTL buffer" used by targeting logic to decide if a bid has expired: a bid with a TTL of 30 seconds is considered expired after 29 seconds.

This adds a ttlBuffer option accepted as:

  • setConfig({ttlBuffer}) that acts as the global default (default is 1 second)
  • requestBids({ttlBuffer}) acts as the default within an auction
  • adUnit.ttlBuffer acts on a single ad unit.

Other information

Closes #8953
Documentation: prebid/prebid.github.io#4097

Copy link
Collaborator

@jsnellbaker jsnellbaker left a comment

Choose a reason for hiding this comment

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

LGTM; need a 2nd review

@jsnellbaker
Copy link
Collaborator

@dgirardi When you get a chance, please take a look at the recent conflicts. Thanks

@jsnellbaker jsnellbaker added the needs 2nd review Core module updates require two approvals from the core team label Oct 24, 2022
@ChrisHuie ChrisHuie removed the needs 2nd review Core module updates require two approvals from the core team label Oct 27, 2022
@ChrisHuie ChrisHuie merged commit 297bb48 into prebid:master Oct 27, 2022
JacobKlein26 pushed a commit to nextmillenniummedia/Prebid.js that referenced this pull request Feb 9, 2023
jorgeluisrocha pushed a commit to jwplayer/Prebid.js that referenced this pull request May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configurable ttl buffer
4 participants