MMetadata /docs
Docs/Tools/create_google_lead_form_extension

create_google_lead_form_extension

Add an inline lead-capture form attached to a Google Ads ad — prospects submit their email plus optional contact and work info without leaving the SERP.

Writes extensions

Creates or changes something in the account. Put it behind whatever review your agent uses.

What it does

Add an inline lead-capture form attached to a Google Ads ad — prospects submit their email plus optional contact and work info without leaving the SERP. Drives higher conversion than landing-page redirects and feeds leads straight into Metadata.

                ALSO KNOWN AS: lead form, lead gen form, inline form, lead capture, contact form, demo request form, in-ad form, form extension

                KEYWORDS: lead form, lead gen, lead capture, form, contact form, demo request, inline form, conversion, MQL, opt-in, signup, registration, google ads, extension

                WHEN TO USE:
                - "Add a lead form extension to capture demo requests under our search ads"
                - "Create an inline form asking for work email and job title"
                - "Set up a Google Ads lead-gen form with a 'Request Demo' CTA"
                - "Register a contact-us form extension for the homepage campaign"

                WHEN NOT TO USE:
                - Just want to drive clicks to a landing page (no inline form) → use create_google_sitelink_extension
                - Want to plug a single product / pricing tier under the ad → use create_google_price_extension
                - For Microsoft Ads / Bing — Microsoft does not surface inline lead forms via the platform; pick a different extension type or use a landing-page redirect.
                - For Facebook lead forms or LinkedIn LeadGen — those are separate channel surfaces, not search-channel ad-extensions.

                INPUTS (required):
                - headline:                          form headline (≤30 chars).
                - business_name:                     advertiser name shown in form (≤25 chars).
                - privacy_policy_url:                link to your privacy policy (Google requires it).
                - post_submit_headline:              thank-you screen headline (≤30 chars).
                - post_submit_description:           thank-you screen body (≤200 chars).
                - post_submit_call_to_action_type:   button on the thank-you screen. VISIT_SITE | DOWNLOAD | LEARN_MORE | SHOP_NOW.
                - call_to_action_type:               main CTA on the ad. APPLY_NOW | BOOK_NOW | CONTACT_US | DOWNLOAD | GET_INFO | GET_OFFER | GET_QUOTE | GET_STARTED | JOIN_NOW | LEARN_MORE | REGISTER | REQUEST_DEMO | SIGN_UP | SUBSCRIBE.
                - call_to_action_description:        sub-text under the CTA (≤30 chars).
                - email_lead_form_user_input_types:  at least one of WORK_EMAIL, EMAIL.

                INPUTS (optional):
                - description: form body text (≤200 chars).
                - contact_lead_form_user_input_types: any of FIRST_NAME, LAST_NAME, PHONE_NUMBER, CITY, POSTAL_CODE, REGION, COUNTRY, STREET_ADDRESS.
                - work_lead_form_user_input_types:    any of COMPANY_NAME, JOB_TITLE, WORK_PHONE.
                - url: thank-you-page URL after submit.

Arguments

ArgumentTypeNotes
headline string required
business_name string required
description string
email_lead_form_user_input_types array required
contact_lead_form_user_input_types array
work_lead_form_user_input_types array
privacy_policy_url string required
post_submit_headline string required
post_submit_description string required
post_submit_call_to_action_type string required
one of: VISIT_SITE, DOWNLOAD, LEARN_MORE, SHOP_NOW
url string Optional thank-you-page URL.
call_to_action_type string required
one of: APPLY_NOW, BOOK_NOW, CONTACT_US, DOWNLOAD, GET_INFO, GET_OFFER, GET_QUOTE, GET_STARTED, JOIN_NOW, LEARN_MORE, REGISTER, REQUEST_DEMO
call_to_action_description string required

Request

curl
curl -s -X POST https://mcp-server.metadata.io/mcp \
  -H "Authorization: $METADATA_PAT" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "MCP-Protocol-Version: 2025-11-25" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_google_lead_form_extension","arguments":{"headline":"<headline>","business_name":"<business_name>","email_lead_form_user_input_types":[],"privacy_policy_url":"<privacy_policy_url>","post_submit_headline":"<post_submit_headline>","post_submit_description":"<post_submit_description>","post_submit_call_to_action_type":"VISIT_SITE","call_to_action_type":"APPLY_NOW","call_to_action_description":"<call_to_action_description>"}}}'

Response

No recorded response. This tool writes to the account, so it is never executed to build these docs. The request above is still the exact shape to send. Nothing on this page is invented.

Other extensions tools:

All 160 tools · machine-readable index