A U.S. federal judge has ruled that Google unlawfully monopolized two key online advertising technology markets: publisher ad servers and ad exchanges.