A federal judge shot down a lawsuit from investors claiming Meta Platforms Inc., formerly known as Facebook, shielded the magnitude that privacy changes on Apple Inc. devices would affect the company’s ad business.

On Tuesday, U.S. District Judge Yvonne Gonzalez Rogers of the Northern District of California granted Meta’s motion to dismiss the amended complaint, which was filed last August by attorneys from Pomerantz. The judge, however, left open the option for shareholders to file an additional amended complaint by Sept. 18.