Request made: ClientCustomerId: ***********, Host:
googleads.googleapis.com, Method: /google.ads.googleads.v8.services.GoogleAdsService/SearchStream, RequestId: None, IsFault: True, FaultMessage: failed to connect to all addresses
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\google\api_core\grpc_helpers.py", line 160, in error_remapped_callable
return _StreamingResponseIterator(
File "C:\ProgramData\Anaconda3\lib\site-packages\google\api_core\grpc_helpers.py", line 83, in __init__
self._stored_first_result = six.next(self._wrapped)
File "C:\ProgramData\Anaconda3\lib\site-packages\google\ads\googleads\interceptors\response_wrappers.py", line 98, in __next__
raise e
File "C:\ProgramData\Anaconda3\lib\site-packages\google\ads\googleads\interceptors\response_wrappers.py", line 95, in __next__
self._failure_handler(self._underlay_call)
File "C:\ProgramData\Anaconda3\lib\site-packages\google\ads\googleads\interceptors\exception_interceptor.py", line 71, in _handle_grpc_failure
raise self._get_error_from_response(response)
File "C:\ProgramData\Anaconda3\lib\site-packages\google\ads\googleads\interceptors\response_wrappers.py", line 85, in __next__
message = next(self._underlay_call)
File "C:\Users\Admin\AppData\Roaming\Python\Python38\site-packages\grpc\_channel.py", line 426, in __next__
return self._next()
File "C:\Users\Admin\AppData\Roaming\Python\Python38\site-packages\grpc\_channel.py", line 642, in _next
return self._next_response()
File "C:\Users\Admin\AppData\Roaming\Python\Python38\site-packages\grpc\_channel.py", line 617, in _next_response
raise self
grpc._channel._SingleThreadedRendezvous: <_SingleThreadedRendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1631689752.856000000","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3187,"referenced_errors":[{"created":"@1631689752.856000000","description":"failed to connect to all addresses","file":"src/core/lib/transport/error_utils.cc","file_line":146,"grpc_status":14}]}"
>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:/Users/Admin/PycharmProjects/pythonProject3/test5.py", line 14, in <module>
print(ga_service.search_stream(customer_id=customer_id, query=query))
File "C:\ProgramData\Anaconda3\lib\site-packages\google\ads\googleads\v8\services\services\google_ads_service\client.py", line 2933, in search_stream
response = rpc(
File "C:\ProgramData\Anaconda3\lib\site-packages\google\api_core\gapic_v1\method.py", line 145, in __call__
return wrapped_func(*args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\google\api_core\grpc_helpers.py", line 164, in error_remapped_callable
six.raise_from(exceptions.from_grpc_error(exc), exc)
File "<string>", line 3, in raise_from
google.api_core.exceptions.ServiceUnavailable: 503 failed to connect to all addresses