Hello All,
I am having this problem From last 10 days, some times Google Api raise below error when it try to Active campaign in loop, It does not happen continuesly , from efforts of five in two effort it raise this error.. Please Can any one have a solution? sorry for my bad English...
Error:
SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/v201302/CampaignService?wsdl' : failed to load external entity "https://adwords.google.com/api/adwords/cm/v201302/CampaignService?wsdl"
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl' : failed to load external entity "https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl"
openssl s_client -connect adwords.google.com:443
[~]# wget https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
--2014-01-08 15:21:12-- https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
Resolving adwords.google.com... 74.125.24.50, 2a00:1450:400b:c02::32
Connecting to adwords.google.com|74.125.24.50|:443... connected.
ERROR: certificate common name `google.com' doesn't match requested host name `adwords.google.com'.
To connect to adwords.google.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
[~]# wget --no-check-certificate https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
--2014-01-08 15:27:02-- https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
Resolving adwords.google.com... 74.125.24.50, 2a00:1450:400b:c02::32
Connecting to adwords.google.com|74.125.24.50|:443... connected.
WARNING: certificate common name `google.com' doesn't match requested host name `adwords.google.com'.
HTTP request sent, awaiting response... 403 Forbidden
2014-01-08 15:27:03 ERROR 403: Forbidden.
# wget https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
--2014-01-08 16:09:33-- https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
Resolving adwords.google.com... 173.194.67.50, 2a00:1450:400c:c05::32
Connecting to adwords.google.com|173.194.67.50|:443... connected.
ERROR: certificate common name âgoogle.comâadwords.google.comâ
To connect to adwords.google.com insecurely, use â--no-check-certificateâ.
# wget --no-check-certificate https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
--2014-01-08 16:09:55-- https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
Resolving adwords.google.com... 173.194.67.50, 2a00:1450:400c:c05::32
Connecting to adwords.google.com|173.194.67.50|:443... connected.
WARNING: certificate common name âgoogle.comâadwords.google.comâ
HTTP request sent, awaiting response... 403 Forbidden
$wsdl = $location . '?wsdl';
Change to:
$wsdl = $location;
And:
line #174
protected function GetServiceLocation($serviceName) {
if ($serviceName == 'CampaignService' || $serviceName == 'Campaign') {
return 'path/to/local/wsdl';
}