It's a cat and mouse game really:
1. Overview of ad blockers and detection: http://www.detectadblock.com/
2. Ad network agnostic approach: http://stackoverflow.com/questions/4869154/how-to-detect-adb...
3. anti-adblocker... killer: https://github.com/reek/anti-adblock-killer