无法访问 Facebook 活动

Can't access Facebook campaigns

我无法使用 Facebook Graph 获取我的广告系列列表 API

/me/adaccounts

的回应
{
  "data": [
    {
      "account_id": "123456789000001234",
      "id": "act_123456789000001234"
    }
  ],
  "paging": {
    "cursors": {
      "before": "AAAAaaaBBBBcccc",
      "after": "AAAAaaaBBBBdddd"
    }
  }
}

/123456789000001234/campaigns returns

{
  "error": {
    "message": "Unsupported get request. Object with ID '123456789000001234' 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": "EilRrOk1CEb"
  }
}

请注意,id 已更改为虚拟值。

令牌用于系统用户,广告帐户已分配给用户(角色:管理员)。令牌包含以下范围:read_page_mailboxes, rsvp_event, ads_management, ads_read, read_insights, manage_pages, publish_pages, pages_show_list, pages_manage_cta, pages_manage_instant_articles, business_management, publish_actions

我做错了什么?

必须使用 id: act_123456789000001234 而不是 account_id: 123456789000001234,因此请求变为 /act_123456789000001234/campaigns。还必须创建一个 Facebook 应用程序,添加营销 API 并为其分配一个广告帐户,然后通过该应用程序创建一个令牌,而不是从业务管理器创建一个令牌。