The plaintiffs estimated that more than $20 billion was "illegally extracted" from the e-commerce giant's advertising customers.

The lawsuit covers a seven-year window of time and involves over 20 state attorney generals.

Federal regulators and 22 states allege that the tech giant made billions by manipulating how much brands and sellers paid for ads on its platform.