Set audience targeting
set_targetingReplace the survey's demographic targeting (each list you pass REPLACES that dimension; pass [] to clear it; omit to leave unchanged). Option names come from get_targeting.options. Re-prices and returns the new quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gender | No | Gender. | |
| marital | No | Marital statuses (replace-all). | |
| education | No | Education levels (replace-all). | |
| ethnicity | No | Ethnicities (replace-all). | |
| survey_id | Yes | Survey id (see list_surveys, or the survey_id returned by a create tool). | |
| age_ranges | No | Age ranges, e.g. [{from:18,to:34},{from:35,to:54}]; [] = all adults. | |
| employment | No | Employment statuses (replace-all). | |
| hhi_ranges | No | Household income ranges; snapped to the country's income buckets. |