Hi Miles, Per the OAuth spec <http://tools.ietf.org/html/rfc6749#page-28>, *unauthorized_client* will occur if the client (client_id) is not authorized to request an authorization code using the method in the request. Is the application you registered in the console the proper type for the flow you are using?
For example, the *GetRefreshToken* code samples in our libraries <https://developers.google.com/adwords/api/docs/guides/authentication#oauth2-table> are for applications of type *Installed application*, so they won't work if your *client_id* is for a *Web* application. Thanks, Josh, AdWords API Team On Tuesday, April 21, 2015 at 11:37:20 AM UTC-4, Miles Holt wrote: > > Hi, > > I've recently had my developer token approved and I'm now trying to use > the production account but I'm getting the following error: > > An error has occurred: { > > "error" : "unauthorized_client" > > } > > I've checked the following: > > > - Ensured that the client id and secret have been setup via the > production account (in console.developers.google.com) > - The clientCustomerId is a linked Adwords account ID in the > production MCC > - Billing has been setup for the Adwords account and T&C's have been > accepted > - The terms for the API have been signed > - The developer token is 'approved' > > Is there something else required? > > Thanks > > Miles > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/2964a5c7-dea5-4aa4-85c4-70dea05aecd7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
