Dear Sir or Madam, 

I have a problem when 'Making My First API Call' for AdWords API in python.
When I ran 'get_campaigns.py', I got an error message as below(at the 
bottom) which is 'AuthorizationError.NO_CUSTOMER_FOUND'.

I am certain that I have filled in the correct information of the 
followings since when I put a typo for the each information below in 
'googleads.yaml' file python shows another error message different from '
AuthorizationError.NO_CUSTOMER_FOUND'.
- developer_token
- client_id
- client_secret
- refresh_token

I have even watched almost all the youtube videos, read guides for AdWords 
API web page & all the queries in this forum and googled all the related 
documents. However I could not resolve the problem yet.

I have tried the following ids (xxx-xxx-xxxx) for the section '# 
client_customer_id:' in 'googleads.yaml' file, but they did not work.
- test client account : 599-396-0015         (in a different google account 
from the main management account which is not a test account)
- test manager account : 660-432-5523   (in a different google account from 
the main management account)
- test manager account : 688-688-6648   (in the same google account as the 
main management account)
- test manager account : 592-206-6917   (in the same google account as the 
main management account)

I've checked my accounts above are 'test account' as below.
 
 

Additionally, for 'user_agent:' in 'googleads.yaml' file, I fill in the 
'company name' which I memorized sometime. (but I don't remember where I 
filled in the 'company name')
Is 'user_agent:' shall be correct? If so, please let me know where I am 
able to find the 'user_agent:' data for my account to make sure.

I appreciate your support. :)


*[Error message when running 'get.campaigns.py']*
D:\Pycharm\PycharmProjects\untitled\venv\Scripts\python.exe 
D:/Pycharm/PycharmProjects/untitled/googleads/get_campaigns/get_campaigns.py
Your default encoding, cp949, is not UTF-8. Please run this script with 
UTF-8 encoding to avoid errors.
Error summary: {'faultMessage': '[AuthorizationError.NO_CUSTOMER_FOUND @ 
]', 'requestId': '0005a6647719d5240aa795acbd034dd5', 'serviceName': 
'CampaignService', 'methodName': 'get', 'operations': '1', 'responseTime': 
'122'}
Traceback (most recent call last):
  File 
"D:\Pycharm\PycharmProjects\untitled\venv\lib\site-packages\googleads\common.py",
 
line 991, in MakeSoapRequest
    return soap_service_method(
  File 
"D:\Pycharm\PycharmProjects\untitled\venv\lib\site-packages\zeep\proxy.py", 
line 40, in __call__
    return self._proxy._binding.send(
  File 
"D:\Pycharm\PycharmProjects\untitled\venv\lib\site-packages\zeep\wsdl\bindings\soap.py",
 
line 130, in send
    return self.process_reply(client, operation_obj, response)
  File 
"D:\Pycharm\PycharmProjects\untitled\venv\lib\site-packages\zeep\wsdl\bindings\soap.py",
 
line 195, in process_reply
    return self.process_error(doc, operation)
  File 
"D:\Pycharm\PycharmProjects\untitled\venv\lib\site-packages\zeep\wsdl\bindings\soap.py",
 
line 295, in process_error
    raise Fault(
zeep.exceptions.Fault: [AuthorizationError.NO_CUSTOMER_FOUND @ ]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"D:/Pycharm/PycharmProjects/untitled/googleads/get_campaigns/get_campaigns.py", 
line 68, in <module>
    main(adwords_client)
  File 
"D:/Pycharm/PycharmProjects/untitled/googleads/get_campaigns/get_campaigns.py", 
line 51, in main
    page = campaign_service.get(selector)
  File 
"D:\Pycharm\PycharmProjects\untitled\venv\lib\site-packages\googleads\common.py",
 
line 1003, in MakeSoapRequest
    raise googleads.errors.GoogleAdsServerFault(
googleads.errors.GoogleAdsServerFault: 
[AuthorizationError.NO_CUSTOMER_FOUND @ ]

Process finished with exit code 1

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4bac4a7c-efce-4f84-800d-e2d2777bd70b%40googlegroups.com.

Reply via email to