The Trade Desk, an online advertising company based in Ventura, announced recently that it will lay off nearly 600 employees.