Skip to main content
Version: 2025-12-18

Calculates feasibility for a non-draft target group

POST 

/demand/accounts/:account_id/projects/:project_id/target-groups/:target_group_id/calculate-feasibility

Calculates 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.

Request

Responses

Successfully obtained target group feasibility.

Response Headers
    traceparent

    The traceparent header carries the trace ID and parent span ID, as defined by the W3C Trace Context specification. It's used to trace a single request as it moves through multiple services.

    tracestate

    The tracestate header complements the traceparent header by carrying vendor-specific trace information. This allows different services to add their own data to a trace.