> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cometly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# list_ad_accounts

> Every connected ad account across all platforms with currency, status, and last successful sync.

Returns every ad account actively connected to this space across Facebook, Google, LinkedIn, TikTok, Microsoft / Bing, Reddit, X, Taboola, Whop, and ChatGPT Ads.

## When to use

* "Which ad accounts are connected?"
* Before recommending a `sources` filter — confirm the account exists.

## Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `sources` | string\[] | No | Restrict to specific source slugs (`facebook_ads`, `google_ads`, etc.). |
| `format` | string | No | `csv` (default), `json`, or `yaml`. |

## Output

```csv theme={null}
source,id,name,currency,status,last_synced_at
facebook_ads,act_1234567890,Acme Meta,USD,active,2026-05-15T14:08:00Z
google_ads,111-222-3333,Acme Google,USD,active,2026-05-15T13:55:00Z
tiktok_ads,7234012789,Acme TikTok,USD,active,2026-05-15T14:11:00Z
```

`status` is the account's own `status` value. When the account has none, the CSV field is empty and the key is left out of JSON rows.

`last_synced_at` is the time of the account's last successful sync. Until the account has synced for the first time the CSV field is empty and the key is left out of JSON rows. A failed sync does not move it, so an old value means the account's data may be stale.

Ad accounts that were disconnected from the space are not listed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.