Skip to main content

Stop Experiment

POST 

/api/advertising/experiments/:experiment/stop

Stops a running or scheduled (draft) experiment now: status becomes stopped, ends_on is set to yesterday (or the start date), and the final results are computed and stored. No body. Returns 422 when the experiment is already stopped or completed.

Required scope: advertising:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Requires the advertising.manage permission.

Available only when the tenant has both the advertising and advertising-manager features enabled; otherwise every route here returns 404.

Request​

Responses​

OK

Response Headers
    Content-Type