Giter VIP home page Giter VIP logo

Comments (7)

TigerWolf avatar TigerWolf commented on May 14, 2024

You can trick the api client by modifying the date in the credentials which will give you a new token. This will temporarily get your feature working without changes to the api client.

from google-api-ads-ruby.

rocky-jaiswal avatar rocky-jaiswal commented on May 14, 2024

Ah ok. Thanks :)

from google-api-ads-ruby.

dklimkin avatar dklimkin commented on May 14, 2024

Actually, I'd like us to improve this. We need to add a library method to enforce the refresh.

from google-api-ads-ruby.

Sohair63 avatar Sohair63 commented on May 14, 2024

Anyone resolved this yet ?

[INTERNAL_SERVER_ERROR] exception="OAuth2 token refresh failed" 
backtrace="/usr/local/rvm/gems/ruby-2.3.3/gems/google-ads-common-0.12.6/lib/ads_common/auth/oauth2_handler.rb:100:in `rescue in refresh_token!'

from google-api-ads-ruby.

dklimkin avatar dklimkin commented on May 14, 2024

Hi Sohair63, it's very likely this error is due to a local misconfiguration and not related to the enhancement here. Please reach out to the product (AdWords or DFP) support to look into your specific issue.
AdWords: https://groups.google.com/forum/#!forum/adwords-api
DFP: https://groups.google.com/forum/#!forum/google-doubleclick-for-publishers-api

from google-api-ads-ruby.

Sohair63 avatar Sohair63 commented on May 14, 2024

Thanks @dklimkin

from google-api-ads-ruby.

mcloonan avatar mcloonan commented on May 14, 2024

This was added with the latest ads-common release.

from google-api-ads-ruby.

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.