access youtube analytics api via content manager account's client id

488 Views Asked by At

We have content manager account which has been granted to access to all channels we have. We do authorization procedure for each service accounts to get access tokens for analytics-API, it works well, but it also demands when new channel is added.

Is it possible that issuing an access token via client id of content manager account, and use it to call API to access all channels that content manager account handles?

2

There are 2 best solutions below

0
Onejae Lee On BEST ANSWER

I found that I can call api with id set 'contentOnwer==id_of_content_manager'. And it is able to access to all data from channels this account manages.

1
Linda Lawton - DaImTo On

Youtube api is channel + user based. Each access token is authorized to access a single user + channel.

If you have five channels you will need to login five times and each access token you get back will have access to the single channel.