I don't know anything about ad networks, but this is all client-side code, so yes, they could simply go to your website, examine the JavaScript and see that you are doing this. I'm sure they have a very involved process around detecting and preventing this type of abuse. If you were going to try...