-1

I am a manager for youtube creators. I want to make an app where I can pull in analytics data for the many different creators I manage. I want to create a webapp where I can authenticate myself and then view the channels that I have viewer privileges for. Here is the privileges page I am talking about. Is this possible? I think this page is on the right track but it isn't super clear. I was thinking that each creator would give my account viewer privileges and then would give me their channelID and then i would just set the channel==CHANNEL_ID field. But this was giving be 403 forbidden error when I tried. Are there any google API gurus who have maybe encountered this problem? Thanks!

I tried to use the API explorer to try my hypothesis. I hypothesized that if I used one of my google (gmail-A) accounts to make a youtube channel, and then added (gmail-B) as the viewer which would be considered the manager account, then I could authentciate as the gmail-B user and in the api explorer set the channelID field to the channel ID field to gmail-A's channel ID and was thinking that if gmail-B had viewer privileges then it should be able to pull gmail-A's analytics data. I tried this and got a 403 forbidden error. Is this a valid approach or am I missing something. My goal is to create a webapp where I cloud view the analytics data for all the channels I have viewer privileges for. I know to this I would have an authentication screen and have to create a client credentials on the google dev console. But right just wanted to test the data response. Thanks for the help!

{
  "error": {
    "code": 403,
    "message": "Forbidden",
    "errors": [
      {
        "message": "Forbidden",
        "domain": "global",
        "reason": "forbidden"
      }
    ]
  }
}
Benjamin Loison
  • 3,782
  • 4
  • 16
  • 33

0 Answers0