I don't think that's entirely fair. Surely the most useful measure of "wrong" is whether the user comes away with the correct answer?
Adverts on a webpage might definitely make it less likely that a user comes away with that answer, but I don't think they'd invalidate a user's successful result any more than gossiping with the librarian would invalidate their help if they successfully find an answer.