---
title: "Pick the LinkedIn ad account Patricia uses by default"
method: PATCH
path: "/v1/integrations/accounts/{account_id}/linkedin/ad-account"
tags: ["integrations"]
---

# Pick the LinkedIn ad account Patricia uses by default

`PATCH /v1/integrations/accounts/{account_id}/linkedin/ad-account`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/integrations/accounts/{account_id}/linkedin/ad-account`
- Auth: HTTP bearer

Makes one discovered, active, switched-on ad account the default. Anything else is refused. Reads the connection's stored discovery rather than calling LinkedIn, so opening the picker costs nothing against LinkedIn's daily limits. Tenant- AND owner-scoped: a foreign, unknown, non-LinkedIn or not-visible account id 404s.

## Path parameters

- `account_id` string, uuid, required

## Headers

- `X-Tenant-Id` string, nullable

## Request body

- LinkedInAdAccountBody: Make one of a LinkedIn connection's discovered ad accounts its default.
  - `ad_account_id` string, required

## Response `200`

Successful Response

- LinkedInAdAccountsResponse: Every ad account a LinkedIn connection discovered, which are switched on, and the default.
  - `ad_accounts` LinkedInAdAccountSummary[]
    - `id` string, required
    - `name` string, required
    - `currency` string, required
    - `status` string, required
    - `serving_statuses` string[]
    - `serving_holds` string[]
    - `reference` string, nullable
    - `roles` string[]
    - `test` boolean
    - `is_active` boolean
    - `can_write` boolean
    - `edits_approved` boolean
    - `enabled` boolean
  - `selected_ad_account_id` string, nullable
  - `enabled_ad_account_ids` string[]

## Other responses

- `422`: Validation Error

---

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