google-surveys

What is the correct format for the API SurveyQuestionImage.Data field?

允我心安 提交于 2019-12-04 05:23:43
问题 I am working with the GCS API, attempting to create a survey with image data. I am using the NuGet package Google.Apis.ConsumerSurveys.v2 version 1.14.0.564 on the .Net platform. I can create surveys that do not contain image data without problem. However, when I try to create a survey with image data I receive an error from the API. I have on hand base64 encoded png format image data. My images display properly in an IMG tag on a web page when the src attribute is set to 'data:image/png

Surveys list API doesn't return resource dictionary

孤人 提交于 2019-12-02 16:56:13
问题 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 --service_account_secrets_file certificate.json list Results of "list" command to_json method: { "body": null, "methodId": "consumersurveys.surveys.list", "resumable_uri": null, "headers": { "accept-encoding": "gzip,deflate", "accept": "application/json", "user-agent":

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

Surveys list API doesn't return resource dictionary

被刻印的时光 ゝ 提交于 2019-12-02 09:01:15
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 --service_account_secrets_file certificate.json list Results of "list" command to_json method: { "body": null, "methodId": "consumersurveys.surveys.list", "resumable_uri": null, "headers": { "accept-encoding": "gzip,deflate", "accept": "application/json", "user-agent": "google-api-python-client/1.5.1 (gzip)" }, "uri": "https://www.googleapis.com/consumersurveys/v2/surveys

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

淺唱寂寞╮ 提交于 2019-12-02 04:30:01
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? 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

What is the correct format for the API SurveyQuestionImage.Data field?

允我心安 提交于 2019-12-02 04:07:29
I am working with the GCS API, attempting to create a survey with image data. I am using the NuGet package Google.Apis.ConsumerSurveys.v2 version 1.14.0.564 on the .Net platform. I can create surveys that do not contain image data without problem. However, when I try to create a survey with image data I receive an error from the API. I have on hand base64 encoded png format image data. My images display properly in an IMG tag on a web page when the src attribute is set to 'data:image/png;base64,<image base64 string>' I want to send this image data to the API to populate the survey image. My

Refused to display 'url' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'

你说的曾经没有我的故事 提交于 2019-11-27 08:02:36
<script async="" defer="" src="//survey.g.doubleclick.net/async_survey?site=vj2nngtlb7sbtnveaepk5so4ke"></script> Screenshot of the error: and I'm getting Refused to display 'https://survey.g.doubleclick.net/gen204/d?zx=5cbpafvsv9le' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. error with the google survey setup. Anurag Sinha You cannot display a lot of websites inside an iFrame. Reason being that they send an "X-Frame-Options: SAMEORIGIN" response header. This option prevents the browser from displaying iFrames that are not hosted on the same domain as the parent page. This is

Refused to display 'url' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'

走远了吗. 提交于 2019-11-26 16:04:48
问题 <script async="" defer="" src="//survey.g.doubleclick.net/async_survey?site=vj2nngtlb7sbtnveaepk5so4ke"></script> Screenshot of the error: and I'm getting Refused to display 'https://survey.g.doubleclick.net/gen204/d?zx=5cbpafvsv9le' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. error with the google survey setup. 回答1: I faced the same error when displaying YouTube links. For example: https://www.youtube.com/watch?v=8WkuChVeL0s I replaced watch?v= with embed/ so the valid link