I'm trying to find a method to check if a banner (ad) is checked, but it is more difficult that it seams.

I tried

```
adView.setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View v) {
            //TODO
        }
    });

```

But it doesn't work(i put a debug print but it didn't work..)

Then i tried to create a LinearLayout that wraps the adView and putted the listener on the linear layout, but it still didn't work.

Then i tried to create a bigger layout that contained all the display, and added the adView in it. I thought to put a onTouchListener in it, and checking the coordinates, to check if the add was pressed. But i don't really understand the how to find the correct coordinates of my banner (i created a method that gets x and y offset and the gravity to use to place the banner) to check, and i really hope that a better way exists. In addition i found that the method is not executed if i press the banner, but only if other parts of the screen are pressed.

So, is there some way to know it? I don't care to know if the banner page was loaded, or if it redirected to the market or the browser, i just need to know if the banner was pressed.

Maybe setting a check that runs when the screen is touched, and than check if the listner method was run, and if it wasn't run that the banner was touched can work, but i don't know how to implement it..

Any idea how to do this?

Thank you