google.api_core.exceptions.RetryError: Deadline of 3600.0s exceeded while calling functools.partial(<function _wrap_unary_errors.<locals>.error_remapped_callable at 0x12c88e050>, customer_id: "xxxxxxxxxx"
query: "SELECT ad_group.id,detail_placement_view.placement,detail_placement_view.display_name,detail_placement_view.placement_type,detail_placement_view.target_url,metrics.video_quartile_25_rate,metrics.video_quartile_50_rate,metrics.video_quartile_75_rate,metrics.video_quartile_100_rate,metrics.video_views,metrics.cost_micros,metrics.clicks,metrics.impressions,metrics.conversions,metrics.all_conversions,metrics.view_through_conversions,segments.date,segments.device FROM detail_placement_view WHERE segments.date BETWEEN \'xxxx-xx-xx\' AND \'xxxx-xx-xx\'"
, metadata=[('x-goog-request-params', 'customer_id= xxxxxxxxxx'), ('x-goog-api-client', 'gl-python/3.7.4 grpc/1.23.0 gax/1.14.2 gapic/3.2.0')]), last exception: 503 502:Bad Gateway
Since this is a 503/502 error, I'm assuming this is an internal issue with the Google Ads API.
What could be possibly causing this issue?
Hi Kenneth,
Thanks for sharing the error logs. The error '502 Bad Gateway' could be a transient issue which is caused when the servers are not reachable. Could you please retry the request? If you are facing an issue, could you please share the complete request and response logs along with the client customer id, to check this further? Please use Reply privately to author option while sharing the details.
Regards,
Nikisha Patel, Google Ads API Team