(Reuters) - Yahoo Inc will buy online advertising technology firm interclick inc for $270 million in cash, the companies said.