We are using the Target Admin API to activate/deactivate a A/B test programmatically. When we invoke a PUT request with the Update A/B activity API , the state of the activity changes from “saved” to “approved” , but the activity is not really Live. We can see that the api request is successfully executed in the activity change log in the Target GUI but the activity status UI still shows as deactivated .
We observed that the activity only goes Live when we manually change the status from the Target GUI.
We are sending the payload as mentioned in the below API documentation :
https://developers.adobetarget.com/api/#update-ab-activity
Solved! Go to Solution.
Views
Replies
Total Likes
We opened an Adobe ticket in this regard and received the below response :
At the moment, it's not possible to use the API to activate/deactivate an activity, you need to use the UI for this functionality.It's possible though, to determine the Start and End of an AB activity when you are creating it (this is also possible via API), you need to define the attributes as in the example below:
- "startsAt": "2017-05-01T08:00Z"
- "endsAt": "2017-09-01T07:59:59Z"
Views
Replies
Total Likes
Hi @kashyapmuc,
if you get the A/B test via API - does it still say inactive as status? Is it active - just not visible in the UI?
Views
Replies
Total Likes
Hi @Perrin_Ennen ,
When we invoke the API to see the A/B Test status , then it shows as "approved" , but in reality the Test is not live. It does not show it as active in UI also. It just shows in the change log.
Views
Replies
Total Likes
ah okay, that sounds a bit familiar, unfortunately. I also wanted to create and update our experiences via the api. But I also had the problem that it didn't show up in the Adobe Target UI. That was 2 years ago. Hopefully here is still someone who has a solution for this.
Views
Replies
Total Likes
We opened an Adobe ticket in this regard and received the below response :
At the moment, it's not possible to use the API to activate/deactivate an activity, you need to use the UI for this functionality.It's possible though, to determine the Start and End of an AB activity when you are creating it (this is also possible via API), you need to define the attributes as in the example below:
- "startsAt": "2017-05-01T08:00Z"
- "endsAt": "2017-09-01T07:59:59Z"
Views
Replies
Total Likes
Views
Like
Replies
Views
Like
Replies
Views
Likes
Replies