因此,我有一个像YouTube这样的网站,我想通过它获利。它使用简单的HTML5视频播放器显示动态视频。我不想整合任何其他播放器,因为我的网站是为HTML5播放器设计的。我已经观看了有关此视频的几个视频,并且两个源代码都没有使用(它没有显示广告本身)。我使用Adsterra广阔的标签,所以我不知道这是否是他们的问题。如果有人可以帮助我使用文档或示例代码,我会很高兴。谢谢你!
So I have a website like YouTube and I want to monetize it. It uses simple HTML5 video player to display dynamic videos. I don't want to integrate any other player because my site is designed for HTML5 players. I have watched couple of videos about this, and neither of the source codes worked (It didn't display the ad itself). I use Adsterra VAST tag, so I don't know if it's their problem or not. I would be very happy if someone can help me with documentations or sample codes. Thank you!
发布评论
评论(1)
因此,您需要将IMA SDK用于HTML5播放器:
在那里您可以找到必要的代码来执行此操作,对不起,我刚刚找到了这张票。
So you would need to use IMA SDK for html5 player:
https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side
In there you can find the necessary code to do it, sorry for the late reply i just found this ticket.