简体   繁体   中英

WP8 Ads are not appearing

I am trying to get Windows Advertising into my App, but nothing shows up.

I know the XAML control is correct because when I put in the default values I get the Microsoft Advertising banner.

I eventually hooked onto the ErrorOccurred event and the AdErrorEventArgs keep returning with "no ad available" which I am not sure what that means.

The stack trace I keep getting is:

at Microsoft.Advertising.Shared.AdvertisementFactory.CreateFromResponse(String response, AdDownloadCompleteCallback adDownloadCompleteCallback)
at Microsoft.Advertising.Shared.AdPlacement.CreateAdvertisement(Byte[] bytes)
at Microsoft.Advertising.Shared.AdPlacement.AdRequestComplete(IWebRequestWrapper request)

I have tried running it app on my device while debugging and not debugging and I have yet to see any advertising.

At the time of writing my category is set to Lifestyle - Art + Entertainment

"no ad available" error means just that. There is no ad inventory available. It is the most typical behavior outside US.

The control is probably working fine, but PubCenter is not serving ads for your app. In my apps I have noticed that the performance of PubCenter is very poor outside United States.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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