"Fault: Connection closed after GOAWAY. HTTP/2 error code: NO_ERROR, debug data: session_timed_out" when sending request to Google Ads API
I am using google-ads-java library to fetch campaigns from my Google Ads account follow this Google Ads API tutorial.
Everything is smooth with my ads.properties
setting (clientId, clientSecret, refreshToken, developerToken, loginCustomerId)
But when it runs, it doesn't output anything then after a while, it shows an error:
c.g.ads.googleads.lib.request.summary : FAILURE REQUEST SUMMARY. Method: google.ads.googleads.v15.services.GoogleAdsService/SearchStream, Endpoint: googleads.googleapis.com:443, CustomerID: {my_ad_manager_id}, RequestID: null, ResponseCode: UNAVAILABLE, Fault: Connection closed after GOAWAY. HTTP/2 error code: NO_ERROR, debug data: session_timed_out. c.g.ads.googleads.lib.request.detail : FAILURE REQUEST DETAIL. Request ------- MethodName: google.ads.googleads.v15.services.GoogleAdsService/SearchStream Endpoint: googleads.googleapis.com:443 Headers: {developer-token=REDACTED, login-customer-id={my_ad_manager_id}, x-goog-api-client=gl-java/19.0.2 gccl/28.0.0 gapic/28.0.0 gax/2.32.0 grpc/1.56.1} Body: customer_id: "{my_ad_account_id}" query: "SELECT campaign.id, campaign.name FROM campaign ORDER BY campaign.id" Response -------- Headers: null Body: null Failure message: null Status: Status{code=UNAVAILABLE, description=Connection closed after GOAWAY. HTTP/2 error code: NO_ERROR, debug data: session_timed_out, cause=null}.
No further info at my local.
When I check the Google Cloud APIs & Services Dashboard, it shows all the requests got 403 error