我正面临一个非常琐碎的问题与facebook广告洞察API。 我在facebook上有很多竞选活动。它们针对不同的事件进行了优化,如“购买”、“启动结帐”、“添加到购物车”。你知道吗
当我请求结束点时,我得到了类似的回答
{
"data": [
{
"actions": [
{
"action_type": "link_click",
"value": 19
},
{
"action_type": "offsite_conversion.fb_pixel_purchase",
"value": 1
},
{
"action_type": "offsite_conversion.fb_pixel_view_content",
"value": 19
},
{
"action_type": "post_like",
"value": 88
},
{
"action_type": "page_engagement",
"value": 107
},
{
"action_type": "post_engagement",
"value": 107
},
{
"action_type": "offsite_conversion",
"value": 20
}
],
"spend": 5.16,
"account_id": "10201496xxxxxxxxxx",
"campaign_name": "Link Clicks to Website (CPC)",
"ad_name": "[2015/11/27] New Arrivals",
"adset_name": "Custom Audience - Visitors or Lookalike - Visitors",
"impressions": "2634",
"date_start": "2015-11-01",
"date_stop": "2015-12-01"
}, ...
我们可以看到有offsite_conversion.fb_pixel_view_content
和offsite_conversion.fb_pixel_purchase
。我的一些活动针对购买进行了优化,有些则针对查看内容。如何从API响应本身中找出我的活动动态优化的事件?你知道吗
嘿
我认为你说的是一个广告集的优化,而不是一个活动,因为在活动层面上,你不能设置一个优化策略或出价。你知道吗
对于您的问题: 你是说
promoted_object
吗? 这将为您提供广告集的自定义事件类型(例如内容视图、添加到购物车、购买…)中的事件目标。你知道吗调用
promoted_object
时,它将返回以下内容:"promoted_object": { "pixel_id": "<PIXEL-ID>", "custom_event_type": "ADD_TO_CART"
相关问题 更多 >
编程相关推荐