---
title: "Create Google Ads Account Business Unit"
method: POST
path: "/admin/google-ads/account-business-units"
tags: ["admin", "google-ads-admin"]
---

# Create Google Ads Account Business Unit

`POST /admin/google-ads/account-business-units`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/admin/google-ads/account-business-units`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Add one business unit to the account's mapped set (existing mappings kept, idempotent).

Single-row atomic insert (or tombstone-revive) — not a read-then-full-reconcile — so two
concurrent single-item calls on the same account can't race and drop each other's write.
Rejected with 404 unless ``google_ads_account_id`` belongs to ``organization_id``.

## Headers

- `organization-id` string, nullable
- `timezone` string
- `x-user-id` string, nullable
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Request body

- GoogleAdsAccountBusinessUnitBody
  - `organization_id` string, required: organization.id (UUID) that must own the account.
  - `google_ads_account_id` string, required: leads.google_ads_account.id — the account to map.
  - `st_business_unit_id` integer, required: ServiceTitan business unit id (service_titan.service_titan_business_unit.id).

## Response `200`

Successful Response

- GoogleAdsAccountBusinessUnitPublic: One standard Google Ads account -> ServiceTitan business-unit mapping.
  - `id` string, required
  - `organization_id` string, required
  - `google_ads_account_id` string, required
  - `st_business_unit_id` integer, required
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/upsmith/apis/upsmith-api.md) - [All operations](https://skmtc.dev/upsmith/apis/upsmith-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upsmith/apis/upsmith-api/revisions/cce8b07a5787?raw)
