Question

Is there a way to prevent ad networks from creating pop-ups in my site. I am using OpenX to manage my ads. I explicitly told the networks not to show any pop-ups. As I have many ad networks I cannot be sure which one is invoking the pop-ups.

Was it helpful?

Solution

I would imagine the ads are being generated by javascript which is run when a webbrowser opens the page.

Thus you can't do any processing or filtering on the server side to determine this, and stop it. Client side scripting to determine this would also be very hard to produce.

To expand on the client side scripting issue, if you really want to solve this problem consistently, you could create a program which mimics a user, this could then trap any popup's which are created, and log them.
You could use this to test results from referring pages, by changing your IP address, or other tests.
It really depends how much time you want to spend on this.
Incidently, your ad providor's might not like this at all, as you are possibly commiting fraud by doing this. (If they pay you for each ad view.)

My advise would be to test your webpage, and determine which ad provider is the problem.

Once you know that you can either remove them, or discuss it with them.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top