A federal judge has ordered the internet giant to make a series of changes to address its anticompetitive conduct.