https://developers.google.com/mobile-ads-sdk/docs/admob/advanced
のページのSample通りに実装したあと、単純に
displayInterstitial()
を呼び出したらはまった。
どうやら、広告データを読み込んでから表示するようなので、Activity遷移後すぐに表示しようとすると、広告データを読み込む前で表示されない。
interstitial.setAdListener(new AdListener(){
public void onAdLoaded(){
displayInterstitial();
}
});
で解決。