[object Object] Icon

Encoding
Learn how to create, start, manage and modify Encodings

[object Object] Icon

Player
Learn how to create, start, manage and modify Players

[object Object] Icon

Analytics
Learn how to create, start, manage and modify Analyticss

Docs Home
User shortcuts for search
Focus by pressing f
Hide results by pressing Esc
Navigate via   keys

Mon Jan 07 2019

Average View Time Metric

Average View Time represents the average number of milliseconds people played per session.

1queryBuilder
2 .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.

Give us feedback