Getting an error while running Getcampaigns on local machine

25 views
Skip to first unread message

sho...@multipliersolutions.in

unread,
Dec 27, 2014, 12:56:50 AM12/27/14
to adwor...@googlegroups.com

 [message:protected] => SOAP-ERROR: Parsing WSDL: Couldn't load from 'https:/
1209/CampaignService?wsdl"

Michael Cloonan (AdWords API Team)

unread,
Dec 29, 2014, 11:57:24 AM12/29/14
to adwor...@googlegroups.com
Hello,

AdWords API v201209 is deprecated. Please try using a newer version of the AdWords API. Currently, v201406 and v201409 are supported.

Regards,
Mike, AdWords API Team

Kiran Kumar

unread,
Dec 30, 2014, 12:49:50 AM12/30/14
to adwor...@googlegroups.com
I have changed my version to v201406,though I am getting an error 


Error:

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] => 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] => [code:protected] => 0 [file:protected] => /var/www/vhosts/healthcampaign.in/httpdocs/smscampaign/pages/FacebookAds.php [line:protected] => 219 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/vhosts/healthcampaign.in/httpdocs/smscampaign/pages/FacebookAds.php [line] => 219 [function] => SoapClient [class] => SoapClient [type] => -> [args] => Array ( [0] => https://adwords-sandbox.google.com/api/adwords/cm/v201406/CampaignService?wsdl [1] => Array ( [trace] => 1 ) ) ) ) [previous:Exception:private] => [faultstring] => 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] => WSDL )

Michael Cloonan (AdWords API Team)

unread,
Dec 30, 2014, 9:11:32 AM12/30/14
to adwor...@googlegroups.com
Hello,

Please simply use "adwords.google.com", rather than "adwords-sandbox.google.com".

If you are still encountering errors after that, please include your request (including both HTTP headers and the entire SOAP message) in addition to the response so that I can help troubleshoot. Make sure to hide any confidential information, such as developer token.

Regards,
Mike, AdWords API Team
Reply all
Reply to author
Forward
0 new messages