由于 Youtube API 问题,应用已从 Google Play 中删除

App removed from Google Play because of Youtube API problems

我已经为 Android 开发了一个应用程序,它使用 YouTube API 显示我在 YouTube 上的频道的视频。

我直接通过YouTubePlayerViewclass展示视频。我不使用 YouTube 上的用户授权,只是在我频道的播放器中显示视频。

我也在同一个 Activity 中使用视频广告。我在 YouTube 视频之前展示视频广告。但我不确定这是否如此重要。

我还有另一个 activity 显示我频道的视频列表。对于列表项,我使用视频标题和缩略图。我使用以下方法从 YouTube 网站获取标题和缩略图:

http://img.youtube.com/vi/" + url + "/default.jpg

http://www.youtube.com/oembed?url=http://www.youtube.com/watch?v=" + id + "&format=json

一切正常。但是当我在 Google Play 下载该应用程序时,我的应用程序被删除了。这是他们写的:

"After a regular review, we have determined that your app downloads, monetizes, or otherwise accesses YouTube videos in violation of the YouTube Terms of Service or YouTube API Terms of Service. Accessing content, a product, or service in an unauthorized manner is a violation of the Developer Distribution Agreement, and is not allowed on Google Play"

他们接受了我的申请,我该怎么办?

您的视频广告导致 Terms of Service of the Youtube API 出现问题。

the sale of advertising, sponsorships, or promotions placed on or within the YouTube audiovisual content or player; or

the sale of advertising, sponsorships, or promotions on any page of the API Client containing YouTube audiovisual content, unless other content not obtained from YouTube appears on the same page and is of sufficient value to be the basis for such sales.

原因是 Google,您正试图从 Youtube 服务获得广告收入。如果您没有任何自己的内容(值得投放广告),那么您的应用将被下架。