Request is missing required authentication credential

44 views
Skip to first unread message

derek

unread,
Dec 7, 2022, 10:45:44 PM12/7/22
to Google Ads API and AdWords API Forum
Hi

I am trying to migrate from Google Adwords API to Google Ads API.
Using Java client library and a configuration file for the tokens and Ids.

I am getting this request failure when trying to select from user_list using SearchGoogleAdsStreamRequest.

Status: Status{code=UNAUTHENTICATED, description=Request is missing required authentication credenti
al. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https:
//developers.google.com/identity/sign-in/web/devconsole-project., cause=null}.

I am able to see the 'developer-token' and 'login-customer-id' params in the Request Headers
'developer-token=REDACTED, login-customer-id=##########"

May I know what am I missing and how do I resolved this?

BTW I tried to access the API Center (TOOLS & SETTINGS > SETUP > API Center) but a blank page is displayed after it try to load for a while.

Derek

Google Ads API Forum Advisor

unread,
Dec 8, 2022, 3:50:26 PM12/8/22
to d3r...@gmail.com, adwor...@googlegroups.com
Hi Derek,

Thank you for reaching out to the Google Ads API support team.

To investigate the issue further, 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. 

Thanks,
Google Logo
Nirmita
Google Ads API Team
 


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