mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
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:
parent
1a87f70e84
commit
7f0126915a
|
@ -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:
|
||||
|
|
|
@ -23,7 +23,7 @@ export class GoogleAds implements INodeType {
|
|||
testedBy: {
|
||||
request: {
|
||||
method: 'GET',
|
||||
url: '/v13/customers:listAccessibleCustomers',
|
||||
url: '/v15/customers:listAccessibleCustomers',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue