我想在我的Android应用中使用interstitial
中的Admob
广告,我只想确定我是否<< [确定。
private fun setupFabButton() {
//get the fab (don't move from this position)
mFab.apply {
setOnClickListener {
if (mInterstitialAd.isLoaded) {
mInterstitialAd.show()
} else {
Log.d("TAG", "The interstitial wasn't loaded yet.")
}
//start preview activity
.............
........
})
}
startActivity(intent)
}
}
}
感谢任何可以提供帮助的人:)
这里是您可以获得的违规及其修复的完整列表。
http://hackerseve.com/how-to-implement-admob-s-interstitial-ad-the-right-way-in-android-apps/