set_cpm
Set the cost-per-mille (CPM) for a Telegram ad campaign. Requires confirm=True to execute; default behavior is a dry-run to preview changes.
Instructions
Set CPM via /edit_cpm modal. Requires confirm=True to execute; default is dry-run.
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": {
"ad_id": "<ad_id>",
"cpm": "<cpm>"
},
"name": "set_cpm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpm | Yes | ||
| ad_id | Yes | ||
| confirm | No |