ym_get_campaigns
List seller campaigns and return campaignId and businessId, providing the identifiers needed for subsequent Yandex Market 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 |