[SSL: CERTIFICATE_VERIFY_FAILED] Pyhon

36 views
Skip to first unread message

Julio César Gutiérrez

unread,
Jun 20, 2017, 2:37:11 AM6/20/17
to AdWords API Forum
Hey Guys!, I have this error:  [SSL: CERTIFICATE_VERIFY_FAILED]
I am using python library.

     oauth2_client = oauth2.GoogleRefreshTokenClient(client_id, client_secret, refresh_token)
adwords_client = adwords.AdWordsClient(developer_token, oauth2_client, user_agent,client_customer_id=client_customer_id)
customer_service = adwords_client.GetService('CustomerService',version='v201702')
customers = customer_service.getCustomers()
print ('You are logged in as a user with access to the following customers:')
for customer in customers:
print ('\t%s' % customer['customerId'])

Peter Oliquino

unread,
Jun 20, 2017, 3:09:43 AM6/20/17
to AdWords API Forum
Hi Julio,

Your concern appears to be more related to setting up your client library rather than the AdWords API itself. This said, you may refer to the Python client library setup guide and you may also follow this similar opened issue if the error persists on your end. 

Best regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages