A judge ruled that Google must make changes to address its advertising technology monopoly, but would not need to break up that business.