Hi, It looks like the clientEmail you are specifying is an MCC account, which can't have any campaigns. Please ensure you are setting the correct clientEmail.
Best, - Eric Koleda, AdWords API Team On Aug 6, 11:55 am, newbie <[email protected]> wrote: > I got past all the errors but now I am getting no entries back. I'm > now sending an authentication token instead of email and password but > the body of the xml request is exactly the same as what I already > posted. Thanks for your help! > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Header><ResponseHeader xmlns="https://adwords.google.com/api/ > adwords/cm/v201003"> > <requestId>bdf688e1d4e5dd26d3a5f62d1b3b4940</requestId> > <operations>1</operations> > <responseTime>381</responseTime> > <units>1</units> > </ResponseHeader></soap:Header><soap:Body> > <getResponse xmlns="https://adwords.google.com/api/adwords/cm/ > v201003"> > <rval> > <totalNumEntries>0</totalNumEntries> > <Page.Type>CampaignPage</Page.Type> > <totalBudget> > <period>DAILY</period> > <amount><ComparableValue.Type>Money</ > ComparableValue.Type><microAmount>0</microAmount></amount> > <deliveryMethod>STANDARD</deliveryMethod> > </totalBudget> > </rval> > </getResponse> > </soap:Body> > </soap:Envelope> > > <p>Authorization Successful</p> > > </body> > > On Aug 5, 11:48 pm, AdWords API Advisor <[email protected]> > wrote: > > > > > Hi, > > > Can you post the response xml online so I can take a look at it? > > > Cheers, > > Anash P. Oommen, > > AdWords API Advisor. > > > On Aug 6, 12:40 am, newbie <[email protected]> wrote: > > > > I'm making a request to adword campaign service using the following > > > xml and then get the index out of range error. Any help would be > > > greatly appreciated. > > > > Dim xml : xml = "<soap:Envelope xmlns:soapenv=""http:// > > > schemas.xmlsoap.org/soap/envelope/"" xmlns=""https:// > > > adwords.google.com/api/adwords/cm/v200909""> "_ > > > + "<soap:Header>"_ > > > + "<email>" & apiEmail & "</email>"_ > > > + "<password>" & apiPassword & "</password>"_ > > > + "<userAgent>V2010 Get All Campaign Info</useragent>"_ > > > + "<developerToken>" & apiDevToken & "</developerToken>"_ > > > + "<validateOnly>true</validateOnly>"_ > > > + "</soap:Header>"_ > > > + "<soap:Body>"_ > > > + "<get>"_ > > > + "<selector>"_ > > > + "<ids></ids>"_ > > > + "<statsSelector>"_ > > > + "<dateRange>"_ > > > + "<min>20100101</min>"_ > > > + "<max>20100715</max>"_ > > > + "</dateRange>"_ > > > + "<startDate/>"_ > > > + "<endDate/>"_ > > > + "<network>ALL</network>"_ > > > + "<clicks/>"_ > > > + "<impressions/>"_ > > > + "<cost/>"_ > > > + "</statsSelector>"_ > > > + "</selector>"_ > > > + "</get>"_ > > > + "</soap:Body>"_ > > > + "</soap:Envelope>" > > > Response.Write xml > > > Dim URL : URL = > > > "https://adwords.google.com/api/adwords/cm/v200909/ > > > CampaignService" > > > > Dim xmlHttp : Set xmlHttp = CreateObject("MSXML2.ServerXMLHTTP") > > > xmlHttp.Open "POST", URL, False > > > xmlHttp.setRequestHeader "Content-Type", "text/xml;charset=utf-8" > > > xmlHttp.setRequestHeader "SOAPAction", """" > > > Call xmlHttp.Send(xml) > > > > Call xmlHttp.setTimeouts(10000, 30000, 30000, 30000) > > > > If xmlHttp.readyState <> 4 then > > > xmlHttp.waitForResponse 30 > > > End If > > > > If Err.Number <> 0 then > > > Response.Write = "Error loading the page..." > > > Else > > > If (xmlHttp.readyState <> 4) Or (xmlHttp.status <> 200) > > > Then > > > Response.Write xmlHttp.ResponseText > > > xmlHttp.Abort > > > Else > > > Response.Write xmlHttp.ResponseText > > > End If > > > End If > > > Set xmlHttp = Nothing- Hide quoted text - > > > - Show quoted text - -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
