Look the yaml file:

adwords:
  client_id: 'MYCLIENTID.apps.googleusercontent.com'
  client_secret: 'HIDDEN SECRET'
  refresh_token: 'MY REFRESH TOKEN'
  user_agent: 'My UA'
  developer_token: 'MY DEV TOKEN'


I am using python (https://github.com/googleads/googleads-python-lib).

I used to be able to create sub accounts (python code):

YAML_KEY = 'adwords'
# A list of values which must be provided to use AdWords.
REQUIRED_INIT_VALUES = ('user_agent', 'developer_token')
# A list of values which may optionally be provided when using AdWords.
OPTIONAL_INIT_VALUES = ('validate_only', 'partial_failure', 
'client_customer_id', 'https_proxy')
yaml_path = '/home/kk/googleads.yaml'
kwargs = googleads.common.LoadFromStorage(
                    yaml_path, YAML_KEY, REQUIRED_INIT_VALUES,
                    OPTIONAL_INIT_VALUES)
client = adwords.AdWordsClient(**kwargs)
import random
rnum = random.randint(1, 10000)
acc_name = 'Test client %d' % rnum
currency, timezone = 'EUR', 'Europe/Berlin'
operations = [{
            'operator': 'ADD',
            'operand': {
              'name': acc_name,
              'currencyCode': currency,
              'dateTimeZone': timezone,
            }
        }]
managed_customer_service = client.GetService(
            'ManagedCustomerService', version='v201409')
accounts = managed_customer_service.mutate(operations)

I am getting the error:
WebFault: Server raised fault: 
'[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'<null>']'

I am pretty sure the code above was working . In fact I have already 
created some accounts

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/31530b23-8570-4629-b0ed-8e3491042b49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to