Hi everyone i'm trying to get campaigns using the AdWords API

I write the developer token of my production manager account, also write 
the client_customer_id of my test manager account and test client account.
I tried using the OAuth id, secret and refresh token of my production and 
test account but i still getting the same error

(env) 
D:\Users\hoppe\Documents\GitHub\googleads-python-lib>d:/Users/hoppe/Documents/GitHub/googleads-python-lib/env/Scripts/python.exe
 
d:/Users/hoppe/Documents/GitHub/googleads-python-lib/examples/adwords/v201809/basic_operations/get_campaigns.py
Your default encoding, cp1252, is not UTF-8. Please run this script with 
UTF-8 encoding to avoid errors.
Error summary: {'faultMessage': "[AuthenticationError.OAUTH_TOKEN_INVALID @ 
; trigger:'<null>']", 'requestId': '0005adb6c3173e9f0ae9c302470dbb29', 
'serviceName': 'CampaignService', 'methodName': 'get', 'operations': '1', 
'responseTime': '62'}
Traceback (most recent call last):
  File 
"d:\Users\hoppe\Documents\GitHub\googleads-python-lib\env\lib\site-packages\googleads\common.py",
 
line 992, in MakeSoapRequest
    *packed_args, _soapheaders=soap_headers)['body']['rval']
  File 
"d:\Users\hoppe\Documents\GitHub\googleads-python-lib\env\lib\site-packages\zeep\proxy.py",
 
line 45, in __call__
    kwargs,
  File 
"d:\Users\hoppe\Documents\GitHub\googleads-python-lib\env\lib\site-packages\zeep\wsdl\bindings\soap.py",
 
line 130, in send
    return self.process_reply(client, operation_obj, response)
  File 
"d:\Users\hoppe\Documents\GitHub\googleads-python-lib\env\lib\site-packages\zeep\wsdl\bindings\soap.py",
 
line 195, in process_reply
    return self.process_error(doc, operation)
  File 
"d:\Users\hoppe\Documents\GitHub\googleads-python-lib\env\lib\site-packages\zeep\wsdl\bindings\soap.py",
 
line 299, in process_error
    detail=fault_node.find("detail"),
zeep.exceptions.Fault: [AuthenticationError.OAUTH_TOKEN_INVALID @ ; 
trigger:'<null>']

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"d:/Users/hoppe/Documents/GitHub/googleads-python-lib/examples/adwords/v201809/basic_operations/get_campaigns.py",
 
line 68, in <module>
    main(adwords_client)
  File 
"d:/Users/hoppe/Documents/GitHub/googleads-python-lib/examples/adwords/v201809/basic_operations/get_campaigns.py",
 
line 51, in main
    page = campaign_service.get(selector)
  File 
"d:\Users\hoppe\Documents\GitHub\googleads-python-lib\env\lib\site-packages\googleads\common.py",
 
line 1004, in MakeSoapRequest
    e.detail, errors=error_list, message=e.message)
googleads.errors.GoogleAdsServerFault: 
[AuthenticationError.OAUTH_TOKEN_INVALID @ ; trigger:'<null>']

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e4611c74-6a86-489a-98f1-b0af281796d1n%40googlegroups.com.

Reply via email to