Tableau Connector for YouTube Analytics

Build 24.0.9060

Demographics

Query YouTubeAnalytics Demographics grouped by age groups and gender.

Table Specific Information

Select

Aggregate viewing statistics for videos based on viewers' age group and gender:

SELECT * FROM Demographics

Trim down Demographics for just one Video:

SELECT * FROM Demographics WHERE Video = 'video_Id'

Aggregate viewing statistics for playlists based on viewers' age group and gender:

SELECT * FROM Demographics WHERE IsCurated = true

Select Rules

You can use the following tables to build other queries to Top Videos.

Demographics for videos:

Dimensions Use 1 or more ageGroup,gender,video
Use 0 or more creatorContentType,liveOrOnDemand,subscribedStatus,youtubeProduct
Metrics Use 1 or more viewerPercentage
Filter Use 0 or one country,province,continent,subContinent
Use 0 or one video,group
Use 0 or more liveOrOnDemand,subscribedStatus,youtubeProduct

Demographics for playlists:

Dimensions Use 1 or more ageGroup,gender
Use 0 or more subscribedStatus,youtubeProduct
Metrics Required viewerPercentage
Filter Required isCurated=true
Use 0 or one country,province,continent,subContinent
Use 0 or one video,group
Use 0 or more subscribedStatus,youtubeProduct

Demographics for content owners:

Dimensions Use 1 or more ageGroup,gender
Use 0 or more creatorContentType,liveOrOnDemand,subscribedStatus,youtubeProduct
Metrics Use 1 or more viewerPercentage
Filter Use exactly one video,channel,group
Use 0 or one country,province,continent,subContinent
Use 0 or more liveOrOnDemand,subscribedStatus,youtubeProduct

Demographics for content owner playlists:

Dimensions Use 1 or more ageGroup,gender
Use 0 or more subscribedStatus,youtubeProduct
Metrics Required viewerPercentage
Filter Required isCurated=true
Use 0 or one country,province,continent,subContinent
Use 0 or one playlist,channel,group
Use 0 or more subscribedStatus,youtubeProduct

Columns

Name Type Dimension DefaultMetric DefaultDimension Description
AgeGroup String True True This dimension identifies the age group of the logged-in users associated with the report data. The allowed values are age13-17, age18-24, age25-34, age35-44, age45-54, age55-64, age65-
Gender String True This dimension identifies the gender of the logged-in users associated with the query. The allowed values are female, male and user_specified.
CreatorContentType String True This dimension identifies the type of content associated with the user activity metrics in the data row. The allowed values are LIVE_STREAM, SHORTS, STORY, VIDEO_ON_DEMAND, UNSPECIFIED.
LiveOrOnDemand String True This dimension indicates whether the user activity metrics in the data row are associated with views of a live broadcast. Data for this dimension is available for dates beginning April 1, 2014. The allowed values are LIVE, ON_DEMAND.
SubscribedStatus String True This dimension indicates whether the user activity metrics in the data row are associated with viewers who were subscribed to the video or playlist channel. The allowed values are SUBSCRIBED and UNSUBSCRIBED. Note that the dimension value is accurate as of the time that the user activity occurs.
ViewerPercentage Double True The percentage of viewers who were logged in when watching the video or playlist. The viewerPercentage values in this report are not normalized for different values or combinations of values for playback detail dimensions (subscribedStatus and youtubeProduct). For example, a report that uses the subscribedStatus dimension returns viewerPercentage data adding up to 100 percent for subscribed views and viewerPercentage data adding up to 100 percent for unsubscribed views. (The total value of all viewerPercentage fields in the report is 200 percent.) You can use filters to ensure that the report only contains viewerPercentage data for one value (or combination of values) for playback detail dimensions.
Video String True The Id of a YouTube video.
Playlist String The Id of a YouTube playlist.
Group String (filter only) The Id of a YouTube Analytics group.
UploaderType String (only used in content owner reports) This dimension lets you indicate whether a result set will contain metrics for content uploaded by the specified content owner or content uploaded by third parties, such as user-uploaded videos. The allowed values are self and thirdParty.
ClaimedStatus String (only used in content owner reports) This dimension lets you indicate that a result set will only contain metrics for claimed content. The allowed value is claimed.
Country String The country associated with the metrics in the report row. The dimension value is a two-letter ISO-3166-1 country code, such as US, CN (China), or FR (France). The country code ZZ is used to report metrics for which YouTube could not identify the associated country.
Province String The U.S. state or territory associated with the metrics in the report row. The dimension value is an ISO 3166-2 code that identifies a U.S. state or the District of Columbia, such as US-MI (Michigan) or US-TX (Texas). The province code US-ZZ is used to report metrics for which YouTube could not identify the associated U.S. state. If the Province column is specified, Country must be set to US in the WHERE clause.
Continent String (filter only) A United Nations (U.N.) statistical region code. The API supports the following values: 002 Africa, 019 Americas (Northern America, Latin America, South America, and the Caribbean), 142 Asia, 150 Europe, 009 Oceania.
SubContinent String (filter only) A U.N. statistical region code that identifies a geographical subregion.
StartDate Date Start date for fetching Analytics data.
EndDate Date End date for fetching Analytics data.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Segments String Segments the data returned for your request. Either a SegmentId or a custom segment.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060