As Evan mentioned, run GetCampaigns.java and GetAccountHierarchy.java once to initialize your sandbox account and get the list of accounts. Then use those details to configure your application and make other calls.
Cheers, Anash P. Oommen, AdWords API Advisor. On Wednesday, 22 February 2012 18:41:12 UTC+5:30, juststartgg wrote: > > Hi ewan, > > i use java to develop and do you have an example about use > "ServicedAccountService" to get customer id > > On Wed, Feb 22, 2012 at 5:06 PM, ewan <ewan.heming2...@gmail.com> wrote: > >> You're using an email for the clientId here, which I don't think works >> anymore. You need to use the numeric customer id that can be retrieved >> via the ServicedAccountService. >> >> On Feb 22, 3:29 am, juststartgg <aw.amaz...@gmail.com> wrote: >> > i use java to develop Google API and i use adword properties file >> > do i have to specify some special value here in this properties file, >> > except useSandbox=true >> > >> > email=mym...@gmail.com >> > password=mypass >> > clientId=clientid_1+mym...@gmail.com >> > useragent=INSERT_COMPANY_NAME >> > developerToken=mym...@gmail.com++USD >> > useSandbox=true >> > partialFailure=false >> > returnMoneyInMicros=false >> > >> > please help to sugguest, or i have to add more code in my java to call >> > CampaignService.get() >> > On Feb 22, 1:36 am, David Bonner <dbon...@gmail.com> wrote: >> > >> > >> > >> > >> > >> > >> > >> > > You don't need a developer token to use sandbox. >> > > Seehttp://code.google.com/apis/adwords/docs/sandbox.htmlformoredetails. >> >> -- >> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ >> 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 >> > > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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