若要查看洞察報告,請傳送要求至 {business-image-id}/insights
或 {business-video-id}/insights
。您需要有 business_creative_management
和 business_creative_insights
權限才能執行這項操作。
time_range
參數進行查詢。 要求範例
curl -i -X GET "https://graph.facebook.com/{version}/{business-creative-id}/insights?fields=impressions,inline_link_clicks,date_end,date_start,age&time_range={"since":"2019-08-01","until":"2019-08-05"}&breakdowns=['age']&access_token={access-token}"
回應範例
{ "data": [ {"impressions": 273, "inline_link_clicks": 3, "date_end": "2019-08-05", "date_start": "2019-08-01", "age": "18-24" }, { "impressions": 1201, "inline_link_clicks": 10, "date_end": "2019-08-05", "date_start": "2019-08-01", "age": "25-34" }, { "impressions": 612, "inline_link_clicks": 2, "date_end": "2019-08-05", "date_start": "2019-08-01", "age": "35-44" }, { "impressions": 154, "inline_link_clicks": 0, "date_end": "2019-08-05", "date_start": "2019-08-01", "age": "45-54" }, { "impressions": 33, "inline_link_clicks": 1, "date_end": "2019-08-05", "date_start": "2019-08-01", "age": "55-64" }, { "impressions": 19, "inline_link_clicks": 0, "date_end": "2019-08-05", "date_start": "2019-08-01", "age": "65+" } ] }
商用廣告創意洞察報告正在開發中。這種衡量指標仍在測試階段,可能會隨著我們改進計算方式而有所變更。請參閱估計值和調整中衡量指標指南以瞭解詳情。
範例
curl -i -X GET "https://graph.facebook.com/{version}/{business-creative-id}/insights?access_token={access-token}"
回應
{ "data":[ { "impressions": 3657, "inline_link_clicks": 39, "date_start": "2019-05-05", "date_end":"2019-06-02" } ] }