下記のコードをご覧ください。私は(#100)paramデータをAPIに呼び出すときに配列にする必要があります。 dataパラメータは、その参照に従ってJSON配列でなければなりません。 https://developers.facebook.com/docs/marketing-apis/offline-conversions/v2.8オフラインコンバージョンAPI - (#100)パラメータデータは配列である必要があります
私はどこが間違っているか分かりません。
$("#btn4").click(function(){
$.ajax({
type: "POST",
//dataType : "json",
url: "https://graph.facebook.com/v2.8/xxxxxxxx/events?access_token=xxxxxx&HTTP/1.1&account_id=xxxxxx&business=xxxxxxx&data=[{'event_name':'Lead','event_time':1456870055,'currency':'USD','match_keys':{'email': [[email protected]]}}]&upload_tag=special-offer", // get ad id from ad in ads manager
success: function(result){
// do something
}});
});
提案がありますか?私はここで立ち往生しています。 –
あなたは問題を解決しましたか?私は同じ問題を抱えている。 –