Alphabet Inc shares rose about 8% after the company reported quarterly results that eased investors' concerns about growth challenges facing its Google advertising business.