The online company said it had a net loss of $22 million in Q2, down from a $270 million profit in the period last year, on revenue of $1.24 billion, up 14.7%. The top line beat expectations for $1.03 billion. But earnings, after adjusting for extraordinary expenses, come to 16 cents a share — 2 cents lower than analysts anticipated.

Adding to its woes: Yahoo said it expects Q3 sales of as much as $1.04 billion — below expectations for $1.07 billion.