Closed HunterHillegas closed 3 years ago
Same issue. HunterHillegas, Do you find a solution ? Thks
@jidylle I haven't, though I haven't come back to it for a bit. I was hoping someone here might have an answer since either I must be fundamentally doing something wrong or there's some sort of code issue.
@HunterHillegas For information, updating the gemfile with "facebookbusiness", "~> 0.9.0.0" worked for me.
That worked for me as well. Thanks!
The current latest version for Facebook Business SDK is v5.0.5 The current latest version for Graph verison 9.0
GoTo:
vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php class ApiConfig { const APIVersion = '9.0'; const SDKVersion = '5.0.1'; const TYPE_CHECKER_STRICT_MODE = false; }
Change like this
Which SDK version are you using?
Gem v0.8.0.4
What's the issue?
Following the instructions here to send conversions with this SDK under the 'send requests' section: https://developers.facebook.com/docs/marketing-api/conversions-api/using-the-api
Any request sent returns with this error:
FacebookAds::ClientError ((#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v9.0.: (fbtrace_id: xxxxx))
Steps/Sample code to reproduce the issue
Observed Results:
FacebookAds::ClientError ((#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v9.0.: (fbtrace_id: xxxxx))
Expected Results:
The request would succeed and the event would be posted.