-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"login-customer-id" error message #906
Comments
Copilot chat also seems flummoxed. |
Here's the customer (manager account?) ID I'm using: 728-044-7900. |
I'm also having the same issue, the account i'm trying to use is also the manager account so i'm unsure as to why i'm getting this error. I'm initializing my Google Ads Client from loading from dictionary so I include "login_customer_id" as a key with the account_ID as the value I'm still receiving the SAME error however... INFO:google.ads.googleads.client:RequestMethod: /google.ads.googleads.v17.services.GoogleAdsService/SearchStream ResponseHeaders: { WARNING:google.ads.googleads.client:Request made: ClientCustomerId: 82******20, Host: googleads.googleapis.com, Method: /google.ads.googleads.v17.services.GoogleAdsService/SearchStream, RequestId: SFA6nCvlNPDfyep6QHXLZA, 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' header. See https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid |
FWIW, I switched from using a test account to a real account and this error went away (only to be replaced by another error. |
Also, I haven't had time to fully investigate, but I suspect the "add campaign" example I referenced is broken. |
What is your question?
I'm trying to run the add campaigns example with a test customer account.
I'm getting an error with 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".
I read the page linked by the above message, but I'm still confused. There's no information about how to provide the login customer ID. I'm also confused as to whether the login customer ID should be the manager account ID, or the regular test account ID.
Thanks in advance.
The text was updated successfully, but these errors were encountered: