Vincent Tsao proposes a temporary fix : 

*The clarify the issue, it is with some versions of PHP not handling 
decoding HTTP 1.1 responses when the response uses the chunked data 
mechanism. The fix for now is to do the following:*


*In the file Google/Api/Ads/Common/Lib/SoapClientFactory.php,right before 
line 147 where the line says "$options['stream_context'] = 
stream_context_create($contextOptions);"*


*add the following line of code:$contextOptions['http']['protocol_version'] 
= 1.0;*

*This forces the client library to make requests with HTTP 1.0, which is 
not ideal. What you should do if you can is update your version of PHP to a 
version > 5.3 as this issue seems to occur in some versions of 5.3.x as 
well. This is a PHP language bug.*

*source : *github <https://github.com/googleads/googleads-php-lib/issues/24>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d/optout.

Reply via email to