feat(Google Ads Node): Update api version to v11 (#4427)

This commit is contained in:
Jonathan Bennetts 2023-01-16 13:12:58 +00:00 committed by GitHub
parent f634f0dc59
commit dfff982662
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -17,6 +17,7 @@ export class GoogleAdsOAuth2Api implements ICredentialType {
name: 'developerToken',
type: 'string',
default: '',
required: true,
},
{
displayName: 'Scope',

View file

@ -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: {

View file

@ -23,7 +23,7 @@ export class GoogleAds implements INodeType {
testedBy: {
request: {
method: 'GET',
url: '/v9/customers:listAccessibleCustomers',
url: '/v11/customers:listAccessibleCustomers',
},
},
},