Start A/B test campaign
To start an AB campaign, you must use the NewslattersManager class. It exposes the StartTesting method. When the testing period ends, the winning campaign is sent to the subscribers in the mailing list that did not take part in the testing phase. For more information on this, see For developers: Specify test sample percentage.
The following code starts an AB campaign through the Native API.
First, you initialize the NewslettersManager. Then, you call the StartTesting method to initiate the AB campaign.