Hi Peter, thanks for the quick response. looks like when we are generating the access key from the playground it is referring to a different client id than what is defined in the developer console also the response gives a different refresh token. is there anything we need to do to authorize the client in the developer console. do we need to publish the OAuth Consent on the OAuth Consent screen
On Friday, October 26, 2018 at 12:04:10 PM UTC+5:30, Peter Oliquino (AdWords API Team) wrote: > > Hi, > > As long as the refreshToken you specify in your properties file is > associated to your clientId and clientSecret (in the same file), then, > generating the access tokens via the client library should not be an issue. > > Thanks and regards, > Peter > AdWords API Team > > On Friday, October 26, 2018 at 12:21:46 PM UTC+8, ritesh1...@gmail.com > <javascript:> wrote: >> >> we are trying to generate access token using >> >> >> >> >> https://www.googleapis.com/oauth2/v4/token?client_id=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com&client_secret=********************&refresh_token=1/0z1VUN_LmxR-wnr67812blTb6F7jHUosQmNe6HsUxtw&grant_type=refresh_token >> >> >> >> the client id and refresh token is defined in the developer console and >> using the OAUTH Playground, we are able to generate the access token >> manually for the required scope. >> >> >> >> is there anything we need to do with the API call to generate the token >> using the same refresh token as in the OAUTH Playground >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads 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/260f3d85-7eda-44e1-8e9c-d1a2625cf7e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.