Thursday, 30 June 2016

Parsing WSDL error

Hi all,

Im using API's since last year and I've never understand why there are so many problems while starting a PHP script.
I get this error 2/3 times:

PHP Fatal error:  SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/v201605/AdGroupCriterionService?wsdl' : failed to load external entity "https://adwords.google.com/api/adwords/cm/v201605/AdGroupCriterionService?wsdl"
 
in /hd1/www/giorgio/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 169
PHP
Fatal error:  Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/v201605/AdGroupCriterionService?wsdl' : failed to load external entity "https://adwords.google.com/api/adwords/cm/v201605/AdGroupCriterionService?wsdl"
 
in /hd1/www/giorgio/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php:169
Stack trace:
#0 /hd1/www/giorgio/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php(169): SoapClient->SoapClient('https://adwords...', Array)
#1 /hd1/www/giorgio/src/Google/Api/Ads/AdWords/Lib/AdWordsSoapClient.php(51): AdsSoapClient->__construct('https://adwords...', Array, Object(AdWordsUser), 'AdGroupCriterio...', 'https://adwords...')
#2 /hd1/www/giorgio/src/Google/Api/Ads/AdWords/v201605/AdGroupCriterionService.php(10389): AdWordsSoapClient->__construct('https://adwords...', Array, Object(AdWordsUser), 'AdGroupCriterio...', 'https://adwords...')
#3 /hd1/www/giorgio/src/Google/Api/Ads/Common/Lib/SoapClientFactory.php(166): AdGroupCriterionService->__construct('http in /hd1/www/giorgio/src/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 169

Can someone help me please? The problem is that the same script sometimes works for 24/48hours with no problem and sometimes this error appears after 3/4 minutes. What's wrong here?

Thanks a lot,
bye!

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
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+unsubscribe@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+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cf74dff5-6688-44ca-bb39-a4c563bbbad4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment