---
title: "Update an ad account"
method: PATCH
path: "/api/v1/ads/accounts/{adAccountId}"
tags: ["Ads"]
---

# Update an ad account

`PATCH /api/v1/ads/accounts/{adAccountId}`

## Request

- Base URL: `https://app.tryadeli.com`
- URL: `https://app.tryadeli.com/api/v1/ads/accounts/{adAccountId}`
- Auth: HTTP bearer

## Path parameters

- `adAccountId` string, required

## Query parameters

- `accountId` string, uuid, required
- `profileId` string, uuid

## Request body

- object
  - `name` string
  - `spendCap` number, nullable

## Response `200`

Success

- object

## Other responses

- `400`: Invalid request, or no profile named
- `401`: Missing or invalid API key
- `403`: The connection is healthy but lacks a permission or provider-confirmed resource this feature requires. Restart OAuth using the structured guidance.
- `404`: Profile, account, or object not found
- `422`: The connected account cannot do this because credentials expired or the platform is unsupported
- `502`: The platform's API failed

---

[API](https://skmtc.dev/tryadeli/apis/adeli-api.md) · [All operations](https://skmtc.dev/tryadeli/apis/adeli-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tryadeli/apis/adeli-api/revisions/7b8012dc8477?raw)
