Facebook Marketing Api Error : (#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v3.2."

Choon picture Choon · Feb 12, 2019 · Viewed 9.5k times · Source

When trying to use the Facebook Marketing API I'm getting the error this

Response:
{
  "error": {
    "message": "(#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v3.2.",

How I can upgrade facebook marketing api version from v3.0 to v3.2 ?

when I went to the "API Upgrade Tool"; nothing is showing up as shown in the following picture.

I already change the api version v3.0 to v3.2 in my marketing api setting but same error occur.

Please tell me how I can upgrade the Marketing API from v3.0 to v3.2.

Answer

metatrons picture metatrons · Jul 4, 2019

Go to /facebookads/apiconfig.py and change the version you want.

ads_api_config = {
  'API_VERSION': 'v3.3',
  'SDK_VERSION': 'v3.3.2',
  'STRICT_MODE': False
}