A webhook integration allows you to automatically send information from one app to another using a unique URL. You can create a webhook integration to link your lead form extension to your customer relationship management (CRM) system. After you add a webhook integration to your lead form extension, you’ll receive your leads directly in your CRM.
Before you begin
To add the webhook integration to your lead form extension, you'll need to generate a webhook URL and a webhook key.
- The webhook URL is the delivery path. After a person submits their information in a lead form, an "HTTP POST" request is sent to the configured URL, allowing the leads to go directly to the CRM.
- The webhook key is used for validating the leads sent.
If you have the ability to do so, you can create the webhook integration and then generate a URL and key for the webhook. Learn more about generating a webhook URL and key
Note: If you can't create a webhook, you can either use a third-party integration provider like Zapier or use the Google Ads API to automatically send lead form data to your CRM. You can also manually export lead form data by downloading a CSV file.
Instructions
Add a webhook integration to a new lead form
- Sign in to your Google Ads account.
- In the page menu on the left, click Campaigns.
- Click the plus button
, then select New campaign.
- Select Leads as your goal.
- Select Search, Video, or Discovery as your campaign type.
- Click Continue.
- Enter your campaign settings.
- In the "Ad extensions" list, select Lead form extension.
- Click Create lead form extension to open the lead form extension editor and to enter details about your lead form.
- Begin creating your lead form extension.
- Under "Webhook integration (optional)", add your webhook URL and webhook key.
- Click Send test data and verify if your CRM receives the data correctly.
- When you finish creating the lead form extension, click Save.
Add a webhook integration to an existing lead form
- Sign in to your Google Ads account.
- Click Ads & extensions in the page menu, and then click Extensions.
- Click Lead form on the “Extensions” page.
- Hover over the lead form extension and click the pencil icon
to edit.
- Under "Webhook integration (optional)", add your webhook URL and webhook key.
- Click Send test data and verify if your CRM receives the data correctly.
- When you finish editing the lead form extension, click Save.
Error states
Depending on your initial actions after adding a webhook, you may discover one of the following error states:
- Error state A is when people save the form without sending test data (successfully).
- Error state B is data that isn't sent.
- Error state C is data sent without Google receiving a response.
- Error state D is data sent, but Google receives an incorrect response (different from "HTTP 200").
- Success state is data sent, and Google receives a correct response.