Comments (3)
+1 on wanting to see this issue fixed.
Within the standard Google Doubleclick DFA Reporting API, requests to retrieve files (https://developers.google.com/doubleclick-advertisers/reporting/v1.3/files/get) result in a redirect, and the Ruby API Client is not following those redirects. Thus, the (ugly) workaround involves parsing the response headers out of the client like this:
resp = client.execute(:api_method => dfa.reports.files.get, ...)
real_url = resp.response.env[:response_headers]["location"]
Curl::Easy.http_get real_url
from google-api-ruby-client.
Fixed in 0.7 if retries are enabled. Can do:
client.retries = 3 # Retry up to 3 times on recoverable errors.
from google-api-ruby-client.
Thanks! This solves our issue perfectly!
from google-api-ruby-client.
Related Issues (20)
- Support for attributes on ApplicationPolicy (androidmanagement_v1) HOT 1
- Rails console freezes when using gmail api gem HOT 6
- Is there a way of use addressvalidation using this gem? HOT 1
- NoMethodError: undefined method `discovered_api' for nil:NilClass HOT 1
- list_generatedapks issus
- `forbidden` exception when calling `commit_edit` HOT 1
- Need to support dataset.list and jobs.list API new field feature
- Vertex API (gemini-pro model) undefined method `has_key?' for ...
- add hook for http requests
- Google::Apis::Core::BaseService#root_url documented as an Addressable::URI, now treated as String HOT 3
- uninitialized constant Google::Apis::Core::DownloadCommand::Pathname HOT 2
- Adsense generate_account_report_csv returns nil due to content_type
- Support for Method: presentations.pages.getThumbnail in Slides HOT 2
- 404 not found HOT 1
- Insert table request is not able to copy already created table and paste it in another doc
- Add `Errno::ECONNRESET` to retriable network errors HOT 2
- Causing many GRPC requests per calling discovery engine search api once HOT 1
- No way to set `SSL_OP_IGNORE_UNEXPECTED_EOF` for ::HTTPClient, but Google services don't send `close_notify` HOT 1
- Warning: a recent release failed
- Constrain rexml version (or remove dep?) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-api-ruby-client.