Google Ads: 504 Deadline Exceeded

902 views
Skip to first unread message

Alexander Belozerov

unread,
Apr 15, 2019, 5:22:39 PM4/15/19
to AdWords API and Google Ads API Forum

Hi there,
Im getting 504 Deadline Exceeded when running following query using python library:

'SELECT name, data_type, is_repeated'


I wonder if the problem is that im querying a huge account with 3million ads? And if so what is the best way to fix this?
This same query works just fine with smaller accounts.

Thanks,
Alex

googleadsapi...@google.com

unread,
Apr 15, 2019, 11:37:41 PM4/15/19
to AdWords API and Google Ads API Forum
Hi Alex,

The error deadline exceeded may be encountered when you are trying to pull reports that are too big which causes timeouts. To prevent this error from occurring, you may want to add more predicates and add a date range to limit your result. You may refer to this guide for further details.

If you still encounter this error even after applying the predicates, could you provide the complete report definition used and the clientCustomerId via reply privately to author so I can investigate this further?

Regards,
Dannison
Google Ads API Team



Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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+unsubscribe@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/496f7ae5-db86-4dbf-a472-c6ff8a366834%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages