private void AggregateRawDataToMemoryNonAdvertSpecific(long channelID) { // adverts are notioned as channel ID 0. if (channelID == 0) { _dateClicksPerAssetSet = LogStatsCalculator.AggregateClicksPerDay(_advertClickLog, channelID); _dateImpressionsPerAssetSet = LogStatsCalculator.AggregateImpressionsPerDay(_advertImpressionLog, channelID); } else { _dateClicksPerAssetSet = LogStatsCalculator.AggregateClicksPerDay(_contentClickLog, channelID); _dateImpressionsPerAssetSet = LogStatsCalculator.AggregateImpressionsPerDay(_contentImpressionLog, channelID); } }
private void AggregateRawDataToMemoryAdvertSpecific(ChannelSubscriptions channelSubscriptions) { _advertChannelClickProportionsSet = LogStatsCalculator.GetAdvertChannelClickProportions(_advertClickLog, channelSubscriptions); _advertChannelImpressionProportionsSet = LogStatsCalculator.GetAdvertChannelImpressionProportions(_advertImpressionLog, channelSubscriptions); }