收听视频广告在插页式广告中完成事件(Google AdMob) [英] Listening to Video Ad. Finish Event in Interstitial Ad (Google AdMob)
问题描述
我只有一个带有视频类型的插页式广告。
是否有可能听视频回放是否完成,以决定用户的一些奖励?
到目前为止,AdListener只加载失败,打开,左侧的应用程序&如此文档中所述的关闭事件,但我需要视频播放完成事件。
另一个解决方案(?)给我:
If视频长度可以近似/找到,我可以运行一些计时器来检测完成使用广告关闭的事件,但是它可能再次获得视频的持续时间?
或带有应用内商品的AdClosed活动奖励
$ b $ pre $ lt; code> mInterstitialAd.setAdListener(new AdListener(){
@Override
public void onAdClosed(){
/ / AdClosed现在用积分奖励用户等
}
});
I have an interstitial ad-id with video types only. Is it possible to listen whether the video play-back is completed to decide on some rewards for the user?
So far, AdListener has only loaded, failed, opened, left-app & closed events as described in this doc, but I need the video-play completion event.
One alternate solution(?) to me:
If the video length can be approximated / found, I can run some timer to detect the completion using the ad-closed event, but is it again possible to get the video duration?
You can use rewarded interstitial ads https://support.google.com/admob/answer/6373180?hl=en
or on AdClosed event award with in-app goodies
mInterstitialAd.setAdListener(new AdListener() {
@Override
public void onAdClosed() {
//AdClosed now reward user with points etc
}
});
这篇关于收听视频广告在插页式广告中完成事件(Google AdMob)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!