Some users intentionally try to repeatedly click banner ads. In this regard, we are faced with the problem of suspension or termination of the account. Does anyone know how to stop the ad from loading if it crosses a limit (e.g. 3).
AdView adView = (AdView) findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder()
.setRequestAgent("android_studio:ad_template").build();
adView.loadAd(adRequest);
if(currentbannerclick>3)
{
}
source
share