A long-running ad fraud campaign that was using more than 500 malicious Google Chrome extensions has been identified and halted by researchers.