使用YouTube Android Player API时,YouTube广告永远不会展示 [英] YouTube ads never show while using YouTube Android Player API
问题描述
无论播放器的样式或视频是什么,YouTube广告都不会显示.
YouTube ads never show no matter what the player style or what the video.
实际YouTube版本:10.18.55 YouTube Android Player API:1.2.1
Actual YouTube version: 10.18.55 YouTube Android Player API: 1.2.1
我记得在开发应用程序时看到了一些广告.经过数百次测试,我现在看不到任何广告.这实际上是一个问题,因为我的应用由于YouTube API的未经授权使用"而不断被暂停或拒绝. Google Play支持小组认为我以某种方式禁用了广告.请确认问题.
I remember that I saw some ads while was developing my app. Now I can't see any ad after hundreds of tests. This is actually a problem, because my app gets constantly suspended or rejected because of "unauthorized use" of YouTube API. Google Play Support Team thinks that I disable the ads somehow. Please confirm the issue.
推荐答案
我在使用YoutubeStandalonePlayer
API并将autoPlay标志设置为true的视频播放视频时发生了同样的事情.加载自动播放设置为false的视频可以解决此问题.
Same thing happened to me when I was playing video with YoutubeStandalonePlayer
API with autoPlay flag set to true. Loading a video with autoplay set to false fixed the issue.
这篇关于使用YouTube Android Player API时,YouTube广告永远不会展示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!