Eric- Thanks for the help but I solved it. Apparently I had to enable WDDX in my PHP build.
Can you please add this to the requirements on the API page in case anyone else doesn't have it enabled? Thanks Eric! On Jul 12, 8:17 pm, zac439 <ad...@learn-networking.com> wrote: > Eric- > > I typed the following: > [r...@server ~]# set | grep PROXY > > It came up empty, likely meaning there is no proxy in the shell. > > Further thoughts? > > On Jul 12, 4:51 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > Hi, > > > Is an HTTP proxy configured in the shell? If so it must also be > > configured in the PHP client library. > > > Best, > > - Eric > > > On Jul 11, 2:38 am, zac439 <ad...@learn-networking.com> wrote: > > > > Eric-- > > > > Seems like I can download the WSDL just fine. Let me know if this is > > > what you wanted me to test: > > > > wgethttps://adwords.google.com/api/adwords/o/v201003/TargetingIdeaService... > > > > returns this: > > > >https://adwords.google.com/api/adwords/o/v201003/TargetingIdeaService... > > > => `TargetingIdeaService?wsdl.2' > > > Resolving adwords.google.com... 74.125.19.112 > > > Connecting to adwords.google.com|74.125.19.112|:443... connected. > > > HTTP request sent, awaiting response... 200 OK > > > Length: unspecified [text/xml] > > > > [ <=> ] 242,614 --.--K/s > > > > 01:37:02 (2.04 MB/s) - `TargetingIdeaService?wsdl.2' saved [242614] > > > > On Jul 8, 5:13 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > > > wrote: > > > > > Hi, > > > > > Can you try downloading the WSDL manually on that machine? It could > > > > be that firewall or other network settings are preventing access to > > > > the WSDL. > > > > > Best, > > > > - Eric > > > > > On Jul 7, 5:22 pm, zac439 <ad...@learn-networking.com> wrote: > > > > > > Hi Eric, > > > > > > I get this error: > > > > > Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing > > > > > WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/ > > > > > v200909/CampaignService?wsdl' : Start tag expected, '<' not found in / > > > > > api/src/Google/Api/Ads/Common/Util/noclient.php:59 Stack trace: #0 / > > > > > api/src/Google/Api/Ads/Common/Util/noclient.php(59): > > > > > SoapClient->SoapClient('https://adwords...', Array) #1 {main} thrown > > > > > in /home/ > > > > > > audio25/public_html/justcompete/api/src/Google/Api/Ads/Common/Util/ > > > > > noclient.php on line 59 > > > > > > Any thoughts? > > > > > > Thanks. > > > > > > On Jul 1, 2:49 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > > > > > wrote: > > > > > > > Hi, > > > > > > > Only the runtime environment dependencies are needed. To isolate > > > > > > the > > > > > > cause of the problem further, can you try out the no-client library > > > > > > method detailed here: > > > > > > > http://code.google.com/p/google-api-adwords-php/wiki/NoClientLibrary > > > > > > > Best, > > > > > > - Eric > > > > > > > On Jun 29, 11:46 pm, zac439 <ad...@learn-networking.com> wrote: > > > > > > > > Eric, > > > > > > > > I also noticed that for the "build environment," i need the xsl > > > > > > > library installed. > > > > > > > > I do not have it installed, is that a problem? Not sure if I have > > > > > > > the > > > > > > > other things in the Build Environment list either. Everything in > > > > > > > the > > > > > > > Run Environment I should. > > > > > > > > On Jun 29, 9:08 pm, zac439 <ad...@learn-networking.com> wrote: > > > > > > > > > Eric- > > > > > > > > > wget works, apparently it was a syntax error? My host said they > > > > > > > > verified it worked. > > > > > > > > > I installed OpenSSL myself, and the OS is CentOS. > > > > > > > > Curl/SSL version: > > > > > > > > Curl 7.20.1 - OpenSSL 0.9.7a Feb 19 2003 > > > > > > > > > Maybe i installed it incorrectly? Is there anyway to test with > > > > > > > > a piece > > > > > > > > of code if it's actually working correctly? > > > > > > > > > On Jun 29, 10:05 am, AdWords API Advisor > > > > > > > > > <adwordsapiadvi...@google.com> wrote: > > > > > > > > > Hi, > > > > > > > > > > The error indicates that the WSDL couldn't be loaded. You > > > > > > > > > said before > > > > > > > > > that wget is failing, is that still true? Also, make sure > > > > > > > > > you have > > > > > > > > > the OpenSSL extension installed in PHP. > > > > > > > > > > Best, > > > > > > > > > - Eric > > > > > > > > > > On Jun 26, 1:30 pm, zac439 <ad...@learn-networking.com> wrote: > > > > > > > > > > > Eric- > > > > > > > > > > > It isn't a firewall/proxy issue after all. My host got back > > > > > > > > > > to me and > > > > > > > > > > said he verified it worked via shell. > > > > > > > > > > > What now? I'm still getting the error. It says that the > > > > > > > > > > error is on a > > > > > > > > > > line within this function of AdSoapClient.php -- > > > > > > > > > > > protected function __construct($wsdl, array $options, > > > > > > > > > > AdsUser $user, > > > > > > > > > > $serviceName, $serviceNamespace) { > > > > > > > > > > $this->user = $user; > > > > > > > > > > $this->serviceName = $serviceName; > > > > > > > > > > $this->serviceNamespace = $serviceNamespace; > > > > > > > > > > parent::__construct($wsdl, $options); > > > > > > > > > > } > > > > > > > > > > > On Jun 24, 10:51 am, AdWords API Advisor > > > > > > > > > > > <adwordsapiadvi...@google.com> wrote: > > > > > > > > > > > Hi, > > > > > > > > > > > > Please check the firewall settings in your environment > > > > > > > > > > > and ensure that > > > > > > > > > > > you can access the AdWords API servers. It looks like > > > > > > > > > > > your current > > > > > > > > > > > configuration prevents communication and WSDL downloads. > > > > > > > > > > > > Best, > > > > > > > > > > > - Eric > > > > > > > > > > > > On Jun 24, 2:20 am, zac439 <ad...@learn-networking.com> > > > > > > > > > > > wrote: > > > > > > > > > > > > > OK, this is interesting. I looked back at my wget you > > > > > > > > > > > > had me post and > > > > > > > > > > > > it actually succeeded? > > > > > > > > > > > > > that's odd, because when I use the following, it fails: > > > > > > > > > > > > wget -O test.xml > > > > > > > > > > > > 'https://adwords.google.com/api/adwords/o/v201003/ > > > > > > > > > > > > TargetingIdeaService?wsdl' > > > > > > > > > > > > > would that mean that my wget/curl is at fault? I'm > > > > > > > > > > > > running centOS if > > > > > > > > > > > > that helps. > > > > > > > > > > > > All packages are up to date to my knowledge. I ran yum > > > > > > > > > > > > update. > > > > > > > > > > > > > Wouldn't be a firewall issue, would it? > > > > > > > > > > > > > On Jun 24, 12:06 am, zac439 > > > > > > > > > > > > <ad...@learn-networking.com> wrote: > > > > > > > > > > > > > > It might help if I list some technologies I'm > > > > > > > > > > > > > running, since I'm still > > > > > > > > > > > > > getting this error. > > > > > > > > > > > > > > PHP version: > > > > > > > > > > > > > 5.3.2 > > > > > > > > > > > > > > Configure Command: > > > > > > > > > > > > > './configure' '--disable-fileinfo' '--disable-pdo' > > > > > > > > > > > > > '--enable-bcmath' > > > > > > > > > > > > > '--enable-calendar' '--enable-ftp' > > > > > > > > > > > > > '--enable-gd-native-ttf' '--enable- > > > > > > > > > > > > > libxml' '--enable-mbstring' '--enable-soap' > > > > > > > > > > > > > '--enable-sockets' '-- > > > > > > > > > > > > > enable-zip' '--prefix=/usr' '--with-bz2' > > > > > > > > > > > > > '--with-config-file-path=/usr/ > > > > > > > > > > > > > local/lib' > > > > > > > > > > > > > '--with-config-file-scan-dir=/usr/local/lib/php.ini.d' > > > > > > > > > > > > > '-- > > > > > > > > > > > > > with-curl=/opt/curlssl/' '--with-curlwrappers' > > > > > > > > > > > > > '--with-freetype-dir=/ > > > > > > > > > > > > > usr' '--with-gd' '--with-gettext' '--with-imap=/opt/ > > > > > > > > > > > > > php_with_imap_client/' '--with-imap-ssl=/usr' > > > > > > > > > > > > > '--with-jpeg-dir=/usr' > > > > > > > > > > > > > '--with-kerberos' '--with-libxml-dir=/opt/xml2' > > > > > > > > > > > > > '--with-libxml-dir=/ > > > > > > > > > > > > > opt/xml2/' '--with-mysql=/usr' > > > > > > > > > > > > > '--with-mysql-sock=/var/lib/mysql/ > > > > > > > > > > > > > mysql.sock' '--with-openssl=/usr' > > > > > > > > > > > > > '--with-openssl-dir=/usr' '--with- > > > > > > > > > > > > > pcre-regex=/opt/pcre' '--with-png-dir=/usr' > > > > > > > > > > > > > '--with-pspell' '--with- > > > > > > > > > > > > > xpm-dir=/usr/X11R6' '--with-zlib' > > > > > > > > > > > > > '--with-zlib-dir=/usr' > > > > > > > > > > > > > > Curl/SSL version: > > > > > > > > > > > > > Curl 7.20.1 - OpenSSL 0.9.7a Feb 19 2003 > > > > > > > > > > > > > > On Jun 22, 10:59 pm, zac439 > > > > > > > > > > > > > <ad...@learn-networking.com> wrote: > > > > > > > > > > > > > > > Thanks for the reply Anash. > > > > > > > > > > > > > > I'm using a shell so I'm using wget to check, if > > > > > > > > > > > > > > that's ok? > > > > > > > > > > > > > > > Here is the result: > > > > > > > > > > > > > > > wget > > > > > > > > > > > > > > -drchttps://adwords.google.com/api/adwords/o/v201003/TargetingIdeaService... > > > > > > > > > > > > > > Setting --recursive (recursive) to 1 > > > > > > > > > > > > > > Setting --continue (continue) to 1 > > > > > > > > > > > > > > DEBUG output created by Wget 1.10.2 (Red Hat > > > > > > > > > > > > > > modified) on linux-gnu. > > > > > > > > > > > > > > > Enqueuinghttps://adwords.google.com/api/adwords/o/v201003/TargetingIdeaService... > > > > > > > > > > > > > > at depth 0 > > > > > > > > > > > > > > Queue count 1, maxcount 1. > > > > > > > > > > > > > > Dequeuinghttps://adwords.google.com/api/adwords/o/v201003/TargetingIdeaService... > > > > > > > > > > > > > > at depth 0 > > > > > > > > > > > > > > Queue count 0, maxcount 1. > > > > > > > > > > > > > > --22:55:42-- > > > > > > > > > > > > > > https://adwords.google.com/api/adwords/o/v201003/TargetingIdeaService... > > > > > > > > > > > > > > => > > > > > > > > > > > > > > `adwords.google.com/api/adwords/o/v201003/ > > > > > > > > > > > > > > TargetingIdeaService?wsdl' > > > > > > > > > > > > > > Resolving adwords.google.com... 74.125.19.112 > > > > > > > > > > > > > > Caching adwords.google.com => 74.125.19.112 > > > > > > > > > > > > > > Connecting to > > > > > > > > > > > > > > adwords.google.com|74.125.19.112|:443... connected. > > > > > > > > > > > > > > Created socket 3. > > > > > > > > > > > > > > Releasing 0x084eef78 (new refcount 1). > > > > > > > > > > > > > > Initiating SSL handshake. > > > > > > > > > > > > > > Handshake successful; connected socket 3 to SSL > > > > > > > > > > > > > > handle 0x08504fb8 > > > > > > > > > > > > > > certificate: > > > > > > > > > > > > > > subject: /C=US/ST=California/L=Mountain > > > > > > > > > > > > > > View/O=Google Inc/ > > > > > > > > > > > > > > CN=adwords.google.com > > > > > > > > > > > > > > issuer: /C=US/O=Google Inc/CN=Google Internet > > > > > > > > > > > > > > Authority > > > > > > > > > > > > > > X509 certificate successfully verified and matches > > > > > > > > > > > > > > host > > > > > > > > > > > > > > adwords.google.com > > > > > > > > > > > > > > > ---request begin--- > > ... > > read more » -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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