我正在尝试从 Graph API Explorer 获取活动列表。我正在使用在https://developers.facebook.com/docs/marketing-api/reference/ad-account/campaigns/.
GET /v2.8/{ad-account-id}/campaigns HTTP/1.1
Host: graph.facebook.com
Run Code Online (Sandbox Code Playgroud)
我是用于广告的页面的业务经理和管理员。我AD_ACCOUNT_IDs在 Graph API Explorer 上发现了使用以下请求。
GET /v2.8/me/businesses HTTP/1.1
Host: graph.facebook.com
Run Code Online (Sandbox Code Playgroud)
我选择了具有更高特权的那个。
提交第一个活动请求时报告的错误是:
{
"error": {
"message": "Unsupported get request. Object with ID '1015359838XXXXXX' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"fbtrace_id": "DLyfwGbM8fi"
}
}
Run Code Online (Sandbox Code Playgroud)
怎么了?
提前致谢,
马蒂亚