Hello Victor,
Please see the following example for Java: http://code.google.com/p/google-api-adwords-java/source/browse/trunk/examples/v201109/GetAccountHierarchy.java -Danial, AdWords API Team. Original Message Follows: ------------------------ From: Víctor Rojas<[email protected]> Subject: Re: API 201109: Problem on login Date: Wed, 14 Mar 2012 08:25:45 -0700 (PDT) > Hi, I have the same problem, and I don't understand how to > use ServicedAccountService, can I use it with java? > > Thanks. > > El lunes 12 de marzo de 2012 10:26:08 UTC-3, Danial Klimkin escribió: > > > > 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 protected] > >> password=mypasswd > >> clientId=000-000-0000 > >> useragent=myUseragent > >> developerToken=mytoken > >> useSandbox=false > >> partialFailure=false > >> returnMoneyInMicros=false > >> > >> ### SANDBOX > >> [email protected] > >> password=mypasswd > >> [email protected] > >> # I've tried with: clientId=000-000-0000 but nothing.... > >> useragent=myUserAgent > >> [email protected]++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 [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/adwords-api?hl=en > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
