0.2.1 • Published 2 years ago

gitbook-plugin-google-ads v0.2.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

The Google Adsense plugin for Gitbook

Config plugin in book.json.

{
  "plugins": ["google-ads"]
}

Install via npm

npm link: https://www.npmjs.com/package/gitbook-plugin-google-ads

$ npm install gitbook-plugin-google-ads

Usage

Need to config an array of ad's properties:

Add an array of ads with following properties:

  • client(require): your Adsense Client ID.

For example,

{
    "plugins": ["google-ads"],
    "pluginsConfig": {
        "google-ads": {
            "ads": [
                {
                    "client": "ca-pub-xxxxx"
                }
            ]
        }
    }
}
0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago