get_campaign_stats
Retrieve campaign performance statistics from MoEngage, including delivery, engagement, conversion, and failure data. Requires start/end dates and attribution type.
Instructions
⚠ UNAVAILABLE: The Campaign Stats API has been disabled on MoEngage's side. This tool is currently non-functional. Do not use until further notice.
Get performance statistics for campaigns from MoEngage.
Both start_date and end_date are required — the MoEngage stats API has no lifetime summary mode. Max date range is 30 days.
start_date: Start of the stats window in YYYY-MM-DD format (required). end_date: End of the stats window in YYYY-MM-DD format (required). Must be within 30 days of start_date. attribution_type: Conversion attribution model (required). One of: VIEW_THROUGH, CLICK_THROUGH, IN_SESSION, TOTAL_CONVERSIONS, CLICK_CONVERSIONS. metric_type: Counting mode (required) — TOTAL or UNIQUE. campaign_ids: Optional list of campaign IDs to filter (max 10 per call). Omit to get stats for all campaigns in the date range. offset: Pagination offset (0-indexed). Default 0. limit: Results per page, max 10. Default 10.
Per-campaign stats include:
performance_stats: sent, delivered, opened, clicked, ctr, open_rate, etc.
delivery_funnel: reachable_users_in_segment, after_fc, after_dup, etc.
conversion_goal_stats: conversions, cvr, uplift, revenue, ARPU per goal
failure_breakdown: categorized delivery failures
Pagination: offset (0-indexed) + limit (max 10). Uses total_pages from the API (accurate, unlike heuristic in search/meta).
Rate limit for this endpoint: 100 requests/minute (separate from the 5/min limit on campaign create/update operations).
Returns: {success: true, response_id, total_campaigns, current_page, total_pages, data: {campaign_id: [{platforms: {...}}]}} {success: false, error: str} on validation error (e.g. >10 campaign_ids). {success: false, error, status_code, api_response} on API error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | ||
| end_date | Yes | ||
| attribution_type | Yes | ||
| metric_type | Yes | ||
| campaign_ids | No | ||
| offset | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||