change version and con not connect

27 views
Skip to first unread message

Joaquim Rossell

unread,
Dec 4, 2017, 10:24:10 AM12/4/17
to AdWords API Forum
Hello,

we adapt the library and the new auth method, from version 201609 to the last (201710). I defined the adsapi_php.ini using the the same credentials.
I even asked for a new refresh token but didnt work.

When I try to use the GetCampaigns   example:

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\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php:75 
Stack trace:
 #0 C:\xampp\htdocs\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php(75): SoapClient->SoapClient('https://adwords...', Array) 
#1 C:\xampp\htdocs\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\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\Util\Reflection.php(39): ReflectionClass->newInstanceArgs(Array) 
#4 C:\xampp\htdocs\vendor\googleads\googleads-php-lib\src\Google in C:\xampp\htdocs\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php on line 75

please, any idea to go on?

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Dec 4, 2017, 4:28:59 PM12/4/17
to AdWords API Forum
Hi, 

Could you confirm if you face this issue for all services and reporting? If you are using an older version of PHP library, could you please try to upgrade to the v32.0.0 version and see if the issue persists? If it does, please log a new issue in the issues tracker. The library owner should be able to assist you with this.

Thanks,
Sreelakshmi, AdWords API Team
Reply all
Reply to author
Forward
0 new messages