Yeah, the data part is a big reason, but it's not just because Facebook had "real people" while others didn't.
Facebook won because it had scale + user behavior data + advertiser tools. Billions of people were using it daily, sharing interests, locations, relationships, pages they liked, things they clicked, etc. That gave advertisers a much better chance of reaching the right people