Skip to content

Commit

Permalink
fix(Google Ads Node): Update to use v17 api (#11243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joffcom authored Oct 14, 2024
1 parent a7fc7fc commit 3d97f02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/nodes-base/nodes/Google/Ads/CampaignDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
'={{ "' +
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion packages/nodes-base/nodes/Google/Ads/GoogleAds.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class GoogleAds implements INodeType {
testedBy: {
request: {
method: 'GET',
url: '/v15/customers:listAccessibleCustomers',
url: '/v17/customers:listAccessibleCustomers',
},
},
},
Expand Down

0 comments on commit 3d97f02

Please sign in to comment.