Hi, we're receiving an "Internal Error" when trying to execute the "search" 
method of "GoogleAdsService" using the googleads-python-lib. Below, I've 
pasted the debug log produced by the lib: (please note that I've replaced 
our customer_id with "ALSO-REDACTED".) Do you have any idea what the 
problem is, or any way to get it fixed?

Thank you, and please let me know if you need any additional information 
from me.

[2020-05-13 10:44:20,249] INFO [google.ads.google_ads.client]: Request
-------
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "x-goog-api-client": "gl-python/3.7.6 grpc/1.26.0 gax/1.15.0 gapic/4.1.1"
}
Request: customer_id: "ALSO-REDACTED"
query: "SELECT ad_group.id, ad_group.name, ad_group.campaign FROM ad_group 
ORDER BY ad_group.id"
page_token: 
"CPqosrm7qqLyKRDYswEYjr-J7aAuIhZnc3YzUGt2Yzlac25ta0FQZzBpcVlBKgJWMTAAOLiqvQFAu40O"
page_size: 1000


Response
-------
Headers: {
  "request-id": "isNrveLDHyVrDm0FfC3KSQ"
}
Fault: {
  "created": "@1589366660.248872582",
  "description": "Error received from peer ipv4:172.217.13.74:443",
  "file": "src/core/lib/surface/call.cc",
  "file_line": 1056,
  "grpc_message": "Internal error encountered.",
  "grpc_status": 13
}

[2020-05-13 10:44:20,249] WARNING [google.ads.google_ads.client]: Request 
made: ClientCustomerId: ALSO-REDACTED, Host: googleads.googleapis.com:443, 
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search, 
RequestId: isNrveLDHyVrDm0FfC3KSQ, IsFault: True, FaultMessage: Internal 
error encountered.
Using PROD AMP config
Traceback (most recent call last):
  File 
"/usr/local/lib/python3.7/site-packages/google/api_core/grpc_helpers.py", 
line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 
222, in __call__
    compression=compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 
257, in _with_call
    return call.result(), call
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 333, 
in result
    raise self
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 
248, in continuation
    compression=new_compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 
272, in with_call
    compression=compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 
257, in _with_call
    return call.result(), call
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 333, 
in result
    raise self
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 
248, in continuation
    compression=new_compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 
272, in with_call
    compression=compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 
256, in _with_call
    continuation, client_call_details, request)
  File 
"/usr/local/lib/python3.7/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py",
 
line 139, in intercept_unary_unary
    self._handle_grpc_failure(response)
  File 
"/usr/local/lib/python3.7/site-packages/google/ads/google_ads/interceptors/exception_interceptor.py",
 
line 118, in _handle_grpc_failure
    raise exception
  File "/usr/local/lib/python3.7/site-packages/grpc/_interceptor.py", line 
248, in continuation
    compression=new_compression)
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 835, 
in with_call
    return _end_unary_response_blocking(state, call, True, None)
  File "/usr/local/lib/python3.7/site-packages/grpc/_channel.py", line 726, 
in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated 
with:
\tstatus = StatusCode.INTERNAL
\tdetails = "Internal error encountered."
\tdebug_error_string = 
"{"created":"@1589366660.248872582","description":"Error received from peer 
ipv4:172.217.13.74:443","file":"src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Internal
 
error encountered.","grpc_status":13}"
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/c49aee26-3abd-4948-8a9c-f9606ad68a27%40googlegroups.com.

Reply via email to