Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v3.1.: #51

Closed
aminabloc opened this issue Jul 30, 2018 · 10 comments

Comments

@aminabloc
Copy link

Hi! I am having issues making calls to the API using token for my main account. Things are working find when I push & fetch data using my sandbox credentials.

@rajraj
Copy link

rajraj commented Aug 13, 2018

I am getting this as well when using the marketing API,

Ruby 2.4.3
Rails 5.2
FacebookAds 0.2.11.0

@aminabloc
Copy link
Author

Heads up that I was able to work around this by making sure I was using the 3.0 version of the API for apps I created before July 26, but anything created after defaults to using 3.1 -_- Koala also allowed me to manually set my API version https://github.com/arsduo/koala Seems like none of the official sdks at this point support 3.1 or hard setting an API version...

@rajraj
Copy link

rajraj commented Aug 13, 2018

Thanks @aminabloc for the prompt response.

We are only using the apis provided by this gem to upload video files to Facebook. How did you able to get around this issue if you don't mind me asking?

@rajraj
Copy link

rajraj commented Aug 16, 2018

I have updated to the latest version of the gem and it seems to be working now. Thanks.

@kurko
Copy link

kurko commented Dec 4, 2018

@rajraj is this still working? It seems like 0.3.2.x is completely broken, as well as 0.3.1.x.

@rajraj
Copy link

rajraj commented Dec 4, 2018

@kurko sorry for the late response. I no longer works on that project so not sure if its still works, sorry!

@stale
Copy link

stale bot commented Jan 14, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Jan 14, 2020
@kurko
Copy link

kurko commented Jan 17, 2020

Still waiting for an answer.

@stale stale bot removed the Stale label Jan 17, 2020
@rodrigo-puente
Copy link

rodrigo-puente commented Jan 23, 2020

@kurko you can make it work this way:

ad_account = FacebookAds::AdAccount.get("act_id", 'name', {
     access_token: token, app_secret: secret, api_version: '5.0'
})

Or

session = FacebookAds::Session.new(access_token: <ACCESS_TOKEN>, app_secret: <APP SECRET>, api_version: <VERSION>)

VERSION being 5.0 right now.

@jingping2015
Copy link
Contributor

Please update your SDK version to make sure still call valid API version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants