Integrating your CRM with Meta's Conversions API and using the Lead Ads - Conversion Leads optimization goal may yield higher quality results. Currently, this optimization only supports native Lead Ads (Instant Forms) generated on Facebook or Instagram.
This guide provides the payload specification for CRM events uploaded for the Conversion Leads optimization only. Do not use this specification for events not related to this optimization.
See the Conversions API documentation for more information on getting started with the API and other useful resources.
Name | Description |
---|---|
integer | Required. |
string | Required.
Use a variable to pass in the stages from your CRM. Alternatively, you could create a separate API call for each stage. |
integer | Required. |
string | Required. |
string | Required. |
string | Required. |
This example illustrates the format of the event payload sent in the API call.
{ "event_name": "my lead stage", "event_time": 1617693833, "user_data": { "lead_id": 1234567890123456 }, "action_source": "system_generated", "custom_data": { "lead_event_source": "Salesforce", "event_source": "crm" } }