【发布时间】:2016-09-14 12:23:19
【问题描述】:
我正在尝试通过 facebook graph API 创建广告。我能够成功地创建活动、广告集和创意。尝试制作广告时,出现以下错误。
{"error"=>{"message"=>"Invalid parameter", "type"=>"OAuthException", "code"=>100, "error_subcode"=>1487930, "is_transient"=>false, "error_user_title"=>"You Must Select an Object to Promote", "error_user_msg"=>"Your campaign must include an ad set with a selected object to promote related to your objective (ex: Page, URL, event). Please update your ad set to continue.", "fbtrace_id"=>"BVtDHG2rTNn"}}
我使用以下参数对端点https://graph.facebook.com/v2.7/act_XXXXXXX/ads 进行了POST 调用:
{:name=>"Buy new Item", :object_story_spec=>{:link_data=>{:call_to_action=>{:value=>{}, :type=>"LEARN_MORE"}, :name=>"Buy new Item", :message=>"amazing Items for you", :image_hash=>"7cc87683d1b75492622a82a158790dcb", :link=>"www.xyz.com"}, :page_id=>"123123123"}, :access_token=>"xxxxxxxxxxxxxxxxxxxx"}
谁能帮我解决这个问题?
【问题讨论】:
-
这个问题你解决了吗?如果是,请。帮助。
标签: facebook facebook-graph-api