Ronak Shah
Ronak Shah

Reputation: 430

Ads Insights API Website Conversions not Available

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!

Upvotes: 1

Views: 2461

Answers (1)

Ben
Ben

Reputation: 5139

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

Upvotes: 3

Related Questions