Is there a way to return using the API if a campaign is using creative variant split testing?

When setting up a campaign in Facebook and configuring it to use split testing with the creative variant, is there a way using the Graph API to have this returned when fetching campaigns for an ad account?

Also if we are programmatically creating ads within this campaign which will be used for the split test, is there a specific field that needs populating when creating an ad and assigning a creative?

Then once the campaign has been running and a winning ad is determined is there a way of retrieving this data via the graph API?


Asked about 5 months ago