For years, it was taken on faith that television advertising worked. It drove viewers to auto showrooms, opened movies and made products fly off the shelf.