Re: how to get onBehalfOfContentOwner parameters

1,489 views
Skip to first unread message
Message has been deleted

John Boswell

unread,
Nov 28, 2016, 1:23:13 PM11/28/16
to Google APIs Explorer Users Forum
That parameter is likely not what you want to use. The important details are in the request body, which is entered below that.

Just to clarify, are you trying to make these reports programmatically or did you mean you just want to report one video? If the latter, it is much easier to use the YouTube report feature directly on the video's page.

On Monday, November 28, 2016 at 12:53:38 AM UTC-8, gooooo_code wrote:
I want to report some video for containing abusive content.

website: https://developers.google.com/youtube/v3/docs/videos/reportAbuse#try-it     : "Youtube -> Data API -> Videos:reportAbuse"

How to get onBehalfOfContentOwner parameters ?


gooooo_code

unread,
Nov 28, 2016, 8:57:29 PM11/28/16
to Google APIs Explorer Users Forum
Thankyou for your reply.
I want to reportAbuse programmatically.
It is easy to fill  The request body. My question is how to fill onBehalfOfContentOwner parameter.

John Boswell

unread,
Nov 29, 2016, 2:22:46 PM11/29/16
to Google APIs Explorer Users Forum
In most cases, you want to leave that parameter unset. But if you are a YouTube content partner managing many channels under one CMS user (which you have authenticated as), you can specify a content owner you are authorized to act on behalf of. If that's the case, you'll probably have better luck asking about this specific feature with YouTube support: https://developers.google.com/youtube/v3/support.

gooooo_code

unread,
Nov 29, 2016, 8:38:45 PM11/29/16
to Google APIs Explorer Users Forum
I solved this problem.
Only oauth2 authentication is required, then I can use this method without fill the onBehalfOfContentOwner parameter.
Thanks.
Reply all
Reply to author
Forward
0 new messages