It is the second major case Google has lost in a year, after it was found to have a monopoly on online search.