从Facebook Ads API获取指标 [英] Get metrics from Facebook Ads API

查看:438
本文介绍了从Facebook Ads API获取指标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法从Facebook API获得以下指标。
如何从Facebook Ads API计算出现在Facebook自己的广告界面中的这些指标:

I am not able get the below metrics from Facebook API. How can I calculate the these metrics, which appear in Facebook's own ads interface, from the Facebook Ads API:


  • 达到

  • 社会影响力

  • 频率,

  • CPC,

  • CPM 。

  • Reach
  • Social reach
  • Frequency,
  • CPC,
  • CPM.

推荐答案

拥有广告组ID时,您必须发出API调用:
https://graph.facebook.com/<AD-GROUP_ID>/stats

When you have the Ad group ID, you have to issue an API call: https://graph.facebook.com/<AD-GROUP_ID>/stats

然后您将得到如下答案:

Then you get answer like this:

{
  "id": "<AD-GROUP_ID>/stats/0/.....", 
  "impressions": 31, 
  "clicks": 0, 
  "spent": 0, 
  "social_impressions": 0, 
  "social_clicks": 0, 
  "social_spent": 0, 
  "unique_impressions": 0, 
  "social_unique_impressions": 0, 
  "unique_clicks": 0, 
  "social_unique_clicks": 0, 
  "actions": 0, 
  "connections": 0, 
  "adgroup_id": 6003713142141, 
  "start_time": null, 
  "end_time": "2011-11-07T06:43:21+0000"
}

要计算Facebook前端中的字段,请执行以下操作:

To calculate the fields in the Facebook frontend:

达到 =唯一印象

社交触及率 =称为社交唯一印象。

频率 =展示次数/唯一印象< br>
'CPC'=花费/点击

'CPM'=(花费* 1000)/展示次数

'Reach' = unique_impressions
'Social Reach' = is called social_unique_impressions.
'Frequency' = impressions / unique_impressions
'CPC' = spent / clicks
'CPM' = (spent * 1000) / impressions

这篇关于从Facebook Ads API获取指标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆