Facebook Lead Ads (Meta) Connector Reference

35 dimensions

The Facebook Lead Ads (facebook_leads) connector pulls Facebook Leads Ads data on a lead level. The supported fields can be found in the table below.

A sample query looks like this:

 

https://connectors.windsor.ai/facebook_leads?api_key=<APIKEY>&date_preset=last_28d&fields=account_name,account_id,campaign,ad_set_name,ad_name,email

And returns data in the following format:

{
"data": [
{
"account_name": "Pied Piper",
"account_id": "1234567898012345",
"campaign": "Facebook_Leads_Campaign",
"ad_set_name": "AdSet_1",
"ad_name": "LeadAd_Acquisition_35",
"email": "[email protected]"
}
]
}

The Facebook Lead Ads (Meta) connector exposes 35 fields (0 metrics, 35 dimensions). Every field ID below can be passed to the Windsor.ai API in the fields parameter.


Facebook Lead Ads (Meta) Fields

Facebook Lead Ads (Meta) Leads fields

The Leads report of the Facebook Lead Ads (Meta) connector includes 17 fields.

IDTypeNameDescription
account_idTEXTAccount IDThe Page ID of the Facebook Page
account_nameTEXTAccount NameThe Page Name of the Facebook Page
ad_nameTEXTAd NameAd name for the Lead Ad
adset_idTEXTAd Set IDAd Set ID for the Lead Ad
adset_nameTEXTAd Set NameAd Set name for the Lead Ad
campaignTEXTCampaign NameCampaign name for the Lead Ad
campaign_idTEXTCampaign IDCampaign ID for the Lead Ad
created_timeTIMESTAMPCreated TimeTime this object was created
dateDATEDateThe dimension that determines how date-based data in a chart
date_startDATE(Deprecated) Reporting StartsThe start date for your data. This is controlled by the date range you've selected for your reporting view. Facebook Leads is no longer supports this field so it will always return null
date_stopDATE(Deprecated) Reporting EndsThe end date for your data. This is controlled by the date range you've selected for your reporting view. Facebook Leads is no longer supports this field so it will always return null
emailTEXTEmailEmail
form_idTEXTForm IDForm ID used for the Lead Ads
form_nameTEXTLead Form NameForm name used for the Lead Ads
full_nameTEXTFull NameFull Name
idTEXTIDID of the LeadGenInfo object
phone_numberTEXTFacebook Lead Phone NumberPhone Number

Facebook Lead Ads (Meta) other fields

The Facebook Lead Ads (Meta) connector has 18 fields that do not belong to a named report, or belong to a report with only one or two fields.

IDTypeNameDescription
data_fetched_atTIMESTAMPData fetched atUTC timestamp (second precision) of when the connector request that pulled the row started. Freshly pulled rows show this request's start time; cache hits keep the start time of the request that filled the cache. Selecting this field disables aggregation, so rows are returned individually (each keeping its own fetch time) instead of being summed.
datasourceTEXTData SourceThe name of the Windsor connector returning the row
day_of_monthTEXTDay of monthDay of the month
monthTEXTMonthNumber of the month
nowTIMESTAMPNowCurrent timestamp
sourceTEXTSourceThe name of the Windsor connector returning the row
todayDATETodayToday's date
weekTEXTWeekWeek (Sun-Sat).
week_dayTEXTDay of week and day numberWeekday number and name combined (Sun-Sat).Numbered from 0 Sunday to 6 Saturday.
week_day_isoTEXTDay of week and day number, ISOWeekday number and name combined, ISO format (Mon-Sun).Numbered from 1 Monday to 7
week_isoTEXTWeek ISOWeek, ISO format (Mon-Sun).
yearTEXTYearYear
year_monthTEXTYearmonthYear and month, e.g. 2024|3
year_month_nameTEXTYear month nameYear and month with the month name written out, e.g. "Jan 2025".
year_of_weekTEXTYear of weekThe year that contains first day of the week (Sun-Sat).
year_of_week_isoTEXTYear of week, ISOThe year that contains first day of the ISO week (Mon-Sun).
year_weekTEXTYear weekYear and week for US weeks (Sun-Sat), e.g. 2024|15
year_week_isoTEXTYear week ISOYear and week for ISO weeks (Mon-Sun), e.g. 2024|20