Apple Ads API · reports
Apple Ads reports: moving a reporting pipeline off v5
Reporting pipelines are where the Apple Ads migration hurts, because the report request and response both change. Reports are covered by Apple's Platform API documentation; this page is the short version.
| v5 (going away) | Platform API v1 | |
|---|---|---|
| Campaign report | POST /reports/campaigns | POST /v1/reports/apps/campaigns/query |
| Ad group report | POST /reports/campaigns/{c}/adgroups | POST /v1/reports/apps/adgroups/query with a campaignId filter |
| Ad report | POST /reports/campaigns/{c}/ads | POST /v1/reports/apps/ads/query |
| Keyword report | POST /reports/campaigns/{c}/keywords | POST /v1/reports/apps/keywords/query |
| Search terms report | POST /reports/campaigns/{c}/searchterms | POST /v1/reports/apps/searchterms/query |
| Impression share | /custom-reports | POST /v1/insights/apps/impression-share/query |
| Request body | Start/end dates, selector, groupBy, returnRowTotals | timeRange, filters, groupBy, pagination (max 5000) |
| Response | data.reportingDataResponse.row[] | result.rows[] with totalMetrics and granularMetrics |
What to do in a pipeline
- Change the URL and the context header (
adAccountIdreplacesorgId). - Build the new request body: the old
selectorconditions becomefilters. - Write one function that flattens
result.rows[]into the same rows your tables already expect, so nothing downstream changes. - Run old and new side by side for a week of data and compare totals before January 26.
The overall change list is on the main migration page.
Reporting pipeline still on v5?
The $690 Connector package remaps report rows so downstream tables keep their columns.