If you meant on UI, than:
1. Go to Account experiments (
https://ads.google.com/aw/experiments/all).
2. Create new Experiment (Custom experiment -> Campaign type (search)).
3. Select campaign -> Save and Continue
4. Click Schedule button.
5. Options i mentioned above.
5.1. Experiment split -> Advanced options -> Experiment split options
5.2. Enable Sync