# Functions
ShouldAddPreviousTime returns if previous time should be set up or not depending on operationMode.
ShouldBeOptimized returns if should dedupe impressions or not depending on configs.
TruncateTimeFrame truncates de time frame received with the time window.