---
title: "List of ad accounts"
method: GET
path: "/shops/{SHOP_ID}/ads_manager/ad_accounts"
tags: ["Ads Manager"]
---

# List of ad accounts

`GET /shops/{SHOP_ID}/ads_manager/ad_accounts`

## Request

- Base URL: `https://pos.pages.fm/api/v1`
- URL: `https://pos.pages.fm/api/v1/shops/{SHOP_ID}/ads_manager/ad_accounts`
- Auth: API key in query parameter `api_key`

Get list of ad accounts

## Path parameters

- `SHOP_ID` integer, required

## Query parameters

- `page` integer
- `page_size` integer

## Response `200`

Success

- AdAccount: Ad accounts list response
  - `success` boolean: Success status
  - `data` object[]: List of ad accounts
    - `id` string: Ad account ID
    - `name` string: Ad account name
    - `account_status` 1 | 2 | 3 | 7 | 8 | 9 | 100 | 101 | 201 | 202: Account status
    - `currency` string: Currency used by the account
    - `is_business` boolean: Business account (true) / Personal account (false)
    - `sync_succeed_at` string, date-time: Last successful sync timestamp
    - `tags` string[]: Tags
  - `page_number` integer: Current page number
  - `page_size` integer: Number of records per page
  - `total_entries` integer: Total number of ad accounts
  - `total_pages` integer: Total number of pages

---

[API](https://skmtc.dev/pancake/apis/pancake-pos-open-api.md) - [All operations](https://skmtc.dev/pancake/apis/pancake-pos-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pancake/apis/pancake-pos-open-api/revisions/3df28d1fb5dc?raw)
