Skip to main content
Version: 2025-05-27

Update a target group in draft status

PUT 

/demand/accounts/{account_id}/projects/{project_id}/target-groups/{target_group_id}

Update a target group in draft status.

The API automatically removes duplicate zip codes in this request before validation and saving, but rejects duplicates in selection or range conditions.

Request

Responses

Successfully updated a Target Group in draft status.

Response Headers
    traceparent

    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.

    tracestate

    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.