ym_get_campaigns
Retrieve seller's Yandex Market campaigns to get campaignId and businessId, required for nearly all other API calls.
Instructions
List the seller's shops (кампании) with their campaignId and businessId.
Call this first: nearly every other Yandex Market method needs a campaignId (магазин) or businessId (кабинет продавца). Both are in the response: campaigns[].id and campaigns[].business.id.
Args: page_token: pageToken from a previous page (empty for the first page). limit: page size (<=100). Returns JSON: {"ok": true, "data": {"campaigns": [...], "paging": {...}}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| page_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |