I dare say that the batteries in diynot's crystal ball have run a tad flat, are you able to expand on your "advert" and say what it's advertising.
what pages you see it on, where it links to, is it just this forum etc?
I'd suggest an AV scan and use Malwarebytes to scan too.