Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

146
Views
YouTube Analytics API not returning demographic data for channel owner

I am using YouTube Analytics API with oauth2.0 authorization to get channel owner demographic(ageGroup and gender).

It does not return any values for the ageGroup and gender. The login(authentication) part works and GAPI loads perfectly as well, but, no values are returned (even though channel analytics show agegroup and gender).

Surprisingly, when I use the basic dimensions (views, likes, comments etc.), it returns the values properly.

Here is how the response look like:

screenshot

This is the code:

function execute() {       
      return gapi.client.youtubeAnalytics.reports.query({         
           "ids": "channel==MINE",         
           "startDate": "2019-01-01",         
           "endDate": "2022-03-27",         
           "metrics": "viewerPercentage",         
           "dimensions": "ageGroup,gender",           
           "filters": "subscribedStatus==SUBSCRIBED",         
           "sort": "ageGroup,gender"       
       })           
           .then(function(response) {                                    
                 console.log("Response", response);                 
            },                 
      function(err) { console.error("Execute error", err); });     
}
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

That's because not enough data:

Understand limited data in YouTube Analytics

We want to give creators useful data to make informed decisions about their channel, but some data may be limited in YouTube Analytics.

Note: If your video or channel doesn’t have enough traffic during a selected time period, you may not see your data. If you've selected a specific filter, such as geography or gender, you may also not see data

If you want to see more, try extending the time period, or removing filters and breakdowns. Changing these settings may increase the amount of data in the full report.

Types of limited data The following info may be limited:

Demographics data
Audience data
Geography data
Search terms and URLs

source: https://support.google.com/youtube/answer/9101241?hl=en

related post: YouTube Analytics API - Demographics Minimum Views Seem to Be Required for Query

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!