I manage to solve the problem with the help of someone in github. Here is 
our conversation and the solution as well. Please follow the steps 
carefully.

Solution:
https://github.com/googleads/googleads-php-lib/issues/276#issuecomment-349531261

Quick solution:

This is for PHP 7.1, Xampp 3.2.2, Windows 10 64x/32x.

Steps:

   1. download pem file here https://curl.haxx.se//ca/cacert-2017-09-20.pem
   2. rename Rename the cacert-2017-09-20.pem file to curl-ca-bundle.crt
   3. copy - paste - replace at C:\xampp\apache\bin\
   4. open php.ini and find openssl.cafile, uncomment and provide path for 
   curl-ca-bundle.crt
   example: openssl.cafile="C:\xampp\apache\bin\curl-ca-bundle.crt"
   5. restart xamp

This is solve! Mine is working now. Thanks!

On Tuesday, December 5, 2017 at 7:28:48 PM UTC+8, ken...@blvnp.com wrote:
>
> I am running Xampp v3. 
> PHP 7.1
> Windows 10 64x
>
> I was only making a simple GetCampaigns. 
>
>
> This is the error.
>
> Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing 
> WSDL: Couldn't load from '
> https://adwords.google.com/api/adwords/cm/v201710/CampaignService?wsdl' : 
> failed to load external entity "
> https://adwords.google.com/api/adwords/cm/v201710/CampaignService?wsdl"; 
> in 
> C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php:75
>  
> Stack trace: #0 
> C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php(75):
>  
> SoapClient->SoapClient('https://adwords...', Array) #1 
> C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\AdWords\v201710\cm\CampaignService.php(146):
>  
> Google\AdsApi\Common\AdsSoapClient->__construct('https://adwords...', 
> Array) #2 [internal function]: 
> Google\AdsApi\AdWords\v201710\cm\CampaignService->__construct(Array) #3 
> C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\Util\Reflection.php(39):
>  
> ReflectionCl in 
> C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php
>  on line 75
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+unsubscr...@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+unsubscr...@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/2ff62573-ea4d-4deb-9673-ed5023674d02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • I run th... kendan
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... kendan
    • Re:... kendan

Reply via email to