Youtube Google API V3: List Videos not returning video tags

这一生的挚爱 提交于 2019-12-11 19:23:16

问题


I am currently trying to get the tags of a youtube video using the Google API V3. I am authenticating my business account and querying for videos we have uploaded through that account. I am not seeing tags for the videos I am querying for. (Yes, they do have tags applied to them)

When I authenticate with my personal account, and query videos that I have personally uploaded, I am able to see the tags for those videos.

Both accounts have the Youtube Data API enabled under the https://console.developers.google.com project.

Is there somthing more I need to do in order to get the tags I am looking for on my business account?

I am even seeing the same results when using the API Explorer on the Google Developers API Reference

Any information on why this could be happening is appreciated! TYIA!


回答1:


You should add onBehalfofContentOwner parameter to your request to show yourself as the content owner, so the tags of your videos show up.



来源:https://stackoverflow.com/questions/30695927/youtube-google-api-v3-list-videos-not-returning-video-tags

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!