Questions tagged [google-surveys]

This tag was for programming questions related to the deprecated Google Surveys REST API, which is no longer available.

The Google Surveys REST API will be deprecated effective April 19th, 2019. After this time, the API end point will be disabled, resulting in errors to all Surveys API calls. Please contact your Surveys account manager or surveys-support@google.com if you have any questions.

The Google Surveys REST API provides an interface for developers to create surveys that are delivered to web and mobile users.

If you are just starting out writing a program to use the API, check out the Get Started page before asking a question here.

Also see the API reference and implementation samples.

This tag should only be used for programming questions related to the Google Surveys REST API.

To report an issue or request a feature, please create a new issue via Google’s Issue Tracker. For sales and product questions, please visit Google Surveys support.

28 questions
0
votes
1 answer

Restructure Multiple Response Survey Items

Often, the data from multiple response survey items are structured without sufficient information to make tidying very easy. Specifically, I have a survey question in which respondents pick one or more of 8 categorical items. The resulting dataframe…
Ben
  • 1,113
  • 10
  • 26
0
votes
1 answer

Google Surveys api - INVALID_CREDENTIALS

I try get surveys results through the api, but I am still getting an errors. I am able to get google calendar events, but when I try get list of surveys, or results (https://www.googleapis.com/surveys/v2/surveys/{survey_ID}/results), I am…
VladoS
  • 13
  • 3
0
votes
0 answers

API results spreadsheet no longer contains weights

I have a weekly survey running since June 2017. If I download a weeks data as an Excel spreadsheet from the web interface, it has always contained a Weight column with the respondent weight. However, for my surveys since the end of June, if I…
Iain MacKay
  • 319
  • 3
  • 7
0
votes
1 answer

Fix for BILLING_TRANSACTION_ERROR using Google Survey API

I'm using the Google API client library for PHP to create Google Surveys. I'm able to create surveys, but not start them. The error I receive is: Array ( [0] => Array ( [domain] => global [reason] => BILLING_TRANSACTION_ERROR [message] => Billing…
KSherm
  • 1
0
votes
1 answer

Sharing private survey with service account email address

I've created a service account from the initial guide and am using the same sample code published on the Google Surveys GitHub repo. I see that I have to add my service account email as an owner to the individual survey from other answers to get the…
rpbbp
  • 3
  • 2
0
votes
1 answer

Google Consumer Surveys Publisher Data Reporting

I am asking this questions on stack overflow as requested to from a reply to this question on GitHub here: https://github.com/google/consumer-surveys/issues/4#issuecomment-208547294 We have 30+ sites that have consumer survey's running and was…
NicW
  • 1
  • 1
  • 2
0
votes
1 answer

GCS API Error on /surveys/{surveyUrlId}/results for surveys without responses

We are testing our programmatic surveying deployment processes. Recently, we noticed that those surveys that were manually stopped (status completed) that didn't gather any responses, seem to return a 503 error. googleapiclient.errors.HttpError:…
A Anez
  • 23
  • 4
0
votes
1 answer

Surveys list API doesn't return resource dictionary

Trying out the Surveys API sample Python script, the "List Surveys" command returns only a request_id and not a "resources" object with a list of surveys as expected Executing the sample script surveysAPI.py --service_account …
Iain MacKay
  • 319
  • 3
  • 7
0
votes
1 answer

Google consumer surveys - retrieve results via API

I am trying to retrieve the results of a completed Google survey. Using this url/resource per the google docs: I get the same error when attempting through the Google playground. Get: https://www.googleapis.com/consumersurveys/v2/surveys/{my…
DAK
  • 11
  • 1
0
votes
1 answer

List call fails about 10 pages in

I'm having some trouble with the "list" API call - it works OK for about 10 pages of results (feeding in the value of nextPageToken into subsequent calls), but then I get a 500 error (always at the same point). Is there a limit on the number of…
Miles
  • 11
-3
votes
2 answers

Error 503 doing GET operation on survey

I am using the API to GET and FETCH data from my 150 or so Google surveys. For some surveys I find the FETCH works OK but the GET is rejected with error 503. For instance: HttpError 503 when requesting…
Iain MacKay
  • 319
  • 3
  • 7
-4
votes
1 answer

Fetch today date and add 7 days (for Google Opt-In code)

I don't know Javascript or PHP and I've tried my best finding an answer online but without the basic knowledge I have no clue how to do this. I am sure there are many people like me who are stuck. My situation is that I need to insert a delivery…
Zaderton
  • 3
  • 2
-4
votes
1 answer

How do I fix 503: Service Unavailable for Billing Transaction Error

I'm getting a 503 error regarding billing when trying to start a survey I've created via the API (POST https://www.googleapis.com/consumersurveys/v2/surveys). Is this something I can fix or does GCS need to make backend billing changes? Request POST…
1
2