Training
For clients
Загружается...
An object that describes a survey form.
| Field name | Type | Conditions | Description |
|---|---|---|---|
| id | string | readabledefault_field | Survey identifier |
| name | string | readablewritablerequiredmax_length=255 | Survey name |
| url | string | readable | Direct link to the survey |
| status | integer | readablewritable choices =
| Survey status. Moving an active survey to the archive and back is performed only via special requests. Updates are not available for archived surveys. |
| created | datetime | readable | Creation time |
| updated | datetime | readable | Last update time |
| respondents_count | integer | readable | Number of respondents collected by the survey |
| ad_plans_count | integer | readable | Number of ad campaigns in which the survey is used |
| ad_plan_ids | list of uint32 | readable | IDs of ad campaigns in which the survey is used |
| ad_group_ids | list of uint32 | readable | IDs of ad groups in which the survey is used |
| banner_ids | list of uint32 | readable | IDs of ads (banners) in which the survey is used |
| active_ad_plan_ids | list of uint32 | readable | IDs of active ad campaigns in which the survey is used |
| first_screen_type | string | readablewritablerequired choices =
| Type of the first survey screen |
| title | string | readablewritablerequiredmax_length=50 | Survey title |
| description | string | readablewritablemax_length=35 | Survey description |
| company_title | string | readablewritablerequiredmax_length=30 | Company name |
| logo_id | string | writeablerequired | Company logo identifier, returned when you upload a logo |
| logo | object | readable | Company logo |
| gradient | integer | readablewritable choices =
| Survey background color. Values from 0 to 6 are gradients. |
| result_info | SurveyResultInfo | readablewriteablerequired | Information for the final screen of the form |
| pages | list of SurveyPage | readablewriteablemax_items=24 | List of survey pages |
| required_answers | boolean | readablewritable | Flag indicating whether questions are required |