Adwords API - Examples/AdWords/v201702 "Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL"

262 views
Skip to first unread message

yac...@ewebify.com

unread,
Apr 14, 2017, 1:55:30 PM4/14/17
to AdWords API Forum

Hello Everyone,

I was trying to run 'GetCampaigns.php' and i keep receiving 'Fatal error: Uncaught SoapFault exception'. Here is what i see on my terminal:


Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/cm/v201702/CampaignService?wsdl' : failed to load external entity "https://adwords.google.com/api/adwords/cm/v201702/CampaignService?wsdl"
in /Applications/MAMP/htdocs/paypercall-adwords-api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php:65


Stack trace:


#0 /Applications/MAMP/htdocs/paypercall-adwords-api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php(65): SoapClient->S
oapClient('https://adwords...', Array)


#1 /Applications/MAMP/htdocs/paypercall-adwords-api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201702/cm/CampaignService.php(144)
: Google\AdsApi\Common\AdsSoapClient->__construct('https://adwords...', Array)


#2 [internal function]: Google\AdsApi\AdWords\v201702\cm\CampaignService->__construct(Array)


#3 /Applications/MAMP/htdocs/paypercall-adwords-api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Comm in /Applications/MAMP/htdocs/paypercal
l-adwords-api/vendor/googleads/googleads-php-lib/src/Google/AdsApi/Common/AdsSoapClient.php on line 65


Can anyone help me fix this problem? Thank You.


Yacouba Keita

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Apr 14, 2017, 3:34:02 PM4/14/17
to AdWords API Forum
Hi Keita,

I see that you have also created an issue in the PHP repository and Knack is helping you there. To avoid duplicate threads, I will treat this one as closed.

Thanks,
Sreelakshmi, AdWords API Team

Reply all
Reply to author
Forward
0 new messages