David Beckham and Sofia Vergara star in a new Pepsi ad that has already been watched 300,000 times on Youtube.

Sofia Vergara, the 38-year-old star of Modern Family, is seen in the Pepsi ad lying on a Venice beach in a blue swimsuit.

She decides she wants a can of Pepsi and posts a tweet pretending she has seen David Beckham, to clear the queue from the drinks stand.

Vergara on the beach.

“At the pier… just saw @David Beckham,” Vergara tweets.

After wiggling back to the sun-lounger to drink her Pepsi, Vergara is shocked to see David Beckham appear in the flesh kicking a ball along the beach.

When Beckham sees a group of women running in the opposite direction, he asks Vergara, “What’s going on over there?”

David Beckham in the Pepsi ad.

The commercial was shot on Venice beach last month, where both Sofia and David were seen having a ball shooting underneath the sun’s rays.

Both Sofia Vergara and David Beckham have worked for Pepsi before.

“I started my career in the entertainment business many years ago with a Pepsi commercial that became very big in Colombia and in Latin America so it’s fantastic for me to be doing it again!” Vergara said.

Sofia Vergara pulls a face as she spots David Beckham.

Beckham has been endorsed by Pepsi throughout his career.

“I’ve been part of the Pepsi family for a number of years and I’m back! So I’m excited,” David said.

Phew! Enough Pepsi-plugging for you there? Now watch the ad. If you can bear it.

[View:http://www.youtube.com/watch?v=FEFI-_Sg5G0]

And here’s what went on behind the scenes of the David Beckham Sofia Vergara ad.

[View:http://www.youtube.com/watch?v=f7EZ3aq_KU4&feature=relmfu]