AOL Inc.'s revenue held flat in the third quarter, marking the first time in seven years the Internet company didn't see a decline, despite a decrease in its core business of selling display advertising.

AOL also swung to a net profit of $20.8 million in the quarter.

Advertising revenue grew 7%, offsetting declines in subscription revenue...