Hi, Let me confirm, are you able to obtain a authorization code (in the form of 4/xxxxxxxxxxxxxxxxxxxxxxxxx as in this guide<https://developers.google.com/adwords/api/docs/guides/soap>) from the browser after pasting the url provided by the GetRefreshToken.php? Or you see this error "{ "error" : "invalid_request" }" when you pasted the url to your browser?
Best, - Takeshi, AdWords API Team On Thursday, December 12, 2013 7:44:08 AM UTC+9, song...@bu.edu wrote: > > I'm a noob to Adwords API and please kindly let me know if I 'm not > describing my issue clearly. It might be a duplicate as I did find similar > topics in the forum, especially the following thread > https://groups.google.com/forum/#!topic/adwords-api/q_xSgh30pTc. > I pretty much have the same problem as the OP has. The only difference is > I was working on the test account (the developer token of the live MCC > account is pending). In the auth.ini, I've had the following information > set, > > developerToken = "PENDING_DEVELOPER_TOKEN_OF_THE_LIVE_ACCOUNT" > userAgent = "COMPANY_NAME" > clientCustomerId = "CUSTOMER_ID_OF_TEST_ACCOUNT" > > client_id = "CLIENT_ID_OF_TEST_ACCOUNT" > client_secret = "CLIENT_SECRET_OF_TEST_ACCOUNT" > > All other info are all left as default. > > I followed this > tutorial<http://gc.codehum.com/p/google-api-adwords-php/wiki/OAuth2>to get > the client id and the client secret. And that pair of id and secret > is associated with the test account as I was logged in the test account > email when I registered the app in Google Cloud Console. I also tested wotj > the live MCC account and generated another pair of id and secret, yet > neither of them worked. When I run the GetRefreshToken.php in the browser, > I got the error message as below: > > Your OAuth2 Credentials are incorrect. Please see the GetRefreshToken.php > example. { "error" : "invalid_request" } > > I've been banging my head against the desk for the entire day, still > cannot figure out what I've done wrong with the configuration. Any insight > is appreciated. Many 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.