youtube video insert “onBehalfOfContentOwner” para

2019-07-13 03:21发布

问题:

I am using youtube data API V3 to upload the videos to the youtube.

I am unclear of what should be the value for the paramter "onBehalfOfContentOwner". Should it be the auth credentials of YouTube CMS user who is managing all the channels..or it should be the Actual channel owner for the youtube .

回答1:

I believe it's the former.

"The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels" [source].

But the end of that sections also says:

"The CMS account that the user authenticates with must be linked to the specified YouTube content owner"

which I assume is where the confusion lies. So it needs the auth credentials of YouTube CMS user who's managing the channel, but that account must be linked to the YouTube content owner's account.