AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED on MCC sub account for examples

1,314 views
Skip to first unread message

tic...@onmacon.de

unread,
Jan 19, 2015, 12:25:15 PM1/19/15
to adwor...@googlegroups.com
Hi,

I´m using Python. I finally managed to get the access thing running (in fact I hope so). I filled in the values into my googleads.yaml at the "adwords:" section. The file is saved in my home path so that adwords.AdWordsClient.LoadFromStorage() should load this file.

Now I figured out that some offical examples don´t work for me. Instead they throw a "suds.WebFault: Server raised fault: '[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'<null>']'" at me.

e.g. calling v201409/basic_operations/get_text_ads.py throws:

No handlers could be found for logger "suds.client"
Traceback (most recent call last):
  File "./get_text_ads.py", line 85, in <module>
    main(adwords_client, AD_GROUP_ID)
  File "./get_text_ads.py", line 67, in main
    page = ad_group_ad_service.get(selector)
  File "/usr/local/lib/python2.7/dist-packages/googleads/common.py", line 264, in MakeSoapRequest
    for arg in args])
  File "build/bdist.linux-x86_64/egg/suds/client.py", line 542, in __call__
  File "build/bdist.linux-x86_64/egg/suds/client.py", line 602, in invoke
  File "build/bdist.linux-x86_64/egg/suds/client.py", line 649, in send
  File "build/bdist.linux-x86_64/egg/suds/client.py", line 702, in failed
  File "build/bdist.linux-x86_64/egg/suds/bindings/binding.py", line 265, in get_fault
suds.WebFault: Server raised fault: '[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'<null>']'

When I´m telling pip to upgrade googleads it tells me that it´s "already up-to-date". So this shouldn´t be an old version issue.

I´ve read https://groups.google.com/forum/#!topic/adwords-api/w1bBf0lFmPY but I don´t know how I am able "to include the clientCustomerId SOAP header". Besides, is it really necessary to fix the example sources?! I think I´m missing something essential but i have no clue.

Kind regards

Anash P. Oommen (AdWords API Team)

unread,
Jan 19, 2015, 11:53:00 PM1/19/15
to adwor...@googlegroups.com
Hi,


Cheers,
Anash P. Oommen,
AdWords API Advisor.

OMC Ticketsystem

unread,
Jan 20, 2015, 6:23:06 AM1/20/15
to adwor...@googlegroups.com
Thank you for the quick response!
Turns out I confused clientId with customClientId. Now it works for me.
Reply all
Reply to author
Forward
0 new messages