create_lead_form_asset
Create a Google Ads lead form extension asset to collect customer details, choose a call to action, and add form fields for lead capture.
Instructions
Create a lead form extension asset.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customerId": "<customerId>",
"businessName": "<businessName>",
"callToActionType": "<callToActionType>",
"callToActionDescription": "<callToActionDescription>",
"headline": "<headline>",
"description": "<description>",
"privacyPolicyUrl": "<privacyPolicyUrl>",
"fields": "<fields>"
},
"name": "create_lead_form_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Form fields | |
| headline | Yes | Form headline | |
| customerId | Yes | The customer ID | |
| description | Yes | Form description | |
| businessName | Yes | Business name | |
| callToActionType | Yes | Call to action | |
| privacyPolicyUrl | Yes | Privacy policy URL | |
| postSubmitHeadline | No | ||
| postSubmitDescription | No | ||
| callToActionDescription | Yes | CTA description | |
| postSubmitCallToActionType | No |