Skip to content

Conversation

fabrizio-rar
Copy link
Contributor

This PR implements tracking of ad watch time and calculation of cumulative watch time (watch time of content + ads and watch time of ads)

Due to not having the possibility of tracking playhead time on ads, the calculation of ad watch time is done using wall clock comparisons, tracking the start and end of the ads and calculating the difference (without taking into account the pauses and rebuffers)

The cumulative time ad is sent as ad_playing_time_active_ms_cumulative
The cumulative time of content + ads is sent as view_playing_time_ms_cumulative

@fabrizio-rar fabrizio-rar changed the title Subview Metrics Cumulative Ad playing time Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants