get_local_services_leads

Google Ads Read

Local Services Ads leads, lead by lead, for the connected Google Ads account

Endpoint

POST https://api.adspirer.ai/api/v1/tools/get_local_services_leads/execute

Headers

Description

Local Services Ads leads, lead by lead, for the connected Google Ads account. READ-ONLY (one Google local_services_lead report). Changes nothing. **Returns:** a summary first (counts by lead type, charged vs not charged, credited / credit pending, by status, by category), then a table of leads newest first: created time, lead type (phone call, message, booking), job category and service, status, whether you were charged, and the credit state. **Privacy:** the lead's contact details (name, phone number, email), message text and call recordings are NOT returned by this tool. **Notes:** Local Services accounts are ordinary Google Ads customer ids. An account with no Local Services campaign, or no leads in the window, gets an empty result (not an error). Google does not return leads in healthcare categories. Google's lead data is not tied to a campaign id, so there is no campaign filter. **Parameters:** - start_date / end_date: YYYY-MM-DD (or lookback_days 1-366, default 30) - lead_types: optional list of PHONE_CALL / MESSAGE / BOOKING - lead_statuses: optional list (NEW, ACTIVE, BOOKED, DECLINED, EXPIRED, DISABLED, CONSUMER_DECLINED, WIPED_OUT) - charged_only: optional, true for charged leads only - limit: optional, rows in the table, 1-1,000 (default 200) - customer_id: optional Google Ads customer ID **Example:** User: "How many Local Services leads did I get last month and how many was I charged for?" Agent: get_local_services_leads(lookback_days=30)

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
customer_idstring optionalGoogle Ads customer ID. Required for multi-account users. Get from get_connections_status.
start_datestring optionalStart date (YYYY-MM-DD). Give with end_date; overrides lookback_days.
end_datestring optionalEnd date (YYYY-MM-DD), not in the future. Give with start_date.
lookback_daysinteger optionalDays back from today, 1-366 (default 30). Ignored when start_date and end_date are given.
lead_typesarray optionalOptional. Only these lead types: PHONE_CALL, MESSAGE, BOOKING.
lead_statusesarray optionalOptional. Only these statuses: NEW, ACTIVE, BOOKED, DECLINED, EXPIRED, DISABLED, CONSUMER_DECLINED, WIPED_OUT.
charged_onlyboolean optionalIf true, only leads you were charged for. default: false
limitinteger optionalMost leads listed in the table, newest first (default 200, max 1,000). The summary counts cover the whole window.

Example request

{
  "arguments": {
    "customer_id": "string",
    "start_date": "string",
    "end_date": "string",
    "lookback_days": 1,
    "lead_types": [
      "string"
    ],
    "lead_statuses": [
      "string"
    ]
  }
}

Example responses

200 — Success

{
  "success": true,
  "data": {
    "text": "(tool-specific textual output for get_local_services_leads)",
    "quota": {
      "used": 42,
      "limit": 150,
      "tier": "plus",
      "period_end": "2026-05-01"
    }
  },
  "tool": "get_local_services_leads"
}

400 — Tool-level error (bad arguments / multi-account selection)

{
  "success": false,
  "error": "You have 25 meta_ads accounts connected. Please specify which account to use by passing the ad_account_id parameter:\n  - Acme Holdings (ad_account_id=\"act_123456789\")\n  - Acme EU (ad_account_id=\"act_987654321\")",
  "is_error": true,
  "tool": "get_local_services_leads"
}

402 — Quota exhausted

{
  "success": false,
  "error": "\ud83d\udea8 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
  "is_error": true,
  "tool": "get_local_services_leads",
  "quota": {
    "used": 150,
    "limit": 150,
    "tier": "plus",
    "period_end": "2026-05-01",
    "upgrade_url": "https://adspirer.ai"
  }
}

Try it live


Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai