Hello Deniz, Please take a look at
http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html#requestheaders for specific examples of the values you should use when logging in to the Sandbox environment. Specifically, you should not use a real developer token at all; the value for the developerToken header should be something like '[email protected]++usd'. Cheers, -Jeff Posnick, AdWords API Team On Jun 10, 11:46 am, deniz <[email protected]> wrote: > I have a problem with API usage > > if i use the following with sandbox.google.com: > > $email = '[email protected]'; > $password = > 'xxxxx'; > $useragent = 'My Company > Name'; > $developer_token = 'mydevtoken'; > $application_token = 'apptoken'; > > response error : > > Fault: 1 Code: soapenv:Server.userException String: The developer > token is invalid. Detail: > > if change sandbox.google.com with adwords.google.com and debug to 1 > > <soapenv:Header> > <responseTime soapenv:actor="http://schemas.xmlsoap.org/soap/actor/ > next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">83</responseTime> > <operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/ > next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">1</operations> > <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" > soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">1</units> > <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/actor/ > next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/ > adwords/v13">9e14025461fbb101ea8c50d9f0c19cf0</requestId> > </soapenv:Header> > > --------------------------------------------------------------------------- > ------------------------------------------------- > if i use the following : > > $email = '[email protected]'; > $password = > 'xxxxx'; > $useragent = 'My Company > Name'; > $developer_token = 'mydevtoken++USD'; //-----added USD--------- > $application_token = 'apptoken'; > > not have devoloper token error , but there is now a new error: > > Fault: 1 Code: soapenv:Server.userException String: Login with this > username/password failed. > > Where do bugs ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
