Google Ads

Real-time webhook — the Google Ads Script pushes spend directly to the worker. There's no stored event history to show here (no database in this project); use wrangler tail to watch live requests.

Webhook URL

https://strongmom-ads-mixpanel.strongmommixpanel.workers.dev/api/webhooks/google-ads

Point the Google Ads Script at this URL with header x-api-key: <GOOGLE_WEBHOOK_SECRET> — that secret is set via wrangler secret put GOOGLE_WEBHOOK_SECRET in apps/worker and is never entered or displayed in this dashboard.

Expected payload

{
  "date": "2026-07-05",
  "total_cost_usd": 45.67,
  "data": [
    {
      "campaign_id": "111222333",
      "campaign_name": "Brand Keywords",
      "adgroup_id": "444555666",
      "adgroup_name": "Exact Match",
      "ad_id": "555666777",
      "ad_name": "Ad 1",
      "ad_type": "text",
      "final_url": "https://example.com",
      "cost_usd": 38.90,
      "impressions": 3200,
      "clicks": 89
    }
  ]
}