Billions of dollars are flowing into online advertising. But marketers also are confronting an uncomfortable reality: rampant fraud.