---
title: "Google Ads lead form webhook"
url: https://docs.light-ai.app/api-reference/inbound/receive-google-ads-lead.md
canonical_url: https://docs.light-ai.app/api-reference/inbound/receive-google-ads-lead
last_updated: 2026-10-13
summary: "POST /v1/inbound/google-ads/{source_id}: Paste this URL and the source key into the lead form's webhook settings."
api_status: beta
related:
  - https://docs.light-ai.app/api-reference/inbound
---

# Google Ads lead form webhook

> POST /v1/inbound/google-ads/{source_id}: Paste this URL and the source key into the lead form's webhook settings.

`POST /v1/inbound/google-ads/{source_id}`

Paste this URL and the source key into the lead form's webhook settings. Answers follow Google's retry rules: 200 on success, 400 for a bad key or malformed lead (not retried), 503 when Google should retry (never 429). `is_test` leads (Google's "Send test data") run in test mode.

|   |   |
| --- | --- |
| Credential | The source key, sent by Google as `google_key` in the payload. |
| Test mode | Works with test keys (test objects only). |

## Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `source_id` | string | yes | The inbound source id (`src_…`). Id prefix `src_`. |

## Request body

Google Ads lead form webhook payload (user_column_data, google_key, lead_id, is_test, …).

## Response 200

Accepted.

## Errors

| Status | Meaning |
| --- | --- |
| `400` | Bad key or malformed lead (Google does not retry). |
| `404` | Not found (also for objects of other organizations and for organizations without an active grant). |
| `413` | Request bodies are limited to 256 KB. |
| `503` | Temporarily unavailable (Google retries). |

## Examples

**Request**

curl:

```bash
curl -X POST "https://api.light-ai.app/v1/inbound/google-ads/{source_id}" \
  -H "Content-Type: application/json" \
  -d '{
  "lead_id": "TeSter-123-ABCDEFGHIJKLMNOPQRSTUVWXYZ",
  "user_column_data": [
    {
      "column_id": "FIRST_NAME",
      "string_value": "Dana"
    },
    {
      "column_id": "LAST_NAME",
      "string_value": "Reyes"
    },
    {
      "column_id": "EMAIL",
      "string_value": "dana@example.com"
    },
    {
      "column_id": "PHONE_NUMBER",
      "string_value": "+15125550134"
    },
    {
      "column_id": "POSTAL_CODE",
      "string_value": "78731"
    }
  ],
  "google_key": "lai_whin_…",
  "is_test": true
}'
```

JavaScript:

```javascript
const response = await fetch('https://api.light-ai.app/v1/inbound/google-ads/{source_id}', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "lead_id": "TeSter-123-ABCDEFGHIJKLMNOPQRSTUVWXYZ",
    "user_column_data": [
      {
        "column_id": "FIRST_NAME",
        "string_value": "Dana"
      },
      {
        "column_id": "LAST_NAME",
        "string_value": "Reyes"
      },
      {
        "column_id": "EMAIL",
        "string_value": "dana@example.com"
      },
      {
        "column_id": "PHONE_NUMBER",
        "string_value": "+15125550134"
      },
      {
        "column_id": "POSTAL_CODE",
        "string_value": "78731"
      }
    ],
    "google_key": "lai_whin_…",
    "is_test": true
  }),
});
const data = await response.json();
```

Python:

```python
import os, uuid, requests

response = requests.post(
    "https://api.light-ai.app/v1/inbound/google-ads/{source_id}",
    headers={
    },
    json={
      "lead_id": "TeSter-123-ABCDEFGHIJKLMNOPQRSTUVWXYZ",
      "user_column_data": [
        {
          "column_id": "FIRST_NAME",
          "string_value": "Dana"
        },
        {
          "column_id": "LAST_NAME",
          "string_value": "Reyes"
        },
        {
          "column_id": "EMAIL",
          "string_value": "dana@example.com"
        },
        {
          "column_id": "PHONE_NUMBER",
          "string_value": "+15125550134"
        },
        {
          "column_id": "POSTAL_CODE",
          "string_value": "78731"
        }
      ],
      "google_key": "lai_whin_…",
      "is_test": True
    },
    timeout=30,
)
data = response.json()
```
