Re: "Could not connect to host" SOAP Fault on v200909
Hello, Problem solved. After contacting to the CampaignService WSDL and checking connectivity was working perfectly, I tried to figure out what was different between v13 and v200909. v13 used NuSOAP and works with PHP sockets, v200909 works directly with SoapClient. Then I checked all possible configurations, beginning with checking again the server met all the requirements, and it didn't. I was missing OpenSSL (in fact I don't know how I missed it the first time I checked the requirements before starting). After activating the OpenSSL mod all the connections worked perfectly. Sorry for the inconveniences caused and the time spent in this stupid fault. Thanks a lot for the help ^^ On 21 abr, 22:10, AdWords API Advisor wrote: > Hi, > > Your settings look fine. Do you need to go through a proxy on your > server? The URL of the v200909 CampaignService WSDL is: > > https://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl > > Can you try to wget this URL on your server? > > Best, > - Eric > > On Apr 20, 1:07 pm, Birckin wrote: > > > > > > > This is my current settings.ini file: > > > [LOGGING] > > ; Log directory is either an abosolute path, or relative path to the > > ; AdWordsUser.php file. > > PATH_RELATIVE = "1" > > LIB_LOG_DIR_PATH = "../../../../../../logs" > > > [SERVER] > > DEFAULT_VERSION = "v200909" > > > ; Change tohttps://adwords-sandbox.google.comtowork in the sandbox > > ; environment. > > DEFAULT_SERVER = "https://adwords.google.com"; > > > [SOAP] > > ; Enable/disable gzip compression on SOAP requests and responses. > > COMPRESSION = 1 > > > ; The level of gzip compression to use, from 1 to 9. The higher the > > level the > > ; greater the compression and time needed to perform the compression. > > The > > ; recommended and default value is 1. > > COMPRESSION_LEVEL = 1 > > > I've tried both > > withhttps://adwords-sandbox.google.comandhttps://adwords.google.comasDEFAULT_SERVER. > > > I'm not 100% sure if there is no firewall messing with this, but it's > > quite improbable. Any suggestions about how can I check if > > connectivity for v200909 is working correctly? Anyway it's also > > strange that I can still work with v13 perfectly in the same server. > > > On 20 abr, 17:43, AdWords API Advisor > > wrote: > > > > Hi, > > > > What settings are you using in the settings.ini file? Can you check > > > to make sure that there are no firewall configurations on your server > > > needed to allow this connection? > > > > Best, > > > - Eric Koleda, AdWords API Team > > > > On Apr 20, 6:39 am, Birckin wrote: > > > > > Hello. > > > > > I'm in the process of updating the tool to v200909 from the old v13 > > > > using AdWords API PHP Client Library. > > > > > Setting the things first I've just tried to log into the AdWords > > > > account (following the simple "Getting started" video in the library > > > > site) getting a "Could not connect to host" SOAP Fault message as a > > > > result. > > > > > I've tried several things but no one worked: modifying the > > > > AdsSoapClient::__soapCall() code to attempt several trys, appending "? > > > > wsdl" string at the end of the URL, trying with and without sandbox, > > > > etc. > > > > > The fact is that the old v13 is still running and working, so my > > > > server can successfully connect and operate > > > > withhttps://adwords.google.com/api/adwords/v13/CampaignService?wsdlbut > > > > cannot do the same > > > > withhttps://adwords.google.com/api/adwords/cm/v200909/CampaignService > > > > norhttps://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl > > > > nor sandbox URL versions. > > > > > What could be the problem? Maybe connectivity? Some code issues? Is > > > > just AdWords API having any problem? > > > > > -- > > > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > > Have you migrated to v200909 yet? > > > > The v13 sunset is on April 22, 2010. > > > > > Also find us on our blog and discussion > > > > group:http://adwordsapi.blogspot.comhttp://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 > > > > athttp://groups.google.com/group/adwords-api?hl=en > > > > -- > > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > Have you migrated to v200909 yet? > > > The v13 sunset is on April 22, 2010. > > > > Also find us on our blog and discussion > > > group:http://adwordsapi.blogspot.comhttp://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 emai
Re: "Could not connect to host" SOAP Fault on v200909
Hi, Your settings look fine. Do you need to go through a proxy on your server? The URL of the v200909 CampaignService WSDL is: https://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl Can you try to wget this URL on your server? Best, - Eric On Apr 20, 1:07 pm, Birckin wrote: > This is my current settings.ini file: > > [LOGGING] > ; Log directory is either an abosolute path, or relative path to the > ; AdWordsUser.php file. > PATH_RELATIVE = "1" > LIB_LOG_DIR_PATH = "../../../../../../logs" > > [SERVER] > DEFAULT_VERSION = "v200909" > > ; Change tohttps://adwords-sandbox.google.comto work in the sandbox > ; environment. > DEFAULT_SERVER = "https://adwords.google.com"; > > [SOAP] > ; Enable/disable gzip compression on SOAP requests and responses. > COMPRESSION = 1 > > ; The level of gzip compression to use, from 1 to 9. The higher the > level the > ; greater the compression and time needed to perform the compression. > The > ; recommended and default value is 1. > COMPRESSION_LEVEL = 1 > > I've tried both > withhttps://adwords-sandbox.google.comandhttps://adwords.google.comas > DEFAULT_SERVER. > > I'm not 100% sure if there is no firewall messing with this, but it's > quite improbable. Any suggestions about how can I check if > connectivity for v200909 is working correctly? Anyway it's also > strange that I can still work with v13 perfectly in the same server. > > On 20 abr, 17:43, AdWords API Advisor > wrote: > > > > > > > Hi, > > > What settings are you using in the settings.ini file? Can you check > > to make sure that there are no firewall configurations on your server > > needed to allow this connection? > > > Best, > > - Eric Koleda, AdWords API Team > > > On Apr 20, 6:39 am, Birckin wrote: > > > > Hello. > > > > I'm in the process of updating the tool to v200909 from the old v13 > > > using AdWords API PHP Client Library. > > > > Setting the things first I've just tried to log into the AdWords > > > account (following the simple "Getting started" video in the library > > > site) getting a "Could not connect to host" SOAP Fault message as a > > > result. > > > > I've tried several things but no one worked: modifying the > > > AdsSoapClient::__soapCall() code to attempt several trys, appending "? > > > wsdl" string at the end of the URL, trying with and without sandbox, > > > etc. > > > > The fact is that the old v13 is still running and working, so my > > > server can successfully connect and operate > > > withhttps://adwords.google.com/api/adwords/v13/CampaignService?wsdlbut > > > cannot do the same > > > withhttps://adwords.google.com/api/adwords/cm/v200909/CampaignService > > > norhttps://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl > > > nor sandbox URL versions. > > > > What could be the problem? Maybe connectivity? Some code issues? Is > > > just AdWords API having any problem? > > > > -- > > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > > Have you migrated to v200909 yet? > > > The v13 sunset is on April 22, 2010. > > > > Also find us on our blog and discussion > > > group:http://adwordsapi.blogspot.comhttp://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 > > > athttp://groups.google.com/group/adwords-api?hl=en > > > -- > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Have you migrated to v200909 yet? > > The v13 sunset is on April 22, 2010. > > > Also find us on our blog and discussion > > group:http://adwordsapi.blogspot.comhttp://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 > > athttp://groups.google.com/group/adwords-api?hl=en-Ocultar texto de la cita > > - > > > - Mostrar texto de la cita - > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Have you migrated to v200909 yet? > The v13 sunset is on April 22, 2010. > > Also find us on our blog and discussion > group:http://adwordsapi.blogspot.comhttp://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 > athttp://
Re: "Could not connect to host" SOAP Fault on v200909
This is my current settings.ini file: [LOGGING] ; Log directory is either an abosolute path, or relative path to the ; AdWordsUser.php file. PATH_RELATIVE = "1" LIB_LOG_DIR_PATH = "../../../../../../logs" [SERVER] DEFAULT_VERSION = "v200909" ; Change to https://adwords-sandbox.google.com to work in the sandbox ; environment. DEFAULT_SERVER = "https://adwords.google.com"; [SOAP] ; Enable/disable gzip compression on SOAP requests and responses. COMPRESSION = 1 ; The level of gzip compression to use, from 1 to 9. The higher the level the ; greater the compression and time needed to perform the compression. The ; recommended and default value is 1. COMPRESSION_LEVEL = 1 I've tried both with https://adwords-sandbox.google.com and https://adwords.google.com as DEFAULT_SERVER. I'm not 100% sure if there is no firewall messing with this, but it's quite improbable. Any suggestions about how can I check if connectivity for v200909 is working correctly? Anyway it's also strange that I can still work with v13 perfectly in the same server. On 20 abr, 17:43, AdWords API Advisor wrote: > Hi, > > What settings are you using in the settings.ini file? Can you check > to make sure that there are no firewall configurations on your server > needed to allow this connection? > > Best, > - Eric Koleda, AdWords API Team > > On Apr 20, 6:39 am, Birckin wrote: > > > > > > > Hello. > > > I'm in the process of updating the tool to v200909 from the old v13 > > using AdWords API PHP Client Library. > > > Setting the things first I've just tried to log into the AdWords > > account (following the simple "Getting started" video in the library > > site) getting a "Could not connect to host" SOAP Fault message as a > > result. > > > I've tried several things but no one worked: modifying the > > AdsSoapClient::__soapCall() code to attempt several trys, appending "? > > wsdl" string at the end of the URL, trying with and without sandbox, > > etc. > > > The fact is that the old v13 is still running and working, so my > > server can successfully connect and operate > > withhttps://adwords.google.com/api/adwords/v13/CampaignService?wsdlbut > > cannot do the same > > withhttps://adwords.google.com/api/adwords/cm/v200909/CampaignService > > norhttps://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl > > nor sandbox URL versions. > > > What could be the problem? Maybe connectivity? Some code issues? Is > > just AdWords API having any problem? > > > -- > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Have you migrated to v200909 yet? > > The v13 sunset is on April 22, 2010. > > > Also find us on our blog and discussion > > group:http://adwordsapi.blogspot.comhttp://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 > > athttp://groups.google.com/group/adwords-api?hl=en > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Have you migrated to v200909 yet? > The v13 sunset is on April 22, 2010. > > Also find us on our blog and discussion > group:http://adwordsapi.blogspot.comhttp://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 > athttp://groups.google.com/group/adwords-api?hl=en- Ocultar texto de la cita - > > - Mostrar texto de la cita - -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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
Re: "Could not connect to host" SOAP Fault on v200909
Hi, What settings are you using in the settings.ini file? Can you check to make sure that there are no firewall configurations on your server needed to allow this connection? Best, - Eric Koleda, AdWords API Team On Apr 20, 6:39 am, Birckin wrote: > Hello. > > I'm in the process of updating the tool to v200909 from the old v13 > using AdWords API PHP Client Library. > > Setting the things first I've just tried to log into the AdWords > account (following the simple "Getting started" video in the library > site) getting a "Could not connect to host" SOAP Fault message as a > result. > > I've tried several things but no one worked: modifying the > AdsSoapClient::__soapCall() code to attempt several trys, appending "? > wsdl" string at the end of the URL, trying with and without sandbox, > etc. > > The fact is that the old v13 is still running and working, so my > server can successfully connect and operate > withhttps://adwords.google.com/api/adwords/v13/CampaignService?wsdlbut > cannot do the same > withhttps://adwords.google.com/api/adwords/cm/v200909/CampaignService > norhttps://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl > nor sandbox URL versions. > > What could be the problem? Maybe connectivity? Some code issues? Is > just AdWords API having any problem? > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Have you migrated to v200909 yet? > The v13 sunset is on April 22, 2010. > > Also find us on our blog and discussion > group:http://adwordsapi.blogspot.comhttp://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 > athttp://groups.google.com/group/adwords-api?hl=en -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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
"Could not connect to host" SOAP Fault on v200909
Hello. I'm in the process of updating the tool to v200909 from the old v13 using AdWords API PHP Client Library. Setting the things first I've just tried to log into the AdWords account (following the simple "Getting started" video in the library site) getting a "Could not connect to host" SOAP Fault message as a result. I've tried several things but no one worked: modifying the AdsSoapClient::__soapCall() code to attempt several trys, appending "? wsdl" string at the end of the URL, trying with and without sandbox, etc. The fact is that the old v13 is still running and working, so my server can successfully connect and operate with https://adwords.google.com/api/adwords/v13/CampaignService?wsdl but cannot do the same with https://adwords.google.com/api/adwords/cm/v200909/CampaignService nor https://adwords.google.com/api/adwords/cm/v200909/CampaignService?wsdl nor sandbox URL versions. What could be the problem? Maybe connectivity? Some code issues? Is just AdWords API having any problem? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Have you migrated to v200909 yet? The v13 sunset is on April 22, 2010. 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