googleads / google-ads-ruby

Google Ads API Ruby Client Library
https://developers.google.com/google-ads/api/
Apache License 2.0
70 stars 66 forks source link

Is this gem using RPC over HTTP2 ? #499

Closed tdutreui-solocal closed 5 days ago

tdutreui-solocal commented 6 days ago

Hi, I am currently using the gcr gem to stub Google Ads API calls in my Rspec tests. I saw here that it is possible to use gRPC over HTTP2 : https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md

It would be more robust to me to use the common vcr gem to stub calls to your API, if these were done over HTTP. Is there a way to make google-ads-ruby use gRPC over HTTP2 ?

Thank you Thomas

mcloonan commented 6 days ago

I'm not sure whether the library uses gRPC over HTTP2 or not. You would get a better answer reaching out at the project that actually does the RPC layer of the library: https://github.com/googleapis/gapic-generator-ruby

tdutreui-solocal commented 5 days ago

Thank you ! let's go there