The Trade Desk faces a changing advertising market as audience data, AI and measurement reshape competition, including Amazon over how advertisers allocate their budgets.