有没有一种方法来“取消”或停止间质的广告,如果应用程序是不是在前台? [英] Is there a way to 'cancel' or stop an Interstital ad if the app is not in foreground?

查看:104
本文介绍了有没有一种方法来“取消”或停止间质的广告,如果应用程序是不是在前台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程序的页内广告来实现。当用户执行特定任务此广告的展示。现在,这个任务是我的应用程序的主屏幕上,因此用户只需执行任务,并离开该应用程序。现在的问题是,有时将广告显示在用户执行的任务和离开该应用之后。这是否会得到我从游戏商店禁止?另外,我的主要问题,是有办法避免这种情况?

I have an interstitial ad implemented in my app. This ad is shown when a user performs a certain task. Now this task is on the main screen of my app, so the user just performs the task and leaves the app. The problem is, sometimes the ad is shown after the user performs the task and leaves the app. Will this get me banned from play store? Also, my main question, is there a way to avoid this?

推荐答案

我怀疑你的问题是,这一呼吁 interstitial.show() onAdLoaded()您AdL​​istener的。执行不会做到这一点。它提供了一个糟糕的用户和豁达的将会的让你的帐户被禁止。

I suspect that your problem is that that are calling interstitial.show() from onAdLoaded() of your AdListener. Do NOT do this. It provides a poor user expereince and will get your account banned.

相反,你应该叫 interstitial.show()从您的应用程序自然破发点。

Instead you should call interstitial.show() from a natural break point in your app.

这篇关于有没有一种方法来“取消”或停止间质的广告,如果应用程序是不是在前台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆