Facebook was selling ads almost immediately in reality. The movie made a big deal about Zuckerberg wanting to avoid running ads on FB, but from launch, FB had a nifty native ad system in place and even gave equity in the company to an ad agency in return for guaranteed spend over time.