Marketing API v25.0 available until 2027-02-23
- Provider
- Meta
- Endpoint
* /v25.0/act_*/**- Effective
- 2027-02-23
- Severity
- high
- Change
- version-sunset
- Status
- verified
- Automatic fix
apply-fix
What changed
Marketing API v25.0 is available until 2027-02-23 (Graph API v25.0 itself runs to 2028). After that, ads calls pinned to v25.0 fail or are auto-upgraded, and endpoints that changed in v26.0 fail. Meta also says the explicit targeting_automation.advantage_audience flag becomes mandatory on all versions once v25.0 is deprecated.
What to do
Upgrade Marketing API calls to v26.0, set targeting_automation.advantage_audience to 1 or 0 explicitly on ad set targeting, and review the v26.0 changelog (poll ads, Messenger Stories, Explore placement, delivery estimate fields) before 2027-02-23.
Sources
- Provider notice
- https://developers.facebook.com/documentation/ads-commerce/marketing-api/overview/versioning
- https://developers.facebook.com/docs/graph-api/changelog/version26.0
Check your code
bash
npx shapi-cli scan .shapi scan lists the call sites this change affects; shapi fix repairs them test-first when the advisory has an automatic fix. All advisories · Markdown · OSV · JSON