Private message regarding: GRPC call fail with outstanding reads

2025-01-15 Thread 'Himanshu Patel' via Google Ads API and AdWords API Forum
Here is the logs for same. With DEBUG level, logger used was Rails.logger I, [2025-01-14T07:56:27.781364 #296] INFO -- : CID: 7939080607, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v16.services.GoogleAdsService/SearchStream, IsFault: no, Request ID: N/A D, [2025-01-14T07

Private message regarding: GRPC call fail with outstanding reads

2025-01-15 Thread 'Himanshu Patel' via Google Ads API and AdWords API Forum
Here is the logs for same. With DEBUG level, logger used was Rails.logger I, [2025-01-14T07:56:27.781364 #296] INFO -- : CID: 7939080607, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v16.services.GoogleAdsService/SearchStream, IsFault: no, Request ID: N/A D, [2025-01-14T07

RST_STREAM error while fetching campaign segments even for 1 campaign alone

2024-06-17 Thread Himanshu Patel
I made below query to get campaign segments. But I get RST_STREAM error in return. -- QUERY 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 gap

RST_STREAM on fetching campaign segments

2024-06-17 Thread Himanshu Patel
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_conve

Re: internal_error in grpc ads api using ruby client

2023-10-16 Thread Himanshu Patel
Does this occur every time this query is executed? No. It works for some date range and fails for another. [Bob] So, it works for some date ranges and fails for others with all the metrics fields included? [Himanshu] Yes, that is correct Remove all the metrics fields from the select statement. If

Re: internal_error in grpc ads api using ruby client

2023-10-16 Thread Himanshu Patel
1. Does this occur every time this query is executed? No. It works for some date range and fails for another. 2. Remove all the metrics fields from the select statement. If that executes successfully, ad them back one by one until you have duplicated the error. I have found that the error goes a

Re: internal_error in grpc ads api using ruby client

2023-10-11 Thread Himanshu Patel
Hola, amigos Any Update? Able to debug? Need any help? On Tuesday, October 10, 2023 at 4:46:43 PM UTC+5:30 Himanshu Patel wrote: > ``` > # send_close=true, send_status=nil, message=nil, > metadata={"request-id"=>"UoW2uzAqG11rd6PrPKxzsw", "date"=&g

Re: internal_error in grpc ads api using ruby client

2023-10-10 Thread Himanshu Patel
``` #"UoW2uzAqG11rd6PrPKxzsw", "date"=>"Tue, 10 Oct 2023 11:09:55 GMT"}, status=#"\n%\n\x02P\x02\x12\x1FAn internal error has occurred.\x12\x16UoW2uzAqG11rd6PrPKxzsw", "grpc-status-details-bin"=>"\b\r\x12\eInternal error encountered.\x1A\x87\x01\nDtype.googleapis.com/google.ads.googleads.v14.e

INTERNAL_ERROR in GRPC Ads API using ruby client

2023-10-10 Thread Himanshu Patel
I make below request ``` Outgoing request: Headers: { "developer-token": "REDACTED", "login-customer-id": "REDACTED", "x-goog-api-client": "gl-ruby/2.7.5 gccl/23.0.0 gax/0.6.1 gapic/23.0.0 grpc/1.54.3", "x-goog-request-params": "customer_id=1250186013" } Payload: { "customerId": "1250186013", "q

Deprecated CSV endpoints for audience_type

2023-10-04 Thread Himanshu Patel
I earlier use to fetch a `tsv` file from below endpoint. https://developers.google.com/google-ads/api/data/tables/affinity-categories.tsv That API got deprecated and I used the `csv` one. https://developers.google.com/google-ads/api/data/tables/affinity-categories.csv Is there a way to fetch the

Getting empty response in query but still takes a long time

2023-09-29 Thread Himanshu Patel
I make below query ``` SELECT ad_group.id, asset.id, asset.name, asset.type, asset.image_asset.file_size, asset.image_asset.full_size.height_pixels, asset.image_asset.full_size.url, asset.image_asset.full_size.width_pixels, asset.image_asset.mime_type, asset.book_on_google_asset, asset.youtube

Re: can't set deadline exceeded limit on google ads ruby client.

2023-08-31 Thread Himanshu Patel
Yes, I referred the above said method for Timeout. I the examples given in github. Will raise an issue there. On Thursday, August 31, 2023 at 7:47:27 PM UTC+5:30 Google Ads API Forum Advisor wrote: > Hi Himanshu, > > Thank you for returning to our team. > > As for your concern, can you confirm

Re: can't set deadline exceeded limit on google ads ruby client.

2023-08-31 Thread Himanshu Patel
Request ID (SENSITIVE text means we removed that information from the text, but it is otherwise present) I, [2023-08-31T08:57:11.676461 #988] INFO -- : CID: SENSITIVE, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v14.services.GoogleAdsService/Search, IsFault: no, Request

Can't set deadline exceeded limit on Google Ads Ruby Client.

2023-08-30 Thread Himanshu Patel
Hi Google Ads Team, I followed the docs to set the max deadline for wait in Ruby GRPC Client. But I see that is not being honored. ``` @client.service.google_ads.configure do |config| config.rpcs.search_stream.timeout = STREAM_TIMEOUT_SECONDS end ``` But when I put a byebug and check in the cod