1
votes

I want to upload an unlisted video in the YouTube using YouTube Data V3 API. Only users in our domain should be able to upload videos.

I have done following:

  1. Created a Google Cloud Platform project and enabled YouTube API

  2. Created OAuth2 credential for INTERNAL use.

  3. Since it's an 'internal' use credential, we don't need to verify our App and there is no option to verify the App.

  4. We used this credential to upload an Unlisted video to YouTube. It uploaded the video to YouTube successfully but created a Private video and not an Unlisted video.

The reason given to us is that you cannot upload an Unlisted or a Public video from an unverified App. But since it's an Internal App for our domain, there is no option to verify the App. Hence I believe we should be able to upload a Public or an Unlisted video from Internal App.

Please let us know if there is any way we can make this work.

Many thanks for looking into this.

1

1 Answers

0
votes

We used this credential to upload an Unlisted video to YouTube. It uploaded the video to YouTube successfully but created a Private video and not an Unlisted video.

All videos uploaded by unverified apps are set private until the app has been verified then you will be able to set them to unlisted.

The thing is you have set your project to internal only which means that only those within your Gsuite domain should be able to see these videos. I dont understand why you would need them to be set unlisted.

Considering the following definitions:

Private means only those you invite to view the video can view it

Unlisted means your video will not come up in search results or on your channel either. Only those who know the link can view it. Its still Public.

Again considering that only verified apps can create public videos I hope this explains why you cant set them Unlisted. If you really want them set unlisted instead of just private for the domain. You will have to go though the long verification process.