Facebook Ads API:transaction_detail?

时间:2015-07-30 18:51:10

标签: facebook facebook-graph-api facebook-ads-api facebook-marketing-api

Facebook目前支持通过其API列出广告帐户中发生的交易的功能(尽管很难找到):

https://graph.facebook.com/v2.4/act_ {{ACCOUNT_ID}} /交易

     {
        "id": "{{TRANSACTION_ID}}-1399450",
        "time": 1438255264,
        "account_id": "{{ACCOUNT_ID}}",
        "fatura_id": 0,
        "amount": {
            "currency": "CAD",
            "total_amount": "2,100.40"
        },
        "charge_type": "payment",
        "status": "completed",
        "billing_start_time": 0,
        "billing_end_time": 0,
        "payment_option": "credit_card",
        "tx_type": 3,
        "app_amount": {
            "currency": "CAD",
            "amount": "2,100.40"
        },
        "provider_amount": {
            "currency": "CAD",
            "amount": "2,100.40"
        }
    }

但是,如果您注意到,付款ID中没有任何内容,因此很难弄清楚此次交易/付款的内容......对广告,广告,广告系列没有任何意义什么的!

如果有人对如何获得有关交易的更具体信息有任何建议,我很乐意帮助您!

另外 - 请注意,如果我使用了我的APP_ID令牌(因为它声称我无法通过用户访问令牌执行此操作,这会误导我认为我实际上已经到达某处!)并ping了事务ID就这样:

https://graph.facebook.com/v2.4/ {{TRANSACTION_ID}}

我明白了:

    {
    "error": {
"message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100
   }
 }

您可以通过画布付款明确检查付款方式,但这是专门针对广告帐户付款/交易的。

0 个答案:

没有答案