Ads Insights API Website Conversions not Available

霸气de小男生 提交于 2020-05-14 07:45:05

问题


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

API end points: https://graph.facebook.com/v2.11/act_XXXXXXX/insights

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

So how to get this data via api?

Thanks!


回答1:


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


来源:https://stackoverflow.com/questions/47826398/ads-insights-api-website-conversions-not-available

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!