fix(Google Ads Node): Update to use v17 api (#11243)

This commit is contained in:
Jon 2024-10-14 14:13:15 +01:00 committed by GitHub
parent a7fc7fc229
commit 3d97f02a8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -23,7 +23,7 @@ export class GoogleAds implements INodeType {
testedBy: {
request: {
method: 'GET',
url: '/v15/customers:listAccessibleCustomers',
url: '/v17/customers:listAccessibleCustomers',
},
},
},