From an article over at Silicon Alley Insider:
Where did 2009's $500 million come from? Self-service ads, which appear on the right side of the screen on Facebook, accounted for about $250 million to $300 million.
The rest is split amongst engagement ads, a deal with Microsoft, and virtual goods.