How was Facebook able to do this? I remember when they weren't all that profitable around their IPO, Google was clearly the market leader. My only theory is that first mover advantage wasn't everything, and both companies know a lot about you, so they can target really well.