Hi Alan, Can you confirm that this fixed the problem?
You mention the google-api-adwords-php<http://code.google.com/p/google-api-adwords-php/>version 4.2.5, does this mean that you weren't having this issue on library versions prior to 4.2.5? Have you recently upgraded your mod_deflate<http://httpd.apache.org/docs/2.2/mod/mod_deflate.html>or any packages that might be linked to it? Do you run these requests through a http proxy at all? Finally, can you list some basic system information such as operating system and version, php and apache version. Regards, - Paul, AdWords API Team. On Wednesday, 26 June 2013 22:28:13 UTC+1, Alan Coleman wrote: > > > > On Wednesday, June 26, 2013 10:27:56 PM UTC+1, Alan Coleman wrote: >> >> 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.