I wanted to ask, how to implement an AdListner for Admob. I want the Ad to disapear if its clicked.
I tried this but it did not help.
final AdView ad1 = (AdView) findViewById(R.id.ad1);
ad1.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
ad1.setVisibility(View.GONE);
ad1.destroy(); }
});
thank you.
If someone is still searching for this, here is the code I used: