[Tenjin API Reference](https://api-docs.tenjin.com/llms.txt) › [Campaign Management API](https://api-docs.tenjin.com/campaign-management-api.md) › Get a SkAdNetwork

- Campaign Management API OpenAPI spec: https://api-docs.tenjin.com/openapi/campaign-management-api.json

# Get a SkAdNetwork

- **Method:** `GET`
- **Path:** `/v2/sk_ad_networks/{id}`
- **Operation ID:** `get_sk_ad_networks_id`
- **Tags:** SK Ad Networks

## Effective servers

- `https://api.tenjin.com`

## Authentication

- **Bearer**: HTTP bearer (`JWT`)

  Generate an access token on the [Access Tokens](https://dashboard.tenjin.com/dashboard/access_tokens) page of the Tenjin dashboard and send it as `Authorization: Bearer <access token>`. [API access tokens](https://tenjin.com/docs/api-access-tokens/) explains them.

## Path parameters

- **`id` (required)**: `string`, pattern: `^[a-zA-Z0-9]{10}\.skadnetwork$`

  SKAdNetwork id, such as `4fzdc2evr5.skadnetwork`; the part before `.skadnetwork` in any case

## Responses

### 200 The SkAdNetwork

**Content type:** `application/json`

schema: `SkAdNetworkDocument`

- **`data` (required)**: `object`, schema: `SkAdNetworkResource`
  - **`attributes` (required)**: `object`
    - **`channel_id` (required)**: `integer | null`

      Id of the channel the SKAdNetwork id belongs to; null when unknown
  - **`id` (required)**: `string`
  - **`type` (required)**: `string`, possible values: `"sk_ad_network"`
- **`links` (required)**: `object`, schema: `Links`
  - **`self` (required)**: `string`, format: `uri`

    URL of this request
  - **`first`**: `string`, format: `uri`

    URL of the first page of a list
  - **`last`**: `string`, format: `uri`

    URL of the last page of a list
  - **`next`**: `string`, format: `uri`

    URL of the next page of a list
  - **`prev`**: `string`, format: `uri`

    URL of the previous page of a list
- **`meta` (required)**: `object`

  Always empty

**Example: The SkAdNetwork**

```json
{
  "data": {
    "id": "4fzdc2evr5.skadnetwork",
    "type": "sk_ad_network",
    "attributes": {
      "channel_id": 13
    }
  },
  "links": {
    "self": "https://api.tenjin.com/v2/sk_ad_networks/4fzdc2evr5.skadnetwork"
  },
  "meta": {}
}
```

### 400, 401, 403, 498

- `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

**Content type:** `application/json`

schema: `Error`

- **`error` (required)**: `string`

  What went wrong

**Example:**

```json
{
  "error": ""
}
```

## Schemas

- `Error` — shown above.
- `SkAdNetworkDocument` — shown above.
- `Links` — shown above.
- `SkAdNetworkResource` — shown above.
