campaign_experiment_assignment

This method is used to assign a Campaign and all of its Line Items to an Experiment in one POST. Other methods (PUT, GET, DELETE) are not supported.

See also Experiments.

Note: Since this method does not support DELETE methods, to remove the experiments you must PUT to each Line Item with "test_group_id":null and to the Campaign with "test_plan_id":null.

Body Params
int32
required

ID of the Campaign

int32
required

The ID of the Test Plan at the Campaign level.

line_item_test_groups
object
required

Array describing the assignment of Line Items under the Campaign to Test Groups under the Test Plan in the format line_item_id:test_group_id. Note, ALL Line Items within the Campaign must be assigned.

Response

Language
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json