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