Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2019-01-29 Thread Yoshimasa Tanabe
Hi, Really sorry for late reply. > Marc The way you shared makes sense. We should not store/use the token from non-ads user. Thanks! > Milind Thanks, I'll send the email/client customer id. --- Yoshimasa On Friday, January 4, 2019 at 3:54:20 AM UTC+9, Milind Sankeshware (AdWords API Team

Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2019-01-03 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi, Please find my inline responses below: 1. On OAuth flow, it's not possible to prevent the users not associated with any AdWords account from log-in/authorizing my application. *You will be able to login to the Google API Console Credentials page and generate the OAuth credentials for a non-

Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2019-01-03 Thread Marc Selman
After finishing the OAuth flow I perform a test call and when I get the NOT_ADS_USER error I show an error to the user that it's not a valid Google Ads account and don't store the OAuth tokens. Op donderdag 3 januari 2019 05:46:43 UTC+1 schreef Yoshimasa Tanabe: > > Hi Milind, > > I want to know

Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2019-01-02 Thread Yoshimasa Tanabe
Hi Milind, I want to know if we are on the same page. Is the following my understanding correct? 1. On OAuth flow, it's not possible to prevent the users not associated with any AdWords account from log-in/authorizing my application. * I can't edit the user info as you said because the user

Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2018-12-28 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Yoshimasa, You can add the login email as a admin user in the AdWords account. To add the user, please follow the steps in this Help Center article. After adding the user the API call should work. If you are still facing an issue,

Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2018-12-28 Thread emag
Hi Milind, thank you for your reply! I'm sorry I didn't make it clear enough. My application's users can log in with their Google account which is not associated with any AdWords account. It's almost a human error but I can't find how to prevent it on OAuth flow. So, I'm looking for any way to

Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2018-12-28 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Yoshimasa, The AuthenticationError.NOT_ADS_USER usually occurs when the login used to generate the access token is not associated with any AdWords account. Make sure to log in with a valid AdWor

Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2018-12-28 Thread emag
Hi, Can I check whether the logged-in user associated AdWords accounts for avoiding AuthenticationError.NOT_ADS_USER? I'm using the following java library version. * "com.google.api-ads" % "ads-lib" % 4.1.0, * "com.google.api-ads" % "adwords-axis" % 4.1.0, My code snippet is here(Scala).