question

Mia-3976 avatar image
0 Votes"
Mia-3976 asked ·

There's no any Interstitial Ad in my app.

Hi,
Though the monetization platform is about to close in this year, I still want to put on Interstitial ads recently.

However, I always got error saying there's no ad for every ad request.

I've tried the test ads, it went well.Then I apply my applicationId & adUnitID, it just not works.

Here's my code,




 public sealed partial class HomePage : Page
 {
     public HomePage()
     {
         this.InitializeComponent();
         this.Loaded += HomePage_Loaded;
         Unloaded += HomePage_Unloaded;

         videoInterstitialAd = new InterstitialAd();
         videoInterstitialAd.AdReady += VideoInterstitialAd_AdReady;
         videoInterstitialAd.ErrorOccurred += VideoInterstitialAd_ErrorOccurred;
     }

     private void VideoInterstitialAd_ErrorOccurred(object sender, AdErrorEventArgs e)
     {
         CommonTool.SendToast("No Video", e.ErrorMessage);

     }

     private void VideoInterstitialAd_AdReady(object sender, object e)
     {
         videoInterstitialAd.Show();
     }

     private async void HomePage_Loaded(object sender, RoutedEventArgs e)
     {
          videoInterstitialAd.RequestAd(AdType.Video, myAppId, videoAdUnitId);
      //
     }
  }

Is it because of the fill rate, or do I have done something wrong?


Any help will be appreciated.


Best regards, Mia




windows-uwp
· 6
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Don't mind about Microsoft Ads, they will close this on May. Find another or give up UWP

0 Votes 0 ·

Have you solved your issue? Please feel free to contact us.

0 Votes 0 ·

Does my reply make sense? Please feel free to contact us if you still have questions.

0 Votes 0 ·

@RoyLi-MSFT , hi,
I've tried. I changed AdType.Video to AdType.Display. It didn't work, either.
As Microsoft's Interstitial ads document has mentioned, I thought AdType.Video is for Interstitial video ads and AdType.Display is for Interstitial banner ads. Isn't that right?
Anyway, neither of them work.

Still want to know, do fill rates different between countries?

0 Votes 0 ·

Yes, the fill rates are different according to different markets. But it's still strange that you can't get any ads. Please open a free support ticket here: Contact Us. Choose to Contact us, select Dashboard for Topic and select Ads for apps for issue type.


0 Votes 0 ·

Thanks a lot. I'll try it :)

0 Votes 0 ·
Mia-3976 avatar image
0 Votes"
Mia-3976 answered ·

Update:

I found that I changed the package name for test use, and I guess that makes ApplicationId not consist with my package?
I changed the package name back and the AdType, and it works then.

However, I have two apps, and they always show same videos, which are different from each other. One shows the XBox, the other shows Oyun.fr.
Same with Interstitial Banners, one always show the red testing Microsoft banner, while the other shows real-time interstitial banner.

Anyway, at least it returns ads rather than error now.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered ·

Hello,

Welcome to Microsoft Q&A!

For questions about AD SDK, they are not fully supported in Microsoft Q&A. Please ask questions about AD SDK in AdSDK Integration & Ad Mediation Forum in MSDN.

And for your question, could you please check the first parameter of the RequestAd method? It should be AdType.Display instead of AdType.Video for interstitial ad.

Thank you.


·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.