public void showInterstitial(View unusedview) {
// Show the interstitial if it's loaded.
if (interstitialAd.isLoaded()) {
interstitialAd.show();
} else {
Log.d(LOG_TAG, "Interstitial ad was not ready to be shown.");
}
here interstitialAd
don't have any method that let us to change the size of Interstitial Ad
You don't get to choose.
And interstitial should be considered a fill page ad. Admoib will serve up whatever it has. Sometimes this will be a full page image, sometimes a rectangular popup, sometimes a video ad.
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.