estimate_campaign
Estimate reach, clicks and cost of advertising a product to Telegram audiences — no account or authorization required. Call this FIRST, before asking the user to connect an account: it tells you whether inside.ad has relevant inventory for this product and what a given budget would buy. Describe the product yourself (you know it better than any crawler); the URL alone is a weak signal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | Optional ISO-2 country filter, e.g. "US" | |
| url | No | Product landing page URL | |
| lang | No | Optional audience language filter, e.g. "en" | |
| budget | No | Budget in USD to estimate against (default 100) | |
| keywords | No | Optional topic keywords, e.g. ["devtool","ai"] | |
| description | No | What the product does, in your own words. Strongest signal for topic matching. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget | Yes | Budget the estimate was computed for, in USD | |
| cpmUsd | No | Reach-weighted average CPM across matched segments | |
| cpcRange | No | Implied cost per click in USD, derived from CPM and the CTR band. | |
| currency | Yes | ||
| dailyReach | No | Total daily impressions available in matched segments | |
| assumptions | No | ||
| deliveryDays | No | Roughly how many days it takes to deliver estimatedImpressions at the current daily reach. | |
| sampleSegments | No | Matched inventory segments. Individual channels are deliberately not disclosed. | |
| estimatedClicks | Yes | Range, not a point estimate. Report both ends to the user. | |
| inventoryIsThin | Yes | true = there is no matching inventory at all, OR the budget exceeds what the matched inventory can deliver. Say so plainly instead of promising results, and use spendableBudget as the realistic figure. | |
| spendableBudget | No | How much of the budget this inventory can actually absorb within 30 days. If it is lower than budget, tell the user to either lower the budget or widen targeting — do not promise the full budget will be spent. | |
| matchedCategories | No | ||
| estimatedImpressions | Yes |