Re: Unable to get refresh Token

2018-01-23 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi,

The client ID and client secret you used are for the *Web application* flow. 
The *GetRefreshToken.php* example will only work if the client ID and 
client secret specified are for credentials with *Application type = Other* 
(the 
installed application flow). Please see the *Create a client ID and secret* 
section 
of the AdWords API OAuth guide 

 for 
instructions on how to create this type of credential.

Thanks,
Josh, AdWords API Team

On Tuesday, January 23, 2018 at 5:12:45 PM UTC-5, 
trinath.esano...@gmail.com wrote:
>
> How do i generate the authorization code?
> here is the link to what i done : http://prntscr.com/i4f455
> after Running the url, the result is : http://prntscr.com/i4f7hy
>
>
>
>
> On Wednesday, 3 September 2014 14:42:18 UTC+5:30, Shukla Abhinav wrote:
>>
>> *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*
>>
>> 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 
>> WSDL_CACHE_NONE 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=codeclient_id=529713113834-pcltkti85cv8...
>>  
>> 
>>  After 
>> approving the token enter the authorization code here: Your OAuth2 
>> Credentials are incorrect. Please see the GetRefreshToken.php example. { 
>> error : invalid_request, 
>> error_description : Missing required parameter: 
>> code }
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/516923fa-7cf2-4cf1-a39e-98f6dceea961%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get refresh Token

2018-01-23 Thread trinath . esanosys
How do i generate the authorization code?
here is the link to what i done : http://prntscr.com/i4f455
after Running the url, the result is : http://prntscr.com/i4f7hy




On Wednesday, 3 September 2014 14:42:18 UTC+5:30, Shukla Abhinav wrote:
>
> *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*
>
> 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 
> WSDL_CACHE_NONE 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=codeclient_id=529713113834-pcltkti85cv8...
>  
> 
>  After 
> approving the token enter the authorization code here: Your OAuth2 
> Credentials are incorrect. Please see the GetRefreshToken.php example. { 
> error : invalid_request, 
> error_description : Missing required parameter: 
> code }
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8f1c0679-5170-4e4b-ad16-9c5d3b6bbc88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get refresh Token

2018-01-23 Thread trinath . esanosys
How can i get the authorization code ??
here is the link what i done : http://prntscr.com/i4f455

Looking for your valuable solution.

And can i looking to push client contacts to adwords account , with out 
running on the browser how can i push the data ??


 

On Wednesday, 3 September 2014 21:48:44 UTC+5:30, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi,
>
> Are you running GetRefreshToken.php from the command line? All of the 
> examples are meant to be run from the command line, as they write to stdout 
> and (in some cases) read from stdin.
>
> Also, if you haven't already done so, I'd recommend going through the PHP 
> library's Using OAuth 2.0 page 
> . It 
> contains step-by-step instructions on running the example and updating your 
> configuration file.
>
> Cheers,
> Josh, AdWords API Team
>
> On Wednesday, September 3, 2014 5:12:18 AM UTC-4, Shukla Abhinav wrote:
>>
>> *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*
>>
>> 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 
>> WSDL_CACHE_NONE 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=codeclient_id=529713113834-pcltkti85cv8...
>>  
>> 
>>  After 
>> approving the token enter the authorization code here: Your OAuth2 
>> Credentials are incorrect. Please see the GetRefreshToken.php example. { 
>> error : invalid_request, 
>> error_description : Missing required parameter: 
>> code }
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d1d740dd-5a6b-4b3a-afdc-a226b7e570c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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.


Re: Unable to get refresh Token

2014-09-08 Thread Anash P. Oommen (AdWords API Team)
Hi Shukla,

I believe this is related to the issue in the other thread, where you 
mentioned that SOAP is not enabled in your PHP environment. The issue 
should get addressed once that is fixed.

The instructions to setup PHP library with OAuth2 can be found 
at https://github.com/googleads/googleads-php-lib/wiki/Using-OAuth-2.0.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, September 8, 2014 7:13:17 AM UTC-4, Shukla Abhinav wrote:

 *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=codeclient_id=529713113834-pcltkti85cv8s6991p1lloprigi3ah46.apps.googleusercontent.comredirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoobscope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwordsaccess_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/ea67b55a-1352-4414-9227-04ecacd50419%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to get refresh Token

2014-09-03 Thread Josh Radcliff (AdWords API Team)
Hi,

Are you running GetRefreshToken.php from the command line? All of the 
examples are meant to be run from the command line, as they write to stdout 
and (in some cases) read from stdin.

Also, if you haven't already done so, I'd recommend going through the PHP 
library's Using OAuth 2.0 page 
https://github.com/googleads/googleads-php-lib/wiki/Using-OAuth-2.0. It 
contains step-by-step instructions on running the example and updating your 
configuration file.

Cheers,
Josh, AdWords API Team

On Wednesday, September 3, 2014 5:12:18 AM UTC-4, Shukla Abhinav wrote:

 *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=codeclient_id=529713113834-pcltkti85cv8s6991p1lloprigi3ah46.apps.googleusercontent.comredirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoobscope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwordsaccess_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/d1f3a1c5-dfb6-46da-a965-aeff6f15fc09%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.