blob: 1bfcda43447e33901f6731d874d1d0d0c0438956 [file] [log] [blame]
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="consumersurveys_v2.html">Consumer Surveys API</a> . <a href="consumersurveys_v2.surveys.html">surveys</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -070078 <code><a href="#delete">delete(surveyUrlId)</a></code></p>
79<p class="firstline">Removes a survey from view in all user GET requests.</p>
80<p class="toc_element">
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070081 <code><a href="#get">get(surveyUrlId)</a></code></p>
82<p class="firstline">Retrieves information about the specified survey.</p>
83<p class="toc_element">
84 <code><a href="#insert">insert(body)</a></code></p>
85<p class="firstline">Creates a survey.</p>
86<p class="toc_element">
87 <code><a href="#list">list(startIndex=None, maxResults=None, token=None)</a></code></p>
88<p class="firstline">Lists the surveys owned by the authenticated user.</p>
89<p class="toc_element">
90 <code><a href="#start">start(resourceId, body)</a></code></p>
91<p class="firstline">Begins running a survey.</p>
92<p class="toc_element">
93 <code><a href="#stop">stop(resourceId)</a></code></p>
94<p class="firstline">Stops a running survey.</p>
95<p class="toc_element">
96 <code><a href="#update">update(surveyUrlId, body)</a></code></p>
97<p class="firstline">Updates a survey. Currently the only property that can be updated is the owners property.</p>
98<h3>Method Details</h3>
99<div class="method">
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700100 <code class="details" id="delete">delete(surveyUrlId)</code>
101 <pre>Removes a survey from view in all user GET requests.
102
103Args:
104 surveyUrlId: string, External URL ID for the survey. (required)
105
106Returns:
107 An object of the form:
108
109 {
110 "requestId": "A String", # Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests.
111 }</pre>
112</div>
113
114<div class="method">
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700115 <code class="details" id="get">get(surveyUrlId)</code>
116 <pre>Retrieves information about the specified survey.
117
118Args:
119 surveyUrlId: string, External URL ID for the survey. (required)
120
121Returns:
122 An object of the form:
123
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800124 {
125 "owners": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700126 "A String",
127 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800128 "description": "A String",
129 "title": "A String",
130 "customerData": "A String",
131 "state": "A String",
132 "audience": {
133 "countrySubdivision": "A String",
134 "mobileAppPanelId": "A String",
135 "country": "A String",
136 "ages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700137 "A String",
138 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800139 "populationSource": "A String",
140 "languages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700141 "A String",
142 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800143 "gender": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700144 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800145 "cost": {
146 "nanos": "A String",
147 "currencyCode": "A String",
148 "costPerResponseNanos": "A String",
149 "maxCostPerResponseNanos": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700150 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800151 "surveyUrlId": "A String",
152 "questions": [
153 {
154 "highValueLabel": "A String",
155 "mustPickSuggestion": True or False,
156 "thresholdAnswers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700157 "A String",
158 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800159 "sentimentText": "A String",
160 "question": "A String",
161 "numStars": "A String",
162 "lowValueLabel": "A String",
163 "videoId": "A String",
164 "answers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700165 "A String",
166 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800167 "lastAnswerPositionPinned": True or False,
168 "hasOther": True or False,
169 "unitOfMeasurementLabel": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700170 "images": [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800171 {
172 "url": "A String",
173 "altText": "A String",
174 "data": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700175 },
176 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800177 "singleLineResponse": True or False,
178 "openTextSuggestions": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700179 "A String",
180 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800181 "type": "A String",
182 "answerOrder": "A String",
183 "openTextPlaceholder": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700184 },
185 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800186 "wantedResponseCount": 42,
187 "rejectionReason": {
188 "explanation": "A String",
189 "type": "A String",
Sai Cheemalapatiea3a5e12016-10-12 14:05:53 -0700190 },
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700191 }</pre>
192</div>
193
194<div class="method">
195 <code class="details" id="insert">insert(body)</code>
196 <pre>Creates a survey.
197
198Args:
199 body: object, The request body. (required)
200 The object takes the form of:
201
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800202{
203 "owners": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700204 "A String",
205 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800206 "description": "A String",
207 "title": "A String",
208 "customerData": "A String",
209 "state": "A String",
210 "audience": {
211 "countrySubdivision": "A String",
212 "mobileAppPanelId": "A String",
213 "country": "A String",
214 "ages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700215 "A String",
216 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800217 "populationSource": "A String",
218 "languages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700219 "A String",
220 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800221 "gender": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700222 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800223 "cost": {
224 "nanos": "A String",
225 "currencyCode": "A String",
226 "costPerResponseNanos": "A String",
227 "maxCostPerResponseNanos": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700228 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800229 "surveyUrlId": "A String",
230 "questions": [
231 {
232 "highValueLabel": "A String",
233 "mustPickSuggestion": True or False,
234 "thresholdAnswers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700235 "A String",
236 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800237 "sentimentText": "A String",
238 "question": "A String",
239 "numStars": "A String",
240 "lowValueLabel": "A String",
241 "videoId": "A String",
242 "answers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700243 "A String",
244 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800245 "lastAnswerPositionPinned": True or False,
246 "hasOther": True or False,
247 "unitOfMeasurementLabel": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700248 "images": [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800249 {
250 "url": "A String",
251 "altText": "A String",
252 "data": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700253 },
254 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800255 "singleLineResponse": True or False,
256 "openTextSuggestions": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700257 "A String",
258 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800259 "type": "A String",
260 "answerOrder": "A String",
261 "openTextPlaceholder": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700262 },
263 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800264 "wantedResponseCount": 42,
265 "rejectionReason": {
266 "explanation": "A String",
267 "type": "A String",
Sai Cheemalapatiea3a5e12016-10-12 14:05:53 -0700268 },
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700269 }
270
271
272Returns:
273 An object of the form:
274
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800275 {
276 "owners": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700277 "A String",
278 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800279 "description": "A String",
280 "title": "A String",
281 "customerData": "A String",
282 "state": "A String",
283 "audience": {
284 "countrySubdivision": "A String",
285 "mobileAppPanelId": "A String",
286 "country": "A String",
287 "ages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700288 "A String",
289 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800290 "populationSource": "A String",
291 "languages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700292 "A String",
293 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800294 "gender": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700295 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800296 "cost": {
297 "nanos": "A String",
298 "currencyCode": "A String",
299 "costPerResponseNanos": "A String",
300 "maxCostPerResponseNanos": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700301 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800302 "surveyUrlId": "A String",
303 "questions": [
304 {
305 "highValueLabel": "A String",
306 "mustPickSuggestion": True or False,
307 "thresholdAnswers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700308 "A String",
309 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800310 "sentimentText": "A String",
311 "question": "A String",
312 "numStars": "A String",
313 "lowValueLabel": "A String",
314 "videoId": "A String",
315 "answers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700316 "A String",
317 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800318 "lastAnswerPositionPinned": True or False,
319 "hasOther": True or False,
320 "unitOfMeasurementLabel": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700321 "images": [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800322 {
323 "url": "A String",
324 "altText": "A String",
325 "data": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700326 },
327 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800328 "singleLineResponse": True or False,
329 "openTextSuggestions": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700330 "A String",
331 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800332 "type": "A String",
333 "answerOrder": "A String",
334 "openTextPlaceholder": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700335 },
336 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800337 "wantedResponseCount": 42,
338 "rejectionReason": {
339 "explanation": "A String",
340 "type": "A String",
Sai Cheemalapatiea3a5e12016-10-12 14:05:53 -0700341 },
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700342 }</pre>
343</div>
344
345<div class="method">
346 <code class="details" id="list">list(startIndex=None, maxResults=None, token=None)</code>
347 <pre>Lists the surveys owned by the authenticated user.
348
349Args:
350 startIndex: integer, A parameter
351 maxResults: integer, A parameter
352 token: string, A parameter
353
354Returns:
355 An object of the form:
356
357 {
358 "tokenPagination": {
359 "nextPageToken": "A String",
360 "previousPageToken": "A String",
361 },
362 "pageInfo": {
363 "totalResults": 42,
364 "startIndex": 42,
365 "resultPerPage": 42,
366 },
367 "resources": [ # An individual survey resource.
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800368 {
369 "owners": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700370 "A String",
371 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800372 "description": "A String",
373 "title": "A String",
374 "customerData": "A String",
375 "state": "A String",
376 "audience": {
377 "countrySubdivision": "A String",
378 "mobileAppPanelId": "A String",
379 "country": "A String",
380 "ages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700381 "A String",
382 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800383 "populationSource": "A String",
384 "languages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700385 "A String",
386 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800387 "gender": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700388 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800389 "cost": {
390 "nanos": "A String",
391 "currencyCode": "A String",
392 "costPerResponseNanos": "A String",
393 "maxCostPerResponseNanos": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700394 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800395 "surveyUrlId": "A String",
396 "questions": [
397 {
398 "highValueLabel": "A String",
399 "mustPickSuggestion": True or False,
400 "thresholdAnswers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700401 "A String",
402 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800403 "sentimentText": "A String",
404 "question": "A String",
405 "numStars": "A String",
406 "lowValueLabel": "A String",
407 "videoId": "A String",
408 "answers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700409 "A String",
410 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800411 "lastAnswerPositionPinned": True or False,
412 "hasOther": True or False,
413 "unitOfMeasurementLabel": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700414 "images": [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800415 {
416 "url": "A String",
417 "altText": "A String",
418 "data": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700419 },
420 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800421 "singleLineResponse": True or False,
422 "openTextSuggestions": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700423 "A String",
424 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800425 "type": "A String",
426 "answerOrder": "A String",
427 "openTextPlaceholder": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700428 },
429 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800430 "wantedResponseCount": 42,
431 "rejectionReason": {
432 "explanation": "A String",
433 "type": "A String",
Sai Cheemalapatiea3a5e12016-10-12 14:05:53 -0700434 },
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700435 },
436 ],
437 "requestId": "A String", # Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests.
438 }</pre>
439</div>
440
441<div class="method">
442 <code class="details" id="start">start(resourceId, body)</code>
443 <pre>Begins running a survey.
444
445Args:
446 resourceId: string, A parameter (required)
447 body: object, The request body. (required)
448 The object takes the form of:
449
450{
Jon Wayne Parrott7d5badb2016-08-16 12:44:29 -0700451 "maxCostPerResponseNanos": "A String", # Threshold to start a survey automically if the quoted prices is less than or equal to this value. See Survey.Cost for more details.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700452 }
453
454
455Returns:
456 An object of the form:
457
458 {
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800459 "resource": { # Survey object containing the specification of the started Survey.
460 "owners": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700461 "A String",
462 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800463 "description": "A String",
464 "title": "A String",
465 "customerData": "A String",
466 "state": "A String",
467 "audience": {
468 "countrySubdivision": "A String",
469 "mobileAppPanelId": "A String",
470 "country": "A String",
471 "ages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700472 "A String",
473 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800474 "populationSource": "A String",
475 "languages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700476 "A String",
477 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800478 "gender": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700479 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800480 "cost": {
481 "nanos": "A String",
482 "currencyCode": "A String",
483 "costPerResponseNanos": "A String",
484 "maxCostPerResponseNanos": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700485 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800486 "surveyUrlId": "A String",
487 "questions": [
488 {
489 "highValueLabel": "A String",
490 "mustPickSuggestion": True or False,
491 "thresholdAnswers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700492 "A String",
493 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800494 "sentimentText": "A String",
495 "question": "A String",
496 "numStars": "A String",
497 "lowValueLabel": "A String",
498 "videoId": "A String",
499 "answers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700500 "A String",
501 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800502 "lastAnswerPositionPinned": True or False,
503 "hasOther": True or False,
504 "unitOfMeasurementLabel": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700505 "images": [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800506 {
507 "url": "A String",
508 "altText": "A String",
509 "data": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700510 },
511 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800512 "singleLineResponse": True or False,
513 "openTextSuggestions": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700514 "A String",
515 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800516 "type": "A String",
517 "answerOrder": "A String",
518 "openTextPlaceholder": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700519 },
520 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800521 "wantedResponseCount": 42,
522 "rejectionReason": {
523 "explanation": "A String",
524 "type": "A String",
Sai Cheemalapatiea3a5e12016-10-12 14:05:53 -0700525 },
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700526 },
527 "requestId": "A String", # Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests.
528 }</pre>
529</div>
530
531<div class="method">
532 <code class="details" id="stop">stop(resourceId)</code>
533 <pre>Stops a running survey.
534
535Args:
536 resourceId: string, A parameter (required)
537
538Returns:
539 An object of the form:
540
541 {
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800542 "resource": { # Survey object containing the specification of the stopped Survey.
543 "owners": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700544 "A String",
545 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800546 "description": "A String",
547 "title": "A String",
548 "customerData": "A String",
549 "state": "A String",
550 "audience": {
551 "countrySubdivision": "A String",
552 "mobileAppPanelId": "A String",
553 "country": "A String",
554 "ages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700555 "A String",
556 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800557 "populationSource": "A String",
558 "languages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700559 "A String",
560 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800561 "gender": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700562 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800563 "cost": {
564 "nanos": "A String",
565 "currencyCode": "A String",
566 "costPerResponseNanos": "A String",
567 "maxCostPerResponseNanos": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700568 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800569 "surveyUrlId": "A String",
570 "questions": [
571 {
572 "highValueLabel": "A String",
573 "mustPickSuggestion": True or False,
574 "thresholdAnswers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700575 "A String",
576 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800577 "sentimentText": "A String",
578 "question": "A String",
579 "numStars": "A String",
580 "lowValueLabel": "A String",
581 "videoId": "A String",
582 "answers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700583 "A String",
584 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800585 "lastAnswerPositionPinned": True or False,
586 "hasOther": True or False,
587 "unitOfMeasurementLabel": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700588 "images": [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800589 {
590 "url": "A String",
591 "altText": "A String",
592 "data": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700593 },
594 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800595 "singleLineResponse": True or False,
596 "openTextSuggestions": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700597 "A String",
598 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800599 "type": "A String",
600 "answerOrder": "A String",
601 "openTextPlaceholder": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700602 },
603 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800604 "wantedResponseCount": 42,
605 "rejectionReason": {
606 "explanation": "A String",
607 "type": "A String",
Sai Cheemalapatiea3a5e12016-10-12 14:05:53 -0700608 },
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700609 },
610 "requestId": "A String", # Unique request ID used for logging and debugging. Please include in any error reporting or troubleshooting requests.
611 }</pre>
612</div>
613
614<div class="method">
615 <code class="details" id="update">update(surveyUrlId, body)</code>
616 <pre>Updates a survey. Currently the only property that can be updated is the owners property.
617
618Args:
619 surveyUrlId: string, External URL ID for the survey. (required)
620 body: object, The request body. (required)
621 The object takes the form of:
622
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800623{
624 "owners": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700625 "A String",
626 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800627 "description": "A String",
628 "title": "A String",
629 "customerData": "A String",
630 "state": "A String",
631 "audience": {
632 "countrySubdivision": "A String",
633 "mobileAppPanelId": "A String",
634 "country": "A String",
635 "ages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700636 "A String",
637 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800638 "populationSource": "A String",
639 "languages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700640 "A String",
641 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800642 "gender": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700643 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800644 "cost": {
645 "nanos": "A String",
646 "currencyCode": "A String",
647 "costPerResponseNanos": "A String",
648 "maxCostPerResponseNanos": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700649 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800650 "surveyUrlId": "A String",
651 "questions": [
652 {
653 "highValueLabel": "A String",
654 "mustPickSuggestion": True or False,
655 "thresholdAnswers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700656 "A String",
657 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800658 "sentimentText": "A String",
659 "question": "A String",
660 "numStars": "A String",
661 "lowValueLabel": "A String",
662 "videoId": "A String",
663 "answers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700664 "A String",
665 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800666 "lastAnswerPositionPinned": True or False,
667 "hasOther": True or False,
668 "unitOfMeasurementLabel": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700669 "images": [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800670 {
671 "url": "A String",
672 "altText": "A String",
673 "data": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700674 },
675 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800676 "singleLineResponse": True or False,
677 "openTextSuggestions": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700678 "A String",
679 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800680 "type": "A String",
681 "answerOrder": "A String",
682 "openTextPlaceholder": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700683 },
684 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800685 "wantedResponseCount": 42,
686 "rejectionReason": {
687 "explanation": "A String",
688 "type": "A String",
Sai Cheemalapatiea3a5e12016-10-12 14:05:53 -0700689 },
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700690 }
691
692
693Returns:
694 An object of the form:
695
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800696 {
697 "owners": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700698 "A String",
699 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800700 "description": "A String",
701 "title": "A String",
702 "customerData": "A String",
703 "state": "A String",
704 "audience": {
705 "countrySubdivision": "A String",
706 "mobileAppPanelId": "A String",
707 "country": "A String",
708 "ages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700709 "A String",
710 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800711 "populationSource": "A String",
712 "languages": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700713 "A String",
714 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800715 "gender": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700716 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800717 "cost": {
718 "nanos": "A String",
719 "currencyCode": "A String",
720 "costPerResponseNanos": "A String",
721 "maxCostPerResponseNanos": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700722 },
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800723 "surveyUrlId": "A String",
724 "questions": [
725 {
726 "highValueLabel": "A String",
727 "mustPickSuggestion": True or False,
728 "thresholdAnswers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700729 "A String",
730 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800731 "sentimentText": "A String",
732 "question": "A String",
733 "numStars": "A String",
734 "lowValueLabel": "A String",
735 "videoId": "A String",
736 "answers": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700737 "A String",
738 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800739 "lastAnswerPositionPinned": True or False,
740 "hasOther": True or False,
741 "unitOfMeasurementLabel": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700742 "images": [
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800743 {
744 "url": "A String",
745 "altText": "A String",
746 "data": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700747 },
748 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800749 "singleLineResponse": True or False,
750 "openTextSuggestions": [
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700751 "A String",
752 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800753 "type": "A String",
754 "answerOrder": "A String",
755 "openTextPlaceholder": "A String",
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700756 },
757 ],
Jon Wayne Parrott692617a2017-01-06 09:58:29 -0800758 "wantedResponseCount": 42,
759 "rejectionReason": {
760 "explanation": "A String",
761 "type": "A String",
Sai Cheemalapatiea3a5e12016-10-12 14:05:53 -0700762 },
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700763 }</pre>
764</div>
765
766</body></html>