"We recommend you use installed app or web flows <https://developers.google.com/google-ads/api/docs/first-call/oauth-cloud-project#choose_an_app_type> instead of the service account as they are a lot less complex and easier to maintain." Its amazing how this seems to be the goto dodge for this question everywhere. Way to not answer the question anywhere.
On Thursday, June 10, 2021 at 1:59:16 AM UTC-7 adsapi wrote: > Hi Alexander, > > Thank you for posting your concern. > > With regard to the NOT_ADS_USER > <https://developers.google.com/google-ads/api/docs/best-practices/common-errors?hl=en#not_ads_user> > error, > this error occurs when login user account / email address used to generate > the access token is not associated with any Google Ads account. With this, > make sure to log in with a valid Google Ads account (typically your manager > account) for the OAuth flow. > > Also, I would recommend using the Desktop app flow ( > https://developers.google.com/google-ads/api/docs/oauth/client-library) > instead and not the service account flow if you can. You can only use > it unless you need a domain-specific feature (for example, impersonation). > One step being incorrect means that it won't work for service accounts, > which appears to be the case here. > > However, if you still want to use service account, then make sure you to > follow this guide > <https://developers.google.com/google-ads/api/docs/oauth/service-accounts?hl=en> > > and use our PHP client library > <https://developers.google.com/google-ads/api/docs/client-libs/php/oauth-service?hl=en> > > to lessen the incorrect set up because as I mentioned earlier one incorrect > set up and service accounts will not work. > > If the error persists after trying the provided suggestions, then please > provide the email address / user account used to set up service account and > complete request > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > > logs with request ID > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> > > generated on your end to investigate. Please provide the requested details > via *Reply privately to author* option. > > Regards, > [image: Google Logo] > Ernie John Blanca Tacata > Google Ads API Team > > > ref:_00D1U1174p._5004Q2I1MqE:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/0037dcdf-bc5f-4bf9-9d16-4d6db18d5f61n%40googlegroups.com.