According to the New York Times, the gloom over the ad business is lifting.