li_get_leadgen_forms
List LinkedIn Lead Gen Forms on an ad account to audit question fields, confirm form state (active/draft/archived), and view thank-you page and landing page details. Helps troubleshoot lead delivery and manage form-campaign associations.
Instructions
List LinkedIn Lead Gen Forms on an ad account. Returns form name, state (ACTIVE/DRAFT/ARCHIVED), the list of questions asked (field type, label, pre-fill source), the thank-you page URL and message, and the associated landing page (if any). Use to audit form question setup, confirm form state before troubleshooting lead delivery, or verify which forms are attached to active campaigns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_account_id | No | ||
| state | No | Filter by form state. ACTIVE forms are live on ads. DRAFT forms are not yet submitted for review. | |
| page_size | No |