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

# Get an ad account

`GET /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
- TypeScript: <https://skmtc.dev/adeli/apis/adeli-api/docs/api/v1/ads/accounts/:adAccountId/get.ts> (a function with typed inputs; its response is checked against the schema)

Meta only.

## Path parameters

- `adAccountId` string, required

## Query parameters

- `accountId` string, uuid
- `profileId` string, uuid
- `platform` 'meta_ads' | 'tiktok_ads' | 'linkedin_ads'

## Response `200`

Success

- object
  - `platform` 'meta_ads' | 'tiktok_ads' | 'linkedin_ads', required
  - `accountId` string, uuid, required
  - `profileId` string, uuid, required
  - `adAccount` object, required
    - `id` string, required
    - `accountId` string, required
    - `name` string, required
    - `currency` string, nullable, required
    - `timezoneName` string, nullable, required
    - `accountStatus` union, required
      - number
      - string
    - `minDailyBudget` number, nullable, required
    - `businessId` string, nullable, required
    - `businessName` string, nullable, required
    - `role` string, nullable
    - `readOnly` boolean
    - `organizationUrn` string, nullable
    - `test` boolean
  - `details` object, required
    - `id` string, required
    - `currency` string, nullable, required
    - `accountStatus` number, nullable, required
    - `disableReason` number, nullable, required
    - `spendCap` number, nullable, required
    - `amountSpent` number, nullable, required
    - `hasPaymentMethod` boolean, nullable, required

## Other responses

- `400`: Invalid request or provider failure
- `401`: Missing or invalid API key
- `403`: The connection lacks a permission or provider-confirmed resource
- `404`: Profile, account, or object not found
- `409`: The request conflicts with existing state
- `422`: The connected account cannot perform this operation
- `429`: Provider quota or rate limit exhausted
- `502`: Invalid request or provider failure

---

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