Skip to content

Commit 88effd5

Browse files
Merge pull request #126 from Opteo/v19
v19 build from protos
2 parents 3c4e9c0 + 068eebf commit 88effd5

File tree

1,474 files changed

+451574
-654170
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,474 files changed

+451574
-654170
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
id: yarn-cache-dir-path
2424
run: echo "::set-output name=dir::$(yarn cache dir)"
2525

26-
- uses: actions/cache@v1
26+
- uses: actions/cache@v4
2727
id: yarn-cache
2828
with:
2929
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Google Ads API version
22
# This only needs changing for major versions e.g. v8 -> v9
3-
GOOGLE_ADS_VERSION=v17
3+
GOOGLE_ADS_VERSION=v19
44

55
BUNDLE=googleads-nodejs.tar.gz
66
PACKAGE_BUILD=/package/googleads-nodejs

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ npm install google-ads-node
4646
1. Run `make protos` to pull in the new protos and compile them. This command will take around 10 minutes. There are often errors here that need to be fixed due to changes in bazel, the docker image, or the protos themselves. Fix these errors as they come up.
4747
1. If upgrading to a new major version delete the old version folders from `package/googleads-nodejs/protos/google/ads/googleads/{OLD_VERSION}`, `package/googleads-nodejs/src/{OLD_VERSION}` and `package/googleads-nodejs/samples/generated/{OLD_VERSION}`.
4848
1. Run `yarn` to prepare the package and install the latest dependencies.
49-
1. Run `yarn test` to make sure everything worked (you may need to update the version numbers here).
49+
1. You may find that the tsc build fails because of camelcase issues. If so, make sure that the `compile-protos` command in `/package/googleads-nodejs/package.json` includes all required arguments, like so: `compileProtos --keep-case --force-number src`
50+
1. Update any references to old version numbers in `tests/protos.js`.
51+
1. Run `yarn test` to make sure everything worked.
5052
1. Double check that any files that should have been updated have been.
5153
1. Update the readme to reflect the new Google Ads API version number
5254
1. Make a pull request, get it approved and merged into `master`.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "google-ads-node",
3-
"version": "14.0.0",
3+
"version": "15.0.0",
44
"description": "Google Ads API client library",
55
"main": "build/src/index.js",
66
"files": [
@@ -30,5 +30,6 @@
3030
"ads node",
3131
"grpc",
3232
"proto"
33-
]
33+
],
34+
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
3435
}

package/googleads-nodejs/.jsdoc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2025 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ module.exports = {
4040
includePattern: '\\.js$'
4141
},
4242
templates: {
43-
copyright: 'Copyright 2024 Google LLC',
43+
copyright: 'Copyright 2025 Google LLC',
4444
includeDate: false,
4545
sourceFiles: false,
4646
systemName: 'google-ads',

package/googleads-nodejs/.mocharc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2025 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

package/googleads-nodejs/.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Google LLC
1+
// Copyright 2025 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

package/googleads-nodejs/package.json

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
"ad group criterion label service",
3333
"ad group criterion service",
3434
"ad group customizer service",
35-
"ad group extension setting service",
36-
"ad group feed service",
3735
"ad group label service",
3836
"ad group service",
3937
"ad parameter service",
@@ -61,13 +59,12 @@
6159
"campaign criterion service",
6260
"campaign customizer service",
6361
"campaign draft service",
64-
"campaign extension setting service",
65-
"campaign feed service",
6662
"campaign group service",
6763
"campaign label service",
6864
"campaign lifecycle goal service",
6965
"campaign service",
7066
"campaign shared set service",
67+
"content creator insights service",
7168
"conversion action service",
7269
"conversion adjustment upload service",
7370
"conversion custom variable service",
@@ -82,8 +79,6 @@
8279
"customer client link service",
8380
"customer conversion goal service",
8481
"customer customizer service",
85-
"customer extension setting service",
86-
"customer feed service",
8782
"customer label service",
8883
"customer lifecycle goal service",
8984
"customer manager link service",
@@ -94,15 +89,9 @@
9489
"customer user access service",
9590
"custom interest service",
9691
"customizer attribute service",
92+
"data link service",
9793
"experiment arm service",
9894
"experiment service",
99-
"extension feed item service",
100-
"feed item service",
101-
"feed item set link service",
102-
"feed item set service",
103-
"feed item target service",
104-
"feed mapping service",
105-
"feed service",
10695
"geo target constant service",
10796
"google ads field service",
10897
"google ads service",
@@ -148,22 +137,24 @@
148137
"test": "c8 mocha build/test"
149138
},
150139
"devDependencies": {
151-
"@types/mocha": "^10.0.6",
152-
"@types/node": "^20.12.12",
140+
"@types/mocha": "^10.0.7",
141+
"@types/node": "^20.16.4",
153142
"@types/sinon": "^10.0.20",
154-
"c8": "^9.1.0",
155-
"gapic-tools": "^0.4.2",
156-
"google-gax": "^4.4.1",
157-
"gts": "5.3.0",
143+
"c8": "^10.1.2",
144+
"gapic-tools": "^0.4.6",
145+
"gts": "5.3.1",
158146
"jsdoc": "^4.0.3",
159147
"jsdoc-fresh": "^3.0.0",
160148
"jsdoc-region-tag": "^3.0.0",
161-
"mocha": "^10.4.0",
149+
"mocha": "^10.7.3",
162150
"pack-n-play": "^2.0.3",
163-
"sinon": "^15.2.0",
151+
"sinon": "^18.0.0",
164152
"typescript": "5.1.6"
165153
},
166154
"engines": {
167155
"node": ">=v14"
156+
},
157+
"dependencies": {
158+
"google-gax": "^4.4.1"
168159
}
169160
}

0 commit comments

Comments
 (0)