Facing problem to get refresh token

45 views
Skip to first unread message

Mahfooz Khan

unread,
Jan 21, 2014, 3:44:12 AM1/21/14
to adwor...@googlegroups.com

Hello,

I have inserted   require  information into auth.ini file   like developerToken,userAgent,clientCustomerId,client_id, and client_secret after that i run the file GetRefreshToken.php either on localhost or server but did not get refreshtoken output .

It should be a reason 
                               1.  My developerToken showing Pending approval ?
                               2.  or guide me where is problem ?
Open this link http://bit.ly/1f88c7p
 

Josh Radcliff (AdWords API Team)

unread,
Jan 23, 2014, 9:43:24 AM1/23/14
to adwor...@googlegroups.com
Hi,

A few things to check are:
  1. Make sure you run GetRefreshToken from the command line, as it writes to stdout and reads from stdin.
  2. Make sure the application you create in the Cloud Console is a Native Application.
  3. If using a test account, the following post contains the list of auth.ini properties and the proper source for each one: https://groups.google.com/d/msg/adwords-api/-K7DuDOAVEM/9Um-qE4Di3AJ
Please post back if those recommendations don't resolve the issue for you.

Cheers,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages