Join betaSign in
By Variafy team / Updated 23 November 2026

Meta Ads API error 2635 “deprecated version of the Ads API”: fix

Error 2635 means the request names a Marketing API version that Meta has retired. Change the version in the request path, SDK or connector to the version named in the message (shown as vXXX) or a current one, then repeat the call.

On this page7 sections

The exact message

You are calling a deprecated version of the Ads API. Please update to the latest version: vXXX

Error code: 2635

What it means

Meta’s developer blog describes error (#2635) as the one an app receives when it calls a deprecated version of the Ads API. The message names the version to move to in place of vXXX.

The same post explains that since May 2024 Meta can auto-upgrade calls to the next available version for endpoints that are not affected between versions, so those calls do not fail. Endpoints that are affected by the next version are not auto-upgraded and fail instead. The post’s example is that after v17.0 was deprecated, POST /{adset-id} on v17.0 would fail, while GET /{ad-account-id}/insights would be upgraded to v18.0.

The post says apps already calling versions higher than the deprecated one see no change on the deprecation date, and that a response header, X-Ad-Api-Version-Warning, shows when a call was auto-upgraded. It also points to a setting under the Marketing API product, Ads API Version Settings, to opt out of auto-upgrade.

Our advice: the symptom can be partial, since reads may keep working while edits fail. If only some calls fail, check the version in your requests first.

How to fix it

  1. Find the version in the request path (for example the vNN.0 segment) or in the SDK or connector configuration.

  2. Change it to the version named in the error message, or to a current supported version.

  3. Check the response header X-Ad-Api-Version-Warning to see whether Meta auto-upgraded other calls.

  4. Review the changelog of the new version for the endpoints you use before relying on it.

Common causes

  • The request path, SDK or connector is pinned to a Marketing API version that Meta has retired.
  • The call is to an endpoint that changed in the next version, so it is not auto-upgraded.

Check it from your AI assistant

Variafy connects ChatGPT, Claude and other AI assistants to your Meta ad accounts and reads the same status, review and error fields, so you can ask “Why is this ad not running?” and get the reason with the affected ad. Every change it prepares is shown as a preview and runs only after you confirm it. Set it up in Claude or ChatGPT; Meta approved the Variafy app in App Review on 12 November 2026.

Source

Checked on 23 November 2026 against Meta for Developers blog: Marketing API version deprecation and auto-upgrade. Meta changes its messages and help pages; if what you see differs, follow the steps shown in your account.

Questions

What does “You are calling a deprecated version of the Ads API” (error 2635) mean?

The request uses a Marketing API version that Meta has retired. The message tells you which version to update to, shown as vXXX in the template.

Why do some of my Ads API calls work and others fail with error 2635?

Meta auto-upgrades calls to endpoints that are unaffected by the next version, but endpoints that changed are not upgraded and fail. Meta’s example is that insights reads are upgraded while ad set edits fail.

How do I know if Meta auto-upgraded my call?

Meta says to check the response header X-Ad-Api-Version-Warning, which states that the call was auto-upgraded.

Related