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

Gender Representation Mismatch in YouTube Analytics API

$
0
0

My API Result

{'kind': 'youtubeAnalytics#resultTable','columnHeaders': [{'name': 'gender','columnType': 'DIMENSION','dataType': 'STRING'},  {'name': 'viewerPercentage', 'columnType': 'METRIC', 'dataType': 'FLOAT'}],'rows': [['female', 0], ['male', 100]]}

Where as the export from YouTube Data Studio I get the respective values:Excel Output from Data Studio

Call I made:

execute_api_request(    youtubeAnalytics.reports().query,    ids='channel=={MY_CHANNEL_ID}',    startDate='2024-01-01',    endDate='2024-09-30',    metrics='viewerPercentage',    dimensions='gender',)

Viewing all articles
Browse latest Browse all 3831

Trending Articles



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