Hello,

Any update on this?

I am getting same error.

Use of undefined constant WSDL_CACHE_NONE - assumed 'WSDL_CACHE_NONE' in 
*/src/Google/Api/Ads/Common/Lib/AdsUser.php* on line *231*

PHP Version : 
5.4.27

On Wednesday, January 29, 2014 2:43:44 PM UTC+5:30, sensah wrote:
>
> when i try to execute example code in the api folder. I get the following 
> error.
>
> C:\wamp\bin\php\php5.4.3>php 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php
> PHP Notice:  Use of undefined constant WSDL_CACHE_NONE - assumed 
> 'WSDL_CACHE_NONE' in 
> C:\wamp\www\adwords\src\Google\Api\Ads\Common\Lib\AdsUser.php on line 229
> PHP Stack trace:
> PHP   1. {main}() 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php:0
> PHP   2. AdWordsUser->__construct() 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php:133
> PHP   3. AdsUser->LoadSettings() 
> C:\wamp\www\adwords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php:176
>
> Notice: Use of undefined constant WSDL_CACHE_NONE - assumed 
> 'WSDL_CACHE_NONE' in 
> C:\wamp\www\adwords\src\Google\Api\Ads\Common\Lib\AdsUser.php on line 229
>
> Call Stack:
>     0.0021     255600   1. {main}() 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php:0
>     0.0182     936840   2. AdWordsUser->__construct() 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php:133
>     0.0244     966344   3. AdsUser->LoadSettings() 
> C:\wamp\www\adwords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php:176
>
> PHP Fatal error:  This client library requires the SOAP extension to be 
> activated. See http://php.net/manual/en/soap.installation.php for 
> details. in 
> C:\wamp\www\adwords\src\Google\Api\Ads\Common\Lib\SoapClientFactory.php on 
> line 87
> PHP Stack trace:
> PHP   1. {main}() 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php:0
> PHP   2. EstimateKeywordTrafficExample() 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php:139
> PHP   3. AdWordsUser->GetService() 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php:41
> PHP   4. AdsUser->GetServiceSoapClient() 
> C:\wamp\www\adwords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php:249
> PHP   5. SoapClientFactory->GenerateSoapClient() 
> C:\wamp\www\adwords\src\Google\Api\Ads\Common\Lib\AdsUser.php:133
> PHP   6. trigger_error() 
> C:\wamp\www\adwords\src\Google\Api\Ads\Common\Lib\SoapClientFactory.php:87
>
> Fatal error: This client library requires the SOAP extension to be 
> activated. See http://php.net/manual/en/soap.installation.php for 
> details. in 
> C:\wamp\www\adwords\src\Google\Api\Ads\Common\Lib\SoapClientFactory.php on 
> line 87
>
> Call Stack:
>     0.0021     255600   1. {main}() 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php:0
>     0.0380     945064   2. EstimateKeywordTrafficExample() 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php:139
>     0.0380     946040   3. AdWordsUser->GetService() 
> C:\wamp\www\adwords\examples\AdWords\v201309\Optimization\EstimateKeywordTraffic.php:41
>     0.0390     947256   4. AdsUser->GetServiceSoapClient() 
> C:\wamp\www\adwords\src\Google\Api\Ads\AdWords\Lib\AdWordsUser.php:249
>     0.0390     947288   5. SoapClientFactory->GenerateSoapClient() 
> C:\wamp\www\adwords\src\Google\Api\Ads\Common\Lib\AdsUser.php:133
>     0.0391     947648   6. trigger_error() 
> C:\wamp\www\adwords\src\Google\Api\Ads\Common\Lib\SoapClientFactory.php:87
>
>
> it is not because my soap service is not available because I tested it by 
> this code 
>
> if(extension_loaded('soap')){
> echo "it works";
> }else{
> echo "fail";
> }
>
> it echoes "it works";
>
> so what could be the problem
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1bed59cd-b183-4436-97c3-b507d8137d5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to