Provides non-draft Target Group feasibility for a given ID
POST/demand/accounts/{account_id}/projects/{project_id}/target-groups/{target_group_id}/calculate-feasibility
Returns feasibility information based on the current state of the Target Group. The request properties are all optional. They serve as a way of performing what-if analysis on the Target Group. When a property is provided in the request, the feasibility analysis will behave as if the relevant property on the Target Group had the value which was sent in the request body. Any number of properties can be provided for what-if analysis this way. However, it should be kept in mind that the analysis is still performed on the current Target Group, therefore it will be influenced by factors such as the number of completes collected so far, the exchange rate of the Target Group's currency versus USD when it went live, etc. If a feasibility prediction is desired for an arbitrary Target Group setup that has no relation to the current Target Group, then the "Target Group feasibility" endpoint should be used instead (as opposed to "Target Group feasibility by ID").
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Successfully obtained target group feasibility.
Response Headers
The traceparent header primarily carries essential trace context information, including the trace ID and parent span ID as defined by the W3C trace context specification. It's used to pinpoint the position of an incoming request within the trace graph, facilitating the tracking of distributed operations.
The tracestate header complements the traceparent header by providing additional contextual information, thereby allowing for the enrichment of tracing context and offering more fine-grained control.
A request is not valid and can't be processed.
A request is unauthorized.
A requested is forbidden.
A requested resource isn't found.
A request failed due to invalid state of the entity
A request failed due to an internal error.