So I'm working with Savon and am trying to pass XML. Haven't tried this method before but the client libraries no longer work for Ruby 1.9.2. I'm just trying to make an intial request, anything basic and this is what I have so far (Error: XML_STREAM_EXC):
<?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:wsdl="https://adwords.google.com/api/adwords/cm/ v201101" xmlns:env="http://schemas.xmlsoap.org/soap/ envelope/"><env:Header><ns2:authToken>***authtoken***</ ns2:authToken><ns2:developerToken>***developer_token***</ ns2:developerToken><ns2:userAgent>***useragent***</ns2:userAgent></ env:Header><env:Body><get> <selector xmlns="https:// adwords.google.com/api/adwords/cm/v201101"> <CampaignSelector xsi:type="CampaignSelector"> <campaignStatuses xsi:type="SOAP-ENC:Array" SOAP- ENC:arrayType="xsd:string[2]"> <item xsi:type="xsd:string">Active</item> <item xsi:type="xsd:string">Paused</item> </campaignStatuses> </CampaignSelector> </selector> </get></env:Body></env:Envelope> I'm sure it may look terrible but any help would be much appreciated. Thanks! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
