Creating a pixel

Creates a pixel with the specified parameters.

  1. Request syntax
  2. In the request body
  3. Response format

Request syntax

https://api-audience.yandex.ru/v1/management/pixels
 ? 

In the request body


{
    "pixel" : {
        "name" :  < string > 
    }
}
Parameters Description
pixel Pixel.
pixel
name The pixel name.
Parameters Description
pixel Pixel.
pixel
name The pixel name.

Sample request

POST https://api-audience.yandex.ru/v1/management/pixels?

Response format


{
    "pixel" : {
        "id" :  < int > ,
        "name" :  < string > ,
        "user_quantity7" :  < long > ,
        "user_quantity30" :  < long > ,
        "user_quantity90" :  < long > ,
        "create_time" :  < date > 
    }
}
Parameters Description
pixel Pixel.
pixel
id The pixel ID. Specify this parameter when updating a pixel.
name The pixel name.
user_quantity7 Coverage over one week.
user_quantity30 Coverage over one month.
user_quantity90 Coverage over 90 days.
create_time The time of pixel creation.
Parameters Description
pixel Pixel.
pixel
id The pixel ID. Specify this parameter when updating a pixel.
name The pixel name.
user_quantity7 Coverage over one week.
user_quantity30 Coverage over one month.
user_quantity90 Coverage over 90 days.
create_time The time of pixel creation.