Do videos uploaded via the YouTube API respect default monetization settings? - youtube-api

I experienced that with with Google-cl there is just no option to enable monetized content; imported from the command-line.
Is it even possible via api?
I set the default settings in youtube to monetize new content and via the youtube website manual uploaded content gets configured correctly. But using google-cl this setting is ignored.
Can someone point me in the right direction or is it just not possible?
I have 4 Videos per day which get uploaded and don't want to edit everyone by hand.

Videos uploaded via the YouTube Data API (which is what google-cl uses under the hood) should ideally respect the default settings in your account for new videos.
I'll follow up internally to see if there's any reason why you're not seeing that happen in practice.

Related

YouTube API with Internal app is forcing video's to go private (locked)

As the title says, I am using a internal app which clearly states that it does not require an audit from YouTube.
I use this to upload video's to my YouTube channel. After uploading, whenever I try to change the permissions from "private" to "hidden", YouTube automatically will set it to "private (locked)".
Does anyone know how I can get this working? all I want to do is:
Login by using oAuth2 on the (internal) app with an account that is within the internal workspace.
Upload clips to YouTube.
View the clips to the public on my website.
As said, we made an internal app and the account that uploads the movies is a member of the (internal) Google workspace.
Been trying to get this working for days now without any progress.
YouTube's documentation states that an internal app does not need an audit and therefor I would think that YouTube video's would be able to set public.
If you check Videos: insert documentation you will notice it states that app needs to be verified.
There was some note that if it was for internal use you did not need to be verified in practice this is not the case. Apply for verification and tell them its internal only should get you though the verification process quickly enough.

Youtube API: Default comments settings not applying to videos published via API

I'm using youtube v3 API to publish videos on my channel. I want to moderate all comments made on my videos so I've selected the following in my channel setting. Note that I've chosen for all comments to be held for review by default.
Now I proceed to publish a video via API. But, it was observed that my video settings were set to Allow all comments instead of Hold all comments for review as is evident from the below image.
I've gone through the video insert API and did not find any parameter that would configure comment settings for each video. I'm failing to understand why the channel default setting is not selected for videos published via API. Is there any way through which I can change the video comment setting via API?
There is no way to specify comment options via the Data v3 API. This has been a long standing feature request. See the IssueTracker thread.

how to ensure that a youtube API response only contains videos that are suitable for playback on a mobile device

I am trying to add some youtube videos from my Admin page to database. So that mobile application can make use of them to play.
I want to filter the result from YouTube API link so that i can make sure that whatever videos i add to the database will be able to play on mobile devices like IOS and Android.
I tried
&format=5 and &format=1
but no use.
I also went through Youtube API v2.0 Docs but unable to find the correct way to assign fields parameter to my query string
can anyone guide me to fix this?
What you need is videoEmbeddable and videoSyndicated.
Here's my answer to original question: retrive only mobile-supported video from YouTube API

Is it possible to upload a Poster Frame image for a YouTube Partner via API?

A client of mine is a YouTube Partner and can upload/set posterframes in their videos that are being uploaded and managed via the API. However, they would like the ability to upload and set these images in the application that has been written for them to manage all of their video assets.
I'd like to be able to upload a poster image (or at worse provide a timecode to grab an approximate frame of video) to set the posterframe on upload and/or via updates after it's been uploaded.
Is this possible for Partners? or are Partners restricted to having to manually do this in the YouTube UI?
There's a new thumbnails.set() method that's part of the YouTube Data API v3. Anyone who has the ability to set a custom thumbnail via any other mechanism (i.e. manually via the YouTube website) can accomplish the same thing using that API call.

Downloading Videos from YouTube - Terms & Conditions

I am a bit confused about the YouTube API's term & conditions. If I create an app for users to download only their own videos. Is that against the terms and conditions?
I know downloading other people content is definitely prohibited, but is it the same for your own videos? Since user can go to their video manager and download their own videosm this would be only a short-cut?
Anyone knows can/cannot do this? I was thinking of using this library http://ytdownloadextension.codeplex.com/
Any guidance would be appreciated,
Covo
Seems like YouTube already allows you to do that, so I'd say it's legal:
Download your videos
You can’t download other people’s YouTube videos, but ...
You can download MP4 files of videos that you’ve uploaded to YouTube in either 720p or 360p, depending on the video size.
See Download videos that you've uploaded.
I don't think so the Terms of Service of Youtube or the Terms of Service of the API allows you to do so:
Excerpt of Youtube ToS (5. K):
you agree not to access Content or any reason other than your personal, non-commercial use solely as intended through and permitted by the normal functionality of the Service, and solely for Streaming. "Streaming" means a contemporaneous digital transmission of the material by YouTube via the Internet to a user operated Internet enabled device in such a manner that the data is intended for real-time viewing and not intended to be downloaded (either permanently or temporarily), copied, stored, or redistributed by the user.
Excerpt of the API ToS (II. 11):
store copies of YouTube audiovisual content;
Both, state in a very clear way that neither the user nor applications built using the API can "store" content, which is a very direct statement that disallows you from giving such an option in your app. Now, whether Youtube does give its users an interface to download their content or not is an argument out of sequence here as Youtube don't need to follow their own ToS, in other words, it's up to them to give their users such an option, but you can't give it to the users of your app.
I suppose you need a special permission from Youtube to give such an option in your app.
Yes. You can definitely download your own videos from YouTube as it is your own content so you have full rights to it as the creator of the videos.

Resources