Advertisers are paying millions to companies whose practices are often borderline and an annoyance to Web users. The problem is what to put in place of distributed advertising.