Please help. I don't understand what part is login-customer-id and customer_id for using google ads api

Please help. I don’t know which part is login-customer-id and which part is customer_id for using google ads api

Please show me a screenshot of which part is the ID

  • customer_id: This is the Google Ads account you’re making the API call for. It’s the account whose data you want to access or modify.
  • login-customer-id: This is your manager account (MCC) that has access to the account you’re calling. You use this when your app is acting on behalf of another account.

Here’s what to look for inside Google Ads:

  • Go to ads.google.com.

  • If you’re inside a client account, you’ll see the customer ID in the top right corner, like this:

  • If you’re in a manager (MCC) account, that ID in the corner is your login-customer-id.

1 Like

Thank you.

Is it the 10 digit one?

I would like to know with a screenshot.

I’m trying to set the following ID, but I’m getting a node error and can’t set it. Please help me.

Customer ID is top. Where is the error?

The following error occurs.
Also, the customer ID specified is the one above.

What did you see in credentials?

Credentials were successfully set.
API is also enabled…
Are there any other settings I need to make?

Can you copy the error details here

The following details were given.
{
“errorMessage”: “Forbidden - perhaps check your credentials?”,
“errorDescription”: “The caller does not have permission”,
“errorDetails”: {
“rawErrorMessage”: [
“403 - "{\n \"error\": {\n \"code\": 403,\n \"message\": \"The caller does not have permission\",\n \"status\": \"PERMISSION_DENIED\",\n \"details\": [\n {\n \"@type\": \"type.googleapis.com/google.ads.googleads.v18.errors.GoogleAdsFailure\",\n \"errors\": [\n {\n \"errorCode\": {\n \"authorizationError\": \"USER_PERMISSION_DENIED\"\n },\n \"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 API Call Structure  |  Google Ads API  |  Google for Developers”\n }\n ],\n \"requestId\": \"1dmuc99df1uPn5BT9ZpOPw\"\n }\n ]\n }\n}\n""
],
“httpCode”: “403”
},
“n8nDetails”: {
“nodeName”: “Get Search Data”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “2025/6/16 18:05:35”,
“n8nVersion”: “1.95.3 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: Forbidden - perhaps check your credentials?”,
" at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1421:10)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1707:11)"
]
}
}

This is key: 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 API Call Structure | Google Ads API | Google for Developers

Even though your credentials are set right, you may not have the right permissions (RBAC concept for more info). Make sure you have the right permissions. You’ll likely need admin rights adjusted. Take a look at that route.

No matter how many times I check, I get the same result.
Could you please show me a screenshot or video of what values ​​to enter?

Should you set sensitive scopes?