mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
fix(Google Ads Node): Update to use v17 api (#11243)
This commit is contained in:
parent
a7fc7fc229
commit
3d97f02a8d
|
@ -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:
|
||||
|
|
|
@ -23,7 +23,7 @@ export class GoogleAds implements INodeType {
|
|||
testedBy: {
|
||||
request: {
|
||||
method: 'GET',
|
||||
url: '/v15/customers:listAccessibleCustomers',
|
||||
url: '/v17/customers:listAccessibleCustomers',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue