Campaign API failed due to Connection Time Out

119 views
Skip to first unread message

changhong yun

unread,
May 18, 2023, 10:11:20 PM5/18/23
to Google Ads API and AdWords API Forum
Hi Team, we hit one exception regarding the timeout, could you please check the issue log as below, thank you very much.

date:2023-05-19T05:43:41.037+09:00 thread:grpc-default-executor-7 track: level:WARN logger:com.google.ads.googleads.lib.request.summary message:FAILURE REQUEST SUMMARY. Method: google.ads.googleads.v12.services.GoogleAdsService/SearchStream, Endpoint: googleads.googleapis.com:443, CustomerID: 5014627391, RequestID: null, ResponseCode: UNAVAILABLE, Fault: io exception.

date:2023-05-19T05:43:41.040+09:00 thread:grpc-default-executor-7 track: level:INFO logger:com.google.ads.googleads.lib.request.detail message:FAILURE REQUEST DETAIL.

Request

-------

MethodName: google.ads.googleads.v12.services.GoogleAdsService/SearchStream

Endpoint: googleads.googleapis.com:443

Headers: {developer-token=REDACTED, login-customer-id=5693729523, x-goog-api-client=gl-java/17.0.2 gccl/22.0.0 gapic/22.0.0 gax/2.12.2 grpc/1.44.0 pb/3.19.6}

Body: customer_id: "5014627391"

query: "SELECT customer.id, campaign.id, campaign_budget.amount_micros FROM campaign WHERE segments.date = \'2023-05-19\' ORDER BY campaign.id"



Response

--------

Headers: null

Body: null

Failure message: null

Status: Status{code=UNAVAILABLE, description=io exception, cause=io.grpc.netty.shaded.io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection timed out

}.


Google Ads API and AdWords API Forum

unread,
May 19, 2023, 3:50:07 PM5/19/23
to Google Ads API and AdWords API Forum
Re-posting the last inquiry (https://groups.google.com/g/adwords-api/c/2LoSETqvDdcfrom the forum as it wasn't routed to our support queue.

Regards,
Google Ads API Team

Google Ads API and AdWords API Forum

unread,
May 19, 2023, 5:03:14 PM5/19/23
to Google Ads API and AdWords API Forum
Hi,

Thank you for raising this issue to the Google Ads API support team.

Regarding your concern, can you confirm if you already retry your request and yet you still got the same error? If you haven't yet, I suggest doing so. Also, you may check this Timeout (

Regards,
Google Ads API Team
On Friday, May 19, 2023 at 10:11:20 AM UTC+8 changh...@rakuten.com wrote:

changhong yun

unread,
May 21, 2023, 8:47:07 PM5/21/23
to Google Ads API and AdWords API Forum
Hi,

     Thanks for your feedback, could you guide me which error type we should include to proceed retry? Coz we won't add all the exceptions for retry handling. Thank you very much.

Regards,
Aaron

Google Ads API Forum Advisor

unread,
May 23, 2023, 3:41:32 AM5/23/23
to adwor...@googlegroups.com

Hi Aaron,

Thank you for the reply.

What we mean is, did you try the request again and still encounter issues (example: code=UNAVAILABLE, description=io exception, cause=io.grpc.netty.shaded.io.netty.channel.unix.Errors)? $NativeIoException: readAddress(..) failed: Connection timed out)?

If you still haven't tried the request again, then we would suggest you try it again so we can check if this is just a transient issue.

On the other hand, please also try our API explorer here: "https://developers.google.com/google-ads/api/rest/reference/rest/v13/customers.googleAds/searchStream#:~:text=Authorization%20Scopes-,Try%20it!,-Caution%3A%20You", and let us know how it goes on your end, so that we can further check if the issue causing it is from the client library and also for our team to provide appropriate recommendations to you.
 

This message is in relation to case "ref:_00D1U1174p._5004Q2lKDtE:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages