Hi, If you are trying to use AWQL, the query should be sent as a post parameter, not as a SOAP call. (Please see https://developers.google.com/adwords/api/docs/guides/awql)
I strongly recommend using one of the client libraries<https://developers.google.com/adwords/api/docs/clientlibraries>. It encapsulates the construction of the request instead of making it on your own. Best, - Takeshi, AdWords API Team On Saturday, November 30, 2013 12:48:18 AM UTC+9, [email protected] wrote: > > I get an INVALID_FROM_CLAUSE error when i make the following request, > > SELECT Id,Clicks > FROM CAMPAIGN_PERFORMANCE_REPORT > WHERE Id = 107370543 > DURING 20131126,20131128 > > > this is the full request, (minus personal details): > > <?xml version="1.0" encoding="UTF-8"?> > <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xmlns:tns=" > https://adwords.google.com/api/adwords/cm/v201309" xmlns:env=" > http://www.w3.org/2003/05/soap-envelope"> > <env:Header> > <tns:RequestHeader> > <tns:developerToken>__DEV_TOKEN__</tns:developerToken> > <tns:userAgent>_AGENT_</tns:userAgent> > <tns:clientCustomerId>126-XXX-XXXX</tns:clientCustomerId> > </tns:RequestHeader> > </env:Header> > <env:Body> > <tns:query> > <tns:query> > SELECT Id,Clicks > FROM CAMPAIGN_PERFORMANCE_REPORT > WHERE Id = 107370543 > DURING 20131126,20131128 > </tns:query> > </tns:query> > </env:Body> > </env:Envelope> > > > Thanks in advance, :) > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://googleadsdeveloper.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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
