Re: OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread Martin Levi
Hi Aryeh, OK, I missed the part about "any user in the domain". But I made the change I suggested above, and it worked! Thanks for your help, and have a great weekend, Martin On Friday, August 26, 2022 at 11:18:48 PM UTC+3 adsapi wrote: > Hi Martin, > > The specific language I am referring to

Re: OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Martin, The specific language I am referring to is "Your application and its users will have the ability to impersonate any user in the domain". This doesn't promise impersonation of anyone outside of the domain, even if they are users in Ads accounts. In light of the above I cannot promise

Re: OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread Martin Levi
Hi Aryeh, Thanks for your response. I had already seen the documentation Setting up service account access that you linked to but I can't see anywhere that it discusses the domain of th

RE: OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Martin, A service account can only be used with the Google Accounts in the mydomain.com space, you cannot impersonate a @gmail.com Google account that is not in the @mydomain.com domain with a service account. The 'sub' field can only be filled with a Google Account that is in the Google Wor

RE: OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Martin, A service account can only be used with the Google Accounts in the mydomain.com space, you cannot impersonate a @gmail.com Google account that is not in the @mydomain.com domain with a service account. The 'sub' field can only be filled with a Google Account that is in the Google Wor

OAuth 2 Service Account error: NOT_ADS_USER

2022-08-26 Thread Martin Levi
Hi, I am successfully generating OAuth 2 Access Tokens for the Google Ads API but when I try to access the API access is denied. Below is my setup - what am I missing? Manager Ad AccountId: mgr-acc-ididemail: personal.em...@gmail.com Developer TokenAccess: BasicId: develop