diff --git a/api.bs b/api.bs index 321390f..e99375f 100644 --- a/api.bs +++ b/api.bs @@ -860,7 +860,7 @@ The [=impression store=] is a [=set=] of [=impression|impressions=]: or `undefined` if the API was invoked by the [=impression site=]. Conversion Sites: The [=set=] of [=conversion sites=] that were passed to saveImpression(). Timestamp: The time at which saveImpression() was called. -Lifetime: The number of days an [=/impression=] remains eligible for attribution, either from the call to saveImpression(), or a [=/user agent=]-defined limit. +Lifetime: The [=duration=] an [=/impression=] remains eligible for attribution, either from the call to saveImpression(), or a [=/user agent=]-defined limit. Histogram Index: The histogram index passed to saveImpression(). @@ -1414,6 +1414,9 @@ To perform common matching logic, given 1. [=set/iterate|For each=] |impression| in the [=impression store=] for the |epoch|: + 1. If |now| is after |impression|'s [=impression/timestamp=] plus |impression|'s + [=impression/lifetime=], [=iteration/continue=]. + 1. If |now| - |lookbackDays| is after |impression|'s [=impression/timestamp=], [=iteration/continue=].