Hello Igor,

Please make sure the following URL is accessible from your server:

  https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl

Also, SSL root certs are up to date and date / time are correct.


-Danial, AdWords API Team.


On Monday, January 27, 2014 5:43:21 PM UTC+4, Игорь Елисеев wrote:
>
> Hello!
> I have a problem with this simple code: 
>
> require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
> $user = new AdWordsUser(null, '@gmail.com', '', '');
> $user->SetClientId('1234567890');
> $campaignServiceObject = $user->GetService('CampaignService', 'v201309');
>
> And i have:
>
> *Fatal error*: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing 
> WSDL: Couldn't load from '
> https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl' : 
> failed to load external entity "
> https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl"; 
> in 
> D:\xampp\htdocs\adwords_api2\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php:169
>  
> Stack trace: #0 
> D:\xampp\htdocs\adwords_api2\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php(169):
>  
> SoapClient->SoapClient('https://adwords...', Array) #1 
> D:\xampp\htdocs\adwords_api2\src\Google\Api\Ads\AdWords\Lib\AdWordsSoapClient.php(52):
>  
> AdsSoapClient->__construct('https://adwords...', Array, 
> Object(AdWordsUser), 'CampaignService', 'https://adwords...') #2 
> D:\xampp\htdocs\adwords_api2\src\Google\Api\Ads\AdWords\v201309\CampaignService.php(6192):
>  
> AdWordsSoapClient->__construct('https://adwords...', Array, 
> Object(AdWordsUser), 'CampaignService', 'https://adwords...') #3 
> D:\xampp\htdocs\adwords_api2\src\Google\Api\Ads\Common\Lib\SoapClientFactory.php(149):
>  
> CampaignServi in
> *D:\xampp\htdocs\adwords_api2\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php*
>  on 
> line *169*
>
> If i change CampaignService to another service i will have the same error.
> I tried to upload this code to production server and i had the same.
>
> How to solve this problem?
> Thank you!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to