mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
feat(Google Ads Node): Update api version to v11 (#4427)
This commit is contained in:
parent
f634f0dc59
commit
dfff982662
|
@ -17,6 +17,7 @@ export class GoogleAdsOAuth2Api implements ICredentialType {
|
|||
name: 'developerToken',
|
||||
type: 'string',
|
||||
default: '',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Scope',
|
||||
|
|
|
@ -45,7 +45,7 @@ export const campaignOperations: INodeProperties[] = [
|
|||
routing: {
|
||||
request: {
|
||||
method: 'POST',
|
||||
url: '={{"/v9/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}',
|
||||
url: '={{"/v11/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}',
|
||||
body: {
|
||||
query:
|
||||
'={{ "' +
|
||||
|
@ -93,7 +93,7 @@ export const campaignOperations: INodeProperties[] = [
|
|||
routing: {
|
||||
request: {
|
||||
method: 'POST',
|
||||
url: '={{"/v9/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}',
|
||||
url: '={{"/v11/customers/" + $parameter["clientCustomerId"].toString().replace(/-/g, "") + "/googleAds:search"}}',
|
||||
returnFullResponse: true,
|
||||
body: {
|
||||
query:
|
||||
|
@ -125,7 +125,6 @@ export const campaignOperations: INodeProperties[] = [
|
|||
headers: {
|
||||
'login-customer-id':
|
||||
'={{$parameter["managerCustomerId"].toString().replace(/-/g, "")}}',
|
||||
'content-type': 'application/x-www-form-urlencoded',
|
||||
},
|
||||
},
|
||||
output: {
|
||||
|
|
|
@ -23,7 +23,7 @@ export class GoogleAds implements INodeType {
|
|||
testedBy: {
|
||||
request: {
|
||||
method: 'GET',
|
||||
url: '/v9/customers:listAccessibleCustomers',
|
||||
url: '/v11/customers:listAccessibleCustomers',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue