Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED on MCC sub account for examples
Thank you for the quick response! Turns out I confused clientId with customClientId. Now it works for me. Am Montag, 19. Januar 2015 18:25:15 UTC+1 schrieb tic...@onmacon.de: 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 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords 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 Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/20c48725-f760-4d82-902e-1ac13b6c51ab%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED on MCC sub account for examples
Hi, You can set clientCustomerId either in your googleads.yaml file (https://github.com/googleads/googleads-python-lib/blob/master/googleads.yaml#L8), or you can set this at the runtime (https://github.com/googleads/googleads-python-lib/blob/master/README.md#how-do-i-change-the-client-customer-id-at-runtime). If you want to retrieve your client customer ids under an MCC at runtime, see https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201409/account_management/get_account_hierarchy.py. Cheers, Anash P. Oommen, AdWords API Advisor. On Monday, January 19, 2015 at 10:55:15 PM UTC+5:30, tic...@onmacon.de wrote: 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 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords 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 Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/37e3bf6d-aa37-4b5d-8ab4-248d32492679%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED on MCC sub account for examples
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 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups AdWords 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 Forum group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/00230049-9d28-4e06-aa64-5a5db862%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.