如要查看成效分析,请向 {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" } ] }