Microsoft pubcenter 广告不响应点击或点击

microsoft pubcenter ads not responding to tap or click

我正在使用 visual studio 2013 使用 XAML 和 C# 开发一个 windows phone 应用程序。我添加了一个 UI:AdControl 如下:

.....

xmlns:UI="using:Microsoft.Advertising.Mobile.UI"

.....

<UI:AdControl AutoRefreshIntervalInSeconds="60" ApplicationId="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" AdUnitId="00000000" HorizontalAlignment="Center" Height="80" VerticalAlignment="Bottom" Width="480" IsAutoRefreshEnabled="True"/>

(应用程序中的 ApplicationId 和 AdUnitId 正确,但此处未显示)

广告正确显示,但当点击广告时,它不会像在平板电脑和其他应用中那样转到广告商的页面。

谢谢!

我会检查您的 z-index 顺序,您的 AdControl 可能正在被另一个控件 'covered'。

如果显示广告,它基本上可以正常工作,所以如果您对分层不满意,我会向 "IsEngagedChanged" 和 "ErrorOccurred" 事件添加一个事件处理程序以进行进一步调试。

如果 AdControl 不起作用,您可以使用 ad mediation。根据 Microsoft-

Microsoft provides support for ad mediation to let you optimize your in-app advertising revenue by mediating ad requests from one or more ad networks.

Different ad networks which offer SDKs for displaying ads in your Windows Phone app may have their own strengths, with some having a higher cost per thousand views (eCPM) or higher fill rate (percentage of ads served when your app makes a request) in certain markets than others. With a single ad network, you may end up with unfilled ad requests, causing you to lose potential revenue.

参考资料

1. Using ad mediation to maximize ad revenue

2. Downloaded the extension

3. Inside Windows Platform: Maximize ad revenue with Windows Ad Mediator Service and Control