Ad offer
ad_offerWhether a picture you made, or the owner's own finished media, can run as an ad, and the proposal: where it runs (the place the owner named, else where this project's buyers are, on a connected ad account) and how (a new ad, or posting it and boosting that post), who sees it (in the countries the owner named for this ad, else those under Where ads may run), which days, and the spend a day and in all in the ad account's currency. attachments run the owner's own finished picture, video or pictures exactly as they are, only when the owner asks to run that file itself as the ad (run this, use this as the ad), or the owner's own AI, the assistant they connected to Marsell, asks for it: one is one ad; two or more need as, one_ad (an ad with its tall 9:16 version for Stories and Reels) or carousel (2 to 10 pictures, in order). When they ask you to make an ad from or with a photo of theirs, they want a new ad picture: make it with that photo as its reference, then offer the picture you made. film_id runs a film Marsell made. It only reads and checks them; ad_card keeps them on the owner's yes. Files the ads can't run come back with why, in words to say. Show the offer and make the card only on the owner's yes to it, even when they asked for the ad. Pass countries only when the owner names them for this ad. asked false: unasked.allowed says whether you may offer it at all, and every reason not. canRun false: why no ad card can be made, in words to say. A best place that isn't connected comes with why and where to connect it, beside the connected place used instead. Never say a figure it does not give.
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": {
"asked": "<asked>"
},
"name": "ad_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | with two or more attachments: one_ad (one ad with its tall 9:16 version for Stories and Reels) or carousel (2 to 10 pictures, in the order given); one attachment is one ad | |
| asked | Yes | true when the owner asked for an ad or to run it as one; false for an offer nobody asked for | |
| place | No | the place the owner named for the ad, when they named one | |
| title | No | with attachments: what they are, in a few words, when the owner said | |
| set_id | No | the picture's set, as canvas_run's answer gives it; left out, the picture this chat last made | |
| caption | No | with attachments: what they sell and to whom, in the owner's words, when they said; the ad's words are written from it | |
| ends_on | No | the day it ends: the day of the moment it is for (the drop, the event, the appeal's last day); omitted, the usual length | |
| film_id | No | a film Marsell made, whose plan the owner approved, to run as a video ad; in place of set_id | |
| item_id | No | the picture in the set; omitted, its first made picture | |
| per_day | No | the amount a day the owner named, in their ad account's currency (20 for $20); omitted, Marsell's usual amount | |
| project | No | The project's id or exact name. Optional when the account has one project. | |
| countries | No | only when the owner names the countries for this ad: each by its two-letter ISO code (DE, GB, US), used for this ad alone instead of Where ads may run. A group they name (the EU, the Nordics) is its countries; one Meta ad reaches up to 25, so with more, ask which. A city or an area inside a country is not a country: leave it out, and say who the ad reaches as the offer gives it. Leave it out otherwise, and Where ads may run is used | |
| starts_on | No | the day it starts (YYYY-MM-DD, the project's own time zone); omitted, today | |
| attachments | No | the owner's own finished picture, video or pictures to run as they are, by their attachment ids (input.attached or attachment_read, sent here, on Telegram or Slack, or through an upload link), only when they ask to run the file itself; in place of set_id |