--- title: "Get app push campaign analytics with OAuth 2.0" slug: "get-app-push-campaign-analytics-with-oauth-2-0" description: "Get a single App Push campaign's statistics in Insider One with the OAuth 2.0 reporting API: summary, variants, unsuccessful messages, and charts." updated: 2026-11-23T14:40:19Z published: 2026-11-23T14:40:19Z canonical: "academy.insiderone.com/get-app-push-campaign-analytics-with-oauth-2-0" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Get app push campaign analytics with OAuth 2.0 Use this request to get the statistics of a single App Push campaign: the per-platform summary, variants, unsuccessful messages, and charts. The figures are the same ones the campaign's analytics page in the InOne panel shows. > Journey (Architect) campaigns are not reported. > Your OAuth 2.0 token must include the mob-get-app-push-reports scope. See [OAuth 2.0 Credentials](/docs/oauth-20-credentials). ## Endpoint and headers > **POST** https://gw.useinsider.com/api/mob/v2/app-push/reporting/campaign | Header | Sample Value | Description | | --- | --- | --- | | Authorization | Bearer {oauth2-token} | Required. An OAuth 2.0 token for a credential with the mob-get-app-push-reports scope. | | Content-Type | application/json | Required. | ## Body parameters | Column | Description | Data Type | Required | | --- | --- | --- | --- | | campaign_id | The campaign ID. It must be a positive ID. | Integer | Yes | | campaign_type | The campaign type: "single", "recurring", "conversion", "geofence", or "cart_reminder". "conversion" and "cart_reminder" read the same campaign, and applied.campaign_type reports its stored type. | String | Yes | | start_time | The start of the date range as a 10-digit Unix timestamp in seconds. Send both start_time and end_time, or neither. | Integer | No | | end_time | The end of the date range as a 10-digit Unix timestamp in seconds. The API rejects an explicit range over 366 days with a 400 response and never shortens it. | Integer | No | | goal_id | A goal ID from the response's header.goal. If missing or 0, the panel's default goal (Purchase first) is used. | Integer | No | ### Date range rules - **No range sent, non-single campaign:** The report covers the campaign's lifetime from its delivery day to today, limited to the last 366 days. applied.lifetime is true. - **Single push (any layout):** The report always runs from the delivery day to 30 days later, whatever range you send. applied shows the range used. ## Sample request ```bash curl --location 'https://gw.useinsider.com/api/mob/v2/app-push/reporting/campaign' \  --header 'Content-Type: application/json' \  --header 'Authorization: Bearer {oauth2-token}' \  --data '{    "campaign_id": 9004,    "campaign_type": "conversion",    "start_time": 1767214800,    "end_time": 1769893199,    "goal_id": 2  }' ``` ### Sample response ```json {  "applied": {    "campaign_id": 9004,    "campaign_type": "conversion",    "start_time": 1767214800,    "end_time": 1769893199,    "timezone": "Europe/Istanbul",    "goal_id": 2,    "lifetime": false  },  "header": {    "goal": [      { "name": "add_to_cart", "parameters": [{ "goal_id": 1, "name": "None" }] },      { "name": "Purchase", "parameters": [{ "goal_id": 2, "name": "None" }] }    ],    "filters": { "start_date": "2026-01-01", "end_date": "2026-01-31", "goal_id": 2 },    "is_commercial": true  },  "detail": {    "camp_id": 9004,    "camp_type": "conversion",    "name": "Winter Sale 9004",    "status": "running",    "rule": "When a user triggers product_detail_page_view but does not trigger confirmation_page_view send push 2 hours later",    "start_date": "2026-01-01",    "end_date": "2026-03-01",    "report_start_date": "2026-01-01",    "report_end_date": "2026-01-31"  },  "statistics": {    "all": {      "click": {        "summary": {          "targeted": 15600, "sent": 13200, "dropped": 71, "delivered": 12000, "delivery_rate": 90.91,          "undelivered": 38, "open": 2040, "open_rate": 17, "conversion": 252, "conversion_rate": 2.1,          "revenues": [{ "currency": "TRY", "revenue": 21000 }, { "currency": "USD", "revenue": 1500 }],          "uplift": 12.4, "significance": 91.5        },        "variants": { "all_data": [ { "...": "one row per variant and control group" } ] }      },      "view": { "...": "same keys as click, view-through attribution" },      "unsuccessful_messages": {        "dropped": [          { "name": "re_eligibility", "value": 41, "percentage": 57.75 },          { "name": "frequency_capped", "value": 23, "percentage": 32.39 },          { "name": "silent_hours", "value": 7, "percentage": 9.86 }        ]      },      "performance_by_variants": { "line_chart": { "...": "daily, weekly and monthly series" } },      "performance_by_elements": []    },    "android": { "...": "same keys as all" },    "ios": { "...": "same keys as all" }  },  "provider_errors": { "ios": [], "android": [], "huawei": [] } } ``` #### Response fields | Field | Description | | --- | --- | | applied | The campaign, window, timezone, and goal the report was calculated with. lifetime is true when you sent no range and the campaign lifetime was used. | | header | The goals the campaign tracks (use a goal_id from here), the filters used, and whether the campaign is commercial. | | detail | The campaign name, type, status, rule, dates, and the reported range. | | statistics..click and statistics..view | The click-through and view-through results: summary totals, and variants with each variant's and the control group's figures. uplift and significance compare the variants with the control group. | | statistics..unsuccessful_messages | The dropped and undelivered messages by reason. | | statistics..performance_by_variants and statistics..performance_by_elements | The panel's variant and element charts. | | provider_errors | The push provider errors per platform with their counts. | ### Error responses Errors 400 (3001 and 3002), 401, 403 (3007), 429, 502 (3003), 503 (3005), and 504 (3006) work as described in [Get Overall App Push Campaign Analytics with OAuth 2.0](/docs/get-overall-app-push-campaign-analytics-with-oauth-2-0#error-responses). The following errors are specific to this endpoint. #### 400 Validation failed (3002): campaign-specific messages | Field | Message | | --- | --- | | campaign_id | is required or must be a positive id | | campaign_type | is required or "" is not an App Push campaign type | | start_time or end_time | is required, when you send only the other one | | end_time | the window is longer than 366 days | | goal_id | must be a positive id | #### 404 Not found (3004) This status indicates that no reportable campaign has this ID and type, or that the campaign holds only a control group. ```json {  "message": "not found",  "errorCode": 3004,  "errors": { "campaign_id": "no reportable campaign has this id" } } ``` ## Limitations - An explicit range is at most **366 days**. Without a range, a non-single campaign returns its last 366 days. - A single push is always reported for 30 days from its delivery day. - Journey (Architect) campaigns are not reported. - You can send **600 requests per 60 seconds**, with a burst of 10.