Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Google Ads API client library for Node.js

NotificationsYou must be signed in to change notification settings

Opteo/google-ads-node

Repository files navigation

Google Ads Node

Google Ads API client library for Node.js

⚠️ Warning⚠️

You're probably looking for our easy-to-use Google Ads API client librarygoogle-ads-api.

This library (google-ads-node) is the compiled output of the experimentalGoogle Ads API Bazel build files, and will require some work to use as a standalone library, for which we currently provide no documentation.

Install

npm install google-ads-node

Upgrading API Versions

  1. Update to the latestgapic-tools version in/package/googleads-nodejs/package.json.
  2. Update to the latestgoogle-gax version in/package/googleads-nodejs/package.json &/package.json.
  3. UpdateGOOGLE_ADS_VERSION in the Makefile to the latest version (if required).
  4. Runmake 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.
  5. If upgrading to a new major version delete the old version folders frompackage/googleads-nodejs/protos/google/ads/googleads/{OLD_VERSION},package/googleads-nodejs/src/{OLD_VERSION} andpackage/googleads-nodejs/samples/generated/{OLD_VERSION}.
  6. Runyarn to prepare the package and install the latest dependencies.
  7. You may find that the tsc build fails because of camelcase issues. If so, make sure that thecompile-protos command in/package/googleads-nodejs/package.json includes all required arguments, like so:compileProtos --keep-case --force-number src
  8. Update any references to old version numbers intests/protos.js.
  9. Runyarn test to make sure everything worked.
  10. Double check that any files that should have been updated have been.
  11. Update the readme to reflect the new Google Ads API version number
  12. Make a pull request, get it approved and merged intomaster.
  13. Publish to npm.

[8]ページ先頭

©2009-2025 Movatter.jp