2014-02-07 43 views
2

试图创建使用Facebook广告API的adcreative,我给下面的POST请求:的Facebook广告API:adcreative创建失败,错误

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}} 

的文档的URL是:https://developers.facebook.com/docs/reference/ads-api/adcreative

无法弄清楚什么是错的object_url。任何帮助将不胜感激。

回答

1

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

+0

感谢您的回答。是的,我已经明白了。 :-) –

+2

耶!我第一个接受的解决方:)(我是新的) – mason

+0

哈哈...这是我第一次接受解决方案:) –