# Marketing API v25.0 available until 2027-02-23

- **Provider:** Meta Graph API
- **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/docs/marketing-api/marketing-api-changelog/
- https://developers.facebook.com/documentation/ads-commerce/marketing-api/overview/versioning
- https://developers.facebook.com/docs/graph-api/changelog/version26.0

## Machine-readable

- Advisory: https://github.com/SriVarshini09/shapi-advisories/blob/main/advisories/meta-graph-marketing-api-v25-sunset.json
- OSV: https://shapi.dev/osv/meta-graph-marketing-api-v25-sunset.json
