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

Add TTL Validation for Suppressing Expired Ads #12521

Closed
pm-azhar-mulla opened this issue Nov 29, 2024 · 5 comments · Fixed by #12532
Closed

Add TTL Validation for Suppressing Expired Ads #12521

pm-azhar-mulla opened this issue Nov 29, 2024 · 5 comments · Fixed by #12532

Comments

@pm-azhar-mulla
Copy link
Contributor

Type of issue

Feature

Description

Currently, the ttl (Time-to-Live) property is not utilized when rendering an ad. This results in ads being displayed even after they are technically expired. By leveraging the ttl property, we can determine whether an ad has expired and suppress its rendering if needed.

Proposed Enhancement:

Introduce functionality to validate the ttl property before rendering an ad. If the ad has exceeded its ttl value and the suppressStaleRender property is enabled, the system should suppress the rendering of the expired ad. This would function similarly to the adId validation mechanism.

Publishers can enable the suppressStaleRender property to prevent expired ads from being displayed, ensuring a better user experience and avoiding potential compliance or quality issues.

@patmmccann
Copy link
Collaborator

Stale render has a different meaning; I believe it suppresses ads from rendering twice

@pm-azhar-mulla
Copy link
Contributor Author

pm-azhar-mulla commented Dec 2, 2024

@patmmccann
If TTL has reached for the bid, we can consider it as stale.
if not, Can we add a new flag to perform ad-rendering on basis of valid TTL.

@patmmccann
Copy link
Collaborator

yes, i would suggest a new flag. I think stale bids are poorly named, as one would naturally think they are bids past their shelf life, but for whatever reason they indeed have a different definition here. Perhaps we could improve the verbiage in the messages.

@patmmccann
Copy link
Collaborator

@pm-azhar-mulla is this a dupe of #11270 ?

@patmmccann
Copy link
Collaborator

patmmccann commented Dec 2, 2024

I propose suppressExpiredRender ; marking ready for dev and closing the dupe

we'll emit an event EXPIRED_RENDER similer 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 with the targeting for this bid removed depending on their preference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

2 participants