Exemple #1
0
 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);
     }
 }
Exemple #2
0
 private void AggregateRawDataToMemoryAdvertSpecific(ChannelSubscriptions channelSubscriptions)
 {
     _advertChannelClickProportionsSet      = LogStatsCalculator.GetAdvertChannelClickProportions(_advertClickLog, channelSubscriptions);
     _advertChannelImpressionProportionsSet = LogStatsCalculator.GetAdvertChannelImpressionProportions(_advertImpressionLog, channelSubscriptions);
 }