List of accessible clients

Returns data about Yandex Direct clients whose campaigns are accessible to the owner of the Yandex Metrica counter.

Request

GET

https://api-metrika.yandex.net/management/v1/clients

Query parameters

Name

Description

counters

Type: integer[]

Yandex Metrica counter ID. You can specify multiple counters separated by commas.

Example: 2215573

Responses

200 OK

OK

Body

application/json
{
  "clients": [
    {
      "id": 0,
      "name": "example",
      "chief_login": "example"
    }
  ]
}

Name

Description

clients

Type: Client[]

Example
[
  {
    "id": 0,
    "name": "example",
    "chief_login": "example"
  }
]

Client

List of Yandex Direct clients whose campaigns are accessible to the owner of this Yandex Metrica counter.

Name

Description

chief_login

Type: string

Login of the client's chief representative in Yandex Direct. You can use it to generate the Yandex Direct — costs report.

Example: example

id

Type: integer

Yandex Direct client ID.

name

Type: string

Name of the client specified in the Yandex Direct settings.

Example: example

Example
{
  "id": 0,
  "name": "example",
  "chief_login": "example"
}

No longer supported, please use an alternative and newer version.