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: Added TTL validation for suppressing expired ads #12532

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

pm-azhar-mulla
Copy link
Contributor

Type of change

  • Feature

Description of change

We are validating the ttl property before rendering an ad. If the ad has exceeded its ttl value and the suppressExpiredRender property is enabled, the system will suppress the rendering of the expired ad.

We are emitting an event EXPIRED_RENDER similar to STALE_RENDER that publishers can listen to and either render a different ad, call for a new auction, or call the ad server again

Other information

Closes #12521

Copy link

github-actions bot commented Dec 3, 2024

Tread carefully! This PR adds 1 linter error (possibly disabled through directives):

  • src/adRendering.js (+1 error)

@patmmccann
Copy link
Collaborator

@pm-azhar-mulla looks great ty! Let's add docs?

@patmmccann patmmccann added feature needs docs needs 2nd review Core module updates require two approvals from the core team labels Dec 3, 2024
@ChrisHuie ChrisHuie removed the needs 2nd review Core module updates require two approvals from the core team label Dec 4, 2024
@ChrisHuie ChrisHuie self-assigned this Dec 4, 2024
@ChrisHuie ChrisHuie merged commit 189a7ce into prebid:master Dec 4, 2024
6 checks passed
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.

Add TTL Validation for Suppressing Expired Ads
4 participants