【发布时间】:2015-10-29 19:49:45
【问题描述】:
我有一个 YouTube 频道。在该频道中,我有一个名为“Brazil”的 channelSection。
我想限制该部分,以便只有巴西的人可以查看它。
在文档中,我看到了如何为频道设置国家/地区参数,而不是 channelSection。
根据文档:https://developers.google.com/youtube/v3/docs/channelSections/update
我可以更新的唯一项目是:
-
sn-p.type
sn-p.style
sn-p.title
sn-p.位置
contentDetails.playlists[]
contentDetails.channels[]
targeting.countries[]
targeting.languages[]
targeting.regions[]
我们的 YouTube 代表写信给我们说:“要为频道资源设置 sn-p.country 属性,您实际上需要更新 brandingSettings.channel.country 属性。此设置不会以任何方式影响定位.”
所以我有点困惑。我是否将频道的brandingSettings.channel.country 设置为巴西或channelSection,如果是,如何设置?
更新
按照下面的答案,我收到以下错误:
"domain": "global", "reason": "backendError", "message": "Backend Error"
【问题讨论】:
标签: youtube-api youtube-data-api