adview=findViewById(R.id.adView)
val adRequest = AdRequest.Builder().build()
adview.loadAd(adRequest)
I am using this code to load banner ads, but I also have a button that has to make it so it does not show the ads anymore and one solution I found is to write adView.visability=gone.
All I want to know if there will be any problems, will admob consider it as an impression if its disappeared anyway?
New contributor
luka lutidze is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.