Advertising revenue is sensitive but number of engineer Google needs is not proportional to amount of ads they show. It's not like Amazon where if people order less they need less workers at fulfillment centers and less track drivers. And Google still profitable and can afford to keep headcount as an investment into future. Or they have no plans which spans more than a quarter?