'Youtube API key created by admin?

Is it possible to generate a Youtube API key having admin access to the Youtube account? or is this function only possible for account owners?



Solution 1:[1]

The documentation here does not state you can do it having admin access to the YouTube account only. But instead you need access to the actual Google Account linked to the Youtube Channel in question.

If you do have a Google Workspace subscription and the owner of the channel is one of your managed accounts, then you can access the GCP console and proceed with steps in the documentation to generate the key.

Solution 2:[2]

Anyone can create a project on Google cloud console You do not need to be an admin on anything to create an api key.

You should understand though that Api keys are used to access public data via the YouTube api. This has nothing to do with a specific YouTube account. It will just let you access the public methods like Video.Search

All methods that require authorization For example members.list show in their documentation page that they require authorization.

enter image description here

The only authorization method allowed for the YouTube api is Oauth2. Someone with access to the channel will need to authorize your application and grant consent that your application access their YouTube channel on their behalf.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 DaImTo