I set the COMPRESSION Setting to 0 in the settings.ini 

This was necessary to disable SOAP Content-Encoding when using AdWords PHP 
Library adwords_api_php_4.2.5

Content-Encoding: deflate


[SOAP]
; Enable/disable gzip compression on SOAP requests and responses.
COMPRESSION = 0


On Tuesday, June 25, 2013 10:39:03 PM UTC+1, Alan Coleman wrote:
>
> The code below is a log of a SOAP request that forms part of my Google 
> AdWords App. I'd like to be able to change or remove the Content-Encoding 
> of the request as I think this may be be causing an error. It can be seen 
> below on line 5.
>
> Any ideas would be appreciated.
>
> PHP Error:
>
> Notice: Failed to load response into DOM: DOMDocument::loadXML(): 
>
> SOAP Request:
>
> Host: adwords.google.comConnection: Keep-AliveUser-Agent: PHP-SOAP/5.4.3, 
> gzipAccept-Encoding: gzip, deflateContent-Encoding: deflateContent-Type: 
> text/xml; charset=utf-8SOAPAction: ""Content-Length: 780
>
> SOAP Error:
>
> HTTP/1.1 415 Unsupported Media Type Content-Type: text/html; charset=UTF-8
> Content-Encoding: gzip
> Date: Tue, 25 Jun 2013 20:45:10 GMT
> Expires: Tue, 25 Jun 2013 20:45:10 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Content-Length: 131
> Server: GSE
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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