Get In-App Campaign Stats
get-in-app-campaign-statsRetrieve performance stats for an in-app campaign, including impressions, clicks, dismissals, expirations and devices reached, with rates as fractions. Use the campaign id to check results.
Instructions
Get how one in-app campaign performed: impressions, clicks, dismissals, expirations and devices reached. Nothing is sent on this channel, so there are no delivery or failure counts. Rates are fractions from 0 to 1, so 0.25 is 25%, and null while there is nothing to divide by. Totals cover the whole life of the campaign and are recounted periodically (every 15 minutes for email), so a campaign sent minutes ago can still read 0: check again later rather than reporting that nothing was delivered.
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": {
"id": "<id>"
},
"name": "get-in-app-campaign-stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The in-app campaign id. |