Google Ads API: 503 DNS resolution failed for service: googleads.googleapis.com

491 views
Skip to first unread message

Test Test

unread,
Jun 28, 2021, 12:03:16 PM6/28/21
to AdWords API and Google Ads API Forum
Hello,

I am tryin to make a call to Google Ads API with some python examples using my credentials in my google-ads.yaml file (developer token, client Id, client secret and customer Id)  but all the time I receive this message with any of the examples (get_account_information.py get_campaigns.py or get_pending_invitations.py):

status = StatusCode.UNAVAILABLE
details = "DNS resolution failed for service: googleads.googleapis.com"

google.api_core.exceptions.ServiceUnavailable: 503 DNS resolution failed for service: googleads.googleapis.com

Could you please tell me how i can fix it?

Google Ads API Forum Advisor

unread,
Jun 29, 2021, 2:26:20 PM6/29/21
to test.sas....@gmail.com, adwor...@googlegroups.com
Hi,

Please send the following details using 'Reply privately to author' option:
  1. API request and complete error response
  2. Are you seeing this error only for these calls or any other Ads API service as well?
Thanks,
Google Logo
Lakshmi Prathipati
Google Ads API Team
 


ref:_00D1U1174p._5004Q2JWt5G:ref

Google Ads API Forum Advisor

unread,
Jun 29, 2021, 2:26:58 PM6/29/21
to test.sas....@gmail.com, adwor...@googlegroups.com
Hi,

Please send the following details using 'Reply privately to author' option:
  1. API request and complete error response
  1. Are you seeing this error only for this call or any other Ads API service as well?
Reply all
Reply to author
Forward
0 new messages