0
votes

I manage a youtube account but it seem I can not use the youtube analytics api to pull reports. I can go to the youtube analytics sections of the account and pull the reports but I want to do this programmatically using the api. Is there some other step that need to be done to get access to the account I'm managing.

2
Can you add any details like: code used, error problem encountered? How do I ask a good question?, How to create a Minimal, Complete, and Verifiable example Show the community what you have tried.Mr.Rebot
I was just using the sample code provided by google. I put in the youtube channel Id. The error I got back was I do not have access to the page.oharr

2 Answers

0
votes

Oharr, I'm facing the same issue and wrote my own question.

There's an alternative automated way to get your reports though. If you use BigQuery, you're able to use the 'Transfers' section. That interface actually creates the Jobs and will give you reports periodically. It also allows you to 'backfill' data from the past up to 180 days.

Please refer to YouTube Channel Transfers. You can also get reports for Content Owners. But the Content Owner transfers wont' work for me since I get 403 responses. Need to figure that out myself...

0
votes

Yes in order to pull the data via code you need to get an API key/ service key or Oauth credentials please refer this link for more details.