Re: content-length is required in php

2014-03-05 Thread Ray Tsang (AdWords API Team)
Mike, It seems like there were issues in the data that's being posted to retrieve the report. Please see our Reporting Basics guide . For example: - The XML needs to be encoded into the __rdxml parameter. - Authorization h

Re: content-length is required in php

2014-03-04 Thread Ray Tsang (AdWords API Team)
Mike, Could I trouble you to clarify the issue? Are you having trouble with DownloadcriteriaReportWithAWQL.php as is? Or are you having trouble when you are not using a client library? Thanks! Ray On Wednesday, February 19, 2014 6:25:30 AM UTC-5, Mike Young wrote: > > > Hi Paul, > > I have

Re: content-length is required in php

2014-02-19 Thread Mike Young
Hi Paul, I have the same problem with my script DownloadcriteriaReportWithAWQL.php in the V201309 library I have stringed two reports together one downloading a report for yesterday (yesterday.xml) and another that downloads todays report (today.xml) Then it will unpick the XML after. All fin

Re: content-length is required in php

2013-10-31 Thread Paul Matthews (AdWords API Team)
Hi There, It seems that you've added the "content_length" and "Content-Type" parameters. Firstly, the content length parameter is defined as "Content-Length" and I believe you'd want to trim before you use strlen. Then I notice you specify the Content-Type, but with an array of items you actua

content-length is required in php

2013-10-25 Thread mkoc
Hello, I'm trying to send a simple post request to the api to download a report. And getting a 411 error message which says "POST requests require a content-length header. That's all we know." I'm using the example in here. https://code.google.com/p/google-api-adwords-php/wiki/NoClientLibrary