Hello.

I am trying to convert old application which used deprecated 
authentication, to new one.
The app is written in Java and using com.google.api-ads:google-ads version 
18.0.0

Here are my config properties:

api.googleads.clientId=8148****nt.com
api.googleads.clientSecret=cV****sR
api.googleads.refreshToken=1/eQ****UQg
api.googleads.developerToken=Ijs****5A
api.googleads.clientCustomerId=6178640297
api.googleads.loginCustomerId=1847133147

When i try to execute app (to pull campaign performance details) i receive 
this error:

com.google.ads.googleads.v10.errors.GoogleAdsException: errors {
  error_code {
    authorization_error: USER_PERMISSION_DENIED
  }
  message: "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#cid";
}
request_id: "N-1UIzV6efOO3nI33ykweA"

I am using new developer token and manager account # as login customer id.
Can someone please let me know what am i doing wrong?

Thank you
-Dima T

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/63a9a128-73a5-4b88-adbe-5118498b77c8n%40googlegroups.com.
  • Us... Dima T
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to