Rep. Ed Markey's (D) Massachusetts special Senate election campaign   launched a new ad Friday featuring President Obama.

Meanwhile, Markey's campaign filed a report showing that it will have more money to run its ads than his opponent, Republican Gabriel Gomez.

Markey's Obama ad comes on the heels of Obama's visit to help Markey campaign last weekend. Markey has also gotten help from First Lady Michelle Obama, and former president Bill Clinton and Vice President Joe Biden will help him in the coming days.

"Ed has been a champion for middle-class families and small businesses," Obama says in the ad, which features footage of his event with Markey.

Markey's ad comes as a group backing Republican nominee Gabriel Gomez hit the airwaves with new spots hitting Markey over health care and his long career in Congress, and also as Markey continues to outraise Gomez at a significant clip.

Just-filed campaign finance reports show Markey outraised Gomez $3.1 million to $2.1 million between April 11 and June 5, and outspent him by nearly $4 million over the same stretch, according to Roll Call.

Gomez's fundraising totals include another $300,000 in self-funding. He has now spent $900,000 on his campaign.

Gomez's fundraising isn't necessarily a huge problem. In the same reports filed before the 2010 Massachusetts special election between Scott Brown and Marth Coakley, Coakley outraised Brown $1.1 million to $750,000.

Brown's fundraising didn't surge until the closing days of the campaign. He outraised Coakley $14.3 million to $4.4 million in a report filed after the special election.