Socket
Book a DemoInstallSign in
Socket

ads-token-gen

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ads-token-gen

An NPM module for generating OAuth2 credentails for Google Adword API

0.3.3
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

ads-token-gen

An NPM module for generating OAuth2 credentails for Google Adword API

How to get client_d and client_secret

  • Follow the instructions here

Installation

$ npm install -g ads-token-gen

Or you can install as a dev-dependency and use npx instead.

Usage

Start by generating the Authentication URL by running:

$ export AW_CLIENT_ID=client_id
$ export AW_CLIENT_SECRET=client_secret
$ ads-token-gen --url

NOTE: You can also change the scope from the default one (Adwords) by supplying --scope <scope-url>

The auth url will be generated and copied to the clipboard. Paste it on your browser.

Follow the authorization directions and copy the code generated (at the final stage). Use the code obtained in the command below:

$ ads-token-gen --code <code>

Keywords

google ads

FAQs

Package last updated on 06 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.