Hi Team,

We have noticed from the last few days, google ads API has been unstable 
and fails intermittently. We had some internal server errors today and upon 
re-trying they have been failing with the same error. Could you please 
check since this is impacting our production application? I'm sharing logs 
of 2 runs below - 

[2022-12-08 14:24:29,518] {{logging_mixin.py:112}} INFO - [2022-12-08 
14:24:29,517] {{logging_interceptor.py:267}} INFO - Request
-------
Method: /google.ads.googleads.v10.services.GoogleAdsService/SearchStream
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "5464537117",
  "x-goog-api-client": "gl-python/3.7.15 grpc/1.38.1 gax/1.31.5 
gccl/16.0.0",
  "x-goog-request-params": "customer_id=4059920229"
}
Request: customer_id: "4059920229"
query: "SELECT 
customer.descriptive_name,\ncampaign.id,\ncampaign.name,\ncampaign.status,\nad_group.id,\nad_group.name,\nad_group.status,\nsearch_term_view.status,\nmetrics.clicks,\nmetrics.conversions,\nmetrics.cost_micros,\nsegments.date,\nsegments.day_of_week,\nsegments.device,\nmetrics.impressions,\nsegments.keyword.info.text,\nsegments.keyword.ad_group_criterion,\nsegments.month,\nsegments.ad_network_type,\nsearch_term_view.search_term,\nsegments.week,\nsegments.year
 
FROM search_term_view WHERE segments.date = \'2022-12-06\'"


Response
-------
Headers: {
  "google.ads.googleads.v10.errors.googleadsfailure-bin": 
"\nA\n\u0002P\u0004\u0012;A transient internal error has occurred. Retry 
the request.\u0012\u0016vVM-s3QGQi9FLDvQ86VWZQ",
  "grpc-status-details-bin": "\b\r\u0012\u001bInternal error 
encountered.\u001a\u0001\nDtype.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure\u0012[\nA\n\u0002P\u0004\u0012;A
 
transient internal error has occurred. Retry the 
request.\u0012\u0016vVM-s3QGQi9FLDvQ86VWZQ",
  "request-id": "vVM-s3QGQi9FLDvQ86VWZQ"
}
Fault: {
  "created": "@1670509469.517541245",
  "description": "Error received from peer ipv4:172.253.122.95:443",
  "file": "src/core/lib/surface/call.cc",
  "file_line": 1066,
  "grpc_message": "Internal error encountered.",
  "grpc_status": 13
}

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


[2022-12-08 14:11:36,608] {{logging_mixin.py:112}} INFO - [2022-12-08 
14:11:36,608] {{logging_interceptor.py:267}} INFO - Request
-------
Method: /google.ads.googleads.v10.services.GoogleAdsService/SearchStream
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "5464537117",
  "x-goog-api-client": "gl-python/3.7.15 grpc/1.38.1 gax/1.31.5 
gccl/16.0.0",
  "x-goog-request-params": "customer_id=4700016696"
}
Request: customer_id: "4700016696"
query: "SELECT 
customer.descriptive_name,\ncampaign.id,\ncampaign.name,\ncampaign.status,\nad_group.id,\nad_group.name,\nad_group.status,\nsearch_term_view.status,\nmetrics.clicks,\nmetrics.conversions,\nmetrics.cost_micros,\nsegments.date,\nsegments.day_of_week,\nsegments.device,\nmetrics.impressions,\nsegments.keyword.info.text,\nsegments.keyword.ad_group_criterion,\nsegments.month,\nsegments.ad_network_type,\nsearch_term_view.search_term,\nsegments.week,\nsegments.year
 
FROM search_term_view WHERE segments.date = \'2022-12-06\'"


Response
-------
Headers: {
  "google.ads.googleads.v10.errors.googleadsfailure-bin": 
"\nA\n\u0002P\u0004\u0012;A transient internal error has occurred. Retry 
the request.\u0012\u0016hi2w2fw16nuqbOZ_GME5-A",
  "grpc-status-details-bin": "\b\r\u0012\u001bInternal error 
encountered.\u001a\u0001\nDtype.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure\u0012[\nA\n\u0002P\u0004\u0012;A
 
transient internal error has occurred. Retry the 
request.\u0012\u0016hi2w2fw16nuqbOZ_GME5-A",
  "request-id": "hi2w2fw16nuqbOZ_GME5-A"
}
Fault: {
  "created": "@1670508696.602557205",
  "description": "Error received from peer ipv4:172.253.122.95:443",
  "file": "src/core/lib/surface/call.cc",
  "file_line": 1066,
  "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 
"Google Ads API and AdWords 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/35f7deba-48aa-460a-9c58-61503d173ec7n%40googlegroups.com.

Reply via email to