The technology giant said on Wednesday that the third and fourth quarters would see advertising sales drop.