While making query via google ads ruby client, I get RST_STEAM error.SELECT 
campaign.id, segments.geo_target_city, geographic_view.location_type, 
geographic_view.country_criterion_id, segments.date, metrics.impressions, 
metrics.clicks, metrics.cost_micros, metrics.conversions, 
metrics.all_conversions, metrics.conversions_value, 
metrics.all_conversions_value, metrics.view_through_conversions, 
metrics.cross_device_conversions, metrics.video_views, 
metrics.interactions, metrics.top_impression_percentage, 
metrics.absolute_top_impression_percentage FROM geographic_view WHERE 
segments.date BETWEEN '2024-05-01' AND '2024-05-30' AND metrics.impressions 
> 0 AND campaign.id IN (REDACTED)

Even though there is just one campaign is filter I am unable to fetch 
response, This filtering I did to avoid DEADLINE EXCEEDED error.
I, [2024-06-13T13:12:37.279130 #516] INFO -- : Outgoing request: Headers: 
{"developer-token":"REDACTED","login-customer-id":"REDACTED","x-goog-api-client":"gl-ruby/3.1.4
 
gccl/27.0.0 gax/0.21.1 gapic/27.0.0 grpc/1.62.0 
pb/3.25.3","x-goog-request-params":"customer_id=REDACTED"} Payload: 
{"customerId":"REDACTED","query":"SELECT campaign.id, 
segments.geo_target_city, geographic_view.location_type, 
geographic_view.country_criterion_id, segments.date, metrics.impressions, 
metrics.clicks, metrics.cost_micros, metrics.conversions, 
metrics.all_conversions, metrics.conversions_value, 
metrics.all_conversions_value, metrics.view_through_conversions, 
metrics.cross_device_conversions, metrics.video_views, 
metrics.interactions, metrics.top_impression_percentage, 
metrics.absolute_top_impression_percentage FROM geographic_view WHERE 
segments.date BETWEEN '2024-05-01' AND '2024-05-30' AND metrics.impressions 
> 0 AND campaign.id IN (REDACTED)"} I, [2024-06-13T13:12:37.279244 #516] 
INFO -- : Incoming response (errors): GRPC::Internal(13:Received RST_STREAM 
with error code 2. debug_error_string:{UNKNOWN:Error received from peer 
ipv4:74.125.140.95:443 {grpc_message:"Received RST_STREAM with error code 
2", grpc_status:13, created_time:"2024-06-13T13:12:37.278635491+00:00"}}): 
called from: 
/home/deploy/.rvm/gems/ruby-3.1.4/gems/activesupport-6.1.7.7/lib/active_support/logger_thread_safe_level.rb:67:in
 
`add' *** GRPC::Internal Exception: 13:Received RST_STREAM with error code 
2. debug_error_string:{UNKNOWN:Error received from peer 
ipv4:74.125.140.95:443 {grpc_message:"Received RST_STREAM with error code 
2", grpc_status:13, created_time:"2024-06-13T13:12:37.278635491+00:00"}}
Ruby Client: `gem "google-ads-googleads", "~> 27.0.0"` Please Help !!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5a8d57fc-05e6-4bfa-a7fc-53ea29ddb414n%40googlegroups.com.

Reply via email to