Steps to set up YouTube API in Google Script:
1) Open Google Sheet
2) Click Tools > Script Editor3) Click `+` in Services section from the left pane
4) In the list of services, scroll down and find YouTube Data API. Select it from the list and click `Add`
Take note of the value in the `Identifier` field. It serves as the object name for this service in your code.
One of my noob mistakes is that I keep using "Youtube" insterad of "YouTube" haha. I spent a longer time than I should've on trying to debug... *facepalm*
Once successfully added, you should see it under the Services section. Mouse hover on `YouTube` and it will show a kebab menu. Click it and it will give you options to remove it or to browse the documentation.
5) Make sure that YouTube Data API is enabled for your account in the Google Cloud Platform so you can use it


