# youtube fields

> The 117 fields of the youtube connector: field ID, name, type and description.

Use the field ID in the `fields` parameter of a request to `https://connectors.windsor.ai/youtube`. This list comes from `GET https://connectors.windsor.ai/youtube/fields`; the same call returns it as JSON, with more detail.

## Audience Retention

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `audience_watch_ratio` | Audience Watch Ratio | `NUMERIC` | The number of viewers watching at this point of the video, divided by the number of views. Rewatches can make it greater than 1. |
| `elapsed_video_time_ratio` | Elapsed Video Time Ratio | `NUMERIC` | The point in the video, as a ratio of its length from 0.01 to 1. Groups the audience retention report, which needs a video filter (video eq \<id> or video in [...]); date is the query window end. |
| `relative_retention_performance` | Relative Retention Performance | `NUMERIC` | How well the video keeps viewers at this point compared with YouTube videos of similar length, from 0 (worst) to 1 (best). |
| `started_watching` | Started Watching | `NUMERIC` | The number of times viewers started watching at this point. |
| `stopped_watching` | Stopped Watching | `NUMERIC` | The number of times viewers stopped watching at this point. |
| `total_segment_impressions` | Total Segment Impressions | `NUMERIC` | The number of times this point of the video was watched. |

## Channel Analytics

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `subscribers_gained_channel` | Subscribers Gained (Channel) | `NUMERIC` | Channel-wide subscribers gained per day: a time series across all content, not attributed to individual videos. Request together with date. Combine with channel totals such as views; not with video or other per-video fields. |
| `subscribers_lost_channel` | Subscribers Lost (Channel) | `NUMERIC` | Channel-wide subscribers lost per day: a time series across all content, not attributed to individual videos. Request together with date. Combine with channel totals such as views; not with video or other per-video fields. |

## Comments

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `comment_author` | Comment Author | `TEXT` | The display name of the user who posted the comment. |
| `comment_id` | Comment ID | `TEXT` | The ID of a top-level comment on one of the channel's videos, as used by the reply_to_comment, moderate_comment and delete_comment actions. Lists published comments, one row per comment, dated by the day it was posted. Needs the permission to manage the channel. If the connection is read-only, reco… |
| `comment_like_count` | Comment Like Count | `NUMERIC` | The number of likes on the comment. |
| `comment_published_at` | Comment Published At | `TIMESTAMP` | The date and time when the comment was posted (UTC). |
| `comment_reply_count` | Comment Reply Count | `NUMERIC` | The number of replies to the comment. |
| `comment_text` | Comment Text | `TEXT` | The text of the comment, as plain text. |
| `comment_video_id` | Comment Video ID | `TEXT` | The ID of the video that the comment was posted on. |

## Data - Channel

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `account_id` | Account ID | `TEXT` | The ID that YouTube uses to uniquely identify the channel/account. |
| `account_name` | Account Name | `TEXT` | The channel's title/account name. |
| `channel_description` | Channel Description | `TEXT` | The channel's description. |
| `channel_id` | Channel ID | `TEXT` | The ID that YouTube uses to uniquely identify the channel that the video was uploaded to. |
| `channel_image` | Thumbnail | `IMAGE_URL` | Thumbnail image URL associated with the channel |
| `channel_title` | Channel Title | `TEXT` | The channel's title. |
| `comment_count` | Comment Count | `NUMERIC` | The total number of comments on the channel |
| `subscriber_count` | Subscriber Count | `NUMERIC` | The channel's absolute subscriber total at query time: a point-in-time snapshot from the Data API, not bounded by the requested date range. YouTube Analytics exposes no absolute subscriber metric, so track changes over time with subscribers_gained_channel / subscribers_lost_channel. |
| `video_count` | Videos Published | `NUMERIC` | The number of public videos uploaded to the channel. |
| `view_count` | View Count | `NUMERIC` | The total number of views for all videos on the channel |

## Data - Playlist

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `playlist_id` | Playlist ID | `TEXT` | The ID of a playlist that the video belongs to. A video in several playlists produces one row per playlist; a video in none is reported with an empty value. |
| `playlist_title` | Playlist Title | `TEXT` | The title of a playlist that the video belongs to. |

## Data - Video

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `privacy_status` | Privacy Status | `TEXT` | The video's privacy status. |
| `published_at` | Publish date | `DATE` | The date and time that the video was published. Note that this time might be different than the time that the video was uploaded. |
| `video_age_restriction` | Age restriction | `TEXT` | A rating that YouTube uses to identify age-restricted content. |
| `video_category` | Category Id | `TEXT` | The YouTube video category associated with the video. |
| `video_comment_count` | Video Comment Count | `NUMERIC` | The lifetime total number of comments on the video. Absent when comments are disabled for the video. |
| `video_description` | Video description | `TEXT` | The video's description. |
| `video_has_captions` | Video has captions | `BOOLEAN` | Indicates whether captions are available for the video. |
| `video_length` | Video length | `TEXT` | The length of the video. |
| `video_licensed_content` | Video is licensed content | `BOOLEAN` | Indicates whether the video represents licensed content, which means that the content was uploaded to a channel linked to a YouTube content partner and then claimed by that partner. |
| `video_like_count` | Video Like Count | `NUMERIC` | The lifetime total number of users who indicated that they liked the video. Absent when the video's like count is hidden. |
| `video_resolution` | Video resolution | `TEXT` | Indicates whether the video is available in high definition (HD) or only in standard definition. |
| `video_tags` | Video tags | `TEXT` | A list of keyword tags associated with the video. |
| `video_title` | Video title | `TEXT` | The video title |
| `video_view_count` | Video View Count | `NUMERIC` | The lifetime total number of times the video was viewed. |
| `videoimage` | Video image URL (default) | `IMAGE_URL` | Thumbnail image URL associated with the video |
| `videourl` | Full Video URL | `TEXT` | Full URL of the video |

## Demographics

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `viewer_age_group` | Viewer Age Group | `TEXT` | The viewer age bucket, one of age13-17, age18-24, age25-34, age35-44, age45-54, age55-64 or age65-. Groups a channel-wide report by age; combine with viewer_percentage and viewer_gender. The API reports demographics as percentages only (no absolute viewer counts) and can't break them down by date. |
| `viewer_gender` | Viewer Gender | `TEXT` | The viewer gender, one of female, male or user_specified. Groups a channel-wide report by gender; combine with viewer_percentage and viewer_age_group. The API reports demographics as percentages only (no absolute viewer counts) and can't break them down by date. |
| `viewer_percentage` | Viewer Percentage | `PERCENT` | The percentage of viewers in each viewer_age_group or viewer_gender bucket; the values in a report sum to about 100. This is the only metric the demographic reports expose (the API has no absolute demographic viewer count). |

## Device

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `device_type` | Device Type | `TEXT` | The viewer's device, e.g. DESKTOP, MOBILE, TABLET or TV. Combine with operating_system, views, estimated_minutes_watched, engaged_views, date and video. |
| `operating_system` | Operating System | `TEXT` | The viewer's operating system, e.g. ANDROID, IOS or WINDOWS. Combine with device_type, views, estimated_minutes_watched, engaged_views, date and video. |

## Geography

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `city` | City | `CITY` | The estimated city the activity is associated with. Groups the report by city; the YouTube Analytics API returns at most the top 250 cities and only covers data since 2022. |
| `continent` | Continent | `TEXT` | The continent the activity is associated with, as YouTube's UN region codes name it: Africa, Americas, Asia, Europe or Oceania. Sends one request per continent. |
| `country` | Country | `COUNTRY` | The ISO-3166-1 two-letter code of the country the activity is associated with. Groups the report by country; combine with views, estimated_minutes_watched or engaged_views. The YouTube Analytics API reports 0 subscribers by country, so subscribers_gained and subscribers_lost are refused with it. |
| `region` | Region | `REGION` | The ISO-3166-2 province/state code the activity is associated with. Groups the report by region and is automatically restricted to the United States (country==US), the only country the API breaks down by province. |
| `subcontinent` | Sub-Continent | `TEXT` | The UN sub-region the activity is associated with, for example Western Europe or South America. Sends one request per each of the 22 sub-regions. |

## Live Or On Demand

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `live_or_on_demand` | Live Or On Demand | `TEXT` | LIVE for activity during a live broadcast, ON_DEMAND otherwise. Groups the report; combine with views, estimated_minutes_watched or engaged_views. |

## Playback Location

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `playback_location_type` | Playback Location Type | `TEXT` | Where the video played, e.g. WATCH (the YouTube watch page), EMBEDDED (another site), CHANNEL or SHORTS. Combine with views, estimated_minutes_watched, engaged_views, date and video. |

## Playlist Activity

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `videos_added_to_playlists` | Videos Added To Playlists | `NUMERIC` | The number of times that videos were added to any YouTube playlists. The videos could have been added to the video owner's playlist or to other channels' playlists. |
| `videos_removed_from_playlists` | Videos Removed From Playlists | `NUMERIC` | The number of times that videos were removed from any YouTube playlists. The videos could have been removed from the video owner's playlist or from other channels' playlists. |

## Playlist Analytics

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `average_time_in_playlist` | Average Time In Playlist | `NUMERIC` | The average time, in seconds, that a viewer watched videos in the playlist after starting it. |
| `average_time_in_playlist_duplicate` | Average Time In Playlist (Duplicate) | `NUMERIC` | (Internal) Duplicate of average_time_in_playlist, used in its aggregate formula. |
| `playlist_estimated_minutes_watched` | Playlist Estimated Minutes Watched | `NUMERIC` | The minutes that viewers watched videos as part of the playlist. |
| `playlist_saves` | Playlist Saves | `NUMERIC` | The net number of times that viewers saved the playlist: saves minus removals. YouTube does not report the two separately. |
| `playlist_starts` | Playlist Starts | `NUMERIC` | The number of times that viewers started playing the playlist, on the web only. Groups the report by playlist. |
| `playlist_views` | Playlist Views | `NUMERIC` | The number of times that videos in the playlist were viewed as part of the playlist, also videos of other channels. |
| `views_per_playlist_start` | Views Per Playlist Start | `NUMERIC` | The average number of video views each time the playlist was started. |

## Sharing Service

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `sharing_service` | Sharing Service | `TEXT` | The service that viewers shared the videos to, for example WHATS_APP or FACEBOOK, with the shares metric. YouTube reports it only for the whole date range, so date is the last day of the range. |

## Subscribed Status

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `subscribed_status` | Subscribed Status | `TEXT` | Whether the viewers were subscribed to the channel: SUBSCRIBED or UNSUBSCRIBED. Combine with views, engaged_views, estimated_minutes_watched, likes, dislikes, shares, average_view_duration, average_view_percentage, date and video. |

## Traffic Source

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `traffic_source` | Traffic Source | `TEXT` | How viewers reached the videos, e.g. YT_SEARCH, RELATED_VIDEO, EXT_URL, SUBSCRIBER or PLAYLIST. Groups the report by traffic source; combine with views, estimated_minutes_watched or engaged_views, and with video for one row per video. |

## Traffic Source Detail

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `traffic_source_detail` | Traffic Source Detail | `TEXT` | The detail of a traffic source, the top 25 per traffic_source: the search term for YT_SEARCH, the URL or site for EXT_URL, the video id for RELATED_VIDEO. Channel-wide; date is the query window end. YouTube hides details with few views. |

## Video

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `annotation_click_through_rate` | (Deprecated) Annotation Click Through Rate | `NUMERIC` | The ratio of annotations that viewers clicked to the total number of clickable annotation impressions. |
| `annotation_clickable_impressions` | (Deprecated) Annotation Clickable Impressions | `NUMERIC` | The number of annotations that appeared and could be clicked. |
| `annotation_clicks` | (Deprecated) Annotation Clicks | `NUMERIC` | The number of clicked annotations. |
| `annotation_closable_impressions` | (Deprecated) Annotation Closable Impressions | `NUMERIC` | The number of annotations that appeared and could be closed. |
| `annotation_close_rate` | (Deprecated) Annotation Close Rate | `NUMERIC` | The ratio of annotations that viewers closed to the total number of annotation impressions. |
| `annotation_closes` | (Deprecated) Annotation Closes | `NUMERIC` | The number of closed annotations. |
| `annotation_impressions` | (Deprecated) Annotation Impressions | `NUMERIC` | The total number of annotation impressions. |
| `average_view_duration` | Average View Duration | `NUMERIC` | The average length, in seconds, of video playbacks. |
| `average_view_percentage` | Average View Percentage | `PERCENT` | The average percentage of a video watched during a video playback. |
| `average_view_percentage_duplicate` | (Internal) Duplicate-Average View Percentage | `PERCENT` | (Internal) Duplicate of average_view_percentage to be used in formula |
| `card_click_rate` | Card Click Rate | `PERCENT` | The click-through-rate for cards, which is calculated as the ratio of card clicks to card impressions. |
| `card_clicks` | Card Clicks | `NUMERIC` | The number of times that cards were clicked. |
| `card_impressions` | Card Impressions | `NUMERIC` | The number of times cards were displayed. When the card panel is opened, a card impression is logged for each of the video's cards. |
| `card_teaser_click_rate` | Card Teaser Click Rate | `PERCENT` | The click-through-rate for card teasers, which is calculated as the ratio of clicks on card teasers to the total number of card teaser impressions. |
| `card_teaser_clicks` | Card Teaser Clicks | `NUMERIC` | The number of clicks on card teasers. Card icon clicks are attributed to the last teaser displayed to the user. |
| `card_teaser_impressions` | Card Teaser Impressions | `NUMERIC` | The number of times that card teasers were displayed. A video view can generate multiple teaser impressions. |
| `comments` | Comments | `NUMERIC` | The number of times that users commented on a video. |
| `creator_content_type` | Content Type | `TEXT` | The type of YouTube content associated with the row. One of shorts, videoOnDemand, liveStream, story, or unspecified. |
| `date` | Date | `DATE` | Date of reported values. |
| `dislikes` | Dislikes | `NUMERIC` | The number of times that users indicated that they disliked a video by giving it a negative rating. |
| `engaged_views` | Engaged Views | `NUMERIC` | The number of times the channel's videos have been viewed past the initial seconds. Reflects the pre-March-2025 view-counting methodology and is the comparable metric for Shorts, whose 'views' now counts plays and replays with no minimum watch time. |
| `estimated_minutes_watched` | Estimated Minutes Watched | `NUMERIC` | The number of minutes that users watched videos for the specified channel, content owner, video, or playlist. |
| `estimated_red_minutes_watched` | Estimated Red Minutes Watched | `NUMERIC` | The number of minutes that YouTube Premium (previously known as YouTube Red) members watched a video. |
| `likes` | Likes | `NUMERIC` | The number of times that users indicated that they liked a video by giving it a positive rating. |
| `red_views` | Red Views | `NUMERIC` | The number of times that a video was viewed by YouTube Premium (previously known as YouTube Red) members. |
| `shares` | Shares | `NUMERIC` | The number of times that users shared a video through the Share button. |
| `subscribers_gained` | Subscribers Gained | `NUMERIC` | The number of subscribers gained, attributed to the videos in the report (all the channel's videos when video is not requested) and bounded by the requested date range. This is a relative change per video, not the channel's absolute subscriber total (see subscriber_count) nor a channel-wide time se… |
| `subscribers_lost` | Subscribers Lost | `NUMERIC` | The number of subscribers lost, attributed to the videos in the report (all the channel's videos when video is not requested) and bounded by the requested date range. This is a relative change per video, not the channel's absolute subscriber total (see subscriber_count) nor a channel-wide time seri… |
| `video` | Video | `TEXT` | The ID of a YouTube video (Youtube Analytics). |
| `views` | YouTube Video Views | `NUMERIC` | The number of times that a video was viewed. Without the video field the channel total is reported, which keeps the views of videos deleted since, as YouTube Studio does; per-video rows can't include deleted videos. Thumbnail impressions, thumbnail click-through rate, unique viewers, new and return… |

## YouTube Product

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `youtube_product` | YouTube Product | `TEXT` | The YouTube app the activity happened in: CORE, KIDS, MUSIC, GAMING or UNKNOWN. Groups the report by product; combine with views, estimated_minutes_watched or engaged_views. |

## Other

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `data_fetched_at` | Data fetched at | `TIMESTAMP` | UTC timestamp (second precision) of when the connector request that pulled the row started. Freshly pulled rows show this request's start time; cache hits keep the start time of the request that filled the cache. Selecting this field disables aggregation, so rows are returned individually (each kee… |
| `datasource` | Data Source | `TEXT` | The name of the Windsor connector returning the row |
| `day_of_month` | Day of month | `TEXT` | Day of the month |
| `month` | Month | `TEXT` | Number of the month |
| `now` | Now | `TIMESTAMP` | Current timestamp |
| `source` | Source | `TEXT` | The name of the Windsor connector returning the row |
| `today` | Today | `DATE` | Today's date |
| `week` | Week | `TEXT` | Week (Sun-Sat). |
| `week_day` | Day of week and day number | `TEXT` | Weekday number and name combined (Sun-Sat).Numbered from 0 Sunday to 6 Saturday. |
| `week_day_iso` | Day of week and day number, ISO | `TEXT` | Weekday number and name combined, ISO format (Mon-Sun).Numbered from 1 Monday to 7 |
| `week_iso` | Week ISO | `TEXT` | Week, ISO format (Mon-Sun). |
| `year` | Year | `TEXT` | Year |
| `year_month` | Yearmonth | `TEXT` | Year and month, e.g. 2024\|3 |
| `year_month_name` | Year month name | `TEXT` | Year and month with the month name written out, e.g. "Jan 2025". |
| `year_of_week` | Year of week | `TEXT` | The year that contains first day of the week (Sun-Sat). |
| `year_of_week_iso` | Year of week, ISO | `TEXT` | The year that contains first day of the ISO week (Mon-Sun). |
| `year_week` | Year week | `TEXT` | Year and week for US weeks (Sun-Sat), e.g. 2024\|15 |
| `year_week_iso` | Year week ISO | `TEXT` | Year and week for ISO weeks (Mon-Sun), e.g. 2024\|20 |
