Sunsetpatch

Apple Ads API · January 26, 2027

Apple Ads API v5 to Platform API: what changes and what to edit

Apple's changelog says it plainly: "The Apple Ads Campaign Management API is deprecated and will be sunset on January 26, 2027. Use the Apple Ads Platform API instead." (Apple's changelog). Anything that calls https://api.searchads.apple.com/api/v5/ (or a leftover /api/v4/) has to move to https://api.ads.apple.com/v1/. Version 1.0 of the Platform API has been live since August 2026, so you can test against it today.

The five changes that touch your code

  1. Base URL. api.searchads.apple.com/api/v5/ becomes api.ads.apple.com/v1/.
  2. Context header. X-AP-Context: orgId=<orgId> becomes X-AP-Context: adAccountId=<adAccountId>. Ad accounts are new: list yours with GET /v1/acls or GET /v1/me.
  3. Nested resources become top-level. Keywords, ads and ad groups are no longer addressed through their parent's path. You query /v1/keywords/query with a filter such as adGroupId.
  4. Search renamed. find with a selector becomes query with filters, sorting and pagination (the page size limit for reports is 5000).
  5. Reports have a new body and a new response. See the reports page.

OAuth does not change. Same ES256 client-secret JWT, same token endpoint at appleid.apple.com, same scope searchadsorg. Updates are partial: a PUT replaces only the fields you send, and arrays are replaced whole.

Endpoint map

The old call on the left, its Platform API replacement on the right. This is the same table the free check uses to annotate your code.

Check filters against a live account. The map follows Apple's documentation. A developer who ran both APIs side by side reports differences (for example, a campaignId filter on the campaign report was rejected and the field is id, and an empty report returns result: {} with no rows key). Treat the right-hand column as the starting point and test each call.

Campaign Management API v5Apple Ads Platform API v1
POST /campaigns/findPOST /v1/campaigns/query
GET|PUT|DELETE /campaigns/{id}GET|PUT|DELETE /v1/campaigns/{id}
POST /campaigns (create)POST /v1/campaigns
GET|POST /campaigns/{c}/adgroupsPOST /v1/adgroups/query (filter campaignId); POST /v1/adgroups to create
POST /campaigns/{c}/adgroups/findPOST /v1/adgroups/query
/campaigns/{c}/adgroups/{a}/targetingkeywords[/find]POST /v1/keywords/query (filter adGroupId)
/…/targetingkeywords/bulkPOST /v1/keywords/bulk-create, PUT → /v1/keywords/bulk-update
/…/targetingkeywords/delete/bulkPOST /v1/keywords/bulk-delete
/campaigns/{c}/negativekeywords[/find]POST /v1/negative-keywords/query (filter campaignId or adGroupId)
/campaigns/{c}/adgroups/{a}/ads[/find]POST /v1/ads/query (filter adGroupId); POST /v1/ads to create
POST /reports/campaignsPOST /v1/reports/apps/campaigns/query
POST /reports/campaigns/{c}/adgroupsPOST /v1/reports/apps/adgroups/query (filter campaignId)
POST /reports/campaigns/{c}/keywordsPOST /v1/reports/apps/keywords/query (filter campaignId)
POST /reports/campaigns/{c}/searchtermsPOST /v1/reports/apps/searchterms/query (filter campaignId)
/custom-reports (impression share)POST /v1/insights/apps/impression-share/query
GET /acls, GET /meGET /v1/acls (now also returns ad accounts), GET /v1/me
/search/apps, /search/geoGET /v1/search/apps, GET|POST /v1/search/geo
creativesetsRemoved: use creatives + ads

Before and after

- BASE = "https://api.searchads.apple.com/api/v5"
- headers = {"Authorization": f"Bearer {token}", "X-AP-Context": f"orgId={ORG_ID}"}
- r = requests.post(f"{BASE}/campaigns/{cid}/adgroups/{agid}/targetingkeywords/find", json=selector, headers=headers)
+ BASE = "https://api.ads.apple.com/v1"
+ headers = {"Authorization": f"Bearer {token}", "X-AP-Context": f"adAccountId={AD_ACCOUNT_ID}"}
+ r = requests.post(f"{BASE}/keywords/query", json=query_with_adGroupId_filter, headers=headers)

How to find every call

Search your code for searchads.apple.com, orgId, X-AP-Context and /api/v5. Then check configuration files, Airflow and dbt jobs, and any no-code connector you pay for: if a tool you use still shows "Apple Search Ads v5" it needs its vendor to update. Or paste your code into the free check, which runs in your browser and uploads nothing.

Have a script, ETL tap or dashboard on v5?

Fixed prices: $290 for a script, $690 for a connector, delivered as a pull request. You run the live check on your own account.

Run the free check See fixed prices