To whom it may concern.

1. Inquiry for the user account management of the manager(master) account
guide: 
https://developers.google.com/google-ads/api/docs/account-management/linking-manager-accounts

I'd like the process works from the invitation to acception by the guide 
provided.
manager account: 6403603927
user account: 4428838782 (hwanss...@gmail.com)

I could do the invitation so far, but there is an issue with the acception 
by users. As for the guide, it should works if I do the following steps but 
it doesn't.
- change the login-customer-id only of OAuth
- customerManagerLink->setStatus(ManagerLinkStatus::ACTIVE)

I assume that even if I changed login-customer-id, the API wouldn't let me 
access since the OAuth is not the users's but the manager's. Is there any 
way to deal with this issue such as giving permission to the manager(using 
OAuth APP(access_token and refresh_token) etc.) or others possible options.

Google-Ads-API.NOTICE: 
Request ------- 
Method Name: 
/google.ads.googleads.v10.services.CustomerManagerLinkService/MutateCustomerManagerLink
 

Host: googleads.googleapis.com 
Headers: {     
"x-goog-api-client": "gl-php\/7.4.21p1 gccl\/15.0.0 gapic\/15.0.0 
gax\/1.11.3 grpc\/1.33.1 rest\/1.11.3",     
"x-goog-request-params": 
  "customer_id=4428838782",     
  "developer-token": "REDACTED",     
  "login-customer-id": "4428838782" 
} 
Request:  {
"customerId":"4428838782",
"operations":[{
  "updateMask":"resourceName,status",
  "update":{
    
"resourceName":"customers/6403603927/customerClientLinks/4428838782~258603554",
    "status":"ACTIVE"
  }}
]}  
Response ------- 
Headers: {     
  "request-id": "bTnEKnoHpIXJMGVI3A7sFw",     
  "date": "Tue, 10 May 2022 02:47:46 GMT",     
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; 
ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; 
ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; 
v=\"46,43\"" 
}  
Fault ------- 
Status code: 7 Details: The caller does not have 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 must be set 
in the 'login-customer-id' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid";
}],
"requestId":"bTnEKnoHpIXJMGVI3A7sFw"
} [] []

Thanks for the reply in advance.

Best regards,
Hwan Sang Cho

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/88fdc5d0-0e68-4e02-b726-b6a34397dd14n%40googlegroups.com.

Reply via email to