Request is missing required authentication credential

92 views
Skip to first unread message

Tamas Tyukodi

unread,
May 3, 2022, 11:00:01 AM5/3/22
to Google Ads API and AdWords API Forum
Hello support team,

I have successfully managed to test your java example for.ListAccessibleCustomers from your git examples but as i have to migrate Google Adwords to Google Ads in NodeJs, i couldn't manage to set up the initial calls.

So using https://github.com/Opteo/google-ads-api for NodeJs and trying to use the equivalent method for ListAccessibleCustomers i am receiving the following error: 
 'Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential.'

I want to point out again, that in Java the connection worked, and the credentials were good. But trying to switch it to NodeJs the credentials seems to not work (i am using the same credentials).

The failing request ID from node js is:  request_id: '2k6wzuRaBuF4wzuYZ7P-JA'


Could you please help me with this?

Google Ads API Forum Advisor

unread,
May 4, 2022, 10:24:02 AM5/4/22
to tamas....@rindus.de, adwor...@googlegroups.com
Hi Tamas,

Thanks for reaching out. Please note that our team cannot support third party libraries. However, it seems you are not properly sending your request headers. Assuming the library uses REST, please check your headers against this page. For support with the Opteo client library, I would recommend posting your issue on the Opteo issue tracker.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2aQ0Sp:ref

Tamas Tyukodi

unread,
May 4, 2022, 11:05:25 AM5/4/22
to Google Ads API and AdWords API Forum
Hello Matt, 

Thank you for the quick answer and pointing me to the right direction. Indeed the issue was on my side, where i miss configured the credential fields.

Google Ads API Forum Advisor

unread,
May 5, 2022, 9:08:46 AM5/5/22
to tamas....@rindus.de, adwor...@googlegroups.com

Hi Tamas,

We are glad to know that my colleague's (Matt) suggestion worked for you. Should you have additional clarifications with the APIs, please write back and we'll be happy to assist you.

Regards,

Google Logo
Yasar
Google Ads API Team
 


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