Re: google.api_core.exceptions.PermissionDenied: 403

2021-03-19 Thread Pavel Hegler
Perfect, thanks adsapiforumadvisor schrieb am Mittwoch, 17. März 2021 um 19:49:35 UTC+1: > Hi Pavel, > > The get_service method retrieves the service > > > specified in the first argument for the version

Re: google.api_core.exceptions.PermissionDenied: 403

2021-03-17 Thread Google Ads API Forum Advisor Prod
Hi Pavel, The get_service method retrieves the service specified in the first argument for the version given in the second argument. In this case, it's getting the GoogleAdsService for version 6. Regards, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2Dw2Ze:ref -- -

Re: google.api_core.exceptions.PermissionDenied: 403

2021-03-17 Thread Pavel Hegler
Hey mister Forum Advisor:) can you still explain how this : client.get_service("GoogleAdsService", version="v6") works? adsapiforumadvisor schrieb am Mittwoch, 17. März 2021 um 06:08:36 UTC+1: > Hi Pavel, > > I am happy to know that you've fixed the *PermissionDenied* error on your > end. > >

RE: google.api_core.exceptions.PermissionDenied: 403

2021-03-16 Thread Google Ads API Forum Advisor Prod
Hi Pavel, I am happy to know that you've fixed the PermissionDenied error on your end. If there is any issues or errors that you want us to check and address, feel free to post it on this email thread and we are happy to provide support Regards, Ernie John Blanca Tacata Google Ads API Team ref

Re: google.api_core.exceptions.PermissionDenied: 403

2021-03-16 Thread Pavel Hegler
I fixed it there was 1 problem: i used login-customer-id in the yaml instead of login_customer_id ): Pavel Hegler schrieb am Dienstag, 16. März 2021 um 17:59:46 UTC+1: > BTW: > i of course looked into that link but i cant figure out how to add this > damn header into the request. Where is thi

Re: google.api_core.exceptions.PermissionDenied: 403

2021-03-16 Thread Pavel Hegler
BTW: i of course looked into that link but i cant figure out how to add this damn header into the request. Where is this header generated? Pavel Hegler schrieb am Dienstag, 16. März 2021 um 17:58:33 UTC+1: > I fixed it a little bit. I just redid the whole Oauth thing and than I ran > it again a

Re: google.api_core.exceptions.PermissionDenied: 403

2021-03-16 Thread Pavel Hegler
I fixed it a little bit. I just redid the whole Oauth thing and than I ran it again and now i only get this error: 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