Google Ad Manager API client for Node.js
npm install @google-ads/admanager[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
[//]: # "The comments you see below are used to generate those parts of the template in later states."
This library is considered to be in preview. This means it is still a
work-in-progress and under active development. Any release is subject to
backwards-incompatible changes at any time.

Google Ad Manager API client for Node.js
[//]: # "partials.introduction"
A comprehensive list of changes in each version may be found in
[the CHANGELOG][homepage_changelog].
* Google Ad Manager API Nodejs Client API Reference
* Google Ad Manager API Documentation
Read more about the client libraries for Cloud APIs, including the older
Google APIs Client Libraries, in [Client Libraries Explained][explained].
[explained]: https://cloud.google.com/apis/docs/client-libraries-explained
Table of contents:
* Quickstart
* Before you begin
* Installing the client library
* Versioning
* Contributing
* License
1. [Select or create a Cloud Platform project][projects].
1. [Enable billing for your project][billing].
1. [Enable the Google Ad Manager API API][enable_api].
1. [Set up authentication][auth] so you can access the
API from your local workstation.
``bash`
npm install @google-ads/admanager
[//]: # "partials.body"
Samples are in the [samples/][homepage_samples] directory. Each sample's README.md has instructions for running its sample.
| Sample | Source Code |
| --------------------------- | --------------------------------- |
| create ad break | source code |
| delete ad break | source code |
| get ad break | source code |
| list ad breaks | source code |
| update ad break | source code |
| batch allow ad review center ads | source code |
| batch block ad review center ads | source code |
| search ad review center ads | source code |
| get ad unit | source code |
| list ad unit sizes | source code |
| list ad units | source code |
| get application | source code |
| list applications | source code |
| get audience segment | source code |
| list audience segments | source code |
| get bandwidth group | source code |
| list bandwidth groups | source code |
| get browser language | source code |
| list browser languages | source code |
| get browser | source code |
| list browsers | source code |
| get cms metadata key | source code |
| list cms metadata keys | source code |
| get cms metadata value | source code |
| list cms metadata values | source code |
| get company | source code |
| list companies | source code |
| batch create contacts | source code |
| batch update contacts | source code |
| create contact | source code |
| get contact | source code |
| list contacts | source code |
| update contact | source code |
| get content bundle | source code |
| list content bundles | source code |
| get content label | source code |
| list content labels | source code |
| get content | source code |
| list content | source code |
| get creative template | source code |
| list creative templates | source code |
| batch activate custom fields | source code |
| batch create custom fields | source code |
| batch deactivate custom fields | source code |
| batch update custom fields | source code |
| create custom field | source code |
| get custom field | source code |
| list custom fields | source code |
| update custom field | source code |
| get custom targeting key | source code |
| list custom targeting keys | source code |
| get custom targeting value | source code |
| list custom targeting values | source code |
| get device capability | source code |
| list device capabilities | source code |
| get device category | source code |
| list device categories | source code |
| get device manufacturer | source code |
| list device manufacturers | source code |
| batch create entity signals mappings | source code |
| batch update entity signals mappings | source code |
| create entity signals mapping | source code |
| get entity signals mapping | source code |
| list entity signals mappings | source code |
| update entity signals mapping | source code |
| get geo target | source code |
| list geo targets | source code |
| get mobile carrier | source code |
| list mobile carriers | source code |
| get mobile device | source code |
| list mobile devices | source code |
| get mobile device submodel | source code |
| list mobile device submodels | source code |
| get network | source code |
| list networks | source code |
| get operating system | source code |
| list operating systems | source code |
| get operating system version | source code |
| list operating system versions | source code |
| get order | source code |
| list orders | source code |
| batch activate placements | source code |
| batch archive placements | source code |
| batch create placements | source code |
| batch deactivate placements | source code |
| batch update placements | source code |
| create placement | source code |
| get placement | source code |
| list placements | source code |
| update placement | source code |
| create private auction deal | source code |
| get private auction deal | source code |
| list private auction deals | source code |
| update private auction deal | source code |
| create private auction | source code |
| get private auction | source code |
| list private auctions | source code |
| update private auction | source code |
| get programmatic buyer | source code |
| list programmatic buyers | source code |
| create report | source code |
| fetch report result rows | source code |
| get report | source code |
| list reports | source code |
| run report | source code |
| update report | source code |
| get role | source code |
| list roles | source code |
| batch create sites | source code |
| batch deactivate sites | source code |
| batch submit sites for approval | source code |
| batch update sites | source code |
| create site | source code |
| get site | source code |
| list sites | source code |
| update site | source code |
| ads | source code |
| get taxonomy category | source code |
| list taxonomy categories | source code |
| batch activate teams | source code |
| batch create teams | source code |
| batch deactivate teams | source code |
| batch update teams | source code |
| create team | source code |
| get team | source code |
| list teams | source code |
| update team | source code |
| get user | source code |
Our client libraries follow the Node.js release schedule.
Libraries are compatible with all current _active_ and _maintenance_ versions of
Node.js.
If you are using an end-of-life version of Node.js, we recommend that you update
as soon as possible to an actively supported LTS version.
Google's client libraries support legacy versions of Node.js runtimes on a
best-efforts basis with the following warnings:
* Legacy versions are not tested in continuous integration.
* Some security patches and features cannot be backported.
* Dependencies cannot be kept up-to-date.
Client libraries targeting some end-of-life versions of Node.js are available, and
can be installed through npm dist-tags.
The dist-tags follow the naming convention legacy-(version).npm install @google-ads/admanager@legacy-8
For example, installs client libraries
for versions compatible with Node.js 8.
This library follows Semantic Versioning.
More Information: [Google Cloud Platform Launch Stages][launch_stages]
[launch_stages]: https://cloud.google.com/terms/launch-stages
Contributions welcome! See the Contributing Guide.
Please note that this README.md.nycrc
and a variety of configuration files in this repository (including and tsconfig.json`)
are generated from a central template.
Apache Version 2.0
See LICENSE
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
[projects]: https://console.cloud.google.com/project
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=admanager.googleapis.com
[auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/samples
[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager/CHANGELOG.md
[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-ads-admanager