Ad sales, which make up the bulk of sales at the Google parent, were $29.9 billion in the second quarter, down 8.1%.