---
title: "Get an ad account"
method: GET
path: "/v2/ad_accounts/{id}"
tags: ["Ad Accounts"]
---

# Get an ad account

`GET /v2/ad_accounts/{id}`

## Request

- Base URL: `https://api.tenjin.com`
- URL: `https://api.tenjin.com/v2/ad_accounts/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Response `200`

The ad account

- AdAccountDocument
  - `data` AdAccountResource, required
    - `id` string, uuid, required
    - `type` 'ad_account', required
    - `attributes` object, required
      - `name` string, required: Name of the ad account
      - `channel_id` integer, required: Id of the ad account's channel
      - `external_id` string, nullable, required: Id of the account on the ad network
  - `links` Links, required
    - `self` string, uri, required: URL of this request
    - `first` string, uri: URL of the first page of a list
    - `prev` string, uri: URL of the previous page of a list
    - `next` string, uri: URL of the next page of a list
    - `last` string, uri: URL of the last page of a list
  - `meta` object, required: Always empty

## Other responses

- `400`: A param is missing or invalid, a record is not found, or the request cannot be served
- `401`: Missing or invalid credentials, or no access to the requested data
- `403`: Invalid token, or the user's role does not allow the request
- `498`: Expired token, or a token with an invalid signature

---

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