Search code examples
c#windows-phone-8admob

Windows Phone 8: AdMob Interstitial Ads don't display correctly


When trying to display an interstitial ad on our app, the ad doesn't display correctly.

When the app runs on the 720p emulator then the ad displays with the correct size: 720p screen

On the WVGA the ad gets cut off in one quarter (seems that the size of the ad is for the 720p screen): WVGA screen

As for the WXGA the ad displays with a white border around it (I'm guessing that like the WVGA, the ad size is for the 720p screen): WXGA

We tested on a device to be sure that the problem wasn't emulator specific, but we got the same results.

This is the code we used to create the ad:

InterstitialAd _ad = new InterstitialAd("<ADMOB_ID>");
AdRequest adRequest = new AdRequest();
_ad.ReceivedAd += delegate(object sender, AdEventArgs e)
{
    _ad.ShowAd();
};
_ad.LoadAd(adRequest);

Is there a way to define the ad size? Or this is a bug on the AdMob SDK?


Solution

  • Finally I found some info on the issue.. not good news I'm afraid.

    According to a member of the AdMob SDK this is a known bug that doesn't have a fix yet.

    Source: AdMob SDK Google Goup - WP8 known issue