From 3d97f02a8d2b6e5bc7c97c5271bed97417ecacd2 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 14 Oct 2024 14:13:15 +0100 Subject: [PATCH] fix(Google Ads Node): Update to use v17 api (#11243) --- packages/nodes-base/nodes/Google/Ads/CampaignDescription.ts | 4 ++-- packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nodes-base/nodes/Google/Ads/CampaignDescription.ts b/packages/nodes-base/nodes/Google/Ads/CampaignDescription.ts index 204486c250..ca30e47a3a 100644 --- a/packages/nodes-base/nodes/Google/Ads/CampaignDescription.ts +++ b/packages/nodes-base/nodes/Google/Ads/CampaignDescription.ts @@ -41,7 +41,7 @@ export const campaignOperations: INodeProperties[] = [ routing: { request: { method: 'POST', - url: '={{"/v15/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}', + url: '={{"/v17/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}', body: { query: '={{ "' + @@ -89,7 +89,7 @@ export const campaignOperations: INodeProperties[] = [ routing: { request: { method: 'POST', - url: '={{"/v15/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}', + url: '={{"/v17/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}', returnFullResponse: true, body: { query: diff --git a/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts b/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts index 06e678e656..606e58e77d 100644 --- a/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts +++ b/packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts @@ -23,7 +23,7 @@ export class GoogleAds implements INodeType { testedBy: { request: { method: 'GET', - url: '/v15/customers:listAccessibleCustomers', + url: '/v17/customers:listAccessibleCustomers', }, }, },