By Dan Levine and Lisa Baertlein

SAN FRANCISCO (Reuters) - A San Francisco judge on Wednesday dismissed a lawsuit against McDonald's over the restaurant chain's marketing of its signature Happy Meals, according to court documents.

McDonald's was accused of unfairly using toys to lure children into its restaurants, and the proposed class-action lawsuit sought to stop the company from advertising toys in connection with Happy Meals in California.

(Reporting By Dan Levine; Editing by Gary Hill)