LupyAi

YouTube Analytics — data fields

Views, watch time, engagement and subscribers by day, video, country and traffic source. Every field id you can pass to fields= in the API, Looker Studio, exports and AI chats. Shared ids line up across sources so they blend.

All sources Meta Ads (Facebook & Instagram)Google AdsTikTok AdsLinkedIn AdsGoogle Analytics 4Google Search ConsoleFacebook Pages (organic)Instagram (organic)YouTube AnalyticsShopifyWooCommerceKlaviyo
Field idNameSectionKindTypeDescription
account_id Account ID dimension string
account_name Account name dimension string
average_view_duration Avg. view duration (s) metric float
comments Comments metric integer
country Country dimension string
datasource Data source dimension string Connector the row came from
date Date dimension date
device_type Device type dimension string
likes Likes metric integer
shares Shares metric integer
subscribers_gained Subscribers gained metric integer
subscribers_lost Subscribers lost metric integer
traffic_source Traffic source type dimension string
video_id Video ID dimension string
video_title Video title dimension string
views Views metric integer
watch_time_minutes Watch time (minutes) metric float

Date parts

Available on any source with date. Metrics are re-aggregated to the period.

weekWeek (starting Monday)year_weekYear-week (2026-W42)monthMonth (2026-10)quarterQuarter (2026-Q4)yearYearday_of_weekDay of week (Mon..Sun)

Calculated metrics

Computed after aggregation wherever the inputs exist.

roasrevenue / nullif(spend, 0)cpaspend / nullif(conversions, 0)conversion_rateconversions / nullif(clicks, 0) * 100aovrevenue / nullif(orders, 0)

Filters

Pass JSON in filters=:

[["spend","gt",100],"and",
 ["campaign","contains","brand"]]

Operators: eq, neq, gt, gte, lt, lte, contains, ncontains, null, notnull, in.