My first post on stackoverflow :)
I have been trying to use the YouTube Analytics API to list all analytics groups of a content owner. I tried both
- via APIs-Explorer web: https://developers.google.com/apis-explorer/#p/youtubeAnalytics/v1/youtubeAnalytics.groups.list
- via python: youtube_analytics.groups().list(onBehalfOfContentOwner=Content_Owner_Name).execute()
Both only returned at most 20 groups (the actual total number of groups are in hundreds). Wondering if anyone knows the cause of this issue, or any additional argument to specify/increase the maximum number of results
Many thanks in advance!
Here's a brief description of what's returned in python:
{"etag": "A String",
"items": [{"contentDetails": {"itemCount": "A String",
"itemType": "A String",
},
"etag": "A String",
"id": "A String",
"kind": "youtube#group",
"snippet": {"publishedAt": "A String",
"title": "A String",
},
},
{"contentDetails": {"itemCount": "A String",
"itemType": "A String",
},
"etag": "A String",
"id": "A String",
"kind": "youtube#group",
"snippet": {"publishedAt": "A String",
"title": "A String",
},
},
{"contentDetails": {"itemCount": "A String",
"itemType": "A String",
},
"etag": "A String",
"id": "A String",
"kind": "youtube#group",
"snippet": {"publishedAt": "A String",
"title": "A String",
},
},
# ... 20 items in such format
],
"kind": "youtube#groupListResponse"
}
I don't see any thing indicating a total item count, or link to a "next page"