Until now, the only way to avoid seeing ads was by paying for a YouTube Premium subscription.