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 fine when I use one clientCustomerId in the auth.ini file.

I was using the older client library (201306) with getcampaignstats.php and 
each time it was run it set a new clientCustomerId in the adwords user.php 
file using 
$this->SetClientCustomerId($newclientid);
which worked and changed the number each time, via a text file reading a 
new client ID with a counter.

But now I have updated the library I am getting this error, I have not 
added anything with headers etc. (not even thought about it!)
It now does not download the XML files but an error file that says this 

<!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, 
width=device-width">
  <title>Error 411 (Length Required)!!1</title>
  STYLE STUFF!
  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
  <p><b>411.</b> <ins>That’s an error.</ins>
  <p>POST requests require a <code>Content-length</code> header.  
<ins>That’s all we know.</ins>

It does not seem to like a different number each time. When it is one 
number in the auth.ini file it works.

How do I stop this?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
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 adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to