feat(Google Ads Node): Update to support v15 (#7962)

Updates Google Ads node to use the v15 API for
https://community.n8n.io/t/google-ads-400-bad-request-error/21709/26
This commit is contained in:
Jon 2023-12-08 14:41:49 +00:00 committed by GitHub
parent 1a87f70e84
commit 7f0126915a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ export const campaignOperations: INodeProperties[] = [
routing: {
request: {
method: 'POST',
url: '={{"/v13/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}',
url: '={{"/v15/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}',
body: {
query:
'={{ "' +
@ -89,7 +89,7 @@ export const campaignOperations: INodeProperties[] = [
routing: {
request: {
method: 'POST',
url: '={{"/v13/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}',
url: '={{"/v15/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: '/v13/customers:listAccessibleCustomers',
url: '/v15/customers:listAccessibleCustomers',
},
},
},