观察到/ 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广告API返回的“操作”字段始终显示为空。
再次,知道这是否是观察到的现象会很好,或者如果不是,则意味着我需要重新审视基础知识。
谢谢
答案 0 :(得分:0)
最终可以回答第一个“谜团” - 空'行动'字段的原因是广告系列带有不正确的“bid_info”设置以指定操作 - 即。数字值55,根据有线文档。
http://developers.facebook.com/docs/reference/ads-api/conversion-specs/