title: SOAP-ERROR: Parsing WSDL: Couldn't load from
body: <p>I am integrating google Adwords API in my web appllcation ,I getting an error while executing my php file i.e</p>
  
  <p>Error:</p>
  
  <pre><code>Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /var/www/vhosts/healthcampaign.in/httpdocs/smscampaign/pages/FacebookAds.php on line 187 
  SoapFault Object ( [message:protected] =&gt; SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords-sandbox.google.com/api/adwords/cm/v201406/CampaignService?wsdl' : 
  failed to load external entity "https://adwords-sandbox.google.com/api/adwords/cm/v201406/CampaignService?wsdl" 
      [string:Exception:private] =&gt; [code:protected] =&gt; 0 [file:protected] =&gt; /var/www/vhosts/healthcampaign.in/httpdocs/smscampaign/pages/FacebookAds.php [line:protected] =&gt; 219
      [trace:Exception:private] =&gt; Array ( [0] =&gt; Array ( 
                                                          [file] =&gt; /var/www/vhosts/healthcampaign.in/httpdocs/smscampaign/pages/FacebookAds.php [line] =&gt; 219 
                                                          [function] =&gt; SoapClient 
                                                          [class] =&gt; SoapClient 
                                                          [type] =&gt; -&gt; [args] =&gt; Array ( 
                                                                                          [0] =&gt; https://adwords-sandbox.google.com/api/adwords/cm/v201406/CampaignService?wsdl 
                                                                                          [1] =&gt; Array ( [trace] =&gt; 1 ) 
                                                                                          ) 
                                                      ) 
      ) 
      [previous:Exception:private] =&gt; [faultstring] =&gt; SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords-sandbox.google.com/api/adwords/cm/v201406/CampaignService?wsdl' : 
      failed to load external entity "https://adwords-sandbox.google.com/api/adwords/cm/v201406/CampaignService?wsdl" [faultcode] =&gt; WSDL )
  </code></pre>