I am facing an issue while trying to fetch campaigns from a test client
account under my test manager account using the Google Ads API. While
executing the query, I receive the following error:
ud {
errors: [
_d {
error_code: [p],
message: "User doesn't have permi
when trying to run a report :
"authorizationError":"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.
I
ern, it appears that you have encountered
> the authorization_error: USER_PERMISSION_DENIED. Upon seeing the error, it
> is mentioned that "*User doesn't have permission to access customer.*",
> that said, kindly note that you will need to ensure that the user / ema
Dear Google Ads Support,
Currently, I have set loginCustomerId as ManagerId but when I try to query
I get permission error.
"SELECT customer_client.id, customer_client.descriptive_name " +
"FROM customer_client " +
"WHERE customer_client.level <= 1"
Error: errors {\n error_code {\n
Hmmm. As far as I understand it, the Customer ID used in the URL should be
the Linked Customer ID. Basically, that's the customer ID where you wish to
add, modify, or remove data. And you have to be granted permission by the
other Google Adwords account to be able to do that linkage. The Login
Hi,
I found the issue. I was passing correctly the *login-customer-id* the
issue was in the URL
https://googleads.googleapis.com/v11/customers/*[CUSTOMER_ID]*
/customerClientLinks:mutate
Google says *[CUSTOMER_ID]* should be customer id but it should be
equal to *login-customer-id
==
When i use python script the api works but rest api does not works it gives
error
I am using this
api
https://developers.google.com/google-ads/api/rest/reference/rest/v11/customers/createCustomerClient
User doesn't have permission to access customer. Note: If you're accessing
a client
Hi Miguel,
Thank you for reaching out.
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
s/2508518472
[manager_link_id] => 216663108
)
At the next step I want to query the Customer Client "customers/2508518472"
to get their descriptiveName but I receive an authorization error:
authorization_error: User doesn't have permission to access customer. N
leads.v9.errors.GoogleAdsFailure%5Cu0012%5Cu0002%5Cn%5Cu0001%5Cn%5Cu0002H%5Cu0002%5Cu0012%5Cu0001User>
>>>
>>> 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-
must be set in the
>> 'login-customer-id' header. See
>> https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid\u0012\u0016HcvNuecETNXmZqsUAU1gFA;,
>>
>> "request-id": "HcvNuecETNXmZqsUAU1gFA" } Fault: errors { error_code {
>
thorization_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/a
uot;HcvNuecETNXmZqsUAU1gFA" } Fault: 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
ade: ClientCustomerId:
8161358072, Host: googleads.googleapis.com, Method:
/google.ads.googleads.v9.services.GoogleAdsService/Search, RequestId:
HcvNuecETNXmZqsUAU1gFA, IsFault: True, FaultMessage: User doesn't have
permission to access customer. Note: If you're accessing a client customer
Hello Mark,
Thanks for providing all the information. I understand that you’ve encountered
the error ‘USER_PERMISSION_DENIED’, usually this error occurs when the
authorized customer does not have access to the operating customer.
You may double check if your credentials are correct for the said
Hello! Thank you for your answer! But i can't get new refresh token and
OAuth2, because now i have scripts that works on Adwords API ( for example
to get reports and send 'postbacks'(data) in google.ads, and it all works
fine. Maybe there is another problem?
--
--
Hello Mark,
Thank you for reaching out.
As mentioned that you've encountered the error "USER_PERMISSION_DENIED", it
usually has following root causes:
The link between the manager and client account was removed.
The OAuth credentials are for a user who does not have direct access to the
Code":{"authorizationError":"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
permission
Failure:
{"errors":[{"errorCode":{"authorizationError":"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 mus
Hi Michael,
Thank you for reaching out. My guess is that you created the OAuth2 credential
using account 2934192297, however, you set the login_customer_id as 2329994790.
You could either set the login_customer_id as 2934192297 or create the OAuth2
credentials using manager account 2329994790
Hi Austin,
Thank you for the reply. I work with Xiaoming and let me provide support to
your concern.
So that our team can have a deeper analysis to the issue, could you provide the
following details via Reply privately to author option to investigate?
Complete API request and response logs
adsapiforumadvisor wrote:
> Hi Rob,
>
> Thanks for raising this to us.
>
> Given the error string (User doesn't have permission to access customer)
> provided, I can see that you've encountered the USER_PERMISSION_DENIED
> <https://developers.google.com/google-ads/api/docs/best
Hello Xiaoming,
I really appreciate your reply. Thank you for looking into this. I could
not understand the problem after reviewing the code comments in great
details.
I see in your response to Lewis that you recommend adding the
'login-customer-id' in the configuration file. This is where
Hi Lewis,
Thank you for reaching out. It’s very likely you didn’t set the
'login-customer-id' in the configuration file. Please do so and try it again.
Thanks and regards,
Xiaoming, Google Ads API Team
Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2CPk7n:ref
--
--
Hi Xiaoming,
I'm having the same issue as Austin. Your response doesn't explain why the
error would occur.
The code pulls account IDs that the user has access to e.g.
client.service.customer.list_accessible_customers().resource_names
It then trys to pull information about each account to
Hi Rob,
Thanks for raising this to us.
Given the error string (User doesn't have permission to access customer)
provided, I can see that you've encountered the USER_PERMISSION_DENIED error
which signifies that the authorized customer does not have access to the
operating customer. That said
Hi,
I'm downloading customer data using a customer OAuth token.
I'm seeing the following error:
Google::Ads::GoogleAds::Errors::GoogleAdsError(Google::Ads::GoogleAds::Errors::GoogleAdsError):
User doesn't have permission to access customer. Note: If you're accessing
a client customer
Hi Austin,
Thank you for reaching out. This code example would go through the account
hierarchy and print them out. If you don’t specify the managerId, then the
direct accounts under the authenticated manager would be fetched first to build
the hierarchy. Otherwise, if you specify the
m:443, Method:
/google.ads.googleads.v6.services.GoogleAdsService/Search, RequestId:
yd0tvbMgYRXSdHe0a4GL1g, IsFault: True, FaultMessage: 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' h
Hi Ľubo,
Thank you for reaching out. This error indicating that you don’t have
permission to access the customer most probably comes from the fact that you
were not using the email of account 438-671-3590 to generate the OAuth2
credentials, however, you were trying to access this manager
I set manager's customer id to login-customer-id. This fix my issue.
Thank you.
On Monday, 27 April 2020 15:48:19 UTC+1, adsapiforumadvisor wrote:
>
> Hi Ahmet,
>
> Thank you for reaching out to us. Could you check that in the
> login-customer-id field has the manager's customer id? If it does,
93XXXX, RequestId: "OmVm383tnrDYE0u-8LlzpA", IsFault:
1, FaultMessage: "["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\
Hello,
Thank you for writing to us. If you are requesting OAuth credentials from a
manager account and accessing a related customer account, you will need to set
the login-customer-id header to the customer ID of the manager account,
removing any hyphens in the Id and customer id in the
Do you have any idea how can i fix it?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords
e.
>
> 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
&
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
Hello Peter,
Poki replied to you privately 2 weeks ago. Looks like the login-customer-id
is not set when she took a look at your logs. One option you would try is
setting loginCustomerId programmatically when you construct your
GoogleAdsClient as shown below:
googleAdsClient =
*Finally Fixed the Issue. i just updated the library to the stable
version(Google.Ads.GoogleAds). then its working fine.*
*trim empty space if "LoginCustomerId" has. *
[image: 2019-03-11_20-06-38.png]
On Monday, 11 March 2019 15:08:10 UTC+5:30, pe...@meetweet.nl wrote:
>
> Hi Sai,
>
> A week
Hi Sai,
A week ago I sent you my credential information and response data in a
private message.
Any progress on this issue?
Regards,
Peter
Op woensdag 13 februari 2019 12:47:25 UTC+1 schreef Ananth Sakthivel:
>
> since yesterday my code was working fine and it's fetching the AdsAccount
>
Hello sai,
Please check my previous thread. i have already mentioned that below
solution is not working for me.
On Tuesday, 5 March 2019 02:27:53 UTC+5:30, googleadsapi-forumadvisor wrote:
>
> Hello Anath,
>
> The other users on this thread added * value="INSERT_LOGIN_CUSTOMER_ID_HERE" />* to
Hello Peter,
Basically, the loginCustomerId is to specify which user is making calls to
the API. If you are making calls on behalf of your client account with the
credentials of the user of your manager account, then the manager account
CID should be placed as loginCustomerId without dashes in
Hello Sai,
Same problem here. I am using the Java client library with an
ads.properties file. Before the 11th of Feb it all worked fine. Then, after
that date I added the *api.googleads.loginCustomerId* property as was
explained in an earlier Google post. From then on I only get the
Hello Anath,
The other users on this thread added ** to their app.config file and was
able to fix the issue. Could you please try the same? In general we specify
the login-customer-id(to manager authenticating client's account) in the
app.config file and then pass the client customer id to the
Hi Sai,
I still have same issue.
I am using google-ads-python library. I followed instructions in README
section of library, used provided template, and specified 'login_customer_id'
in google-ads.yaml file, but still have "PermissionDenied: 403 The caller
does not have permission" error. The
Hello Everyone,
Looks like some of you have solved the USER_PERMISSION_DENIED error by
adding the login-customer-id in the properties file. If you are still
facing the issue, could you please go through this blog post
M UTC-8, rentca...@gmail.com
> wrote:
>>
>> I'm having the same issue
>>
>> Message: Status(StatusCode=PermissionDenied, Detail="The caller does not
>> have permission")
>> Failure: { "errors": [ { "errorCode": { "authoriza
: { "errors": [ { "errorCode": { "authorizationError":
> "USER_PERMISSION_DENIED" }, "message": "User doesn't have permission to
> access customer." } ] }
> Request ID: f9DUeMOoCpc2vCZMc4jjAQ
> Press [Enter] to continue.
I'm having the same issue
Message: Status(StatusCode=PermissionDenied, Detail="The caller does not
have permission")
Failure: { "errors": [ { "errorCode": { "authorizationError":
"USER_PERMISSION_DENIED" }, "message": "Us
Hello Sai
Any progress on this issue? I am also facing the same permission issue from
last 2 weeks
Regards,
Dharun.
On Wednesday, February 13, 2019 at 10:17:05 PM UTC+5:30,
googleadsapi-forumadvisor wrote:
>
> Hello Everyone,
>
> Thanks for the update, we are looking into the issue. We will
I am also facing the same permission issue for the past 2 weeks.
On Tuesday, 19 February 2019 16:06:16 UTC+5:30, Ananth Sakthivel wrote:
>
> Hello Sai,
> did you find any solution for my issue?
>
> On Wednesday, 13 February 2019 22:17:05 UTC+5:30,
> googleadsapi-forumadvisor wrote:
>>
>> Hello
I have the exact same issue, it worked fine until the 10th of Feb, then on
the 11th it stopped working.
On Wednesday, February 13, 2019 at 1:47:25 PM UTC+2, Ananth Sakthivel wrote:
>
> since yesterday my code was working fine and it's fetching the AdsAccount
> Details through the Service of
Hello Saj,
Any progress on this issue? Since 11th Feb I can't use the Java examples
anymore even after I added the login api.googleads.loginCustomerId setting
as described.
Op woensdag 13 februari 2019 17:47:05 UTC+1 schreef
googleadsapi-forumadvisor:
>
> Hello Everyone,
>
> Thanks for the
Hello Sai,
did you find any solution for my issue?
On Wednesday, 13 February 2019 22:17:05 UTC+5:30, googleadsapi-forumadvisor
wrote:
>
> Hello Everyone,
>
> Thanks for the update, we are looking into the issue. We will be
> responding on this thread when we find more information.
>
> Regards,
Hello Everyone,
Thanks for the update, we are looking into the issue. We will responding on
this thread when we find more information.
Regards,
Sai Teja, Google Ads API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
Has this been integrated into the BigQuery Transfer Service? I'm seeing the
same errors there.
On Wed, Feb 13, 2019 at 11:27 AM Jordi Puig
wrote:
> You should check this:
>
>
> https://ads-developers.googleblog.com/2019/01/new-required-header-for-google-ads-api.html
>
> Regards.
>
> On
You should check this:
https://ads-developers.googleblog.com/2019/01/new-required-header-for-google-ads-api.html
Regards.
On Wednesday, February 13, 2019 at 5:22:58 PM UTC+1, Charles Astwood wrote:
>
> Me too. I am wondering if there is a fault Googles end as a few of us are
> seeing this
>
>
Me too. I am wondering if there is a fault Googles end as a few of us are
seeing this
On Wednesday, 13 February 2019 11:47:25 UTC, Ananth Sakthivel wrote:
>
> since yesterday my code was working fine and it's fetching the AdsAccount
> Details through the Service of "GetCustomer()". but today
Same here, worked fine this week but now I get the exact same error in the
Google Ads Beta API. Using a similar ads.properties (with the old prefix
settings) in the old Google Adwords API works fine.
Op woensdag 13 februari 2019 12:47:25 UTC+1 schreef Ananth Sakthivel:
>
> since yesterday my
I have same issue just with Python lib. Making request to GoogleAdsService
On Wednesday, 13 February 2019 13:47:25 UTC+2, Ananth Sakthivel wrote:
>
> since yesterday my code was working fine and it's fetching the AdsAccount
> Details through the Service of "GetCustomer()". but today onwards its
since yesterday my code was working fine and it's fetching the AdsAccount
Details through the Service of "GetCustomer()". but today onwards its stop
working and throwing the Below error,
*Google.Ads.GoogleAds.Lib.GoogleAdsException*
* HResult=0x80131500*
*
since yesterday my code was working fine and it's fetching the AdsAccount
Details through the Service of "GetCustomer()". but today onwards its stop
working and throwing the Below error,
*Google.Ads.GoogleAds.Lib.GoogleAdsException*
* HResult=0x80131500*
*
10\BasicOperations\GetCampaigns.cs:line
>
> 89
>
> Caused by
>
> Google.Api.Ads.AdWords.Lib.AdWordsApiException (AdWordsApiException:
> Exception of type 'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was
> thrown.
>
> User doesn't have permission to access customer.. (Error:
>
\GetCampaigns.cs:line
89
Caused by
Google.Api.Ads.AdWords.Lib.AdWordsApiException (AdWordsApiException:
Exception of type 'Google.Api.Ads.AdWords.Lib.AdWordsApiException' was
thrown.
User doesn't have permission to access customer.. (Error:
AuthorizationError.USER_PERMISSION_DENIED, FieldPath
63 matches
Mail list logo