如何在 Facebook Graph API 中获取广告插播数据

问题描述 投票:0回答:1

我正在尝试从 Graph API 获取广告插播数据,但在这方面缺少文档(阅读:不存在)。有谁知道我必须如何制定 Graph API 的查询才能获取每个视频的广告插播收入?

致以诚挚的问候

facebook facebook-graph-api
1个回答
0
投票

该值可通过 video_insights 获得。

https://developers.facebook.com/docs/graph-api/reference/video/video_insights/

回复快结束时是:

total_video_ad_break_revenue

还有

total_video_ad_break_ad_impressions
total_video_ad_break_ad_cpm
字段,但这些字段有时为空,但仍提供终身收入。

{
  "name": "total_video_ad_break_revenue",
  "period": "lifetime",
  "values": [
    {
      "value": *AD_REVENUE_VALUE_HERE*
    }
  ],
  "title": "Lifetime Video Ad Break Revenue",
  "description": "An estimate of the amount you earned from ad breaks in your video, based on the number of impressions and CPM of ads shown. Actual payments may differ if there are content ownership claims or other adjustments.",
  "id": "*VIDEO_ID_HERE*/video_insights/total_video_ad_break_revenue/lifetime"
},
© www.soinside.com 2019 - 2024. All rights reserved.