As of writing, the ability to choose which channel to upload a video to is only available to YouTube content partners.
The videos.insert
method supports an optional parameter onBehalfOfContentOwnerChannel
, which takes in a a YouTube channel ID value as a string. You must also provide your YouTube CMS auth credentials for the onBehalfOfContentOwner
parameter as well.
YouTube provides some explanation:
This [onBehalfOfContentOwnerChannel] parameter is intended for YouTube content partners that own and
manage many different YouTube channels. It allows content owners to
authenticate once and perform actions on behalf of the channel
specified in the parameter value, without having to provide
authentication credentials for each separate channel.
Relevant API documentation for videos.insert
here.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…