alexandrascript / ad-speed-insights

Publisher Ads Audits for Lighthouse 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Publisher Ads Audits for Lighthouse (Alpha)

Publisher Ads Audits for Lighthouse 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.

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

We are currently in alpha 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.

Setup

git clone git@github.com:googleads/ad-speed-insights.git
cd ad-speed-insights
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

About

Publisher Ads Audits for Lighthouse 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.


Languages

Language:JavaScript 100.0%