Set the respondent activity exclusions for a target group
PUT/demand/accounts/{account_id}/projects/{project_id}/target-groups/{target_group_id}/respondent-activity-exclusions
Set the list of target groups and/or projects whose respondents you want to exclude from the specified target_group_id.
The request body specifies the projects and target groups whose respondent activity should be excluded from the target group identified in the path.
Each exclusion item can optionally specify a duration (ISO-8601 period format, date-based only, e.g. P90D for 90 days) controlling how far back to look for respondent activity. Must be between 1 and 396 days. A duration can also be set at the request root level to apply as the default for all items. Per-item durations override the request-level default. If neither is specified, the duration defaults to P90D (90 days).
Exclusions apply when there are completes within each exclusion item's configured duration. The request must not include the same target group specified in the path parameters, nor the project it belongs to, as a target group cannot exclude its own respondent activity or that of its parent project.
This operation will overwrite any previous existing list. Make sure to include previously saved target groups or projects in your request. If the Target Group is already live, updating its respondent activity exclusions will only affect future respondent traffic. Any respondents who have already entered or completed the Target Group under the previous exclusion settings cannot be retroactively changed. Please review your changes carefully before switching the target group to live.
Request
Responses
- 204
- 400
- 401
- 403
- 500
Successfully updated respondent activity exclusions.
A request is not valid and can't be processed.
A request is unauthorized.
A requested is forbidden.
A request failed due to an internal error.