Skip to content

Add support for engagedViews metric #441

@altxtech

Description

@altxtech

Context

This is a new metric added in the latest revision for youtube Analytics and Reporting APIs

https://developers.google.com/youtube/analytics/revision_history

https://developers.google.com/youtube/analytics/metrics

Trying to pull that metrics will not work with Yt::Video#reports. Something like:

# video is Yt::Video
video.reports only: [:views, :engagedViews], by: :day, since: "2025-04-01", until: "2025-05-01"

The engaged views metrics will just get ignored in the resulting report.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions