I added login-customer-id in heaer but still getting same error

On Monday, July 10, 2023 at 2:12:32 PM UTC+5 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thanks for reaching out to Google Ads API Forum.
>
> With regards to your concern, I can see that you are encountering the 
> *PERMISSION_DENIED* error. Kindly note that this error indicates that the 
> authenticated user doesn't have the permission to do the change. If you're 
> accessing a client customer, the manager's customer id must be set in the 
> *login-customer-id* header. 
>
> You will need to ensure that the user / email address you used to generate 
> the credentials indeed has access to the account in your request. If the 
> user / email address has *access* or is associated with the MCC / manager 
> account, you will need to specify the said MCC / manager account ID as the 
> value of the *login-customer-id* field. For common structures in calling 
> a request in API, you may refer to our *API Call Structure* for more 
> information.
>
> Links included in this email:
>
>    - *PERMISSION_DENIED* - 
>    
> *https://developers.google.com/google-ads/api/reference/rpc/v14/AccountLinkErrorEnum.AccountLinkError#permission_denied*
>  
>    
> <https://developers.google.com/google-ads/api/reference/rpc/v14/AccountLinkErrorEnum.AccountLinkError#permission_denied>
>      
>    - *Access* - 
>    
> *https://support.google.com/google-ads/answer/9978556?visit_id=637628826037447236-382779227&rd=1*
>  
>    
> <https://support.google.com/google-ads/answer/9978556?visit_id=637628826037447236-382779227&rd=1>
>      
>    - *Login-customer-id* - 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid>
>      
>    - *API Call Structure* - 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure* 
>    <https://developers.google.com/google-ads/api/docs/concepts/call-structure>
>      
>
>   
> This message is in relation to case "ref:_00D1U1174p._5004Q2msxWj:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a7f19478-abb9-4daf-8749-4678626c9854n%40googlegroups.com.
  • Er... Muhammad Haseeb
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Muhammad Haseeb

Reply via email to