update_campaigns
Update campaigns in Yandex Direct: modify name, end date, daily budget (in micros), negative keywords, and bidding strategy. Preview changes with dry-run or confirm to apply.
Instructions
Update campaign settings (name, dates, budget, negative keywords, strategy).
Args: campaigns: List of objects with Id (required) + fields to change: - Id (int): campaign ID (required) - Name (str, optional): new name - EndDate (str, optional): YYYY-MM-DD or null to remove - DailyBudget (dict, optional): {"Amount": , "Mode": "STANDARD"|"DISTRIBUTED"} - NegativeKeywords (dict, optional): {"Items": ["минус1", "минус2"]} - TextCampaign (dict, optional): update bidding strategy (same format as add_campaigns)
confirm: True to execute; False returns dry-run plan.MONEY NOTE: DailyBudget.Amount is in MICROS (1 RUB = 1_000_000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaigns | Yes | ||
| confirm | No |