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 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: 'mI1hCRLhmiYhN2b8HmdTPQ'
}


I have made sure that I am using the correct manager's customer ID and have 
set it in the 'login-customer-id' header, but I still encounter this error. 
I am trying to get campaigns from a client account that's under the 
management of my manager account, all within a testing environment.

Has anyone encountered a similar issue or can provide guidance on resolving 
this? Is this even possible to achieve using a test account? If this 
approach is not suitable for test accounts, are there alternative solutions 
or workarounds that could be suggested? Any insights, assistance, or 
recommendations would be greatly appreciated.

Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d70bd904-454d-41bb-81a9-134cc61f721dn%40googlegroups.com.

Reply via email to