Facebook Graph API: Unable to find the created A/B Test in console
1

I am trying to create A/B test using facebook graph API. The documentation split-testing I am able to run this command successfully and get the split test ID which has been created, but I am unable to find the created split test. The created test is fetch-able through API GET endpoint, but it does not exist on facebook console. Here is the place where I am trying to find it: My goal is to create facebook ads A/B test through graph API. Is there any other documentation for this? or am I understanding something wrong there?

Yến
Đã hỏi khoảng 1 tuần trước
Câu trả lời được chọn
1

I have found the solution to this problem: Use USER_ID instead of BUSINESS_ID and replace type="SPLIT_TEST_V2"

https://graph.facebook.com/<API_VERSION>/<USER_ID>/ad_studies
{
    "name": "new study",
    "description": "description of my study",
    "start_time": 1729843787,
    "end_time": 1730280182,
    "cooldown_start_time": 1729843787,
    "observation_end_time": 1730280182,
    "type": "SPLIT_TEST_V2",
    "cells": [
        {
            //"name": "Group A",
            "treatment_percentage": 50,
            "campaigns": [
                "12021228405853**"
            ]
        },
        {
            //"name": "Group B",
            "treatment_percentage": 50,
            "campaigns": [
                "12021228410839**"
            ]
        }
    ]

}
24 tháng 10 lúc 03:54
Yến