DEADLINE_EXCEEDED error

32 views
Skip to first unread message

miinye

unread,
Jul 27, 2022, 9:55:07 PM7/27/22
to Google Ads API and AdWords API Forum
Hello Team,
We faced the below error while making a Google Ads API call:

error_code {
internal_error: DEADLINE_EXCEEDED
}
message: "The request took too long to respond."
}

The above error occurred while calling the below query through the Google Ads Search API.

"SELECT ad_group_criterion.ad_group, ad_group_criterion.approval_status, ad_group_criterion.cpc_bid_micros, ad_group_criterion.criterion_id, ad_group_criterion.disapproval_reasons, ad_group_criterion.final_mobile_urls, ad_group_criterion.final_urls, ad_group_criterion.keyword.match_type, ad_group_criterion.keyword.text, ad_group_criterion.position_estimates.first_page_cpc_micros, ad_group_criterion.position_estimates.first_position_cpc_micros, ad_group_criterion.position_estimates.top_of_page_cpc_micros, ad_group_criterion.status, ad_group_criterion.system_serving_status, ad_group_criterion.type, ad_group.id FROM ad_group_criterion WHERE ad_group_criterion.status NOT IN ('REMOVED') AND ad_group_criterion.type = 'KEYWORD' AND ad_group.id IN (ids) ORDER BY ad_group_criterion.criterion_id ASC"

Could you please provide the reason for the cause for this error and the relevant solution.

Thanks

Google Ads API Forum Advisor

unread,
Jul 28, 2022, 1:24:57 AM7/28/22
to miny...@gmail.com, adwor...@googlegroups.com
Hi Miinye,

Thank you for raising this concern to the Google Ads API team.

Moving forward, it appears that you have encountered the internal_error: DEADLINE_EXCEEDED. The error DEADLINE_EXCEEDED indicates that your request took longer than the deadline. That said, you may check this example to set custom client timeouts.

If you are still consistently encountering said error, then you may provide us with the complete request and response logs with the request-id, so our team can better check. You can provide it via Reply privately to author option. If this option is not available, then send it instead on this email address googleadsa...@google.com.

For the client library, logging can be enabled by navigating to the Client libraries > Your client library (ex Java) > Logging documentation, which you can access from this link

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2d2JMQ:ref
Reply all
Reply to author
Forward
0 new messages