I have a YouTube channel with mymanager@gmail.com as the manager. I have set up a Google Cloud account for my domain ssss.org (Free trial). I have written OAuth code to access the YT API and activated YT APIs. I run the code and authenticate as me@ssss.org. I called:
$youtube = new Google_Service_YouTube($client);
try {
$channel = $youtube->channels->listChannels('snippet', ['mine' => TRUE]);...
and got the exception message: "Unauthorized", "errors": [ { "message": "Unauthorized", "domain": "youtube.header", "reason": "youtubeSignupRequired", "location": "Authorization", "locationType": "header" }
I added me@ssss.org as a manager on the YT account and clicked the link in the ‘Invitation to access xxx’ email. This was ok but then gave error referring to https://support.google.com/a/answer/9000768 which is about G Suite trials.
What is best way to link GC with my YT account?