Advertising agency says third-quarter earnings were affected by ‘cautious spending trends’