Google / YouTube Authentication using a Brand Account
Below describes the only way I was able to get (programmatic) access to the YouTube Analytics API on behalf of our Brand Account. Google documentation is convoluted, to say the least, so if you know a more straightforward way, please do share.
Getting a Client ID and Refresh Token
- Create a Project in the Developers Console - https://console.developers.google.com/
- Go to the
Librarytab and enable desired APIs (e.g. YouTube Analytics)
- Go to
OAuth consent screenand make project