Closed Bug 1476458 Opened 6 years ago Closed 6 years ago

Prevent expired sponsored stories from showing to users

Categories

(Firefox :: New Tab Page, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Firefox 65
Tracking Status
firefox61 --- unaffected
firefox62 --- wontfix
firefox63 --- wontfix
firefox64 --- wontfix
firefox65 --- fixed

People

(Reporter: klong, Assigned: gsuntop)

References

Details

Attachments

(1 file)

When a user launches Firefox for the first time in a few days or weeks, they can see sponsored content (spocs) for campaigns that ended long ago because the Pocket recommendations feed response hasn't had a chance to refresh before the first tab is rendered. To prevent this, Pocket will include an `expiration_timestamp` with each spoc in the /v3/firefox/global-recs response, and would need that timestamp checked as part of the filtration logic when deciding whether a spoc is eligible to be shown.
Assignee: nobody → sdowne
Iteration: --- → 63.3 - Aug 6
Priority: -- → P1
Iteration: 63.3 - Aug 6 → ---
Assignee: sdowne → gsuntop
Is it correct to assume that `expiration_timestamp` is the number of seconds elapsed since January 1, 1970 00:00:00 UTC?
Flags: needinfo?(sdowne)
Confirmed with kaiser on Slack.
Flags: needinfo?(sdowne)
Commit pushed to master at https://github.com/mozilla/activity-stream https://github.com/mozilla/activity-stream/commit/71c92b34b0e51dc147a7fa653880a2ee2298e7d9 Fix Bug 1476458 - Prevent expired sponsored stories from showing to users (#4549)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Blocks: 1509565
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: