My request message looks as follows: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header> <RequestHeader xmlns="https://adwords.google.com/api/adwords/cm/ v200909"> <applicationToken>m...@dnknormark.net++usd</applicationToken> <authToken>DQAAAMAAAACWLxRqcPQYI0cS9_M314RelTSoMOFxaKfZFheOCTUgeSA8n74pdgpo3l43kMg6PY1YXt0bqHbXYuWTjq6lQr3bGOKrXweADFieBbJcxowd2sTuPUVYdAoBVbsDOSFOFiHnwB4OCpeRiR0CY_51HcHu- UTuH19N- MMGpKPxvTgQJQLBiYL4Gf_0Jdoty3HsDqta9JMUACUFzByS9xB9az_buQfyIVnatTTSWJVEbwrMFHxZj21rJNQtfmM48qs0n20</ authToken> <clientEmail>client_1+j...@doe.com</clientEmail> <developerToken>j...@doe.com++usd</developerToken> <userAgent>tester</userAgent> </RequestHeader> </soap:Header> <soap:Body> <get xmlns="https://adwords.google.com/api/adwords/cm/v200909" /> </soap:Body> </soap:Envelope>
On Apr 28, 3:12 pm, MartinHN <m...@dnknormark.net> wrote: > I understand that access to the sandbox is now done via ClientLogin as > it is in production. > > I'm experiencing a few issues, here's some code: > > RequestHeader sh = new RequestHeader(); > sh.authToken = GetToken(); > sh.developerToken = "j...@doe.com++usd"; > sh.clientEmail = "client_1+j...@doe.com"; > > CampaignPage cp = new CampaignPage(); > > CampaignService cs = new CampaignService(); > cs.RequestHeader = sh; > var res = cs.get(new CampaignSelector() { ids = new long[0], > campaignStatuses = new CampaignStatus[] { CampaignStatus.ACTIVE }, > statsSelector = null }); > > The .get call returns an Unknown API error. What could that be? > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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.comhttp://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 > athttp://groups.google.com/group/adwords-api?hl=en -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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