Google Ads Forbidden - perhaps check your credentials?

I got client and secret key from google cloud console, I got google ads developer token and even though I have successfully logged in with google, I get an error like this, what is the reason?

Error details

From Google Ads

Error data

{ "error": { "code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "authorizationError": "DEVELOPER_TOKEN_NOT_APPROVED" }, "message": "The developer token is only approved for use with test accounts. To access non-test accounts, apply for Basic or Standard access." } ], "requestId": "eWe_25s4Xpy58yJ7rDCenQ" } ] } }

Other info

n8n version

1.83.2 (Self Hosted)

Time

19.03.2025 09:55:10

Error cause

{ "message": "Forbidden - perhaps check your credentials?", "timestamp": 1742367310900, "name": "NodeApiError", "description": "The caller does not have permission", "context": { "data": { "error": { "code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure", "errors": [ { "errorCode": { "authorizationError": "DEVELOPER_TOKEN_NOT_APPROVED" }, "message": "The developer token is only approved for use with test accounts. To access non-test accounts, apply for Basic or Standard access." } ], "requestId": "eWe_25s4Xpy58yJ7rDCenQ" } ] } } }, "cause": { "message": "Request failed with status code 403", "name": "AxiosError", "stack": "AxiosError: Request failed with status code 403\n at settle (/Users/web/.nvm/versions/node/v18.17.0/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:19:12)\n at Unzip.handleStreamEnd (/Users/web/.nvm/versions/node/v18.17.0/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:599:11)\n at Unzip.emit (node:events:526:35)\n at endReadableNT (node:internal/streams/readable:1359:12)\n at processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/Users/web/.nvm/versions/node/v18.17.0/lib/node_modules/n8n/node_modules/axios/lib/core/Axios.js:45:41)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at invokeAxios (/Users/web/.nvm/versions/node/v18.17.0/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:206:10)\n at Object.httpRequest (/Users/web/.nvm/versions/node/v18.17.0/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:856:17)\n at ExecuteSingleContext.requestOAuth2 (/Users/web/.nvm/versions/node/v18.17.0/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:978:10)\n at ExecuteSingleContext.httpRequestWithAuthentication (/Users/web/.nvm/versions/node/v18.17.0/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1227:11)\n at ExecuteSingleContext.httpRequestWithAuthentication (/Users/web/.nvm/versions/node/v18.17.0/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/node-execution-context/utils/request-helper-functions.ts:1686:11)\n at RoutingNode.rawRoutingRequest (/Users/web/.nvm/versions/node/v18.17.0/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/routing-node.ts:568:20)\n at RoutingNode.makeRequest (/Users/web/.nvm/versions/node/v18.17.0/lib/node_modules/n8n/node_modules/n8n-core/src/execution-engine/routing-node.ts:762:19)\n at async Promise.allSettled (index 0)", "config": { "transitional": { "silentJSONParsing": true, "forcedJSONParsing": true, "clarifyTimeoutError": false }, "adapter": [ "xhr", "http", "fetch" ], "transformRequest": [ null ], "transformResponse": [ null ], "timeout": 300000, "xsrfCookieName": "XSRF-TOKEN", "xsrfHeaderName": "X-XSRF-TOKEN", "maxContentLength": null, "maxBodyLength": null, "env": {}, "headers": { "Accept": "application/json, text/plain, */*", "Content-Type": "application/json", "developer-token": "-GIuK_e99T56AWuAqrccFg", "login-customer-id": "7197846315", "Authorization": "Bearer ya29.a0AeXRPp5T9UgGu4fdaDgDMA4doVLCi3nl3z2TYb7PmS0VzJNh-ib8SwLo9TWRYCKKqjb_3DWvpYJ5kNAMAI_FBu_gL3eeGWUK5CrAXEmbWWIfSG5EYQVKgx-ljyhqaFiJRq95ZiyFNIpDjX6Z5TumDTwrSmJ7ReiR6qwephCvaCgYKAZoSARASFQHGX2MiPPSskyps_ftbZ0pTDZq59Q0175", "User-Agent": "n8n", "Content-Length": "504", "Accept-Encoding": "gzip, compress, deflate, br" }, "paramsSerializer": {}, "method": "post", "url": "/v17/customers/3042685431/googleAds:search", "params": {}, "signal": {}, "baseURL": "https://googleads.googleapis.com", "httpsAgent": { "_events": {}, "_eventsCount": 2, "defaultPort": 443, "protocol": "https:", "options": { "servername": "googleads.googleapis.com", "noDelay": true, "path": null }, "requests": {}, "sockets": {}, "freeSockets": {}, "keepAliveMsecs": 1000, "keepAlive": false, "maxSockets": null, "maxFreeSockets": 256, "scheduling": "lifo", "maxTotalSockets": null, "totalSocketCount": 0, "maxCachedSessions": 100, "_sessionCache": { "map": { "googleads.googleapis.com:443:::::::::::::::::::::": { "type": "Buffer", "data": [ 48, 130, 6, 175, 2, 1, 1, 2, 2, 3, 4, 4, 2, 19, 2, 4, 32, 17, 36, 189, 132, 89, 62, 116, 14, 110, 143, 73, 79, 229, 196, 208, 182, 220, 250, 38, 33, 58, 200, 130, 170, 234, 192, 196, 76, 115, 180, 218, 245, 4, 48, 161, 15, 167, 24, 173, 223, 179, 61, 134, 233, 77, 200, 39, 138, 64, 15, 109, 200, 241, 228, 16, 186, 104, 39, 38, 229, 190, 231, 140, 68, 1, 73, 120, 239, 249, 69, 84, 19, 43, 72, 49, 203, 215, 143, 99, 134, 73, 52, 161, 6, 2, 4, 103, 218, 106, 78, 162, 4, 2, 2, 28, 32, 163, 130, 5, 36, 48, 130, 5, 32, 48, 130, 4, 198, 160, 3, 2, 1, 2, 2, 17, 0, 247, 236, 60, 204, 125, 199, 254, 229, 9, 69, 99, 71, 110, 64, 139, 68, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 48, 59, 49, 11, 48, 9, 6, 3, 85, 4, 6, 19, 2, 85, 83, 49, 30, 48, 28, 6, 3, 85, 4, 10, 19, 21, 71, 111, 111, 103, 108, 101, 32, 84, 114, 117, 115, 116, 32, 83, 101, 114, 118, 105, 99, 101, 115, 49, 12, 48, 10, 6, 3, 85, 4, 3, 19, 3, 87, 69, 50, 48, 30, 23, 13, 50, 53, 48, 51, 49, 48, 48, 56, 51, 55, 48, 57, 90, 23, 13, 50, 53, 48, 54, 48, 50, 48, 56, 51, 55, 48, 56, 90, 48, 34, 49, 32, 48, 30, 6, 3, 85, 4, 3, 19, 23, 117, 112, 108, 111, 97, 100, 46, 118, 105, 100, 101, 111, 46, 103, 111, 111, 103, 108, 101, 46, 99, 111, 109, 48, 89, 48, 19, 6, 7, 42, 134, 72, 206, 61, 2, 1, 6, 8, 42, 134, 72, 206, 61, 3, 1, 7, 3, 66, 0, 4, 2, 3, 246, 39, 4, 115, 175, 219, 100, 154, 171, 220, 211, 126, 128, 255, 161, 115, 29, 24, 98, 57, 30, 18, 194, 134, 108, 145, 16, 198, 192, 198, 18, 117, 240, 105, 116, 234, 58, 94, 81, 174, 208, 15, 40, 94, 90, 137, 83, 219, 139, 182, 74, 44, 211, 196, 84, 3, 99, 144, 69, 87, 72, 205, 163, 130, 3, 194, 48, 130, 3, 190, 48, 14, 6, 3, 85, 29, 15, 1, 1, 255, 4, 4, 3, 2, 7, 128, 48, 19, 6, 3, 85, 29, 37, 4, 12, 48, 10, 6, 8, 43, 6, 1, 5, 5, 7, 3, 1, 48, 12, 6, 3, 85, 29, 19, 1, 1, 255, 4, 2, 48, 0, 48, 29, 6, 3, 85, 29, 14, 4, 22, 4, 20, 26, 106, 219, 186, 69, 22, 44, 62, 219, 187, 113, 233, 140, 127, 174, 143, 0, 2, 155, 79, 48, 31, 6, 3, 85, 29, 35, 4, 24, 48, 22, 128, 20, 117, 190, 196, 119, 174, 137, 246, 68, 55, 125, 207, 177, 104, 31, 29, 26, 235, 220, 52, 89, 48, 88, 6, 8, 43, 6, 1, 5, 5, 7, 1, 1, 4, 76, 48, 74, 48, 33, 6, 8, 43, 6, 1, 5, 5, 7, 48, 1, 134, 21, 104, 116, 116, 112, 58, 47, 47, 111, 46, 112, 107, 105, 46, 103, 111, 111, 103, 47, 119, 101, 50, 48, 37, 6, 8, 43, 6, 1, 5, 5, 7, 48, 2, 134, 25, 104, 116, 116, 112, 58, 47, 47, 105, 46, 112, 107, 105, 46, 103, 111, 111, 103, 47, 119, 101, 50, 46, 99, 114, 116, 48, 130, 1, 152, 6, 3, 85, 29, 17, 4, 130, 1, 143, 48, 130, 1, 139, 130, 23, 117, 112, 108, 111, 97, 100, 46, 118, 105, 100, 101, 111, 46, 103, 111, 111, 103, 108, 101, 46, 99, 111, 109, 130, 20, 42, 46, 99, 108, 105, 101, 110, 116, 115, 46, 103, 111, 111, 103, 108, 101, 46, 99, 111, 109, 130, 17, 42, 46, 100, 111, 99, 115, 46, 103, 111, 111, 103, 108, 101, 46, 99, 111, 109, 130, 18, 42, 46, 100, 114, 105, 118, 101, 46, 103, 111, 111, 103, 108, 101, 46, 99, 111, 109, 130, 19, 42, 46, 103, 100, 97, 116, 97, 46, 121, 111, 117, 116, 117, 98, 101, 46, 99, 111, 109, 130, 16, 42, 46, 103, 111, 111, 103, 108, 101, 97, 112, 105, 115, 46, 99, 111, 109, 130, 19, 42, 46, 112, 104, 111, 116, 111, 115, 46, 103, 111, 111, 103, 108, 101, 46, 99, 111, 109, 130, 23, 42, 46, 121, 111, 117, 116, 117, 98, 101, 45, 51, 114, 100, 45, 112, 97, 114, 116, 121, 46, 99, 111, 109, 130, 17, 117, 112, 108, 111, 97, 100, 46, 103, 111, 111, 103, 108, 101, 46, 99, 111, 109, 130, 19, 42, 46, 117, 112, 108, 111, 97, 100, 46, 103, 111, 111, 103, 108, 101, 46, 99, 111, 109, 130, 18, 117, 112, 108, 111, 97, 100, 46, 121, 111, 117, 116, 117, 98, 101, 46, 99, 111, 109, 130, 20, 42, 46, 117, 112, 108, 111, 97, 100, 46, 121, 111, 117, 116, 117, 98, 101, 46, 99, 111, 109, 130, 31, 117, 112, 108, 111, 97, 100, 115, 46, 115, 116, 97, 103, 101, 46, 103, 100, 97, 116, 97, 46, 121, 111, 117, 116, 117, 98, 101, 46, 99, 111, 109, 130, 21, 98, 103, 45, 99, 97, 108, 108, 45, 100, 111, 110, 97, 116, 105, 111, 110, 46, 103, 111, 111, 103, 130, 27, 98, 103, 45, 99, 97, 108, 108, 45, 100, 111, 110, 97, 116, 105, 111, 110, 45, 97, 108, 112, 104, 97, 46, 103, 111, 111, 103, 130, 28, 98, 103, 45, 99, 97, 108, 108, 45, 100, 111, 110, 97, 116, 105, 111, 110, 45, 99, 97, 110, 97, 114, 121, 46, 103, 111, 111, 103, 130, 25, 98, 103, 45, 99, 97, 108, 108, 45, 100, 111, 110, 97, 116, 105, 111, 110, 45, 100, 101, 118, 46, 103, 111, 111, 103, 48, 19, 6, 3, 85, 29, 32, 4, 12, 48, 10, 48, 8, 6, 6, 103, 129, 12, 1, 2, 1, 48, 54, 6, 3, 85, 29, 31, 4, 47, 48, 45, 48, 43, 160, 41, 160, 39, 134, 37, 104, 116, 116, 112, 58, 47, 47, 99, 46, 112, 107, 105, 46, 103, 111, 111, 103, 47, 119, 101, 50, 47, 54, 52, 79, 85, 73, 86, 122, 112, 90, 86, 52, 46, 99, 114, 108, 48, 130, 1, 4, 6, 10, 43, 6, 1, 4, 1, 214, 121, 2, 4, 2, 4, 129, 245, 4, 129, 242, 0, 240, 0, 117, 0, 78, 117, 163, 39, 92, 154, 16, 195, 56, 91, 108, 212, 223, 63, 82, 235, 29, 240, 224, 142, 27, 141, 105, 192, 177, 250, 100, 177, 98, 154, 57, 223, 0, 0, 1, 149, 127, 106, 91, 177, 0, 0, 4, 3, 0, 70, 48, 68, 2, 32, 76, 216, 108, 161, 233, 204, 185, 13, 115, 110, 42, 9, 239, 156, 79, 254, 236, 173, 84, 39, 39, 134, 79, 214, 60, 170, 32, 170, 173, 190, 179, 114, 2, 32, 111, 14, 111, 236, 222, 124, 30, 32, 234, 84, 143, 115, 74, 200, 122, 139, 114, 231, 173, 190, 199, 34, 68, 187, 122, 171, 129, 74, 78, 30, 159, 188, 0, 119, 0, 204, 251, 15, 106, 133, 113, 9, 101, 254, 149, 155, 83, 206, 233, 178, 124, 34, 233, 133, 92, 13, 151, 141, 182, 169, 126, 84, 192, 254, 76, 13, 176, 0, 0, 1, 149, 127, 106, 95, 205, 0, 0, 4, 3, 0, 72, 48, 70, 2, 33, 0, 208, 39, 82, 51, 245, 151, 71, 245, 190, 188, 245, 31, 230, 120, 241, 179, 13, 75, 227, 36, 249, 248, 71, 175, 188, 149, 156, 246, 46, 20, 151, 180, 2, 33, 0, 144, 245, 133, 88, 211, 177, 255, 153, 81, 253, 12, 98, 52, 254, 28, 217, 143, 130, 89, 114, 134, 180, 85, 219, 63, 116, 179, 251, 226, 191, 227, 211, 48, 10, 6, 8, 42, 134, 72, 206, 61, 4, 3, 2, 3, 72, 0, 48, 69, 2, 33, 0, 166, 57, 254, 38, 151, 162, 55, 62, 29, 79, 245, 47, 221, 122, 166, 129, 85, 176, 82, 20, 191, 60, 220, 94, 230, 131, 145, 108, 40, 75, 115, 70, 2, 32, 67, 41, 250, 147, 214, 71, 48, 218, 94, 121, 251, 66, 210, 214, 166, 242, 149, 253, 211, 174, 157, 154, 249, 141, 25, 57, 164, 64, 189, 99, 143, 142, 164, 2, 4, 0, 169, 5, 2, 3, 2, 163, 0, 170, 129, 248, 4, 129, 245, 2, 117, 184, 187, 166, 183, 52, 155, 140, 173, 205, 74, 89, 96, 249, 125, 57, 73, 104, 195, 212, 76, 35, 29, 97, 69, 154, 134, 45, 46, 229, 17, 82, 198, 210, 214, 126, 98, 249, 200, 189, 180, 246, 31, 65, 145, 32, 4, 112, 210, 230, 105, 124, 18, 37, 57, 227, 221, 122, 124, 242, 167, 69, 132, 119, 4, 83, 64, 255, 150, 12, 238, 107, 26, 115, 170, 138, 96, 170, 1, 68, 53, 122, 194, 89, 98, 221, 44, 76, 154, 29, 175, 73, 87, 124, 164, 126, 148, 67, 243, 137, 189, 70, 251, 62, 120, 184, 107, 180, 235, 238, 119, 122, 171, 107, 67, 24, 239, 132, 183, 65, 187, 43, 217, 8, 57, 111, 247, 232, 37, 225, 206, 1, 198, 243, 53, 41, 159, 45, 173, 136, 169, 153, 113, 72, 62, 27, 146, 47, 1, 201, 179, 1, 195, 60, 33, 60, 14, 235, 127, 247, 21, 47, 218, 124, 231, 12, 211, 54, 248, 102, 255, 114, 197, 185, 140, 84, 134, 187, 47, 177, 90, 176, 111, 104, 154, 99, 224, 204, 71, 65, 127, 77, 233, 9, 93, 58, 42, 68, 94, 94, 93, 126, 217, 211, 33, 127, 251, 168, 144, 14, 212, 7, 235, 50, 143, 42, 18, 178, 180, 134, 235, 51, 36, 250, 62, 28, 147, 34, 111, 155, 246, 128, 174, 83, 79, 70, 233, 84, 131, 132, 106, 227, 209, 171, 174, 7, 2, 5, 0, 172, 32, 134, 107, 175, 4, 2, 2, 56, 0, 179, 3, 2, 1, 29 ] } }, "list": [ "googleads.googleapis.com:443:::::::::::::::::::::" ] } }, "data": "{\"query\":\"select campaign.id, campaign.name, campaign_budget.amount_micros, campaign_budget.period,campaign.status,campaign.optimization_score,campaign.advertising_channel_type,campaign.advertising_channel_sub_type,metrics.impressions,metrics.interactions,metrics.interaction_rate,metrics.average_cost,metrics.cost_micros,metrics.conversions,metrics.cost_per_conversion,metrics.conversions_from_interactions_rate,metrics.video_views,metrics.average_cpm,metrics.ctr from campaign where campaign.id > 0 \"}" }, "code": "ERR_BAD_REQUEST", "status": 403 } }

Google Ads

Parameters

Settings


Docs

Credential to connect with

Tool Description

Resource

Operation

Divide field names expressed with micros by 1,000,000 to get the actual value

Manager Customer ID

Fixed

Expression

Client Customer ID

Fixed

Expression

Additional Options

No properties

I wish this node would…

Hey @SadoWeb

The error message says you are using a test developer token and trying to use it on a live account which isn’t allowed.

Double check that you are using either all test options or all live options, the Google errors are generally pretty good and tell you what you need to know

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.