Shares of online media firm AOL got a boost after the company reported strong gains in online ad sales.