简体   繁体   English

广告中介-如何关闭?

[英]Ad Mediation - how to turn off?

I use Ad Mediation control for displaying advertisements. 我使用广告中介控件来显示广告。 The user can buy off advertising. 用户可以购买广告。 How to disable the Ad Mediation if the user has paid? 如果用户已付款,如何禁用广告中介?

1.Visibility="Collapsed". 1.Visibility = “折叠”。 But the component will interact with the ad networks. 但是该组件将与广告网络互动。

2.Check at the start of the purchase, and download the user a different page without Ad Mediation. 2.在购买开始时进行检查,然后在没有广告中介的情况下下载用户其他页面。

3.Prompt the user to download a version of the application without advertising. 3.提示用户下载该应用程序的版本,而不做广告。

What do you advise? 你有什么建议?

You should put an if condition that checks if the product has been purchased before calling for the Ad Service Function in your App. 您应该设置一个if条件,以在您的应用中调用广告服务功能之前检查产品是否已购买。 In this way, if a user has purchased the App then the App will never Enter the Ad-function and by a using a Bool to Visibility Converter drop the Ad Grid. 这样,如果用户购买了该应用程序,则该应用程序将永远不会输入广告功能,并且通过使用布尔到可见性转换器放置广告网格。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM