Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting discrepancy in result of CLI and https://pub-ads-audits.appspot.com/ #225

Open
ankitjain082 opened this issue Aug 19, 2020 · 1 comment

Comments

@ankitjain082
Copy link

ankitjain082 commented Aug 19, 2020

I am using CLI command for run the ads-lighthouse-plugin which is "node index.js --output=json --output-path="results" --output=html --max-wait-for-load 60000 --quiet --chrome-flags="--headless" --full --emulated-form-factor desktop " and get result.

From last week I am getting value of Perf score is very low so I verified my website on https://developers.google.com/publisher-ads-audits and found huge difference for perf score.

I am getting Perf score through CLI is 14 and through web is 60.
Can anyone help me to solve this issue or let me know if i am doing anything wrong.

I am sharing snap shot for the same.

CLIScore

WebsiteScore

Thanks,
Ankit Jain

@warrengm
Copy link
Contributor

warrengm commented Oct 9, 2020

Hi Ankit, sorry for the late reply. I expect the difference is related to simulated throttling (more information about throttling can be found at https://ads-developers.googleblog.com/2020/04/improving-accuracy-of-publisher-ads.html)

You can see device information at the bottom of the report:

Screen Shot 2020-10-09 at 10 28 02 AM

By default the CLI simulates a slow device on a 3g connection for desktop but the web service does not. You should be able to reduce the discrepancy on the CLI by passing in --throttling-method=provided, but there may still be some discrepancies based on the environment of the CLI vs the web service.

Hopefully this resolves your issue but let me know if you have any additional questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants