Coder Social home page Coder Social logo

(#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v3.1.: about facebook-ruby-business-sdk HOT 10 CLOSED

aminabloc avatar aminabloc commented on April 19, 2024
(#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v3.1.:

from facebook-ruby-business-sdk.

Comments (10)

rodrigo-puente avatar rodrigo-puente commented on April 19, 2024 3

@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.

from facebook-ruby-business-sdk.

rajraj avatar rajraj commented on April 19, 2024

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

Ruby 2.4.3
Rails 5.2
FacebookAds 0.2.11.0

from facebook-ruby-business-sdk.

aminabloc avatar aminabloc commented on April 19, 2024

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...

from facebook-ruby-business-sdk.

rajraj avatar rajraj commented on April 19, 2024

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?

from facebook-ruby-business-sdk.

rajraj avatar rajraj commented on April 19, 2024

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

from facebook-ruby-business-sdk.

kurko avatar kurko commented on April 19, 2024

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

from facebook-ruby-business-sdk.

rajraj avatar rajraj commented on April 19, 2024

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

from facebook-ruby-business-sdk.

stale avatar stale commented on April 19, 2024

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.

from facebook-ruby-business-sdk.

kurko avatar kurko commented on April 19, 2024

Still waiting for an answer.

from facebook-ruby-business-sdk.

jingping2015 avatar jingping2015 commented on April 19, 2024

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

from facebook-ruby-business-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.