Hello Aere,

You need to specify the correct clientId as the error message states. It is 
always a number in form of 123-456-7890. The IDs are different for Sandbox 
and Production.

In order to get the correct ID you can use the ServicedAccountService to 
retrieve the account hierarchy.


-Danial, AdWords API Team.



On Wednesday, March 7, 2012 2:32:42 PM UTC+4, Aere wrote:
>
> Hi all,
>
> I've download new java client library for new api (201109) but i can't get 
> login work on sandbox.
> I think that depends by the adwords.properties configuration.
> I use this:
>
> ### PRODUCTION (It seems to work)
> email=m...@email.com
> password=mypasswd
> clientId=000-000-0000
> useragent=myUseragent
> developerToken=mytoken
> useSandbox=false
> partialFailure=false
> returnMoneyInMicros=false
>
> ### SANDBOX
> email=m...@email.com
> password=mypasswd
> clientId=client_1...@email.com
> # I've tried with: clientId=000-000-0000 but nothing....
> useragent=myUserAgent
> developerToken=m...@email.com++EUR
> useSandbox=true
> partialFailure=false
> returnMoneyInMicros=false
>
> The error returned is: AuthenticationError.CLIENT_CUSTOMER_ID_INVALID
>
> Now, in Production it seems to work fine, but I can't access to the 
> sandbox...
> Can you help me please?
> Thanks.
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to