Facebook / Instagram Ads API:“页面ID和/或邮政ID未能解析为有效的故事。”

时间:2019-03-28 12:42:47

标签: facebook instagram-api ads facebook-ads-api

我正在尝试通过Facebook Ads API在Instagram上创建广告。我们的系统目前可以正常制作要在Facebook上发布的广告,但是当我尝试为Instagram创建广告时,出现以下错误:

Message: Call was not successful
  Method:  POST
  Path:    https://graph.facebook.com/v3.2/act_115305119273030/ads
  Params:  {'name': 'Ad Name', 'adset_id': '120330000035581316', 'creative': '{"object_story_spec":{"instagram_actor_id":"2318910634825810","link_data":{"caption":"www.puxaforte.com","description":"Description Text","link":"http://www.puxaforte.com/index2.html","message":"Message Text","name":"Headline Text","picture":"https://storage.googleapis.com/advio-middleware-local-develop/5fc51781-dd91-4a0d-ac7a-0151dee97b92.jpg"},"page_id":"422303898241282"}}', 'status': 'PAUSED'}

  Status:  400
  Response:
    {
      "error": {
        "message": "Invalid parameter",
        "type": "OAuthException",
        "code": 100,
        "error_subcode": 1487531,
        "is_transient": false,
        "error_user_title": "Cannot load publish info",
        "error_user_msg": "The page-id and/or post-id didn't resolve to a valid story.",
        "fbtrace_id": "CJpZSFaGMSP"
      }
    }

我已经在仅限Facebook的版本中更新了代码,以包含instagram_actor_id,而page_id是附属于Instagram帐户的Facebook页面的ID。

我不明白“解析为有效的故事”是什么意思,而且花大量时间查看文档并在网上进行谷歌搜索并没有产生任何结果!有人遇到过类似的问题吗?

谢谢!

0 个答案:

没有答案