WARNING:googleads.common:Your default encoding, cp1252, is not UTF-8. Please run
this script with UTF-8 encoding to avoid errors.
1710/CampaignService?wsdl)
INFO:oauth2client.client:Refreshing access_token
INFO:oauth2client.client:Failed to retrieve access token: {
"error" : "invalid_client",
"error_description" : "The OAuth client was not found."
}
Traceback (most recent call last):
File "get_campaigns.py", line 74, in <module>
main(adwords_client)
File "get_campaigns.py", line 56, in main
page = campaign_service.get(selector)
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
googleads\common.py", line 762, in MakeSoapRequest
self._header_handler.SetHeaders(self.suds_client)
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
googleads\adwords.py", line 561, in SetHeaders
http_headers = self._adwords_client.oauth2_client.CreateHttpHeader()
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
googleads\oauth2.py", line 211, in CreateHttpHeader
self.Refresh()
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
googleads\oauth2.py", line 226, in Refresh
self.proxy_config.disable_certificate_validation)))
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
oauth2client\client.py", line 545, in refresh
self._refresh(http)
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
oauth2client\client.py", line 749, in _refresh
self._do_refresh_request(http)
File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\site-packages\
oauth2client\client.py", line 819, in _do_refresh_request
raise HttpAccessTokenRefreshError(error_msg, status=resp.status)
oauth2client.client.HttpAccessTokenRefreshError: invalid_client: The OAuth clien
t was not found.