add google api sample