I use GMail filters to keep all the emails I get from Yahoo's ad system in one place.
To make a filter in GMail that handles more than one address, you can separate the addresses with a vertical bar - '|', but not a comma.
email@example.com | firstname.lastname@example.org
Or you can follow GMail's help advice, and put them all in parenthesis, with an OR between addresses.
(email@example.com OR firstname.lastname@example.org)
The OR technique doesn't seem to work without the parens, while the vertical bar does...