Place an ad order
place_ad_orderPlace one ad order with a solved challenge (get_ad_challenge). Same checks, prices and limits as the web form at /advertise (at most 2 unpaid orders per service). Payment is in XMR only, to the returned address, exact amount, before hold_until; when automatic payments are off the order is a request handled by hand and no address is returned. Ads never change grades or order; only listed services graded A, B or C may advertise; the link always goes to the service's nokychub page. Keep the returned secret: it is the only key to the order. Send it at least 2 s after getting the challenge. With a creative, put params name before arguments: a request over 64 KB must name place_ad_order in its first 64 KB.
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": {
"challenge_id": "<challenge_id>",
"nonce": "<nonce>",
"slot": "<slot>",
"service": "<service>",
"start_month": "<start_month>",
"months": "<months>"
},
"name": "place_ad_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cta | No | button text (default «Open») | |
| line | No | ||
| slot | Yes | slot code from list_ad_slots, e.g. LB-HOME | |
| nonce | Yes | decimal nonce with SHA-256(seed ":" nonce) having `bits` leading zero bits | |
| scope | No | per_category slots: your own category (slug or id); per_guide slots: the guide's id or slug; global slots: omit | |
| months | Yes | number of months, 1..12 (3 months cost the quarter price) | |
| contact | No | optional, only for the owner about this order | |
| service | Yes | your service's nokychub slug (it must be listed and graded A, B or C) | |
| creative | No | PNG or JPG, base64, within the slot's max_kb (+40% for base64); no WebP, SVG or animation; omit on text-only slots | |
| headline | No | ||
| start_month | Yes | first booked month, YYYY-MM (this month up to 12 months ahead) | |
| challenge_id | Yes | id from get_ad_challenge |