PHP Fatal error: This client library requires the SOAP extension to be activated

2014-01-10 Thread Mehul HvInfotech

Hello All,
*I am trying to getCampaigns in my local host with the Command Line ..*
*i have set all the parameter in the Auth.ini *
*Soap Is enabled , You can check i have added php info screenshot below , 
even Soap is enabled I am getting this error .*
 





*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 
D:\Mehul\project\project\adx_api_php_4.7.0\src\Google\Api\Ads\Common\Lib\SoapClientFactory.php
 
on line 87*



 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SOAP-ERROR: Parsing WSDL

2014-01-08 Thread Mehul HvInfotech
Hello Paul,

I have tried different server for WGET but getting exactly same errors like 
earlier one.

# wget 
> https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
> --2014-01-08 16:09:33-- 
>  https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
> Resolving adwords.google.com... 173.194.67.50, 2a00:1450:400c:c05::32
> Connecting to adwords.google.com|173.194.67.50|:443... connected.
> ERROR: certificate common name âgoogle.comâadwords.google.comâ
> To connect to adwords.google.com insecurely, use â--no-check-certificateâ.



And

# wget --no-check-certificate 
> https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
> --2014-01-08 16:09:55-- 
>  https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
> Resolving adwords.google.com... 173.194.67.50, 2a00:1450:400c:c05::32
> Connecting to adwords.google.com|173.194.67.50|:443... connected.
> WARNING: certificate common name âgoogle.comâadwords.google.comâ
> HTTP request sent, awaiting response... 403 Forbidden


And main thing is it was working fine till Yesterday evening. And Nothing 
is changed before that.

Any idea about SSL settings needs to checked / modified?

Thanks,
Mehul

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SOAP-ERROR: Parsing WSDL

2014-01-08 Thread Mehul HvInfotech
Hello,

I also tried WGET with --no-check-certificate but it fails too,

[~]# wget --no-check-certificate 
> https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
> --2014-01-08 15:27:02-- 
> https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
> Resolving adwords.google.com... 74.125.24.50, 2a00:1450:400b:c02::32
> Connecting to adwords.google.com|74.125.24.50|:443... connected.
> WARNING: certificate common name `google.com' doesn't match requested host 
> name `adwords.google.com'.
> HTTP request sent, awaiting response... 403 Forbidden
> 2014-01-08 15:27:03 ERROR 403: Forbidden.
>

Thanks,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SOAP-ERROR: Parsing WSDL

2014-01-08 Thread Mehul HvInfotech
Hi Paul,

We will try getting WSDL file via WGET but I need to know more about HOW to 
modify our application so that it reads from local directory?

Can you help in that?


On Wednesday, 8 January 2014 20:41:41 UTC+5:30, Paul Matthews (AdWords API 
Team) wrote:
>
> Are you seeing this error on other services? This error should be 
> unrelated to your authorization mechanism (OAuth2).
>
> Can you try downloading the wsdl from the server using wget or something. 
> Then checking it's formed correctly. Finally modify your application so 
> that it reads the WSDL from your local machine.
>
> We're not getting reports of this error from other customers, so the wsdl 
> should be available and correct.
>
> Regards,
>
> - Paul, AdWords API Team.
>
> On Wednesday, 8 January 2014 14:54:56 UTC, Mehul HvInfotech wrote:
>>
>> Hello Paul,
>>
>> We are using version 
>>
>> *v201309 with ClientLogin. Also tested with OAuth2.*We are getting this 
>> error,
>>
>> 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";  
>>>
>>>
>>
>> Our server has OpenSSL Enabled in php.ini and we have also tested 
>> connection between our server to google adwords as,
>>
>> openssl s_client -connect adwords.google.com:443
>>>
>>>
>> Kindly check & Let us know ASAP.
>>
>> Thanks,
>>  
>>  
>>
>> On Wednesday, 8 January 2014 19:52:26 UTC+5:30, Paul Matthews (AdWords 
>> API Team) wrote:
>>>
>>> If you're still requesting the WSDL you listed before, you'll be hitting 
>>> this problem because the v201302 has 
>>> sunset<https://developers.google.com/adwords/api/docs/sunset-dates> - 
>>> you would need to update to a current version of the AdWords API.
>>>
>>> If you've updated to a working API version then as Evgeniy suggested, 
>>> you should try to download the WSDL from the URL yourself:
>>>
>>>1. Download the 
>>> wsdl<https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl>and
>>>  store it somewhere accessible locally on your webserver
>>>2. Point your application to the local wsdl rather than the URL it 
>>>will currently have
>>>3. Make a request & check the soap logs
>>>
>>> Regards,
>>>
>>> - Paul, AdWords API Team.
>>>
>>> On Wednesday, 8 January 2014 12:50:08 UTC, Mehul HvInfotech wrote:
>>>>
>>>> Do you means by setting.ini ?
>>>> we have tried with all tree option for this ...
>>>>
>>>>
>>>>
>>>> On Wednesday, 8 January 2014 14:37:02 UTC+5:30, Evgeniy Bogdanov wrote:
>>>>>
>>>>> You could save WSDL on local disk and alter library to use it instead 
>>>>> of remote URL.
>>>>>
>>>>>
>>>>> 2014/1/8 Mehul HvInfotech 
>>>>>
>>>>>> Hi Paul ,
>>>>>>  Again From  This Morning we are facing this problem ..
>>>>>> Till the the Day it was working fine ..
>>>>>> we have also checked about Open SSL enabled And it is enabled ...
>>>>>>
>>>>>> can you suggest in this , Please , Its so urgent ...
>>>>>>
>>>>>>
>>>>>> On Wednesday, 3 April 2013 15:47:38 UTC+5:30, Paul Matthews (AdWords 
>>>>>> API Team) wrote:
>>>>>>>
>>>>>>> Hi Mahesh,
>>>>>>>
>>>>>>> *Firstly:*
>>>>>>> Have you enabled WSDL_CACHE? We've had reported issues where caching 
>>>>>>> of WSDLs has caused errors. Can you try turning it off and making the 
>>>>>>> same 
>>>>>>> number of requests. This setting is configurable in the 
>>>>>>> settings.ini<https://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ads/AdWords/settings.ini>.
>>>>>>>
>>>>>>> *Secondly:*
>>>>>>> This kind of problem is generally due to connectivity issues between 
>>>>>>> the client server and the google servers. Often caused by either 
>>>>>>> a miss-configured network proxy or a network issue. You may need to do 
>

Re: SOAP-ERROR: Parsing WSDL

2014-01-08 Thread Mehul HvInfotech
Hello,

I just tried WGET for WSDL and getting this error,


[~]# wget 
> https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
> --2014-01-08 15:21:12-- 
> https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl
> Resolving adwords.google.com... 74.125.24.50, 2a00:1450:400b:c02::32
> Connecting to adwords.google.com|74.125.24.50|:443... connected.
> ERROR: certificate common name `google.com' doesn't match requested host 
> name `adwords.google.com'.
> To connect to adwords.google.com insecurely, use `--no-check-certificate'.
> Unable to establish SSL connection.
>

Any suggestions on this?

Thanks,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SOAP-ERROR: Parsing WSDL

2014-01-08 Thread Mehul HvInfotech
Hello Paul,

We are using version 

*v201309 with ClientLogin. Also tested with OAuth2.*We are getting this 
error,

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";  
>

Our server has OpenSSL Enabled in php.ini and we have also tested 
connection between our server to google adwords as,

openssl s_client -connect adwords.google.com:443
>
>
Kindly check & Let us know ASAP.

Thanks,
 
 

On Wednesday, 8 January 2014 19:52:26 UTC+5:30, Paul Matthews (AdWords API 
Team) wrote:
>
> If you're still requesting the WSDL you listed before, you'll be hitting 
> this problem because the v201302 has 
> sunset<https://developers.google.com/adwords/api/docs/sunset-dates> - 
> you would need to update to a current version of the AdWords API.
>
> If you've updated to a working API version then as Evgeniy suggested, you 
> should try to download the WSDL from the URL yourself:
>
>1. Download the 
> wsdl<https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl>and
>  store it somewhere accessible locally on your webserver
>2. Point your application to the local wsdl rather than the URL it 
>will currently have
>3. Make a request & check the soap logs
>
> Regards,
>
> - Paul, AdWords API Team.
>
> On Wednesday, 8 January 2014 12:50:08 UTC, Mehul HvInfotech wrote:
>>
>> Do you means by setting.ini ?
>> we have tried with all tree option for this ...
>>
>>
>>
>> On Wednesday, 8 January 2014 14:37:02 UTC+5:30, Evgeniy Bogdanov wrote:
>>>
>>> You could save WSDL on local disk and alter library to use it instead of 
>>> remote URL.
>>>
>>>
>>> 2014/1/8 Mehul HvInfotech 
>>>
>>>> Hi Paul ,
>>>>  Again From  This Morning we are facing this problem ..
>>>> Till the the Day it was working fine ..
>>>> we have also checked about Open SSL enabled And it is enabled ...
>>>>
>>>> can you suggest in this , Please , Its so urgent ...
>>>>
>>>>
>>>> On Wednesday, 3 April 2013 15:47:38 UTC+5:30, Paul Matthews (AdWords 
>>>> API Team) wrote:
>>>>>
>>>>> Hi Mahesh,
>>>>>
>>>>> *Firstly:*
>>>>> Have you enabled WSDL_CACHE? We've had reported issues where caching 
>>>>> of WSDLs has caused errors. Can you try turning it off and making the 
>>>>> same 
>>>>> number of requests. This setting is configurable in the 
>>>>> settings.ini<https://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ads/AdWords/settings.ini>.
>>>>>
>>>>> *Secondly:*
>>>>> This kind of problem is generally due to connectivity issues between 
>>>>> the client server and the google servers. Often caused by either 
>>>>> a miss-configured network proxy or a network issue. You may need to do 
>>>>> some 
>>>>> investigation to see if there is a network issue there.
>>>>>
>>>>> *Finally:*
>>>>> I recommend building in fault tolerance, to allow you to retry the 
>>>>> failing request. I.e. whenever a request fails, it waits and retries the 
>>>>> original request - such as the exponential backoff 
>>>>> algorithm<http://en.wikipedia.org/wiki/Exponential_backoff>
>>>>> .
>>>>>
>>>>> Regards,
>>>>>
>>>>> - Paul, AdWords API Team.
>>>>>
>>>>  -- 
>>>> -- 
>>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>>> 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 adwor...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> adwords-api...@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 
&

Re: SOAP-ERROR: Parsing WSDL

2014-01-08 Thread Mehul HvInfotech
Do you means by setting.ini ?
we have tried with all tree option for this ...



On Wednesday, 8 January 2014 14:37:02 UTC+5:30, Evgeniy Bogdanov wrote:
>
> You could save WSDL on local disk and alter library to use it instead of 
> remote URL.
>
>
> 2014/1/8 Mehul HvInfotech >
>
>> Hi Paul ,
>>  Again From  This Morning we are facing this problem ..
>> Till the the Day it was working fine ..
>> we have also checked about Open SSL enabled And it is enabled ...
>>
>> can you suggest in this , Please , Its so urgent ...
>>
>>
>> On Wednesday, 3 April 2013 15:47:38 UTC+5:30, Paul Matthews (AdWords API 
>> Team) wrote:
>>>
>>> Hi Mahesh,
>>>
>>> *Firstly:*
>>> Have you enabled WSDL_CACHE? We've had reported issues where caching of 
>>> WSDLs has caused errors. Can you try turning it off and making the same 
>>> number of requests. This setting is configurable in the 
>>> settings.ini<https://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ads/AdWords/settings.ini>.
>>>
>>> *Secondly:*
>>> This kind of problem is generally due to connectivity issues between the 
>>> client server and the google servers. Often caused by either 
>>> a miss-configured network proxy or a network issue. You may need to do some 
>>> investigation to see if there is a network issue there.
>>>
>>> *Finally:*
>>> I recommend building in fault tolerance, to allow you to retry the 
>>> failing request. I.e. whenever a request fails, it waits and retries the 
>>> original request - such as the exponential backoff 
>>> algorithm<http://en.wikipedia.org/wiki/Exponential_backoff>
>>> .
>>>
>>> Regards,
>>>
>>> - Paul, AdWords API Team.
>>>
>>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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 adwor...@googlegroups.com
>> To unsubscribe from this group, send email to
>> adwords-api...@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...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
For more options, visit https://groups.google.com/groups/opt_out.


Re: SOAP-ERROR: Parsing WSDL

2014-01-07 Thread Mehul HvInfotech
Hi Paul ,
 Again From  This Morning we are facing this problem ..
Till the the Day it was working fine ..
we have also checked about Open SSL enabled And it is enabled ...

can you suggest in this , Please , Its so urgent ...


On Wednesday, 3 April 2013 15:47:38 UTC+5:30, Paul Matthews (AdWords API 
Team) wrote:
>
> Hi Mahesh,
>
> *Firstly:*
> Have you enabled WSDL_CACHE? We've had reported issues where caching of 
> WSDLs has caused errors. Can you try turning it off and making the same 
> number of requests. This setting is configurable in the 
> settings.ini.
>
> *Secondly:*
> This kind of problem is generally due to connectivity issues between the 
> client server and the google servers. Often caused by either 
> a miss-configured network proxy or a network issue. You may need to do some 
> investigation to see if there is a network issue there.
>
> *Finally:*
> I recommend building in fault tolerance, to allow you to retry the failing 
> request. I.e. whenever a request fails, it waits and retries the original 
> request - such as the exponential backoff 
> algorithm
> .
>
> Regards,
>
> - Paul, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
For more options, visit https://groups.google.com/groups/opt_out.