Facebook insights API call with breakdown on product_id throws error

前端 未结 1 1867
夕颜
夕颜 2021-01-16 22:18

i want to make an insights API Call based on a campaign id with a breakdown on product_id:

/{campaign_id}/insights?fields=clicks,ad_id,adset_id,campaign_id,         


        
相关标签:
1条回答
  • 2021-01-16 22:32

    So I resolved this question by myself.

    For a huge load of Data from Facebook Insights e.g. with a breakdown on product_id I had to use an Async Request on Facebook:

    Instead of a GET Request I made a POST request on my query. In the answer I found a Report ID on which I could make a GET request. Facebook then tells the status of the report. After the completion of the report I queried my first POST request as a GET request on the Report ID and finally got my results.

    0 讨论(0)
提交回复
热议问题