List of expense uploads
Returns the list of uploads of advertising expenses.
Request
GET
https://api-metrika.yandex.net/management/v1/counter/{counterId}/expense/uploadings
Path parameters
|
Name |
Description |
|
counterId |
Type: integer ID of the counter for which you want to get a list of expense uploads. |
Query parameters
|
Name |
Description |
|
limit |
Type: integer Number of uploads that you want to receive. Default: |
|
offset |
Type: integer Number of the upload to start the list of uploads from. The first upload has the number 0. Default: |
Responses
200 OK
OK
Body
application/json
{
"uploadings": [
{
"id": 0,
"create_time": "2025-01-01T00:00:00Z",
"source_quantity": 0,
"provider": "example",
"comment": "example",
"type": "example",
"status": "example"
}
]
}
|
Name |
Description |
|
uploadings |
Type: ExpenseUploading[] List of expense uploads. Example
|
ExpenseUploading
Information about expense uploads.
|
Name |
Description |
|
comment |
Type: string Comment. Example: |
|
create_time |
Type: string<date-time> Upload time. Example: |
|
id |
Type: integer Upload ID. |
|
provider |
Type: string Data provider name. Example: |
|
source_quantity |
Type: integer Number of rows in the source file. |
|
status |
Type: string Upload status:
Example: |
|
type |
Type: string Upload type:
Example: |
Example
{
"id": 0,
"create_time": "2025-01-01T00:00:00Z",
"source_quantity": 0,
"provider": "example",
"comment": "example",
"type": "example",
"status": "example"
}
No longer supported, please use an alternative and newer version.