Skip to content
Publisher Ads Lighthouse Plugin is a tool to improve ad speed and overall quality through a series of automated audits. This tool will aid in resolving discovered problems, providing a tool to be used to evaluate effectiveness of iterative changes while suggesting actionable feedback.
JavaScript HTML
Branch: master
Clone or download
warrengm Tune bottleneck request audit (#118)
* Count long durations as bottlenecks

* Fix type annotations
Latest commit fb74d4c Aug 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lighthouse-plugin-publisher-ads
.eslintignore Moved index.js outside plugin directory and created wrapper module. Mar 18, 2019
.gitignore Remove accidental `yarn-error.log` (#104) Jul 11, 2019
.travis.yml Update plugin folder name to `lighthouse-plugin-publisher-ads`. (#60) Jun 3, 2019
README.md Update Web App link to point to new url. (#80) Jun 11, 2019
config.js
index.js Moved index.js outside plugin directory and created wrapper module. Mar 18, 2019
package.json Bump version to 0.0.3.11 (#113) Aug 5, 2019
yarn.lock

README.md

Publisher Ads Lighthouse Plugin (Beta)

Publisher Ads Lighthouse Plugin is a tool to improve ad speed and overall quality through a series of automated audits. At the moment, this is primarily targeted at sites using Google Ad Manager. This tool will aid in resolving discovered problems, providing a tool to be used to evaluate effectiveness of iterative changes while suggesting actionable feedback.

This tool is a plugin for Lighthouse, an open-sourced tool integrated into Chrome dev tools that is widely used by developers.

We are currently in beta and still in the development process. In order to help us improve please file an issue to let us know of any issues or suggestions you may have.

Web App

We currently have a web app version of Publisher Ads Lighthouse Plugin. It is currently in beta and can be accessed at developers.google.com/publisher-ads-audits.

Setup

git clone git@github.com:googleads/publisher-ads-lighthouse-plugin.git
cd publisher-ads-lighthouse-plugin
yarn

Run

node index.js <url>

Available options:

Some common options are:

  • --additional-trace-categories=performance to include general web performance audits.
  • --emulated-form-factor=desktop to run on the desktop version of the site.
  • --extra-headers "{\"Cookie\":\"monster=blue\"}" to include additional cookies on all requests.

Tests

# Lint and test all files.
yarn test

Contributions

See CONTRIBUTING.md

References

You can’t perform that action at this time.