Unable to get refresh Token

2014-09-08 Thread Shukla Abhinav


*I am trying to run my adwords but everytime I try to execute the 
GetRefreshToken.php file on my server I get the following error*

quot;Warning: Error parsing 
 ../aw/src/Google/Api/Ads/AdWords/Lib/api.properties on line 14 in .. 
/aw/src/Google/Api/Ads/Common/Util/ApiPropertiesUtils.php on line 40 
 Notice: Use of undefined constant WSDL_CACHE_NONE - assumed 
#39;WSDL_CACHE_NONE#39; in  .. 
/googleads-php-lib-master/src/Google/Api/Ads/Common/Lib/AdsUser.php on line 
231 Log in to your AdWords account and open the following URL:
https://accounts.google.com/o/oauth2/auth?response_type=codeamp;client_id=529713113834-pcltkti85cv8...
 
https://accounts.google.com/o/oauth2/auth?response_type=codeamp;client_id=529713113834-pcltkti85cv8s6991p1lloprigi3ah46.apps.googleusercontent.comamp;redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoobamp;scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwordsamp;access_type=offline
 After 
approving the token enter the authorization code here: Your OAuth2 
Credentials are incorrect. Please see the GetRefreshToken.php example. { 
quot;errorquot; : quot;invalid_requestquot;, 
quot;error_descriptionquot; : quot;Missing required parameter: 
codequot; }quot;


I dont know where am I going wrong .Please help me with this.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/30fc0696-ff81-4a51-b5ef-5c1a8203ad16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Enable SOAP in PHP

2014-09-08 Thread Shukla Abhinav
I am trying to create a new campaign to test my adwords account and it says 
to me 

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

*Fatal error: This client library requires the SOAP extension to be 
activated. See http://php.net/manual/en/soap.installation.php for details. 
in 
../test_google_ads/aw/src/Google/Api/Ads/Common/Lib/SoapClientFactory.php 
on line 94*

On going to the link it says To enable SOAP support, configure PHP with 
--enable-soap .
Where do I need to add this line and in which file?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e4a5683e-2853-4776-92ad-41dedbabcdeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unable to get refresh Token

2014-09-03 Thread Shukla Abhinav


*I am trying to run my adwords but everytime I try to execute the 
GetRefreshToken.php file on my server I get the following error*

quot;Warning: Error parsing 
 ../googleads-php-lib-master/src/Google/Api/Ads/AdWords/Lib/api.properties 
on line 14 in .. 
/googleads-php-lib-master/src/Google/Api/Ads/Common/Util/ApiPropertiesUtils.php 
on line 40  Notice: Use of undefined constant WSDL_CACHE_NONE - assumed 
#39;WSDL_CACHE_NONE#39; in  .. 
/googleads-php-lib-master/src/Google/Api/Ads/Common/Lib/AdsUser.php on line 
231 Log in to your AdWords account and open the following URL:
https://accounts.google.com/o/oauth2/auth?response_type=codeamp;client_id=529713113834-pcltkti85cv8...
 
https://accounts.google.com/o/oauth2/auth?response_type=codeamp;client_id=529713113834-pcltkti85cv8s6991p1lloprigi3ah46.apps.googleusercontent.comamp;redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoobamp;scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwordsamp;access_type=offline
 After 
approving the token enter the authorization code here: Your OAuth2 
Credentials are incorrect. Please see the GetRefreshToken.php example. { 
quot;errorquot; : quot;invalid_requestquot;, 
quot;error_descriptionquot; : quot;Missing required parameter: 
codequot; }quot;

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a516bc9c-c3e9-4d45-8fcd-d03218be5647%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.