payware_products_create_airing
Adds scheduled airing rules to a product placement, defining repeat frequency, time windows, and date ranges while flagging overlap warnings.
Instructions
[Merchant] Add an airing rule to a placement: up to 100 rules per placement. Example: "daily 08:00-08:30 and 15:40-16:10" is one DAILY rule with two windows. Check warnings in the response: AIRING_OVERLAP means another soundbite placement of the same product airs at the same time in an overlapping region, and a tap then is attributed to neither.
Endpoint: POST /products/{productId}/placements/{placementId}/airings (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>",
"frequency": "<frequency>",
"startDate": "<startDate>",
"windows": "<windows>"
},
"name": "payware_products_create_airing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |