I'm using 11.0.4 of play services.
mPublisherInterstitialAd = new PublisherInterstitialAd(this);
String adUnit = "<my_ad_unit>";
mPublisherInterstitialAd.setAdUnitId(adUnit);
mPublisherInterstitialAd.setAdListener(new AdListener() {
@Override
public void onAdLoaded() {
mPublisherInterstitialAd.show();
}
@Override
public void onAdFailedToLoad(int errorCode) {
doSomething();
}
@Override
public void onAdLeftApplication() {
doSomething();
}
@Override
public void onAdClosed() {
doSomething();
}
});
mPublisherInterstitialAd.loadAd(new PublisherAdRequest.Builder().build());