I realized the Google shutted down the PageSpeed Insights V2 and maybe V4 API too (years ago).
You can look at on this link:https://developers.google.com/speed/docs/insights/release_notes#version-2
If you look at the endpoints, you will see the same result:
- V2: https://www.googleapis.com/pagespeedonline/v2/runPagespeed ->NotFound
- V5:https://pagespeedonline.googleapis.com/pagespeedonline/v5/runPagespeed -> works
What i want to ask, then why on NUGET package manager the Google.Apis.PagespeedInsights.v2 updated many times (the last 3 month ago)??:https://www.nuget.org/packages/Google.Apis.Pagespeedonline.v2/