Update a VWO campaign goal
vwo_update_campaign_goalUpdate an existing campaign goal to change what the experiment measures. Changing goals on a running campaign may affect results and invalidate conclusions.
Instructions
Change an existing goal on a VWO campaign. Goals define what the experiment measures, so changing them on a running campaign affects reported results and can invalidate conclusions drawn so far.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Fields to change on the goal. VWO does not publish a schema for this request body; see https://developers.wingify.com/reference/update-a-campaign-goal for the accepted fields. The object is sent to VWO as-is. | |
| goalId | Yes | VWO goal id. Call vwo_list_campaign_goals first if you do not have it. | |
| accountId | No | Numeric VWO workspace (account) id to operate on. Required unless the server has a default workspace configured. If the user referred to a workspace by name, either pass workspaceName instead or call vwo_list_workspaces to look up the id — never guess an id. | |
| campaignId | Yes | VWO campaign id. Call vwo_list_campaigns first if you do not have it. | |
| workspaceName | No | Workspace name to resolve to an id, as an alternative to accountId. Must match exactly one visible workspace, otherwise an error lists the candidates. |