Facebook广告api:adcreative创建失败并出现错误

时间:2014-02-07 16:36:37

标签: facebook api ads

在尝试使用facebook ads api创建adcreative时,我发出以下POST请求:

curl -F 'title=yahoo test ad creative' -F 'name=yahoo_test_creative' -F 'body=this is a test ad created by yahoo' -F 'image_hash=' -F 'object_url=http://earthled.com' -F 'access_token=' https://graph.facebook.com/act_74021791/adcreatives

我收到以下错误:

{"error":{"type":"Exception","message":"The Adcreative Create Failed for the following reason: The destination URL of your creative has to be a valid web page.","code":1487390}}

文档网址为:https://developers.facebook.com/docs/reference/ads-api/adcreative

无法弄清楚object_url有什么问题。任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:2)

我遇到了同样的问题。事实证明,我需要将object_url切换为link_url,因为我的帐户尚未迁移到新设置。也许这对你也有帮助。