Mon Jan 07 2019
Average View Time Metric
Average View Time represents the average number of milliseconds people played per session.
1queryBuilder2 .avg('VIEWTIME')3 .licenseKey('YOUR_LICENSE_KEY')4 .between(fromDate, toDate)5 .query();
It's essentially the total sum of PLAYED
vs the count of IMPRESSION_ID
.
Aggregation limitation
The average view time metric is currently limited to only support the AVG
aggregation. It therefore cannot be queried as a median
or sum
.
The sum of the view time is equivalent to the total hours watched metric.