Hi, I use this lib ( https://github.com/Opteo/google-ads-api) for connect googleAds with my service in node.js. I try connect to my account, but i have this error message.
Error: User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer id must be set in the 'login-customer-id' header. See https://developers.google.com/google-ads/api/docs/concepts/call-structure#login-customer-id at CustomerClientLinkService.<anonymous> (/home/gcieslik/workspace/export-creator-worker/node_modules/google-ads-api/build/services/service.js:178:23) at Generator.throw (<anonymous>) at rejected (/home/gcieslik/workspace/export-creator-worker/node_modules/google-ads-api/build/services/service.js:6:65) code: { authorizationError: 2 }, My code here authorize() { const client = new GoogleAdsApi({ client_id: this.clientId, client_secret: this.clientSecret, developer_token: this.developerToken }); this.customer = client.Customer({ customer_account_id: this.customerAccountId, login_customer_id: this.loginCustomerId, refresh_token: this.refreshToken }); } -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c62b9477-7c3d-4552-a26c-02da030a6eaf%40googlegroups.com.