mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(Google Ads Node): Update api version to v11 (#4427)
This commit is contained in:
committed by
GitHub
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',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user