According to their SEC filings, Google turned a profit for the first time in 2001. Their first funding ($100k) came in 1998. They then secured $25m in 1999.
AdWords was not launched until 2000 so it wasn't possible they were turning a profit before then.