(WP 8)pubcenter xaml与test_client Csharp / XAML出错(错误:404未找到)Windows phone 8.0 [英] (WP 8) pubcenter xaml Error with test_client Csharp/XAML (Error : 404 Not Found)Windows phone 8.0

查看:56
本文介绍了(WP 8)pubcenter xaml与test_client Csharp / XAML出错(错误:404未找到)Windows phone 8.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

    xmlns:adv="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI"

     <adv:AdControl x:Name="AdMediator_11673927"  AdUnitId="Image480_80" ApplicationId="test_client" ErrorOccurred="AdControl_ErrorOccurred"  VerticalAlignment="Bottom" />
           

我使用  Adunitid Image480_80  申请ID:
test_client
appid也是
unitid: 10865270 id: 3f83fe91-d6be-434d-a0ae-7351c5a997f1

i use  Adunitid Image480_80  Application id : test_client appid also
unitid: 10865270 id: 3f83fe91-d6be-434d-a0ae-7351c5a997f1

错误:

HTTP错误状态代码:NotFound(404)

System.Net.WebException:远程服务器返回错误:NotFound。 ---> System.Net.WebException:远程服务器返回错误:NotFound。

  在System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)

  在System.Net.Browser.ClientHttpWebRequest。<> c__DisplayClasse。< EndGetResponse> b__d(Object sendState)

  在System.Net.Browser.AsyncHelper。<> c__DisplayClass1。< BeginOnUI> b__0(Object sendState)

   ---内部异常堆栈跟踪结束---

  在System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod,Object state)

  在System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

  在Microsoft.Advertising.Shared.HttpRequest.EndGetResponse(IAsyncResult asyncResult)

  在Microsoft.Advertising.Shared.WebRequestWrapper.WebRespCallback(IAsyncResult result)

System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
   at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.<EndGetResponse>b__d(Object sendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.<BeginOnUI>b__0(Object sendState)
   --- End of inner exception stack trace ---
   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at Microsoft.Advertising.Shared.HttpRequest.EndGetResponse(IAsyncResult asyncResult)
   at Microsoft.Advertising.Shared.WebRequestWrapper.WebRespCallback(IAsyncResult result)

如果我使用真正的unitid和appid它显示错误:>>>你不能使用PubCenter ID进行测试在模拟器中。如果您想使用这些ID进行测试,请将您的应用程序部署到设备。否则,请将您的ApplicationId更改为"test_client";
和AdUnitId支持其中一种支持的广告类型,如文档中所述。

if i use real unitid and appid it show error :>>>You can not use PubCenter IDs for testing in the emulator. If you want to test with these IDs, please deploy your application to a device. Otherwise please change your ApplicationId to "test_client" and AdUnitId to one of the supported ad types as outlined in the documentation.

推荐答案

您好DAGroup,

Hi DAGroup,

>>您不能使用PubCenter ID在模拟器中测试。如果您想使用这些ID进行测试,请将您的应用程序部署到设备。

我们可以从此消息中了解到您需要将应用程序部署到如果您使用真实的广告单元ID和应用ID,则可以使您的应用进行测试。

We can know from this message that you need to deploy your application to a device to make your app test if you are using real Ad Unit Id and Application Id.

您也可以在设备上试用您的应用(使用真实的广告单元ID和应用ID)您之前没有尝试过吗?

So could you try your app(using real Ad Unit Id and Application Id ) on a device if you didn't try it before?

此外,请查看此 客户端
2017年9月15日结束的Win8.x和Windows Phone 8.x应用程序的广告调解支持
 如果您使用的是Windows
手机8.0应用的客户广告调解 功能。

Besides, please take a look into this Client Ad Mediation support for Win8.x and Windows Phone 8.x apps ending on September 15th 2017  if you are using Client Ad Mediation capabilities for your Windows Phone 8.0 app.

最好的问候,

Annievia


这篇关于(WP 8)pubcenter xaml与test_client Csharp / XAML出错(错误:404未找到)Windows phone 8.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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