Nevermind, I figured it out. I forgot to set the authToken and useSandbox parameters.
susan On Apr 5, 12:39 pm, "[email protected]" <[email protected]> wrote: > Hi, > I'm trying to migrate from v13 to v2009 but I'm getting INVALID > DEVELOPER TOKEN when I tried to connect to the sandbox. > > Here are my connection parameters: > useragent=CPMAdvisors AdWords API Java Client Library > [email protected] > [email protected]++usd > [email protected] > url =https://adwords-sandbox.google.com/ > > I even tried the old sandbox url,https://sandbox.google.com/, that > didn't work either. > > The interesting thing is my code works with the previous client > library but not with the new client library for v2009. The only > difference between the old and new code is the way I'm calling the > services: > > NEW: AccountInterface accountInterface = (AccountInterface) > adWordsUser.getService(AdWordsService.V13.ACCOUNT_SERVICE); > OLD: AccountInterface accountInterface = (AccountInterface) > adWordsUser.getService(AdWordsUser.ACCOUNT_SERVICE); > > NEW jar: adwords-api-7.1.1-loner.jar > OLD jar: adwords-api-2.2.0-loner.jar > > Can someone please help me? > > Thanks, > susan -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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 To unsubscribe, reply using "remove me" as the subject.
