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) wrote: > > 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-AdWords account.** If the email > is not associated, then the call will fail with the NOT_ADS_USER.* > > 2. Adwords API has no way to check whether or not the users are associated > with any AdWords account > *You can use the CustomerService.getcustomers > <https://developers.google.com/adwords/api/docs/reference/v201809/CustomerService#getcustomers> > to > check all the customers directly accessible by the user authenticating the > call. To check the user emails in your AdWords account, you can check the > 'Account Access' tab under the 'Tool' option.* > > Could you please share the email address which you are authenticating the > call along with client customer id so that I can assist you further? You > can use 'Reply privately to author' option while responding. > > Thanks, > Milind, AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. 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/260db110-c582-4ada-8af8-b0d6af4fe15f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
