Autentication with Service Account

46 views
Skip to first unread message

Elena LB

unread,
Feb 9, 2022, 4:42:26 AM2/9/22
to Google Ads API and AdWords API Forum
Good Morning,

I'm trying to authenticate to the new Google Ads API with a Google Cloud service account.

Is it necessary to register a user in Adwords with the mail of the service account?

I have this error:

com.google.ads.googleads.v9.errors.GoogleAdsException: errors {
  error_code {
    authentication_error: NOT_ADS_USER
  }
  message: "User in the cookie is not a valid Ads user."

Thanks!!

Google Ads API Forum Advisor

unread,
Feb 9, 2022, 12:57:43 PM2/9/22
to elena.loza...@telefonica.com, adwor...@googlegroups.com
Hi Elena,

Thank you for reaching out.

The NOT_ADS_USER error usually occurs when the login used to generate the access token is not associated with any Google Ads account.

Could you please confirm if you’ve indeed followed every step of the service account guide, specifically the prerequisites? If your service account has been correctly configured, please provide the complete request and response logs with request ID where you have encountered an error as well as the the user account/email address that you're trying to setup so I can better investigate your concern.

You may send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W5f1i:ref
Reply all
Reply to author
Forward
0 new messages