google_api_surveys v0.2.0 GoogleApi.Surveys.V2.Model.SurveyAudience View Source
Specifications for the target audience of a survey run through the API.
Attributes
- ages ([String.t]): Optional list of age buckets to target. Supported age buckets are: ['18-24', '25-34', '35-44', '45-54', '55-64', '65+'] Defaults to:
null
. - country (String.t): Required country code that surveys should be targeted to. Accepts standard ISO 3166-1 2 character language codes. For instance, 'US' for the United States, and 'GB' for the United Kingdom. Defaults to:
null
. - countrySubdivision (String.t): Country subdivision (states/provinces/etc) that surveys should be targeted to. For all countries except GB, ISO-3166-2 subdivision code is required (eg. 'US-OH' for Ohio, United States). For GB, NUTS 1 statistical region codes for the United Kingdom is required (eg. 'UK-UKC' for North East England). Defaults to:
null
. - gender (String.t): Optional gender to target. Defaults to:
null
. - languages ([String.t]): Language code that surveys should be targeted to. For instance, 'en-US'. Surveys may target bilingual users by specifying a list of language codes (for example, 'de' and 'en-US'). In that case, all languages will be used for targeting users but the survey content (which is displayed) must match the first language listed. Accepts standard BCP47 language codes. See specification. Defaults to:
null
. - populationSource (String.t): Online population source where the respondents are sampled from. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.