Yahoo has announced it will buy digital video advertising service BrightRoll for $640 million. The move would allow Yahoo to…