How to get Youtube video views by date range -
i trying youtube video views date range , working fine oauth. using cron script collect data through service account, when try execute script says:
error calling https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3d%3duc88bq63mdji9szypegfv7ya&start-date=2014-02-01&end-date=2016-06-29&metrics=views:
(400) invalid query. query did not conform expectations".
could please me resolve issue. in advance.
using service account not supported youtube analytics , reporting api
the service account flow supports server-to-server interactions not access user information. however, the youtube reporting api , youtube analytics api not support flow. since there no way link service account youtube account, attempts authorize requests flow generate error.
unfortunately, need oauth2 report.
resources can check information:
Comments
Post a Comment