use setting to set google api