meta_ads_leads_get_by_ad
Retrieve leads attributed to a specific ad to measure lead volume per creative. Use this to rank ad winners by lead performance, regardless of form used.
Instructions
Retrieves leads attributed to a specific ad, regardless of which form they used. Returns the same lead record shape as meta_ads_leads_get. Read-only. Use this to measure lead volume of a particular creative / ad ID when ranking winners. For full form-based lead pulls (cross-ad) use meta_ads_leads_get.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Meta Ads account ID in the format 'act_XXXXXXXXXX' (e.g. 'act_1234567890'). Optional — falls back to META_ADS_ACCOUNT_ID from the configured credentials. The leading 'act_' prefix is required. | |
| ad_id | Yes | Ad ID whose leads to fetch. The ad must be a Lead Ads ad (creative linked to a lead form). | |
| limit | No | Max leads per call. Default 100, max 1000 per Meta Graph API. |