How can I allow a user to get access to survey results using the Google Consumer Surveys API?

好久不见. 提交于 2019-12-02 10:20:31

问题


I’ve created a survey using Google Consumer Surveys. I want use a different account to check results of the survey.

How do I allow a second google account to access the survey though the API?


回答1:


You can add a second account by modifying the owners of a survey.

You can do this through the UI by selecting a survey from your list of surveys and then clicking the +Share button in the top right hand corner of the page. Then put the email address of the new owner in.

https://www.google.com/insights/consumersurveys/

You can also do this programatically through the API by issuing an update call to the Survey resource with a new Owners list. Note that this overwrites the owners field and does not append to it, so make sure to include the current owners when issuing an update so that no one losses access. You can find the documentation for this here:

https://developers.google.com/consumer-surveys/v2/reference/surveys/update



来源:https://stackoverflow.com/questions/35712103/how-can-i-allow-a-user-to-get-access-to-survey-results-using-the-google-consumer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!