I have to migrate my PHP scripts using youtube's v2 api to v3.
I'm trying this example to upload a video:
https://developers.google.com/youtube/v3/code_samples/php#resumable_uploads
I can authenticate my google account for my app, the only problem is that the video is being uploaded to my Google+ Youtube channel and not to my original channel. (They both belong to the same google account).
I was not able to solve this problem with the v2 API but selecting the "default" channel in "Channel switcher" (https://www.youtube.com/channel_switcher) did help.
How can I tell the v3 API which channel to upload to?