facebook ads stats connections

时间:2012-11-29 15:02:16

标签: facebook ads

以下是我在广告组中获取统计信息的示例回复。

“connections”返回12,“actions”返回null 我怎样才能解决连接问题? (pagelike / app installs / event responses)

谢谢!

{
  "id": "XXXXX", 
  "impressions": "789862", 
  "clicks": "292", 
  "spent": "3019", 
  "social_impressions": "109327", 
  "social_clicks": "26", 
  "social_spent": "235", 
  "unique_impressions": 295055, 
  "social_unique_impressions": 18819, 
  "unique_clicks": 287, 
  "social_unique_clicks": 25, 
  "actions": null, 
  "connections": 12, 
  "adgroup_id": XXX, 
  "campaign_id": XXX, 
  "start_time": "2011-08-21T00:00:00+0000", 
  "end_time": "2011-08-22T00:00:00+0000", 
  "newsfeed_position": null
}

2 个答案:

答案 0 :(得分:0)

查看Ad StatisticsConversion Statistics文档 - 您可能正在寻找/conversions而不是/stats

示例查询:/<CAMPAIGN ID>/conversions/0/1354207892 样本回复是:

{
  "campaign_id": <CAMPAIGN ID>, 
  "values": [
    {
      "start_time": 0, 
      "end_time": 1354233600, 
      "conversions": [
        {
          "action_type": "like", 
          "object_id": <PAGE ID>, 
          "post_click_1d": 345, 
          "post_click_7d": 349, 
          "post_click_28d": 351, 
          "post_imp_1d": 53, 
          "post_imp_7d": 89, 
          "post_imp_28d": 104
        }, 
        {
          "action_type": "link_click", 
          "object_id": <PAGE ID>, 
          "post_click_1d": 893, 
          "post_click_7d": 904, 
          "post_click_28d": 938, 
          "post_imp_1d": 120, 
          "post_imp_7d": 185, 
          "post_imp_28d": 235
        }, 

      ]
    }
  ]

答案 1 :(得分:0)

根据我的经验,如果你没有指定start_time,你将获得stats查询的actions字段的非null结果。