payware_products_update_airing
Replace an existing airing rule for a product placement by sending the complete schedule—frequency, dates, time windows, and time zone—then review warnings for airing overlaps.
Instructions
[Merchant] Replace one airing rule: every field is replaced, so send the whole rule. Check warnings in the response for AIRING_OVERLAP.
Endpoint: PUT /products/{productId}/placements/{placementId}/airings/{ruleId} (PRM plan)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>",
"placementId": "<placementId>",
"ruleId": "<ruleId>",
"frequency": "<frequency>",
"startDate": "<startDate>",
"windows": "<windows>"
},
"name": "payware_products_update_airing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | Yes | The airing rule's ID, from payware_products_list_airings | |
| endDate | No | Last day, YYYY-MM-DD, at most 366 days after startDate. Omit for open-ended | |
| windows | Yes | Time windows on each day it airs, local to the time zone: 1 to 24, each up to 6 hours | |
| timeZone | No | IANA time zone, e.g. Europe/Sofia. Default: the product's | |
| frequency | Yes | How the rule repeats | |
| monthDays | No | MONTHLY by date: days of the month. A day a month lacks is skipped | |
| monthWeek | No | MONTHLY by weekday: which week, -1 for the last. Use with monthWeekday | |
| productId | Yes | The product's ID: pr + 8 letters or digits, e.g. pr7e4rCToG | |
| startDate | Yes | First day, YYYY-MM-DD, in the rule's time zone | |
| daysOfWeek | No | WEEKLY: the days it airs on | |
| useSandbox | No | Use the sandbox (the default) rather than production | |
| placementId | Yes | The placement's ID: pl + 8 letters or digits, e.g. pl7e4rCToG | |
| repeatEvery | No | Every N days, weeks or months. Default 1 | |
| monthWeekday | No | MONTHLY by weekday: the weekday | |
| excludedDates | No | Days it does not air, YYYY-MM-DD | |
| expectedAudience | No | Expected audience per airing, for your own planning |