AUTHENTICATION ERROR

63 views
Skip to first unread message

JM

unread,
Jul 20, 2022, 8:07:01 AM7/20/22
to Google Ads API and AdWords API Forum
Hi

I am getting AUTHENTICATION ERROR when trying to run the GetCampaign example, how to fix? What is the error?

Request ID TmGL5WE81VBxMGz-6aczfw failed due to GoogleAdsException. Underlying errors:

  Error 0: error_code {

  authentication_error: AUTHENTICATION_ERROR

}

message: "Authentication of the request failed."

Google Ads API Forum Advisor

unread,
Jul 20, 2022, 9:33:21 AM7/20/22
to rxt...@gmail.com, adwor...@googlegroups.com

Hi JM,

Thank you for reaching out to our API support team.

To have a closer look at this AUTHENTICATION_ERROR, could you please provide the complete request and response logs, with the request-id? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.You can provide it via Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead. Let me know if you have any questions.

Best,

Google Logo
Anthony Cyril
Google Ads API Team
 


ref:_00D1U1174p._5004Q2blxOn:ref

JM

unread,
Jul 20, 2022, 11:30:28 AM7/20/22
to Google Ads API and AdWords API Forum
Is developer token MANDATORY to use Google Ads API?

JM

unread,
Jul 20, 2022, 11:37:32 AM7/20/22
to Google Ads API and AdWords API Forum
If required:

Manager accounts cannot be created using the same email address as an existing Google Ads account. You must therefore use an email address that hasn't already been associated with a Google Ads account to create your manager account.

What if my Manager account is the same email as the Google Ads account and the Google Ads Account is already linked to the Manager account? Can I still request access?  If not, how to fix in this situation?

Google Ads API Forum Advisor

unread,
Jul 20, 2022, 2:41:30 PM7/20/22
to rxt...@gmail.com, adwor...@googlegroups.com
Hi Joe,

A developer token is required to use the Ads API. You can only sign up for access through a manager account. If you already have access to a manager account, you can make the access request through that account. Please note that you can make Ads API requests against any Google Ads account that you have access too. Requests are not limited to the account that contains the developer token. 

Regards,

Google Logo
Matt
Google Ads API Team
 


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