Hi Bemahash, The developerToken and clientEmail headers have a very specific format in the sandbox environment: http://code.google.com/apis/adwords/docs/developer/adwords_api_sandbox.html#requestheaders. Please ensure you have formatted your developerToken correctly.
Best, - Eric Koleda, AdWords API Team On Sep 4, 3:15 pm, bemahesh <[email protected]> wrote: > Hi, > > I am trying to add a campaign to the newly created test account using > Google Sandbox API (v13). I keep getting the exception when calling > addCampaign method of CampaignService. > > I would appreciate if someone can shed some light > > Here is the log. > > System.Web.Services.Protocols.SoapException was unhandled > Message="The developer token is invalid." > Source="System.Web.Services" > Actor="" > Lang="" > Node="" > Role="" > StackTrace: > at > System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse > (SoapClientMessage message, WebResponse response, Stream > responseStream, Boolean asyncCall) > at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke > (String methodName, Object[] parameters) > at > com.google.sandbox.v13.CampaignService.CampaignService.addCampaign > (Campaign campaign) in C:\Projects\AdWords\Web References > \com.google.sandbox.v13.CampaignService\Reference.cs:line 276 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
