Ads Insights API网站转换不可用 [英] Ads Insights API Website Conversions not Available

查看:102
本文介绍了Ads Insights API网站转换不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过Marketing API v2.11获取Facebook Ads Insights数据

I am getting the Facebook Ads Insights data via Marketing API v2.11

API端点: https://graph.facebook.com/v2.11 /act_XXXXXXX/洞察力

其中XXXXXXX是广告帐户ID

Where XXXXXXX is an Ad Account Id

但是我无法获取网站转化"数据.此外,我在见解字段列表

But I am not able to fetch the "Website Conversions" data.Also I don't see this field available in the insights fields list https://developers.facebook.com/docs/marketing-api/insights/fields/v2.11

那么如何通过api获取此数据?

So how to get this data via api?

谢谢!

推荐答案

在字段action_valuesactions上可用的网站转换"数据.它返回 list<AdsActionStats> ,其中包含一个列表的动作类型和价值.

The "Website Conversions" data available on the fields action_values and actions. It returns list<AdsActionStats>, containing a list of action_type and value.

// extracts of action_type

offsite_conversion.add_to_cart: Adds to Cart
offsite_conversion.checkout: Checkouts
offsite_conversion.custom.<custom_conv_id>: Custom Conversions defined by the advertiser
offsite_conversion.fb_pixel_add_payment_info: Adds Payment Info
offsite_conversion.fb_pixel_add_to_cart: Adds To Cart
offsite_conversion.fb_pixel_add_to_wishlist: Adds To Wishlist
offsite_conversion.fb_pixel_complete_registration: Completed Registration
offsite_conversion.fb_pixel_custom: Custom pixel events defined by the advertiser
offsite_conversion.fb_pixel_initiate_checkout: Initiates Checkout
offsite_conversion.fb_pixel_lead: Leads
offsite_conversion.fb_pixel_purchase: Purchases
offsite_conversion.fb_pixel_search: Searchs
offsite_conversion.fb_pixel_view_content: Views Content
offsite_conversion.key_page_view: Key Page Views
offsite_conversion.lead: Leads
offsite_conversion.other: Other Website Conversions
offsite_conversion.registration: Registrations
onsite_conversion.flow_complete: On-Facebook Workflow Completions
onsite_conversion.messaging_block: Blocked Messaging Conversations
onsite_conversion.messaging_first_reply: New Messaging Conversations
onsite_conversion.messaging_reply: Messaging Replies
onsite_conversion.purchase: On-Facebook Purchases

这篇关于Ads Insights API网站转换不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆