We are getting an error when attempting any type of request to the Google 
Ads API.  There's not much info to go by about how to address this error.

The main error is: *google.api_core.exceptions.DeadlineExceeded: 504 
Deadline Exceeded*


Below is a stack trace.  Any guidance on what to do here?

Traceback (most recent call last):  File "dev_ads.py", line 221, in <module>
    main()
  File "dev_ads.py", line 217, in main
    get_managed_customer_metricts(client, customer_id)
  File "dev_ads.py", line 190, in get_managed_customer_metricts
    for item in results:
  File 
"/home/user/.local/share/virtualenvs/adwords-capture-sYpuCRr6/lib/python3.6/site-packages/google/api_core/page_iterator.py",
 
line 204, in _items_iter
    for page in self._page_iter(increment=False):
  File 
"/home/user/.local/share/virtualenvs/adwords-capture-sYpuCRr6/lib/python3.6/site-packages/google/api_core/page_iterator.py",
 
line 235, in _page_iter
    page = self._next_page()
  File 
"/home/user/.local/share/virtualenvs/adwords-capture-sYpuCRr6/lib/python3.6/site-packages/google/api_core/page_iterator.py",
 
line 526, in _next_page
    response = self._method(self._request)
  File 
"/home/user/.local/share/virtualenvs/adwords-capture-sYpuCRr6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py",
 
line 143, in __call__
    return wrapped_func(*args, **kwargs)
  File 
"/home/user/.local/share/virtualenvs/adwords-capture-sYpuCRr6/lib/python3.6/site-packages/google/api_core/retry.py",
 
line 270, in retry_wrapped_func
    on_error=on_error,
  File 
"/home/user/.local/share/virtualenvs/adwords-capture-sYpuCRr6/lib/python3.6/site-packages/google/api_core/retry.py",
 
line 179, in retry_target
    return target()
  File 
"/home/user/.local/share/virtualenvs/adwords-capture-sYpuCRr6/lib/python3.6/site-packages/google/api_core/timeout.py",
 
line 214, in func_with_timeout
    return func(*args, **kwargs)
  File 
"/home/user/.local/share/virtualenvs/adwords-capture-sYpuCRr6/lib/python3.6/site-packages/google/api_core/grpc_helpers.py",
 
line 59, in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.DeadlineExceeded: 504 Deadline Exceeded

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a3fe83ba-e30f-4708-8500-60127e94b9d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • 504 Dea... andrew . simkovsky
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... andrew . simkovsky
        • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to