1

观察到 /stats/ Ads API 调用与手动下载的 Ad Report.csv 文件中的相应行之间存在意外差异。

Ads API JSON 数据包的“操作”字段包含空值,但 CSV 报告数字“2”。

JSON数据包是

[id] => ___
[impressions] => 10
[clicks] => 1
[spent] => 5
[social_impressions] => 10
[social_clicks] => 1
[social_spent] => 5
[unique_impressions] => 10
[social_unique_impressions] => 10
[unique_clicks] => 1
[social_unique_clicks] => 1
[actions] => 
[connections] => 0
[adgroup_id] => ___
[campaign_id] => ___
[start_time] => 2012-11-10T16:00:00+0000
[end_time] => 2012-11-11T16:00:00+0000
[newsfeed_position] => stdClass Object
    (
        [newsfeed_impressions] => 10
        [newsfeed_clicks] => 1
        [newsfeed_average_position] => 20.8
    )

奇怪的是,所有其他 CSV 字段都匹配。

我已包含广告组结构(已删除 ID 字段)

[adgroup_status] => 1
[bid_type] => 1
[max_bid] => 45
[bid_info] => [1 => 45 ]
[ad_status] => 1
[locations] => [0 => 3 ]
[impression_control_map] => Array
(
    [0] => stdClass Object
    (
        [location] => 3
        [control] => stdClass Object
        (
            [impression_control_type] => 2
            [user_impression_limit] => 6
            [user_impression_limit_period] => 24
            [user_impression_limit_period_unit] => 0
        )
    )
)
[creative_ids] => Array ( [0] => ___ )
[targeting] => stdClass Object
(
    [genders] => Array ( [0] => 1 )
    [age_max] => 29
    [age_min] => 27
    [countries] => Array ( [0] => IE )
    [page_types] => Array ( [0] => feed )
)
[conversion_specs] => Array ( )
[start_time] => 
[end_time] => 
[updated_time] => 2012-11-08T12:44:09+0000
[created_time] => 2012-11-08T12:43:31+0000

有没有人遇到过这种差异?有简单的解释吗?

----- 更新 29-Noc-2012 -----

在对 2000 多个广告组条目跟踪数天的活动后,从 FB Ads API 返回的“操作”字段始终显示为空。

同样,很高兴知道这是否是一种观察到的现象,或者如果不是,则意味着我需要重新审视基础知识。

谢谢

4

1 回答 1

0

终于可以回答第一个“谜团”了——“actions”字段为空的原因是广告系列带有错误的“bid_info”设置来指定 Actions——即。数值 55,根据 lined 文档。

http://developers.facebook.com/docs/reference/ads-api/conversion-specs/

于 2012-12-03T12:26:14.050 回答