Force specific error for testing with Python SDK

39 views
Skip to first unread message

Jeff Strome

unread,
Jun 16, 2022, 3:34:47 PM6/16/22
to Google Ads API and AdWords API Forum
Hey there,

In the Python SDK, is there a way to force "GoogleAdsException" to return an error (internal_error in my case)?  I am trying to code an automatic retry and want to test my code.

Thanks!

Google Ads API Forum Advisor

unread,
Jun 17, 2022, 10:08:17 AM6/17/22
to je...@lewismediapartners.com, adwor...@googlegroups.com
Hi Jeff,

Thank you for reaching out to the Google Ads API support team.

We only provide support related to the AdWords API/Google Ads API on this support channel. For the python client library, with this, I recommend you to reach out to the Python client library owner by filing an issue on the issue tracker on the Issue tab of your client library on the github, so that they can provide guidance on it.

Thanks,
Google Logo
Nirmitabahen Gaurav
Google Ads API Team
 


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