Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Youtube analytics API v2 returns no rows

$
0
0

I am trying to use Google API explorer https://developers.google.com/apis-explorer/#p/youtubeAnalytics/v2/youtubeAnalytics.reports.query to request data which returns no values in rows tag but Youtube analytics dashboard is having values.

Following is the response which I am getting out of API Explorer,

200- Show headers -{"kind": "youtubeAnalytics#resultTable","columnHeaders": [  {"name": "ageGroup","columnType": "DIMENSION","dataType": "STRING"  },  {"name": "gender","columnType": "DIMENSION","dataType": "STRING"  },  {"name": "viewerPercentage","columnType": "METRIC","dataType": "FLOAT"  } ],"rows": [ ]}

Request URL : https://youtubeanalytics.googleapis.com/v2/reports?dimensions=ageGroup%2Cgender&endDate=2019-01-31&filters=province%3D%3DUS-CA&ids=channel%3D%3DUCRPwwjkjkjWrX96ef-rhiinyQ&metrics=viewerPercentage&sort=gender%2CageGroup&startDate=2014-05-01&fields=columnHeaders%2Cerrors%2Ckind%2Crows&key={YOUR_API_KEY}

I'm clueless and not sure how to proceed further.


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>