Hi Dhanya,
I am using CampaignPerformance report only. I am giving an example of my case. Lets say I am fetching CampaignPerformance Report from API for last 7 days with impressions, VideoQuartile25Rate, VideoQuartile50Rate. So I will get 7 records with those metrics and I am calculating total value for that day also like below
day, impressions, video_played_to_25%, video_played_to_50%, total_impressions, total_video_played_to_25%, total_video_played_to_50%
day1, 50, 30, 40, 50, 30, 40
day2, 40, 20, 35, 90, 50, 75
day3, 20, 10, 30, 110, 60, 105
day4, 20, 10, 30, 130, 70, 135
day5, 20, 10, 30, 150, 80, 165
day6, 20, 10, 30, 170, 90, 195
day7, 20, 10, 30, 190, 100, 225
The last 3 columns I have added to calculate total values of that day by adding previous records with current records.
For impressions its correct because we can sum yesterdays impressions with todays to get total, but not other metrics.
For VideViewRate I have calculated using formula of views/impressions to get totals. So I am searching for a way to calculate the same with VideoQuartile25Rate, VideoQuartile50Rate.
Thanks,
N Kishore.