Sridhar Ramaswamy, the executive in charge of Google’s online advertising business, is leaving the company to take on a new role at Greylock Partners, the...